@ihabdevteam/core 0.254.0 → 0.255.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.
- package/CHANGELOG.md +35 -0
- package/dist/components.cjs.js +2 -2
- package/dist/components.esm.css +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +23 -23
- package/dist/ihabdevteam-core.d.ts +1 -1
- package/dist/packages/core/src/components/Toast.css +27 -3
- package/dist/packages/core/src/components/Toast.js +1 -1
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
package/dist/components.cjs.js
CHANGED
|
@@ -844,7 +844,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
844
844
|
\uC124\uCE58 \uBA85\uB839\uC5B4 (\uC2A4\uD1A0\uB9AC\uC9C0 SDK \uBBF8\uC124\uCE58 \uC2DC):
|
|
845
845
|
npm install @supabase/supabase-js
|
|
846
846
|
pnpm add @supabase/supabase-js
|
|
847
|
-
`),this.name="StorageNotConfiguredError"}};function Q0(e){J0(e)}function qs(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Us(e){if(!e)return null;const n=fa();if(!n)throw new Ws("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Gs(e){const n=fa();if(!n)throw new Ws("downloadSound");return n.download(e)}function eC(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Ks(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function tC(e){const n=AbortSignal.timeout;if(typeof n=="function")return n.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const Ys="__ihab_core_tts_config__";function jr(){return globalThis[Ys]?.urlResolver??null}function nC(){return globalThis[Ys]?.fallbackUrlResolver??null}const aC="__ihab_core_pronunciation_resolver__";function rC(){return globalThis[aC]??null}let En=null;const ga=new WeakMap,Tr=new WeakMap,Mr=new WeakMap;let Zs=!1;const Xs=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function oC(){if(Zs||typeof document>"u")return;Zs=!0;const e=()=>{try{En&&En.state!=="running"&&En.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function Js(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,oC(),En):null}catch{return null}}function Lr(){try{En?.resume()}catch{}}function $r(e,n){const a=ga.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=Xs(Tr.get(n)??n.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{n.volume=1}catch{}const l={gain:s,analyser:i};return ga.set(n,l),l}catch{return null}}function Ha(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Js();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve($r(a,e)?.analyser??null);const r=Mr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?$r(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Mr.delete(e)});return Mr.set(e,s),s}function sC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Js();return a?a.state==="running"?$r(a,e)?.analyser??null:(Ha(e),null):null}function Sn(e,n){const a=Xs(n);Tr.set(e,a);const r=ga.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const s=r.gain.gain;try{const i=r.gain.context.currentTime;s.cancelScheduledValues(i),s.setTargetAtTime(a,i,.01)}catch{try{s.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function za(e){return Tr.get(e)??e.volume}function iC(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const s=n[r];a+=s*s}return Math.sqrt(a/n.length)}const lC="__ihab_core_image_config__";function Xn(){return globalThis[lC]??null}const Qs="word_image_existence_map_v1";let Hn=null;const Va=new Map;function uC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(Qs):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Rr=null;function cC(){Rr||(Rr=setTimeout(()=>{Rr=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(Qs,JSON.stringify(Hn))}catch{}},200))}function dC(e,n){return`${e}_${n??1}`}async function ei(e,n){const a=uC(),r=dC(e,n);if(r in a)return a[r];if(Va.has(r))return Va.get(r);const s=Xn();if(!s)return!1;const i=s(e,n);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:tC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(Va.delete(r),u===null?!1:(a[r]=u,cC(),u)));return Va.set(r,l),l}const pC={\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"}},ti=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ni=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],mC=["","\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 ba(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function hC(e){const n=ba(e[0]||"");return n?ti[n.cho]:""}function CC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>ti.includes(l),r=l=>ni.includes(l),s=n.map(l=>a(l)?"cho":r(l)?"jung":ba(l)?"syl":"other"),i=n.map(l=>ba(l));if(s.includes("other")){const l=e.toLowerCase();return u=>u.normalize("NFC").toLowerCase().includes(l)}return l=>{const u=[...l.normalize("NFC")];for(let d=0;d+n.length<=u.length;d++){let c=!0;for(let p=0;p<n.length;p++){const m=u[d+p],C=s[p];if(C==="cho"){if(hC(m)!==n[p]){c=!1;break}}else if(C==="jung"){const g=ba(m);if(!g||ni[g.jung]!==n[p]){c=!1;break}}else{const g=i[p];if(g&&g.jong===0){const v=ba(m);if(!v||v.cho!==g.cho||v.jung!==g.jung){c=!1;break}}else if(m!==n[p]){c=!1;break}}}if(c)return!0}return!1}}const fC={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(fC).map(([e,n])=>[n.join(""),mC[Number(e)]]));const gC="word_pair_index_v2",bC="word_pair_index_sig_v2";let Wa=null;function yC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(gC),n=localStorage.getItem(bC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function vC(){if(Wa)return Wa;const e=yC();return e?(Wa=e.index,e.sig,Wa):null}const Pr=/[ㄱ-ㅎ]/,xC=/[ㅏ-ㅣ]/;function ai(e){e=e.normalize("NFC");for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Pr.test(a)||xC.test(a))return a}return null}function _C(e){const n=ai(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Pr.test(n)?"\uC774":"\uAC00"}function wC(e){return`${e}${_C(e)}`}function AC(e){const n=ai(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Pr.test(n)?"\uC744":"\uB97C"}function BC(e){return`${e}${AC(e)}`}function kC(e,n,a){const r=e.slice(),[s]=r.splice(n,1);return r.splice(a,0,s),r}function ya(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(n()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const NC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof St?.t=="function"?St.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function ri(e,n){if(n===void 0&&(n=NC()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const DC="__ihab_core_word_pool__";function oi(){return globalThis[DC]??null}const si=globalThis;function ii(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function EC(e){ii("time",()=>si.__ihabTrainingTimeLogger?.(e))}function SC(e){ii("completion",()=>si.__ihabTrainingCompletionLogger?.(e))}function Gt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function jC(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function TC(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:Gt(r.contextCode)??Gt(r.itemId)??Gt(r.itemCode)??Gt(r.id),question:Gt(r.question)??Gt(r.q)??Gt(r.sentence)??Gt(r.text)??Gt(r.prompt)??Gt(r.word)??Gt(r.targetSyllable),answer:Gt(r.answer),selected:Gt(r.selectedText)??Gt(r.selected),correct:jC(r)}}):[]}const Ir=globalThis;async function MC(){try{return await Ir.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function li(e){const n=a=>{};try{const a=Ir.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function qa(e){try{Ir.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function LC(e){if(typeof document<"u"){const n=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.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}const $C="Asia/Seoul",RC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function Fr(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=RC.exec(a);n=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:a)}else n=new Date(e);return Number.isNaN(n.getTime())?null:n}const PC=e=>Fr(e);function IC(e,n){const a=n.startsWith("ko")?"ko-KR":"en-US",r=PC(e);return r?r.toLocaleDateString(a,{timeZone:$C,year:"numeric",month:"short",day:"numeric"}):""}function va(){return Hr(new Date)}function Or(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return OC(va())}const FC=540*60*1e3;function ui(e,n,a){return new Date(Date.UTC(e,n,a)-FC)}function OC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Hr(e){if(e==null||e==="")return"";const n=Fr(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function ci(e,n){if(!e)return"";const a=Fr(e);if(!a)return"";const r=a.getTime(),s=Math.max(0,Math.floor((Date.now()-r)/1e3)),i=Math.floor(s/60),l=Math.floor(i/60),u=Math.floor(l/24),d=Math.floor(u/7),c=Math.floor(u/30),p=Math.floor(u/365);return i<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?n("store.time.minutesAgo",{n:i}):l<24?n("store.time.hoursAgo",{n:l}):u<7?n("store.time.daysAgo",{n:u}):d<5?n("store.time.weeksAgo",{n:d}):u<365?n("store.time.monthsAgo",{n:Math.min(c,11)}):n("store.time.yearsAgo",{n:p})}function di(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Hr(e instanceof Date?e:String(e));if(!l)return i;const[u,d,c]=l.split("-"),p=r?d:String(Number(d)),m=r?c:String(Number(c));return`${u}${a}${p}${a}${m}${s?".":""}`}function Qn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function pi(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),s=Number(a[2]),i=a[1].padStart(2,"0");return s===0?n("date.timeH",{h:r,hh:i,mm:a[2]}):n("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function zr(e){return(e??0).toLocaleString("ko-KR")}const HC=[{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"}]}],zC=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",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 mi(){return HC}function VC(){return zC}const WC=[],qC=[],UC=[],GC=[];function KC(){return{LISTEN_IN_NOISE:WC,SHORT_STORY:qC,LONG_STORY:UC,ORDERING_SENTENCE:GC}}const YC=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",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."}],hi={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function ZC(e){return YC.map(n=>{const a=hi[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let Ua=null,Ci=null,fi=null;function XC(){const e=oi();if(e&&e.entries.length>0){const n=vC();if(Ua&&Ci===e&&fi===n)return Ua;const a=new Set,r=[];for(const s of e.entries)!s.word||a.has(s.word)||(a.add(s.word),r.push({w:s.word,s:s.syllables,p:n?.[s.word]?[...n[s.word].cho??[],...n[s.word].jung??[],...n[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ua=r,Ci=e,fi=n,Ua}return[]}new Proxy([],{get(e,n){const a=XC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const JC="0.254.0";function QC(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const n=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(n)}function ef(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&QC(r.attrValue)&&(r.keepAttr=!1)};Er.addHook("uponSanitizeAttribute",n);try{return Er.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Er.removeHook("uponSanitizeAttribute",n)}}function tf(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,d]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const c=e.split("/").pop();let p=e;c&&(e.startsWith("/")?p=Sr(e):/^(Logo|Symbol)/i.test(c)?p=Sr(`logo/${c}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let c=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const C=m.headers.get("content-type")||"";if(c)return;if(C.includes("svg")){s("mask");return}if(C.startsWith("image/")){s("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const v=await g.text();if(c)return;if(/^\s*<svg[\s>]/i.test(v)){const b=ef(v);if(!b){s("none");return}l(b),s("inline");return}s("none")}catch{c||s("none")}}return p(),()=>{c=!0}},[n]),o.useEffect(()=>{let c=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{c||(p=URL.createObjectURL(m),d(p))}).catch(()=>{c||s("img")}),()=>{c=!0,p&&URL.revokeObjectURL(p),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ze(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:d}=e||{},c=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",C=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,v=h0(g),{iconToUse:b,mode:y,svgText:w,blobUrl:h}=tf(g),_=(k,B={})=>t.jsx("span",{className:c,style:u,...B,children:k}),f=typeof d=="number"?{width:d,height:d,objectFit:"contain"}:null,A=(k,B={})=>t.jsx("img",{src:k,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:f?{...B.style,...f}:B.style});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:C,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 _(o.createElement(v,{className:C,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(y==="mask"){const k={"--icon-url":h?`url(${h})`:`url(${b})`,...typeof d=="number"?{"--icon-size":`${d}px`}:null};return _(t.jsx("span",{className:m,style:k}),{"aria-hidden":"true"})}return y==="img"?_(A(b,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):y==="inline"?_(t.jsx("span",{className:C,dangerouslySetInnerHTML:w?{__html:w}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(Sr(n),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const x=typeof d=="number"?d:20,N=`<svg width="${x}" height="${x}" 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 _(t.jsx("span",{className:C,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function gi(e){const[n,a]=o.useState(!1),r=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const i=o.useCallback(()=>{if(!e||r.current)return;const l=e();if(l&&typeof l.then=="function"){r.current=!0,a(!0);const u=()=>{r.current=!1,s.current&&a(!1)};l.then(u,u)}},[e]);return{pending:n,press:i}}function nf({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=gi(r?.onClick);return t.jsxs("div",{className:Ne("empty-state",s),children:[e&&t.jsx(Ze,{icon:e,size:48,className:"empty-state__icon"}),n&&t.jsx("p",{className:"empty-state__title h4",children:n}),a&&t.jsx("p",{className:"empty-state__message body-3",children:a}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:l,disabled:i,"aria-busy":i||void 0,children:[r.icon&&t.jsx(Ze,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function af({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=ye.useTranslation(),{pending:u,press:d}=gi(r);return t.jsxs("div",{className:Ne("empty-state","error-state",i),role:"alert",children:[t.jsx(Ze,{icon:a,size:48,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"error-state__hint caption-1",children:n}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:d,disabled:u,"aria-busy":u||void 0,children:[t.jsx(Ze,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function rf({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const d=o.useId(),c=`${d}-title`,p=`${d}-desc`,m=`${d}-cta`,C=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":c,"aria-describedby":`${p} ${m}`,onClick:C,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),C())},className:Ne("action-card",`action-card--${s}`,i&&"action-card--disabled",u),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ze,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:c,className:"action-card__title",children:n}),t.jsx("p",{id:p,className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{id:m,children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ze,{icon:"arrow-right",size:18})})]})]})})}function of({as:e="div",className:n="",children:a,storage:r,...s}){r&&Q0({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl,noiseFileGain:r.noiseFileGain});const i=Ne("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Vr(e,n=!0){o.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(mn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],d=document.activeElement,c=d===a;s.shiftKey&&(d===l||c)?(s.preventDefault(),u.focus()):!s.shiftKey&&d===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const mn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Wr=new WeakMap;function qr(e,n){e&&Wr.set(e,n)}function Ur(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Wr.has(r);)r=r.parentElement;if(!r)return n;n=Wr.get(r)??null}return n}function bi(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 Ga(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(bi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(mn)).filter(d=>!(e&&e.contains(d))&&bi(d));let i=null,l=null;for(const d of s)r.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_PRECEDING?i=d:l||(l=d);const u=i??l;return u?.focus(),u}function sf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=ye.useTranslation(),[d,c]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const b=p.current;b&&b.contains(document.activeElement)&&Ga(b),c(!0)},[]);if(d)return null;const C=`notice-box notice-box--${s} body-2 ${l}`.trim(),g=i&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return t.jsxs("div",{className:C,role:"note",children:[a.map((b,y)=>t.jsxs("div",{className:"notice-box__inner",children:[b.title?t.jsx("span",{className:"notice-box__title body-3",children:b.title}):null,t.jsx("div",{className:"notice-box__body",children:b.lines&&b.lines.length?t.jsx("div",{children:b.lines.map((w,h)=>t.jsx("span",{className:"notice-box__line body-3",children:w},h))}):b.children??null})]},y)),g]});const v=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((b,y)=>t.jsx("li",{className:"notice-box__line",children:b},y))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:C,role:"note",children:[v,g]})}const ea=[];let Ka=!1;function yi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const n=ea[ea.length-1];n&&(e.stopPropagation(),n())}function zn(e){return ea.push(e),!Ka&&typeof document<"u"&&(document.addEventListener("keydown",yi),Ka=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ka&&typeof document<"u"&&(document.removeEventListener("keydown",yi),Ka=!1)}}const vi=o.createContext(null);function lf(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const xi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function uf(e){const n=o.useCallback(a=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener?r.addEventListener("change",a):r.addListener&&r.addListener(a),()=>{r.removeEventListener?r.removeEventListener("change",a):r.removeListener&&r.removeListener(a)}},[e]);return ns.useSyncExternalStore(n,()=>xi(e),()=>!1)}function cf(e){const[n,a]=o.useState(xi(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),s=l=>a(l.matches),i=r;return i.addEventListener?i.addEventListener("change",s):i.addListener&&i.addListener(s),a(r.matches),()=>{i.removeEventListener?i.removeEventListener("change",s):i.removeListener&&i.removeListener(s)}},[e]),n}const df=typeof ns.useSyncExternalStore=="function"?uf:cf;function tn(e){const n=o.useContext(vi),a=df(e);return n&&typeof n.mobile=="boolean"&&lf(e)?n.mobile:a}const pf="(prefers-reduced-motion: reduce)";function Gr(){return tn(pf)}function on(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:d="dialog",ariaLabel:c="",children:p,backdrop:m=!1,isMobilePopup:C=!1,useBorder:g=!0,header:v,focusOnOpen:b}=e||{},y=o.useRef(null),[w,h]=o.useState({position:"fixed",left:0,top:-9999}),[_,f]=o.useState(!1),[A,x]=o.useState("bottom"),[N,k]=o.useState(!1),[B,E]=o.useState(!1),S=!n&&!a,z=o.useCallback((U=!1)=>{if(B&&C)return;const P=a?a.getBoundingClientRect():n;if(!P||!y.current)return;const F=y.current,{offsetWidth:D,offsetHeight:H}=F,M=window.innerWidth,I=window.innerHeight,$=M-P.right,K=P.left,ne=P.top,X=I-P.bottom;let ae=0,ue=0,le="top";if(ne>=H+r)le="top",ue=P.top-r-H,ae=P.left+P.width/2-D/2;else if(X>=H+r)le="bottom",ue=P.bottom+r,ae=P.left+P.width/2-D/2;else if($>=D+r)le="right",ae=P.right+r,ue=P.top+P.height/2-H/2;else if(K>=D+r)le="left",ae=P.left-r-D,ue=P.top+P.height/2-H/2;else{const oe=Math.max(ne,X,$,K);oe===ne?(le="top",ue=P.top-r-H,ae=P.left+P.width/2-D/2):oe===X?(le="bottom",ue=P.bottom+r,ae=P.left+P.width/2-D/2):oe===$?(le="right",ae=P.right+r,ue=P.top+P.height/2-H/2):(le="left",ae=P.left-r-D,ue=P.top+P.height/2-H/2)}const be=Number.isFinite(Number(s))?Number(s):8;ae=Math.min(Math.max(ae,be),M-D-be),ue=Math.min(Math.max(ue,be),I-H-be);const V=Math.round(ae),Q=Math.round(ue);U&&y.current?(y.current.style.left=`${V}px`,y.current.style.top=`${Q}px`,y.current.dataset.placement=le):(x(le||A),h({position:"fixed",left:V,top:Q}),k(!0))},[B,C,a,n,r,s,A]);o.useLayoutEffect(()=>{if(S)return;if(B&&C){h({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),k(!0);return}z();const U=requestAnimationFrame(()=>z());return()=>cancelAnimationFrame(U)},[n,a,r,p,s,S,B,C,z]),o.useEffect(()=>{if(S||B&&C||!y.current||typeof ResizeObserver>"u")return;const U=new ResizeObserver(()=>{n&&z()});return U.observe(y.current),()=>U.disconnect()},[n,p,s,S,B,C,z]),o.useEffect(()=>{if(S||B&&C)return;const U=()=>z(!0),P=F=>{if(!a&&i){const D=F.target;if(D&&y.current&&y.current.contains(D))return;try{if(D&&D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}O.current(!0);return}U()};return window.addEventListener("resize",U),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",U),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,S,B,C,z]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const U=window.matchMedia("(max-width: 768px)"),P=()=>E(!!U.matches);P();try{U.addEventListener?U.addEventListener("change",P):U.addListener(P)}catch{try{U.addListener(P)}catch{}}return()=>{try{U.removeEventListener?U.removeEventListener("change",P):U.removeListener(P)}catch{}}},[]);const R=o.useRef(!1),q=o.useRef(null),j=Gr(),L=o.useCallback((U=!1)=>{if(i&&!(_||R.current)){if(R.current=!0,U){f(!0);try{i&&i()}catch{R.current=!1,f(!1)}return}f(!0),q.current=setTimeout(()=>{q.current=null;try{i&&i()}catch{R.current=!1,f(!1)}},j?0:200)}},[_,i,f,j]);o.useEffect(()=>()=>{q.current&&clearTimeout(q.current)},[]),o.useEffect(()=>{if(S)return;const U=D=>{const H=y.current;if(!H)return;const M=D.target;if(M&&!H.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},P=D=>{const H=y.current;if(!H)return;const M=D.target;if(M&&!H.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},F=D=>{if(D.key==="Tab"){const H=y.current;if(!H)return;const M=H.querySelectorAll(mn);if(!M||M.length===0)return;const I=M[0],$=M[M.length-1],K=document.activeElement;D.shiftKey?K===I&&(D.preventDefault(),$.focus()):K===$&&(D.preventDefault(),I.focus())}};return document.addEventListener("pointerdown",U,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",F),()=>{document.removeEventListener("pointerdown",U,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",F)}},[i,l,L,S]);const O=o.useRef(L);o.useEffect(()=>{O.current=L});const Z=!!i;o.useEffect(()=>{if(!(S||!Z))return zn(()=>O.current())},[S,Z]),o.useEffect(()=>{const U=()=>{L(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",U),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",U)}},[L]);const ee=o.useRef(null);o.useEffect(()=>{if(S||b===!1||!N)return;const U=y.current;if(!U)return;const P=U.querySelector(mn);if(P)return ee.current=document.activeElement,P.focus(),()=>{const F=ee.current;ee.current=null,F&&document.contains(F)&&F.focus()}},[S,b,N]),o.useEffect(()=>{d==="dialog"&&!c&&an("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.')},[d,c]);const W=t.jsxs("div",{ref:y,className:`tooltip-content ${S?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${_?"is-closing":""} ${u} ${B&&C?"is-mobile":""}`,role:d,"aria-label":c||void 0,style:S?{}:{...w,visibility:N?"visible":"hidden"},tabIndex:-1,"data-placement":A,"data-left":S?"":w.left,"data-top":S?"":w.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[v!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:v}),p]});if(S||typeof document>"u")return W;if(m||B&&C){const U=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&L(!0)}}),W]});return Xt.createPortal(U,document.body)}return Xt.createPortal(W,document.body)}function vn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(on,{anchorRect:n,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Vn(e){const{t:n}=ye.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:d=12,closeOnOutsideClick:c=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(on,{anchorRect:a,offset:d,onClose:u,closeOnOutsideClick:c,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:p.map((m,C)=>t.jsxs("li",{className:`tooltip-description__item body-3${C===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[C+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},C))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let Kr=0,_i=!1;function wi(){_i||typeof document>"u"||(_i=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Kr=Date.now())},!0),document.addEventListener("touchstart",()=>{Kr=Date.now()},{capture:!0,passive:!0}))}wi();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return wi(),Date.now()-Kr<e}function Yr(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),d=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const C=m,g=m.target,v=a.current,b=!!(g&&v&&v.contains(g));if(C.pointerType!=="touch"){b&&(u.current=null);return}if(b){u.current=i.current;return}u.current=null,i.current&&!(g&&g.closest?.(".tooltip-content"))&&l.current(!1,v)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const c=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,d.current=Date.now(),l.current(!m,p??a.current),!0)},[a,l]);return o.useEffect(()=>{if(!r||!s)return;const p=a.current,m=p?.parentElement;if(!p||!m)return;let C=null;const g=y=>{const w=y.changedTouches?.[0];if(!w)return!1;const h=p.getBoundingClientRect();return w.clientX>=h.left&&w.clientX<=h.right&&w.clientY>=h.top&&w.clientY<=h.bottom},v=y=>{C=g(y)?i.current:null},b=y=>{const w=C;C=null,!(w===null||Date.now()-d.current<700||!g(y))&&(u.current=null,d.current=Date.now(),l.current(!w,p))};return m.addEventListener("touchstart",v,{passive:!0}),m.addEventListener("touchend",b),()=>{m.removeEventListener("touchstart",v),m.removeEventListener("touchend",b)}},[r,s,a,i,l]),{touchPress:c}}function mf(e,n){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:u,icon:d,rightIcon:c,label:p,count:m,subLabel:C,children:g,ariaLabel:v,variant:b="default",align:y="center",nowrap:w=!1,selected:h,toggleable:_=!1,ariaExpanded:f,ariaControls:A,disabled:x=!1,useLabel:N=!0,useBorder:k=!0,useBG:B=!0,useDisabledCovered:E=!1,useDisabledInvisible:S=!1,width:z,minWidth:R,onClick:q,onDisabledClick:j,showTooltipInfo:L=!1,tooltipInfoText:O=null,tooltipDescription:Z=null,tooltipOnly:ee=!1,iconSize:W="medium",iconColor:U,shape:P="rounded",color:F,className:D,...H}=e,M=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),I=M.match(/^\d+$/)?`button${M}`:`button-${M}`,$=Number(a),K=!isNaN($)&&$<40?"button-2":"button-1",ne=p??g,X=x||!!H.disabled,ae=X?E?"disabled-covered":S?"disabled-invisibled":"disabled":b,ue=ae?`button--variant-${ae}`:"",le=y?`button--align-${y}`:"",be=w?"button--nowrap":"",V=P?`button--shape-${P}`:"",Q=typeof U=="string"&&U.startsWith("--")?`var(${U})`:U,oe={...z?{width:typeof z=="number"?`${z}px`:z}:{},...R?{minWidth:typeof R=="number"?`${R}px`:R}:{},...k?{}:{"--button-border":X?"0":"1px solid transparent"},...Q?{"--button-icon-color":Q}:{},...F?{"--color-main":F}:{}},Be=N===!1?"":ne,Ce=Array.isArray(Be)?Be.length>0:!!Be,se=!!c,ge=r??(Ce||d||se?"bar":"dot"),fe=`${I}--${ge}`,xe=o.useRef(null),$e=o.useRef(n);$e.current=n;const Le=o.useCallback(Oe=>{xe.current=Oe;const at=$e.current;typeof at=="function"?at(Oe):at&&(at.current=Oe)},[]),Qe=o.useRef(X),[Ue,ze]=o.useState(!!h),[Ie,st]=o.useState(!1),[Xe,Je]=o.useState(null),Ee=o.useCallback(()=>st(!1),[]),[ke,Me]=o.useState(!1),Ve=o.useId();o.useEffect(()=>{typeof h=="boolean"&&ze(h)},[h]),o.useEffect(()=>{if(Qe.current&&!X&&xe.current){const Oe=xe.current;let at=!1;try{at=Oe.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Oe.blur(),Oe.style.pointerEvents="none";const ft=requestAnimationFrame(()=>{requestAnimationFrame(()=>{xe.current&&(xe.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(ft)}Qe.current=X},[X]);const lt=typeof h=="boolean"?!!h:Ue,te=typeof f=="boolean"?void 0:_||typeof h=="boolean"?lt?"true":"false":H["aria-pressed"],ce=Ne("button",I,fe,ue,le,be,V,lt?"is-selected":null,B?null:"button--no-bg",ee?"button--tooltip-only":null,D),me=`button__icon button__icon--${W}`,Se=Array.isArray(C)?C:C!==void 0?[C]:[],et=()=>{if(Array.isArray(Be))return Be.map((at,ft)=>{const Ot=Se[ft];return t.jsxs("span",{className:`button__label-text${Ot!==void 0?" button__label-text--has-sub":""}`,children:[at,Ot!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Ot})]},ft)});const Oe=C!==void 0;return t.jsxs("span",{className:`button__label-text${Oe?" button__label-text--has-sub":""}`,children:[Be,m!=null&&t.jsx("span",{className:"button__count",children:m}),Oe&&t.jsx("span",{className:"button__sub-label-text caption-1",children:C})]})},Ke=Oe=>{typeof h!="boolean"&&!_&&ze(!1),Oe.currentTarget.blur()},bt=Oe=>{X||(typeof H.onMouseLeave=="function"&&H.onMouseLeave(Oe),Ke(Oe))},ut=Oe=>{if(ee&&Ge&&Ye.touchPress(Oe.currentTarget),X){Ge&&Ye.touchPress(Oe.currentTarget),Oe.preventDefault(),j?.(Oe);return}typeof h!="boolean"&&_&&ze(at=>!at),q?.(Oe)},it=o.useCallback(()=>{(L||Z)&&(st(!0),Je(xe.current?.getBoundingClientRect()??null))},[L,Z]),tt=o.useCallback(()=>{(L||Z)&&(st(!1),Je(null))},[L,Z]),Ge=!!(L||Z),Ye=Yr(Ie,Oe=>{Oe?it():tt()},xe,{enabled:Ge&&(X||ee),fallbackOnParent:Ge&&X}),Re={...H};delete Re.disabled,delete Re.className,delete Re.faded,delete Re.useFaded,delete Re.loading,delete Re.onMouseLeave,delete Re.onPointerEnter,delete Re.onPointerLeave,delete Re.onPointerUp,delete Re.onFocus,delete Re.onBlur,X&&(Object.keys(Re).forEach(Oe=>{/^on[A-Z]/.test(Oe)&&typeof Re[Oe]=="function"&&delete Re[Oe]}),Re["aria-disabled"]="true");const We=(typeof L=="string"?L:null)??(typeof O=="string"?O:null)??(typeof v=="string"?v:null)??(typeof ne=="string"?ne:null)??void 0,Fe=typeof v=="string"?v:typeof ne=="string"?ne:We,ct=Z?[Z.title,...Z.items??[]].filter(Boolean).join(". "):L&&We&&We!==Fe?We:"",Bt=[typeof H["aria-describedby"]=="string"?H["aria-describedby"]:void 0,ct?Ve:null].filter(Boolean).join(" ")||void 0,Nt=(Oe,at)=>t.jsx(Ze,{icon:Oe,label:at??Fe,className:me,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),Ct=()=>ge==="dot"?t.jsxs(t.Fragment,{children:[Nt(d),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}):y==="center"&&d?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Nt(d)}),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}),se&&t.jsx("span",{className:"button__right",children:Nt(c)})]}):t.jsxs(t.Fragment,{children:[d&&t.jsx("span",{className:"button__left",children:Nt(d,v??ne)}),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()}),se&&t.jsx("span",{className:"button__right",children:Nt(c)})]}),dt=!!i&&!X;return t.jsxs(t.Fragment,{children:[t.jsxs(dt?"a":"button",{...Re,ref:Le,...dt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:X&&!j&&!ke},className:ce,"aria-pressed":te,"aria-expanded":typeof f=="boolean"?f:H["aria-expanded"],"aria-controls":A??H["aria-controls"],"aria-label":Fe,"aria-disabled":X&&(dt||j||ke)?!0:void 0,"aria-describedby":Bt,style:oe,onClick:ut,onMouseLeave:bt,onPointerEnter:Oe=>{ta(Oe)||it(),!X&&typeof H.onPointerEnter=="function"&&H.onPointerEnter(Oe)},onPointerLeave:Oe=>{ta(Oe)||tt(),!X&&typeof H.onPointerLeave=="function"&&H.onPointerLeave(Oe)},onPointerUp:Oe=>{X&&Ge&&Ye.touchPress(Oe.currentTarget),!X&&typeof H.onPointerUp=="function"&&H.onPointerUp(Oe)},onFocus:Oe=>{Me(!0),na()||it(),!X&&typeof H.onFocus=="function"&&H.onFocus(Oe)},onBlur:Oe=>{Me(!1),X||Ke(Oe),tt(),!X&&typeof H.onBlur=="function"&&H.onBlur(Oe)},children:[Ct(),ct?t.jsx("span",{id:Ve,hidden:!0,"aria-label":ct}):null]}),Ie&&Z?t.jsx(Vn,{anchorRect:Xe,title:Z.title,items:Z.items,onClose:Ee}):Ie&&We?t.jsx(vn,{anchorRect:Xe,text:We,onClose:Ee}):null]})}const pe=o.forwardRef(mf);pe.displayName="Button";var hf={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",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",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."},Cf={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",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"},ff={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"}},gf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},bf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},yf={selected:"\uC120\uD0DD\uB428"},vf={placeholder:"\uC120\uD0DD"},xf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},_f={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"},wf={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"},Af={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",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"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},Bf={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},kf={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",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."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},Nf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Df={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},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:"\uB4F1\uAE09",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",comingSoon:"\uC900\uBE44 \uC911",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",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",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",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",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",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:{idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"}},Ef={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},Sf={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",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",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",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"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},jf={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"}}}},Tf={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},Mf={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},Lf={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},$f={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."}},Rf={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Pf={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},If={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Ff={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",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",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",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"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},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"}},Of={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",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",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",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},Hf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},zf={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"}},Vf={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},Wf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},qf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},Uf={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",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},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"}},Gf={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",daily:"\uC77C\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"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},Kf={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",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:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},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."]},Yf={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},Zf={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
847
|
+
`),this.name="StorageNotConfiguredError"}};function Q0(e){J0(e)}function qs(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Us(e){if(!e)return null;const n=fa();if(!n)throw new Ws("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Gs(e){const n=fa();if(!n)throw new Ws("downloadSound");return n.download(e)}function eC(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Ks(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function tC(e){const n=AbortSignal.timeout;if(typeof n=="function")return n.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const Ys="__ihab_core_tts_config__";function jr(){return globalThis[Ys]?.urlResolver??null}function nC(){return globalThis[Ys]?.fallbackUrlResolver??null}const aC="__ihab_core_pronunciation_resolver__";function rC(){return globalThis[aC]??null}let En=null;const ga=new WeakMap,Tr=new WeakMap,Mr=new WeakMap;let Zs=!1;const Xs=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function oC(){if(Zs||typeof document>"u")return;Zs=!0;const e=()=>{try{En&&En.state!=="running"&&En.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function Js(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,oC(),En):null}catch{return null}}function Lr(){try{En?.resume()}catch{}}function $r(e,n){const a=ga.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=Xs(Tr.get(n)??n.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{n.volume=1}catch{}const l={gain:s,analyser:i};return ga.set(n,l),l}catch{return null}}function Ha(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Js();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve($r(a,e)?.analyser??null);const r=Mr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?$r(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Mr.delete(e)});return Mr.set(e,s),s}function sC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Js();return a?a.state==="running"?$r(a,e)?.analyser??null:(Ha(e),null):null}function Sn(e,n){const a=Xs(n);Tr.set(e,a);const r=ga.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const s=r.gain.gain;try{const i=r.gain.context.currentTime;s.cancelScheduledValues(i),s.setTargetAtTime(a,i,.01)}catch{try{s.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function za(e){return Tr.get(e)??e.volume}function iC(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const s=n[r];a+=s*s}return Math.sqrt(a/n.length)}const lC="__ihab_core_image_config__";function Xn(){return globalThis[lC]??null}const Qs="word_image_existence_map_v1";let Hn=null;const Va=new Map;function uC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(Qs):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Rr=null;function cC(){Rr||(Rr=setTimeout(()=>{Rr=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(Qs,JSON.stringify(Hn))}catch{}},200))}function dC(e,n){return`${e}_${n??1}`}async function ei(e,n){const a=uC(),r=dC(e,n);if(r in a)return a[r];if(Va.has(r))return Va.get(r);const s=Xn();if(!s)return!1;const i=s(e,n);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:tC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(Va.delete(r),u===null?!1:(a[r]=u,cC(),u)));return Va.set(r,l),l}const pC={\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"}},ti=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ni=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],mC=["","\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 ba(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function hC(e){const n=ba(e[0]||"");return n?ti[n.cho]:""}function CC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>ti.includes(l),r=l=>ni.includes(l),s=n.map(l=>a(l)?"cho":r(l)?"jung":ba(l)?"syl":"other"),i=n.map(l=>ba(l));if(s.includes("other")){const l=e.toLowerCase();return u=>u.normalize("NFC").toLowerCase().includes(l)}return l=>{const u=[...l.normalize("NFC")];for(let d=0;d+n.length<=u.length;d++){let c=!0;for(let p=0;p<n.length;p++){const m=u[d+p],C=s[p];if(C==="cho"){if(hC(m)!==n[p]){c=!1;break}}else if(C==="jung"){const g=ba(m);if(!g||ni[g.jung]!==n[p]){c=!1;break}}else{const g=i[p];if(g&&g.jong===0){const v=ba(m);if(!v||v.cho!==g.cho||v.jung!==g.jung){c=!1;break}}else if(m!==n[p]){c=!1;break}}}if(c)return!0}return!1}}const fC={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(fC).map(([e,n])=>[n.join(""),mC[Number(e)]]));const gC="word_pair_index_v2",bC="word_pair_index_sig_v2";let Wa=null;function yC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(gC),n=localStorage.getItem(bC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function vC(){if(Wa)return Wa;const e=yC();return e?(Wa=e.index,e.sig,Wa):null}const Pr=/[ㄱ-ㅎ]/,xC=/[ㅏ-ㅣ]/;function ai(e){e=e.normalize("NFC");for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Pr.test(a)||xC.test(a))return a}return null}function _C(e){const n=ai(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Pr.test(n)?"\uC774":"\uAC00"}function wC(e){return`${e}${_C(e)}`}function AC(e){const n=ai(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Pr.test(n)?"\uC744":"\uB97C"}function BC(e){return`${e}${AC(e)}`}function kC(e,n,a){const r=e.slice(),[s]=r.splice(n,1);return r.splice(a,0,s),r}function ya(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(n()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const NC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof St?.t=="function"?St.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function ri(e,n){if(n===void 0&&(n=NC()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const DC="__ihab_core_word_pool__";function oi(){return globalThis[DC]??null}const si=globalThis;function ii(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function EC(e){ii("time",()=>si.__ihabTrainingTimeLogger?.(e))}function SC(e){ii("completion",()=>si.__ihabTrainingCompletionLogger?.(e))}function Gt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function jC(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function TC(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:Gt(r.contextCode)??Gt(r.itemId)??Gt(r.itemCode)??Gt(r.id),question:Gt(r.question)??Gt(r.q)??Gt(r.sentence)??Gt(r.text)??Gt(r.prompt)??Gt(r.word)??Gt(r.targetSyllable),answer:Gt(r.answer),selected:Gt(r.selectedText)??Gt(r.selected),correct:jC(r)}}):[]}const Ir=globalThis;async function MC(){try{return await Ir.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function li(e){const n=a=>{};try{const a=Ir.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function qa(e){try{Ir.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function LC(e){if(typeof document<"u"){const n=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.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}const $C="Asia/Seoul",RC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function Fr(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=RC.exec(a);n=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:a)}else n=new Date(e);return Number.isNaN(n.getTime())?null:n}const PC=e=>Fr(e);function IC(e,n){const a=n.startsWith("ko")?"ko-KR":"en-US",r=PC(e);return r?r.toLocaleDateString(a,{timeZone:$C,year:"numeric",month:"short",day:"numeric"}):""}function va(){return Hr(new Date)}function Or(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return OC(va())}const FC=540*60*1e3;function ui(e,n,a){return new Date(Date.UTC(e,n,a)-FC)}function OC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Hr(e){if(e==null||e==="")return"";const n=Fr(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function ci(e,n){if(!e)return"";const a=Fr(e);if(!a)return"";const r=a.getTime(),s=Math.max(0,Math.floor((Date.now()-r)/1e3)),i=Math.floor(s/60),l=Math.floor(i/60),u=Math.floor(l/24),d=Math.floor(u/7),c=Math.floor(u/30),p=Math.floor(u/365);return i<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?n("store.time.minutesAgo",{n:i}):l<24?n("store.time.hoursAgo",{n:l}):u<7?n("store.time.daysAgo",{n:u}):d<5?n("store.time.weeksAgo",{n:d}):u<365?n("store.time.monthsAgo",{n:Math.min(c,11)}):n("store.time.yearsAgo",{n:p})}function di(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Hr(e instanceof Date?e:String(e));if(!l)return i;const[u,d,c]=l.split("-"),p=r?d:String(Number(d)),m=r?c:String(Number(c));return`${u}${a}${p}${a}${m}${s?".":""}`}function Qn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function pi(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),s=Number(a[2]),i=a[1].padStart(2,"0");return s===0?n("date.timeH",{h:r,hh:i,mm:a[2]}):n("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function zr(e){return(e??0).toLocaleString("ko-KR")}const HC=[{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"}]}],zC=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",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 mi(){return HC}function VC(){return zC}const WC=[],qC=[],UC=[],GC=[];function KC(){return{LISTEN_IN_NOISE:WC,SHORT_STORY:qC,LONG_STORY:UC,ORDERING_SENTENCE:GC}}const YC=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",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."}],hi={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function ZC(e){return YC.map(n=>{const a=hi[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let Ua=null,Ci=null,fi=null;function XC(){const e=oi();if(e&&e.entries.length>0){const n=vC();if(Ua&&Ci===e&&fi===n)return Ua;const a=new Set,r=[];for(const s of e.entries)!s.word||a.has(s.word)||(a.add(s.word),r.push({w:s.word,s:s.syllables,p:n?.[s.word]?[...n[s.word].cho??[],...n[s.word].jung??[],...n[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ua=r,Ci=e,fi=n,Ua}return[]}new Proxy([],{get(e,n){const a=XC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const JC="0.255.0";function QC(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const n=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(n)}function ef(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&QC(r.attrValue)&&(r.keepAttr=!1)};Er.addHook("uponSanitizeAttribute",n);try{return Er.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Er.removeHook("uponSanitizeAttribute",n)}}function tf(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,d]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const c=e.split("/").pop();let p=e;c&&(e.startsWith("/")?p=Sr(e):/^(Logo|Symbol)/i.test(c)?p=Sr(`logo/${c}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let c=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const C=m.headers.get("content-type")||"";if(c)return;if(C.includes("svg")){s("mask");return}if(C.startsWith("image/")){s("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const v=await g.text();if(c)return;if(/^\s*<svg[\s>]/i.test(v)){const b=ef(v);if(!b){s("none");return}l(b),s("inline");return}s("none")}catch{c||s("none")}}return p(),()=>{c=!0}},[n]),o.useEffect(()=>{let c=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{c||(p=URL.createObjectURL(m),d(p))}).catch(()=>{c||s("img")}),()=>{c=!0,p&&URL.revokeObjectURL(p),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ze(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:d}=e||{},c=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",C=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,v=h0(g),{iconToUse:b,mode:y,svgText:w,blobUrl:h}=tf(g),_=(k,B={})=>t.jsx("span",{className:c,style:u,...B,children:k}),f=typeof d=="number"?{width:d,height:d,objectFit:"contain"}:null,A=(k,B={})=>t.jsx("img",{src:k,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:f?{...B.style,...f}:B.style});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:C,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 _(o.createElement(v,{className:C,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(y==="mask"){const k={"--icon-url":h?`url(${h})`:`url(${b})`,...typeof d=="number"?{"--icon-size":`${d}px`}:null};return _(t.jsx("span",{className:m,style:k}),{"aria-hidden":"true"})}return y==="img"?_(A(b,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):y==="inline"?_(t.jsx("span",{className:C,dangerouslySetInnerHTML:w?{__html:w}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(Sr(n),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const x=typeof d=="number"?d:20,N=`<svg width="${x}" height="${x}" 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 _(t.jsx("span",{className:C,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function gi(e){const[n,a]=o.useState(!1),r=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const i=o.useCallback(()=>{if(!e||r.current)return;const l=e();if(l&&typeof l.then=="function"){r.current=!0,a(!0);const u=()=>{r.current=!1,s.current&&a(!1)};l.then(u,u)}},[e]);return{pending:n,press:i}}function nf({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=gi(r?.onClick);return t.jsxs("div",{className:Ne("empty-state",s),children:[e&&t.jsx(Ze,{icon:e,size:48,className:"empty-state__icon"}),n&&t.jsx("p",{className:"empty-state__title h4",children:n}),a&&t.jsx("p",{className:"empty-state__message body-3",children:a}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:l,disabled:i,"aria-busy":i||void 0,children:[r.icon&&t.jsx(Ze,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function af({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=ye.useTranslation(),{pending:u,press:d}=gi(r);return t.jsxs("div",{className:Ne("empty-state","error-state",i),role:"alert",children:[t.jsx(Ze,{icon:a,size:48,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"error-state__hint caption-1",children:n}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:d,disabled:u,"aria-busy":u||void 0,children:[t.jsx(Ze,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function rf({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const d=o.useId(),c=`${d}-title`,p=`${d}-desc`,m=`${d}-cta`,C=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":c,"aria-describedby":`${p} ${m}`,onClick:C,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),C())},className:Ne("action-card",`action-card--${s}`,i&&"action-card--disabled",u),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ze,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:c,className:"action-card__title",children:n}),t.jsx("p",{id:p,className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{id:m,children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ze,{icon:"arrow-right",size:18})})]})]})})}function of({as:e="div",className:n="",children:a,storage:r,...s}){r&&Q0({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl,noiseFileGain:r.noiseFileGain});const i=Ne("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Vr(e,n=!0){o.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(mn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],d=document.activeElement,c=d===a;s.shiftKey&&(d===l||c)?(s.preventDefault(),u.focus()):!s.shiftKey&&d===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const mn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Wr=new WeakMap;function qr(e,n){e&&Wr.set(e,n)}function Ur(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Wr.has(r);)r=r.parentElement;if(!r)return n;n=Wr.get(r)??null}return n}function bi(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 Ga(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(bi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(mn)).filter(d=>!(e&&e.contains(d))&&bi(d));let i=null,l=null;for(const d of s)r.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_PRECEDING?i=d:l||(l=d);const u=i??l;return u?.focus(),u}function sf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=ye.useTranslation(),[d,c]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const b=p.current;b&&b.contains(document.activeElement)&&Ga(b),c(!0)},[]);if(d)return null;const C=`notice-box notice-box--${s} body-2 ${l}`.trim(),g=i&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return t.jsxs("div",{className:C,role:"note",children:[a.map((b,y)=>t.jsxs("div",{className:"notice-box__inner",children:[b.title?t.jsx("span",{className:"notice-box__title body-3",children:b.title}):null,t.jsx("div",{className:"notice-box__body",children:b.lines&&b.lines.length?t.jsx("div",{children:b.lines.map((w,h)=>t.jsx("span",{className:"notice-box__line body-3",children:w},h))}):b.children??null})]},y)),g]});const v=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((b,y)=>t.jsx("li",{className:"notice-box__line",children:b},y))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:C,role:"note",children:[v,g]})}const ea=[];let Ka=!1;function yi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const n=ea[ea.length-1];n&&(e.stopPropagation(),n())}function zn(e){return ea.push(e),!Ka&&typeof document<"u"&&(document.addEventListener("keydown",yi),Ka=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ka&&typeof document<"u"&&(document.removeEventListener("keydown",yi),Ka=!1)}}const vi=o.createContext(null);function lf(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const xi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function uf(e){const n=o.useCallback(a=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener?r.addEventListener("change",a):r.addListener&&r.addListener(a),()=>{r.removeEventListener?r.removeEventListener("change",a):r.removeListener&&r.removeListener(a)}},[e]);return ns.useSyncExternalStore(n,()=>xi(e),()=>!1)}function cf(e){const[n,a]=o.useState(xi(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),s=l=>a(l.matches),i=r;return i.addEventListener?i.addEventListener("change",s):i.addListener&&i.addListener(s),a(r.matches),()=>{i.removeEventListener?i.removeEventListener("change",s):i.removeListener&&i.removeListener(s)}},[e]),n}const df=typeof ns.useSyncExternalStore=="function"?uf:cf;function tn(e){const n=o.useContext(vi),a=df(e);return n&&typeof n.mobile=="boolean"&&lf(e)?n.mobile:a}const pf="(prefers-reduced-motion: reduce)";function Gr(){return tn(pf)}function on(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:d="dialog",ariaLabel:c="",children:p,backdrop:m=!1,isMobilePopup:C=!1,useBorder:g=!0,header:v,focusOnOpen:b}=e||{},y=o.useRef(null),[w,h]=o.useState({position:"fixed",left:0,top:-9999}),[_,f]=o.useState(!1),[A,x]=o.useState("bottom"),[N,k]=o.useState(!1),[B,E]=o.useState(!1),S=!n&&!a,z=o.useCallback((U=!1)=>{if(B&&C)return;const P=a?a.getBoundingClientRect():n;if(!P||!y.current)return;const F=y.current,{offsetWidth:D,offsetHeight:H}=F,M=window.innerWidth,I=window.innerHeight,$=M-P.right,K=P.left,ne=P.top,X=I-P.bottom;let ae=0,ue=0,le="top";if(ne>=H+r)le="top",ue=P.top-r-H,ae=P.left+P.width/2-D/2;else if(X>=H+r)le="bottom",ue=P.bottom+r,ae=P.left+P.width/2-D/2;else if($>=D+r)le="right",ae=P.right+r,ue=P.top+P.height/2-H/2;else if(K>=D+r)le="left",ae=P.left-r-D,ue=P.top+P.height/2-H/2;else{const oe=Math.max(ne,X,$,K);oe===ne?(le="top",ue=P.top-r-H,ae=P.left+P.width/2-D/2):oe===X?(le="bottom",ue=P.bottom+r,ae=P.left+P.width/2-D/2):oe===$?(le="right",ae=P.right+r,ue=P.top+P.height/2-H/2):(le="left",ae=P.left-r-D,ue=P.top+P.height/2-H/2)}const be=Number.isFinite(Number(s))?Number(s):8;ae=Math.min(Math.max(ae,be),M-D-be),ue=Math.min(Math.max(ue,be),I-H-be);const V=Math.round(ae),Q=Math.round(ue);U&&y.current?(y.current.style.left=`${V}px`,y.current.style.top=`${Q}px`,y.current.dataset.placement=le):(x(le||A),h({position:"fixed",left:V,top:Q}),k(!0))},[B,C,a,n,r,s,A]);o.useLayoutEffect(()=>{if(S)return;if(B&&C){h({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),k(!0);return}z();const U=requestAnimationFrame(()=>z());return()=>cancelAnimationFrame(U)},[n,a,r,p,s,S,B,C,z]),o.useEffect(()=>{if(S||B&&C||!y.current||typeof ResizeObserver>"u")return;const U=new ResizeObserver(()=>{n&&z()});return U.observe(y.current),()=>U.disconnect()},[n,p,s,S,B,C,z]),o.useEffect(()=>{if(S||B&&C)return;const U=()=>z(!0),P=F=>{if(!a&&i){const D=F.target;if(D&&y.current&&y.current.contains(D))return;try{if(D&&D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}O.current(!0);return}U()};return window.addEventListener("resize",U),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",U),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,S,B,C,z]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const U=window.matchMedia("(max-width: 768px)"),P=()=>E(!!U.matches);P();try{U.addEventListener?U.addEventListener("change",P):U.addListener(P)}catch{try{U.addListener(P)}catch{}}return()=>{try{U.removeEventListener?U.removeEventListener("change",P):U.removeListener(P)}catch{}}},[]);const R=o.useRef(!1),q=o.useRef(null),j=Gr(),L=o.useCallback((U=!1)=>{if(i&&!(_||R.current)){if(R.current=!0,U){f(!0);try{i&&i()}catch{R.current=!1,f(!1)}return}f(!0),q.current=setTimeout(()=>{q.current=null;try{i&&i()}catch{R.current=!1,f(!1)}},j?0:200)}},[_,i,f,j]);o.useEffect(()=>()=>{q.current&&clearTimeout(q.current)},[]),o.useEffect(()=>{if(S)return;const U=D=>{const H=y.current;if(!H)return;const M=D.target;if(M&&!H.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},P=D=>{const H=y.current;if(!H)return;const M=D.target;if(M&&!H.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},F=D=>{if(D.key==="Tab"){const H=y.current;if(!H)return;const M=H.querySelectorAll(mn);if(!M||M.length===0)return;const I=M[0],$=M[M.length-1],K=document.activeElement;D.shiftKey?K===I&&(D.preventDefault(),$.focus()):K===$&&(D.preventDefault(),I.focus())}};return document.addEventListener("pointerdown",U,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",F),()=>{document.removeEventListener("pointerdown",U,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",F)}},[i,l,L,S]);const O=o.useRef(L);o.useEffect(()=>{O.current=L});const Z=!!i;o.useEffect(()=>{if(!(S||!Z))return zn(()=>O.current())},[S,Z]),o.useEffect(()=>{const U=()=>{L(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",U),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",U)}},[L]);const ee=o.useRef(null);o.useEffect(()=>{if(S||b===!1||!N)return;const U=y.current;if(!U)return;const P=U.querySelector(mn);if(P)return ee.current=document.activeElement,P.focus(),()=>{const F=ee.current;ee.current=null,F&&document.contains(F)&&F.focus()}},[S,b,N]),o.useEffect(()=>{d==="dialog"&&!c&&an("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.')},[d,c]);const W=t.jsxs("div",{ref:y,className:`tooltip-content ${S?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${_?"is-closing":""} ${u} ${B&&C?"is-mobile":""}`,role:d,"aria-label":c||void 0,style:S?{}:{...w,visibility:N?"visible":"hidden"},tabIndex:-1,"data-placement":A,"data-left":S?"":w.left,"data-top":S?"":w.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[v!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:v}),p]});if(S||typeof document>"u")return W;if(m||B&&C){const U=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&L(!0)}}),W]});return Xt.createPortal(U,document.body)}return Xt.createPortal(W,document.body)}function vn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(on,{anchorRect:n,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Vn(e){const{t:n}=ye.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:d=12,closeOnOutsideClick:c=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(on,{anchorRect:a,offset:d,onClose:u,closeOnOutsideClick:c,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:p.map((m,C)=>t.jsxs("li",{className:`tooltip-description__item body-3${C===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[C+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},C))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let Kr=0,_i=!1;function wi(){_i||typeof document>"u"||(_i=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Kr=Date.now())},!0),document.addEventListener("touchstart",()=>{Kr=Date.now()},{capture:!0,passive:!0}))}wi();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return wi(),Date.now()-Kr<e}function Yr(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),d=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const C=m,g=m.target,v=a.current,b=!!(g&&v&&v.contains(g));if(C.pointerType!=="touch"){b&&(u.current=null);return}if(b){u.current=i.current;return}u.current=null,i.current&&!(g&&g.closest?.(".tooltip-content"))&&l.current(!1,v)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const c=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,d.current=Date.now(),l.current(!m,p??a.current),!0)},[a,l]);return o.useEffect(()=>{if(!r||!s)return;const p=a.current,m=p?.parentElement;if(!p||!m)return;let C=null;const g=y=>{const w=y.changedTouches?.[0];if(!w)return!1;const h=p.getBoundingClientRect();return w.clientX>=h.left&&w.clientX<=h.right&&w.clientY>=h.top&&w.clientY<=h.bottom},v=y=>{C=g(y)?i.current:null},b=y=>{const w=C;C=null,!(w===null||Date.now()-d.current<700||!g(y))&&(u.current=null,d.current=Date.now(),l.current(!w,p))};return m.addEventListener("touchstart",v,{passive:!0}),m.addEventListener("touchend",b),()=>{m.removeEventListener("touchstart",v),m.removeEventListener("touchend",b)}},[r,s,a,i,l]),{touchPress:c}}function mf(e,n){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:u,icon:d,rightIcon:c,label:p,count:m,subLabel:C,children:g,ariaLabel:v,variant:b="default",align:y="center",nowrap:w=!1,selected:h,toggleable:_=!1,ariaExpanded:f,ariaControls:A,disabled:x=!1,useLabel:N=!0,useBorder:k=!0,useBG:B=!0,useDisabledCovered:E=!1,useDisabledInvisible:S=!1,width:z,minWidth:R,onClick:q,onDisabledClick:j,showTooltipInfo:L=!1,tooltipInfoText:O=null,tooltipDescription:Z=null,tooltipOnly:ee=!1,iconSize:W="medium",iconColor:U,shape:P="rounded",color:F,className:D,...H}=e,M=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),I=M.match(/^\d+$/)?`button${M}`:`button-${M}`,$=Number(a),K=!isNaN($)&&$<40?"button-2":"button-1",ne=p??g,X=x||!!H.disabled,ae=X?E?"disabled-covered":S?"disabled-invisibled":"disabled":b,ue=ae?`button--variant-${ae}`:"",le=y?`button--align-${y}`:"",be=w?"button--nowrap":"",V=P?`button--shape-${P}`:"",Q=typeof U=="string"&&U.startsWith("--")?`var(${U})`:U,oe={...z?{width:typeof z=="number"?`${z}px`:z}:{},...R?{minWidth:typeof R=="number"?`${R}px`:R}:{},...k?{}:{"--button-border":X?"0":"1px solid transparent"},...Q?{"--button-icon-color":Q}:{},...F?{"--color-main":F}:{}},Be=N===!1?"":ne,Ce=Array.isArray(Be)?Be.length>0:!!Be,se=!!c,ge=r??(Ce||d||se?"bar":"dot"),fe=`${I}--${ge}`,xe=o.useRef(null),$e=o.useRef(n);$e.current=n;const Le=o.useCallback(Oe=>{xe.current=Oe;const at=$e.current;typeof at=="function"?at(Oe):at&&(at.current=Oe)},[]),Qe=o.useRef(X),[Ue,ze]=o.useState(!!h),[Ie,st]=o.useState(!1),[Xe,Je]=o.useState(null),Ee=o.useCallback(()=>st(!1),[]),[ke,Me]=o.useState(!1),Ve=o.useId();o.useEffect(()=>{typeof h=="boolean"&&ze(h)},[h]),o.useEffect(()=>{if(Qe.current&&!X&&xe.current){const Oe=xe.current;let at=!1;try{at=Oe.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Oe.blur(),Oe.style.pointerEvents="none";const ft=requestAnimationFrame(()=>{requestAnimationFrame(()=>{xe.current&&(xe.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(ft)}Qe.current=X},[X]);const lt=typeof h=="boolean"?!!h:Ue,te=typeof f=="boolean"?void 0:_||typeof h=="boolean"?lt?"true":"false":H["aria-pressed"],ce=Ne("button",I,fe,ue,le,be,V,lt?"is-selected":null,B?null:"button--no-bg",ee?"button--tooltip-only":null,D),me=`button__icon button__icon--${W}`,Se=Array.isArray(C)?C:C!==void 0?[C]:[],et=()=>{if(Array.isArray(Be))return Be.map((at,ft)=>{const Ot=Se[ft];return t.jsxs("span",{className:`button__label-text${Ot!==void 0?" button__label-text--has-sub":""}`,children:[at,Ot!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Ot})]},ft)});const Oe=C!==void 0;return t.jsxs("span",{className:`button__label-text${Oe?" button__label-text--has-sub":""}`,children:[Be,m!=null&&t.jsx("span",{className:"button__count",children:m}),Oe&&t.jsx("span",{className:"button__sub-label-text caption-1",children:C})]})},Ke=Oe=>{typeof h!="boolean"&&!_&&ze(!1),Oe.currentTarget.blur()},bt=Oe=>{X||(typeof H.onMouseLeave=="function"&&H.onMouseLeave(Oe),Ke(Oe))},ut=Oe=>{if(ee&&Ge&&Ye.touchPress(Oe.currentTarget),X){Ge&&Ye.touchPress(Oe.currentTarget),Oe.preventDefault(),j?.(Oe);return}typeof h!="boolean"&&_&&ze(at=>!at),q?.(Oe)},it=o.useCallback(()=>{(L||Z)&&(st(!0),Je(xe.current?.getBoundingClientRect()??null))},[L,Z]),tt=o.useCallback(()=>{(L||Z)&&(st(!1),Je(null))},[L,Z]),Ge=!!(L||Z),Ye=Yr(Ie,Oe=>{Oe?it():tt()},xe,{enabled:Ge&&(X||ee),fallbackOnParent:Ge&&X}),Re={...H};delete Re.disabled,delete Re.className,delete Re.faded,delete Re.useFaded,delete Re.loading,delete Re.onMouseLeave,delete Re.onPointerEnter,delete Re.onPointerLeave,delete Re.onPointerUp,delete Re.onFocus,delete Re.onBlur,X&&(Object.keys(Re).forEach(Oe=>{/^on[A-Z]/.test(Oe)&&typeof Re[Oe]=="function"&&delete Re[Oe]}),Re["aria-disabled"]="true");const We=(typeof L=="string"?L:null)??(typeof O=="string"?O:null)??(typeof v=="string"?v:null)??(typeof ne=="string"?ne:null)??void 0,Fe=typeof v=="string"?v:typeof ne=="string"?ne:We,ct=Z?[Z.title,...Z.items??[]].filter(Boolean).join(". "):L&&We&&We!==Fe?We:"",Bt=[typeof H["aria-describedby"]=="string"?H["aria-describedby"]:void 0,ct?Ve:null].filter(Boolean).join(" ")||void 0,Nt=(Oe,at)=>t.jsx(Ze,{icon:Oe,label:at??Fe,className:me,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),Ct=()=>ge==="dot"?t.jsxs(t.Fragment,{children:[Nt(d),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}):y==="center"&&d?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Nt(d)}),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}),se&&t.jsx("span",{className:"button__right",children:Nt(c)})]}):t.jsxs(t.Fragment,{children:[d&&t.jsx("span",{className:"button__left",children:Nt(d,v??ne)}),Ce&&t.jsx("span",{className:`button__label ${K}`,children:et()}),se&&t.jsx("span",{className:"button__right",children:Nt(c)})]}),dt=!!i&&!X;return t.jsxs(t.Fragment,{children:[t.jsxs(dt?"a":"button",{...Re,ref:Le,...dt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:X&&!j&&!ke},className:ce,"aria-pressed":te,"aria-expanded":typeof f=="boolean"?f:H["aria-expanded"],"aria-controls":A??H["aria-controls"],"aria-label":Fe,"aria-disabled":X&&(dt||j||ke)?!0:void 0,"aria-describedby":Bt,style:oe,onClick:ut,onMouseLeave:bt,onPointerEnter:Oe=>{ta(Oe)||it(),!X&&typeof H.onPointerEnter=="function"&&H.onPointerEnter(Oe)},onPointerLeave:Oe=>{ta(Oe)||tt(),!X&&typeof H.onPointerLeave=="function"&&H.onPointerLeave(Oe)},onPointerUp:Oe=>{X&&Ge&&Ye.touchPress(Oe.currentTarget),!X&&typeof H.onPointerUp=="function"&&H.onPointerUp(Oe)},onFocus:Oe=>{Me(!0),na()||it(),!X&&typeof H.onFocus=="function"&&H.onFocus(Oe)},onBlur:Oe=>{Me(!1),X||Ke(Oe),tt(),!X&&typeof H.onBlur=="function"&&H.onBlur(Oe)},children:[Ct(),ct?t.jsx("span",{id:Ve,hidden:!0,"aria-label":ct}):null]}),Ie&&Z?t.jsx(Vn,{anchorRect:Xe,title:Z.title,items:Z.items,onClose:Ee}):Ie&&We?t.jsx(vn,{anchorRect:Xe,text:We,onClose:Ee}):null]})}const pe=o.forwardRef(mf);pe.displayName="Button";var hf={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",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",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."},Cf={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",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"},ff={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"}},gf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},bf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},yf={selected:"\uC120\uD0DD\uB428"},vf={placeholder:"\uC120\uD0DD"},xf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},_f={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"},wf={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"},Af={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",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"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},Bf={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},kf={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",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."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},Nf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Df={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},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:"\uB4F1\uAE09",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",comingSoon:"\uC900\uBE44 \uC911",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",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",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",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",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",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:{idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"}},Ef={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},Sf={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",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",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",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"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},jf={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"}}}},Tf={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},Mf={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},Lf={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},$f={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."}},Rf={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Pf={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},If={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Ff={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",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",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",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"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},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"}},Of={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",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",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",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},Hf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},zf={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"}},Vf={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},Wf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},qf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},Uf={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",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},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"}},Gf={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",daily:"\uC77C\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"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},Kf={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",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:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},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."]},Yf={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},Zf={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
848
848
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
849
849
|
\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",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",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"},Xf={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},Jf={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},Qf={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},e2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},t2={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"},n2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},a2={ariaLabel:"\uC120\uD0DD \uD0ED"},r2={ariaLabel:"\uD0ED"},o2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},s2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},i2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},l2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},u2={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",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"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},c2={manage:{unit:"\uAC74"}},d2={cancelLabel:"\uCDE8\uC18C"},p2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},m2={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",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.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},h2={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"},C2={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},f2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},g2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},b2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},y2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},v2={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},x2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},_2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},w2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},A2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},B2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},k2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},N2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},D2={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"},E2={common:hf,calendar:Cf,passCard:ff,searchField:gf,rating:bf,colorPicker:yf,dropdown:vf,accordion:xf,header:_f,nav:wf,settings:Af,usage:Bf,account:kf,help:Nf,training:Df,trainingSettings:Ef,customers:Sf,payment:jf,coupons:Tf,visits:Mf,company:Lf,trainingType:$f,myWordTraining:Rf,myWordTable:Pf,keyWords:If,wordTable:Ff,wordSearch:Of,wordPrint:Hf,topic:zf,accessLinkManager:Vf,login:Wf,trainingPlanRun:qf,device:Uf,manager:Gf,wordPairs:Kf,game:Yf,footer:Zf,landing:Xf,date:Jf,trainingSetPage:Qf,wordTrainingPreview:e2,wordData:t2,textField:n2,segmentedControl:a2,tabs:r2,fileUpload:o2,avatar:s2,myHomework:i2,trainingStatus:l2,store:u2,homework:c2,inquiry:d2,progress:p2,trainingMiss:m2,table:h2,wordScore:C2,topBanner:f2,datePicker:g2,report:b2,tooltip:y2,phonemeProfile:v2,bulkBar:x2,debug:_2,badge:w2,loader:A2,soundCompass:B2,breadcrumb:k2,board:N2,promoBannerBg:D2},S2={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},j2={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount:"{{count}} visit(s)"},T2={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",expired:"Expired",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},M2={clearAriaLabel:"Clear search"},L2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},$2={selected:"selected"},R2={placeholder:"Select"},P2={collapse:"Collapse",expand:"Expand"},I2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},F2={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel:"{{label}}, {{count}} notifications inside"},O2={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},H2={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},z2={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},V2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},W2={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",n:"{{n}}"},filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",done:"Done",viewResult:"View Results",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{idle:"Idle",resolving:"Resolving\u2026",checking_exists:"Checking file\u2026",getting_signed_url:"Getting URL\u2026",downloading:"Downloading\u2026",measuring_duration:"Measuring length\u2026",ready:"Ready",error:"Error"}},q2={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},U2={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},G2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},K2={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},Y2={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},Z2={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},X2={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},J2={comingSoon:"Word training is coming soon."},Q2={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"},publishedBadge:"Published",sharedBadge:"Shared"},eg={title:"Key Words",empty:"No key words available."},tg={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete {{name}}",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"}},ng={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",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",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},ag={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},rg={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},og={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},sg={passwordPlaceholder:"Enter password"},ig={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant"}},lg={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},ug={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},cg={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},dg={lead:`IHAB builds trust
|
|
850
850
|
through sound
|
|
@@ -856,7 +856,7 @@ ${f.badge}`:f.badge:void 0;if(x&&d(f.code))return null;if(!f.badge&&!p)return m(
|
|
|
856
856
|
`).map(i=>i.replace(/\t/g," ")),r=a.filter(i=>i.trim().length>0),s=r.length>0?Math.min(...r.map(i=>i.match(/^ */)?.[0].length??0)):0;return a.map(i=>i.slice(s)).join(`
|
|
857
857
|
`)}const z4=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),V4=/^(?:const|let|var|function|return|if|else|for|while|switch|case|break|import|from|export|class|new|try|catch|finally|throw|await|async|null|true|false|this|typeof|instanceof)\b/;function W4(e,n){let a=e;const r=[],s=/^(?:sh|bash|zsh|shell|console)$/.test(n.toLowerCase()),i=(l,u)=>r.push({type:l,content:u});for(;a.length>0;){const l=a.match(/^\s+/);if(l){i("whitespace",l[0]),a=a.slice(l[0].length);continue}if(!s&&a.startsWith("//")){const v=a.indexOf(`
|
|
858
858
|
`),b=v===-1?a:a.slice(0,v);i("comment",b),a=a.slice(b.length);continue}if(s&&a.startsWith("#")){const v=a.indexOf(`
|
|
859
|
-
`),b=v===-1?a:a.slice(0,v);i("comment",b),a=a.slice(b.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const c=a.match(/^\d+(?:\.\d+)?/);if(c){i("number",c[0]),a=a.slice(c[0].length);continue}const p=a.match(V4);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const m=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(m){const v=m[0];i(s&&z4.has(v)?"command":"identifier",v),a=a.slice(v.length);continue}const C=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(C){i("operator",C[0]),a=a.slice(C[0].length);continue}const g=a.match(/^[()[\]{};.,]/);if(g){i("punctuation",g[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return r}function q4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=ye.useTranslation(),[u,d]=o.useState(!1),c=H4(Hl(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await LC(c))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},C=W4(c,n),g=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:Ne("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(pe,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:u?"check":"copy",onClick:m,ariaLabel:u?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:C.map((v,b)=>t.jsx("span",{className:`code-token ${v.type} ${g}`,children:v.content},b))})})]})}const U4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ma(e){const{t:n}=ye.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const d=s==null||!Number.isFinite(Number(s)),c=d?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:c,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${c}%`}})})}const u=typeof r=="number"?`${r}px`:r;return t.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":l,children:[t.jsx("span",{style:U4,children:l}),t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function zl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&d,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:c=>n?.(c.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}function Vl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:d}){const c=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{c.current&&(c.current.indeterminate=!!r)}),t.jsxs("label",{className:Ne("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:c,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:C=>{n?.(C.target.checked),c.current&&(c.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function G4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=ye.useTranslation(),d=s!==void 0?s:e>0,c=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),C=o.useRef(null),g=o.useRef(d);o.useLayoutEffect(()=>{const h=m.current,_=g.current;if(g.current=d,d&&!_){const f=typeof document<"u"?document.activeElement:null;C.current=f&&f!==document.body&&!h?.contains(f)?f:null}else!d&&_&&h&&h.contains(document.activeElement)&&Ga(h,C.current)},[d]);const[v,b]=o.useState(!1),y=o.useRef(!1),w=o.useRef(null);return o.useEffect(()=>{const h=p.current;if(!h)return;const _=B=>{y.current=B,b(B)},f=()=>{const B=h.firstElementChild??h,E=Array.from(B.children);if(E.length<2){_(!1);return}const S=E[0].offsetTop,z=E.some(O=>O.offsetTop!==S);if(!y.current){w.current=h.clientWidth,z&&_(!0);return}if(z)return;const R=E[0],q=E[E.length-1],j=q.offsetLeft+q.offsetWidth-R.offsetLeft,L=w.current;(L==null||j<=L)&&_(!1)};if(f(),typeof ResizeObserver>"u")return;const A=new ResizeObserver(f);A.observe(h);const x=h.parentElement;let N=x?.clientWidth??0;const k=new ResizeObserver(()=>{const B=x?.clientWidth??0;B!==N&&(N=B,w.current=null,f())});return x&&k.observe(x),()=>{A.disconnect(),k.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[t.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??t.jsx("b",{children:u("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(xt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`,"aria-label":u("common.selectedOfMax",{count:e,max:l,defaultValue:`\uCD5C\uB300 ${l}\uAC1C \uC911 ${e}\uAC1C`})}),t.jsxs("div",{className:`bulk-bar__actions${v?" bulk-bar__actions--stacked":""}`,children:[t.jsx(pe,{htmlType:"button",size:40,label:c,onClick:a}),n.map((h,_)=>t.jsx(pe,{htmlType:"button",size:40,variant:h.variant??"default",icon:h.icon,label:h.label,onClick:h.onClick},_))]})]})}const K4=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function Y4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:Ne("item-actions",a),children:K4.map(({\uC5F4\uC1E0:r,icon:s,\uB2EB\uACE0\uD560\uAE4C:i})=>{const l=e[r];if(!l)return null;const u=r==="publish"?l.published?l.unpublish:l.publish:l;return t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function Wl(e,n){const a=()=>{if(e){const[b,y]=e.split("-");return{y:+b,m:+y-1}}const[g,v]=Or(n).split("-");return{y:+g,m:+v-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),u=o.useRef(e);o.useEffect(()=>{if(e===u.current)return;u.current=e;const g=a();s(g.y),l(g.m)},[e]);const d=o.useRef({y:r,m:i});o.useEffect(()=>{d.current={y:r,m:i}},[r,i]);const c=o.useCallback(g=>{const v=d.current.y*12+d.current.m+g,b=Math.floor(v/12),y=v-b*12;d.current={y:b,m:y},s(b),l(y)},[]),p=o.useCallback(()=>c(-1),[c]),m=o.useCallback(()=>c(1),[c]),C=o.useCallback((g,v)=>{d.current={y:g,m:v},s(g),l(v)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:C}}function tr(e,n){return new Date(e,n+1,0).getDate()}function Z4(e,n){return new Date(e,n,1).getDay()}function nr(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function X4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function J4(e,n,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let u=s;u<=i;u++)for(let d=0;d<12;d++){const c=`${u}-${String(d+1).padStart(2,"0")}`;a&&c<a.slice(0,7)||r&&c>r.slice(0,7)||l.push({value:c,label:n(u,d+1)})}return l}function Q4({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:d}){const{t:c}=ye.useTranslation(),p=l??c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>c("calendar.dow",{returnObjects:!0}),[c]),C=Or(d),{viewY:g,viewM:v,prevMonth:b,nextMonth:y,setViewYM:w}=Wl(e,d),h=o.useId(),_=o.useCallback((D,H)=>{const M=window.innerHeight,I=window.innerWidth,$=typeof document<"u"?document.getElementById(h):null,K=Math.max($?.offsetHeight||0,$?.scrollHeight||0)||300,ne=Math.max(D.width,$?.offsetWidth||0,260),X=M-D.bottom,ae=D.top,ue=X<K&&ae>X,le=8,be=(V,Q)=>Math.min(Math.max(le,V),Math.max(le,Q));return{position:"fixed",left:be(D.left,I-ne-le),width:D.width,minWidth:260,...ue?{top:"auto",bottom:be(M-D.top+6,M-K-le)}:{bottom:"auto",top:be(D.bottom+6,M-K-le)},zIndex:Aa(H)}},[h]),{open:f,setOpen:A,toggle:x,style:N,triggerRef:k,menuRef:B}=Ba({computeStyle:_,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!f)return;const D=B.current;return(D?.querySelector(".date-picker__day--selected:not(:disabled)")??D?.querySelector(".date-picker__day--today:not(:disabled)")??D?.querySelector(".date-picker__day:not(:disabled)")??D?.querySelector(mn)??D)?.focus?.(),()=>{const H=document.activeElement;(!H||H===document.body)&&k.current?.focus?.()}},[f,B,k]);const[E,S]=o.useState(1),z=o.useRef(null),R=o.useRef(null);o.useEffect(()=>{if(!f)return;const D=e&&e.slice(0,7)===`${g}-${String(v+1).padStart(2,"0")}`?+e.slice(8):C.slice(0,7)===`${g}-${String(v+1).padStart(2,"0")}`?+C.slice(8):1;S(D)},[f]),o.useEffect(()=>{if(R.current==null)return;const D=R.current;R.current=null,z.current?.querySelector(`[data-day="${D}"]`)?.focus()}),o.useEffect(()=>{S(D=>Math.min(D,tr(g,v)))},[g,v]);const q=o.useCallback(D=>{let H=nr(D.getFullYear(),D.getMonth(),D.getDate());r&&H<r&&(H=r),s&&H>s&&(H=s);const[M,I,$]=H.split("-").map(Number);(M!==g||I-1!==v)&&w(M,I-1),S($),R.current=$},[r,s,g,v,w]),j=o.useCallback(D=>{const H=new Date(g,v,E),M=$=>{H.setDate(H.getDate()+$),q(H)},I=$=>{const K=H.getFullYear()*12+H.getMonth()+$,ne=Math.floor(K/12),X=K-ne*12;q(new Date(ne,X,Math.min(H.getDate(),tr(ne,X))))};switch(D.key){case"ArrowLeft":M(-1);break;case"ArrowRight":M(1);break;case"ArrowUp":M(-7);break;case"ArrowDown":M(7);break;case"Home":M(-H.getDay());break;case"End":M(6-H.getDay());break;case"PageUp":D.shiftKey?I(-12):I(-1);break;case"PageDown":D.shiftKey?I(12):I(1);break;default:return}D.preventDefault()},[g,v,E,q]),L=o.useCallback(D=>{i||(n(nr(g,v,D)),A(!1))},[g,v,n,A,i]);o.useEffect(()=>{i&&A(!1)},[i,A]);const O=D=>{const H=nr(g,v,D);return!!(r&&H<r||s&&H>s)},Z=(()=>{const D=tr(g,v);if(E>=1&&E<=D&&!O(E))return E;for(let H=1;H<=D;H++)if(!O(H))return H;return-1})(),ee=[];for(let D=0;D<Z4(g,v);D++)ee.push(null);for(let D=1;D<=tr(g,v);D++)ee.push(D);const W=a===64?20:a===40?16:18,U=J4(g,(D,H)=>c("calendar.yearMonth",{year:D,month:H,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),P=`${g}-${String(v+1).padStart(2,"0")}`,F=f?Xt.createPortal(t.jsxs("div",{ref:B,id:h,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:b,"aria-label":c("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ls,{size:16,strokeWidth:2})}),t.jsx(ln,{className:"date-picker__nav-dropdown",ariaLabel:c("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:U,value:P,onChange:D=>{const[H,M]=D.split("-");w(+H,+M-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:y,"aria-label":c("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(us,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:j,children:[m.map(D=>t.jsx("div",{className:"date-picker__dow caption-1",children:D},D)),ee.map((D,H)=>{if(D===null)return t.jsx("div",{},`e${H}`);const M=nr(g,v,D),I=M===e,$=M===C,K=O(D),ne=H%7;return t.jsx("button",{type:"button",disabled:K,"data-day":D,tabIndex:D===Z?0:-1,"aria-current":$?"date":void 0,onClick:()=>!K&&L(D),className:Ne("date-picker__day caption-1",I&&"date-picker__day--selected",$&&!I&&"date-picker__day--today",K&&"date-picker__day--disabled",ne===0&&"date-picker__day--sun",ne===6&&"date-picker__day--sat"),children:D},D)})]})]}),document.body):null;return t.jsxs("div",{className:Ne("date-picker",`date-picker--s${a}`,f&&"date-picker--open",u),children:[t.jsxs("button",{ref:k,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&x(),disabled:i,"aria-haspopup":"true","aria-expanded":f,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?X4(e):p}),t.jsx(bs,{size:W,className:"date-picker__icon",strokeWidth:1.5})]}),F]})}function ql({children:e,className:n}){const a=o.useRef(null),[r,s]=o.useState(null);return o.useEffect(()=>{s(a.current?.parentElement??null)},[]),o.useEffect(()=>{const i=a.current;if(!i||!r)return;const l=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?r.style.setProperty("--section-head-float-w",`${d}px`):r.style.removeProperty("--section-head-float-w")};if(l(),typeof ResizeObserver>"u")return()=>{r.style.removeProperty("--section-head-float-w")};const u=new ResizeObserver(()=>l());return u.observe(i),u.observe(r),()=>{u.disconnect(),r.style.removeProperty("--section-head-float-w")}},[r,e]),t.jsx("div",{ref:a,className:Ne("section-head-float",n),children:e})}function mo({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function La({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function ho({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:d,collapseBelow:c=420,onClick:p,ariaLabel:m,tooltip:C,totalNum:g,totalUnit:v,totalLabel:b,subRow:y,subRowAlign:w="start",className:h,inGrid:_=!1,children:f}){const{t:A}=ye.useTranslation(),x=o.useRef(null),{anchorRect:N,openAt:k,close:B}=wa(),E=o.useCallback(()=>{C&&x.current&&k(x.current)},[C,k]),[S,z]=o.useState(!1);co(()=>{const M=x.current;if(!M||!u)return;const I=K=>z(K>0&&K<c);if(I(M.clientWidth),typeof ResizeObserver>"u")return;const $=new ResizeObserver(K=>I(K[0].contentRect.width));return $.observe(M),()=>$.disconnect()},[u,c]);const[R,q]=o.useState(null),j=o.useCallback(()=>q(null),[]),L=o.useCallback(M=>{const I=M.currentTarget.getBoundingClientRect();q($=>$?null:{left:I.left,right:I.right,top:I.top,bottom:I.bottom,width:I.width,height:I.height,x:I.x,y:I.y})},[]),O=!!u&&S;o.useEffect(()=>{O||q(null)},[O]);const Z=u?[...u.options.map(M=>({label:M.label,icon:M.icon,selected:M.key===u.value,disabled:M.disabled,onClick:()=>u.onChange(M.key),closeOnSelect:!0})),...(d??[]).map((M,I)=>I===0?{...M,separatorBefore:!0}:M)]:[],ee=o.useCallback(M=>{if(!p)return;const I=M.target;I&&typeof I.closest=="function"&&I.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),W=o.useCallback(M=>{p&&M.target===M.currentTarget&&(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),p())},[p]),U=typeof i=="function"?i({collapsed:O}):i,P=g!=null||b?t.jsxs(La,{label:b,children:[g!=null&&t.jsx("span",{className:"barchart-total__num h0",children:g}),v&&t.jsx("span",{className:"barchart-total__unit h5",children:v})]}):null,F=U||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(O?t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!R,onClick:L}):t.jsx(An,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(M=>({key:M.key,label:M.label,disabled:M.disabled})),value:u.value,onChange:u.onChange})),U]}):null,D=o.useId(),H=a?`h${a}`:"div";return t.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",p&&"manager-section--clickable",h].filter(Boolean).join(" "),onClick:p?ee:void 0,onKeyDown:p?W:void 0,onPointerEnter:C?E:void 0,onPointerLeave:C?B:void 0,onFocus:C?E:void 0,onBlur:C?B:void 0,role:p?"button":void 0,tabIndex:p?0:void 0,"aria-label":p?m??(typeof e=="string"?e:void 0):void 0,"aria-labelledby":!p&&e!=null?D:void 0,children:[C&&N&&t.jsx(vn,{anchorRect:{left:N.left,top:N.top+21,right:N.right,bottom:N.bottom,width:N.width,height:N.height},text:C}),l&&t.jsx(ql,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ze,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(H,{id:D,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),F,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(P||y)&&t.jsxs("div",{className:["barchart-sub-row",w!=="start"&&`barchart-sub-row--${w}`].filter(Boolean).join(" "),children:[P,y]}),f,R&&t.jsx(on,{anchorRect:R,onClose:j,ariaLabel:u?.ariaLabel??A("tooltip.menu","\uBA54\uB274"),children:t.jsx(ka,{columns:[{items:Z}],onClose:j,size:"small"})})]})}function hn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function ey(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<hn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-hn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function ty(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,c)=>`${d}\uB144 ${c+1}\uC6D4`,s=new Map;s.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const c=r(d.date.getFullYear(),d.date.getMonth());s.has(c)||s.set(c,[]),s.get(c).push(d)}for(const[d,c]of[...s.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),C=Number(p[2])-1,g=hn(m,C);if(!(d===a&&n.getDate()<g)&&!c.some(y=>y.date.getDate()<g))continue;const v=new Date(m,C,0),b=r(v.getFullYear(),v.getMonth());s.has(b)||s.set(b,[])}const i=new Map;for(const[d,c]of s){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),C=Number(p[2])-1,g=new Date(m,C+1,0).getDate(),v=c.reduce((f,A)=>Math.max(f,A.parts?.length??0,A.partsB?.length??0),0),b=c.some(f=>f.partsB),y=new Array(g+1).fill(0),w=new Array(g+1).fill(0),h=Array.from({length:g+1},()=>new Array(v).fill(0)),_=Array.from({length:g+1},()=>new Array(v).fill(0));for(const f of c){const A=f.date.getDate();if(y[A]+=f.a,w[A]+=f.b,f.parts)for(let x=0;x<v;x++)h[A][x]+=f.parts[x]??0;if(f.partsB)for(let x=0;x<v;x++)_[A][x]+=f.partsB[x]??0}i.set(d,{year:m,month:C,daysInMonth:g,partsLen:v,hasPartsB:b,dayA:y,dayB:w,dayParts:h,dayPartsB:_})}const l=(d,c,p)=>new Date(d,c,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[d,c]of i){const{year:p,month:m,daysInMonth:C,dayA:g,dayB:v,dayParts:b,dayPartsB:y}=c,w=p===n.getFullYear()&&m===n.getMonth(),h=n.getDate(),_=i.get(r(m===11?p+1:p,(m+1)%12)),f=c.partsLen,A=[];for(let N=1;N<=C;N++){const k=w&&N>h;A.push({label:String(N),...k&&g[N]===0&&v[N]===0?{future:!0}:{},a:k&&g[N]===0&&v[N]===0?-1:g[N],b:v[N],...f?{parts:b[N]}:{},...f&&c.hasPartsB?{partsB:y[N]}:{}})}const x=[];for(let N=hn(p,m);N<=C;N+=7){const k=Math.max(0,N+6-C),B=k&&_?Math.max(f,_.partsLen):f,E=c.hasPartsB||!!(k&&_?.hasPartsB);let S=0,z=0;const R=new Array(B).fill(0),q=new Array(B).fill(0);for(let L=N;L<=Math.min(N+6,C);L++){S+=g[L],z+=v[L];for(let O=0;O<f;O++)R[O]+=b[L][O],q[O]+=y[L][O]}if(k&&_)for(let L=1;L<=k&&!l(_.year,_.month,L);L++){S+=_.dayA[L],z+=_.dayB[L];for(let O=0;O<_.partsLen;O++)R[O]+=_.dayParts[L][O],q[O]+=_.dayPartsB[L][O]}const j=k?`${(m+1)%12+1}/${k}`:`${N+6}`;x.push({label:`${x.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${j}\uC77C]`,a:S,b:z,...B?{parts:R}:{},...B&&E?{partsB:q}:{}})}u[d]={weekly:x,daily:A}}return u}function Ul(){const e=Jn(),n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=n;s++){const i=s===n?a:12;for(let l=1;l<=i;l++){const u=`${s}\uB144 ${l}\uC6D4`;r.push({value:u,label:u,year:s,month:l})}}return r.reverse()}Ul();function ny(){return Ul()}const Gl=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Kl(e){const{t:n,i18n:a}=ye.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>ny().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const E of i){const S=new Date(E.year,E.month,0).getDate(),z=hn(E.year,E.month-1),R=Math.ceil((S-z+1)/7);for(let q=R-1;q>=0;q--)B.push({value:`${E.value}#${q}`,monthKey:E.value,year:E.year,month:E.month,week:q})}return B},[i]),u=o.useCallback(B=>{const E=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${E} ${Gl[B.week]??`${B.week+1}`}\uC8FC`:`${E} Week ${B.week+1}`},[n,a.language]),d=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),c=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>ey(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),C=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[g,v]=o.useState(""),[b,y]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===g)||v(m)},[i,g,m]),o.useEffect(()=>{l.find(B=>B.value===b)||y(C)},[l,b,C]);const w=r==="month"?d:c,h=r==="month"?g:b,_=r==="month"?v:y,f=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),A=w.findIndex(B=>B.value===h),x=o.useCallback(()=>{const B=w.findIndex(E=>E.value===h);B<w.length-1&&_(w[B+1].value)},[w,h,_]),N=o.useCallback(()=>{const B=w.findIndex(E=>E.value===h);B>0&&_(w[B-1].value)},[w,h,_]),k=o.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:s,range:h,setRange:_,activeOptions:w,activeIdx:A,handlePrev:x,handleNext:N,periodOptions:k,monthRange:g,weekRange:b,weekRanges:l,DOW:f}}const ht=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function Bn(e,n=!0){return e.future===!0||n&&e.a===-1}function ay({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:d,tightMax:c,seriesColors:p,seriesLabels:m,rateLabels:C,grouped:g=!1,baseline:v,focusableBars:b=!1}){const y=!a,w=!!(p&&p.length>0),h=v,_=o.useMemo(()=>w?Math.max(0,...e.filter(W=>!Bn(W,h==null)).map(W=>g?Math.max(0,...(W.parts??[]).map(ht)):(W.parts??[]).reduce((U,P)=>U+Math.max(0,ht(P)),0))):Math.max(0,...e.filter(W=>!Bn(W,h==null)).flatMap(W=>y?[ht(W.a)]:[ht(W.a),ht(W.b)])),[e,y,w,g]),f=o.useMemo(()=>{if(h==null)return 0;const W=e.filter(U=>!Bn(U,h==null)).flatMap(U=>w?(U.parts??[]).map(ht):y?[ht(U.a)]:[ht(U.a),ht(U.b)]);return Math.max(0,...W.map(U=>Math.abs(U-h)))},[e,h,w,y]),A=o.useMemo(()=>{const W=h!=null?f:_;return d??(c?W>0?W:10:Math.ceil(W/10)*10||10)},[_,f,h,d,c]),x=u,N=w?g?Math.max(1,p.length):1:y?1:2,k={"--bar-width":`${o.useMemo(()=>{const W=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(W*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},E=o.useMemo(()=>{const W=Math.round(A/2);return h!=null?[h+A,...W!==A?[h+W]:[],h,...W!==A?[h-W]:[],h-A]:W!==A?[A,W,0]:[A,0]},[A,h]),S=W=>h!=null?1-(W-(h-A))/(2*A):1-W/A,[z,R]=o.useState(null),q=o.useCallback(()=>R(null),[]),j=o.useCallback((W,U)=>{const P=[W.label,W.sublabel].filter(Boolean).join(" ");let F;if(w&&g&&W.rawPartsB)F=(m??[]).map((D,H)=>{const M=W.rawPartsB[H]??0;return{text:M>0?`${D}: ${U[H]??0}% (${W.rawParts?.[H]??0}/${M})`:`${D}: -`,color:(p??[])[H]}});else if(w&&g)F=(m??[]).map((D,H)=>({text:`${D}: ${Z(U[H]??0)}`,color:(p??[])[H]}));else if(w){const D=(m??[]).map((M,I)=>({text:`${M}: ${U[I]??0}`,color:(p??[])[I]})),H=D.filter((M,I)=>(U[I]??0)>0);F=H.length?H:D}else C&&!y?F=[{text:`${r} ${ht(W.a)}%`,color:n},{text:`${s} ${ht(W.b)}%`,color:a}]:C&&W.rawB!==void 0?F=[{text:`${C.total} ${W.rawB}`},{text:`${C.done} ${W.rawA??0}`,color:n}]:y?F=[{text:`${r}: ${ht(W.a)}`,color:n}]:F=[{text:`${r}: ${ht(W.a)}`,color:n},{text:`${s}: ${ht(W.b)}`,color:a}];return{title:P,items:F}},[w,g,m,p,C,y,r,s,n,a,h]),L=o.useCallback((W,U,P)=>{const F=W.getBoundingClientRect(),{title:D,items:H}=j(U,P);R({rect:{left:F.left,top:F.top,right:F.right,bottom:F.bottom,width:F.width,height:F.height},title:D,items:H})},[j]),O=o.useCallback((W,U)=>{const{title:P,items:F}=j(W,U);return[P,...F.map(D=>D.text)].filter(Boolean).join(", ")},[j]),Z=W=>h!=null&&W>h?`+${W}`:`${W}`,ee=z!=null;return o.useEffect(()=>{if(!ee)return;const W=()=>R(null),U=P=>{const F=P.target;F&&typeof F.closest=="function"&&F.closest(".manager-bar-chart-col")||R(null)};return window.addEventListener("scroll",W,!0),document.addEventListener("pointerdown",U,!0),()=>{window.removeEventListener("scroll",W,!0),document.removeEventListener("pointerdown",U,!0)}},[ee]),t.jsxs("div",{className:"manager-bar-chart-wrap",style:B,children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:x},children:[E.slice(0,-1).map((W,U)=>t.jsx("div",{className:`manager-bar-chart-gridline${h!=null&&W===h?" manager-bar-chart-gridline--baseline":""}`,style:{top:S(W)*x},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:W})},U)),e.map((W,U)=>{const P=Bn(W,h==null),F=x/2,D=$=>h!=null?Math.min(F,Math.abs(ht($)-h)/A*F):Math.min(x,Math.max(0,ht($)/A*x)),H=P?0:D(W.a),M=P?0:D(W.b),I=(W.parts??[]).map(ht);return t.jsx("div",{className:`manager-bar-chart-col${g&&w?" manager-bar-chart-col--group":""}`,style:{cursor:P?"default":"pointer"},tabIndex:b&&!P?0:void 0,role:b&&!P?"img":void 0,"aria-label":b&&!P?O(W,I):void 0,onMouseEnter:P?void 0:$=>L($.currentTarget,W,I),onFocus:P||!b?void 0:$=>L($.currentTarget,W,I),onBlur:b?q:void 0,onMouseLeave:q,children:!P&&(w&&g?(p??[]).map(($,K)=>{const ne=I[K]??0;if(h==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:D(ne),background:$}},K);const X=ht(ne)<h;return t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!X&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(ne),background:$}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:X&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(ne),background:$}})})]},K)}):w?t.jsx("div",{className:"manager-bar-chart-stack",style:k,children:(()=>{const $=I.reduce((ne,X,ae)=>X>0?ae:ne,-1);let K=x;return I.map((ne,X)=>{if(ne<=0)return null;const ae=Math.min(K,ne/A*x);return K-=ae,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:ae,background:(p??[])[X],borderRadius:X===$?"6px 6px 0 0":void 0}},X)})})()}):h!=null?t.jsx(t.Fragment,{children:[{v:ht(W.a),c:n},...y?[]:[{v:ht(W.b),c:a}]].map(({v:$,c:K},ne)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:$>=h&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D($),background:K}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:$<h&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D($),background:K}})})]},ne))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:H,background:n}}),!y&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:M,background:a}})]}))},U)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((W,U)=>{const P=Bn(W,h==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${P?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[W.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),W.label]}),W.sublabel&&t.jsx("span",{className:"caption-1",children:W.sublabel})]},U)})})]})})}),z&&t.jsx(Vn,{anchorRect:z.rect,title:z.title,items:z.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Yl({control:e}){const{t:n}=ye.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:d,period:c,setPeriod:p}=e,m=c==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),C=c==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(ln,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:C,showTooltipInfo:C,disabled:r<=0,onClick:u}),t.jsx(An,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:c,onChange:g=>p(g),size:40})]})}function Co(e,n,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const u=new Date(n);u.setDate(n.getDate()+l);const d=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],c=d!=null&&Bn(d,r)||u>s;return{dt:u,entry:d,isFuture:c}})}function ry(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:d,DOW:c}=n,p=r?.startsWith("ko"),m=Jn(),C=m.getFullYear(),g=m.getMonth()+1,v=m.getDate();if(i==="month"){const w=e[l]??{weekly:[],daily:[]},h=l.match(/^(\d+)년 (\d+)월$/),_=h?Number(h[1]):null,f=h?Number(h[2]):null,A=_&&f?hn(_,f-1):1;return w.weekly.map((x,N)=>{const k=N+1;let B=x.label,E=!1,S=!1;if(_&&f){const z=A+N*7,R=new Date(_,f-1,z+6),q=R.getMonth()+1,j=R.getDate(),L=q===f?`${j}`:`${q}/${j}`;B=a("manager.chart.weekRange",{start:z,end:L});const O=new Date(C,g-1,v).getTime();E=O>=new Date(_,f-1,z).getTime()&&O<=R.getTime(),S=_>C||_===C&&(f>g||f===g&&z>v)}return{...x,label:B,sublabel:p?`${Gl[k-1]??k}\uC8FC`:`Week ${k}`,isToday:E,future:x.future===!0||S||void 0,a:S?-1:x.a,b:S?0:x.b}})}const b=d.find(w=>w.value===u);if(!b)return[];const y=new Date(b.year,b.month-1,hn(b.year,b.month-1)+b.week*7);return Co(e,y,m,s).map(({dt:w,entry:h,isFuture:_})=>{const f=w.getMonth()+1,A=w.getDate(),x=w.getFullYear();return{label:f===b.month&&x===b.year?`${A}`:`${f}/${A}`,sublabel:c[w.getDay()]??"",future:_||void 0,a:_?-1:h&&h.a>0?h.a:0,b:_?0:h&&h.b>0?h.b:0,isToday:x===C&&f===g&&A===v,...h?.parts?{parts:_?h.parts.map(()=>0):h.parts}:{},...h?.partsB?{partsB:_?h.partsB.map(()=>0):h.partsB}:{}}})}const oy={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function sy({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,titleLevel:s,data:i,colorA:l,colorB:u,labelAKey:d,labelBKey:c,showTotal:p=!1,totalUnitKey:m,totalLabelKey:C,control:g,hideControls:v=!1,rate:b=!1,rateAgg:y="dayMean",tightMax:w=!1,avgMode:h=!1,totalFormat:_,series:f,seriesMode:A="stack",loading:x=!1,onDetail:N,headExtra:k,headSegment:B,icon:E,disc:S,onClick:z,cardAriaLabel:R,cardTooltip:q,detailSize:j=32,barGap:L,baseline:O,className:Z,inGrid:ee=!1}){const{t:W,i18n:U}=ye.useTranslation(),P=oy[n],F=Kl(i),D=g??F,H=o.useMemo(()=>ry(i,D,W,U.language,O==null),[i,D,W,U.language,O]),M=A==="group"&&!!f&&f.length>0;L!=null&&!M&&an("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const I=o.useMemo(()=>{if(!b)return H;const ae=D.period==="month"?D.monthRange.match(/^(\d+)년 (\d+)월$/):null,ue=Jn(),le=f?.length??0,be=V=>{const Q=[],oe=[],Be=[];for(let Ce=0;Ce<le;Ce++){let se=0,ge=0,fe=0;for(const xe of V){const $e=ht(xe.a[Ce]),Le=ht(xe.b[Ce]);Le<=0||(se+=$e,ge+=Le,fe+=$e/Le*100)}Q.push(y==="weighted"?ge>0?Math.round(se/ge*100):0:V.length?Math.round(fe/V.length):0),oe.push(se),Be.push(ge)}return{pct:Q,ra:oe,rb:Be}};return H.map((V,Q)=>{let oe=V.a===-1?-1:V.b>0?Math.round(V.a/V.b*100):0;if(ae&&!Bn(V)){const Ce=Number(ae[1]),se=Number(ae[2])-1,ge=Co(i,new Date(Ce,se,hn(Ce,se)+Q*7),ue).filter(fe=>!fe.isFuture);if(y==="weighted"){let fe=0,xe=0;for(const{entry:$e}of ge)$e&&$e.b>0&&(fe+=$e.a,xe+=$e.b);oe=xe>0?Math.round(fe/xe*100):0}else oe=ge.length?Math.round(ge.reduce((fe,{entry:xe})=>fe+(xe&&xe.b>0?xe.a/xe.b*100:0),0)/ge.length):0}let Be=null;if(M&&!Bn(V)){let Ce;if(ae){const ge=Number(ae[1]),fe=Number(ae[2])-1;Ce=Co(i,new Date(ge,fe,hn(ge,fe)+Q*7),ue).filter(xe=>!xe.isFuture).map(({entry:xe})=>({a:xe?.parts??[],b:xe?.partsB??[]}))}else Ce=[{a:V.parts??[],b:V.partsB??[]}];const se=be(Ce);Be={parts:se.pct,rawParts:se.ra,rawPartsB:se.rb}}return{...V,a:oe,b:V.a===-1?0:c&&V.parts&&V.parts[1]>0?Math.round(V.parts[0]/V.parts[1]*100):0,rawA:V.a===-1?-1:V.a,rawB:V.b,...Be??{}}})},[H,b,y,c,D.period,D.monthRange,i,M,f?.length]),$=o.useMemo(()=>{if(b||h){const ue=(D.period==="week"?H:i[D.monthRange]?.daily??[]).filter(be=>be.a!==-1);if(ue.length===0)return 0;if(b&&y==="weighted"){let be=0,V=0;for(const Q of ue)Q.b>0&&(be+=Q.a,V+=Q.b);return V>0?Math.round(be/V*100):0}const le=b?ue.reduce((be,V)=>be+(V.b>0?V.a/V.b*100:0),0):ue.reduce((be,V)=>be+(V.a>0?V.a:0),0);return Math.round(le/ue.length)}const ae=D.period==="month"?i[D.monthRange]?.daily??[]:I;return O!=null?ae.reduce((ue,le)=>ue+(Bn(le,!1)?0:ht(le.a)+(c?ht(le.b):0)),0):ae.reduce((ue,le)=>ue+(le.a>0?le.a:0)+(c&&le.b>0?le.b:0),0)},[I,H,b,y,h,O,c,D.period,D.monthRange,i]),K=f&&f.length>0?f.map(ae=>({color:ae.color,label:ae.label})):[{color:l,label:W(d)},...c?[{color:u,label:W(c)}]:[]],ne=n==="small",X=[ne?"manager-section--compact":n==="large"?"manager-section--full":void 0,Z].filter(Boolean).join(" ")||void 0;return t.jsx(ho,{className:X,inGrid:ee,icon:E,disc:S,onClick:z,ariaLabel:R,tooltip:q,headSegment:B,headMenuItems:N?[{label:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:N,closeOnSelect:!0}]:void 0,title:W(r),titleLevel:s,titleClassName:ne?"h5 chart-section-title--small":void 0,headRight:ne?k??void 0:({collapsed:ae})=>t.jsxs(t.Fragment,{children:[!v&&t.jsx(Yl,{control:D}),k,N&&!ae&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(pe,{htmlType:"button",size:j,type:"dot",icon:"list",ariaLabel:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:N})})]}),subRow:t.jsxs(t.Fragment,{children:[p?b||h||C&&_?t.jsx(La,{label:ne?void 0:`${W(D.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${W(C??d)}`,children:_?(_($).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((ae,ue)=>/\d/.test(ae)?t.jsx("span",{className:"barchart-total__num h0",children:ae},ue):t.jsx("span",{className:"barchart-total__unit h5",children:ae},ue)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:$}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:W(m)})]})}):t.jsxs(La,{children:[t.jsx("span",{className:"barchart-total__num h0",children:$}),t.jsx("span",{className:"barchart-total__unit h5",children:W(d)}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:W(m)})]}):t.jsx("span",{}),t.jsx(mo,{items:K,className:"caption-1"})]}),children:x?t.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[t.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:P.height},children:t.jsx(Ma,{size:32})}),t.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:t.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[t.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),I.some(ae=>!!ae.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(ay,{focusableBars:e,data:I,colorA:l,colorB:c?u:void 0,labelA:W(d),labelB:c?W(c):void 0,barWidth:a??P.barWidth,barGap:L,baseline:O,height:P.height,maxOverride:b?100:void 0,tightMax:w,seriesColors:f?.map(ae=>ae.color),seriesLabels:f?.map(ae=>ae.label),rateLabels:b?{total:W("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:W("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:M})})}const Zl=120,iy={left:38,right:16,top:26,bottom:24};function ly({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:d,ariaLabel:c,className:p}){const[m,C]=o.useState(null),[g,v]=o.useState(null);o.useEffect(()=>{if(!g)return;const O=ee=>C(Math.round(ee)||null);if(O(g.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const Z=new ResizeObserver(([ee])=>O(ee.contentRect.width));return Z.observe(g),()=>{Z.disconnect()}},[g]);const{payload:b,anchorRect:y,openAfterDelay:w,close:h}=pb(Zl),_=o.useCallback((O,Z)=>{O&&w(O,Z.getBoundingClientRect())},[w]),f=m??l,A=i,{left:x,right:N,top:k,bottom:B}={...iy,...u},[E,S]=n,z=O=>S===E?x:x+(f-x-N)*(O-E)/(S-E),R=O=>k+(A-k-B)*(100-O)/100,q={x:z,y:R,plot:{left:x,right:f-N,top:k,bottom:A-B,width:Math.max(0,f-x-N),height:Math.max(0,A-k-B)}},j=e.filter(O=>!O.hollow),L=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:v,className:Ne("line-chart",p),viewBox:`0 0 ${f} ${A}`,role:"img","aria-label":c??e.map(O=>O.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(O=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:x,x2:f-N,y1:R(O),y2:R(O)}),t.jsxs("text",{className:"line-chart__tick",x:x-6,y:R(O)+4,textAnchor:"end",children:[O,"%"]})]},O)),d?.(q),a.map(O=>t.jsx("text",{className:"line-chart__tick",x:z(O.x),y:A-5,textAnchor:"middle",children:O.label},O.x)),j.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:L,points:j.map(O=>`${z(O.x)},${R(O.pct)}`).join(" ")}),e.map(O=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:Z=>_(O.description,Z.currentTarget),onPointerLeave:h,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:z(O.x),cy:R(O.pct),r:12}),t.jsx("circle",{className:Ne("line-chart__dot-main",O.hollow&&"is-hollow"),cx:z(O.x),cy:R(O.pct),r:4,stroke:L,fill:O.hollow?void 0:L})]},O.x))]}),b!=null&&t.jsx(on,{anchorRect:y,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:b,children:b})]})}function uy({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:Ne("game-intro",u),children:[e!=null&&t.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${n}px`},children:e}),t.jsx("h2",{className:Ne("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((d,c)=>t.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,m)=>t.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&t.jsx("span",{"aria-hidden":"true",children:p.icon}),t.jsx("span",{children:p.text})]},m))]},c)),l&&t.jsx(pe,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Xl=(e,n,a)=>{const r=new Date(Date.UTC(e,n,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Jl=(e,n,a,r)=>({from:ui(e,n,a),to:new Date(ui(e,n,a+r).getTime()-1),fromYmd:Xl(e,n,a),toYmd:Xl(e,n,a+r-1)});function cy(e,n=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Jn(),l=s?Number(s[1]):i.getFullYear(),u=(s?Number(s[2]):i.getMonth()+1)-1+n,d=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Jl(l,u,1,d)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=va();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=hn(a.year,a.month-1);return Jl(a.year,a.month-1,r+(a.week+n)*7,7)}const fo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Ql(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function eu({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:d=!1}){const c=typeof s=="number"?s:fo[s].diameter,p=i??(typeof s=="number"?12:fo[s].strokeWidth),m=c/2,C=(c-p)/2,g=2*Math.PI*C;if(a&&a.length>0){const w=a.reduce((h,_)=>{const f=h.length>0?h[h.length-1].acc:0,A=Number.isFinite(_.ratio)?_.ratio:0,x=Math.max(0,Math.min(A,1-f));return h.push({color:_.color,rotate:-90+f*360,dash:g*x,acc:f+x}),h},[]);return t.jsx("div",{className:"ring-chart",style:{width:c,height:c},children:t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),w.map((h,_)=>h.dash>0&&t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:h.color,strokeWidth:p,strokeDasharray:`${h.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${h.rotate} ${m} ${m})`},_))]})})}const v=(n??0)>0?Math.min((e??0)/n,1):0,b=g*v,y=g-b;return t.jsxs("div",{className:"ring-chart",style:{width:c,height:c},children:[t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),v>0&&t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${b} ${y}`,strokeLinecap:v<.02||v>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${c<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${c<=96?"h2":"h1"}`,children:Ql(v)}),!d&&t.jsx("span",{className:`ring-chart__label ${c<=96?"caption-2":"caption-1"}${c<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function dy({titleKey:e,titleLevel:n,headRight:a,icon:r,showTotal:s,totalLabelKey:i,legend:l,loading:u,className:d,inGrid:c=!1,onClick:p,ariaLabel:m,tooltip:C,...g}){const{t:v}=ye.useTranslation();if(!e)return t.jsx(eu,{...g});const b=(g.total??0)>0?Ql(Math.min((g.done??0)/g.total,1)):0,y=g.size==="small",w=typeof g.size=="number"?g.size:fo[g.size??"medium"].diameter,h=g.size==="large",_=[d,y?"manager-section--compact":h?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=r&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ze,{icon:r,className:"chart-section-icon-inner"})});return t.jsx(ho,{className:_,inGrid:c,onClick:p,ariaLabel:m,tooltip:C,title:v(e),titleLevel:n,titleClassName:y?"h5 chart-section-title--small":void 0,headRight:f||(y?void 0:a),subRow:(s||l)&&t.jsxs(t.Fragment,{children:[s?t.jsxs(La,{label:!y&&i?v(i):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:b}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),l&&t.jsx(mo,{items:l})]}),children:u?t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:w,height:w},"aria-busy":"true",children:t.jsx(Ma,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(eu,{...g,hideCenter:g.hideCenter??y})})})}function py({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const d=o.useRef(null),{anchorRect:c,openAt:p,close:m}=wa(),C=o.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),g=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),v=a===void 0?void 0:a>0?`+${a}`:`${a}`,b=o.useCallback(y=>{l&&(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),l())},[l]);return t.jsxs("div",{ref:d,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?b:void 0,onPointerEnter:C,onPointerLeave:m,onFocus:C,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,v].filter(y=>y!==void 0&&y!=="").join(" "):void 0,children:[i&&c&&t.jsx(vn,{anchorRect:{left:c.left,top:c.top+21,right:c.right,bottom:c.bottom,width:c.width,height:c.height},text:i}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ze,{icon:s,className:"manager-stat-card__icon-inner"})})]}),t.jsxs("div",{className:"manager-stat-card__content",children:[t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),v&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${g??"neutral"} caption-1`,children:v})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function tu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:d,length:c,className:p,label:m,formatValue:C,labelPos:g,labelAlign:v="right",showMinMax:b=!1,minLabel:y,maxLabel:w,showBgTick:h=!1,showFillTick:_=!1,tickStep:f,tickShape:A="dot"}){n&&!d&&an("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),N=r>a?(x-a)/(r-a):0,k=i==="vertical",B=!n,E=D=>n?.(Number(D.target.value)),S=typeof c=="number"?`${c}px`:c,z={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...S?k?{height:S}:{width:S}:{}},R=f??s,q=(h||_)&&R>0&&r>a?Math.floor((r-a)/R+1e-6):0;if(q>0&&q<=100){const D=A!=="dash",H=ne=>D?`radial-gradient(circle, ${ne} 0.5px, transparent 1px)`:k?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ne} calc(50% - 2px), ${ne} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ne} calc(50% - 2px), ${ne} calc(50% + 2px), transparent calc(50% + 2px))`,M=D?"2px":"4px",I=[],$=[],K=[];for(let ne=0;ne<=q;ne++){const X=ne*R/(r-a);if(X>1+1e-6)break;const ae=`${((k?1-X:X)*100).toFixed(4)}%`,ue=X<=N+1e-6;if(ue?!_:!h)continue;const le=ue?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(H(le)),$.push(k?`${M} var(--slider-thumb)`:`var(--slider-thumb) ${M}`),K.push(k?`center ${ae}`:`${ae} center`)}I.push(k?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),$.push("100% 100%"),K.push("0 0"),z.backgroundImage=I.join(", "),z.backgroundSize=$.join(", "),z.backgroundPosition=K.join(", "),z.backgroundRepeat="no-repeat"}const j=C?C(x):m==="percent"?`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`:m==="count"?`${x} / ${r}`:x===a&&y?y:x===r&&w?w:void 0,L=t.jsx("input",{type:"range",className:Ne("slider",`slider--${i}`,B&&"slider--static",!m&&!b&&p),min:a,max:r,step:s,value:x,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":d,"aria-valuetext":j,"aria-orientation":i,onChange:E,style:z});if(!m&&!b)return L;const O=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??a}),Z=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:w??r}),ee=b?t.jsxs("div",{className:Ne("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[k?Z:O,L,k?O:Z]}):L;if(!m)return ee;const W=g??(k?"bottom":"right"),U=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,P=C?C(x):m==="percent"?U:m==="count"?`${x} / ${r}`:String(x),F=t.jsx("span",{className:"slider-wrap__value body-3b",children:P});return t.jsxs("div",{className:Ne("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${W}`,`slider-wrap--align-${v}`,p),children:[ee,F]})}const my=.86,hy=250,go=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),bo=(e,n,a,r)=>{const s=go(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function yo({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:d=-35,displayMin:c=-5,displayMax:p=25,className:m,ariaLabel:C}){const g=o.useRef(null),v=o.useRef(null),b=o.useRef(null),y=o.useRef(null),[w,h]=o.useState(null);o.useEffect(()=>{const x=L=>{const O=bo(L,d,c,p);b.current&&(b.current.textContent=O);const Z=g.current;Z&&(Z.setAttribute("aria-valuenow",String(go(L,d,c,p))),Z.setAttribute("aria-valuetext",O))},N=e??sC(n)??(w&&w.el===n?w.node:null),k=v.current;if(!N||!k){k?.style.setProperty("--meter-level","0"),x(u);let L=!1;return!e&&n&&Ha(n).then(O=>{!L&&O&&h({el:n,node:O})}),()=>{L=!0}}Lr();const B=new Float32Array(N.fftSize);let E=0,S=0,z=0,R=0,q=null;const j=L=>{const O=iC(N,B);E=O>E?O:E*my;const Z=E>1e-5?20*Math.log10(E):-1/0,ee=Math.max(u,Z),W=ee-d,U=Math.min(1,Math.max(0,(W-c)/(p-c)));if(k.style.setProperty("--meter-level",U.toFixed(3)),S+=ee,z+=1,L-R>=hy){const P=S/z;q=q==null?P:q*.6+P*.4,x(q),S=0,z=0,R=L}y.current=requestAnimationFrame(j)};return y.current=requestAnimationFrame(j),()=>{y.current!=null&&cancelAnimationFrame(y.current),y.current=null}},[e,n,w,u,d,c,p]);const _=typeof r=="number"?`${r}px`:r,f=t.jsx("div",{className:"audio-meter__track",style:_?a==="vertical"?{height:_}:{width:_}:{},children:t.jsx("div",{ref:v,className:"audio-meter__fill"})}),A=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:g,className:Ne("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${A}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":C,"aria-valuemin":c,"aria-valuemax":p,"aria-valuenow":go(u,d,c,p),"aria-valuetext":bo(u,d,c,p),children:[f,s&&t.jsx("span",{ref:b,className:"audio-meter__value caption-2",children:bo(u,d,c,p)})]})}const nu=260;function au({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),d=o.useRef(l),c=o.useRef(s);o.useEffect(()=>{d.current=l},[l]),o.useEffect(()=>{c.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),C=o.useRef(r);o.useEffect(()=>{C.current=r});const g=a,v=o.useRef(null),b=o.useRef(0),y=o.useRef(0),w=o.useRef(!1),h=o.useRef(null),_=o.useRef(null),f=o.useRef(null),A=o.useRef(null),x=o.useRef(()=>{});x.current=B=>{B<0||(b.current=Date.now(),y.current=B,v.current=setTimeout(()=>{v.current=null,i(!1),h.current=setTimeout(()=>{u(!1);try{C.current()}catch{}},nu)},B))};const N=o.useCallback(()=>{w.current||!v.current||(w.current=!0,clearTimeout(v.current),v.current=null,y.current=Math.max(0,y.current-(Date.now()-b.current)))},[]),k=o.useCallback(()=>{w.current&&(w.current=!1,x.current(y.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(v.current&&(clearTimeout(v.current),v.current=null),h.current&&(clearTimeout(h.current),h.current=null)),e){if(c.current)return g>0&&!v.current&&(w.current?y.current=g:x.current(g)),m.current=e,()=>{v.current&&(clearTimeout(v.current),v.current=null),h.current&&(clearTimeout(h.current),h.current=null)};const B=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",n==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{A.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(B(),i(!0)):(u(!0),_.current=requestAnimationFrame(()=>{f.current=requestAnimationFrame(()=>{B(),i(!0)})})),g>0&&(w.current=!1,x.current(g))}else i(!1),h.current=setTimeout(()=>u(!1),nu);return m.current=e,()=>{v.current&&clearTimeout(v.current),h.current&&clearTimeout(h.current),_.current&&cancelAnimationFrame(_.current),f.current&&cancelAnimationFrame(f.current),A.current&&clearTimeout(A.current),v.current=null,h.current=null,_.current=null,f.current=null,A.current=null}},[e,g,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:k}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:d,resume:c}=au({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,C]=o.useState(!1);if(o.useEffect(()=>{l?C(!0):i||C(!1)},[l,i]),!i)return null;const g=a==="notice"||a==="warning"?a:"normal",v=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:b=>{p.current=b.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:c,onFocusCapture:d,onBlurCapture:c,children:t.jsx("div",{className:`toast__inner toast__inner--${g} body-2`,"aria-hidden":m||l?void 0:!0,children:e})});return typeof document<"u"?Xt.createPortal(v,document.body):v}const Cy=24;function fy({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:d="right",ariaLabel:c,className:p}){const m=Number.isFinite(n)&&n>0?n:1,C=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),g=C/m*100,v=Number.isFinite(n)&&n>0?n:0,b=u??(a>=Cy?"inside":"bottom"),y=b==="center"?"inside":b,w=y==="inside"&&(d==="left"?g>=15:d==="center"?g>=50:g>=85),h={};return r&&(h["--progress-bar-fill"]=r),s&&(h["--progress-bar-track"]=s),t.jsxs("div",{className:Ne("progress-bar",`progress-bar--${a}`,`progress-bar--label-${y}`,i&&`progress-bar--align-${d}`,i&&w&&"progress-bar--label-on-fill",p),style:h,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":v,"aria-valuetext":i?l?l(C):i==="percent"?void 0:i==="raw"?String(C):`${C} / ${v}`:void 0,"aria-label":c,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(C):i==="percent"?`${Math.round(g)}%`:i==="raw"?String(C):`${C} / ${v}`})]})}const ru={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},gy="rgba(255, 255, 255, 0.16)";function ou({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:d}=ye.useTranslation(),c=tn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,m=u??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),C={};if(a&&(C["--pi-inactive-bg"]=a),r&&(C["--pi-inactive-color"]=r),s&&(a||(C["--pi-inactive-bg"]=gy),r||(C["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:C,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:ru,children:m}),Array.from({length:e}).map((v,b)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${b<p?" done":b===p?" active":""}`},b))]});const g=l?t.jsx("span",{role:"status",style:ru,children:m}):null;return c?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:C,role:"list","aria-label":m,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),g]}):t.jsxs(t.Fragment,{children:[g,t.jsx("div",{className:"progress-indicator",style:C,role:"list","aria-label":m,children:Array.from({length:e}).map((v,b)=>t.jsx("span",{role:"listitem","aria-current":b===p?"step":void 0,className:`progress-indicator-dot ${b<p?" done":b===p?" active":""} body-3`,children:b+1},b))})]})}function by(e){if(!e)return[];const n=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(n.push(r),r="");continue}r+=s}return r&&n.push(r),n}function yy({children:e,className:n,style:a}){return t.jsx("div",{role:"cell",className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function vo({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,expandedContent:c,colSpan:p,describedBy:m}){const C=o.useCallback(g=>{s&&g.target===g.currentTarget&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--loading",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:t.jsx(Ma,{size:28})})})}):e==="empty"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--empty body-3",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:n})})}):t.jsxs("div",{role:"presentation",className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?C:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,role:"row",tabIndex:s?0:void 0,"aria-describedby":s?m:void 0,children:n}),c&&t.jsx("div",{role:"row",className:"table-row-expand",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row-expand__cell",children:c})})]})}function vy({dir:e}){return t.jsx(e==="asc"?vs:ys,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function xy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(vy,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:Ne("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[n?t.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&t.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:u=>u.stopPropagation(),"aria-hidden":"true"})]})}function xo({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:d,onRowDragEnd:c,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:C,resizable:g=!1,resizeMode:v="grow",resizeStorageKey:b,size:y="small",title:w,icon:h,count:_,collapsed:f=!1,onToggleCollapse:A,headerActions:x,empty:N,loading:k,dragOver:B=!1,onDragOver:E,onDragLeave:S,onDrop:z,renderExpandedRow:R,expandedId:q}){const{t:j}=ye.useTranslation(),L=o.useId(),O=`table-title-${L}`,Z=`table-row-hint-${L}`,ee=tn("(max-width: 767px)"),W=C&&ee?C:null,U=g&&!ee,P=48,F=o.useRef(()=>P),D=b?`table-cols:${b}`:null,H=o.useRef(null),M=o.useRef(null),I=o.useRef(null),$=o.useRef(null),[K,ne]=o.useState(!1),X=o.useCallback(()=>{const te=I.current;te&&ne(te.scrollWidth>te.clientWidth+1)},[]),ae=o.useCallback((te,ce)=>{const me=te.current;me&&M.current&&M.current.unobserve(me),te.current=ce,ce?(!M.current&&typeof ResizeObserver<"u"&&(M.current=new ResizeObserver(()=>X())),M.current?.observe(ce)):!I.current&&!$.current&&(M.current?.disconnect(),M.current=null),X()},[X]),ue=o.useCallback(te=>ae(I,te),[ae]),le=o.useCallback(te=>ae($,te),[ae]);o.useEffect(()=>{X()}),o.useEffect(()=>{if(typeof window>"u")return;const te=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>X()):null;return window.addEventListener("resize",X),()=>{te!=null&&cancelAnimationFrame(te),window.removeEventListener("resize",X)}},[X]);const be=o.useRef(()=>!1),V=o.useRef([]),Q=o.useRef(null),oe=te=>{if(!te||typeof window>"u")return null;try{const ce=JSON.parse(window.localStorage.getItem(te)??"null");return Array.isArray(ce)&&ce.length>0&&ce.every(me=>typeof me=="number"&&Number.isFinite(me)&&me>0)?ce:null}catch{return null}},[Be,Ce]=o.useState(()=>oe(D)),[se,ge]=o.useState(D);se!==D&&(ge(D),Ce(oe(D)));const fe=o.useRef(Be);o.useEffect(()=>{fe.current=Be},[Be]);const xe=o.useCallback(te=>{const ce=Q.current;if(!ce)return;const me=fe.current;if(me){const Se=[...me];if(ce.next!=null&&ce.startWNext!=null){const et=te.clientX-ce.startX,Ke=Math.max(F.current(ce.index)-ce.startW,Math.min(ce.startWNext-F.current(ce.next),et));Se[ce.index]=ce.startW+Ke,Se[ce.next]=ce.startWNext-Ke}else Se[ce.index]=Math.max(F.current(ce.index),ce.startW+(te.clientX-ce.startX));fe.current=Se,Ce(Se)}},[]),$e=o.useCallback(()=>{if(Q.current=null,window.removeEventListener("pointermove",xe),window.removeEventListener("pointerup",$e),window.removeEventListener("pointercancel",$e),document.body.style.cursor="",document.body.style.userSelect="",D&&fe.current)try{window.localStorage.setItem(D,JSON.stringify(fe.current))}catch{}},[xe,D]),Le=o.useCallback((te,ce)=>{ce.preventDefault(),ce.stopPropagation();const me=H.current;if(!me)return;const Se=Array.from(me.children).map(Ke=>Ke.getBoundingClientRect().width),et=v==="fit"?e.findIndex((Ke,bt)=>bt>te&&Ke.resizable!==!1):-1;Q.current=et>=0?{index:te,startX:ce.clientX,startW:Se[te],next:et,startWNext:Se[et]}:{index:te,startX:ce.clientX,startW:Se[te]},fe.current=Se,Ce(Se),window.addEventListener("pointermove",xe),window.addEventListener("pointerup",$e),window.addEventListener("pointercancel",$e),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[xe,$e,v,e]),Qe=o.useCallback(()=>{const te=H.current,ce=te?.closest(".table-wrap");if(!te||!ce)return;const me=ce.style.getPropertyValue("--table-grid-cols");ce.style.setProperty("--table-grid-cols",e.map((Ye,Re)=>be.current(Re)?V.current[Re]:"max-content").join(" "));const Se=Array.from(ce.querySelectorAll(".table-row")).filter(Ye=>!Ye.classList.contains("table-row--loading")&&!Ye.classList.contains("table-row--empty")),et=e.map((Ye,Re)=>{let We=te.children[Re]?.getBoundingClientRect().width??0;for(const ct of Se){const Bt=ct.children[Re];Bt&&(We=Math.max(We,Bt.getBoundingClientRect().width))}const Fe=be.current(Re)?parseFloat(V.current[Re]):NaN;return Number.isFinite(Fe)?Fe:Math.max(F.current(Re),Math.ceil(We))}),Ke=window.getComputedStyle(te),bt=te.clientWidth-(parseFloat(Ke.paddingLeft)||0)-(parseFloat(Ke.paddingRight)||0);me?ce.style.setProperty("--table-grid-cols",me):ce.style.removeProperty("--table-grid-cols");let ut=et;const it=et.reduce((Ye,Re,We)=>Ye+(be.current(We)?Re:0),0),tt=et.reduce((Ye,Re,We)=>Ye+(be.current(We)?0:Re),0),Ge=bt-it;if(bt>0&&tt>0&&Ge>0){const Ye=Ge/tt;ut=et.map((We,Fe)=>be.current(Fe)?We:Math.max(F.current(Fe),Math.round(We*Ye)));const Re=Math.round(Ge-ut.reduce((We,Fe,ct)=>We+(be.current(ct)?0:Fe),0));if(Re!==0){let We=-1;ut.forEach((Fe,ct)=>{!be.current(ct)&&(We<0||Fe>ut[We])&&(We=ct)}),We>=0&&(ut[We]=Math.max(F.current(We),ut[We]+Re))}}if(Ce(ut),D)try{window.localStorage.setItem(D,JSON.stringify(ut))}catch{}},[e,v,D]);o.useEffect(()=>()=>{Q.current&&(window.removeEventListener("pointermove",xe),window.removeEventListener("pointerup",$e),window.removeEventListener("pointercancel",$e),document.body.style.cursor="",document.body.style.userSelect="")},[xe,$e]);const Ue=by(m),ze=Ue.filter(te=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(te));ze.length>0&&an(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${ze.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${m})`);const Ie=e.findIndex(te=>!!te.sortDir);e.filter(te=>!!te.sortDir).length>1&&an("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const st=te=>te===Ie?e[te].sortDir==="asc"?"ascending":"descending":e[te].onClick?"none":void 0,Xe=te=>/^\d+(\.\d+)?px$/.test(Ue[te]??""),Je=te=>{const ce=Ue[te]??"",me=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(ce)??/^(\d+(?:\.\d+)?)px$/.exec(ce);return me?parseFloat(me[1]):P};be.current=Xe,F.current=Je,V.current=Ue;const Ee=te=>v==="fit"&&!Xe(te)?"fr":"px",ke=Be&&Be.length===e.length&&!ee&&(v==="fit"||a.length>0),Me=W??(ke?e.map((te,ce)=>te.resizable===!1&&Ue[ce]?Ue[ce]:`${Be[ce]}${Ee(ce)}`).join(" "):m),Ve=Me?{"--table-grid-cols":Me}:void 0,lt=w!==void 0;return t.jsxs("div",{ref:ue,className:`table-wrap table-wrap--${y}${U?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${f?" table-wrap--collapsed":""}`,style:Ve,onDragOver:E,onDragLeave:S,onDrop:z,tabIndex:K?0:void 0,role:K?"region":void 0,"aria-label":K?typeof w=="string"?w:j("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:[!!s&&t.jsx("span",{id:Z,className:"table-row-hint",children:j("table.rowActionHint","\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4")}),t.jsxs("div",{ref:le,role:"table","aria-labelledby":lt&&typeof w=="string"?O:void 0,className:"table body-2",children:[lt&&t.jsxs("div",{className:Ne("table-header",A&&"table-header--clickable"),onClick:A,role:"caption",children:[A&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:f?"chevron-right":"chevron-down",ariaLabel:f?j("common.expand","\uD3BC\uCE58\uAE30"):j("common.collapse","\uC811\uAE30"),ariaExpanded:!f,className:"table-header__chevron"}),h&&t.jsx(Ze,{icon:h,label:typeof w=="string"?w:void 0,className:"table-header__icon"}),t.jsx("span",{id:O,className:"table-header__title h5b",children:w}),_!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:_}),x&&t.jsx("span",{className:"table-header__actions",onClick:te=>te.stopPropagation(),children:x})]}),!f&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{role:"row",className:"table-fields table-fields--groups",children:n.map((te,ce)=>t.jsx("div",{role:"columnheader","aria-colspan":te.span,className:Ne("table-field body-3",te.className),style:{gridColumn:`span ${te.span}`},children:te.label},ce))}),t.jsxs("div",{role:"presentation",className:Ne("table-fields-strip",U&&"table-fields-strip--resizable"),children:[t.jsx("div",{role:"row",className:"table-fields",ref:H,children:e.map((te,ce)=>t.jsx(xy,{onClick:te.onClick,className:te.className,sortDir:te.sortDir,ariaSort:st(ce),onResizeStart:U&&ce<e.length-1&&te.resizable!==!1&&(v!=="fit"||e.some((me,Se)=>Se>ce&&me.resizable!==!1))?me=>Le(ce,me):void 0,children:te.label},ce))}),U&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Qe})]}),t.jsx("div",{role:"rowgroup",className:"table-body",children:k?t.jsx(vo,{variant:"loading",colSpan:e.length||void 0}):a.length===0&&N?t.jsx(vo,{variant:"empty",colSpan:e.length||void 0,children:N}):a.map((te,ce)=>{const me=p!=null&&te.id===p,Se=!!s&&(i?i(te):!0),et=q!=null&&te.id!=null&&(q instanceof Set?q.has(te.id)||[...q].some(Ke=>String(Ke)===String(te.id)):String(te.id)===String(q));return t.jsx(vo,{className:`${Se?" table-row--clickable":""}${d?" table-row--draggable":""}${me?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:Se?()=>s(te):void 0,colSpan:e.length||void 0,describedBy:Z,onMouseEnter:l?Ke=>l(te,Ke):void 0,onMouseLeave:u?Ke=>u(te,Ke):void 0,onDragStart:d?Ke=>d(te,Ke):void 0,onDragEnd:c?Ke=>c(te,Ke):void 0,expandedContent:et&&R?R(te):void 0,children:r(te).map((Ke,bt)=>t.jsx(yy,{className:Ke.className,style:Ke.style,children:Ke.content},bt))},te.id!=null?`${typeof te.id}:${te.id}`:`__idx:${ce}`)})})]})]})]})}function su(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const oa=e=>e==null?"":String(e).trim();function _o(e,n,a){const r=[oa(e),oa(n),oa(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function _y(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const wy={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function Ay(e,n){const a=wy[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function iu(e,n){return n!=="wornAt"?String(e[n]??""):_y(e.wornYear,e.wornMonth,e.wornDay)}function By({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=ye.useTranslation(),d=b=>b==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:c,\uCE78:p}=nb(),m=o.useMemo(()=>{if(!c)return e;const{key:b,asc:y}=c;return[...e].sort((w,h)=>{if(b==="worn"){const _=Number(h.worn)-Number(w.worn);return y?_:-_}return eo(iu(w,b),iu(h,b),y)})},[e,c]),{pageRows:C,pageSizeProps:g,paginationProps:v}=tb(m,c);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(po,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:g,pagination:v,actions:l&&t.jsx(pe,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(xo,{loading:n,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(u("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(u("device.direction.label","\uBC29\uD5A5"),"side"),p(u("device.deviceType","\uC885\uB958"),"device"),p(u("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(u("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(u("device.productName","\uC81C\uD488\uBA85"),"productName"),p(u("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...r?[{label:"",resizable:!1}]:[]],items:C.map((b,y)=>({id:b.id??`${b.side}-${y}`,row:b})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:b})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:y=>y.stopPropagation(),children:t.jsx(Vl,{checked:b.worn,disabled:b.worn?!i:!s,ariaLabel:b.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:y=>{y?s?.(b):i?.(b)}})})},{content:t.jsx("span",{children:d(b.side)})},{content:b.device?t.jsx(xt,{size:"small",variant:su(b.device),fill:"soft",label:Ay(b.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:b.brand})},{content:t.jsx("span",{children:b.fitType||"-"})},{content:t.jsx("span",{children:b.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:_o(b.wornYear,b.wornMonth,b.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(pe,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:y=>{y?.stopPropagation(),r(b)}})})}]:[]],onRowClick:({row:b})=>a(b),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function lu(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function ky(e,n){return new Date(e,n+1,0).getDate()}function Ny(e,n){return new Date(e,n,1).getDay()}function Dy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i,i18n:l}=ye.useTranslation(),u=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),d=Or(s),[c,p]=o.useState(()=>Number(d.slice(0,4))),[m,C]=o.useState(()=>Number(d.slice(5,7))-1),[g,v]=o.useState(null),b=o.useRef(null),y=o.useMemo(()=>{const x={};return e.forEach(N=>{x[N.date]||(x[N.date]=[]),x[N.date].push(N)}),x},[e]),w=o.useMemo(()=>{const x=ky(c,m),N=Ny(c,m),k=[];for(let B=0;B<N;B++)k.push(null);for(let B=1;B<=x;B++)k.push(B);for(;k.length<35;)k.push(null);return k},[c,m]),h=o.useCallback(()=>{m===0?(p(x=>x-1),C(11)):C(x=>x-1)},[m]),_=o.useCallback(()=>{m===11?(p(x=>x+1),C(0)):C(x=>x+1)},[m]),f=x=>`${c}-${String(m+1).padStart(2,"0")}-${String(x).padStart(2,"0")}`,A=x=>f(x)===d;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:h,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ze,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:c,month:m+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:_,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ze,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[u.map(x=>t.jsx("div",{className:"calendar-day-header body-3",children:x},x)),w.map((x,N)=>{if(x===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${N}`);const k=x,B=f(k),E=y[B]??[],S=IC(B,l.language),z=g===B;return t.jsxs("div",{className:`calendar-cell${A(k)?" today":""}${z?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:B}):void 0,"aria-current":A(k)?"date":void 0,onClick:r?()=>r(B):void 0,onKeyDown:r?R=>{R.target===R.currentTarget&&(R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),r(B)))}:void 0,onDragOver:a?R=>{R.preventDefault(),v(B)}:void 0,onDragLeave:a?R=>{R.currentTarget.contains(R.relatedTarget)||v(null)}:void 0,onDrop:a?R=>{R.preventDefault(),b.current!=null&&(a(b.current,B),b.current=null),v(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:k}),E.length>0&&t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":`${S} ${i("calendar.visitCount",{count:E.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"})}`,children:[t.jsx("span",{className:"calendar-cell__visit-dot","aria-hidden":"true"}),E.length]}),t.jsx("div",{className:"calendar-cell__badges",children:E.map((R,q)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${R.status==="noVisit"?" calendar-visit-badge--no-visit":R.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?j=>{b.current=R.id,j.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{b.current=null,v(null)}:void 0,onClick:n?j=>{j.stopPropagation(),n(R)}:void 0,...lu(n?()=>n(R):void 0),"aria-label":[S,R.time?pi(R.time,i):null,R.customer,i(R.status==="noVisit"?"calendar.legend.noVisit":R.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[R.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:pi(R.time,i)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:R.customer}),R.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},R.id??q))})]},k)})]})]})}const Ey={page:"h3",pagePopup:"h4",popup:"h5"};function sa({type:e="page",title:n,headingLevel:a,icon:r,action:s,disc:i,children:l,inGrid:u=!1,className:d,style:c}){const p=Ey[e],m=n||i||s||r,C=a?`h${a}`:"div";return t.jsxs("div",{className:Ne("section",`section--${e}`,u&&"section--in-grid",d),style:c,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ze,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(C,{className:`section__title ${p}`,children:n}),i&&t.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&t.jsx("div",{className:"section__action",children:s})]}),l]})}let wo=null,uu=!1;function cu(){if(uu||typeof document>"u")return;uu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(wo="keyboard")},!0);const e=()=>{wo="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}cu();function ar(){return cu(),wo==="keyboard"}const rr=20;function Sy(e){const{t:n}=ye.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:d,size:c,useDescriptionTooltip:p,onRemove:m,onMore:C,sectionType:g="page"}=e||{},[,v]=o.useState(0),b=typeof r<"u"?Array.isArray(r)?r:[]:[],y=b.length,[w,h]=o.useState(Math.min(y,rr)),_=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{h(Math.min(y,rr))},[y]),nl("speechear.data.updated",()=>v(N=>N+1));const f=o.useRef(null),A=o.useRef(null);function x(){const N=document.activeElement;A.current=ar()&&N&&N.closest?.(".training-block__more")?w:null,h(k=>Math.min(y,k+rr))}return o.useEffect(()=>{const N=A.current;if(N==null)return;A.current=null;const k=document.activeElement;k&&k!==document.body||f.current?.querySelectorAll(".training-block-button")[N]?.focus()},[w]),t.jsxs(sa,{type:g,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",ref:f,children:(b||[]).slice(0,w).map((N,k)=>{const B=N;return t.jsx(lo,{index:k,type:a,trainingData:B,depth:_,renderPopup:i,completedIds:l,selectedIds:u,size:c,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof d=="function"&&B?.id!=null?()=>d(String(B.id)):void 0,onMore:typeof C=="function"?E=>C(B,E):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${k}`)})}),y>rr&&w<y&&t.jsx("div",{className:"training-block__more",children:t.jsx(pe,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:x,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function Ao(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=o.useCallback(()=>r(!1),[]),u=o.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:n,loading:a,failed:s,hasImage:!!e&&!s,onLoad:l,onError:u}}var jy='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Ty=jy,Bo=o.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:s=!1,onSelect:i,flipDelay:l=0,hideLabel:u=!1,hideAudio:d=!1,orderRank:c=null},p){const{t:m}=ye.useTranslation(),C=e.word||e.title||"",g=n||!C,v=e.audio??e.sound??e.audioKey,b=e.subLabel||e.pronunciation||"",y=e.colloquialLabel||"",[w,h]=o.useState({label:C,subLabel:b,colloquialLabel:y,homonum:e.homonum});C&&(w.label!==C||w.subLabel!==b||w.colloquialLabel!==y||!Object.is(w.homonum,e.homonum))&&h({label:C,subLabel:b,colloquialLabel:y,homonum:e.homonum});const _=o.useRef(null),f=tn("(max-width: 767px)"),[A,x]=o.useState(!1),N=`${typeof v=="string"?v:v?.src??""}\0${C}`,[k,B]=o.useState({for:"",url:""}),E=k.for===N?k.url:"",S=oi(),z=e.textOnly??(!e.image&&!!w.label&&!!S&&S.entries.length>0&&!S.byWord.has(w.label)),R=z?"":Xn()?.(w.label,w.homonum)??e.image??"",{imgRef:q,loading:j,hasImage:L,onLoad:O,onError:Z}=Ao(R);o.useEffect(()=>{let I=!1;return(async()=>{if(v){if(typeof v=="string"){if(v.startsWith("http")||v.includes("/")){B({for:N,url:v});return}}else if(typeof v=="object"&&!Array.isArray(v)){const K=v.src;if(K){B({for:N,url:K});return}}}const $=jr();if($&&C)try{const K=await Promise.resolve($(C));!I&&K&&B({for:N,url:K})}catch{}})(),()=>{I=!0}},[v,C,N]);const ee=o.useRef(!0),W=o.useRef(null);o.useEffect(()=>(ee.current=!0,()=>{ee.current=!1,W.current&&Qa(W.current),W.current=null;try{_.current?.pause()}catch{}_.current=null}),[]);const U=o.useCallback(()=>new Promise(I=>{if(typeof window<"u"&&window.speechSynthesis&&C){x(!0),window.speechSynthesis.cancel();const $=new SpeechSynthesisUtterance(C);$.lang="ko-KR",$.onend=()=>{x(!1);try{a?.()}catch{}I()},$.onerror=()=>{x(!1),I()},window.speechSynthesis.speak($)}else I()}),[C,a]),P=o.useCallback(I=>new Promise($=>{let K=!1;const ne=()=>{K||(K=!0,x(!1),$(!1))};try{const X=new Audio(I);_.current=X,X.onended=()=>{if(!K){K=!0,x(!1);try{a?.()}catch{}$(!0)}},X.onerror=ne,X.play().catch(ne)}catch{ne()}}),[a]),F=o.useCallback(async()=>{if(n||!ee.current)return;const I=()=>{W.current===I&&(W.current=null);try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)},$=Ja(I);W.current=I;try{window.speechSynthesis?.cancel()}catch{}try{if(E&&(x(!0),await P(E)))return;const K=nC();if(K&&C)try{const ne=await Promise.resolve(K(C));if(!ee.current||W.current!==I||ne&&(x(!0),await P(ne)))return}catch{}if(!ee.current||W.current!==I)return;await U()}finally{$(),W.current===I&&(W.current=null)}},[n,E,C,P,U]);o.useImperativeHandle(p,()=>({play:()=>F()}),[F]);const D=I=>I.stopPropagation(),H=o.useCallback(I=>{if(I.stopPropagation(),!n){if(A){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}F()}},[n,A,F]),M=Ne("training-word-card",n?"training-word-card--disabled":"",g?"training-word-card--flipped":"",r?"training-word-card--selectable":"",s?"training-word-card--selected":"");return t.jsx("div",{className:M,onClick:r&&!n?i:void 0,role:r?"button":void 0,"aria-pressed":r?s:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?I=>{I.target===I.currentTarget&&(I.key==="Enter"||I.key===" "||I.key==="Spacebar")&&(I.preventDefault(),i?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:g?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[s&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:D,children:t.jsx(xt,{type:"dot",size:40,position:"inline",animate:!0,icon:c!=null?void 0:"check",number:c??void 0,"aria-label":c!=null?m("training.nthSelected",{n:c}):m("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:z?t.jsx("div",{className:"training-word-card__text-face",children:w.label}):L?t.jsxs(t.Fragment,{children:[j&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:q,className:"training-word-card__image",src:R,alt:w.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:j?0:1},onLoad:O,onError:Z})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!u&&t.jsxs("div",{className:"training-word-card__body",children:[!z&&t.jsx("div",{className:"training-word-card__word",children:w.label}),w.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",w.subLabel,"]"]}),w.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",w.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?D:void 0,children:t.jsx(pe,{htmlType:"button",size:f?40:48,type:f?"dot":"bar",icon:A?"pause":"play",label:f?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:A,onClick:H,disabled:n,ariaLabel:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:Ty,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),My=260;function Tn(e){const{t:n}=ye.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:d,footerStart:c,footerEnd:p,footerClassName:m="",footerLayout:C="center",onClose:g,closeDisabled:v=!1,beforeClose:b,closeOnBackdrop:y=!0,className:w="",ariaLabel:h,useTitle:_=!0,inline:f=!1,size:A,layer:x="modal",height:N,fillBody:k=!1,resetScrollKey:B}=e||{},[E,S]=o.useState(!1),z=o.useRef(!1),R=o.useRef(null),q=o.useId(),j=o.useRef(null);o.useEffect(()=>{},[f,a,h,w]),o.useEffect(()=>{B!==void 0&&j.current&&(j.current.scrollTop=0)},[B]);const[L,O]=o.useState(!1);o.useEffect(()=>{const X=j.current;if(!X)return;const ae=()=>O(X.scrollHeight>X.clientHeight+1);if(ae(),typeof ResizeObserver>"u")return;const ue=new ResizeObserver(ae);ue.observe(X);const le=X.firstElementChild;return le&&ue.observe(le),()=>ue.disconnect()},[l,B]),o.useEffect(()=>{if(!f)return Pl()},[f]),o.useEffect(()=>{if(f)return;const X=document.activeElement,ae=R.current;return qr(ae,X),ae&&!ae.contains(document.activeElement)&&(ae.querySelector(mn)??ae).focus(),()=>{const ue=document.activeElement;(!ue||ue===document.body||ae&&ae.contains(ue))&&Ur(X)?.focus?.()}},[f]),Vr(R,!f);const Z=o.useRef(!0),ee=Gr(),W=o.useRef(null);o.useEffect(()=>(Z.current=!0,()=>{Z.current=!1,W.current&&(clearTimeout(W.current),W.current=null)}),[]);const U=o.useCallback(()=>{!Z.current||!z.current||(z.current=!1,S(!1))},[]),P=o.useCallback((X,ae=!1)=>{if(ae&&!Z.current||z.current)return;z.current=!0,S(!0);const ue=setTimeout(()=>{W.current===ue&&(W.current=null);let le;try{le=X?X():void 0}catch{U();return}le&&typeof le.then=="function"&&le.then(()=>{setTimeout(U,120)},U)},ee?0:My);ae&&(W.current=ue)},[U,ee]),F=o.useCallback(()=>{v||b&&b()===!1||P(g,!0)},[P,g,v,b]),D=o.useRef(F);o.useEffect(()=>{D.current=F});const H=!f&&!!g;o.useEffect(()=>{if(H)return zn(()=>D.current())},[H]);const M=H&&y,I=o.useRef(!1),$=X=>{I.current=X.target===X.currentTarget},K=X=>{const ae=I.current;I.current=!1,ae&&X.target===X.currentTarget&&F()},ne=t.jsx("div",{className:`popup ${f?"popup--inline":""} ${x==="belowPagePopup"?"popup--below-page-popup":""} ${E?"popup--closing":""} ${w}`,onPointerDown:M?$:void 0,onClick:M?K:void 0,onMouseDown:f?void 0:X=>{X.target===X.currentTarget&&X.preventDefault()},children:t.jsxs("div",{ref:R,className:`popup-panel${A?` popup-panel--${A}`:""}${N!=null?" popup-panel--has-height":""}${k?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:f?void 0:"dialog","aria-modal":f?void 0:!0,"aria-labelledby":!f&&_&&a?q:void 0,"aria-label":!f&&!(_&&a)?h??(typeof a=="string"?a:void 0):void 0,children:[!_&&(s||g)?t.jsxs("div",{className:"popup-close-float",children:[s,g&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:F,disabled:v,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||s||g?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[a?t.jsx("h2",{id:q,className:"popup-title popup-title--left h2",children:a}):t.jsx("span",{id:q,className:"popup-title popup-title--left h2"}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),i&&t.jsx("div",{className:"popup-header-segment",children:t.jsx(An,{size:40,ariaLabel:i.ariaLabel,options:i.options.map(X=>({key:X.key,label:X.label,disabled:X.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,g&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:F,disabled:v,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:j,tabIndex:L?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:P,closeWithAnimation:F}):l})}),c||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof c=="function"?c({animateThen:P,closeWithAnimation:F}):c}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:P,closeWithAnimation:F}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${C!=="center"?` popup-footer--${C}`:""}`,children:u.map((X,ae)=>t.jsx(pe,{htmlType:"button",size:48,variant:X.variant??"default",label:X.label,disabled:X.disabled,onClick:()=>X.onClick?.({animateThen:P,closeWithAnimation:F})},ae))}):d?t.jsx("div",{className:`popup-footer${C!=="center"?` popup-footer--${C}`:""}${m?` ${m}`:""}`,children:typeof d=="function"?d({animateThen:P,closeWithAnimation:F}):d}):null]})});return f||typeof document>"u"?ne:Xt.createPortal(ne,document.body)}function or(e){return String(e)}const sr=["o","triangle","x"];function du(e,n){return e===n?null:n}const pu={o:"circle",triangle:"triangle",x:"x"},mu={o:"main",triangle:"warn",x:"danger"};function Ly(e){let n=0,a=0,r=0;for(const i of Object.values(e))i==="o"?n++:i==="triangle"?a++:i==="x"&&r++;const s=n+a+r;return{marked:s,o:n,triangle:a,x:r,rate:s===0?null:(n+a*.5)/s}}function ko(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function hu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function $y(e,n){return!n&&e>0}const ia={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function Ry(e="landscape"){an("print-word-table-deprecated","[printWordTable] @deprecated \u2014 WordTablePopup renderButtons \uC758 print(\uB610\uB294 useWordTablePrint().print)\uB97C \uC4F0\uC138\uC694. \uC804\uC5ED \uC778\uC1C4\uB294 \uD654\uBA74\uC758 \uBAA8\uB4E0 \uB2E8\uC5B4\uD45C\uB97C \uD568\uAED8 \uCC0D\uC2B5\uB2C8\uB2E4.");const{printSize:n,printW:a,printH:r}=ia[e],s=document.createElement("style");s.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(s);const i=()=>{document.head.removeChild(s),window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),window.print()}function Cu(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let s=0;s<e.length;s+=a)r.push(e.slice(s,s+a));return r}const Py={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function Iy(e,n){const a=Py[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),s=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let i,l;return e==="landscape"?(l=s,i=Math.ceil(r/l)):(i=s,l=Math.ceil(r/i)),(e==="landscape"?i<l:l<i)&&([i,l]=[l,i]),{cols:i,rows:l}}const Fy={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},fu={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},gu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function No(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function bu(e,n,a,r){if(r!=="\uC810\uC120")return{};const s=e%n,i=Math.floor(e/n),l=s<n-1,u=i<a-1;if(!l&&!u)return{};const d="#ddd",c=g=>`repeating-linear-gradient(to ${g}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,p=[],m=[],C=[];return l&&(p.push(c("bottom")),m.push("1px 100%"),C.push("right center")),u&&(p.push(c("right")),m.push("100% 1px"),C.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:C.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const Oy=280,Hy=240,zy=280,Vy=400,Wy=120,qy=280;function yu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((d,c)=>{if(!(d>0))return;const p=d/e,m=n&&c>0?c/n:1/0,C=Math.min(1,p,m);s(C),l(Math.max(0,(d-e*C)/2))},[e,n]);return o.useEffect(()=>{const d=a.current;if(!d)return;const c=n?d.parentElement??d:d;if(u(c.clientWidth,c.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(c),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Uy={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},Gy=400,vu=8;function xu({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:d=40,wordInfo:c}){const{t:p}=ye.useTranslation(),m=o.useRef(null),C=o.useRef(null),g=o.useRef(null),[v,b]=o.useState(1),[y,w]=o.useState(!1),[h,_]=o.useState({for:"",url:""}),[f,A]=o.useState(null),x=n&&n.length>0?n:rC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:k,loading:B,failed:E,onLoad:S,onError:z}=Ao(N),R=o.useCallback(()=>A(C.current?.getBoundingClientRect()??null),[]),q=o.useCallback(()=>A(null),[]),j=Yr(!!f,H=>{H?R():q()},C),L=o.useMemo(()=>{if(!c)return null;const H=[];return c.grade&&H.push(p("wordTable.info.grade",{n:c.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),c.syllables&&H.push(p("wordTable.info.syllables",{n:c.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),c.pos&&H.push(p("wordTable.info.pos",{v:No(c.pos,Ky(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),c.wordType&&H.push(p("wordTable.info.wordType",{v:No(c.wordType,Yy(p)),defaultValue:"\uC720\uD615: {{v}}"})),H.length?H:null},[c,p]),O=x||e,Z=h.for===O?h.url:"";o.useEffect(()=>{const H=jr(),M=x||e;if(!H||!M)return;let I=!1;return Promise.resolve(H(M)).then($=>{!I&&$&&_({for:M,url:$})}),()=>{I=!0}},[x,e]);const ee=o.useRef(null),W=o.useRef(null);o.useEffect(()=>()=>{g.current?.pause(),W.current?.()},[]);const U=o.useCallback(async H=>{if(H.stopPropagation(),y){ee.current?.();return}if(Z){w(!0);try{const M=new Audio(Z);g.current=M;const I=()=>{w(!1),W.current?.()},$=()=>{M.pause(),I()};ee.current=$;const K=Ja($);W.current=K,M.onended=I,M.onerror=I,await M.play()}catch{w(!1),W.current?.()}}},[y,Z]),P=i&&!!N&&!E,F=P&&s?Oy:P?zy:Hy,D=P&&s?Vy:P?qy:Wy;return o.useEffect(()=>{const H=m.current;if(!H||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([I])=>{const{width:$,height:K}=I.contentRect;b(Math.min($/F,K/D))});return M.observe(H),()=>M.disconnect()},[F,D]),t.jsxs("div",{ref:m,className:Ne("word-table-cell",P?"word-table-cell--with-image":""),"data-ref-w":F,"data-ref-h":D,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${v})`},children:[P&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:k,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:S,onError:z})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),u&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":Z,children:[t.jsx("span",{"data-play-state":"play",style:{display:y?"none":void 0},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),ariaLabel:e?p("common.playFor",{name:e,defaultValue:`${e} \uC7AC\uC0DD`}):p("common.play","\uC7AC\uC0DD"),onClick:U})}),t.jsx("span",{"data-play-state":"pause",style:{display:y?void 0:"none"},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),ariaLabel:e?p("common.pauseFor",{name:e,defaultValue:`${e} \uBA48\uCDA4`}):p("common.pause","\uBA48\uCDA4"),onClick:U})})]}),c&&t.jsxs("div",{ref:C,className:"word-table-cell__info-button",onPointerEnter:H=>{ta(H)||R()},onPointerLeave:H=>{ta(H)||q()},onFocus:()=>{na()||R()},onBlur:q,children:[t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:H=>{H.stopPropagation(),j.touchPress()}}),f&&L&&t.jsx(Vn,{anchorRect:f,items:L,showIndex:!1})]})]})}const _u={\uBA85:"noun",\uB3D9:"verb",\uD615:"adjective",\uBD80:"adverb",\uC218:"numeral",\uAD00:"determiner",\uAC10:"interjection",\uC870:"particle",\uC811:"affix",\uC758:"dependentNoun",\uB300:"pronoun",\uBCF4\uB3D9:"auxVerb",\uBCF4\uD615:"auxAdjective"},wu={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Ky(e){return Object.fromEntries(Object.entries(fu).map(([n,a])=>[n,_u[n]?e(`wordTable.pos.${_u[n]}`,{defaultValue:a}):a]))}function Yy(e){return Object.fromEntries(Object.entries(gu).map(([n,a])=>[n,wu[n]?e(`wordSearch.filter.type.${wu[n]}`,{defaultValue:a}):a]))}function la({title:e,titleIcon:n,disc:a,className:r,orientation:s="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:u=!0,showDivLine:d=!0,items:c,editCells:p,count:m,activeCell:C=null,onActivateCell:g,onRemoveCell:v,onRemoveItem:b,onReorder:y,renderCellAction:w,showFillerAdd:h=!1,contentRef:_,buttonSize:f=40,brand:A,code:x,pageNumber:N,pageNumberPosition:k="right",fitHeight:B=!1,scoring:E=!1,marks:S,onMarkClick:z,scoreIndexOffset:R=0}){const q=o.useCallback((te,ce)=>{z?.(R+te,ce)},[z,R]),j=(te,ce)=>{const me=S?.[or(R+te)]??null;return t.jsx("div",{className:Ne("word-table-cell__score",me?"word-table-cell__score--marked":""),style:Me>1?{transform:`translateX(-50%) scale(${Me})`,transformOrigin:"bottom center"}:void 0,children:sr.map(Se=>t.jsx("span",{className:Ne("word-table-cell__score-slot",me===Se?"word-table-cell__score-slot--on":""),children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",shape:"pill",icon:pu[Se],variant:me===Se?mu[Se]:"default",selected:me===Se,useBorder:!1,...ke?{}:{tabIndex:-1,role:"img"},showTooltipInfo:L(`wordTable.scoring.markName.${Se}`,{defaultValue:Se}),ariaLabel:L(`wordTable.scoring.${Se}`,{word:ce,defaultValue:`${ce} ${Se}`}),onClick:ke?et=>{et.stopPropagation(),q(te,Se)}:void 0})},Se))})},{t:L}=ye.useTranslation(),O=p!==void 0,Z=e!=null||!!n||!!a,ee=tn("(max-width: 767px)"),W=o.useRef(null),[U,P]=o.useState(null),F=c?.length??0,[D,H]=o.useState(null),[M,I]=o.useState(""),$=o.useRef(null),K=o.useRef(null),ne=o.useRef(null),X=o.useRef(null),ae=o.useCallback(te=>{K.current=te,typeof _=="function"?_(te):_&&(_.current=te)},[_]),ue=o.useCallback((te,ce)=>{$.current=ce,y?.(te,ce),I(L("wordTable.reorder.moved",{n:ce+1,total:F,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[y,L,F]);o.useEffect(()=>{const te=$.current;te!=null&&($.current=null,K.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[te]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{X.current?.()},[]);const le=o.useCallback((te,ce)=>{if(!y||!te.altKey||te.ctrlKey||te.metaKey)return;const me=te.key==="ArrowRight";if(!me&&te.key!=="ArrowLeft")return;te.preventDefault();const Se=ce+(me?1:-1);Se<0||Se>=F||ue(ce,Se)},[y,F,ue]),be=o.useCallback((te,ce)=>{if(!y||te.pointerType==="mouse")return;const me=te.target.closest?.("button");if(me&&!me.closest(".word-table-block__card-handle"))return;X.current?.();const Se={x:te.clientX,y:te.clientY};let et=!1;const Ke=Ge=>{et&&Ge.cancelable&&Ge.preventDefault()},bt=Ge=>{if(!et){(Math.abs(Ge.clientX-Se.x)>vu||Math.abs(Ge.clientY-Se.y)>vu)&&tt();return}const Ye=document.elementFromPoint?.(Ge.clientX,Ge.clientY)?.closest?.("[data-wordtable-cell]"),Re=Ye?Number(Ye.dataset.wordtableCell):NaN,We=Number.isInteger(Re)?Re:null;ne.current=We,P(We)},ut=()=>{const Ge=ne.current,Ye=et;tt(),Ye&&Ge!=null&&Ge!==ce&&ue(ce,Ge)},it=setTimeout(()=>{et=!0,H(ce),ne.current=ce,P(ce),window.addEventListener("touchmove",Ke,{passive:!1})},Gy);function tt(){clearTimeout(it),window.removeEventListener("pointermove",bt),window.removeEventListener("pointerup",ut),window.removeEventListener("pointercancel",ut),window.removeEventListener("touchmove",Ke),et=!1,ne.current=null,X.current=null,H(null),P(null)}X.current=tt,window.addEventListener("pointermove",bt),window.addEventListener("pointerup",ut),window.addEventListener("pointercancel",ut)},[y,ue]),{width:V,height:Q}=ia[s],oe=typeof B=="number"?B:B&&typeof B=="object"?ee?B.narrow:B.wide:null,{scalerRef:Be,scale:Ce,offset:se}=yu(V,B?Q:void 0),ge=O?p?.length??0:c?.length??0,fe=Math.max(m??ge,1),{cols:xe,rows:$e}=Iy(s,fe),Le={word:i.length===0||i.includes("\uB2E8\uC5B4"),image:i.length===0||i.includes("\uC774\uBBF8\uC9C0"),pron:i.length===0||i.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:i.length===0||i.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},Qe=O?(p??[]).some(te=>te!==null&&te.length>1):(c??[]).some(te=>(te.words??[]).length>1),Ue=!!A?.show,ze=!!A?.show&&A?.top!==!1,Ie=!!A?.show&&A?.bottom!==!1,st=A?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Xe=Ne("word-table-block__content",Fy[l],u&&"word-table-block__content--outline",d&&Qe&&"word-table-block__content--div-line",!Ue&&N&&k!=="none"&&"word-table-block__content--page-number",ze&&"word-table-block__content--brand-top",Ie&&"word-table-block__content--brand-bottom"),Je={transform:`scale(${1/Ce})`,transformOrigin:"center center"},Ee=f*sr.length+4*(sr.length-1),ke=!!z,Me=ke?Math.max(1,Math.min(1/Ce,V/xe/Ee)):1,Ve=t.jsxs("div",{ref:Be,className:"word-table__scaler",style:{height:Q*Ce},children:[t.jsx("div",{className:Ne("word-table",E&&!ke&&"word-table--score-readonly",!Z&&r),style:{width:V,height:Q,transform:`scale(${Ce})`,transformOrigin:"top left",marginLeft:se},children:t.jsxs("div",{ref:ae,className:Xe,style:{gridTemplateColumns:`repeat(${xe}, 1fr)`,gridTemplateRows:`repeat(${$e}, 1fr)`},children:[O?t.jsx(t.Fragment,{children:(p??[]).map((te,ce)=>t.jsx("div",{className:Ne("word-table-block__edit-cell",te?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",C===ce?"word-table-block__edit-cell--active":""),style:bu(ce,xe,$e,l),children:te?t.jsxs(t.Fragment,{children:[te.map((me,Se)=>t.jsxs(o.Fragment,{children:[Se>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(xu,{label:me.word,subLabel:me.pronunciation,colloquialLabel:me.colloquialPronunciation,homonum:me.homonum,showWord:Le.word,showImage:Le.image,showPronunciation:Le.pron,showColloquial:Le.colloq,buttonSize:f})]},Se)),E&&j(ce,te.map(me=>me.word).join(" / ")),v&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:te.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:te.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>v(ce)})})]}):g&&t.jsx("div",{style:Je,children:t.jsx(pe,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(ce)})})},ce))}):t.jsxs(t.Fragment,{children:[(c??[]).map((te,ce)=>t.jsxs("div",{"data-wordtable-cell":y?ce:void 0,className:`word-table-block__card${y?" word-table-block__card--draggable":""}${U===ce?" word-table-block__card--drag-over":""}${D===ce?" word-table-block__card--dragging":""}`,style:bu(ce,xe,$e,l),draggable:!!y,onPointerDown:y?me=>be(me,ce):void 0,onKeyDown:y?me=>le(me,ce):void 0,onDragStart:y?()=>{W.current=ce}:void 0,onDragOver:y?me=>{me.preventDefault(),P(ce)}:void 0,onDragLeave:y?()=>P(null):void 0,onDrop:y?me=>{me.preventDefault(),W.current!==null&&W.current!==ce&&y(W.current,ce),W.current=null,P(null)}:void 0,onDragEnd:y?()=>{W.current=null,P(null)}:void 0,children:[(te.words??[]).map((me,Se)=>t.jsxs(o.Fragment,{children:[Se>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(xu,{label:me.label,subLabel:me.subLabel,colloquialLabel:me.colloquialLabel,homonum:me.homonum,showWord:Le.word,showImage:Le.image,showPronunciation:Le.pron,showColloquial:Le.colloq,buttonSize:f,wordInfo:me.grade||me.syllables!=null||me.pos||me.wordType?{grade:me.grade,syllables:me.syllables,pos:me.pos,wordType:me.wordType}:void 0})]},Se)),E&&j(ce,(te.words??[]).map(me=>me.label).join(" / ")),y&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:L("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:L("wordTable.reorder.handle",{word:(te.words??[]).map(me=>me.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(w||b)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[w?.(ce,te),b&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(te.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(te.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>b(te.id)})})]})]},te.id)),Array.from({length:Math.max(0,xe*$e-(c?.length??0))}).map((te,ce)=>{const me=(c?.length??0)+ce<fe;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:h&&g&&me&&t.jsx("div",{style:Je,children:t.jsx(pe,{htmlType:"button",size:f,type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((c?.length??0)+ce)})})},`filler-${ce}`)})]}),ze&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--top",children:[t.jsx("img",{className:"word-table__brand-logo",src:A?.topLogo?.src??Xa,alt:A?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const te=[A?.title&&t.jsx("span",{className:"word-table__paper-title",children:A.title},"t"),A?.owner&&t.jsx("span",{className:"word-table__owner",children:A.owner},"o"),x&&t.jsx("span",{className:"word-table__code",children:x},"c")].filter(Boolean);return te.length===0?null:t.jsx("span",{className:"word-table__ident",children:te.map((ce,me)=>t.jsxs(o.Fragment,{children:[me>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),ce]},me))})})()]})}),Ie&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--bottom",children:[t.jsxs("span",{className:"word-table__brand-by",children:[A?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:A.bottomLogo.src,alt:A.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:st})]}),t.jsxs("span",{className:"word-table__band-end",children:[A?.link&&t.jsx("span",{className:"word-table__link",children:A.link}),N&&k!=="none"&&t.jsx("span",{className:"word-table__page-count",children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!Ue&&N&&k!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${k}`,children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),y&&t.jsx("span",{role:"status",style:Uy,children:M})]}),lt=oe==null?Ve:t.jsx("div",{className:"word-table__frame",style:{height:oe},children:Ve});return Z?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:Ne("word-table-block",r),children:lt}):lt}function Zy(e,n,a){const r=[];for(const s of e??[]){if(s.type==="note"||s.type==="input")continue;const i=s.displayLabel??s.label,l=Xy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Xy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==sn);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>Jy(e,s)).join(", ")}function Jy(e,n){const a=[...e.items??[],...(e.groups??[]).flat()];for(const r of a)if(r!=null){if(typeof r=="string"){if(r===n)return r;continue}if(r.value===n)return r.displayLabel??r.labels?.join(" ")??r.value}return n}function kn({title:e,titleLevel:n=2,headerAction:a,headerSummary:r,collapsible:s=!1,defaultCollapsed:i=!1,collapsed:l,onCollapsedChange:u,footer:d,sections:c,selected:p={},onSelect:m,align:C,sectionAlign:g,className:v}){const b=(C??(g==="vertical"?"newline":"inline"))==="inline",{t:y}=ye.useTranslation(),[w,h]=o.useState(i),_=l??w,f=()=>{const S=!_;h(S),u?.(S)},A=S=>{if(!s)return;const z=S.target;!z||typeof z.closest!="function"||z.closest(".filter-panel__collapse-toggle")||z.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||f()},x=o.useMemo(()=>r!==void 0||!_?"":Zy(c,p,y("common.all","\uC804\uCCB4")),[r,_,c,p,y]),N=r??(x?t.jsx("span",{className:"filter-panel__header-summary body-3",children:x}):null),k=e||a||r||s,B=o.useId(),E=n?`h${n}`:"span";return t.jsxs("div",{className:Ne("filter-panel",s?"filter-panel--collapsible":"",_?"filter-panel--collapsed":"",v),role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?B:void 0,children:[k&&t.jsxs("div",{className:"filter-panel__header",onClick:s?A:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx(E,{id:B,className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[_?N:a,s&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:_?y("common.expand","\uD3BC\uCE58\uAE30"):y("common.collapse","\uC811\uAE30"),"aria-expanded":!_,onClick:f})]})]}),!_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:Ne("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(S=>{const z=p[S.label],R=z===void 0||(Array.isArray(z)?z.length===0:!1),q=(S.items??[]).filter(L=>L!=null);S.allOption&&q.some(L=>(typeof L=="string"?L:L.value)===sn)&&an(`filter-panel-all-value:${S.label}`,`[FilterPanel] '${S.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${sn}' \uC778 \uBCF4\uAE30\uAC00 \uD568\uAED8 \uC788\uB2E4 \u2014 \uB450 \uC120\uD0DD\uC774 \uAD6C\uBCC4\uB418\uC9C0 \uC54A\uB294\uB2E4. \uBCF4\uAE30 \uAC12\uC744 \uBC14\uAFD4\uB77C.`);const j=L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"&&!!L.disabled,ee=typeof L!="string"?L.labels:void 0,W=typeof L!="string"?L.displayLabel:void 0,U=typeof L!="string"?L.tooltip:void 0,P=typeof L!="string"?L.descriptionTooltip:void 0,F=typeof L!="string"?L.shape:void 0,D=Array.isArray(z)?z.includes(O):z===O;return t.jsx(pe,{htmlType:"button",size:"keyboard",label:ee??W??O,type:S.itemType??(ee?"bar":O.length===1?"dot":void 0),selected:D,disabled:Z,shape:F,showTooltipInfo:!!U,tooltipInfoText:U,tooltipDescription:P,onClick:()=>m?.(O,S.label)},O)};return t.jsxs(o.Fragment,{children:[S.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:S.groupLabel}),S.groupAction]}),t.jsxs("div",{className:Ne("filter-panel__section",S.layout==="row"?"filter-panel__section--row":"",S.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:S.displayLabel??S.label}),S.labelAction??(S.labelInfo?t.jsx(Ea,{...S.labelInfo}):null)]}),S.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:S.content}):S.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:S.placeholder,ariaLabel:S.displayLabel??S.label,value:p[S.label]??"",onChange:L=>m?.(L,S.label),error:S.error}):!S.multiple&&S.display==="segmented"?t.jsx(An,{ariaLabel:S.displayLabel??S.label,options:[...S.allOption?[{key:sn,label:S.allLabel??y("common.all","\uC804\uCCB4"),disabled:S.allOptionDisabled}]:[],...q.map(L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"?L.displayLabel:void 0,ee=typeof L!="string"?L.disabled:void 0;return{key:O,label:Z??O,disabled:ee}})],value:R&&S.allOption?sn:p[S.label]??"",onChange:L=>m?.(L,S.label),size:32}):!S.multiple&&S.display==="dropdown"?t.jsx(ln,{className:"filter-panel__dropdown",size:40,options:[...S.allOption?[{value:sn,label:S.allLabel??y("common.all","\uC804\uCCB4"),disabled:S.allOptionDisabled}]:[],...q.map(L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"?L.displayLabel:void 0,ee=typeof L!="string"?L.disabled:void 0;return{value:O,label:Z??O,disabled:ee}})],value:R&&S.allOption?sn:p[S.label],onChange:L=>m?.(L,S.label)}):t.jsxs("div",{className:S.groups?"filter-panel__item-groups":"filter-panel__items",children:[S.allOption&&!S.groups&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:S.allLabel??y("common.all","\uC804\uCCB4"),selected:R,disabled:S.allOptionDisabled,onClick:()=>m?.(sn,S.label)}),S.groups?S.groups.map((L,O)=>t.jsxs("div",{className:"filter-panel__item-group",children:[O===0&&S.allOption&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:S.allLabel??y("common.all","\uC804\uCCB4"),selected:R,disabled:S.allOptionDisabled,onClick:()=>m?.(sn,S.label)}),L.filter(Z=>Z!=null).map(j)]},O)):q.map(j)]})]})]},S.label)})}),d!=null&&d!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:d})]})]})}const Qy=[1,2,3,4,5,6,7,8,9,10,11,12],Au=[8,4,2,1];function Bu(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function ku(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function Nu(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Du(e){return{label:e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Eu(e){return{label:e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Su(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function ju(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Tu(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...Au.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Mu(e,n){return e===n||!Au.includes(e)?Number.POSITIVE_INFINITY:e}function e5(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const Lu={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function $u(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Ru(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",...n.showTopInfo!=null?{[e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")]:n.showTopInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{},...n.showBottomInfo!=null?{[e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")]:n.showBottomInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{}}}function Pu(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===sn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(s=>s.includes(n)?s.filter(i=>i!==n):[...s,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")?(r.setShowTopInfo?.(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")?(r.setShowBottomInfo?.(n==="\uD45C\uC2DC"),!0):!1}function t5(e){return"sections"in e}function Do(e){const{t:n}=ye.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d}=e,c={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d};if(t5(e))return t.jsx(kn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...c,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:C,orientation:g,showOutline:v,cutLine:b,showDivLine:y,setters:w,showCutLine:h=!1,showDivLine2:_=!1,middleSections:f=[],extraSelected:A={},onExtraSelect:x,showPaperBands:N=!1,showTopInfo:k=!0,showBottomInfo:B=!0}=e,E=[Bu(n,{hasImage:p,hasColloquial:m}),ku(n),...f,Nu(n),...h?[Su(n)]:[],..._?[ju(n)]:[],...N?[Du(n),Eu(n)]:[]],S={...Ru(n,{contentTypes:C,orientation:g,showOutline:v,cutLine:b,showDivLine:y,showTopInfo:k,showBottomInfo:B}),...A},z=(R,q)=>{Pu(n,R,q,w)||x?.(R,q)};return t.jsx(kn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:E,selected:S,onSelect:z,...c,sectionAlign:"horizontal"})}function Iu(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Eo(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let ir=null,ua=null;function n5(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?Eo(r):"";ir?.();let l=null;if(i){const c=document.title;document.title=i,l=()=>{document.title=c,window.removeEventListener("afterprint",l),ir===l&&(ir=null)},ir=l,window.addEventListener("afterprint",l)}const u=document.createElement("iframe");u.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(u);const d=u.contentDocument;if(!d){u.remove();return}ua={iframe:u,at:Date.now()},d.open(),d.write(So(e,n,a,!0,i,s)),d.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function So(e,n,a,r=!1,s="",i=""){s=s?Eo(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
|
|
859
|
+
`),b=v===-1?a:a.slice(0,v);i("comment",b),a=a.slice(b.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const c=a.match(/^\d+(?:\.\d+)?/);if(c){i("number",c[0]),a=a.slice(c[0].length);continue}const p=a.match(V4);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const m=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(m){const v=m[0];i(s&&z4.has(v)?"command":"identifier",v),a=a.slice(v.length);continue}const C=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(C){i("operator",C[0]),a=a.slice(C[0].length);continue}const g=a.match(/^[()[\]{};.,]/);if(g){i("punctuation",g[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return r}function q4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=ye.useTranslation(),[u,d]=o.useState(!1),c=H4(Hl(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await LC(c))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},C=W4(c,n),g=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:Ne("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(pe,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:u?"check":"copy",onClick:m,ariaLabel:u?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:C.map((v,b)=>t.jsx("span",{className:`code-token ${v.type} ${g}`,children:v.content},b))})})]})}const U4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ma(e){const{t:n}=ye.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const d=s==null||!Number.isFinite(Number(s)),c=d?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:c,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${c}%`}})})}const u=typeof r=="number"?`${r}px`:r;return t.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":l,children:[t.jsx("span",{style:U4,children:l}),t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function zl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&d,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:c=>n?.(c.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}function Vl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:d}){const c=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{c.current&&(c.current.indeterminate=!!r)}),t.jsxs("label",{className:Ne("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:c,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:C=>{n?.(C.target.checked),c.current&&(c.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function G4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=ye.useTranslation(),d=s!==void 0?s:e>0,c=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),C=o.useRef(null),g=o.useRef(d);o.useLayoutEffect(()=>{const h=m.current,_=g.current;if(g.current=d,d&&!_){const f=typeof document<"u"?document.activeElement:null;C.current=f&&f!==document.body&&!h?.contains(f)?f:null}else!d&&_&&h&&h.contains(document.activeElement)&&Ga(h,C.current)},[d]);const[v,b]=o.useState(!1),y=o.useRef(!1),w=o.useRef(null);return o.useEffect(()=>{const h=p.current;if(!h)return;const _=B=>{y.current=B,b(B)},f=()=>{const B=h.firstElementChild??h,E=Array.from(B.children);if(E.length<2){_(!1);return}const S=E[0].offsetTop,z=E.some(O=>O.offsetTop!==S);if(!y.current){w.current=h.clientWidth,z&&_(!0);return}if(z)return;const R=E[0],q=E[E.length-1],j=q.offsetLeft+q.offsetWidth-R.offsetLeft,L=w.current;(L==null||j<=L)&&_(!1)};if(f(),typeof ResizeObserver>"u")return;const A=new ResizeObserver(f);A.observe(h);const x=h.parentElement;let N=x?.clientWidth??0;const k=new ResizeObserver(()=>{const B=x?.clientWidth??0;B!==N&&(N=B,w.current=null,f())});return x&&k.observe(x),()=>{A.disconnect(),k.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[t.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??t.jsx("b",{children:u("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(xt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`,"aria-label":u("common.selectedOfMax",{count:e,max:l,defaultValue:`\uCD5C\uB300 ${l}\uAC1C \uC911 ${e}\uAC1C`})}),t.jsxs("div",{className:`bulk-bar__actions${v?" bulk-bar__actions--stacked":""}`,children:[t.jsx(pe,{htmlType:"button",size:40,label:c,onClick:a}),n.map((h,_)=>t.jsx(pe,{htmlType:"button",size:40,variant:h.variant??"default",icon:h.icon,label:h.label,onClick:h.onClick},_))]})]})}const K4=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function Y4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:Ne("item-actions",a),children:K4.map(({\uC5F4\uC1E0:r,icon:s,\uB2EB\uACE0\uD560\uAE4C:i})=>{const l=e[r];if(!l)return null;const u=r==="publish"?l.published?l.unpublish:l.publish:l;return t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function Wl(e,n){const a=()=>{if(e){const[b,y]=e.split("-");return{y:+b,m:+y-1}}const[g,v]=Or(n).split("-");return{y:+g,m:+v-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),u=o.useRef(e);o.useEffect(()=>{if(e===u.current)return;u.current=e;const g=a();s(g.y),l(g.m)},[e]);const d=o.useRef({y:r,m:i});o.useEffect(()=>{d.current={y:r,m:i}},[r,i]);const c=o.useCallback(g=>{const v=d.current.y*12+d.current.m+g,b=Math.floor(v/12),y=v-b*12;d.current={y:b,m:y},s(b),l(y)},[]),p=o.useCallback(()=>c(-1),[c]),m=o.useCallback(()=>c(1),[c]),C=o.useCallback((g,v)=>{d.current={y:g,m:v},s(g),l(v)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:C}}function tr(e,n){return new Date(e,n+1,0).getDate()}function Z4(e,n){return new Date(e,n,1).getDay()}function nr(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function X4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function J4(e,n,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let u=s;u<=i;u++)for(let d=0;d<12;d++){const c=`${u}-${String(d+1).padStart(2,"0")}`;a&&c<a.slice(0,7)||r&&c>r.slice(0,7)||l.push({value:c,label:n(u,d+1)})}return l}function Q4({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:d}){const{t:c}=ye.useTranslation(),p=l??c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>c("calendar.dow",{returnObjects:!0}),[c]),C=Or(d),{viewY:g,viewM:v,prevMonth:b,nextMonth:y,setViewYM:w}=Wl(e,d),h=o.useId(),_=o.useCallback((D,H)=>{const M=window.innerHeight,I=window.innerWidth,$=typeof document<"u"?document.getElementById(h):null,K=Math.max($?.offsetHeight||0,$?.scrollHeight||0)||300,ne=Math.max(D.width,$?.offsetWidth||0,260),X=M-D.bottom,ae=D.top,ue=X<K&&ae>X,le=8,be=(V,Q)=>Math.min(Math.max(le,V),Math.max(le,Q));return{position:"fixed",left:be(D.left,I-ne-le),width:D.width,minWidth:260,...ue?{top:"auto",bottom:be(M-D.top+6,M-K-le)}:{bottom:"auto",top:be(D.bottom+6,M-K-le)},zIndex:Aa(H)}},[h]),{open:f,setOpen:A,toggle:x,style:N,triggerRef:k,menuRef:B}=Ba({computeStyle:_,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!f)return;const D=B.current;return(D?.querySelector(".date-picker__day--selected:not(:disabled)")??D?.querySelector(".date-picker__day--today:not(:disabled)")??D?.querySelector(".date-picker__day:not(:disabled)")??D?.querySelector(mn)??D)?.focus?.(),()=>{const H=document.activeElement;(!H||H===document.body)&&k.current?.focus?.()}},[f,B,k]);const[E,S]=o.useState(1),z=o.useRef(null),R=o.useRef(null);o.useEffect(()=>{if(!f)return;const D=e&&e.slice(0,7)===`${g}-${String(v+1).padStart(2,"0")}`?+e.slice(8):C.slice(0,7)===`${g}-${String(v+1).padStart(2,"0")}`?+C.slice(8):1;S(D)},[f]),o.useEffect(()=>{if(R.current==null)return;const D=R.current;R.current=null,z.current?.querySelector(`[data-day="${D}"]`)?.focus()}),o.useEffect(()=>{S(D=>Math.min(D,tr(g,v)))},[g,v]);const q=o.useCallback(D=>{let H=nr(D.getFullYear(),D.getMonth(),D.getDate());r&&H<r&&(H=r),s&&H>s&&(H=s);const[M,I,$]=H.split("-").map(Number);(M!==g||I-1!==v)&&w(M,I-1),S($),R.current=$},[r,s,g,v,w]),j=o.useCallback(D=>{const H=new Date(g,v,E),M=$=>{H.setDate(H.getDate()+$),q(H)},I=$=>{const K=H.getFullYear()*12+H.getMonth()+$,ne=Math.floor(K/12),X=K-ne*12;q(new Date(ne,X,Math.min(H.getDate(),tr(ne,X))))};switch(D.key){case"ArrowLeft":M(-1);break;case"ArrowRight":M(1);break;case"ArrowUp":M(-7);break;case"ArrowDown":M(7);break;case"Home":M(-H.getDay());break;case"End":M(6-H.getDay());break;case"PageUp":D.shiftKey?I(-12):I(-1);break;case"PageDown":D.shiftKey?I(12):I(1);break;default:return}D.preventDefault()},[g,v,E,q]),L=o.useCallback(D=>{i||(n(nr(g,v,D)),A(!1))},[g,v,n,A,i]);o.useEffect(()=>{i&&A(!1)},[i,A]);const O=D=>{const H=nr(g,v,D);return!!(r&&H<r||s&&H>s)},Z=(()=>{const D=tr(g,v);if(E>=1&&E<=D&&!O(E))return E;for(let H=1;H<=D;H++)if(!O(H))return H;return-1})(),ee=[];for(let D=0;D<Z4(g,v);D++)ee.push(null);for(let D=1;D<=tr(g,v);D++)ee.push(D);const W=a===64?20:a===40?16:18,U=J4(g,(D,H)=>c("calendar.yearMonth",{year:D,month:H,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),P=`${g}-${String(v+1).padStart(2,"0")}`,F=f?Xt.createPortal(t.jsxs("div",{ref:B,id:h,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:b,"aria-label":c("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ls,{size:16,strokeWidth:2})}),t.jsx(ln,{className:"date-picker__nav-dropdown",ariaLabel:c("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:U,value:P,onChange:D=>{const[H,M]=D.split("-");w(+H,+M-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:y,"aria-label":c("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(us,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:j,children:[m.map(D=>t.jsx("div",{className:"date-picker__dow caption-1",children:D},D)),ee.map((D,H)=>{if(D===null)return t.jsx("div",{},`e${H}`);const M=nr(g,v,D),I=M===e,$=M===C,K=O(D),ne=H%7;return t.jsx("button",{type:"button",disabled:K,"data-day":D,tabIndex:D===Z?0:-1,"aria-current":$?"date":void 0,onClick:()=>!K&&L(D),className:Ne("date-picker__day caption-1",I&&"date-picker__day--selected",$&&!I&&"date-picker__day--today",K&&"date-picker__day--disabled",ne===0&&"date-picker__day--sun",ne===6&&"date-picker__day--sat"),children:D},D)})]})]}),document.body):null;return t.jsxs("div",{className:Ne("date-picker",`date-picker--s${a}`,f&&"date-picker--open",u),children:[t.jsxs("button",{ref:k,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&x(),disabled:i,"aria-haspopup":"true","aria-expanded":f,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?X4(e):p}),t.jsx(bs,{size:W,className:"date-picker__icon",strokeWidth:1.5})]}),F]})}function ql({children:e,className:n}){const a=o.useRef(null),[r,s]=o.useState(null);return o.useEffect(()=>{s(a.current?.parentElement??null)},[]),o.useEffect(()=>{const i=a.current;if(!i||!r)return;const l=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?r.style.setProperty("--section-head-float-w",`${d}px`):r.style.removeProperty("--section-head-float-w")};if(l(),typeof ResizeObserver>"u")return()=>{r.style.removeProperty("--section-head-float-w")};const u=new ResizeObserver(()=>l());return u.observe(i),u.observe(r),()=>{u.disconnect(),r.style.removeProperty("--section-head-float-w")}},[r,e]),t.jsx("div",{ref:a,className:Ne("section-head-float",n),children:e})}function mo({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function La({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function ho({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:d,collapseBelow:c=420,onClick:p,ariaLabel:m,tooltip:C,totalNum:g,totalUnit:v,totalLabel:b,subRow:y,subRowAlign:w="start",className:h,inGrid:_=!1,children:f}){const{t:A}=ye.useTranslation(),x=o.useRef(null),{anchorRect:N,openAt:k,close:B}=wa(),E=o.useCallback(()=>{C&&x.current&&k(x.current)},[C,k]),[S,z]=o.useState(!1);co(()=>{const M=x.current;if(!M||!u)return;const I=K=>z(K>0&&K<c);if(I(M.clientWidth),typeof ResizeObserver>"u")return;const $=new ResizeObserver(K=>I(K[0].contentRect.width));return $.observe(M),()=>$.disconnect()},[u,c]);const[R,q]=o.useState(null),j=o.useCallback(()=>q(null),[]),L=o.useCallback(M=>{const I=M.currentTarget.getBoundingClientRect();q($=>$?null:{left:I.left,right:I.right,top:I.top,bottom:I.bottom,width:I.width,height:I.height,x:I.x,y:I.y})},[]),O=!!u&&S;o.useEffect(()=>{O||q(null)},[O]);const Z=u?[...u.options.map(M=>({label:M.label,icon:M.icon,selected:M.key===u.value,disabled:M.disabled,onClick:()=>u.onChange(M.key),closeOnSelect:!0})),...(d??[]).map((M,I)=>I===0?{...M,separatorBefore:!0}:M)]:[],ee=o.useCallback(M=>{if(!p)return;const I=M.target;I&&typeof I.closest=="function"&&I.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),W=o.useCallback(M=>{p&&M.target===M.currentTarget&&(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),p())},[p]),U=typeof i=="function"?i({collapsed:O}):i,P=g!=null||b?t.jsxs(La,{label:b,children:[g!=null&&t.jsx("span",{className:"barchart-total__num h0",children:g}),v&&t.jsx("span",{className:"barchart-total__unit h5",children:v})]}):null,F=U||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(O?t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!R,onClick:L}):t.jsx(An,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(M=>({key:M.key,label:M.label,disabled:M.disabled})),value:u.value,onChange:u.onChange})),U]}):null,D=o.useId(),H=a?`h${a}`:"div";return t.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",p&&"manager-section--clickable",h].filter(Boolean).join(" "),onClick:p?ee:void 0,onKeyDown:p?W:void 0,onPointerEnter:C?E:void 0,onPointerLeave:C?B:void 0,onFocus:C?E:void 0,onBlur:C?B:void 0,role:p?"button":void 0,tabIndex:p?0:void 0,"aria-label":p?m??(typeof e=="string"?e:void 0):void 0,"aria-labelledby":!p&&e!=null?D:void 0,children:[C&&N&&t.jsx(vn,{anchorRect:{left:N.left,top:N.top+21,right:N.right,bottom:N.bottom,width:N.width,height:N.height},text:C}),l&&t.jsx(ql,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ze,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(H,{id:D,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),F,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(P||y)&&t.jsxs("div",{className:["barchart-sub-row",w!=="start"&&`barchart-sub-row--${w}`].filter(Boolean).join(" "),children:[P,y]}),f,R&&t.jsx(on,{anchorRect:R,onClose:j,ariaLabel:u?.ariaLabel??A("tooltip.menu","\uBA54\uB274"),children:t.jsx(ka,{columns:[{items:Z}],onClose:j,size:"small"})})]})}function hn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function ey(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<hn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-hn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function ty(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,c)=>`${d}\uB144 ${c+1}\uC6D4`,s=new Map;s.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const c=r(d.date.getFullYear(),d.date.getMonth());s.has(c)||s.set(c,[]),s.get(c).push(d)}for(const[d,c]of[...s.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),C=Number(p[2])-1,g=hn(m,C);if(!(d===a&&n.getDate()<g)&&!c.some(y=>y.date.getDate()<g))continue;const v=new Date(m,C,0),b=r(v.getFullYear(),v.getMonth());s.has(b)||s.set(b,[])}const i=new Map;for(const[d,c]of s){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),C=Number(p[2])-1,g=new Date(m,C+1,0).getDate(),v=c.reduce((f,A)=>Math.max(f,A.parts?.length??0,A.partsB?.length??0),0),b=c.some(f=>f.partsB),y=new Array(g+1).fill(0),w=new Array(g+1).fill(0),h=Array.from({length:g+1},()=>new Array(v).fill(0)),_=Array.from({length:g+1},()=>new Array(v).fill(0));for(const f of c){const A=f.date.getDate();if(y[A]+=f.a,w[A]+=f.b,f.parts)for(let x=0;x<v;x++)h[A][x]+=f.parts[x]??0;if(f.partsB)for(let x=0;x<v;x++)_[A][x]+=f.partsB[x]??0}i.set(d,{year:m,month:C,daysInMonth:g,partsLen:v,hasPartsB:b,dayA:y,dayB:w,dayParts:h,dayPartsB:_})}const l=(d,c,p)=>new Date(d,c,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[d,c]of i){const{year:p,month:m,daysInMonth:C,dayA:g,dayB:v,dayParts:b,dayPartsB:y}=c,w=p===n.getFullYear()&&m===n.getMonth(),h=n.getDate(),_=i.get(r(m===11?p+1:p,(m+1)%12)),f=c.partsLen,A=[];for(let N=1;N<=C;N++){const k=w&&N>h;A.push({label:String(N),...k&&g[N]===0&&v[N]===0?{future:!0}:{},a:k&&g[N]===0&&v[N]===0?-1:g[N],b:v[N],...f?{parts:b[N]}:{},...f&&c.hasPartsB?{partsB:y[N]}:{}})}const x=[];for(let N=hn(p,m);N<=C;N+=7){const k=Math.max(0,N+6-C),B=k&&_?Math.max(f,_.partsLen):f,E=c.hasPartsB||!!(k&&_?.hasPartsB);let S=0,z=0;const R=new Array(B).fill(0),q=new Array(B).fill(0);for(let L=N;L<=Math.min(N+6,C);L++){S+=g[L],z+=v[L];for(let O=0;O<f;O++)R[O]+=b[L][O],q[O]+=y[L][O]}if(k&&_)for(let L=1;L<=k&&!l(_.year,_.month,L);L++){S+=_.dayA[L],z+=_.dayB[L];for(let O=0;O<_.partsLen;O++)R[O]+=_.dayParts[L][O],q[O]+=_.dayPartsB[L][O]}const j=k?`${(m+1)%12+1}/${k}`:`${N+6}`;x.push({label:`${x.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${j}\uC77C]`,a:S,b:z,...B?{parts:R}:{},...B&&E?{partsB:q}:{}})}u[d]={weekly:x,daily:A}}return u}function Ul(){const e=Jn(),n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=n;s++){const i=s===n?a:12;for(let l=1;l<=i;l++){const u=`${s}\uB144 ${l}\uC6D4`;r.push({value:u,label:u,year:s,month:l})}}return r.reverse()}Ul();function ny(){return Ul()}const Gl=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Kl(e){const{t:n,i18n:a}=ye.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>ny().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const E of i){const S=new Date(E.year,E.month,0).getDate(),z=hn(E.year,E.month-1),R=Math.ceil((S-z+1)/7);for(let q=R-1;q>=0;q--)B.push({value:`${E.value}#${q}`,monthKey:E.value,year:E.year,month:E.month,week:q})}return B},[i]),u=o.useCallback(B=>{const E=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${E} ${Gl[B.week]??`${B.week+1}`}\uC8FC`:`${E} Week ${B.week+1}`},[n,a.language]),d=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),c=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>ey(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),C=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[g,v]=o.useState(""),[b,y]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===g)||v(m)},[i,g,m]),o.useEffect(()=>{l.find(B=>B.value===b)||y(C)},[l,b,C]);const w=r==="month"?d:c,h=r==="month"?g:b,_=r==="month"?v:y,f=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),A=w.findIndex(B=>B.value===h),x=o.useCallback(()=>{const B=w.findIndex(E=>E.value===h);B<w.length-1&&_(w[B+1].value)},[w,h,_]),N=o.useCallback(()=>{const B=w.findIndex(E=>E.value===h);B>0&&_(w[B-1].value)},[w,h,_]),k=o.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:s,range:h,setRange:_,activeOptions:w,activeIdx:A,handlePrev:x,handleNext:N,periodOptions:k,monthRange:g,weekRange:b,weekRanges:l,DOW:f}}const ht=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function Bn(e,n=!0){return e.future===!0||n&&e.a===-1}function ay({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:d,tightMax:c,seriesColors:p,seriesLabels:m,rateLabels:C,grouped:g=!1,baseline:v,focusableBars:b=!1}){const y=!a,w=!!(p&&p.length>0),h=v,_=o.useMemo(()=>w?Math.max(0,...e.filter(W=>!Bn(W,h==null)).map(W=>g?Math.max(0,...(W.parts??[]).map(ht)):(W.parts??[]).reduce((U,P)=>U+Math.max(0,ht(P)),0))):Math.max(0,...e.filter(W=>!Bn(W,h==null)).flatMap(W=>y?[ht(W.a)]:[ht(W.a),ht(W.b)])),[e,y,w,g]),f=o.useMemo(()=>{if(h==null)return 0;const W=e.filter(U=>!Bn(U,h==null)).flatMap(U=>w?(U.parts??[]).map(ht):y?[ht(U.a)]:[ht(U.a),ht(U.b)]);return Math.max(0,...W.map(U=>Math.abs(U-h)))},[e,h,w,y]),A=o.useMemo(()=>{const W=h!=null?f:_;return d??(c?W>0?W:10:Math.ceil(W/10)*10||10)},[_,f,h,d,c]),x=u,N=w?g?Math.max(1,p.length):1:y?1:2,k={"--bar-width":`${o.useMemo(()=>{const W=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(W*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},E=o.useMemo(()=>{const W=Math.round(A/2);return h!=null?[h+A,...W!==A?[h+W]:[],h,...W!==A?[h-W]:[],h-A]:W!==A?[A,W,0]:[A,0]},[A,h]),S=W=>h!=null?1-(W-(h-A))/(2*A):1-W/A,[z,R]=o.useState(null),q=o.useCallback(()=>R(null),[]),j=o.useCallback((W,U)=>{const P=[W.label,W.sublabel].filter(Boolean).join(" ");let F;if(w&&g&&W.rawPartsB)F=(m??[]).map((D,H)=>{const M=W.rawPartsB[H]??0;return{text:M>0?`${D}: ${U[H]??0}% (${W.rawParts?.[H]??0}/${M})`:`${D}: -`,color:(p??[])[H]}});else if(w&&g)F=(m??[]).map((D,H)=>({text:`${D}: ${Z(U[H]??0)}`,color:(p??[])[H]}));else if(w){const D=(m??[]).map((M,I)=>({text:`${M}: ${U[I]??0}`,color:(p??[])[I]})),H=D.filter((M,I)=>(U[I]??0)>0);F=H.length?H:D}else C&&!y?F=[{text:`${r} ${ht(W.a)}%`,color:n},{text:`${s} ${ht(W.b)}%`,color:a}]:C&&W.rawB!==void 0?F=[{text:`${C.total} ${W.rawB}`},{text:`${C.done} ${W.rawA??0}`,color:n}]:y?F=[{text:`${r}: ${ht(W.a)}`,color:n}]:F=[{text:`${r}: ${ht(W.a)}`,color:n},{text:`${s}: ${ht(W.b)}`,color:a}];return{title:P,items:F}},[w,g,m,p,C,y,r,s,n,a,h]),L=o.useCallback((W,U,P)=>{const F=W.getBoundingClientRect(),{title:D,items:H}=j(U,P);R({rect:{left:F.left,top:F.top,right:F.right,bottom:F.bottom,width:F.width,height:F.height},title:D,items:H})},[j]),O=o.useCallback((W,U)=>{const{title:P,items:F}=j(W,U);return[P,...F.map(D=>D.text)].filter(Boolean).join(", ")},[j]),Z=W=>h!=null&&W>h?`+${W}`:`${W}`,ee=z!=null;return o.useEffect(()=>{if(!ee)return;const W=()=>R(null),U=P=>{const F=P.target;F&&typeof F.closest=="function"&&F.closest(".manager-bar-chart-col")||R(null)};return window.addEventListener("scroll",W,!0),document.addEventListener("pointerdown",U,!0),()=>{window.removeEventListener("scroll",W,!0),document.removeEventListener("pointerdown",U,!0)}},[ee]),t.jsxs("div",{className:"manager-bar-chart-wrap",style:B,children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:x},children:[E.slice(0,-1).map((W,U)=>t.jsx("div",{className:`manager-bar-chart-gridline${h!=null&&W===h?" manager-bar-chart-gridline--baseline":""}`,style:{top:S(W)*x},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:W})},U)),e.map((W,U)=>{const P=Bn(W,h==null),F=x/2,D=$=>h!=null?Math.min(F,Math.abs(ht($)-h)/A*F):Math.min(x,Math.max(0,ht($)/A*x)),H=P?0:D(W.a),M=P?0:D(W.b),I=(W.parts??[]).map(ht);return t.jsx("div",{className:`manager-bar-chart-col${g&&w?" manager-bar-chart-col--group":""}`,style:{cursor:P?"default":"pointer"},tabIndex:b&&!P?0:void 0,role:b&&!P?"img":void 0,"aria-label":b&&!P?O(W,I):void 0,onMouseEnter:P?void 0:$=>L($.currentTarget,W,I),onFocus:P||!b?void 0:$=>L($.currentTarget,W,I),onBlur:b?q:void 0,onMouseLeave:q,children:!P&&(w&&g?(p??[]).map(($,K)=>{const ne=I[K]??0;if(h==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:D(ne),background:$}},K);const X=ht(ne)<h;return t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!X&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(ne),background:$}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:X&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(ne),background:$}})})]},K)}):w?t.jsx("div",{className:"manager-bar-chart-stack",style:k,children:(()=>{const $=I.reduce((ne,X,ae)=>X>0?ae:ne,-1);let K=x;return I.map((ne,X)=>{if(ne<=0)return null;const ae=Math.min(K,ne/A*x);return K-=ae,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:ae,background:(p??[])[X],borderRadius:X===$?"6px 6px 0 0":void 0}},X)})})()}):h!=null?t.jsx(t.Fragment,{children:[{v:ht(W.a),c:n},...y?[]:[{v:ht(W.b),c:a}]].map(({v:$,c:K},ne)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:$>=h&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D($),background:K}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:$<h&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D($),background:K}})})]},ne))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:H,background:n}}),!y&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:M,background:a}})]}))},U)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((W,U)=>{const P=Bn(W,h==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${P?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[W.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),W.label]}),W.sublabel&&t.jsx("span",{className:"caption-1",children:W.sublabel})]},U)})})]})})}),z&&t.jsx(Vn,{anchorRect:z.rect,title:z.title,items:z.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Yl({control:e}){const{t:n}=ye.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:d,period:c,setPeriod:p}=e,m=c==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),C=c==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(ln,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:C,showTooltipInfo:C,disabled:r<=0,onClick:u}),t.jsx(An,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:c,onChange:g=>p(g),size:40})]})}function Co(e,n,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const u=new Date(n);u.setDate(n.getDate()+l);const d=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],c=d!=null&&Bn(d,r)||u>s;return{dt:u,entry:d,isFuture:c}})}function ry(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:d,DOW:c}=n,p=r?.startsWith("ko"),m=Jn(),C=m.getFullYear(),g=m.getMonth()+1,v=m.getDate();if(i==="month"){const w=e[l]??{weekly:[],daily:[]},h=l.match(/^(\d+)년 (\d+)월$/),_=h?Number(h[1]):null,f=h?Number(h[2]):null,A=_&&f?hn(_,f-1):1;return w.weekly.map((x,N)=>{const k=N+1;let B=x.label,E=!1,S=!1;if(_&&f){const z=A+N*7,R=new Date(_,f-1,z+6),q=R.getMonth()+1,j=R.getDate(),L=q===f?`${j}`:`${q}/${j}`;B=a("manager.chart.weekRange",{start:z,end:L});const O=new Date(C,g-1,v).getTime();E=O>=new Date(_,f-1,z).getTime()&&O<=R.getTime(),S=_>C||_===C&&(f>g||f===g&&z>v)}return{...x,label:B,sublabel:p?`${Gl[k-1]??k}\uC8FC`:`Week ${k}`,isToday:E,future:x.future===!0||S||void 0,a:S?-1:x.a,b:S?0:x.b}})}const b=d.find(w=>w.value===u);if(!b)return[];const y=new Date(b.year,b.month-1,hn(b.year,b.month-1)+b.week*7);return Co(e,y,m,s).map(({dt:w,entry:h,isFuture:_})=>{const f=w.getMonth()+1,A=w.getDate(),x=w.getFullYear();return{label:f===b.month&&x===b.year?`${A}`:`${f}/${A}`,sublabel:c[w.getDay()]??"",future:_||void 0,a:_?-1:h&&h.a>0?h.a:0,b:_?0:h&&h.b>0?h.b:0,isToday:x===C&&f===g&&A===v,...h?.parts?{parts:_?h.parts.map(()=>0):h.parts}:{},...h?.partsB?{partsB:_?h.partsB.map(()=>0):h.partsB}:{}}})}const oy={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function sy({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,titleLevel:s,data:i,colorA:l,colorB:u,labelAKey:d,labelBKey:c,showTotal:p=!1,totalUnitKey:m,totalLabelKey:C,control:g,hideControls:v=!1,rate:b=!1,rateAgg:y="dayMean",tightMax:w=!1,avgMode:h=!1,totalFormat:_,series:f,seriesMode:A="stack",loading:x=!1,onDetail:N,headExtra:k,headSegment:B,icon:E,disc:S,onClick:z,cardAriaLabel:R,cardTooltip:q,detailSize:j=32,barGap:L,baseline:O,className:Z,inGrid:ee=!1}){const{t:W,i18n:U}=ye.useTranslation(),P=oy[n],F=Kl(i),D=g??F,H=o.useMemo(()=>ry(i,D,W,U.language,O==null),[i,D,W,U.language,O]),M=A==="group"&&!!f&&f.length>0;L!=null&&!M&&an("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const I=o.useMemo(()=>{if(!b)return H;const ae=D.period==="month"?D.monthRange.match(/^(\d+)년 (\d+)월$/):null,ue=Jn(),le=f?.length??0,be=V=>{const Q=[],oe=[],Be=[];for(let Ce=0;Ce<le;Ce++){let se=0,ge=0,fe=0;for(const xe of V){const $e=ht(xe.a[Ce]),Le=ht(xe.b[Ce]);Le<=0||(se+=$e,ge+=Le,fe+=$e/Le*100)}Q.push(y==="weighted"?ge>0?Math.round(se/ge*100):0:V.length?Math.round(fe/V.length):0),oe.push(se),Be.push(ge)}return{pct:Q,ra:oe,rb:Be}};return H.map((V,Q)=>{let oe=V.a===-1?-1:V.b>0?Math.round(V.a/V.b*100):0;if(ae&&!Bn(V)){const Ce=Number(ae[1]),se=Number(ae[2])-1,ge=Co(i,new Date(Ce,se,hn(Ce,se)+Q*7),ue).filter(fe=>!fe.isFuture);if(y==="weighted"){let fe=0,xe=0;for(const{entry:$e}of ge)$e&&$e.b>0&&(fe+=$e.a,xe+=$e.b);oe=xe>0?Math.round(fe/xe*100):0}else oe=ge.length?Math.round(ge.reduce((fe,{entry:xe})=>fe+(xe&&xe.b>0?xe.a/xe.b*100:0),0)/ge.length):0}let Be=null;if(M&&!Bn(V)){let Ce;if(ae){const ge=Number(ae[1]),fe=Number(ae[2])-1;Ce=Co(i,new Date(ge,fe,hn(ge,fe)+Q*7),ue).filter(xe=>!xe.isFuture).map(({entry:xe})=>({a:xe?.parts??[],b:xe?.partsB??[]}))}else Ce=[{a:V.parts??[],b:V.partsB??[]}];const se=be(Ce);Be={parts:se.pct,rawParts:se.ra,rawPartsB:se.rb}}return{...V,a:oe,b:V.a===-1?0:c&&V.parts&&V.parts[1]>0?Math.round(V.parts[0]/V.parts[1]*100):0,rawA:V.a===-1?-1:V.a,rawB:V.b,...Be??{}}})},[H,b,y,c,D.period,D.monthRange,i,M,f?.length]),$=o.useMemo(()=>{if(b||h){const ue=(D.period==="week"?H:i[D.monthRange]?.daily??[]).filter(be=>be.a!==-1);if(ue.length===0)return 0;if(b&&y==="weighted"){let be=0,V=0;for(const Q of ue)Q.b>0&&(be+=Q.a,V+=Q.b);return V>0?Math.round(be/V*100):0}const le=b?ue.reduce((be,V)=>be+(V.b>0?V.a/V.b*100:0),0):ue.reduce((be,V)=>be+(V.a>0?V.a:0),0);return Math.round(le/ue.length)}const ae=D.period==="month"?i[D.monthRange]?.daily??[]:I;return O!=null?ae.reduce((ue,le)=>ue+(Bn(le,!1)?0:ht(le.a)+(c?ht(le.b):0)),0):ae.reduce((ue,le)=>ue+(le.a>0?le.a:0)+(c&&le.b>0?le.b:0),0)},[I,H,b,y,h,O,c,D.period,D.monthRange,i]),K=f&&f.length>0?f.map(ae=>({color:ae.color,label:ae.label})):[{color:l,label:W(d)},...c?[{color:u,label:W(c)}]:[]],ne=n==="small",X=[ne?"manager-section--compact":n==="large"?"manager-section--full":void 0,Z].filter(Boolean).join(" ")||void 0;return t.jsx(ho,{className:X,inGrid:ee,icon:E,disc:S,onClick:z,ariaLabel:R,tooltip:q,headSegment:B,headMenuItems:N?[{label:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:N,closeOnSelect:!0}]:void 0,title:W(r),titleLevel:s,titleClassName:ne?"h5 chart-section-title--small":void 0,headRight:ne?k??void 0:({collapsed:ae})=>t.jsxs(t.Fragment,{children:[!v&&t.jsx(Yl,{control:D}),k,N&&!ae&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(pe,{htmlType:"button",size:j,type:"dot",icon:"list",ariaLabel:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:W("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:N})})]}),subRow:t.jsxs(t.Fragment,{children:[p?b||h||C&&_?t.jsx(La,{label:ne?void 0:`${W(D.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${W(C??d)}`,children:_?(_($).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((ae,ue)=>/\d/.test(ae)?t.jsx("span",{className:"barchart-total__num h0",children:ae},ue):t.jsx("span",{className:"barchart-total__unit h5",children:ae},ue)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:$}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:W(m)})]})}):t.jsxs(La,{children:[t.jsx("span",{className:"barchart-total__num h0",children:$}),t.jsx("span",{className:"barchart-total__unit h5",children:W(d)}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:W(m)})]}):t.jsx("span",{}),t.jsx(mo,{items:K,className:"caption-1"})]}),children:x?t.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[t.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:P.height},children:t.jsx(Ma,{size:32})}),t.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:t.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[t.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),I.some(ae=>!!ae.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(ay,{focusableBars:e,data:I,colorA:l,colorB:c?u:void 0,labelA:W(d),labelB:c?W(c):void 0,barWidth:a??P.barWidth,barGap:L,baseline:O,height:P.height,maxOverride:b?100:void 0,tightMax:w,seriesColors:f?.map(ae=>ae.color),seriesLabels:f?.map(ae=>ae.label),rateLabels:b?{total:W("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:W("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:M})})}const Zl=120,iy={left:38,right:16,top:26,bottom:24};function ly({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:d,ariaLabel:c,className:p}){const[m,C]=o.useState(null),[g,v]=o.useState(null);o.useEffect(()=>{if(!g)return;const O=ee=>C(Math.round(ee)||null);if(O(g.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const Z=new ResizeObserver(([ee])=>O(ee.contentRect.width));return Z.observe(g),()=>{Z.disconnect()}},[g]);const{payload:b,anchorRect:y,openAfterDelay:w,close:h}=pb(Zl),_=o.useCallback((O,Z)=>{O&&w(O,Z.getBoundingClientRect())},[w]),f=m??l,A=i,{left:x,right:N,top:k,bottom:B}={...iy,...u},[E,S]=n,z=O=>S===E?x:x+(f-x-N)*(O-E)/(S-E),R=O=>k+(A-k-B)*(100-O)/100,q={x:z,y:R,plot:{left:x,right:f-N,top:k,bottom:A-B,width:Math.max(0,f-x-N),height:Math.max(0,A-k-B)}},j=e.filter(O=>!O.hollow),L=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:v,className:Ne("line-chart",p),viewBox:`0 0 ${f} ${A}`,role:"img","aria-label":c??e.map(O=>O.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(O=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:x,x2:f-N,y1:R(O),y2:R(O)}),t.jsxs("text",{className:"line-chart__tick",x:x-6,y:R(O)+4,textAnchor:"end",children:[O,"%"]})]},O)),d?.(q),a.map(O=>t.jsx("text",{className:"line-chart__tick",x:z(O.x),y:A-5,textAnchor:"middle",children:O.label},O.x)),j.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:L,points:j.map(O=>`${z(O.x)},${R(O.pct)}`).join(" ")}),e.map(O=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:Z=>_(O.description,Z.currentTarget),onPointerLeave:h,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:z(O.x),cy:R(O.pct),r:12}),t.jsx("circle",{className:Ne("line-chart__dot-main",O.hollow&&"is-hollow"),cx:z(O.x),cy:R(O.pct),r:4,stroke:L,fill:O.hollow?void 0:L})]},O.x))]}),b!=null&&t.jsx(on,{anchorRect:y,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:b,children:b})]})}function uy({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:Ne("game-intro",u),children:[e!=null&&t.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${n}px`},children:e}),t.jsx("h2",{className:Ne("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((d,c)=>t.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,m)=>t.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&t.jsx("span",{"aria-hidden":"true",children:p.icon}),t.jsx("span",{children:p.text})]},m))]},c)),l&&t.jsx(pe,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Xl=(e,n,a)=>{const r=new Date(Date.UTC(e,n,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Jl=(e,n,a,r)=>({from:ui(e,n,a),to:new Date(ui(e,n,a+r).getTime()-1),fromYmd:Xl(e,n,a),toYmd:Xl(e,n,a+r-1)});function cy(e,n=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Jn(),l=s?Number(s[1]):i.getFullYear(),u=(s?Number(s[2]):i.getMonth()+1)-1+n,d=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Jl(l,u,1,d)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=va();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=hn(a.year,a.month-1);return Jl(a.year,a.month-1,r+(a.week+n)*7,7)}const fo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Ql(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function eu({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:d=!1}){const c=typeof s=="number"?s:fo[s].diameter,p=i??(typeof s=="number"?12:fo[s].strokeWidth),m=c/2,C=(c-p)/2,g=2*Math.PI*C;if(a&&a.length>0){const w=a.reduce((h,_)=>{const f=h.length>0?h[h.length-1].acc:0,A=Number.isFinite(_.ratio)?_.ratio:0,x=Math.max(0,Math.min(A,1-f));return h.push({color:_.color,rotate:-90+f*360,dash:g*x,acc:f+x}),h},[]);return t.jsx("div",{className:"ring-chart",style:{width:c,height:c},children:t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),w.map((h,_)=>h.dash>0&&t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:h.color,strokeWidth:p,strokeDasharray:`${h.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${h.rotate} ${m} ${m})`},_))]})})}const v=(n??0)>0?Math.min((e??0)/n,1):0,b=g*v,y=g-b;return t.jsxs("div",{className:"ring-chart",style:{width:c,height:c},children:[t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),v>0&&t.jsx("circle",{cx:m,cy:m,r:C,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${b} ${y}`,strokeLinecap:v<.02||v>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${c<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${c<=96?"h2":"h1"}`,children:Ql(v)}),!d&&t.jsx("span",{className:`ring-chart__label ${c<=96?"caption-2":"caption-1"}${c<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function dy({titleKey:e,titleLevel:n,headRight:a,icon:r,showTotal:s,totalLabelKey:i,legend:l,loading:u,className:d,inGrid:c=!1,onClick:p,ariaLabel:m,tooltip:C,...g}){const{t:v}=ye.useTranslation();if(!e)return t.jsx(eu,{...g});const b=(g.total??0)>0?Ql(Math.min((g.done??0)/g.total,1)):0,y=g.size==="small",w=typeof g.size=="number"?g.size:fo[g.size??"medium"].diameter,h=g.size==="large",_=[d,y?"manager-section--compact":h?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=r&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ze,{icon:r,className:"chart-section-icon-inner"})});return t.jsx(ho,{className:_,inGrid:c,onClick:p,ariaLabel:m,tooltip:C,title:v(e),titleLevel:n,titleClassName:y?"h5 chart-section-title--small":void 0,headRight:f||(y?void 0:a),subRow:(s||l)&&t.jsxs(t.Fragment,{children:[s?t.jsxs(La,{label:!y&&i?v(i):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:b}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),l&&t.jsx(mo,{items:l})]}),children:u?t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:w,height:w},"aria-busy":"true",children:t.jsx(Ma,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(eu,{...g,hideCenter:g.hideCenter??y})})})}function py({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const d=o.useRef(null),{anchorRect:c,openAt:p,close:m}=wa(),C=o.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),g=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),v=a===void 0?void 0:a>0?`+${a}`:`${a}`,b=o.useCallback(y=>{l&&(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),l())},[l]);return t.jsxs("div",{ref:d,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?b:void 0,onPointerEnter:C,onPointerLeave:m,onFocus:C,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,v].filter(y=>y!==void 0&&y!=="").join(" "):void 0,children:[i&&c&&t.jsx(vn,{anchorRect:{left:c.left,top:c.top+21,right:c.right,bottom:c.bottom,width:c.width,height:c.height},text:i}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ze,{icon:s,className:"manager-stat-card__icon-inner"})})]}),t.jsxs("div",{className:"manager-stat-card__content",children:[t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),v&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${g??"neutral"} caption-1`,children:v})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function tu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:d,length:c,className:p,label:m,formatValue:C,labelPos:g,labelAlign:v="right",showMinMax:b=!1,minLabel:y,maxLabel:w,showBgTick:h=!1,showFillTick:_=!1,tickStep:f,tickShape:A="dot"}){n&&!d&&an("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),N=r>a?(x-a)/(r-a):0,k=i==="vertical",B=!n,E=D=>n?.(Number(D.target.value)),S=typeof c=="number"?`${c}px`:c,z={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...S?k?{height:S}:{width:S}:{}},R=f??s,q=(h||_)&&R>0&&r>a?Math.floor((r-a)/R+1e-6):0;if(q>0&&q<=100){const D=A!=="dash",H=ne=>D?`radial-gradient(circle, ${ne} 0.5px, transparent 1px)`:k?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ne} calc(50% - 2px), ${ne} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ne} calc(50% - 2px), ${ne} calc(50% + 2px), transparent calc(50% + 2px))`,M=D?"2px":"4px",I=[],$=[],K=[];for(let ne=0;ne<=q;ne++){const X=ne*R/(r-a);if(X>1+1e-6)break;const ae=`${((k?1-X:X)*100).toFixed(4)}%`,ue=X<=N+1e-6;if(ue?!_:!h)continue;const le=ue?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(H(le)),$.push(k?`${M} var(--slider-thumb)`:`var(--slider-thumb) ${M}`),K.push(k?`center ${ae}`:`${ae} center`)}I.push(k?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),$.push("100% 100%"),K.push("0 0"),z.backgroundImage=I.join(", "),z.backgroundSize=$.join(", "),z.backgroundPosition=K.join(", "),z.backgroundRepeat="no-repeat"}const j=C?C(x):m==="percent"?`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`:m==="count"?`${x} / ${r}`:x===a&&y?y:x===r&&w?w:void 0,L=t.jsx("input",{type:"range",className:Ne("slider",`slider--${i}`,B&&"slider--static",!m&&!b&&p),min:a,max:r,step:s,value:x,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":d,"aria-valuetext":j,"aria-orientation":i,onChange:E,style:z});if(!m&&!b)return L;const O=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??a}),Z=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:w??r}),ee=b?t.jsxs("div",{className:Ne("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[k?Z:O,L,k?O:Z]}):L;if(!m)return ee;const W=g??(k?"bottom":"right"),U=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,P=C?C(x):m==="percent"?U:m==="count"?`${x} / ${r}`:String(x),F=t.jsx("span",{className:"slider-wrap__value body-3b",children:P});return t.jsxs("div",{className:Ne("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${W}`,`slider-wrap--align-${v}`,p),children:[ee,F]})}const my=.86,hy=250,go=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),bo=(e,n,a,r)=>{const s=go(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function yo({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:d=-35,displayMin:c=-5,displayMax:p=25,className:m,ariaLabel:C}){const g=o.useRef(null),v=o.useRef(null),b=o.useRef(null),y=o.useRef(null),[w,h]=o.useState(null);o.useEffect(()=>{const x=L=>{const O=bo(L,d,c,p);b.current&&(b.current.textContent=O);const Z=g.current;Z&&(Z.setAttribute("aria-valuenow",String(go(L,d,c,p))),Z.setAttribute("aria-valuetext",O))},N=e??sC(n)??(w&&w.el===n?w.node:null),k=v.current;if(!N||!k){k?.style.setProperty("--meter-level","0"),x(u);let L=!1;return!e&&n&&Ha(n).then(O=>{!L&&O&&h({el:n,node:O})}),()=>{L=!0}}Lr();const B=new Float32Array(N.fftSize);let E=0,S=0,z=0,R=0,q=null;const j=L=>{const O=iC(N,B);E=O>E?O:E*my;const Z=E>1e-5?20*Math.log10(E):-1/0,ee=Math.max(u,Z),W=ee-d,U=Math.min(1,Math.max(0,(W-c)/(p-c)));if(k.style.setProperty("--meter-level",U.toFixed(3)),S+=ee,z+=1,L-R>=hy){const P=S/z;q=q==null?P:q*.6+P*.4,x(q),S=0,z=0,R=L}y.current=requestAnimationFrame(j)};return y.current=requestAnimationFrame(j),()=>{y.current!=null&&cancelAnimationFrame(y.current),y.current=null}},[e,n,w,u,d,c,p]);const _=typeof r=="number"?`${r}px`:r,f=t.jsx("div",{className:"audio-meter__track",style:_?a==="vertical"?{height:_}:{width:_}:{},children:t.jsx("div",{ref:v,className:"audio-meter__fill"})}),A=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:g,className:Ne("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${A}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":C,"aria-valuemin":c,"aria-valuemax":p,"aria-valuenow":go(u,d,c,p),"aria-valuetext":bo(u,d,c,p),children:[f,s&&t.jsx("span",{ref:b,className:"audio-meter__value caption-2",children:bo(u,d,c,p)})]})}const nu=260;function au({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),d=o.useRef(l),c=o.useRef(s);o.useEffect(()=>{d.current=l},[l]),o.useEffect(()=>{c.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),C=o.useRef(r);o.useEffect(()=>{C.current=r});const g=a,v=o.useRef(null),b=o.useRef(0),y=o.useRef(0),w=o.useRef(!1),h=o.useRef(null),_=o.useRef(null),f=o.useRef(null),A=o.useRef(null),x=o.useRef(()=>{});x.current=B=>{B<0||(b.current=Date.now(),y.current=B,v.current=setTimeout(()=>{v.current=null,i(!1),h.current=setTimeout(()=>{u(!1);try{C.current()}catch{}},nu)},B))};const N=o.useCallback(()=>{w.current||!v.current||(w.current=!0,clearTimeout(v.current),v.current=null,y.current=Math.max(0,y.current-(Date.now()-b.current)))},[]),k=o.useCallback(()=>{w.current&&(w.current=!1,x.current(y.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(v.current&&(clearTimeout(v.current),v.current=null),h.current&&(clearTimeout(h.current),h.current=null)),e){if(c.current)return g>0&&!v.current&&(w.current?y.current=g:x.current(g)),m.current=e,()=>{v.current&&(clearTimeout(v.current),v.current=null),h.current&&(clearTimeout(h.current),h.current=null)};const B=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",n==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{A.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(B(),i(!0)):(u(!0),_.current=requestAnimationFrame(()=>{f.current=requestAnimationFrame(()=>{B(),i(!0)})})),g>0&&(w.current=!1,x.current(g))}else i(!1),h.current=setTimeout(()=>u(!1),nu);return m.current=e,()=>{v.current&&clearTimeout(v.current),h.current&&clearTimeout(h.current),_.current&&cancelAnimationFrame(_.current),f.current&&cancelAnimationFrame(f.current),A.current&&clearTimeout(A.current),v.current=null,h.current=null,_.current=null,f.current=null,A.current=null}},[e,g,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:k}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:d,resume:c}=au({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,C]=o.useState(!1);if(o.useEffect(()=>{l?C(!0):i||C(!1)},[l,i]),!i)return null;const g=a==="notice"||a==="warning"?a:"normal",v=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:b=>{p.current=b.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:c,onFocusCapture:d,onBlurCapture:c,children:t.jsx("div",{className:`toast__inner toast__inner--${g} body-2`,"aria-hidden":m||l?void 0:!0,children:t.jsx("span",{className:"toast__text",children:e})})});return typeof document<"u"?Xt.createPortal(v,document.body):v}const Cy=24;function fy({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:d="right",ariaLabel:c,className:p}){const m=Number.isFinite(n)&&n>0?n:1,C=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),g=C/m*100,v=Number.isFinite(n)&&n>0?n:0,b=u??(a>=Cy?"inside":"bottom"),y=b==="center"?"inside":b,w=y==="inside"&&(d==="left"?g>=15:d==="center"?g>=50:g>=85),h={};return r&&(h["--progress-bar-fill"]=r),s&&(h["--progress-bar-track"]=s),t.jsxs("div",{className:Ne("progress-bar",`progress-bar--${a}`,`progress-bar--label-${y}`,i&&`progress-bar--align-${d}`,i&&w&&"progress-bar--label-on-fill",p),style:h,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":v,"aria-valuetext":i?l?l(C):i==="percent"?void 0:i==="raw"?String(C):`${C} / ${v}`:void 0,"aria-label":c,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(C):i==="percent"?`${Math.round(g)}%`:i==="raw"?String(C):`${C} / ${v}`})]})}const ru={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},gy="rgba(255, 255, 255, 0.16)";function ou({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:d}=ye.useTranslation(),c=tn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,m=u??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),C={};if(a&&(C["--pi-inactive-bg"]=a),r&&(C["--pi-inactive-color"]=r),s&&(a||(C["--pi-inactive-bg"]=gy),r||(C["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:C,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:ru,children:m}),Array.from({length:e}).map((v,b)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${b<p?" done":b===p?" active":""}`},b))]});const g=l?t.jsx("span",{role:"status",style:ru,children:m}):null;return c?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:C,role:"list","aria-label":m,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),g]}):t.jsxs(t.Fragment,{children:[g,t.jsx("div",{className:"progress-indicator",style:C,role:"list","aria-label":m,children:Array.from({length:e}).map((v,b)=>t.jsx("span",{role:"listitem","aria-current":b===p?"step":void 0,className:`progress-indicator-dot ${b<p?" done":b===p?" active":""} body-3`,children:b+1},b))})]})}function by(e){if(!e)return[];const n=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(n.push(r),r="");continue}r+=s}return r&&n.push(r),n}function yy({children:e,className:n,style:a}){return t.jsx("div",{role:"cell",className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function vo({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,expandedContent:c,colSpan:p,describedBy:m}){const C=o.useCallback(g=>{s&&g.target===g.currentTarget&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--loading",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:t.jsx(Ma,{size:28})})})}):e==="empty"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--empty body-3",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:n})})}):t.jsxs("div",{role:"presentation",className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?C:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,role:"row",tabIndex:s?0:void 0,"aria-describedby":s?m:void 0,children:n}),c&&t.jsx("div",{role:"row",className:"table-row-expand",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row-expand__cell",children:c})})]})}function vy({dir:e}){return t.jsx(e==="asc"?vs:ys,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function xy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(vy,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:Ne("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[n?t.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&t.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:u=>u.stopPropagation(),"aria-hidden":"true"})]})}function xo({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:d,onRowDragEnd:c,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:C,resizable:g=!1,resizeMode:v="grow",resizeStorageKey:b,size:y="small",title:w,icon:h,count:_,collapsed:f=!1,onToggleCollapse:A,headerActions:x,empty:N,loading:k,dragOver:B=!1,onDragOver:E,onDragLeave:S,onDrop:z,renderExpandedRow:R,expandedId:q}){const{t:j}=ye.useTranslation(),L=o.useId(),O=`table-title-${L}`,Z=`table-row-hint-${L}`,ee=tn("(max-width: 767px)"),W=C&&ee?C:null,U=g&&!ee,P=48,F=o.useRef(()=>P),D=b?`table-cols:${b}`:null,H=o.useRef(null),M=o.useRef(null),I=o.useRef(null),$=o.useRef(null),[K,ne]=o.useState(!1),X=o.useCallback(()=>{const te=I.current;te&&ne(te.scrollWidth>te.clientWidth+1)},[]),ae=o.useCallback((te,ce)=>{const me=te.current;me&&M.current&&M.current.unobserve(me),te.current=ce,ce?(!M.current&&typeof ResizeObserver<"u"&&(M.current=new ResizeObserver(()=>X())),M.current?.observe(ce)):!I.current&&!$.current&&(M.current?.disconnect(),M.current=null),X()},[X]),ue=o.useCallback(te=>ae(I,te),[ae]),le=o.useCallback(te=>ae($,te),[ae]);o.useEffect(()=>{X()}),o.useEffect(()=>{if(typeof window>"u")return;const te=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>X()):null;return window.addEventListener("resize",X),()=>{te!=null&&cancelAnimationFrame(te),window.removeEventListener("resize",X)}},[X]);const be=o.useRef(()=>!1),V=o.useRef([]),Q=o.useRef(null),oe=te=>{if(!te||typeof window>"u")return null;try{const ce=JSON.parse(window.localStorage.getItem(te)??"null");return Array.isArray(ce)&&ce.length>0&&ce.every(me=>typeof me=="number"&&Number.isFinite(me)&&me>0)?ce:null}catch{return null}},[Be,Ce]=o.useState(()=>oe(D)),[se,ge]=o.useState(D);se!==D&&(ge(D),Ce(oe(D)));const fe=o.useRef(Be);o.useEffect(()=>{fe.current=Be},[Be]);const xe=o.useCallback(te=>{const ce=Q.current;if(!ce)return;const me=fe.current;if(me){const Se=[...me];if(ce.next!=null&&ce.startWNext!=null){const et=te.clientX-ce.startX,Ke=Math.max(F.current(ce.index)-ce.startW,Math.min(ce.startWNext-F.current(ce.next),et));Se[ce.index]=ce.startW+Ke,Se[ce.next]=ce.startWNext-Ke}else Se[ce.index]=Math.max(F.current(ce.index),ce.startW+(te.clientX-ce.startX));fe.current=Se,Ce(Se)}},[]),$e=o.useCallback(()=>{if(Q.current=null,window.removeEventListener("pointermove",xe),window.removeEventListener("pointerup",$e),window.removeEventListener("pointercancel",$e),document.body.style.cursor="",document.body.style.userSelect="",D&&fe.current)try{window.localStorage.setItem(D,JSON.stringify(fe.current))}catch{}},[xe,D]),Le=o.useCallback((te,ce)=>{ce.preventDefault(),ce.stopPropagation();const me=H.current;if(!me)return;const Se=Array.from(me.children).map(Ke=>Ke.getBoundingClientRect().width),et=v==="fit"?e.findIndex((Ke,bt)=>bt>te&&Ke.resizable!==!1):-1;Q.current=et>=0?{index:te,startX:ce.clientX,startW:Se[te],next:et,startWNext:Se[et]}:{index:te,startX:ce.clientX,startW:Se[te]},fe.current=Se,Ce(Se),window.addEventListener("pointermove",xe),window.addEventListener("pointerup",$e),window.addEventListener("pointercancel",$e),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[xe,$e,v,e]),Qe=o.useCallback(()=>{const te=H.current,ce=te?.closest(".table-wrap");if(!te||!ce)return;const me=ce.style.getPropertyValue("--table-grid-cols");ce.style.setProperty("--table-grid-cols",e.map((Ye,Re)=>be.current(Re)?V.current[Re]:"max-content").join(" "));const Se=Array.from(ce.querySelectorAll(".table-row")).filter(Ye=>!Ye.classList.contains("table-row--loading")&&!Ye.classList.contains("table-row--empty")),et=e.map((Ye,Re)=>{let We=te.children[Re]?.getBoundingClientRect().width??0;for(const ct of Se){const Bt=ct.children[Re];Bt&&(We=Math.max(We,Bt.getBoundingClientRect().width))}const Fe=be.current(Re)?parseFloat(V.current[Re]):NaN;return Number.isFinite(Fe)?Fe:Math.max(F.current(Re),Math.ceil(We))}),Ke=window.getComputedStyle(te),bt=te.clientWidth-(parseFloat(Ke.paddingLeft)||0)-(parseFloat(Ke.paddingRight)||0);me?ce.style.setProperty("--table-grid-cols",me):ce.style.removeProperty("--table-grid-cols");let ut=et;const it=et.reduce((Ye,Re,We)=>Ye+(be.current(We)?Re:0),0),tt=et.reduce((Ye,Re,We)=>Ye+(be.current(We)?0:Re),0),Ge=bt-it;if(bt>0&&tt>0&&Ge>0){const Ye=Ge/tt;ut=et.map((We,Fe)=>be.current(Fe)?We:Math.max(F.current(Fe),Math.round(We*Ye)));const Re=Math.round(Ge-ut.reduce((We,Fe,ct)=>We+(be.current(ct)?0:Fe),0));if(Re!==0){let We=-1;ut.forEach((Fe,ct)=>{!be.current(ct)&&(We<0||Fe>ut[We])&&(We=ct)}),We>=0&&(ut[We]=Math.max(F.current(We),ut[We]+Re))}}if(Ce(ut),D)try{window.localStorage.setItem(D,JSON.stringify(ut))}catch{}},[e,v,D]);o.useEffect(()=>()=>{Q.current&&(window.removeEventListener("pointermove",xe),window.removeEventListener("pointerup",$e),window.removeEventListener("pointercancel",$e),document.body.style.cursor="",document.body.style.userSelect="")},[xe,$e]);const Ue=by(m),ze=Ue.filter(te=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(te));ze.length>0&&an(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${ze.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${m})`);const Ie=e.findIndex(te=>!!te.sortDir);e.filter(te=>!!te.sortDir).length>1&&an("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const st=te=>te===Ie?e[te].sortDir==="asc"?"ascending":"descending":e[te].onClick?"none":void 0,Xe=te=>/^\d+(\.\d+)?px$/.test(Ue[te]??""),Je=te=>{const ce=Ue[te]??"",me=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(ce)??/^(\d+(?:\.\d+)?)px$/.exec(ce);return me?parseFloat(me[1]):P};be.current=Xe,F.current=Je,V.current=Ue;const Ee=te=>v==="fit"&&!Xe(te)?"fr":"px",ke=Be&&Be.length===e.length&&!ee&&(v==="fit"||a.length>0),Me=W??(ke?e.map((te,ce)=>te.resizable===!1&&Ue[ce]?Ue[ce]:`${Be[ce]}${Ee(ce)}`).join(" "):m),Ve=Me?{"--table-grid-cols":Me}:void 0,lt=w!==void 0;return t.jsxs("div",{ref:ue,className:`table-wrap table-wrap--${y}${U?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${f?" table-wrap--collapsed":""}`,style:Ve,onDragOver:E,onDragLeave:S,onDrop:z,tabIndex:K?0:void 0,role:K?"region":void 0,"aria-label":K?typeof w=="string"?w:j("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:[!!s&&t.jsx("span",{id:Z,className:"table-row-hint",children:j("table.rowActionHint","\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4")}),t.jsxs("div",{ref:le,role:"table","aria-labelledby":lt&&typeof w=="string"?O:void 0,className:"table body-2",children:[lt&&t.jsxs("div",{className:Ne("table-header",A&&"table-header--clickable"),onClick:A,role:"caption",children:[A&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:f?"chevron-right":"chevron-down",ariaLabel:f?j("common.expand","\uD3BC\uCE58\uAE30"):j("common.collapse","\uC811\uAE30"),ariaExpanded:!f,className:"table-header__chevron"}),h&&t.jsx(Ze,{icon:h,label:typeof w=="string"?w:void 0,className:"table-header__icon"}),t.jsx("span",{id:O,className:"table-header__title h5b",children:w}),_!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:_}),x&&t.jsx("span",{className:"table-header__actions",onClick:te=>te.stopPropagation(),children:x})]}),!f&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{role:"row",className:"table-fields table-fields--groups",children:n.map((te,ce)=>t.jsx("div",{role:"columnheader","aria-colspan":te.span,className:Ne("table-field body-3",te.className),style:{gridColumn:`span ${te.span}`},children:te.label},ce))}),t.jsxs("div",{role:"presentation",className:Ne("table-fields-strip",U&&"table-fields-strip--resizable"),children:[t.jsx("div",{role:"row",className:"table-fields",ref:H,children:e.map((te,ce)=>t.jsx(xy,{onClick:te.onClick,className:te.className,sortDir:te.sortDir,ariaSort:st(ce),onResizeStart:U&&ce<e.length-1&&te.resizable!==!1&&(v!=="fit"||e.some((me,Se)=>Se>ce&&me.resizable!==!1))?me=>Le(ce,me):void 0,children:te.label},ce))}),U&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Qe})]}),t.jsx("div",{role:"rowgroup",className:"table-body",children:k?t.jsx(vo,{variant:"loading",colSpan:e.length||void 0}):a.length===0&&N?t.jsx(vo,{variant:"empty",colSpan:e.length||void 0,children:N}):a.map((te,ce)=>{const me=p!=null&&te.id===p,Se=!!s&&(i?i(te):!0),et=q!=null&&te.id!=null&&(q instanceof Set?q.has(te.id)||[...q].some(Ke=>String(Ke)===String(te.id)):String(te.id)===String(q));return t.jsx(vo,{className:`${Se?" table-row--clickable":""}${d?" table-row--draggable":""}${me?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:Se?()=>s(te):void 0,colSpan:e.length||void 0,describedBy:Z,onMouseEnter:l?Ke=>l(te,Ke):void 0,onMouseLeave:u?Ke=>u(te,Ke):void 0,onDragStart:d?Ke=>d(te,Ke):void 0,onDragEnd:c?Ke=>c(te,Ke):void 0,expandedContent:et&&R?R(te):void 0,children:r(te).map((Ke,bt)=>t.jsx(yy,{className:Ke.className,style:Ke.style,children:Ke.content},bt))},te.id!=null?`${typeof te.id}:${te.id}`:`__idx:${ce}`)})})]})]})]})}function su(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const oa=e=>e==null?"":String(e).trim();function _o(e,n,a){const r=[oa(e),oa(n),oa(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function _y(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const wy={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function Ay(e,n){const a=wy[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function iu(e,n){return n!=="wornAt"?String(e[n]??""):_y(e.wornYear,e.wornMonth,e.wornDay)}function By({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=ye.useTranslation(),d=b=>b==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:c,\uCE78:p}=nb(),m=o.useMemo(()=>{if(!c)return e;const{key:b,asc:y}=c;return[...e].sort((w,h)=>{if(b==="worn"){const _=Number(h.worn)-Number(w.worn);return y?_:-_}return eo(iu(w,b),iu(h,b),y)})},[e,c]),{pageRows:C,pageSizeProps:g,paginationProps:v}=tb(m,c);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(po,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:g,pagination:v,actions:l&&t.jsx(pe,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(xo,{loading:n,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(u("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(u("device.direction.label","\uBC29\uD5A5"),"side"),p(u("device.deviceType","\uC885\uB958"),"device"),p(u("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(u("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(u("device.productName","\uC81C\uD488\uBA85"),"productName"),p(u("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...r?[{label:"",resizable:!1}]:[]],items:C.map((b,y)=>({id:b.id??`${b.side}-${y}`,row:b})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:b})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:y=>y.stopPropagation(),children:t.jsx(Vl,{checked:b.worn,disabled:b.worn?!i:!s,ariaLabel:b.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:y=>{y?s?.(b):i?.(b)}})})},{content:t.jsx("span",{children:d(b.side)})},{content:b.device?t.jsx(xt,{size:"small",variant:su(b.device),fill:"soft",label:Ay(b.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:b.brand})},{content:t.jsx("span",{children:b.fitType||"-"})},{content:t.jsx("span",{children:b.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:_o(b.wornYear,b.wornMonth,b.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(pe,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:y=>{y?.stopPropagation(),r(b)}})})}]:[]],onRowClick:({row:b})=>a(b),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function lu(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function ky(e,n){return new Date(e,n+1,0).getDate()}function Ny(e,n){return new Date(e,n,1).getDay()}function Dy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i,i18n:l}=ye.useTranslation(),u=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),d=Or(s),[c,p]=o.useState(()=>Number(d.slice(0,4))),[m,C]=o.useState(()=>Number(d.slice(5,7))-1),[g,v]=o.useState(null),b=o.useRef(null),y=o.useMemo(()=>{const x={};return e.forEach(N=>{x[N.date]||(x[N.date]=[]),x[N.date].push(N)}),x},[e]),w=o.useMemo(()=>{const x=ky(c,m),N=Ny(c,m),k=[];for(let B=0;B<N;B++)k.push(null);for(let B=1;B<=x;B++)k.push(B);for(;k.length<35;)k.push(null);return k},[c,m]),h=o.useCallback(()=>{m===0?(p(x=>x-1),C(11)):C(x=>x-1)},[m]),_=o.useCallback(()=>{m===11?(p(x=>x+1),C(0)):C(x=>x+1)},[m]),f=x=>`${c}-${String(m+1).padStart(2,"0")}-${String(x).padStart(2,"0")}`,A=x=>f(x)===d;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:h,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ze,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:c,month:m+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:_,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ze,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[u.map(x=>t.jsx("div",{className:"calendar-day-header body-3",children:x},x)),w.map((x,N)=>{if(x===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${N}`);const k=x,B=f(k),E=y[B]??[],S=IC(B,l.language),z=g===B;return t.jsxs("div",{className:`calendar-cell${A(k)?" today":""}${z?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:B}):void 0,"aria-current":A(k)?"date":void 0,onClick:r?()=>r(B):void 0,onKeyDown:r?R=>{R.target===R.currentTarget&&(R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),r(B)))}:void 0,onDragOver:a?R=>{R.preventDefault(),v(B)}:void 0,onDragLeave:a?R=>{R.currentTarget.contains(R.relatedTarget)||v(null)}:void 0,onDrop:a?R=>{R.preventDefault(),b.current!=null&&(a(b.current,B),b.current=null),v(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:k}),E.length>0&&t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":`${S} ${i("calendar.visitCount",{count:E.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"})}`,children:[t.jsx("span",{className:"calendar-cell__visit-dot","aria-hidden":"true"}),E.length]}),t.jsx("div",{className:"calendar-cell__badges",children:E.map((R,q)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${R.status==="noVisit"?" calendar-visit-badge--no-visit":R.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?j=>{b.current=R.id,j.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{b.current=null,v(null)}:void 0,onClick:n?j=>{j.stopPropagation(),n(R)}:void 0,...lu(n?()=>n(R):void 0),"aria-label":[S,R.time?pi(R.time,i):null,R.customer,i(R.status==="noVisit"?"calendar.legend.noVisit":R.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[R.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:pi(R.time,i)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:R.customer}),R.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},R.id??q))})]},k)})]})]})}const Ey={page:"h3",pagePopup:"h4",popup:"h5"};function sa({type:e="page",title:n,headingLevel:a,icon:r,action:s,disc:i,children:l,inGrid:u=!1,className:d,style:c}){const p=Ey[e],m=n||i||s||r,C=a?`h${a}`:"div";return t.jsxs("div",{className:Ne("section",`section--${e}`,u&&"section--in-grid",d),style:c,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ze,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(C,{className:`section__title ${p}`,children:n}),i&&t.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&t.jsx("div",{className:"section__action",children:s})]}),l]})}let wo=null,uu=!1;function cu(){if(uu||typeof document>"u")return;uu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(wo="keyboard")},!0);const e=()=>{wo="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}cu();function ar(){return cu(),wo==="keyboard"}const rr=20;function Sy(e){const{t:n}=ye.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:d,size:c,useDescriptionTooltip:p,onRemove:m,onMore:C,sectionType:g="page"}=e||{},[,v]=o.useState(0),b=typeof r<"u"?Array.isArray(r)?r:[]:[],y=b.length,[w,h]=o.useState(Math.min(y,rr)),_=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{h(Math.min(y,rr))},[y]),nl("speechear.data.updated",()=>v(N=>N+1));const f=o.useRef(null),A=o.useRef(null);function x(){const N=document.activeElement;A.current=ar()&&N&&N.closest?.(".training-block__more")?w:null,h(k=>Math.min(y,k+rr))}return o.useEffect(()=>{const N=A.current;if(N==null)return;A.current=null;const k=document.activeElement;k&&k!==document.body||f.current?.querySelectorAll(".training-block-button")[N]?.focus()},[w]),t.jsxs(sa,{type:g,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",ref:f,children:(b||[]).slice(0,w).map((N,k)=>{const B=N;return t.jsx(lo,{index:k,type:a,trainingData:B,depth:_,renderPopup:i,completedIds:l,selectedIds:u,size:c,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof d=="function"&&B?.id!=null?()=>d(String(B.id)):void 0,onMore:typeof C=="function"?E=>C(B,E):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${k}`)})}),y>rr&&w<y&&t.jsx("div",{className:"training-block__more",children:t.jsx(pe,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:x,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function Ao(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=o.useCallback(()=>r(!1),[]),u=o.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:n,loading:a,failed:s,hasImage:!!e&&!s,onLoad:l,onError:u}}var jy='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Ty=jy,Bo=o.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:s=!1,onSelect:i,flipDelay:l=0,hideLabel:u=!1,hideAudio:d=!1,orderRank:c=null},p){const{t:m}=ye.useTranslation(),C=e.word||e.title||"",g=n||!C,v=e.audio??e.sound??e.audioKey,b=e.subLabel||e.pronunciation||"",y=e.colloquialLabel||"",[w,h]=o.useState({label:C,subLabel:b,colloquialLabel:y,homonum:e.homonum});C&&(w.label!==C||w.subLabel!==b||w.colloquialLabel!==y||!Object.is(w.homonum,e.homonum))&&h({label:C,subLabel:b,colloquialLabel:y,homonum:e.homonum});const _=o.useRef(null),f=tn("(max-width: 767px)"),[A,x]=o.useState(!1),N=`${typeof v=="string"?v:v?.src??""}\0${C}`,[k,B]=o.useState({for:"",url:""}),E=k.for===N?k.url:"",S=oi(),z=e.textOnly??(!e.image&&!!w.label&&!!S&&S.entries.length>0&&!S.byWord.has(w.label)),R=z?"":Xn()?.(w.label,w.homonum)??e.image??"",{imgRef:q,loading:j,hasImage:L,onLoad:O,onError:Z}=Ao(R);o.useEffect(()=>{let I=!1;return(async()=>{if(v){if(typeof v=="string"){if(v.startsWith("http")||v.includes("/")){B({for:N,url:v});return}}else if(typeof v=="object"&&!Array.isArray(v)){const K=v.src;if(K){B({for:N,url:K});return}}}const $=jr();if($&&C)try{const K=await Promise.resolve($(C));!I&&K&&B({for:N,url:K})}catch{}})(),()=>{I=!0}},[v,C,N]);const ee=o.useRef(!0),W=o.useRef(null);o.useEffect(()=>(ee.current=!0,()=>{ee.current=!1,W.current&&Qa(W.current),W.current=null;try{_.current?.pause()}catch{}_.current=null}),[]);const U=o.useCallback(()=>new Promise(I=>{if(typeof window<"u"&&window.speechSynthesis&&C){x(!0),window.speechSynthesis.cancel();const $=new SpeechSynthesisUtterance(C);$.lang="ko-KR",$.onend=()=>{x(!1);try{a?.()}catch{}I()},$.onerror=()=>{x(!1),I()},window.speechSynthesis.speak($)}else I()}),[C,a]),P=o.useCallback(I=>new Promise($=>{let K=!1;const ne=()=>{K||(K=!0,x(!1),$(!1))};try{const X=new Audio(I);_.current=X,X.onended=()=>{if(!K){K=!0,x(!1);try{a?.()}catch{}$(!0)}},X.onerror=ne,X.play().catch(ne)}catch{ne()}}),[a]),F=o.useCallback(async()=>{if(n||!ee.current)return;const I=()=>{W.current===I&&(W.current=null);try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)},$=Ja(I);W.current=I;try{window.speechSynthesis?.cancel()}catch{}try{if(E&&(x(!0),await P(E)))return;const K=nC();if(K&&C)try{const ne=await Promise.resolve(K(C));if(!ee.current||W.current!==I||ne&&(x(!0),await P(ne)))return}catch{}if(!ee.current||W.current!==I)return;await U()}finally{$(),W.current===I&&(W.current=null)}},[n,E,C,P,U]);o.useImperativeHandle(p,()=>({play:()=>F()}),[F]);const D=I=>I.stopPropagation(),H=o.useCallback(I=>{if(I.stopPropagation(),!n){if(A){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}F()}},[n,A,F]),M=Ne("training-word-card",n?"training-word-card--disabled":"",g?"training-word-card--flipped":"",r?"training-word-card--selectable":"",s?"training-word-card--selected":"");return t.jsx("div",{className:M,onClick:r&&!n?i:void 0,role:r?"button":void 0,"aria-pressed":r?s:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?I=>{I.target===I.currentTarget&&(I.key==="Enter"||I.key===" "||I.key==="Spacebar")&&(I.preventDefault(),i?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:g?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[s&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:D,children:t.jsx(xt,{type:"dot",size:40,position:"inline",animate:!0,icon:c!=null?void 0:"check",number:c??void 0,"aria-label":c!=null?m("training.nthSelected",{n:c}):m("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:z?t.jsx("div",{className:"training-word-card__text-face",children:w.label}):L?t.jsxs(t.Fragment,{children:[j&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:q,className:"training-word-card__image",src:R,alt:w.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:j?0:1},onLoad:O,onError:Z})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!u&&t.jsxs("div",{className:"training-word-card__body",children:[!z&&t.jsx("div",{className:"training-word-card__word",children:w.label}),w.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",w.subLabel,"]"]}),w.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",w.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?D:void 0,children:t.jsx(pe,{htmlType:"button",size:f?40:48,type:f?"dot":"bar",icon:A?"pause":"play",label:f?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:A,onClick:H,disabled:n,ariaLabel:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:Ty,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),My=260;function Tn(e){const{t:n}=ye.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:d,footerStart:c,footerEnd:p,footerClassName:m="",footerLayout:C="center",onClose:g,closeDisabled:v=!1,beforeClose:b,closeOnBackdrop:y=!0,className:w="",ariaLabel:h,useTitle:_=!0,inline:f=!1,size:A,layer:x="modal",height:N,fillBody:k=!1,resetScrollKey:B}=e||{},[E,S]=o.useState(!1),z=o.useRef(!1),R=o.useRef(null),q=o.useId(),j=o.useRef(null);o.useEffect(()=>{},[f,a,h,w]),o.useEffect(()=>{B!==void 0&&j.current&&(j.current.scrollTop=0)},[B]);const[L,O]=o.useState(!1);o.useEffect(()=>{const X=j.current;if(!X)return;const ae=()=>O(X.scrollHeight>X.clientHeight+1);if(ae(),typeof ResizeObserver>"u")return;const ue=new ResizeObserver(ae);ue.observe(X);const le=X.firstElementChild;return le&&ue.observe(le),()=>ue.disconnect()},[l,B]),o.useEffect(()=>{if(!f)return Pl()},[f]),o.useEffect(()=>{if(f)return;const X=document.activeElement,ae=R.current;return qr(ae,X),ae&&!ae.contains(document.activeElement)&&(ae.querySelector(mn)??ae).focus(),()=>{const ue=document.activeElement;(!ue||ue===document.body||ae&&ae.contains(ue))&&Ur(X)?.focus?.()}},[f]),Vr(R,!f);const Z=o.useRef(!0),ee=Gr(),W=o.useRef(null);o.useEffect(()=>(Z.current=!0,()=>{Z.current=!1,W.current&&(clearTimeout(W.current),W.current=null)}),[]);const U=o.useCallback(()=>{!Z.current||!z.current||(z.current=!1,S(!1))},[]),P=o.useCallback((X,ae=!1)=>{if(ae&&!Z.current||z.current)return;z.current=!0,S(!0);const ue=setTimeout(()=>{W.current===ue&&(W.current=null);let le;try{le=X?X():void 0}catch{U();return}le&&typeof le.then=="function"&&le.then(()=>{setTimeout(U,120)},U)},ee?0:My);ae&&(W.current=ue)},[U,ee]),F=o.useCallback(()=>{v||b&&b()===!1||P(g,!0)},[P,g,v,b]),D=o.useRef(F);o.useEffect(()=>{D.current=F});const H=!f&&!!g;o.useEffect(()=>{if(H)return zn(()=>D.current())},[H]);const M=H&&y,I=o.useRef(!1),$=X=>{I.current=X.target===X.currentTarget},K=X=>{const ae=I.current;I.current=!1,ae&&X.target===X.currentTarget&&F()},ne=t.jsx("div",{className:`popup ${f?"popup--inline":""} ${x==="belowPagePopup"?"popup--below-page-popup":""} ${E?"popup--closing":""} ${w}`,onPointerDown:M?$:void 0,onClick:M?K:void 0,onMouseDown:f?void 0:X=>{X.target===X.currentTarget&&X.preventDefault()},children:t.jsxs("div",{ref:R,className:`popup-panel${A?` popup-panel--${A}`:""}${N!=null?" popup-panel--has-height":""}${k?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:f?void 0:"dialog","aria-modal":f?void 0:!0,"aria-labelledby":!f&&_&&a?q:void 0,"aria-label":!f&&!(_&&a)?h??(typeof a=="string"?a:void 0):void 0,children:[!_&&(s||g)?t.jsxs("div",{className:"popup-close-float",children:[s,g&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:F,disabled:v,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||s||g?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[a?t.jsx("h2",{id:q,className:"popup-title popup-title--left h2",children:a}):t.jsx("span",{id:q,className:"popup-title popup-title--left h2"}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),i&&t.jsx("div",{className:"popup-header-segment",children:t.jsx(An,{size:40,ariaLabel:i.ariaLabel,options:i.options.map(X=>({key:X.key,label:X.label,disabled:X.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,g&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:F,disabled:v,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:j,tabIndex:L?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:P,closeWithAnimation:F}):l})}),c||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof c=="function"?c({animateThen:P,closeWithAnimation:F}):c}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:P,closeWithAnimation:F}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${C!=="center"?` popup-footer--${C}`:""}`,children:u.map((X,ae)=>t.jsx(pe,{htmlType:"button",size:48,variant:X.variant??"default",label:X.label,disabled:X.disabled,onClick:()=>X.onClick?.({animateThen:P,closeWithAnimation:F})},ae))}):d?t.jsx("div",{className:`popup-footer${C!=="center"?` popup-footer--${C}`:""}${m?` ${m}`:""}`,children:typeof d=="function"?d({animateThen:P,closeWithAnimation:F}):d}):null]})});return f||typeof document>"u"?ne:Xt.createPortal(ne,document.body)}function or(e){return String(e)}const sr=["o","triangle","x"];function du(e,n){return e===n?null:n}const pu={o:"circle",triangle:"triangle",x:"x"},mu={o:"main",triangle:"warn",x:"danger"};function Ly(e){let n=0,a=0,r=0;for(const i of Object.values(e))i==="o"?n++:i==="triangle"?a++:i==="x"&&r++;const s=n+a+r;return{marked:s,o:n,triangle:a,x:r,rate:s===0?null:(n+a*.5)/s}}function ko(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function hu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function $y(e,n){return!n&&e>0}const ia={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function Ry(e="landscape"){an("print-word-table-deprecated","[printWordTable] @deprecated \u2014 WordTablePopup renderButtons \uC758 print(\uB610\uB294 useWordTablePrint().print)\uB97C \uC4F0\uC138\uC694. \uC804\uC5ED \uC778\uC1C4\uB294 \uD654\uBA74\uC758 \uBAA8\uB4E0 \uB2E8\uC5B4\uD45C\uB97C \uD568\uAED8 \uCC0D\uC2B5\uB2C8\uB2E4.");const{printSize:n,printW:a,printH:r}=ia[e],s=document.createElement("style");s.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(s);const i=()=>{document.head.removeChild(s),window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),window.print()}function Cu(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let s=0;s<e.length;s+=a)r.push(e.slice(s,s+a));return r}const Py={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function Iy(e,n){const a=Py[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),s=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let i,l;return e==="landscape"?(l=s,i=Math.ceil(r/l)):(i=s,l=Math.ceil(r/i)),(e==="landscape"?i<l:l<i)&&([i,l]=[l,i]),{cols:i,rows:l}}const Fy={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},fu={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},gu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function No(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function bu(e,n,a,r){if(r!=="\uC810\uC120")return{};const s=e%n,i=Math.floor(e/n),l=s<n-1,u=i<a-1;if(!l&&!u)return{};const d="#ddd",c=g=>`repeating-linear-gradient(to ${g}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,p=[],m=[],C=[];return l&&(p.push(c("bottom")),m.push("1px 100%"),C.push("right center")),u&&(p.push(c("right")),m.push("100% 1px"),C.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:C.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const Oy=280,Hy=240,zy=280,Vy=400,Wy=120,qy=280;function yu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((d,c)=>{if(!(d>0))return;const p=d/e,m=n&&c>0?c/n:1/0,C=Math.min(1,p,m);s(C),l(Math.max(0,(d-e*C)/2))},[e,n]);return o.useEffect(()=>{const d=a.current;if(!d)return;const c=n?d.parentElement??d:d;if(u(c.clientWidth,c.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(c),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Uy={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},Gy=400,vu=8;function xu({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:d=40,wordInfo:c}){const{t:p}=ye.useTranslation(),m=o.useRef(null),C=o.useRef(null),g=o.useRef(null),[v,b]=o.useState(1),[y,w]=o.useState(!1),[h,_]=o.useState({for:"",url:""}),[f,A]=o.useState(null),x=n&&n.length>0?n:rC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:k,loading:B,failed:E,onLoad:S,onError:z}=Ao(N),R=o.useCallback(()=>A(C.current?.getBoundingClientRect()??null),[]),q=o.useCallback(()=>A(null),[]),j=Yr(!!f,H=>{H?R():q()},C),L=o.useMemo(()=>{if(!c)return null;const H=[];return c.grade&&H.push(p("wordTable.info.grade",{n:c.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),c.syllables&&H.push(p("wordTable.info.syllables",{n:c.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),c.pos&&H.push(p("wordTable.info.pos",{v:No(c.pos,Ky(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),c.wordType&&H.push(p("wordTable.info.wordType",{v:No(c.wordType,Yy(p)),defaultValue:"\uC720\uD615: {{v}}"})),H.length?H:null},[c,p]),O=x||e,Z=h.for===O?h.url:"";o.useEffect(()=>{const H=jr(),M=x||e;if(!H||!M)return;let I=!1;return Promise.resolve(H(M)).then($=>{!I&&$&&_({for:M,url:$})}),()=>{I=!0}},[x,e]);const ee=o.useRef(null),W=o.useRef(null);o.useEffect(()=>()=>{g.current?.pause(),W.current?.()},[]);const U=o.useCallback(async H=>{if(H.stopPropagation(),y){ee.current?.();return}if(Z){w(!0);try{const M=new Audio(Z);g.current=M;const I=()=>{w(!1),W.current?.()},$=()=>{M.pause(),I()};ee.current=$;const K=Ja($);W.current=K,M.onended=I,M.onerror=I,await M.play()}catch{w(!1),W.current?.()}}},[y,Z]),P=i&&!!N&&!E,F=P&&s?Oy:P?zy:Hy,D=P&&s?Vy:P?qy:Wy;return o.useEffect(()=>{const H=m.current;if(!H||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([I])=>{const{width:$,height:K}=I.contentRect;b(Math.min($/F,K/D))});return M.observe(H),()=>M.disconnect()},[F,D]),t.jsxs("div",{ref:m,className:Ne("word-table-cell",P?"word-table-cell--with-image":""),"data-ref-w":F,"data-ref-h":D,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${v})`},children:[P&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:k,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:S,onError:z})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),u&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":Z,children:[t.jsx("span",{"data-play-state":"play",style:{display:y?"none":void 0},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),ariaLabel:e?p("common.playFor",{name:e,defaultValue:`${e} \uC7AC\uC0DD`}):p("common.play","\uC7AC\uC0DD"),onClick:U})}),t.jsx("span",{"data-play-state":"pause",style:{display:y?void 0:"none"},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),ariaLabel:e?p("common.pauseFor",{name:e,defaultValue:`${e} \uBA48\uCDA4`}):p("common.pause","\uBA48\uCDA4"),onClick:U})})]}),c&&t.jsxs("div",{ref:C,className:"word-table-cell__info-button",onPointerEnter:H=>{ta(H)||R()},onPointerLeave:H=>{ta(H)||q()},onFocus:()=>{na()||R()},onBlur:q,children:[t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:H=>{H.stopPropagation(),j.touchPress()}}),f&&L&&t.jsx(Vn,{anchorRect:f,items:L,showIndex:!1})]})]})}const _u={\uBA85:"noun",\uB3D9:"verb",\uD615:"adjective",\uBD80:"adverb",\uC218:"numeral",\uAD00:"determiner",\uAC10:"interjection",\uC870:"particle",\uC811:"affix",\uC758:"dependentNoun",\uB300:"pronoun",\uBCF4\uB3D9:"auxVerb",\uBCF4\uD615:"auxAdjective"},wu={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Ky(e){return Object.fromEntries(Object.entries(fu).map(([n,a])=>[n,_u[n]?e(`wordTable.pos.${_u[n]}`,{defaultValue:a}):a]))}function Yy(e){return Object.fromEntries(Object.entries(gu).map(([n,a])=>[n,wu[n]?e(`wordSearch.filter.type.${wu[n]}`,{defaultValue:a}):a]))}function la({title:e,titleIcon:n,disc:a,className:r,orientation:s="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:u=!0,showDivLine:d=!0,items:c,editCells:p,count:m,activeCell:C=null,onActivateCell:g,onRemoveCell:v,onRemoveItem:b,onReorder:y,renderCellAction:w,showFillerAdd:h=!1,contentRef:_,buttonSize:f=40,brand:A,code:x,pageNumber:N,pageNumberPosition:k="right",fitHeight:B=!1,scoring:E=!1,marks:S,onMarkClick:z,scoreIndexOffset:R=0}){const q=o.useCallback((te,ce)=>{z?.(R+te,ce)},[z,R]),j=(te,ce)=>{const me=S?.[or(R+te)]??null;return t.jsx("div",{className:Ne("word-table-cell__score",me?"word-table-cell__score--marked":""),style:Me>1?{transform:`translateX(-50%) scale(${Me})`,transformOrigin:"bottom center"}:void 0,children:sr.map(Se=>t.jsx("span",{className:Ne("word-table-cell__score-slot",me===Se?"word-table-cell__score-slot--on":""),children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",shape:"pill",icon:pu[Se],variant:me===Se?mu[Se]:"default",selected:me===Se,useBorder:!1,...ke?{}:{tabIndex:-1,role:"img"},showTooltipInfo:L(`wordTable.scoring.markName.${Se}`,{defaultValue:Se}),ariaLabel:L(`wordTable.scoring.${Se}`,{word:ce,defaultValue:`${ce} ${Se}`}),onClick:ke?et=>{et.stopPropagation(),q(te,Se)}:void 0})},Se))})},{t:L}=ye.useTranslation(),O=p!==void 0,Z=e!=null||!!n||!!a,ee=tn("(max-width: 767px)"),W=o.useRef(null),[U,P]=o.useState(null),F=c?.length??0,[D,H]=o.useState(null),[M,I]=o.useState(""),$=o.useRef(null),K=o.useRef(null),ne=o.useRef(null),X=o.useRef(null),ae=o.useCallback(te=>{K.current=te,typeof _=="function"?_(te):_&&(_.current=te)},[_]),ue=o.useCallback((te,ce)=>{$.current=ce,y?.(te,ce),I(L("wordTable.reorder.moved",{n:ce+1,total:F,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[y,L,F]);o.useEffect(()=>{const te=$.current;te!=null&&($.current=null,K.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[te]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{X.current?.()},[]);const le=o.useCallback((te,ce)=>{if(!y||!te.altKey||te.ctrlKey||te.metaKey)return;const me=te.key==="ArrowRight";if(!me&&te.key!=="ArrowLeft")return;te.preventDefault();const Se=ce+(me?1:-1);Se<0||Se>=F||ue(ce,Se)},[y,F,ue]),be=o.useCallback((te,ce)=>{if(!y||te.pointerType==="mouse")return;const me=te.target.closest?.("button");if(me&&!me.closest(".word-table-block__card-handle"))return;X.current?.();const Se={x:te.clientX,y:te.clientY};let et=!1;const Ke=Ge=>{et&&Ge.cancelable&&Ge.preventDefault()},bt=Ge=>{if(!et){(Math.abs(Ge.clientX-Se.x)>vu||Math.abs(Ge.clientY-Se.y)>vu)&&tt();return}const Ye=document.elementFromPoint?.(Ge.clientX,Ge.clientY)?.closest?.("[data-wordtable-cell]"),Re=Ye?Number(Ye.dataset.wordtableCell):NaN,We=Number.isInteger(Re)?Re:null;ne.current=We,P(We)},ut=()=>{const Ge=ne.current,Ye=et;tt(),Ye&&Ge!=null&&Ge!==ce&&ue(ce,Ge)},it=setTimeout(()=>{et=!0,H(ce),ne.current=ce,P(ce),window.addEventListener("touchmove",Ke,{passive:!1})},Gy);function tt(){clearTimeout(it),window.removeEventListener("pointermove",bt),window.removeEventListener("pointerup",ut),window.removeEventListener("pointercancel",ut),window.removeEventListener("touchmove",Ke),et=!1,ne.current=null,X.current=null,H(null),P(null)}X.current=tt,window.addEventListener("pointermove",bt),window.addEventListener("pointerup",ut),window.addEventListener("pointercancel",ut)},[y,ue]),{width:V,height:Q}=ia[s],oe=typeof B=="number"?B:B&&typeof B=="object"?ee?B.narrow:B.wide:null,{scalerRef:Be,scale:Ce,offset:se}=yu(V,B?Q:void 0),ge=O?p?.length??0:c?.length??0,fe=Math.max(m??ge,1),{cols:xe,rows:$e}=Iy(s,fe),Le={word:i.length===0||i.includes("\uB2E8\uC5B4"),image:i.length===0||i.includes("\uC774\uBBF8\uC9C0"),pron:i.length===0||i.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:i.length===0||i.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},Qe=O?(p??[]).some(te=>te!==null&&te.length>1):(c??[]).some(te=>(te.words??[]).length>1),Ue=!!A?.show,ze=!!A?.show&&A?.top!==!1,Ie=!!A?.show&&A?.bottom!==!1,st=A?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Xe=Ne("word-table-block__content",Fy[l],u&&"word-table-block__content--outline",d&&Qe&&"word-table-block__content--div-line",!Ue&&N&&k!=="none"&&"word-table-block__content--page-number",ze&&"word-table-block__content--brand-top",Ie&&"word-table-block__content--brand-bottom"),Je={transform:`scale(${1/Ce})`,transformOrigin:"center center"},Ee=f*sr.length+4*(sr.length-1),ke=!!z,Me=ke?Math.max(1,Math.min(1/Ce,V/xe/Ee)):1,Ve=t.jsxs("div",{ref:Be,className:"word-table__scaler",style:{height:Q*Ce},children:[t.jsx("div",{className:Ne("word-table",E&&!ke&&"word-table--score-readonly",!Z&&r),style:{width:V,height:Q,transform:`scale(${Ce})`,transformOrigin:"top left",marginLeft:se},children:t.jsxs("div",{ref:ae,className:Xe,style:{gridTemplateColumns:`repeat(${xe}, 1fr)`,gridTemplateRows:`repeat(${$e}, 1fr)`},children:[O?t.jsx(t.Fragment,{children:(p??[]).map((te,ce)=>t.jsx("div",{className:Ne("word-table-block__edit-cell",te?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",C===ce?"word-table-block__edit-cell--active":""),style:bu(ce,xe,$e,l),children:te?t.jsxs(t.Fragment,{children:[te.map((me,Se)=>t.jsxs(o.Fragment,{children:[Se>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(xu,{label:me.word,subLabel:me.pronunciation,colloquialLabel:me.colloquialPronunciation,homonum:me.homonum,showWord:Le.word,showImage:Le.image,showPronunciation:Le.pron,showColloquial:Le.colloq,buttonSize:f})]},Se)),E&&j(ce,te.map(me=>me.word).join(" / ")),v&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:te.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:te.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>v(ce)})})]}):g&&t.jsx("div",{style:Je,children:t.jsx(pe,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(ce)})})},ce))}):t.jsxs(t.Fragment,{children:[(c??[]).map((te,ce)=>t.jsxs("div",{"data-wordtable-cell":y?ce:void 0,className:`word-table-block__card${y?" word-table-block__card--draggable":""}${U===ce?" word-table-block__card--drag-over":""}${D===ce?" word-table-block__card--dragging":""}`,style:bu(ce,xe,$e,l),draggable:!!y,onPointerDown:y?me=>be(me,ce):void 0,onKeyDown:y?me=>le(me,ce):void 0,onDragStart:y?()=>{W.current=ce}:void 0,onDragOver:y?me=>{me.preventDefault(),P(ce)}:void 0,onDragLeave:y?()=>P(null):void 0,onDrop:y?me=>{me.preventDefault(),W.current!==null&&W.current!==ce&&y(W.current,ce),W.current=null,P(null)}:void 0,onDragEnd:y?()=>{W.current=null,P(null)}:void 0,children:[(te.words??[]).map((me,Se)=>t.jsxs(o.Fragment,{children:[Se>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(xu,{label:me.label,subLabel:me.subLabel,colloquialLabel:me.colloquialLabel,homonum:me.homonum,showWord:Le.word,showImage:Le.image,showPronunciation:Le.pron,showColloquial:Le.colloq,buttonSize:f,wordInfo:me.grade||me.syllables!=null||me.pos||me.wordType?{grade:me.grade,syllables:me.syllables,pos:me.pos,wordType:me.wordType}:void 0})]},Se)),E&&j(ce,(te.words??[]).map(me=>me.label).join(" / ")),y&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:L("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:L("wordTable.reorder.handle",{word:(te.words??[]).map(me=>me.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(w||b)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[w?.(ce,te),b&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(te.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(te.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>b(te.id)})})]})]},te.id)),Array.from({length:Math.max(0,xe*$e-(c?.length??0))}).map((te,ce)=>{const me=(c?.length??0)+ce<fe;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:h&&g&&me&&t.jsx("div",{style:Je,children:t.jsx(pe,{htmlType:"button",size:f,type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((c?.length??0)+ce)})})},`filler-${ce}`)})]}),ze&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--top",children:[t.jsx("img",{className:"word-table__brand-logo",src:A?.topLogo?.src??Xa,alt:A?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const te=[A?.title&&t.jsx("span",{className:"word-table__paper-title",children:A.title},"t"),A?.owner&&t.jsx("span",{className:"word-table__owner",children:A.owner},"o"),x&&t.jsx("span",{className:"word-table__code",children:x},"c")].filter(Boolean);return te.length===0?null:t.jsx("span",{className:"word-table__ident",children:te.map((ce,me)=>t.jsxs(o.Fragment,{children:[me>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),ce]},me))})})()]})}),Ie&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--bottom",children:[t.jsxs("span",{className:"word-table__brand-by",children:[A?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:A.bottomLogo.src,alt:A.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:st})]}),t.jsxs("span",{className:"word-table__band-end",children:[A?.link&&t.jsx("span",{className:"word-table__link",children:A.link}),N&&k!=="none"&&t.jsx("span",{className:"word-table__page-count",children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!Ue&&N&&k!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${k}`,children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),y&&t.jsx("span",{role:"status",style:Uy,children:M})]}),lt=oe==null?Ve:t.jsx("div",{className:"word-table__frame",style:{height:oe},children:Ve});return Z?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:Ne("word-table-block",r),children:lt}):lt}function Zy(e,n,a){const r=[];for(const s of e??[]){if(s.type==="note"||s.type==="input")continue;const i=s.displayLabel??s.label,l=Xy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Xy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==sn);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>Jy(e,s)).join(", ")}function Jy(e,n){const a=[...e.items??[],...(e.groups??[]).flat()];for(const r of a)if(r!=null){if(typeof r=="string"){if(r===n)return r;continue}if(r.value===n)return r.displayLabel??r.labels?.join(" ")??r.value}return n}function kn({title:e,titleLevel:n=2,headerAction:a,headerSummary:r,collapsible:s=!1,defaultCollapsed:i=!1,collapsed:l,onCollapsedChange:u,footer:d,sections:c,selected:p={},onSelect:m,align:C,sectionAlign:g,className:v}){const b=(C??(g==="vertical"?"newline":"inline"))==="inline",{t:y}=ye.useTranslation(),[w,h]=o.useState(i),_=l??w,f=()=>{const S=!_;h(S),u?.(S)},A=S=>{if(!s)return;const z=S.target;!z||typeof z.closest!="function"||z.closest(".filter-panel__collapse-toggle")||z.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||f()},x=o.useMemo(()=>r!==void 0||!_?"":Zy(c,p,y("common.all","\uC804\uCCB4")),[r,_,c,p,y]),N=r??(x?t.jsx("span",{className:"filter-panel__header-summary body-3",children:x}):null),k=e||a||r||s,B=o.useId(),E=n?`h${n}`:"span";return t.jsxs("div",{className:Ne("filter-panel",s?"filter-panel--collapsible":"",_?"filter-panel--collapsed":"",v),role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?B:void 0,children:[k&&t.jsxs("div",{className:"filter-panel__header",onClick:s?A:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx(E,{id:B,className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[_?N:a,s&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:_?y("common.expand","\uD3BC\uCE58\uAE30"):y("common.collapse","\uC811\uAE30"),"aria-expanded":!_,onClick:f})]})]}),!_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:Ne("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(S=>{const z=p[S.label],R=z===void 0||(Array.isArray(z)?z.length===0:!1),q=(S.items??[]).filter(L=>L!=null);S.allOption&&q.some(L=>(typeof L=="string"?L:L.value)===sn)&&an(`filter-panel-all-value:${S.label}`,`[FilterPanel] '${S.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${sn}' \uC778 \uBCF4\uAE30\uAC00 \uD568\uAED8 \uC788\uB2E4 \u2014 \uB450 \uC120\uD0DD\uC774 \uAD6C\uBCC4\uB418\uC9C0 \uC54A\uB294\uB2E4. \uBCF4\uAE30 \uAC12\uC744 \uBC14\uAFD4\uB77C.`);const j=L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"&&!!L.disabled,ee=typeof L!="string"?L.labels:void 0,W=typeof L!="string"?L.displayLabel:void 0,U=typeof L!="string"?L.tooltip:void 0,P=typeof L!="string"?L.descriptionTooltip:void 0,F=typeof L!="string"?L.shape:void 0,D=Array.isArray(z)?z.includes(O):z===O;return t.jsx(pe,{htmlType:"button",size:"keyboard",label:ee??W??O,type:S.itemType??(ee?"bar":O.length===1?"dot":void 0),selected:D,disabled:Z,shape:F,showTooltipInfo:!!U,tooltipInfoText:U,tooltipDescription:P,onClick:()=>m?.(O,S.label)},O)};return t.jsxs(o.Fragment,{children:[S.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:S.groupLabel}),S.groupAction]}),t.jsxs("div",{className:Ne("filter-panel__section",S.layout==="row"?"filter-panel__section--row":"",S.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:S.displayLabel??S.label}),S.labelAction??(S.labelInfo?t.jsx(Ea,{...S.labelInfo}):null)]}),S.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:S.content}):S.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:S.placeholder,ariaLabel:S.displayLabel??S.label,value:p[S.label]??"",onChange:L=>m?.(L,S.label),error:S.error}):!S.multiple&&S.display==="segmented"?t.jsx(An,{ariaLabel:S.displayLabel??S.label,options:[...S.allOption?[{key:sn,label:S.allLabel??y("common.all","\uC804\uCCB4"),disabled:S.allOptionDisabled}]:[],...q.map(L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"?L.displayLabel:void 0,ee=typeof L!="string"?L.disabled:void 0;return{key:O,label:Z??O,disabled:ee}})],value:R&&S.allOption?sn:p[S.label]??"",onChange:L=>m?.(L,S.label),size:32}):!S.multiple&&S.display==="dropdown"?t.jsx(ln,{className:"filter-panel__dropdown",size:40,options:[...S.allOption?[{value:sn,label:S.allLabel??y("common.all","\uC804\uCCB4"),disabled:S.allOptionDisabled}]:[],...q.map(L=>{const O=typeof L=="string"?L:L.value,Z=typeof L!="string"?L.displayLabel:void 0,ee=typeof L!="string"?L.disabled:void 0;return{value:O,label:Z??O,disabled:ee}})],value:R&&S.allOption?sn:p[S.label],onChange:L=>m?.(L,S.label)}):t.jsxs("div",{className:S.groups?"filter-panel__item-groups":"filter-panel__items",children:[S.allOption&&!S.groups&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:S.allLabel??y("common.all","\uC804\uCCB4"),selected:R,disabled:S.allOptionDisabled,onClick:()=>m?.(sn,S.label)}),S.groups?S.groups.map((L,O)=>t.jsxs("div",{className:"filter-panel__item-group",children:[O===0&&S.allOption&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:S.allLabel??y("common.all","\uC804\uCCB4"),selected:R,disabled:S.allOptionDisabled,onClick:()=>m?.(sn,S.label)}),L.filter(Z=>Z!=null).map(j)]},O)):q.map(j)]})]})]},S.label)})}),d!=null&&d!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:d})]})]})}const Qy=[1,2,3,4,5,6,7,8,9,10,11,12],Au=[8,4,2,1];function Bu(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function ku(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function Nu(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Du(e){return{label:e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Eu(e){return{label:e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Su(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function ju(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Tu(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...Au.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Mu(e,n){return e===n||!Au.includes(e)?Number.POSITIVE_INFINITY:e}function e5(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const Lu={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function $u(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Ru(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",...n.showTopInfo!=null?{[e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")]:n.showTopInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{},...n.showBottomInfo!=null?{[e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")]:n.showBottomInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{}}}function Pu(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===sn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(s=>s.includes(n)?s.filter(i=>i!==n):[...s,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")?(r.setShowTopInfo?.(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")?(r.setShowBottomInfo?.(n==="\uD45C\uC2DC"),!0):!1}function t5(e){return"sections"in e}function Do(e){const{t:n}=ye.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d}=e,c={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d};if(t5(e))return t.jsx(kn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...c,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:C,orientation:g,showOutline:v,cutLine:b,showDivLine:y,setters:w,showCutLine:h=!1,showDivLine2:_=!1,middleSections:f=[],extraSelected:A={},onExtraSelect:x,showPaperBands:N=!1,showTopInfo:k=!0,showBottomInfo:B=!0}=e,E=[Bu(n,{hasImage:p,hasColloquial:m}),ku(n),...f,Nu(n),...h?[Su(n)]:[],..._?[ju(n)]:[],...N?[Du(n),Eu(n)]:[]],S={...Ru(n,{contentTypes:C,orientation:g,showOutline:v,cutLine:b,showDivLine:y,showTopInfo:k,showBottomInfo:B}),...A},z=(R,q)=>{Pu(n,R,q,w)||x?.(R,q)};return t.jsx(kn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:E,selected:S,onSelect:z,...c,sectionAlign:"horizontal"})}function Iu(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Eo(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let ir=null,ua=null;function n5(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?Eo(r):"";ir?.();let l=null;if(i){const c=document.title;document.title=i,l=()=>{document.title=c,window.removeEventListener("afterprint",l),ir===l&&(ir=null)},ir=l,window.addEventListener("afterprint",l)}const u=document.createElement("iframe");u.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(u);const d=u.contentDocument;if(!d){u.remove();return}ua={iframe:u,at:Date.now()},d.open(),d.write(So(e,n,a,!0,i,s)),d.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function So(e,n,a,r=!1,s="",i=""){s=s?Eo(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
|
|
860
860
|
`),u="light",d=i?`<div class="paper-head">${Iu(i)}</div>`:"",c=e.map(p=>{const m=p.cloneNode(!0);return m.querySelectorAll('[data-play-state="play"]').forEach(C=>C.style.display=""),m.querySelectorAll('[data-play-state="pause"]').forEach(C=>C.style.display="none"),m.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(C=>C.remove()),m.querySelectorAll(".word-table-cell__spinner").forEach(C=>C.remove()),m.querySelectorAll("img").forEach(C=>{C.style.opacity==="0"&&(C.setAttribute("onload","this.style.opacity=''"),C.setAttribute("onerror","this.style.visibility='hidden'"))}),`<div class="paper-wrap">${d}${m.outerHTML}</div>`}).join(`
|
|
861
861
|
`);return`<!DOCTYPE html>
|
|
862
862
|
<html data-theme="${u}">
|