@ihabdevteam/core 0.241.0 → 0.242.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 +25 -0
- package/dist/components.cjs.js +2 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +2 -2
- package/dist/ihabdevteam-core.d.ts +1 -1
- package/dist/packages/core/src/components/Popup/Popup.js +3 -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 J0(e){X0(e)}function Vs(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Ws(e){if(!e)return null;const n=fa();if(!n)throw new zs("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function qs(e){const n=fa();if(!n)throw new zs("downloadSound");return n.download(e)}function Q0(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Us(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function eC(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 Gs="__ihab_core_tts_config__";function Er(){return globalThis[Gs]?.urlResolver??null}function tC(){return globalThis[Gs]?.fallbackUrlResolver??null}const nC="__ihab_core_pronunciation_resolver__";function aC(){return globalThis[nC]??null}let En=null;const ga=new WeakMap,Sr=new WeakMap,jr=new WeakMap;let Ks=!1;const Ys=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function rC(){if(Ks||typeof document>"u")return;Ks=!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 Zs(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,rC(),En):null}catch{return null}}function Tr(){try{En?.resume()}catch{}}function Mr(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=Ys(Sr.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 Oa(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Zs();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Mr(a,e)?.analyser??null);const r=jr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Mr(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{jr.delete(e)});return jr.set(e,s),s}function oC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Zs();return a?a.state==="running"?Mr(a,e)?.analyser??null:(Oa(e),null):null}function Sn(e,n){const a=Ys(n);Sr.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 Ha(e){return Sr.get(e)??e.volume}function sC(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 iC="__ihab_core_image_config__";function Xn(){return globalThis[iC]??null}const Xs="word_image_existence_map_v1";let Hn=null;const za=new Map;function lC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(Xs):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Lr=null;function uC(){Lr||(Lr=setTimeout(()=>{Lr=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(Xs,JSON.stringify(Hn))}catch{}},200))}function cC(e,n){return`${e}_${n??1}`}async function Js(e,n){const a=lC(),r=cC(e,n);if(r in a)return a[r];if(za.has(r))return za.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:eC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(za.delete(r),u===null?!1:(a[r]=u,uC(),u)));return za.set(r,l),l}const dC={\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"}},Qs=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ei=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],pC=["","\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 mC(e){const n=ba(e[0]||"");return n?Qs[n.cho]:""}function hC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>Qs.includes(l),r=l=>ei.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 c=0;c+n.length<=u.length;c++){let d=!0;for(let p=0;p<n.length;p++){const m=u[c+p],h=s[p];if(h==="cho"){if(mC(m)!==n[p]){d=!1;break}}else if(h==="jung"){const g=ba(m);if(!g||ei[g.jung]!==n[p]){d=!1;break}}else{const g=i[p];if(g&&g.jong===0){const b=ba(m);if(!b||b.cho!==g.cho||b.jung!==g.jung){d=!1;break}}else if(m!==n[p]){d=!1;break}}}if(d)return!0}return!1}}const CC={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(CC).map(([e,n])=>[n.join(""),pC[Number(e)]]));const fC="word_pair_index_v2",gC="word_pair_index_sig_v2";let Va=null;function bC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(fC),n=localStorage.getItem(gC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function yC(){if(Va)return Va;const e=bC();return e?(Va=e.index,e.sig,Va):null}const $r=/[ㄱ-ㅎ]/,vC=/[ㅏ-ㅣ]/;function ti(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||$r.test(a)||vC.test(a))return a}return null}function xC(e){const n=ti(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":$r.test(n)?"\uC774":"\uAC00"}function _C(e){return`${e}${xC(e)}`}function wC(e){const n=ti(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":$r.test(n)?"\uC744":"\uB97C"}function AC(e){return`${e}${wC(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 BC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof Et?.t=="function"?Et.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function ni(e,n){if(n===void 0&&(n=BC()),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 NC="__ihab_core_word_pool__";function ai(){return globalThis[NC]??null}const ri=globalThis;function oi(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function DC(e){oi("time",()=>ri.__ihabTrainingTimeLogger?.(e))}function EC(e){oi("completion",()=>ri.__ihabTrainingCompletionLogger?.(e))}function Gt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function SC(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 jC(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:SC(r)}}):[]}const Rr=globalThis;async function TC(){try{return await Rr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function si(e){const n=a=>{};try{const a=Rr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Wa(e){try{Rr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function MC(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 LC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function ii(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=LC.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}function va(){return Ir(new Date)}function Pr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return RC(va())}const $C=540*60*1e3;function li(e,n,a){return new Date(Date.UTC(e,n,a)-$C)}function RC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Ir(e){if(e==null||e==="")return"";const n=ii(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function ui(e,n){if(!e)return"";const a=ii(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),c=Math.floor(u/7),d=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}):c<5?n("store.time.weeksAgo",{n:c}):u<365?n("store.time.monthsAgo",{n:Math.min(d,11)}):n("store.time.yearsAgo",{n:p})}function ci(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Ir(e instanceof Date?e:String(e));if(!l)return i;const[u,c,d]=l.split("-"),p=r?c:String(Number(c)),m=r?d:String(Number(d));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 di(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 Fr(e){return(e??0).toLocaleString("ko-KR")}const PC=[{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"}]}],IC=[{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 pi(){return PC}function FC(){return IC}const OC=[],HC=[],zC=[],VC=[];function WC(){return{LISTEN_IN_NOISE:OC,SHORT_STORY:HC,LONG_STORY:zC,ORDERING_SENTENCE:VC}}const qC=[{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."}],mi={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function UC(e){return qC.map(n=>{const a=mi[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let qa=null,hi=null,Ci=null;function GC(){const e=ai();if(e&&e.entries.length>0){const n=yC();if(qa&&hi===e&&Ci===n)return qa;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 qa=r,hi=e,Ci=n,qa}return[]}new Proxy([],{get(e,n){const a=GC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const KC="0.241.0";function YC(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 ZC(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&YC(r.attrValue)&&(r.keepAttr=!1)};Nr.addHook("uponSanitizeAttribute",n);try{return Nr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Nr.removeHook("uponSanitizeAttribute",n)}}function XC(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,c]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const d=e.split("/").pop();let p=e;d&&(e.startsWith("/")?p=Dr(e):/^(Logo|Symbol)/i.test(d)?p=Dr(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let d=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const h=m.headers.get("content-type")||"";if(d)return;if(h.includes("svg")){s("mask");return}if(h.startsWith("image/")){s("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const b=await g.text();if(d)return;if(/^\s*<svg[\s>]/i.test(b)){const f=ZC(b);if(!f){s("none");return}l(f),s("inline");return}s("none")}catch{d||s("none")}}return p(),()=>{d=!0}},[n]),o.useEffect(()=>{let d=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{d||(p=URL.createObjectURL(m),c(p))}).catch(()=>{d||s("img")}),()=>{d=!0,p&&URL.revokeObjectURL(p),c(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ke(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:c}=e||{},d=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",h=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,b=m0(g),{iconToUse:f,mode:A,svgText:y,blobUrl:C}=XC(g),w=(x,B={})=>t.jsx("span",{className:d,style:u,...B,children:x}),v=typeof c=="number"?{width:c,height:c,objectFit:"contain"}:null,k=(x,B={})=>t.jsx("img",{src:x,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:v?{...B.style,...v}:B.style});if(!n)return null;if(typeof n!="string")return w(n);if(n==="none")return w(t.jsx("span",{className:h,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(b)try{return w(o.createElement(b,{className:h,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(f&&f.endsWith(".svg")){if(A==="mask"){const x={"--icon-url":C?`url(${C})`:`url(${f})`,...typeof c=="number"?{"--icon-size":`${c}px`}:null};return w(t.jsx("span",{className:m,style:x}),{"aria-hidden":"true"})}return A==="img"?w(k(f,{onError:x=>{x.currentTarget.onerror=null,x.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):A==="inline"?w(t.jsx("span",{className:h,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):w(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return k(Dr(n),{style:u,onError:x=>{x.currentTarget.onerror=null,x.currentTarget.style.display="none"}});const _=typeof c=="number"?c:20,N=`<svg width="${_}" height="${_}" 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 w(t.jsx("span",{className:h,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function fi(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 JC({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=fi(r?.onClick);return t.jsxs("div",{className:De("empty-state",s),children:[e&&t.jsx(Ke,{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(Ke,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function QC({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=be.useTranslation(),{pending:u,press:c}=fi(r);return t.jsxs("div",{className:De("empty-state","error-state",i),role:"alert",children:[t.jsx(Ke,{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:c,disabled:u,"aria-busy":u||void 0,children:[t.jsx(Ke,{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 ef({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const c=o.useId(),d=`${c}-title`,p=`${c}-desc`,m=`${c}-cta`,h=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":d,"aria-describedby":`${p} ${m}`,onClick:h,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),h())},className:De("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(Ke,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:d,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(Ke,{icon:"arrow-right",size:18})})]})]})})}function tf({as:e="div",className:n="",children:a,storage:r,...s}){r&&J0({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=De("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Or(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(yn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],c=document.activeElement,d=c===a;s.shiftKey&&(c===l||d)?(s.preventDefault(),u.focus()):!s.shiftKey&&c===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const yn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Hr=new WeakMap;function zr(e,n){e&&Hr.set(e,n)}function Vr(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Hr.has(r);)r=r.parentElement;if(!r)return n;n=Hr.get(r)??null}return n}function gi(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 Ua(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(gi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(yn)).filter(c=>!(e&&e.contains(c))&&gi(c));let i=null,l=null;for(const c of s)r.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING?i=c:l||(l=c);const u=i??l;return u?.focus(),u}function nf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=be.useTranslation(),[c,d]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const f=p.current;f&&f.contains(document.activeElement)&&Ua(f),d(!0)},[]);if(c)return null;const h=`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:h,role:"note",children:[a.map((f,A)=>t.jsxs("div",{className:"notice-box__inner",children:[f.title?t.jsx("span",{className:"notice-box__title body-3",children:f.title}):null,t.jsx("div",{className:"notice-box__body",children:f.lines&&f.lines.length?t.jsx("div",{children:f.lines.map((y,C)=>t.jsx("span",{className:"notice-box__line body-3",children:y},C))}):f.children??null})]},A)),g]});const b=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((f,A)=>t.jsx("li",{className:"notice-box__line",children:f},A))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:h,role:"note",children:[b,g]})}const ea=[];let Ga=!1;function bi(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),!Ga&&typeof document<"u"&&(document.addEventListener("keydown",bi),Ga=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ga&&typeof document<"u"&&(document.removeEventListener("keydown",bi),Ga=!1)}}const yi=o.createContext(null);function af(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const vi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function rf(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 Qo.useSyncExternalStore(n,()=>vi(e),()=>!1)}function of(e){const[n,a]=o.useState(vi(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 sf=typeof Qo.useSyncExternalStore=="function"?rf:of;function tn(e){const n=o.useContext(yi),a=sf(e);return n&&typeof n.mobile=="boolean"&&af(e)?n.mobile:a}const lf="(prefers-reduced-motion: reduce)";function Wr(){return tn(lf)}function rn(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:c="dialog",ariaLabel:d="",children:p,backdrop:m=!1,isMobilePopup:h=!1,useBorder:g=!0,header:b}=e||{},f=o.useRef(null),[A,y]=o.useState({position:"fixed",left:0,top:-9999}),[C,w]=o.useState(!1),[v,k]=o.useState("bottom"),[_,N]=o.useState(!1),[x,B]=o.useState(!1),D=!n&&!a,R=o.useCallback((Y=!1)=>{if(x&&h)return;const P=a?a.getBoundingClientRect():n;if(!P||!f.current)return;const V=f.current,{offsetWidth:U,offsetHeight:$}=V,E=window.innerWidth,O=window.innerHeight,T=E-P.right,I=P.left,L=P.top,Z=O-P.bottom;let ee=0,G=0,ae="top";if(L>=$+r)ae="top",G=P.top-r-$,ee=P.left+P.width/2-U/2;else if(Z>=$+r)ae="bottom",G=P.bottom+r,ee=P.left+P.width/2-U/2;else if(T>=U+r)ae="right",ee=P.right+r,G=P.top+P.height/2-$/2;else if(I>=U+r)ae="left",ee=P.left-r-U,G=P.top+P.height/2-$/2;else{const q=Math.max(L,Z,T,I);q===L?(ae="top",G=P.top-r-$,ee=P.left+P.width/2-U/2):q===Z?(ae="bottom",G=P.bottom+r,ee=P.left+P.width/2-U/2):q===T?(ae="right",ee=P.right+r,G=P.top+P.height/2-$/2):(ae="left",ee=P.left-r-U,G=P.top+P.height/2-$/2)}const ye=Number.isFinite(Number(s))?Number(s):8;ee=Math.min(Math.max(ee,ye),E-U-ye),G=Math.min(Math.max(G,ye),O-$-ye);const he=Math.round(ee),de=Math.round(G);Y&&f.current?(f.current.style.left=`${he}px`,f.current.style.top=`${de}px`,f.current.dataset.placement=ae):(k(ae||v),y({position:"fixed",left:he,top:de}),N(!0))},[x,h,a,n,r,s,v]);o.useLayoutEffect(()=>{if(D)return;if(x&&h){y({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),N(!0);return}R();const Y=requestAnimationFrame(()=>R());return()=>cancelAnimationFrame(Y)},[n,a,r,p,s,D,x,h,R]),o.useEffect(()=>{if(D||x&&h||!f.current||typeof ResizeObserver>"u")return;const Y=new ResizeObserver(()=>{n&&R()});return Y.observe(f.current),()=>Y.disconnect()},[n,p,s,D,x,h,R]),o.useEffect(()=>{if(D||x&&h)return;const Y=()=>R(!0),P=V=>{if(!a&&i){const U=V.target;if(U&&f.current&&f.current.contains(U))return;try{if(U&&U.closest&&U.closest("[data-tooltip-ignore]"))return}catch{}F.current(!0);return}Y()};return window.addEventListener("resize",Y),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",Y),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,D,x,h,R]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const Y=window.matchMedia("(max-width: 768px)"),P=()=>B(!!Y.matches);P();try{Y.addEventListener?Y.addEventListener("change",P):Y.addListener(P)}catch{try{Y.addListener(P)}catch{}}return()=>{try{Y.removeEventListener?Y.removeEventListener("change",P):Y.removeListener(P)}catch{}}},[]);const z=o.useRef(!1),M=o.useRef(null),W=Wr(),S=o.useCallback((Y=!1)=>{if(i&&!(C||z.current)){if(z.current=!0,Y){w(!0);try{i&&i()}catch{z.current=!1,w(!1)}return}w(!0),M.current=setTimeout(()=>{M.current=null;try{i&&i()}catch{z.current=!1,w(!1)}},W?0:200)}},[C,i,w,W]);o.useEffect(()=>()=>{M.current&&clearTimeout(M.current)},[]),o.useEffect(()=>{if(D)return;const Y=U=>{const $=f.current;if(!$)return;const E=U.target;if(E&&!$.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},P=U=>{const $=f.current;if(!$)return;const E=U.target;if(E&&!$.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},V=U=>{if(U.key==="Tab"){const $=f.current;if(!$)return;const E=$.querySelectorAll(yn);if(!E||E.length===0)return;const O=E[0],T=E[E.length-1],I=document.activeElement;U.shiftKey?I===O&&(U.preventDefault(),T.focus()):I===T&&(U.preventDefault(),O.focus())}};return document.addEventListener("pointerdown",Y,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",V),()=>{document.removeEventListener("pointerdown",Y,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",V)}},[i,l,S,D]);const F=o.useRef(S);o.useEffect(()=>{F.current=S});const H=!!i;o.useEffect(()=>{if(!(D||!H))return zn(()=>F.current())},[D,H]),o.useEffect(()=>{const Y=()=>{S(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",Y),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",Y)}},[S]);const J=t.jsxs("div",{ref:f,className:`tooltip-content ${D?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${C?"is-closing":""} ${u} ${x&&h?"is-mobile":""}`,role:c,"aria-label":d||void 0,style:D?{}:{...A,visibility:_?"visible":"hidden"},tabIndex:-1,"data-placement":v,"data-left":D?"":A.left,"data-top":D?"":A.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:[b!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:b}),p]});if(D||typeof document>"u")return J;if(m||x&&h){const Y=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&S(!0)}}),J]});return Xt.createPortal(Y,document.body)}return Xt.createPortal(J,document.body)}function vn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(rn,{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}=be.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:c=12,closeOnOutsideClick:d=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(rn,{anchorRect:a,offset:c,onClose:u,closeOnOutsideClick:d,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,h)=>t.jsxs("li",{className:`tooltip-description__item body-3${h===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},h))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let qr=0,xi=!1;function _i(){xi||typeof document>"u"||(xi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(qr=Date.now())},!0),document.addEventListener("touchstart",()=>{qr=Date.now()},{capture:!0,passive:!0}))}_i();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return _i(),Date.now()-qr<e}function Ur(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),c=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const h=m,g=m.target,b=a.current,f=!!(g&&b&&b.contains(g));if(h.pointerType!=="touch"){f&&(u.current=null);return}if(f){u.current=i.current;return}u.current=null,i.current&&!(g&&g.closest?.(".tooltip-content"))&&l.current(!1,b)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const d=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,c.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 h=null;const g=A=>{const y=A.changedTouches?.[0];if(!y)return!1;const C=p.getBoundingClientRect();return y.clientX>=C.left&&y.clientX<=C.right&&y.clientY>=C.top&&y.clientY<=C.bottom},b=A=>{h=g(A)?i.current:null},f=A=>{const y=h;h=null,!(y===null||Date.now()-c.current<700||!g(A))&&(u.current=null,c.current=Date.now(),l.current(!y,p))};return m.addEventListener("touchstart",b,{passive:!0}),m.addEventListener("touchend",f),()=>{m.removeEventListener("touchstart",b),m.removeEventListener("touchend",f)}},[r,s,a,i,l]),{touchPress:d}}function uf(e,n){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:u,icon:c,rightIcon:d,label:p,count:m,subLabel:h,children:g,ariaLabel:b,variant:f="default",align:A="center",nowrap:y=!1,selected:C,toggleable:w=!1,ariaExpanded:v,ariaControls:k,disabled:_=!1,useLabel:N=!0,useBorder:x=!0,useBG:B=!0,useDisabledCovered:D=!1,useDisabledInvisible:R=!1,width:z,minWidth:M,onClick:W,onDisabledClick:S,showTooltipInfo:F=!1,tooltipInfoText:H=null,tooltipDescription:J=null,tooltipOnly:Y=!1,iconSize:P="medium",iconColor:V,shape:U="rounded",color:$,className:E,...O}=e,T=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),I=T.match(/^\d+$/)?`button${T}`:`button-${T}`,L=Number(a),Z=!isNaN(L)&&L<40?"button-2":"button-1",ee=p??g,G=_||!!O.disabled,ae=G?D?"disabled-covered":R?"disabled-invisibled":"disabled":f,ye=ae?`button--variant-${ae}`:"",he=A?`button--align-${A}`:"",de=y?"button--nowrap":"",q=U?`button--shape-${U}`:"",te=typeof V=="string"&&V.startsWith("--")?`var(${V})`:V,le={...z?{width:typeof z=="number"?`${z}px`:z}:{},...M?{minWidth:typeof M=="number"?`${M}px`:M}:{},...x?{}:{"--button-border":G?"0":"1px solid transparent"},...te?{"--button-icon-color":te}:{},...$?{"--color-main":$}:{}},ve=N===!1?"":ee,pe=Array.isArray(ve)?ve.length>0:!!ve,oe=!!d,fe=r??(pe||c||oe?"bar":"dot"),ge=`${I}--${fe}`,Ee=o.useRef(null),Ie=o.useRef(n);Ie.current=n;const Le=o.useCallback(Oe=>{Ee.current=Oe;const at=Ie.current;typeof at=="function"?at(Oe):at&&(at.current=Oe)},[]),Je=o.useRef(G),[et,Ve]=o.useState(!!C),[He,it]=o.useState(!1),[Qe,Ye]=o.useState(null),re=o.useCallback(()=>it(!1),[]),[Re,ne]=o.useState(!1),we=o.useId();o.useEffect(()=>{typeof C=="boolean"&&Ve(C)},[C]),o.useEffect(()=>{if(Je.current&&!G&&Ee.current){const Oe=Ee.current;let at=!1;try{at=Oe.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Oe.blur(),Oe.style.pointerEvents="none";const ht=requestAnimationFrame(()=>{requestAnimationFrame(()=>{Ee.current&&(Ee.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(ht)}Je.current=G},[G]);const We=typeof C=="boolean"?!!C:et,Be=typeof v=="boolean"?void 0:w||typeof C=="boolean"?We?"true":"false":O["aria-pressed"],Se=De("button",I,ge,ye,he,de,q,We?"is-selected":null,B?null:"button--no-bg",Y?"button--tooltip-only":null,E),me=`button__icon button__icon--${P}`,Me=Array.isArray(h)?h:h!==void 0?[h]:[],nt=()=>{if(Array.isArray(ve))return ve.map((at,ht)=>{const Ot=Me[ht];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})]},ht)});const Oe=h!==void 0;return t.jsxs("span",{className:`button__label-text${Oe?" button__label-text--has-sub":""}`,children:[ve,m!=null&&t.jsx("span",{className:"button__count",children:m}),Oe&&t.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},_t=Oe=>{typeof C!="boolean"&&!w&&Ve(!1),Oe.currentTarget.blur()},kt=Oe=>{G||(typeof O.onMouseLeave=="function"&&O.onMouseLeave(Oe),_t(Oe))},dt=Oe=>{if(Y&&$e&&Xe.touchPress(Oe.currentTarget),G){$e&&Xe.touchPress(Oe.currentTarget),Oe.preventDefault(),S?.(Oe);return}typeof C!="boolean"&&w&&Ve(at=>!at),W?.(Oe)},Ze=o.useCallback(()=>{(F||J)&&(it(!0),Ye(Ee.current?.getBoundingClientRect()??null))},[F,J]),qe=o.useCallback(()=>{(F||J)&&(it(!1),Ye(null))},[F,J]),$e=!!(F||J),Xe=Ur(He,Oe=>{Oe?Ze():qe()},Ee,{enabled:$e&&(G||Y),fallbackOnParent:$e&&G}),Fe={...O};delete Fe.disabled,delete Fe.className,delete Fe.faded,delete Fe.useFaded,delete Fe.loading,delete Fe.onMouseLeave,delete Fe.onPointerEnter,delete Fe.onPointerLeave,delete Fe.onPointerUp,delete Fe.onFocus,delete Fe.onBlur,G&&(Object.keys(Fe).forEach(Oe=>{/^on[A-Z]/.test(Oe)&&typeof Fe[Oe]=="function"&&delete Fe[Oe]}),Fe["aria-disabled"]="true");const st=(typeof F=="string"?F:null)??(typeof H=="string"?H:null)??(typeof b=="string"?b:null)??(typeof ee=="string"?ee:null)??void 0,Ge=typeof b=="string"?b:typeof ee=="string"?ee:st,ft=J?[J.title,...J.items??[]].filter(Boolean).join(". "):F&&st&&st!==Ge?st:"",jt=[typeof O["aria-describedby"]=="string"?O["aria-describedby"]:void 0,ft?we:null].filter(Boolean).join(" ")||void 0,Bt=(Oe,at)=>t.jsx(Ke,{icon:Oe,label:at??Ge,className:me,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),mt=()=>fe==="dot"?t.jsxs(t.Fragment,{children:[Bt(c),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()})]}):A==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Bt(c)}),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()})]}),oe&&t.jsx("span",{className:"button__right",children:Bt(d)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:Bt(c,b??ee)}),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()}),oe&&t.jsx("span",{className:"button__right",children:Bt(d)})]}),lt=!!i&&!G;return t.jsxs(t.Fragment,{children:[t.jsxs(lt?"a":"button",{...Fe,ref:Le,...lt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:G&&!S&&!Re},className:Se,"aria-pressed":Be,"aria-expanded":typeof v=="boolean"?v:O["aria-expanded"],"aria-controls":k??O["aria-controls"],"aria-label":Ge,"aria-disabled":G&&(lt||S||Re)?!0:void 0,"aria-describedby":jt,style:le,onClick:dt,onMouseLeave:kt,onPointerEnter:Oe=>{ta(Oe)||Ze(),!G&&typeof O.onPointerEnter=="function"&&O.onPointerEnter(Oe)},onPointerLeave:Oe=>{ta(Oe)||qe(),!G&&typeof O.onPointerLeave=="function"&&O.onPointerLeave(Oe)},onPointerUp:Oe=>{G&&$e&&Xe.touchPress(Oe.currentTarget),!G&&typeof O.onPointerUp=="function"&&O.onPointerUp(Oe)},onFocus:Oe=>{ne(!0),na()||Ze(),!G&&typeof O.onFocus=="function"&&O.onFocus(Oe)},onBlur:Oe=>{ne(!1),G||_t(Oe),qe(),!G&&typeof O.onBlur=="function"&&O.onBlur(Oe)},children:[mt(),ft?t.jsx("span",{id:we,hidden:!0,"aria-label":ft}):null]}),He&&J?t.jsx(Vn,{anchorRect:Qe,title:J.title,items:J.items,onClose:re}):He&&st?t.jsx(vn,{anchorRect:Qe,text:st,onClose:re}):null]})}const ce=o.forwardRef(uf);ce.displayName="Button";var cf={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}}",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."},df={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"},pf={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"}},mf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},hf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},Cf={selected:"\uC120\uD0DD\uB428"},ff={placeholder:"\uC120\uD0DD"},gf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},bf={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"},yf={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"},vf={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."}}},xf={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."}},_f={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"}}},wf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Af={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",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"}},kf={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"},Bf={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"}},Nf={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"}}}},Df={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"}},Ef={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},Sf={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"}},jf={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."}},Tf={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Mf={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"},Lf={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},$f={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 \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"}},Rf={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"}},Pf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},If={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"}},Ff={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"}},Of={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Hf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},zf={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"}},Vf={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"}},Wf={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",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."]},qf={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"}},Uf={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
847
|
+
`),this.name="StorageNotConfiguredError"}};function J0(e){X0(e)}function Vs(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Ws(e){if(!e)return null;const n=fa();if(!n)throw new zs("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function qs(e){const n=fa();if(!n)throw new zs("downloadSound");return n.download(e)}function Q0(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Us(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function eC(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 Gs="__ihab_core_tts_config__";function Er(){return globalThis[Gs]?.urlResolver??null}function tC(){return globalThis[Gs]?.fallbackUrlResolver??null}const nC="__ihab_core_pronunciation_resolver__";function aC(){return globalThis[nC]??null}let En=null;const ga=new WeakMap,Sr=new WeakMap,jr=new WeakMap;let Ks=!1;const Ys=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function rC(){if(Ks||typeof document>"u")return;Ks=!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 Zs(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,rC(),En):null}catch{return null}}function Tr(){try{En?.resume()}catch{}}function Mr(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=Ys(Sr.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 Oa(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Zs();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Mr(a,e)?.analyser??null);const r=jr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Mr(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{jr.delete(e)});return jr.set(e,s),s}function oC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Zs();return a?a.state==="running"?Mr(a,e)?.analyser??null:(Oa(e),null):null}function Sn(e,n){const a=Ys(n);Sr.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 Ha(e){return Sr.get(e)??e.volume}function sC(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 iC="__ihab_core_image_config__";function Xn(){return globalThis[iC]??null}const Xs="word_image_existence_map_v1";let Hn=null;const za=new Map;function lC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(Xs):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Lr=null;function uC(){Lr||(Lr=setTimeout(()=>{Lr=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(Xs,JSON.stringify(Hn))}catch{}},200))}function cC(e,n){return`${e}_${n??1}`}async function Js(e,n){const a=lC(),r=cC(e,n);if(r in a)return a[r];if(za.has(r))return za.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:eC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(za.delete(r),u===null?!1:(a[r]=u,uC(),u)));return za.set(r,l),l}const dC={\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"}},Qs=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ei=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],pC=["","\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 mC(e){const n=ba(e[0]||"");return n?Qs[n.cho]:""}function hC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>Qs.includes(l),r=l=>ei.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 c=0;c+n.length<=u.length;c++){let d=!0;for(let p=0;p<n.length;p++){const m=u[c+p],h=s[p];if(h==="cho"){if(mC(m)!==n[p]){d=!1;break}}else if(h==="jung"){const g=ba(m);if(!g||ei[g.jung]!==n[p]){d=!1;break}}else{const g=i[p];if(g&&g.jong===0){const b=ba(m);if(!b||b.cho!==g.cho||b.jung!==g.jung){d=!1;break}}else if(m!==n[p]){d=!1;break}}}if(d)return!0}return!1}}const CC={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(CC).map(([e,n])=>[n.join(""),pC[Number(e)]]));const fC="word_pair_index_v2",gC="word_pair_index_sig_v2";let Va=null;function bC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(fC),n=localStorage.getItem(gC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function yC(){if(Va)return Va;const e=bC();return e?(Va=e.index,e.sig,Va):null}const $r=/[ㄱ-ㅎ]/,vC=/[ㅏ-ㅣ]/;function ti(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||$r.test(a)||vC.test(a))return a}return null}function xC(e){const n=ti(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":$r.test(n)?"\uC774":"\uAC00"}function _C(e){return`${e}${xC(e)}`}function wC(e){const n=ti(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":$r.test(n)?"\uC744":"\uB97C"}function AC(e){return`${e}${wC(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 BC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof Et?.t=="function"?Et.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function ni(e,n){if(n===void 0&&(n=BC()),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 NC="__ihab_core_word_pool__";function ai(){return globalThis[NC]??null}const ri=globalThis;function oi(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function DC(e){oi("time",()=>ri.__ihabTrainingTimeLogger?.(e))}function EC(e){oi("completion",()=>ri.__ihabTrainingCompletionLogger?.(e))}function Gt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function SC(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 jC(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:SC(r)}}):[]}const Rr=globalThis;async function TC(){try{return await Rr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function si(e){const n=a=>{};try{const a=Rr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Wa(e){try{Rr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function MC(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 LC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function ii(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=LC.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}function va(){return Ir(new Date)}function Pr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return RC(va())}const $C=540*60*1e3;function li(e,n,a){return new Date(Date.UTC(e,n,a)-$C)}function RC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Ir(e){if(e==null||e==="")return"";const n=ii(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function ui(e,n){if(!e)return"";const a=ii(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),c=Math.floor(u/7),d=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}):c<5?n("store.time.weeksAgo",{n:c}):u<365?n("store.time.monthsAgo",{n:Math.min(d,11)}):n("store.time.yearsAgo",{n:p})}function ci(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Ir(e instanceof Date?e:String(e));if(!l)return i;const[u,c,d]=l.split("-"),p=r?c:String(Number(c)),m=r?d:String(Number(d));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 di(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 Fr(e){return(e??0).toLocaleString("ko-KR")}const PC=[{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"}]}],IC=[{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 pi(){return PC}function FC(){return IC}const OC=[],HC=[],zC=[],VC=[];function WC(){return{LISTEN_IN_NOISE:OC,SHORT_STORY:HC,LONG_STORY:zC,ORDERING_SENTENCE:VC}}const qC=[{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."}],mi={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function UC(e){return qC.map(n=>{const a=mi[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let qa=null,hi=null,Ci=null;function GC(){const e=ai();if(e&&e.entries.length>0){const n=yC();if(qa&&hi===e&&Ci===n)return qa;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 qa=r,hi=e,Ci=n,qa}return[]}new Proxy([],{get(e,n){const a=GC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const KC="0.242.0";function YC(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 ZC(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&YC(r.attrValue)&&(r.keepAttr=!1)};Nr.addHook("uponSanitizeAttribute",n);try{return Nr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Nr.removeHook("uponSanitizeAttribute",n)}}function XC(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,c]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const d=e.split("/").pop();let p=e;d&&(e.startsWith("/")?p=Dr(e):/^(Logo|Symbol)/i.test(d)?p=Dr(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let d=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const h=m.headers.get("content-type")||"";if(d)return;if(h.includes("svg")){s("mask");return}if(h.startsWith("image/")){s("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const b=await g.text();if(d)return;if(/^\s*<svg[\s>]/i.test(b)){const f=ZC(b);if(!f){s("none");return}l(f),s("inline");return}s("none")}catch{d||s("none")}}return p(),()=>{d=!0}},[n]),o.useEffect(()=>{let d=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{d||(p=URL.createObjectURL(m),c(p))}).catch(()=>{d||s("img")}),()=>{d=!0,p&&URL.revokeObjectURL(p),c(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ke(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:c}=e||{},d=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",h=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,b=m0(g),{iconToUse:f,mode:A,svgText:y,blobUrl:C}=XC(g),w=(x,B={})=>t.jsx("span",{className:d,style:u,...B,children:x}),v=typeof c=="number"?{width:c,height:c,objectFit:"contain"}:null,k=(x,B={})=>t.jsx("img",{src:x,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:v?{...B.style,...v}:B.style});if(!n)return null;if(typeof n!="string")return w(n);if(n==="none")return w(t.jsx("span",{className:h,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(b)try{return w(o.createElement(b,{className:h,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(f&&f.endsWith(".svg")){if(A==="mask"){const x={"--icon-url":C?`url(${C})`:`url(${f})`,...typeof c=="number"?{"--icon-size":`${c}px`}:null};return w(t.jsx("span",{className:m,style:x}),{"aria-hidden":"true"})}return A==="img"?w(k(f,{onError:x=>{x.currentTarget.onerror=null,x.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):A==="inline"?w(t.jsx("span",{className:h,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):w(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return k(Dr(n),{style:u,onError:x=>{x.currentTarget.onerror=null,x.currentTarget.style.display="none"}});const _=typeof c=="number"?c:20,N=`<svg width="${_}" height="${_}" 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 w(t.jsx("span",{className:h,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function fi(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 JC({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=fi(r?.onClick);return t.jsxs("div",{className:De("empty-state",s),children:[e&&t.jsx(Ke,{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(Ke,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function QC({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=be.useTranslation(),{pending:u,press:c}=fi(r);return t.jsxs("div",{className:De("empty-state","error-state",i),role:"alert",children:[t.jsx(Ke,{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:c,disabled:u,"aria-busy":u||void 0,children:[t.jsx(Ke,{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 ef({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const c=o.useId(),d=`${c}-title`,p=`${c}-desc`,m=`${c}-cta`,h=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":d,"aria-describedby":`${p} ${m}`,onClick:h,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),h())},className:De("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(Ke,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:d,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(Ke,{icon:"arrow-right",size:18})})]})]})})}function tf({as:e="div",className:n="",children:a,storage:r,...s}){r&&J0({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=De("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Or(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(yn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],c=document.activeElement,d=c===a;s.shiftKey&&(c===l||d)?(s.preventDefault(),u.focus()):!s.shiftKey&&c===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const yn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Hr=new WeakMap;function zr(e,n){e&&Hr.set(e,n)}function Vr(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Hr.has(r);)r=r.parentElement;if(!r)return n;n=Hr.get(r)??null}return n}function gi(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 Ua(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(gi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(yn)).filter(c=>!(e&&e.contains(c))&&gi(c));let i=null,l=null;for(const c of s)r.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING?i=c:l||(l=c);const u=i??l;return u?.focus(),u}function nf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=be.useTranslation(),[c,d]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const f=p.current;f&&f.contains(document.activeElement)&&Ua(f),d(!0)},[]);if(c)return null;const h=`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:h,role:"note",children:[a.map((f,A)=>t.jsxs("div",{className:"notice-box__inner",children:[f.title?t.jsx("span",{className:"notice-box__title body-3",children:f.title}):null,t.jsx("div",{className:"notice-box__body",children:f.lines&&f.lines.length?t.jsx("div",{children:f.lines.map((y,C)=>t.jsx("span",{className:"notice-box__line body-3",children:y},C))}):f.children??null})]},A)),g]});const b=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((f,A)=>t.jsx("li",{className:"notice-box__line",children:f},A))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:h,role:"note",children:[b,g]})}const ea=[];let Ga=!1;function bi(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),!Ga&&typeof document<"u"&&(document.addEventListener("keydown",bi),Ga=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ga&&typeof document<"u"&&(document.removeEventListener("keydown",bi),Ga=!1)}}const yi=o.createContext(null);function af(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const vi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function rf(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 Qo.useSyncExternalStore(n,()=>vi(e),()=>!1)}function of(e){const[n,a]=o.useState(vi(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 sf=typeof Qo.useSyncExternalStore=="function"?rf:of;function tn(e){const n=o.useContext(yi),a=sf(e);return n&&typeof n.mobile=="boolean"&&af(e)?n.mobile:a}const lf="(prefers-reduced-motion: reduce)";function Wr(){return tn(lf)}function rn(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:c="dialog",ariaLabel:d="",children:p,backdrop:m=!1,isMobilePopup:h=!1,useBorder:g=!0,header:b}=e||{},f=o.useRef(null),[A,y]=o.useState({position:"fixed",left:0,top:-9999}),[C,w]=o.useState(!1),[v,k]=o.useState("bottom"),[_,N]=o.useState(!1),[x,B]=o.useState(!1),D=!n&&!a,R=o.useCallback((Y=!1)=>{if(x&&h)return;const P=a?a.getBoundingClientRect():n;if(!P||!f.current)return;const V=f.current,{offsetWidth:U,offsetHeight:$}=V,E=window.innerWidth,O=window.innerHeight,T=E-P.right,I=P.left,L=P.top,Z=O-P.bottom;let ee=0,G=0,ae="top";if(L>=$+r)ae="top",G=P.top-r-$,ee=P.left+P.width/2-U/2;else if(Z>=$+r)ae="bottom",G=P.bottom+r,ee=P.left+P.width/2-U/2;else if(T>=U+r)ae="right",ee=P.right+r,G=P.top+P.height/2-$/2;else if(I>=U+r)ae="left",ee=P.left-r-U,G=P.top+P.height/2-$/2;else{const q=Math.max(L,Z,T,I);q===L?(ae="top",G=P.top-r-$,ee=P.left+P.width/2-U/2):q===Z?(ae="bottom",G=P.bottom+r,ee=P.left+P.width/2-U/2):q===T?(ae="right",ee=P.right+r,G=P.top+P.height/2-$/2):(ae="left",ee=P.left-r-U,G=P.top+P.height/2-$/2)}const ye=Number.isFinite(Number(s))?Number(s):8;ee=Math.min(Math.max(ee,ye),E-U-ye),G=Math.min(Math.max(G,ye),O-$-ye);const he=Math.round(ee),de=Math.round(G);Y&&f.current?(f.current.style.left=`${he}px`,f.current.style.top=`${de}px`,f.current.dataset.placement=ae):(k(ae||v),y({position:"fixed",left:he,top:de}),N(!0))},[x,h,a,n,r,s,v]);o.useLayoutEffect(()=>{if(D)return;if(x&&h){y({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),N(!0);return}R();const Y=requestAnimationFrame(()=>R());return()=>cancelAnimationFrame(Y)},[n,a,r,p,s,D,x,h,R]),o.useEffect(()=>{if(D||x&&h||!f.current||typeof ResizeObserver>"u")return;const Y=new ResizeObserver(()=>{n&&R()});return Y.observe(f.current),()=>Y.disconnect()},[n,p,s,D,x,h,R]),o.useEffect(()=>{if(D||x&&h)return;const Y=()=>R(!0),P=V=>{if(!a&&i){const U=V.target;if(U&&f.current&&f.current.contains(U))return;try{if(U&&U.closest&&U.closest("[data-tooltip-ignore]"))return}catch{}F.current(!0);return}Y()};return window.addEventListener("resize",Y),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",Y),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,D,x,h,R]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const Y=window.matchMedia("(max-width: 768px)"),P=()=>B(!!Y.matches);P();try{Y.addEventListener?Y.addEventListener("change",P):Y.addListener(P)}catch{try{Y.addListener(P)}catch{}}return()=>{try{Y.removeEventListener?Y.removeEventListener("change",P):Y.removeListener(P)}catch{}}},[]);const z=o.useRef(!1),M=o.useRef(null),W=Wr(),S=o.useCallback((Y=!1)=>{if(i&&!(C||z.current)){if(z.current=!0,Y){w(!0);try{i&&i()}catch{z.current=!1,w(!1)}return}w(!0),M.current=setTimeout(()=>{M.current=null;try{i&&i()}catch{z.current=!1,w(!1)}},W?0:200)}},[C,i,w,W]);o.useEffect(()=>()=>{M.current&&clearTimeout(M.current)},[]),o.useEffect(()=>{if(D)return;const Y=U=>{const $=f.current;if(!$)return;const E=U.target;if(E&&!$.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},P=U=>{const $=f.current;if(!$)return;const E=U.target;if(E&&!$.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},V=U=>{if(U.key==="Tab"){const $=f.current;if(!$)return;const E=$.querySelectorAll(yn);if(!E||E.length===0)return;const O=E[0],T=E[E.length-1],I=document.activeElement;U.shiftKey?I===O&&(U.preventDefault(),T.focus()):I===T&&(U.preventDefault(),O.focus())}};return document.addEventListener("pointerdown",Y,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",V),()=>{document.removeEventListener("pointerdown",Y,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",V)}},[i,l,S,D]);const F=o.useRef(S);o.useEffect(()=>{F.current=S});const H=!!i;o.useEffect(()=>{if(!(D||!H))return zn(()=>F.current())},[D,H]),o.useEffect(()=>{const Y=()=>{S(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",Y),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",Y)}},[S]);const J=t.jsxs("div",{ref:f,className:`tooltip-content ${D?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${C?"is-closing":""} ${u} ${x&&h?"is-mobile":""}`,role:c,"aria-label":d||void 0,style:D?{}:{...A,visibility:_?"visible":"hidden"},tabIndex:-1,"data-placement":v,"data-left":D?"":A.left,"data-top":D?"":A.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:[b!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:b}),p]});if(D||typeof document>"u")return J;if(m||x&&h){const Y=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&S(!0)}}),J]});return Xt.createPortal(Y,document.body)}return Xt.createPortal(J,document.body)}function vn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(rn,{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}=be.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:c=12,closeOnOutsideClick:d=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(rn,{anchorRect:a,offset:c,onClose:u,closeOnOutsideClick:d,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,h)=>t.jsxs("li",{className:`tooltip-description__item body-3${h===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},h))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let qr=0,xi=!1;function _i(){xi||typeof document>"u"||(xi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(qr=Date.now())},!0),document.addEventListener("touchstart",()=>{qr=Date.now()},{capture:!0,passive:!0}))}_i();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return _i(),Date.now()-qr<e}function Ur(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),c=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const h=m,g=m.target,b=a.current,f=!!(g&&b&&b.contains(g));if(h.pointerType!=="touch"){f&&(u.current=null);return}if(f){u.current=i.current;return}u.current=null,i.current&&!(g&&g.closest?.(".tooltip-content"))&&l.current(!1,b)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const d=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,c.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 h=null;const g=A=>{const y=A.changedTouches?.[0];if(!y)return!1;const C=p.getBoundingClientRect();return y.clientX>=C.left&&y.clientX<=C.right&&y.clientY>=C.top&&y.clientY<=C.bottom},b=A=>{h=g(A)?i.current:null},f=A=>{const y=h;h=null,!(y===null||Date.now()-c.current<700||!g(A))&&(u.current=null,c.current=Date.now(),l.current(!y,p))};return m.addEventListener("touchstart",b,{passive:!0}),m.addEventListener("touchend",f),()=>{m.removeEventListener("touchstart",b),m.removeEventListener("touchend",f)}},[r,s,a,i,l]),{touchPress:d}}function uf(e,n){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:u,icon:c,rightIcon:d,label:p,count:m,subLabel:h,children:g,ariaLabel:b,variant:f="default",align:A="center",nowrap:y=!1,selected:C,toggleable:w=!1,ariaExpanded:v,ariaControls:k,disabled:_=!1,useLabel:N=!0,useBorder:x=!0,useBG:B=!0,useDisabledCovered:D=!1,useDisabledInvisible:R=!1,width:z,minWidth:M,onClick:W,onDisabledClick:S,showTooltipInfo:F=!1,tooltipInfoText:H=null,tooltipDescription:J=null,tooltipOnly:Y=!1,iconSize:P="medium",iconColor:V,shape:U="rounded",color:$,className:E,...O}=e,T=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),I=T.match(/^\d+$/)?`button${T}`:`button-${T}`,L=Number(a),Z=!isNaN(L)&&L<40?"button-2":"button-1",ee=p??g,G=_||!!O.disabled,ae=G?D?"disabled-covered":R?"disabled-invisibled":"disabled":f,ye=ae?`button--variant-${ae}`:"",he=A?`button--align-${A}`:"",de=y?"button--nowrap":"",q=U?`button--shape-${U}`:"",te=typeof V=="string"&&V.startsWith("--")?`var(${V})`:V,le={...z?{width:typeof z=="number"?`${z}px`:z}:{},...M?{minWidth:typeof M=="number"?`${M}px`:M}:{},...x?{}:{"--button-border":G?"0":"1px solid transparent"},...te?{"--button-icon-color":te}:{},...$?{"--color-main":$}:{}},ve=N===!1?"":ee,pe=Array.isArray(ve)?ve.length>0:!!ve,oe=!!d,fe=r??(pe||c||oe?"bar":"dot"),ge=`${I}--${fe}`,Ee=o.useRef(null),Ie=o.useRef(n);Ie.current=n;const Le=o.useCallback(Oe=>{Ee.current=Oe;const at=Ie.current;typeof at=="function"?at(Oe):at&&(at.current=Oe)},[]),Je=o.useRef(G),[et,Ve]=o.useState(!!C),[He,it]=o.useState(!1),[Qe,Ye]=o.useState(null),re=o.useCallback(()=>it(!1),[]),[Re,ne]=o.useState(!1),we=o.useId();o.useEffect(()=>{typeof C=="boolean"&&Ve(C)},[C]),o.useEffect(()=>{if(Je.current&&!G&&Ee.current){const Oe=Ee.current;let at=!1;try{at=Oe.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Oe.blur(),Oe.style.pointerEvents="none";const ht=requestAnimationFrame(()=>{requestAnimationFrame(()=>{Ee.current&&(Ee.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(ht)}Je.current=G},[G]);const We=typeof C=="boolean"?!!C:et,Be=typeof v=="boolean"?void 0:w||typeof C=="boolean"?We?"true":"false":O["aria-pressed"],Se=De("button",I,ge,ye,he,de,q,We?"is-selected":null,B?null:"button--no-bg",Y?"button--tooltip-only":null,E),me=`button__icon button__icon--${P}`,Me=Array.isArray(h)?h:h!==void 0?[h]:[],nt=()=>{if(Array.isArray(ve))return ve.map((at,ht)=>{const Ot=Me[ht];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})]},ht)});const Oe=h!==void 0;return t.jsxs("span",{className:`button__label-text${Oe?" button__label-text--has-sub":""}`,children:[ve,m!=null&&t.jsx("span",{className:"button__count",children:m}),Oe&&t.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},_t=Oe=>{typeof C!="boolean"&&!w&&Ve(!1),Oe.currentTarget.blur()},kt=Oe=>{G||(typeof O.onMouseLeave=="function"&&O.onMouseLeave(Oe),_t(Oe))},dt=Oe=>{if(Y&&$e&&Xe.touchPress(Oe.currentTarget),G){$e&&Xe.touchPress(Oe.currentTarget),Oe.preventDefault(),S?.(Oe);return}typeof C!="boolean"&&w&&Ve(at=>!at),W?.(Oe)},Ze=o.useCallback(()=>{(F||J)&&(it(!0),Ye(Ee.current?.getBoundingClientRect()??null))},[F,J]),qe=o.useCallback(()=>{(F||J)&&(it(!1),Ye(null))},[F,J]),$e=!!(F||J),Xe=Ur(He,Oe=>{Oe?Ze():qe()},Ee,{enabled:$e&&(G||Y),fallbackOnParent:$e&&G}),Fe={...O};delete Fe.disabled,delete Fe.className,delete Fe.faded,delete Fe.useFaded,delete Fe.loading,delete Fe.onMouseLeave,delete Fe.onPointerEnter,delete Fe.onPointerLeave,delete Fe.onPointerUp,delete Fe.onFocus,delete Fe.onBlur,G&&(Object.keys(Fe).forEach(Oe=>{/^on[A-Z]/.test(Oe)&&typeof Fe[Oe]=="function"&&delete Fe[Oe]}),Fe["aria-disabled"]="true");const st=(typeof F=="string"?F:null)??(typeof H=="string"?H:null)??(typeof b=="string"?b:null)??(typeof ee=="string"?ee:null)??void 0,Ge=typeof b=="string"?b:typeof ee=="string"?ee:st,ft=J?[J.title,...J.items??[]].filter(Boolean).join(". "):F&&st&&st!==Ge?st:"",jt=[typeof O["aria-describedby"]=="string"?O["aria-describedby"]:void 0,ft?we:null].filter(Boolean).join(" ")||void 0,Bt=(Oe,at)=>t.jsx(Ke,{icon:Oe,label:at??Ge,className:me,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),mt=()=>fe==="dot"?t.jsxs(t.Fragment,{children:[Bt(c),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()})]}):A==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Bt(c)}),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()})]}),oe&&t.jsx("span",{className:"button__right",children:Bt(d)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:Bt(c,b??ee)}),pe&&t.jsx("span",{className:`button__label ${Z}`,children:nt()}),oe&&t.jsx("span",{className:"button__right",children:Bt(d)})]}),lt=!!i&&!G;return t.jsxs(t.Fragment,{children:[t.jsxs(lt?"a":"button",{...Fe,ref:Le,...lt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:G&&!S&&!Re},className:Se,"aria-pressed":Be,"aria-expanded":typeof v=="boolean"?v:O["aria-expanded"],"aria-controls":k??O["aria-controls"],"aria-label":Ge,"aria-disabled":G&&(lt||S||Re)?!0:void 0,"aria-describedby":jt,style:le,onClick:dt,onMouseLeave:kt,onPointerEnter:Oe=>{ta(Oe)||Ze(),!G&&typeof O.onPointerEnter=="function"&&O.onPointerEnter(Oe)},onPointerLeave:Oe=>{ta(Oe)||qe(),!G&&typeof O.onPointerLeave=="function"&&O.onPointerLeave(Oe)},onPointerUp:Oe=>{G&&$e&&Xe.touchPress(Oe.currentTarget),!G&&typeof O.onPointerUp=="function"&&O.onPointerUp(Oe)},onFocus:Oe=>{ne(!0),na()||Ze(),!G&&typeof O.onFocus=="function"&&O.onFocus(Oe)},onBlur:Oe=>{ne(!1),G||_t(Oe),qe(),!G&&typeof O.onBlur=="function"&&O.onBlur(Oe)},children:[mt(),ft?t.jsx("span",{id:we,hidden:!0,"aria-label":ft}):null]}),He&&J?t.jsx(Vn,{anchorRect:Qe,title:J.title,items:J.items,onClose:re}):He&&st?t.jsx(vn,{anchorRect:Qe,text:st,onClose:re}):null]})}const ce=o.forwardRef(uf);ce.displayName="Button";var cf={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}}",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."},df={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"},pf={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"}},mf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},hf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},Cf={selected:"\uC120\uD0DD\uB428"},ff={placeholder:"\uC120\uD0DD"},gf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},bf={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"},yf={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"},vf={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."}}},xf={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."}},_f={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"}}},wf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Af={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",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"}},kf={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"},Bf={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"}},Nf={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"}}}},Df={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"}},Ef={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},Sf={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"}},jf={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."}},Tf={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Mf={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"},Lf={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},$f={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 \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"}},Rf={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"}},Pf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},If={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"}},Ff={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"}},Of={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Hf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},zf={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"}},Vf={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"}},Wf={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",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."]},qf={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"}},Uf={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"},Gf={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"}}},Kf={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},Yf={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"}},Zf={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},Xf={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"},Jf={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},Qf={ariaLabel:"\uC120\uD0DD \uD0ED"},e2={ariaLabel:"\uD0ED"},t2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},n2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},a2={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"}},r2={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"}},o2={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"}},s2={manage:{unit:"\uAC74"}},i2={cancelLabel:"\uCDE8\uC18C"},l2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},u2={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"},c2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"},d2={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"},p2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},m2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},h2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},C2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},f2={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"}},g2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},b2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},y2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},v2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},x2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},_2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},w2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},A2={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},k2={common:cf,calendar:df,passCard:pf,searchField:mf,rating:hf,colorPicker:Cf,dropdown:ff,accordion:gf,header:bf,nav:yf,settings:vf,usage:xf,account:_f,help:wf,training:Af,trainingSettings:kf,customers:Bf,payment:Nf,coupons:Df,visits:Ef,company:Sf,trainingType:jf,myWordTraining:Tf,myWordTable:Mf,keyWords:Lf,wordTable:$f,wordSearch:Rf,wordPrint:Pf,topic:If,accessLinkManager:Ff,login:Of,trainingPlanRun:Hf,device:zf,manager:Vf,wordPairs:Wf,game:qf,footer:Uf,landing:Gf,date:Kf,trainingSetPage:Yf,wordTrainingPreview:Zf,wordData:Xf,textField:Jf,segmentedControl:Qf,tabs:e2,fileUpload:t2,avatar:n2,myHomework:a2,trainingStatus:r2,store:o2,homework:s2,inquiry:i2,progress:l2,trainingMiss:u2,table:c2,wordScore:d2,topBanner:p2,datePicker:m2,report:h2,tooltip:C2,phonemeProfile:f2,bulkBar:g2,debug:b2,badge:y2,loader:v2,soundCompass:x2,breadcrumb:_2,board:w2,promoBannerBg:A2},B2={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",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."},N2={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)"},D2={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"}},E2={clearAriaLabel:"Clear search"},S2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},j2={selected:"selected"},T2={placeholder:"Select"},M2={collapse:"Collapse",expand:"Expand"},L2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},$2={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}}"},R2={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."}}},P2={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"}},I2={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"}}},F2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},O2={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",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"}},H2={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"},z2={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"}},V2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},W2={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"}},q2={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},U2={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},G2={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."}},K2={comingSoon:"Word training is coming soon."},Y2={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"},Z2={title:"Key Words",empty:"No key words available."},X2={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, hover the cell to reveal them.",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"}},J2={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}}"}},Q2={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},eg={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"}},tg={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"}},ng={passwordPlaceholder:"Enter password"},ag={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"}},rg={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"}},og={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}}",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."]},sg={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"}},ig={lead:`IHAB builds trust
|
|
850
850
|
through sound
|
|
@@ -856,7 +856,7 @@ ${v.badge}`:v.badge:void 0;if(_&&c(v.code))return null;if(!v.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 P4=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),I4=/^(?: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 F4(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 b=a.indexOf(`
|
|
858
858
|
`),f=b===-1?a:a.slice(0,b);i("comment",f),a=a.slice(f.length);continue}if(s&&a.startsWith("#")){const b=a.indexOf(`
|
|
859
|
-
`),f=b===-1?a:a.slice(0,b);i("comment",f),a=a.slice(f.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const c=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(c){i("string",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){i("number",d[0]),a=a.slice(d[0].length);continue}const p=a.match(I4);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 b=m[0];i(s&&P4.has(b)?"command":"identifier",b),a=a.slice(b.length);continue}const h=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(h){i("operator",h[0]),a=a.slice(h[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 O4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=be.useTranslation(),[u,c]=o.useState(!1),d=R4(Ol(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await MC(d))return;c(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>c(!1),2e3)}catch{}},h=F4(d,n),g=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:De("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(ce,{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:h.map((b,f)=>t.jsx("span",{className:`code-token ${b.type} ${g}`,children:b.content},f))})})]})}const H4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ta(e){const{t:n}=be.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const c=s==null||!Number.isFinite(Number(s)),d=c?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${c?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c?void 0:d,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:c?void 0:{width:`${d}%`}})})}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:H4,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 Hl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const c=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"&&c,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>n?.(d.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&c]})}function zl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:c}){const d=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)}),t.jsxs("label",{className:De("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:d,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:h=>{n?.(h.target.checked),d.current&&(d.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&c?c:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function z4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=be.useTranslation(),c=s!==void 0?s:e>0,d=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),h=o.useRef(null),g=o.useRef(c);o.useLayoutEffect(()=>{const C=m.current,w=g.current;if(g.current=c,c&&!w){const v=typeof document<"u"?document.activeElement:null;h.current=v&&v!==document.body&&!C?.contains(v)?v:null}else!c&&w&&C&&C.contains(document.activeElement)&&Ua(C,h.current)},[c]);const[b,f]=o.useState(!1),A=o.useRef(!1),y=o.useRef(null);return o.useEffect(()=>{const C=p.current;if(!C)return;const w=B=>{A.current=B,f(B)},v=()=>{const B=C.firstElementChild??C,D=Array.from(B.children);if(D.length<2){w(!1);return}const R=D[0].offsetTop,z=D.some(H=>H.offsetTop!==R);if(!A.current){y.current=C.clientWidth,z&&w(!0);return}if(z)return;const M=D[0],W=D[D.length-1],S=W.offsetLeft+W.offsetWidth-M.offsetLeft,F=y.current;(F==null||S<=F)&&w(!1)};if(v(),typeof ResizeObserver>"u")return;const k=new ResizeObserver(v);k.observe(C);const _=C.parentElement;let N=_?.clientWidth??0;const x=new ResizeObserver(()=>{const B=_?.clientWidth??0;B!==N&&(N=B,y.current=null,v())});return _&&x.observe(_),()=>{k.disconnect(),x.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${c?"bulk-bar--visible":""}`,inert:!c||void 0,"aria-hidden":c?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(yt,{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${b?" bulk-bar__actions--stacked":""}`,children:[t.jsx(ce,{htmlType:"button",size:40,label:d,onClick:a}),n.map((C,w)=>t.jsx(ce,{htmlType:"button",size:40,variant:C.variant??"default",icon:C.icon,label:C.label,onClick:C.onClick},w))]})]})}const V4=[{\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 W4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:De("item-actions",a),children:V4.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(ce,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function Vl(e,n){const a=()=>{if(e){const[f,A]=e.split("-");return{y:+f,m:+A-1}}const[g,b]=Pr(n).split("-");return{y:+g,m:+b-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 c=o.useRef({y:r,m:i});o.useEffect(()=>{c.current={y:r,m:i}},[r,i]);const d=o.useCallback(g=>{const b=c.current.y*12+c.current.m+g,f=Math.floor(b/12),A=b-f*12;c.current={y:f,m:A},s(f),l(A)},[]),p=o.useCallback(()=>d(-1),[d]),m=o.useCallback(()=>d(1),[d]),h=o.useCallback((g,b)=>{c.current={y:g,m:b},s(g),l(b)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:h}}function er(e,n){return new Date(e,n+1,0).getDate()}function q4(e,n){return new Date(e,n,1).getDay()}function tr(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function U4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function G4(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 c=0;c<12;c++){const d=`${u}-${String(c+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:n(u,c+1)})}return l}function K4({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:c}){const{t:d}=be.useTranslation(),p=l??d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),h=Pr(c),{viewY:g,viewM:b,prevMonth:f,nextMonth:A,setViewYM:y}=Vl(e,c),C=o.useId(),w=o.useCallback((E,O)=>{const T=window.innerHeight,I=window.innerWidth,L=typeof document<"u"?document.getElementById(C):null,Z=Math.max(L?.offsetHeight||0,L?.scrollHeight||0)||300,ee=Math.max(E.width,L?.offsetWidth||0,260),G=T-E.bottom,ae=E.top,ye=G<Z&&ae>G,he=8,de=(q,te)=>Math.min(Math.max(he,q),Math.max(he,te));return{position:"fixed",left:de(E.left,I-ee-he),width:E.width,minWidth:260,...ye?{top:"auto",bottom:de(T-E.top+6,T-Z-he)}:{bottom:"auto",top:de(E.bottom+6,T-Z-he)},zIndex:Aa(O)}},[C]),{open:v,setOpen:k,toggle:_,style:N,triggerRef:x,menuRef:B}=ka({computeStyle:w,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!v)return;const E=B.current;return(E?.querySelector(".date-picker__day--selected:not(:disabled)")??E?.querySelector(".date-picker__day--today:not(:disabled)")??E?.querySelector(".date-picker__day:not(:disabled)")??E?.querySelector(yn)??E)?.focus?.(),()=>{const O=document.activeElement;(!O||O===document.body)&&x.current?.focus?.()}},[v,B,x]);const[D,R]=o.useState(1),z=o.useRef(null),M=o.useRef(null);o.useEffect(()=>{if(!v)return;const E=e&&e.slice(0,7)===`${g}-${String(b+1).padStart(2,"0")}`?+e.slice(8):h.slice(0,7)===`${g}-${String(b+1).padStart(2,"0")}`?+h.slice(8):1;R(E)},[v]),o.useEffect(()=>{if(M.current==null)return;const E=M.current;M.current=null,z.current?.querySelector(`[data-day="${E}"]`)?.focus()}),o.useEffect(()=>{R(E=>Math.min(E,er(g,b)))},[g,b]);const W=o.useCallback(E=>{let O=tr(E.getFullYear(),E.getMonth(),E.getDate());r&&O<r&&(O=r),s&&O>s&&(O=s);const[T,I,L]=O.split("-").map(Number);(T!==g||I-1!==b)&&y(T,I-1),R(L),M.current=L},[r,s,g,b,y]),S=o.useCallback(E=>{const O=new Date(g,b,D),T=L=>{O.setDate(O.getDate()+L),W(O)},I=L=>{const Z=O.getFullYear()*12+O.getMonth()+L,ee=Math.floor(Z/12),G=Z-ee*12;W(new Date(ee,G,Math.min(O.getDate(),er(ee,G))))};switch(E.key){case"ArrowLeft":T(-1);break;case"ArrowRight":T(1);break;case"ArrowUp":T(-7);break;case"ArrowDown":T(7);break;case"Home":T(-O.getDay());break;case"End":T(6-O.getDay());break;case"PageUp":E.shiftKey?I(-12):I(-1);break;case"PageDown":E.shiftKey?I(12):I(1);break;default:return}E.preventDefault()},[g,b,D,W]),F=o.useCallback(E=>{i||(n(tr(g,b,E)),k(!1))},[g,b,n,k,i]);o.useEffect(()=>{i&&k(!1)},[i,k]);const H=E=>{const O=tr(g,b,E);return!!(r&&O<r||s&&O>s)},J=(()=>{const E=er(g,b);if(D>=1&&D<=E&&!H(D))return D;for(let O=1;O<=E;O++)if(!H(O))return O;return-1})(),Y=[];for(let E=0;E<q4(g,b);E++)Y.push(null);for(let E=1;E<=er(g,b);E++)Y.push(E);const P=a===64?20:a===40?16:18,V=G4(g,(E,O)=>d("calendar.yearMonth",{year:E,month:O,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),U=`${g}-${String(b+1).padStart(2,"0")}`,$=v?Xt.createPortal(t.jsxs("div",{ref:B,id:C,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":d("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:f,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ss,{size:16,strokeWidth:2})}),t.jsx(sn,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:V,value:U,onChange:E=>{const[O,T]=E.split("-");y(+O,+T-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:A,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(is,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:S,children:[m.map(E=>t.jsx("div",{className:"date-picker__dow caption-1",children:E},E)),Y.map((E,O)=>{if(E===null)return t.jsx("div",{},`e${O}`);const T=tr(g,b,E),I=T===e,L=T===h,Z=H(E),ee=O%7;return t.jsx("button",{type:"button",disabled:Z,"data-day":E,tabIndex:E===J?0:-1,"aria-current":L?"date":void 0,onClick:()=>!Z&&F(E),className:De("date-picker__day caption-1",I&&"date-picker__day--selected",L&&!I&&"date-picker__day--today",Z&&"date-picker__day--disabled",ee===0&&"date-picker__day--sun",ee===6&&"date-picker__day--sat"),children:E},E)})]})]}),document.body):null;return t.jsxs("div",{className:De("date-picker",`date-picker--s${a}`,v&&"date-picker--open",u),children:[t.jsxs("button",{ref:x,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&_(),disabled:i,"aria-haspopup":"true","aria-expanded":v,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?U4(e):p}),t.jsx(fs,{size:P,className:"date-picker__icon",strokeWidth:1.5})]}),$]})}function Wl({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 c=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;c>0?r.style.setProperty("--section-head-float-w",`${c}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:De("section-head-float",n),children:e})}function uo({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 Ma({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 co({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:c,collapseBelow:d=420,onClick:p,ariaLabel:m,tooltip:h,totalNum:g,totalUnit:b,totalLabel:f,subRow:A,subRowAlign:y="start",className:C,inGrid:w=!1,children:v}){const{t:k}=be.useTranslation(),_=o.useRef(null),{anchorRect:N,openAt:x,close:B}=wa(),D=o.useCallback(()=>{h&&_.current&&x(_.current)},[h,x]),[R,z]=o.useState(!1);io(()=>{const T=_.current;if(!T||!u)return;const I=Z=>z(Z>0&&Z<d);if(I(T.clientWidth),typeof ResizeObserver>"u")return;const L=new ResizeObserver(Z=>I(Z[0].contentRect.width));return L.observe(T),()=>L.disconnect()},[u,d]);const[M,W]=o.useState(null),S=o.useCallback(()=>W(null),[]),F=o.useCallback(T=>{const I=T.currentTarget.getBoundingClientRect();W(L=>L?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})},[]),H=!!u&&R;o.useEffect(()=>{H||W(null)},[H]);const J=u?[...u.options.map(T=>({label:T.label,icon:T.icon,selected:T.key===u.value,disabled:T.disabled,onClick:()=>u.onChange(T.key),closeOnSelect:!0})),...(c??[]).map((T,I)=>I===0?{...T,separatorBefore:!0}:T)]:[],Y=o.useCallback(T=>{if(!p)return;const I=T.target;I&&typeof I.closest=="function"&&I.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),P=o.useCallback(T=>{p&&T.target===T.currentTarget&&(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),p())},[p]),V=typeof i=="function"?i({collapsed:H}):i,U=g!=null||f?t.jsxs(Ma,{label:f,children:[g!=null&&t.jsx("span",{className:"barchart-total__num h0",children:g}),b&&t.jsx("span",{className:"barchart-total__unit h5",children:b})]}):null,$=V||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(H?t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??k("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??k("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!M,onClick:F}):t.jsx(An,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(T=>({key:T.key,label:T.label,disabled:T.disabled})),value:u.value,onChange:u.onChange})),V]}):null,E=o.useId(),O=a?`h${a}`:"div";return t.jsxs("section",{ref:_,className:["manager-section",w&&"manager-section--grid",p&&"manager-section--clickable",C].filter(Boolean).join(" "),onClick:p?Y:void 0,onKeyDown:p?P:void 0,onPointerEnter:h?D:void 0,onPointerLeave:h?B:void 0,onFocus:h?D:void 0,onBlur:h?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?E:void 0,children:[h&&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:h}),l&&t.jsx(Wl,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ke,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(O,{id:E,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),$,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(U||A)&&t.jsxs("div",{className:["barchart-sub-row",y!=="start"&&`barchart-sub-row--${y}`].filter(Boolean).join(" "),children:[U,A]}),v,M&&t.jsx(rn,{anchorRect:M,onClose:S,ariaLabel:u?.ariaLabel??k("tooltip.menu","\uBA54\uB274"),children:t.jsx(Ba,{columns:[{items:J}],onClose:S,size:"small"})})]})}function pn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function Y4(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<pn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-pn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function Z4(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(c,d)=>`${c}\uB144 ${d+1}\uC6D4`,s=new Map;s.set(a,[]);for(const c of e){if(isNaN(c.date.getTime()))continue;const d=r(c.date.getFullYear(),c.date.getMonth());s.has(d)||s.set(d,[]),s.get(d).push(c)}for(const[c,d]of[...s.entries()]){const p=c.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,g=pn(m,h);if(!(c===a&&n.getDate()<g)&&!d.some(A=>A.date.getDate()<g))continue;const b=new Date(m,h,0),f=r(b.getFullYear(),b.getMonth());s.has(f)||s.set(f,[])}const i=new Map;for(const[c,d]of s){const p=c.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,g=new Date(m,h+1,0).getDate(),b=d.reduce((v,k)=>Math.max(v,k.parts?.length??0,k.partsB?.length??0),0),f=d.some(v=>v.partsB),A=new Array(g+1).fill(0),y=new Array(g+1).fill(0),C=Array.from({length:g+1},()=>new Array(b).fill(0)),w=Array.from({length:g+1},()=>new Array(b).fill(0));for(const v of d){const k=v.date.getDate();if(A[k]+=v.a,y[k]+=v.b,v.parts)for(let _=0;_<b;_++)C[k][_]+=v.parts[_]??0;if(v.partsB)for(let _=0;_<b;_++)w[k][_]+=v.partsB[_]??0}i.set(c,{year:m,month:h,daysInMonth:g,partsLen:b,hasPartsB:f,dayA:A,dayB:y,dayParts:C,dayPartsB:w})}const l=(c,d,p)=>new Date(c,d,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[c,d]of i){const{year:p,month:m,daysInMonth:h,dayA:g,dayB:b,dayParts:f,dayPartsB:A}=d,y=p===n.getFullYear()&&m===n.getMonth(),C=n.getDate(),w=i.get(r(m===11?p+1:p,(m+1)%12)),v=d.partsLen,k=[];for(let N=1;N<=h;N++){const x=y&&N>C;k.push({label:String(N),...x&&g[N]===0&&b[N]===0?{future:!0}:{},a:x&&g[N]===0&&b[N]===0?-1:g[N],b:b[N],...v?{parts:f[N]}:{},...v&&d.hasPartsB?{partsB:A[N]}:{}})}const _=[];for(let N=pn(p,m);N<=h;N+=7){const x=Math.max(0,N+6-h),B=x&&w?Math.max(v,w.partsLen):v,D=d.hasPartsB||!!(x&&w?.hasPartsB);let R=0,z=0;const M=new Array(B).fill(0),W=new Array(B).fill(0);for(let F=N;F<=Math.min(N+6,h);F++){R+=g[F],z+=b[F];for(let H=0;H<v;H++)M[H]+=f[F][H],W[H]+=A[F][H]}if(x&&w)for(let F=1;F<=x&&!l(w.year,w.month,F);F++){R+=w.dayA[F],z+=w.dayB[F];for(let H=0;H<w.partsLen;H++)M[H]+=w.dayParts[F][H],W[H]+=w.dayPartsB[F][H]}const S=x?`${(m+1)%12+1}/${x}`:`${N+6}`;_.push({label:`${_.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${S}\uC77C]`,a:R,b:z,...B?{parts:M}:{},...B&&D?{partsB:W}:{}})}u[c]={weekly:_,daily:k}}return u}function ql(){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()}ql();function X4(){return ql()}const Ul=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Gl(e){const{t:n,i18n:a}=be.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>X4().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const D of i){const R=new Date(D.year,D.month,0).getDate(),z=pn(D.year,D.month-1),M=Math.ceil((R-z+1)/7);for(let W=M-1;W>=0;W--)B.push({value:`${D.value}#${W}`,monthKey:D.value,year:D.year,month:D.month,week:W})}return B},[i]),u=o.useCallback(B=>{const D=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${D} ${Ul[B.week]??`${B.week+1}`}\uC8FC`:`${D} Week ${B.week+1}`},[n,a.language]),c=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),d=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>Y4(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),h=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[g,b]=o.useState(""),[f,A]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===g)||b(m)},[i,g,m]),o.useEffect(()=>{l.find(B=>B.value===f)||A(h)},[l,f,h]);const y=r==="month"?c:d,C=r==="month"?g:f,w=r==="month"?b:A,v=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),k=y.findIndex(B=>B.value===C),_=o.useCallback(()=>{const B=y.findIndex(D=>D.value===C);B<y.length-1&&w(y[B+1].value)},[y,C,w]),N=o.useCallback(()=>{const B=y.findIndex(D=>D.value===C);B>0&&w(y[B-1].value)},[y,C,w]),x=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:C,setRange:w,activeOptions:y,activeIdx:k,handlePrev:_,handleNext:N,periodOptions:x,monthRange:g,weekRange:f,weekRanges:l,DOW:v}}const pt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function kn(e,n=!0){return e.future===!0||n&&e.a===-1}function J4({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:c,tightMax:d,seriesColors:p,seriesLabels:m,rateLabels:h,grouped:g=!1,baseline:b,focusableBars:f=!1}){const A=!a,y=!!(p&&p.length>0),C=b,w=o.useMemo(()=>y?Math.max(0,...e.filter(P=>!kn(P,C==null)).map(P=>g?Math.max(0,...(P.parts??[]).map(pt)):(P.parts??[]).reduce((V,U)=>V+Math.max(0,pt(U)),0))):Math.max(0,...e.filter(P=>!kn(P,C==null)).flatMap(P=>A?[pt(P.a)]:[pt(P.a),pt(P.b)])),[e,A,y,g]),v=o.useMemo(()=>{if(C==null)return 0;const P=e.filter(V=>!kn(V,C==null)).flatMap(V=>y?(V.parts??[]).map(pt):A?[pt(V.a)]:[pt(V.a),pt(V.b)]);return Math.max(0,...P.map(V=>Math.abs(V-C)))},[e,C,y,A]),k=o.useMemo(()=>{const P=C!=null?v:w;return c??(d?P>0?P:10:Math.ceil(P/10)*10||10)},[w,v,C,c,d]),_=u,N=y?g?Math.max(1,p.length):1:A?1:2,x={"--bar-width":`${o.useMemo(()=>{const P=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(P*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},D=o.useMemo(()=>{const P=Math.round(k/2);return C!=null?[C+k,...P!==k?[C+P]:[],C,...P!==k?[C-P]:[],C-k]:P!==k?[k,P,0]:[k,0]},[k,C]),R=P=>C!=null?1-(P-(C-k))/(2*k):1-P/k,[z,M]=o.useState(null),W=o.useCallback(()=>M(null),[]),S=o.useCallback((P,V)=>{const U=[P.label,P.sublabel].filter(Boolean).join(" ");let $;if(y&&g&&P.rawPartsB)$=(m??[]).map((E,O)=>{const T=P.rawPartsB[O]??0;return{text:T>0?`${E}: ${V[O]??0}% (${P.rawParts?.[O]??0}/${T})`:`${E}: -`,color:(p??[])[O]}});else if(y&&g)$=(m??[]).map((E,O)=>({text:`${E}: ${J(V[O]??0)}`,color:(p??[])[O]}));else if(y){const E=(m??[]).map((T,I)=>({text:`${T}: ${V[I]??0}`,color:(p??[])[I]})),O=E.filter((T,I)=>(V[I]??0)>0);$=O.length?O:E}else h&&!A?$=[{text:`${r} ${pt(P.a)}%`,color:n},{text:`${s} ${pt(P.b)}%`,color:a}]:h&&P.rawB!==void 0?$=[{text:`${h.total} ${P.rawB}`},{text:`${h.done} ${P.rawA??0}`,color:n}]:A?$=[{text:`${r}: ${pt(P.a)}`,color:n}]:$=[{text:`${r}: ${pt(P.a)}`,color:n},{text:`${s}: ${pt(P.b)}`,color:a}];return{title:U,items:$}},[y,g,m,p,h,A,r,s,n,a,C]),F=o.useCallback((P,V,U)=>{const $=P.getBoundingClientRect(),{title:E,items:O}=S(V,U);M({rect:{left:$.left,top:$.top,right:$.right,bottom:$.bottom,width:$.width,height:$.height},title:E,items:O})},[S]),H=o.useCallback((P,V)=>{const{title:U,items:$}=S(P,V);return[U,...$.map(E=>E.text)].filter(Boolean).join(", ")},[S]),J=P=>C!=null&&P>C?`+${P}`:`${P}`,Y=z!=null;return o.useEffect(()=>{if(!Y)return;const P=()=>M(null),V=U=>{const $=U.target;$&&typeof $.closest=="function"&&$.closest(".manager-bar-chart-col")||M(null)};return window.addEventListener("scroll",P,!0),document.addEventListener("pointerdown",V,!0),()=>{window.removeEventListener("scroll",P,!0),document.removeEventListener("pointerdown",V,!0)}},[Y]),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:_},children:[D.slice(0,-1).map((P,V)=>t.jsx("div",{className:`manager-bar-chart-gridline${C!=null&&P===C?" manager-bar-chart-gridline--baseline":""}`,style:{top:R(P)*_},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:P})},V)),e.map((P,V)=>{const U=kn(P,C==null),$=_/2,E=L=>C!=null?Math.min($,Math.abs(pt(L)-C)/k*$):Math.min(_,Math.max(0,pt(L)/k*_)),O=U?0:E(P.a),T=U?0:E(P.b),I=(P.parts??[]).map(pt);return t.jsx("div",{className:`manager-bar-chart-col${g&&y?" manager-bar-chart-col--group":""}`,style:{cursor:U?"default":"pointer"},tabIndex:f&&!U?0:void 0,role:f&&!U?"img":void 0,"aria-label":f&&!U?H(P,I):void 0,onMouseEnter:U?void 0:L=>F(L.currentTarget,P,I),onFocus:U||!f?void 0:L=>F(L.currentTarget,P,I),onBlur:f?W:void 0,onMouseLeave:W,children:!U&&(y&&g?(p??[]).map((L,Z)=>{const ee=I[Z]??0;if(C==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:E(ee),background:L}},Z);const G=pt(ee)<C;return t.jsxs("div",{className:"manager-bar-chart-slot",style:x,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!G&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:E(ee),background:L}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:G&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:E(ee),background:L}})})]},Z)}):y?t.jsx("div",{className:"manager-bar-chart-stack",style:x,children:(()=>{const L=I.reduce((ee,G,ae)=>G>0?ae:ee,-1);let Z=_;return I.map((ee,G)=>{if(ee<=0)return null;const ae=Math.min(Z,ee/k*_);return Z-=ae,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:ae,background:(p??[])[G],borderRadius:G===L?"6px 6px 0 0":void 0}},G)})})()}):C!=null?t.jsx(t.Fragment,{children:[{v:pt(P.a),c:n},...A?[]:[{v:pt(P.b),c:a}]].map(({v:L,c:Z},ee)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:x,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:L>=C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:E(L),background:Z}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:L<C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:E(L),background:Z}})})]},ee))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:O,background:n}}),!A&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:T,background:a}})]}))},V)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((P,V)=>{const U=kn(P,C==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${U?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[P.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),P.label]}),P.sublabel&&t.jsx("span",{className:"caption-1",children:P.sublabel})]},V)})})]})})}),z&&t.jsx(Vn,{anchorRect:z.rect,title:z.title,items:z.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Kl({control:e}){const{t:n}=be.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:c,period:d,setPeriod:p}=e,m=d==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),h=d==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(sn,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:h,showTooltipInfo:h,disabled:r<=0,onClick:u}),t.jsx(An,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:c,value:d,onChange:g=>p(g),size:40})]})}function po(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 c=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],d=c!=null&&kn(c,r)||u>s;return{dt:u,entry:c,isFuture:d}})}function Q4(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:c,DOW:d}=n,p=r?.startsWith("ko"),m=Jn(),h=m.getFullYear(),g=m.getMonth()+1,b=m.getDate();if(i==="month"){const y=e[l]??{weekly:[],daily:[]},C=l.match(/^(\d+)년 (\d+)월$/),w=C?Number(C[1]):null,v=C?Number(C[2]):null,k=w&&v?pn(w,v-1):1;return y.weekly.map((_,N)=>{const x=N+1;let B=_.label,D=!1,R=!1;if(w&&v){const z=k+N*7,M=new Date(w,v-1,z+6),W=M.getMonth()+1,S=M.getDate(),F=W===v?`${S}`:`${W}/${S}`;B=a("manager.chart.weekRange",{start:z,end:F});const H=new Date(h,g-1,b).getTime();D=H>=new Date(w,v-1,z).getTime()&&H<=M.getTime(),R=w>h||w===h&&(v>g||v===g&&z>b)}return{..._,label:B,sublabel:p?`${Ul[x-1]??x}\uC8FC`:`Week ${x}`,isToday:D,future:_.future===!0||R||void 0,a:R?-1:_.a,b:R?0:_.b}})}const f=c.find(y=>y.value===u);if(!f)return[];const A=new Date(f.year,f.month-1,pn(f.year,f.month-1)+f.week*7);return po(e,A,m,s).map(({dt:y,entry:C,isFuture:w})=>{const v=y.getMonth()+1,k=y.getDate(),_=y.getFullYear();return{label:v===f.month&&_===f.year?`${k}`:`${v}/${k}`,sublabel:d[y.getDay()]??"",future:w||void 0,a:w?-1:C&&C.a>0?C.a:0,b:w?0:C&&C.b>0?C.b:0,isToday:_===h&&v===g&&k===b,...C?.parts?{parts:w?C.parts.map(()=>0):C.parts}:{},...C?.partsB?{partsB:w?C.partsB.map(()=>0):C.partsB}:{}}})}const ey={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function ty({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,data:s,colorA:i,colorB:l,labelAKey:u,labelBKey:c,showTotal:d=!1,totalUnitKey:p,totalLabelKey:m,control:h,hideControls:g=!1,rate:b=!1,rateAgg:f="dayMean",tightMax:A=!1,avgMode:y=!1,totalFormat:C,series:w,seriesMode:v="stack",loading:k=!1,onDetail:_,headExtra:N,headSegment:x,icon:B,disc:D,onClick:R,cardAriaLabel:z,cardTooltip:M,detailSize:W=32,barGap:S,baseline:F,className:H,inGrid:J=!1}){const{t:Y,i18n:P}=be.useTranslation(),V=ey[n],U=Gl(s),$=h??U,E=o.useMemo(()=>Q4(s,$,Y,P.language,F==null),[s,$,Y,P.language,F]),O=v==="group"&&!!w&&w.length>0;S!=null&&!O&&bn("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 T=o.useMemo(()=>{if(!b)return E;const G=$.period==="month"?$.monthRange.match(/^(\d+)년 (\d+)월$/):null,ae=Jn(),ye=w?.length??0,he=de=>{const q=[],te=[],le=[];for(let ve=0;ve<ye;ve++){let pe=0,oe=0,fe=0;for(const ge of de){const Ee=pt(ge.a[ve]),Ie=pt(ge.b[ve]);Ie<=0||(pe+=Ee,oe+=Ie,fe+=Ee/Ie*100)}q.push(f==="weighted"?oe>0?Math.round(pe/oe*100):0:de.length?Math.round(fe/de.length):0),te.push(pe),le.push(oe)}return{pct:q,ra:te,rb:le}};return E.map((de,q)=>{let te=de.a===-1?-1:de.b>0?Math.round(de.a/de.b*100):0;if(G&&!kn(de)){const ve=Number(G[1]),pe=Number(G[2])-1,oe=po(s,new Date(ve,pe,pn(ve,pe)+q*7),ae).filter(fe=>!fe.isFuture);if(f==="weighted"){let fe=0,ge=0;for(const{entry:Ee}of oe)Ee&&Ee.b>0&&(fe+=Ee.a,ge+=Ee.b);te=ge>0?Math.round(fe/ge*100):0}else te=oe.length?Math.round(oe.reduce((fe,{entry:ge})=>fe+(ge&&ge.b>0?ge.a/ge.b*100:0),0)/oe.length):0}let le=null;if(O&&!kn(de)){let ve;if(G){const oe=Number(G[1]),fe=Number(G[2])-1;ve=po(s,new Date(oe,fe,pn(oe,fe)+q*7),ae).filter(ge=>!ge.isFuture).map(({entry:ge})=>({a:ge?.parts??[],b:ge?.partsB??[]}))}else ve=[{a:de.parts??[],b:de.partsB??[]}];const pe=he(ve);le={parts:pe.pct,rawParts:pe.ra,rawPartsB:pe.rb}}return{...de,a:te,b:de.a===-1?0:c&&de.parts&&de.parts[1]>0?Math.round(de.parts[0]/de.parts[1]*100):0,rawA:de.a===-1?-1:de.a,rawB:de.b,...le??{}}})},[E,b,f,c,$.period,$.monthRange,s,O,w?.length]),I=o.useMemo(()=>{if(b||y){const ae=($.period==="week"?E:s[$.monthRange]?.daily??[]).filter(he=>he.a!==-1);if(ae.length===0)return 0;if(b&&f==="weighted"){let he=0,de=0;for(const q of ae)q.b>0&&(he+=q.a,de+=q.b);return de>0?Math.round(he/de*100):0}const ye=b?ae.reduce((he,de)=>he+(de.b>0?de.a/de.b*100:0),0):ae.reduce((he,de)=>he+(de.a>0?de.a:0),0);return Math.round(ye/ae.length)}const G=$.period==="month"?s[$.monthRange]?.daily??[]:T;return F!=null?G.reduce((ae,ye)=>ae+(kn(ye,!1)?0:pt(ye.a)+(c?pt(ye.b):0)),0):G.reduce((ae,ye)=>ae+(ye.a>0?ye.a:0)+(c&&ye.b>0?ye.b:0),0)},[T,E,b,f,y,F,c,$.period,$.monthRange,s]),L=w&&w.length>0?w.map(G=>({color:G.color,label:G.label})):[{color:i,label:Y(u)},...c?[{color:l,label:Y(c)}]:[]],Z=n==="small",ee=[Z?"manager-section--compact":n==="large"?"manager-section--full":void 0,H].filter(Boolean).join(" ")||void 0;return t.jsx(co,{className:ee,inGrid:J,icon:B,disc:D,onClick:R,ariaLabel:z,tooltip:M,headSegment:x,headMenuItems:_?[{label:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:_,closeOnSelect:!0}]:void 0,title:Y(r),titleClassName:Z?"h5 chart-section-title--small":void 0,headRight:Z?N??void 0:({collapsed:G})=>t.jsxs(t.Fragment,{children:[!g&&t.jsx(Kl,{control:$}),N,_&&!G&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(ce,{htmlType:"button",size:W,type:"dot",icon:"list",ariaLabel:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:_})})]}),subRow:t.jsxs(t.Fragment,{children:[d?b||y||m&&C?t.jsx(Ma,{label:Z?void 0:`${Y($.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${Y(m??u)}`,children:C?(C(I).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((G,ae)=>/\d/.test(G)?t.jsx("span",{className:"barchart-total__num h0",children:G},ae):t.jsx("span",{className:"barchart-total__unit h5",children:G},ae)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:I}),p&&t.jsx("span",{className:"barchart-total__unit h5",children:Y(p)})]})}):t.jsxs(Ma,{children:[t.jsx("span",{className:"barchart-total__num h0",children:I}),t.jsx("span",{className:"barchart-total__unit h5",children:Y(u)}),p&&t.jsx("span",{className:"barchart-total__unit h5",children:Y(p)})]}):t.jsx("span",{}),t.jsx(uo,{items:L,className:"caption-1"})]}),children:k?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:V.height},children:t.jsx(Ta,{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"}),T.some(G=>!!G.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(J4,{focusableBars:e,data:T,colorA:i,colorB:c?l:void 0,labelA:Y(u),labelB:c?Y(c):void 0,barWidth:a??V.barWidth,barGap:S,baseline:F,height:V.height,maxOverride:b?100:void 0,tightMax:A,seriesColors:w?.map(G=>G.color),seriesLabels:w?.map(G=>G.label),rateLabels:b?{total:Y("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:Y("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:O})})}const Yl=120,ny={left:38,right:16,top:26,bottom:24};function ay({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:c,ariaLabel:d,className:p}){const[m,h]=o.useState(null),[g,b]=o.useState(null);o.useEffect(()=>{if(!g)return;const H=Y=>h(Math.round(Y)||null);if(H(g.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const J=new ResizeObserver(([Y])=>H(Y.contentRect.width));return J.observe(g),()=>{J.disconnect()}},[g]);const{payload:f,anchorRect:A,openAfterDelay:y,close:C}=lb(Yl),w=o.useCallback((H,J)=>{H&&y(H,J.getBoundingClientRect())},[y]),v=m??l,k=i,{left:_,right:N,top:x,bottom:B}={...ny,...u},[D,R]=n,z=H=>R===D?_:_+(v-_-N)*(H-D)/(R-D),M=H=>x+(k-x-B)*(100-H)/100,W={x:z,y:M,plot:{left:_,right:v-N,top:x,bottom:k-B,width:Math.max(0,v-_-N),height:Math.max(0,k-x-B)}},S=e.filter(H=>!H.hollow),F=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:b,className:De("line-chart",p),viewBox:`0 0 ${v} ${k}`,role:"img","aria-label":d??e.map(H=>H.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(H=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:_,x2:v-N,y1:M(H),y2:M(H)}),t.jsxs("text",{className:"line-chart__tick",x:_-6,y:M(H)+4,textAnchor:"end",children:[H,"%"]})]},H)),c?.(W),a.map(H=>t.jsx("text",{className:"line-chart__tick",x:z(H.x),y:k-5,textAnchor:"middle",children:H.label},H.x)),S.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:F,points:S.map(H=>`${z(H.x)},${M(H.pct)}`).join(" ")}),e.map(H=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:J=>w(H.description,J.currentTarget),onPointerLeave:C,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:z(H.x),cy:M(H.pct),r:12}),t.jsx("circle",{className:De("line-chart__dot-main",H.hollow&&"is-hollow"),cx:z(H.x),cy:M(H.pct),r:4,stroke:F,fill:H.hollow?void 0:F})]},H.x))]}),f!=null&&t.jsx(rn,{anchorRect:A,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:f,children:f})]})}function ry({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:De("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:De("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((c,d)=>t.jsxs("div",{className:"game-intro__tips",children:[c.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:c.title}),c.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))]},d)),l&&t.jsx(ce,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Zl=(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")}`},Xl=(e,n,a,r)=>({from:li(e,n,a),to:new Date(li(e,n,a+r).getTime()-1),fromYmd:Zl(e,n,a),toYmd:Zl(e,n,a+r-1)});function oy(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,c=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Xl(l,u,1,c)}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=pn(a.year,a.month-1);return Xl(a.year,a.month-1,r+(a.week+n)*7,7)}const mo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Jl(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function Ql({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:c=!1}){const d=typeof s=="number"?s:mo[s].diameter,p=i??(typeof s=="number"?12:mo[s].strokeWidth),m=d/2,h=(d-p)/2,g=2*Math.PI*h;if(a&&a.length>0){const y=a.reduce((C,w)=>{const v=C.length>0?C[C.length-1].acc:0,k=Number.isFinite(w.ratio)?w.ratio:0,_=Math.max(0,Math.min(k,1-v));return C.push({color:w.color,rotate:-90+v*360,dash:g*_,acc:v+_}),C},[]);return t.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),y.map((C,w)=>C.dash>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:C.color,strokeWidth:p,strokeDasharray:`${C.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${C.rotate} ${m} ${m})`},w))]})})}const b=(n??0)>0?Math.min((e??0)/n,1):0,f=g*b,A=g-f;return t.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),b>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${f} ${A}`,strokeLinecap:b<.02||b>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${c?"":` ${d<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Jl(b)}),!c&&t.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function sy({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:s,legend:i,loading:l,className:u,inGrid:c=!1,onClick:d,ariaLabel:p,tooltip:m,...h}){const{t:g}=be.useTranslation();if(!e)return t.jsx(Ql,{...h});const b=(h.total??0)>0?Jl(Math.min((h.done??0)/h.total,1)):0,f=h.size==="small",A=typeof h.size=="number"?h.size:mo[h.size??"medium"].diameter,y=h.size==="large",C=[u,f?"manager-section--compact":y?"manager-section--full":""].filter(Boolean).join(" ")||void 0,w=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ke,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(co,{className:C,inGrid:c,onClick:d,ariaLabel:p,tooltip:m,title:g(e),titleClassName:f?"h5 chart-section-title--small":void 0,headRight:w||(f?void 0:n),subRow:(r||i)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(Ma,{label:!f&&s?g(s):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",{}),i&&t.jsx(uo,{items:i})]}),children:l?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:A,height:A},"aria-busy":"true",children:t.jsx(Ta,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(Ql,{...h,hideCenter:h.hideCenter??f})})})}function iy({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const c=o.useRef(null),{anchorRect:d,openAt:p,close:m}=wa(),h=o.useCallback(()=>{i&&c.current&&p(c.current)},[i,p]),g=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),b=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=o.useCallback(A=>{l&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:h,onPointerLeave:m,onFocus:h,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,b].filter(A=>A!==void 0&&A!=="").join(" "):void 0,children:[i&&d&&t.jsx(vn,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.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(Ke,{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}),b&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${g??"neutral"} caption-1`,children:b})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function eu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:c,length:d,className:p,label:m,formatValue:h,labelPos:g,labelAlign:b="right",showMinMax:f=!1,minLabel:A,maxLabel:y,showBgTick:C=!1,showFillTick:w=!1,tickStep:v,tickShape:k="dot"}){n&&!c&&bn("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 _=Math.min(r,Math.max(a,e)),N=r>a?(_-a)/(r-a):0,x=i==="vertical",B=!n,D=E=>n?.(Number(E.target.value)),R=typeof d=="number"?`${d}px`:d,z={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...R?x?{height:R}:{width:R}:{}},M=v??s,W=(C||w)&&M>0&&r>a?Math.floor((r-a)/M+1e-6):0;if(W>0&&W<=100){const E=k!=="dash",O=ee=>E?`radial-gradient(circle, ${ee} 0.5px, transparent 1px)`:x?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`,T=E?"2px":"4px",I=[],L=[],Z=[];for(let ee=0;ee<=W;ee++){const G=ee*M/(r-a);if(G>1+1e-6)break;const ae=`${((x?1-G:G)*100).toFixed(4)}%`,ye=G<=N+1e-6;if(ye?!w:!C)continue;const he=ye?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(O(he)),L.push(x?`${T} var(--slider-thumb)`:`var(--slider-thumb) ${T}`),Z.push(x?`center ${ae}`:`${ae} center`)}I.push(x?"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))"),L.push("100% 100%"),Z.push("0 0"),z.backgroundImage=I.join(", "),z.backgroundSize=L.join(", "),z.backgroundPosition=Z.join(", "),z.backgroundRepeat="no-repeat"}const S=h?h(_):m==="percent"?`${Math.round(r>a?(_-a)/(r-a)*100:0)}%`:m==="count"?`${_} / ${r}`:_===a&&A?A:_===r&&y?y:void 0,F=t.jsx("input",{type:"range",className:De("slider",`slider--${i}`,B&&"slider--static",!m&&!f&&p),min:a,max:r,step:s,value:_,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":c,"aria-valuetext":S,"aria-orientation":i,onChange:D,style:z});if(!m&&!f)return F;const H=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:A??a}),J=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??r}),Y=f?t.jsxs("div",{className:De("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[x?J:H,F,x?H:J]}):F;if(!m)return Y;const P=g??(x?"bottom":"right"),V=`${Math.round(r>a?(_-a)/(r-a)*100:0)}%`,U=h?h(_):m==="percent"?V:m==="count"?`${_} / ${r}`:String(_),$=t.jsx("span",{className:"slider-wrap__value body-3b",children:U});return t.jsxs("div",{className:De("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${P}`,`slider-wrap--align-${b}`,p),children:[Y,$]})}const ly=.86,uy=250,ho=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),Co=(e,n,a,r)=>{const s=ho(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function fo({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:c=-35,displayMin:d=-5,displayMax:p=25,className:m,ariaLabel:h}){const g=o.useRef(null),b=o.useRef(null),f=o.useRef(null),A=o.useRef(null),[y,C]=o.useState(null);o.useEffect(()=>{const _=F=>{const H=Co(F,c,d,p);f.current&&(f.current.textContent=H);const J=g.current;J&&(J.setAttribute("aria-valuenow",String(ho(F,c,d,p))),J.setAttribute("aria-valuetext",H))},N=e??oC(n)??(y&&y.el===n?y.node:null),x=b.current;if(!N||!x){x?.style.setProperty("--meter-level","0"),_(u);let F=!1;return!e&&n&&Oa(n).then(H=>{!F&&H&&C({el:n,node:H})}),()=>{F=!0}}Tr();const B=new Float32Array(N.fftSize);let D=0,R=0,z=0,M=0,W=null;const S=F=>{const H=sC(N,B);D=H>D?H:D*ly;const J=D>1e-5?20*Math.log10(D):-1/0,Y=Math.max(u,J),P=Y-c,V=Math.min(1,Math.max(0,(P-d)/(p-d)));if(x.style.setProperty("--meter-level",V.toFixed(3)),R+=Y,z+=1,F-M>=uy){const U=R/z;W=W==null?U:W*.6+U*.4,_(W),R=0,z=0,M=F}A.current=requestAnimationFrame(S)};return A.current=requestAnimationFrame(S),()=>{A.current!=null&&cancelAnimationFrame(A.current),A.current=null}},[e,n,y,u,c,d,p]);const w=typeof r=="number"?`${r}px`:r,v=t.jsx("div",{className:"audio-meter__track",style:w?a==="vertical"?{height:w}:{width:w}:{},children:t.jsx("div",{ref:b,className:"audio-meter__fill"})}),k=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:g,className:De("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${k}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":h,"aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":ho(u,c,d,p),"aria-valuetext":Co(u,c,d,p),children:[v,s&&t.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:Co(u,c,d,p)})]})}const tu=260;function nu({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),c=o.useRef(l),d=o.useRef(s);o.useEffect(()=>{c.current=l},[l]),o.useEffect(()=>{d.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),h=o.useRef(r);o.useEffect(()=>{h.current=r});const g=a,b=o.useRef(null),f=o.useRef(0),A=o.useRef(0),y=o.useRef(!1),C=o.useRef(null),w=o.useRef(null),v=o.useRef(null),k=o.useRef(null),_=o.useRef(()=>{});_.current=B=>{B<0||(f.current=Date.now(),A.current=B,b.current=setTimeout(()=>{b.current=null,i(!1),C.current=setTimeout(()=>{u(!1);try{h.current()}catch{}},tu)},B))};const N=o.useCallback(()=>{y.current||!b.current||(y.current=!0,clearTimeout(b.current),b.current=null,A.current=Math.max(0,A.current-(Date.now()-f.current)))},[]),x=o.useCallback(()=>{y.current&&(y.current=!1,_.current(A.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(b.current&&(clearTimeout(b.current),b.current=null),C.current&&(clearTimeout(C.current),C.current=null)),e){if(d.current)return g>0&&!b.current&&(y.current?A.current=g:_.current(g)),m.current=e,()=>{b.current&&(clearTimeout(b.current),b.current=null),C.current&&(clearTimeout(C.current),C.current=null)};const B=()=>{const D=p.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",n==="top"?D.style.transform="translateX(-50%) translateY(-16px)":D.style.transform="translateX(-50%) translateY(16px)",D.style.opacity="0",D.offsetWidth,D.style.transition="",D.classList.add("is-visible"),k.current&&clearTimeout(k.current),k.current=setTimeout(()=>{k.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};c.current?(B(),i(!0)):(u(!0),w.current=requestAnimationFrame(()=>{v.current=requestAnimationFrame(()=>{B(),i(!0)})})),g>0&&(y.current=!1,_.current(g))}else i(!1),C.current=setTimeout(()=>u(!1),tu);return m.current=e,()=>{b.current&&clearTimeout(b.current),C.current&&clearTimeout(C.current),w.current&&cancelAnimationFrame(w.current),v.current&&cancelAnimationFrame(v.current),k.current&&clearTimeout(k.current),b.current=null,C.current=null,w.current=null,v.current=null,k.current=null}},[e,g,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:x}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:c,resume:d}=nu({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,h]=o.useState(!1);if(o.useEffect(()=>{l?h(!0):i||h(!1)},[l,i]),!i)return null;const g=a==="notice"||a==="warning"?a:"normal",b=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:f=>{p.current=f.pointerType},onMouseEnter:()=>{p.current!=="touch"&&c()},onMouseLeave:d,onFocusCapture:c,onBlurCapture:d,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(b,document.body):b}const cy=24;function dy({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:c="right",ariaLabel:d,className:p}){const m=Number.isFinite(n)&&n>0?n:1,h=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),g=h/m*100,b=Number.isFinite(n)&&n>0?n:0,f=u??(a>=cy?"inside":"bottom"),A=f==="center"?"inside":f,y=A==="inside"&&(c==="left"?g>=15:c==="center"?g>=50:g>=85),C={};return r&&(C["--progress-bar-fill"]=r),s&&(C["--progress-bar-track"]=s),t.jsxs("div",{className:De("progress-bar",`progress-bar--${a}`,`progress-bar--label-${A}`,i&&`progress-bar--align-${c}`,i&&y&&"progress-bar--label-on-fill",p),style:C,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":b,"aria-valuetext":i?l?l(h):i==="percent"?void 0:i==="raw"?String(h):`${h} / ${b}`:void 0,"aria-label":d,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(h):i==="percent"?`${Math.round(g)}%`:i==="raw"?String(h):`${h} / ${b}`})]})}const au={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},py="rgba(255, 255, 255, 0.16)";function ru({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:c}=be.useTranslation(),d=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??c("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),h={};if(a&&(h["--pi-inactive-bg"]=a),r&&(h["--pi-inactive-color"]=r),s&&(a||(h["--pi-inactive-bg"]=py),r||(h["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:h,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:au,children:m}),Array.from({length:e}).map((b,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<p?" done":f===p?" active":""}`},f))]});const g=l?t.jsx("span",{role:"status",style:au,children:m}):null;return d?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:h,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:h,role:"list","aria-label":m,children:Array.from({length:e}).map((b,f)=>t.jsx("span",{role:"listitem","aria-current":f===p?"step":void 0,className:`progress-indicator-dot ${f<p?" done":f===p?" active":""} body-3`,children:f+1},f))})]})}function my(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 hy({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function go({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:c,expandedContent:d}){const p=o.useCallback(m=>{s&&m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(Ta,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?p:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:c,role:s?"button":void 0,tabIndex:s?0:void 0,children:n}),d&&t.jsx("div",{className:"table-row-expand",children:d})]})}function Cy({dir:e}){return t.jsx(e==="asc"?bs:gs,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function fy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(Cy,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:De("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 bo({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:c,onRowDragEnd:d,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:h,resizable:g=!1,resizeMode:b="grow",resizeStorageKey:f,size:A="small",title:y,icon:C,count:w,collapsed:v=!1,onToggleCollapse:k,headerActions:_,empty:N,loading:x,dragOver:B=!1,onDragOver:D,onDragLeave:R,onDrop:z,renderExpandedRow:M,expandedId:W}){const{t:S}=be.useTranslation(),F=tn("(max-width: 767px)"),H=h&&F?h:null,J=g&&!F,Y=48,P=o.useRef(()=>Y),V=f?`table-cols:${f}`:null,U=o.useRef(null),$=o.useRef(null),E=o.useRef(null),O=o.useRef(null),[T,I]=o.useState(!1),L=o.useCallback(()=>{const ne=E.current;ne&&I(ne.scrollWidth>ne.clientWidth+1)},[]),Z=o.useCallback((ne,we)=>{const We=ne.current;We&&$.current&&$.current.unobserve(We),ne.current=we,we?(!$.current&&typeof ResizeObserver<"u"&&($.current=new ResizeObserver(()=>L())),$.current?.observe(we)):!E.current&&!O.current&&($.current?.disconnect(),$.current=null),L()},[L]),ee=o.useCallback(ne=>Z(E,ne),[Z]),G=o.useCallback(ne=>Z(O,ne),[Z]);o.useEffect(()=>{L()}),o.useEffect(()=>{if(typeof window>"u")return;const ne=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>L()):null;return window.addEventListener("resize",L),()=>{ne!=null&&cancelAnimationFrame(ne),window.removeEventListener("resize",L)}},[L]);const ae=o.useRef(()=>!1),ye=o.useRef([]),he=o.useRef(null),de=ne=>{if(!ne||typeof window>"u")return null;try{const we=JSON.parse(window.localStorage.getItem(ne)??"null");return Array.isArray(we)&&we.length>0&&we.every(We=>typeof We=="number"&&Number.isFinite(We)&&We>0)?we:null}catch{return null}},[q,te]=o.useState(()=>de(V)),[le,ve]=o.useState(V);le!==V&&(ve(V),te(de(V)));const pe=o.useRef(q);o.useEffect(()=>{pe.current=q},[q]);const oe=o.useCallback(ne=>{const we=he.current;if(!we)return;const We=pe.current;if(We){const Be=[...We];if(we.next!=null&&we.startWNext!=null){const Se=ne.clientX-we.startX,me=Math.max(P.current(we.index)-we.startW,Math.min(we.startWNext-P.current(we.next),Se));Be[we.index]=we.startW+me,Be[we.next]=we.startWNext-me}else Be[we.index]=Math.max(P.current(we.index),we.startW+(ne.clientX-we.startX));pe.current=Be,te(Be)}},[]),fe=o.useCallback(()=>{if(he.current=null,window.removeEventListener("pointermove",oe),window.removeEventListener("pointerup",fe),window.removeEventListener("pointercancel",fe),document.body.style.cursor="",document.body.style.userSelect="",V&&pe.current)try{window.localStorage.setItem(V,JSON.stringify(pe.current))}catch{}},[oe,V]),ge=o.useCallback((ne,we)=>{we.preventDefault(),we.stopPropagation();const We=U.current;if(!We)return;const Be=Array.from(We.children).map(me=>me.getBoundingClientRect().width),Se=b==="fit"?e.findIndex((me,Me)=>Me>ne&&me.resizable!==!1):-1;he.current=Se>=0?{index:ne,startX:we.clientX,startW:Be[ne],next:Se,startWNext:Be[Se]}:{index:ne,startX:we.clientX,startW:Be[ne]},pe.current=Be,te(Be),window.addEventListener("pointermove",oe),window.addEventListener("pointerup",fe),window.addEventListener("pointercancel",fe),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[oe,fe,b,e]),Ee=o.useCallback(()=>{const ne=U.current,we=ne?.closest(".table-wrap");if(!ne||!we)return;const We=we.style.getPropertyValue("--table-grid-cols");we.style.setProperty("--table-grid-cols",e.map((Ze,qe)=>ae.current(qe)?ye.current[qe]:"max-content").join(" "));const Be=Array.from(we.querySelectorAll(".table-row")).filter(Ze=>!Ze.classList.contains("table-row--loading")&&!Ze.classList.contains("table-row--empty")),Se=e.map((Ze,qe)=>{let $e=ne.children[qe]?.getBoundingClientRect().width??0;for(const Fe of Be){const st=Fe.children[qe];st&&($e=Math.max($e,st.getBoundingClientRect().width))}const Xe=ae.current(qe)?parseFloat(ye.current[qe]):NaN;return Number.isFinite(Xe)?Xe:Math.max(P.current(qe),Math.ceil($e))}),me=window.getComputedStyle(ne),Me=ne.clientWidth-(parseFloat(me.paddingLeft)||0)-(parseFloat(me.paddingRight)||0);We?we.style.setProperty("--table-grid-cols",We):we.style.removeProperty("--table-grid-cols");let nt=Se;const _t=Se.reduce((Ze,qe,$e)=>Ze+(ae.current($e)?qe:0),0),kt=Se.reduce((Ze,qe,$e)=>Ze+(ae.current($e)?0:qe),0),dt=Me-_t;if(Me>0&&kt>0&&dt>0){const Ze=dt/kt;nt=Se.map(($e,Xe)=>ae.current(Xe)?$e:Math.max(P.current(Xe),Math.round($e*Ze)));const qe=Math.round(dt-nt.reduce(($e,Xe,Fe)=>$e+(ae.current(Fe)?0:Xe),0));if(qe!==0){let $e=-1;nt.forEach((Xe,Fe)=>{!ae.current(Fe)&&($e<0||Xe>nt[$e])&&($e=Fe)}),$e>=0&&(nt[$e]=Math.max(P.current($e),nt[$e]+qe))}}if(te(nt),V)try{window.localStorage.setItem(V,JSON.stringify(nt))}catch{}},[e,b,V]);o.useEffect(()=>()=>{he.current&&(window.removeEventListener("pointermove",oe),window.removeEventListener("pointerup",fe),window.removeEventListener("pointercancel",fe),document.body.style.cursor="",document.body.style.userSelect="")},[oe,fe]);const Ie=my(m),Le=Ie.filter(ne=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(ne));Le.length>0&&bn(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${Le.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 Je=e.findIndex(ne=>!!ne.sortDir);e.filter(ne=>!!ne.sortDir).length>1&&bn("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 et=ne=>ne===Je?e[ne].sortDir==="asc"?"ascending":"descending":e[ne].onClick?"none":void 0,Ve=ne=>/^\d+(\.\d+)?px$/.test(Ie[ne]??""),He=ne=>{const we=Ie[ne]??"",We=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(we)??/^(\d+(?:\.\d+)?)px$/.exec(we);return We?parseFloat(We[1]):Y};ae.current=Ve,P.current=He,ye.current=Ie;const it=ne=>b==="fit"&&!Ve(ne)?"fr":"px",Qe=q&&q.length===e.length&&!F&&(b==="fit"||a.length>0),Ye=H??(Qe?e.map((ne,we)=>ne.resizable===!1&&Ie[we]?Ie[we]:`${q[we]}${it(we)}`).join(" "):m),re=Ye?{"--table-grid-cols":Ye}:void 0,Re=y!==void 0;return t.jsx("div",{ref:ee,className:`table-wrap table-wrap--${A}${J?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${v?" table-wrap--collapsed":""}`,style:re,onDragOver:D,onDragLeave:R,onDrop:z,tabIndex:T?0:void 0,role:T?"region":void 0,"aria-label":T?typeof y=="string"?y:S("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:t.jsxs("div",{ref:G,className:"table body-2",children:[Re&&t.jsxs("div",{className:"table-header",onClick:k,role:k?"button":void 0,tabIndex:k?0:void 0,"aria-expanded":k?!v:void 0,onKeyDown:k?ne=>{ne.target===ne.currentTarget&&(ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),k())}:void 0,children:[k&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:v?"chevron-right":"chevron-down",ariaLabel:v?S("common.expand","\uD3BC\uCE58\uAE30"):S("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),C&&t.jsx(Ke,{icon:C,label:typeof y=="string"?y:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:y}),w!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:w}),_&&t.jsx("span",{className:"table-header__actions",onClick:ne=>ne.stopPropagation(),children:_})]}),!v&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((ne,we)=>t.jsx("div",{className:De("table-field body-3",ne.className),style:{gridColumn:`span ${ne.span}`},children:ne.label},we))}),t.jsxs("div",{className:De("table-fields-strip",J&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:U,children:e.map((ne,we)=>t.jsx(fy,{onClick:ne.onClick,className:ne.className,sortDir:ne.sortDir,ariaSort:et(we),onResizeStart:J&&we<e.length-1&&ne.resizable!==!1&&(b!=="fit"||e.some((We,Be)=>Be>we&&We.resizable!==!1))?We=>ge(we,We):void 0,children:ne.label},we))}),J&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Ee})]}),t.jsx("div",{className:"table-body",children:x?t.jsx(go,{variant:"loading"}):a.length===0&&N?t.jsx(go,{variant:"empty",children:N}):a.map((ne,we)=>{const We=p!=null&&ne.id===p,Be=!!s&&(i?i(ne):!0),Se=W!=null&&ne.id!=null&&(W instanceof Set?W.has(ne.id)||[...W].some(me=>String(me)===String(ne.id)):String(ne.id)===String(W));return t.jsx(go,{className:`${Be?" table-row--clickable":""}${c?" table-row--draggable":""}${We?" table-row--dragging":""}`.trim(),draggable:!!c,onClick:Be?()=>s(ne):void 0,onMouseEnter:l?me=>l(ne,me):void 0,onMouseLeave:u?me=>u(ne,me):void 0,onDragStart:c?me=>c(ne,me):void 0,onDragEnd:d?me=>d(ne,me):void 0,expandedContent:Se&&M?M(ne):void 0,children:r(ne).map((me,Me)=>t.jsx(hy,{className:me.className,style:me.style,children:me.content},Me))},ne.id!=null?`${typeof ne.id}:${ne.id}`:`__idx:${we}`)})})]})]})})}function ou(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 yo(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 gy(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const by={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function yy(e,n){const a=by[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function su(e,n){return n!=="wornAt"?String(e[n]??""):gy(e.wornYear,e.wornMonth,e.wornDay)}function vy({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=be.useTranslation(),c=f=>f==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:d,\uCE78:p}=Jg(),m=o.useMemo(()=>{if(!d)return e;const{key:f,asc:A}=d;return[...e].sort((y,C)=>{if(f==="worn"){const w=Number(C.worn)-Number(y.worn);return A?w:-w}return Xr(su(y,f),su(C,f),A)})},[e,d]),{pageRows:h,pageSizeProps:g,paginationProps:b}=Xg(m,d);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(lo,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:g,pagination:b,actions:l&&t.jsx(ce,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(bo,{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:h.map((f,A)=>({id:f.id??`${f.side}-${A}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:A=>A.stopPropagation(),children:t.jsx(zl,{checked:f.worn,disabled:f.worn?!i:!s,ariaLabel:f.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:A=>{A?s?.(f):i?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(yt,{size:"small",variant:ou(f.device),fill:"soft",label:yy(f.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:yo(f.wornYear,f.wornMonth,f.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(ce,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:A=>{A?.stopPropagation(),r(f)}})})}]:[]],onRowClick:({row:f})=>a(f),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function iu(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 xy(e,n){return new Date(e,n+1,0).getDate()}function _y(e,n){return new Date(e,n,1).getDay()}function wy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i}=be.useTranslation(),l=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),u=Pr(s),[c,d]=o.useState(()=>Number(u.slice(0,4))),[p,m]=o.useState(()=>Number(u.slice(5,7))-1),[h,g]=o.useState(null),b=o.useRef(null),f=o.useMemo(()=>{const k={};return e.forEach(_=>{k[_.date]||(k[_.date]=[]),k[_.date].push(_)}),k},[e]),A=o.useMemo(()=>{const k=xy(c,p),_=_y(c,p),N=[];for(let x=0;x<_;x++)N.push(null);for(let x=1;x<=k;x++)N.push(x);for(;N.length<35;)N.push(null);return N},[c,p]),y=o.useCallback(()=>{p===0?(d(k=>k-1),m(11)):m(k=>k-1)},[p]),C=o.useCallback(()=>{p===11?(d(k=>k+1),m(0)):m(k=>k+1)},[p]),w=k=>`${c}-${String(p+1).padStart(2,"0")}-${String(k).padStart(2,"0")}`,v=k=>w(k)===u;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:y,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ke,{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:p+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ke,{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:[l.map(k=>t.jsx("div",{className:"calendar-day-header body-3",children:k},k)),A.map((k,_)=>{if(k===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${_}`);const N=k,x=w(N),B=f[x]??[],D=h===x;return t.jsxs("div",{className:`calendar-cell${v(N)?" today":""}${D?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:x}):void 0,"aria-current":v(N)?"date":void 0,onClick:r?()=>r(x):void 0,onKeyDown:r?R=>{R.target===R.currentTarget&&(R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),r(x)))}:void 0,onDragOver:a?R=>{R.preventDefault(),g(x)}:void 0,onDragLeave:a?R=>{R.currentTarget.contains(R.relatedTarget)||g(null)}:void 0,onDrop:a?R=>{R.preventDefault(),b.current!=null&&(a(b.current,x),b.current=null),g(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:N}),B.length>0&&t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":i("calendar.visitCount",{count:B.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"}),children:[t.jsx("span",{className:"calendar-cell__visit-dot","aria-hidden":"true"}),B.length]}),t.jsx("div",{className:"calendar-cell__badges",children:B.map((R,z)=>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?M=>{b.current=R.id,M.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{b.current=null,g(null)}:void 0,onClick:n?M=>{M.stopPropagation(),n(R)}:void 0,...iu(n?()=>n(R):void 0),"aria-label":[R.time?di(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:di(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??z))})]},N)})]})]})}const Ay={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:c,style:d}){const p=Ay[e],m=n||i||s||r,h=a?`h${a}`:"div";return t.jsxs("div",{className:De("section",`section--${e}`,u&&"section--in-grid",c),style:d,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ke,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(h,{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 vo=null,lu=!1;function uu(){if(lu||typeof document>"u")return;lu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(vo="keyboard")},!0);const e=()=>{vo="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}uu();function nr(){return uu(),vo==="keyboard"}const ar=20;function ky(e){const{t:n}=be.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:c,size:d,useDescriptionTooltip:p,onRemove:m,onMore:h,sectionType:g="page"}=e||{},[,b]=o.useState(0),f=typeof r<"u"?Array.isArray(r)?r:[]:[],A=f.length,[y,C]=o.useState(Math.min(A,ar)),w=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{C(Math.min(A,ar))},[A]),tl("speechear.data.updated",()=>b(N=>N+1));const v=o.useRef(null),k=o.useRef(null);function _(){const N=document.activeElement;k.current=nr()&&N&&N.closest?.(".training-block__more")?y:null,C(x=>Math.min(A,x+ar))}return o.useEffect(()=>{const N=k.current;if(N==null)return;k.current=null;const x=document.activeElement;x&&x!==document.body||v.current?.querySelectorAll(".training-block-button")[N]?.focus()},[y]),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:v,children:(f||[]).slice(0,y).map((N,x)=>{const B=N;return t.jsx(oo,{index:x,type:a,trainingData:B,depth:w,renderPopup:i,completedIds:l,selectedIds:u,size:d,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof c=="function"&&B?.id!=null?()=>c(String(B.id)):void 0,onMore:typeof h=="function"?D=>h(B,D):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${x}`)})}),A>ar&&y<A&&t.jsx("div",{className:"training-block__more",children:t.jsx(ce,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:_,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function xo(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const c=n.current;r(!!e&&!(c?.complete&&c.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 By='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 Ny=By,_o=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:c=!1,orderRank:d=null},p){const{t:m}=be.useTranslation(),h=e.word||e.title||"",g=n||!h,b=e.audio??e.sound??e.audioKey,f=e.subLabel||e.pronunciation||"",A=e.colloquialLabel||"",[y,C]=o.useState({label:h,subLabel:f,colloquialLabel:A,homonum:e.homonum});h&&(y.label!==h||y.subLabel!==f||y.colloquialLabel!==A||!Object.is(y.homonum,e.homonum))&&C({label:h,subLabel:f,colloquialLabel:A,homonum:e.homonum});const w=o.useRef(null),v=tn("(max-width: 767px)"),[k,_]=o.useState(!1),N=`${typeof b=="string"?b:b?.src??""}\0${h}`,[x,B]=o.useState({for:"",url:""}),D=x.for===N?x.url:"",R=ai(),z=e.textOnly??(!e.image&&!!y.label&&!!R&&R.entries.length>0&&!R.byWord.has(y.label)),M=z?"":Xn()?.(y.label,y.homonum)??e.image??"",{imgRef:W,loading:S,hasImage:F,onLoad:H,onError:J}=xo(M);o.useEffect(()=>{let I=!1;return(async()=>{if(b){if(typeof b=="string"){if(b.startsWith("http")||b.includes("/")){B({for:N,url:b});return}}else if(typeof b=="object"&&!Array.isArray(b)){const Z=b.src;if(Z){B({for:N,url:Z});return}}}const L=Er();if(L&&h)try{const Z=await Promise.resolve(L(h));!I&&Z&&B({for:N,url:Z})}catch{}})(),()=>{I=!0}},[b,h,N]);const Y=o.useRef(!0),P=o.useRef(null);o.useEffect(()=>(Y.current=!0,()=>{Y.current=!1,P.current&&Ja(P.current),P.current=null;try{w.current?.pause()}catch{}w.current=null}),[]);const V=o.useCallback(()=>new Promise(I=>{if(typeof window<"u"&&window.speechSynthesis&&h){_(!0),window.speechSynthesis.cancel();const L=new SpeechSynthesisUtterance(h);L.lang="ko-KR",L.onend=()=>{_(!1);try{a?.()}catch{}I()},L.onerror=()=>{_(!1),I()},window.speechSynthesis.speak(L)}else I()}),[h,a]),U=o.useCallback(I=>new Promise(L=>{let Z=!1;const ee=()=>{Z||(Z=!0,_(!1),L(!1))};try{const G=new Audio(I);w.current=G,G.onended=()=>{if(!Z){Z=!0,_(!1);try{a?.()}catch{}L(!0)}},G.onerror=ee,G.play().catch(ee)}catch{ee()}}),[a]),$=o.useCallback(async()=>{if(n||!Y.current)return;const I=()=>{P.current===I&&(P.current=null);try{w.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}_(!1)},L=Xa(I);P.current=I;try{window.speechSynthesis?.cancel()}catch{}try{if(D&&(_(!0),await U(D)))return;const Z=tC();if(Z&&h)try{const ee=await Promise.resolve(Z(h));if(!Y.current||P.current!==I||ee&&(_(!0),await U(ee)))return}catch{}if(!Y.current||P.current!==I)return;await V()}finally{L(),P.current===I&&(P.current=null)}},[n,D,h,U,V]);o.useImperativeHandle(p,()=>({play:()=>$()}),[$]);const E=I=>I.stopPropagation(),O=o.useCallback(I=>{if(I.stopPropagation(),!n){if(k){try{w.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}_(!1);return}$()}},[n,k,$]),T=De("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:T,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:E,children:t.jsx(yt,{type:"dot",size:40,position:"inline",animate:!0,icon:d!=null?void 0:"check",number:d??void 0,"aria-label":d!=null?m("training.nthSelected",{n:d}):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:y.label}):F?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:W,className:"training-word-card__image",src:M,alt:y.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:H,onError:J})]}):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:y.label}),y.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",y.subLabel,"]"]}),y.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",y.colloquialLabel,"]"]})]}),!c&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?E:void 0,children:t.jsx(ce,{htmlType:"button",size:v?40:48,type:v?"dot":"bar",icon:k?"pause":"play",label:v?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:k,onClick:O,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:Ny,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),Dy=260;function Tn(e){const{t:n}=be.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:c,footerStart:d,footerEnd:p,footerClassName:m="",footerLayout:h="center",onClose:g,closeDisabled:b=!1,beforeClose:f,closeOnBackdrop:A=!0,className:y="",ariaLabel:C,useTitle:w=!0,inline:v=!1,size:k,layer:_="modal",height:N,fillBody:x=!1,resetScrollKey:B}=e||{},[D,R]=o.useState(!1),z=o.useRef(!1),M=o.useRef(null),W=o.useId(),S=o.useRef(null);o.useEffect(()=>{},[v,a,C,y]),o.useEffect(()=>{B!==void 0&&S.current&&(S.current.scrollTop=0)},[B]);const[F,H]=o.useState(!1);o.useEffect(()=>{const G=S.current;if(!G)return;const ae=()=>H(G.scrollHeight>G.clientHeight+1);if(ae(),typeof ResizeObserver>"u")return;const ye=new ResizeObserver(ae);ye.observe(G);const he=G.firstElementChild;return he&&ye.observe(he),()=>ye.disconnect()},[l,B]),o.useEffect(()=>{if(!v)return Rl()},[v]),o.useEffect(()=>{if(v)return;const G=document.activeElement,ae=M.current;return zr(ae,G),ae&&!ae.contains(document.activeElement)&&(ae.querySelector(yn)??ae).focus(),()=>{const ye=document.activeElement;(!ye||ye===document.body||ae&&ae.contains(ye))&&Vr(G)?.focus?.()}},[v]),Or(M,!v);const J=o.useRef(!0),Y=Wr(),P=o.useRef(null);o.useEffect(()=>(J.current=!0,()=>{J.current=!1,P.current&&(clearTimeout(P.current),P.current=null)}),[]);const V=o.useCallback(()=>{!J.current||!z.current||(z.current=!1,R(!1))},[]),U=o.useCallback((G,ae=!1)=>{if(ae&&!J.current||z.current)return;z.current=!0,R(!0);const ye=setTimeout(()=>{P.current===ye&&(P.current=null);let he;try{he=G?G():void 0}catch{V();return}he&&typeof he.then=="function"&&he.then(()=>{setTimeout(V,120)},V)},Y?0:Dy);ae&&(P.current=ye)},[V,Y]),$=o.useCallback(()=>{b||f&&f()===!1||U(g,!0)},[U,g,b,f]),E=o.useRef($);o.useEffect(()=>{E.current=$});const O=!v&&!!g;o.useEffect(()=>{if(O)return zn(()=>E.current())},[O]);const T=O&&A,I=o.useRef(!1),L=G=>{I.current=G.target===G.currentTarget},Z=G=>{const ae=I.current;I.current=!1,ae&&G.target===G.currentTarget&&$()},ee=t.jsx("div",{className:`popup ${v?"popup--inline":""} ${_==="belowPagePopup"?"popup--below-page-popup":""} ${D?"popup--closing":""} ${y}`,onPointerDown:T?L:void 0,onClick:T?Z:void 0,onMouseDown:v?void 0:G=>{G.target===G.currentTarget&&G.preventDefault()},children:t.jsxs("div",{ref:M,className:`popup-panel${k?` popup-panel--${k}`:""}${N!=null?" popup-panel--has-height":""}${x?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:v?void 0:"dialog","aria-modal":v?void 0:!0,"aria-labelledby":!v&&w&&a?W:void 0,"aria-label":!v&&!(w&&a)?C??(typeof a=="string"?a:void 0):void 0,children:[!w&&(s||g)?t.jsxs("div",{className:"popup-close-float",children:[s,g&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:$,disabled:b,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:[t.jsx("span",{id:W,className:"popup-title popup-title--left h2",children:a}),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(G=>({key:G.key,label:G.label,disabled:G.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,g&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:$,disabled:b,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:S,tabIndex:F?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:U,closeWithAnimation:$}):l})}),d||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof d=="function"?d({animateThen:U,closeWithAnimation:$}):d}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:U,closeWithAnimation:$}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${h!=="center"?` popup-footer--${h}`:""}`,children:u.map((G,ae)=>t.jsx(ce,{htmlType:"button",size:48,variant:G.variant??"default",label:G.label,disabled:G.disabled,onClick:()=>G.onClick?.({animateThen:U,closeWithAnimation:$})},ae))}):c?t.jsx("div",{className:`popup-footer${h!=="center"?` popup-footer--${h}`:""}${m?` ${m}`:""}`,children:typeof c=="function"?c({animateThen:U,closeWithAnimation:$}):c}):null]})});return v||typeof document>"u"?ee:Xt.createPortal(ee,document.body)}function rr(e){return String(e)}const or=["o","triangle","x"];function cu(e,n){return e===n?null:n}const du={o:"circle",triangle:"triangle",x:"x"},pu={o:"main",triangle:"warn",x:"danger"};function Ey(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 wo(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function mu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Sy(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 jy(e="landscape"){bn("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 hu(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 Ty={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 My(e,n){const a=Ty[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 Ly={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},Cu={\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"},fu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function Ao(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function gu(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 c="#ddd",d=g=>`repeating-linear-gradient(to ${g}, ${c} 0, ${c} 5px, transparent 5px, transparent 10px)`,p=[],m=[],h=[];return l&&(p.push(d("bottom")),m.push("1px 100%"),h.push("right center")),u&&(p.push(d("right")),m.push("100% 1px"),h.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:h.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const $y=280,Ry=240,Py=280,Iy=400,Fy=120,Oy=280;function bu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((c,d)=>{if(!(c>0))return;const p=c/e,m=n&&d>0?d/n:1/0,h=Math.min(1,p,m);s(h),l(Math.max(0,(c-e*h)/2))},[e,n]);return o.useEffect(()=>{const c=a.current;if(!c)return;const d=n?c.parentElement??c:c;if(u(d.clientWidth,d.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(d),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Hy={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},zy=400,yu=8;function vu({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:c=40,wordInfo:d}){const{t:p}=be.useTranslation(),m=o.useRef(null),h=o.useRef(null),g=o.useRef(null),[b,f]=o.useState(1),[A,y]=o.useState(!1),[C,w]=o.useState({for:"",url:""}),[v,k]=o.useState(null),_=n&&n.length>0?n:aC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:x,loading:B,failed:D,onLoad:R,onError:z}=xo(N),M=o.useCallback(()=>k(h.current?.getBoundingClientRect()??null),[]),W=o.useCallback(()=>k(null),[]),S=Ur(!!v,O=>{O?M():W()},h),F=o.useMemo(()=>{if(!d)return null;const O=[];return d.grade&&O.push(p("wordTable.info.grade",{n:d.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),d.syllables&&O.push(p("wordTable.info.syllables",{n:d.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),d.pos&&O.push(p("wordTable.info.pos",{v:Ao(d.pos,Vy(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),d.wordType&&O.push(p("wordTable.info.wordType",{v:Ao(d.wordType,Wy(p)),defaultValue:"\uC720\uD615: {{v}}"})),O.length?O:null},[d,p]),H=_||e,J=C.for===H?C.url:"";o.useEffect(()=>{const O=Er(),T=_||e;if(!O||!T)return;let I=!1;return Promise.resolve(O(T)).then(L=>{!I&&L&&w({for:T,url:L})}),()=>{I=!0}},[_,e]);const Y=o.useRef(null),P=o.useRef(null);o.useEffect(()=>()=>{g.current?.pause(),P.current?.()},[]);const V=o.useCallback(async O=>{if(O.stopPropagation(),A){Y.current?.();return}if(J){y(!0);try{const T=new Audio(J);g.current=T;const I=()=>{y(!1),P.current?.()},L=()=>{T.pause(),I()};Y.current=L;const Z=Xa(L);P.current=Z,T.onended=I,T.onerror=I,await T.play()}catch{y(!1),P.current?.()}}},[A,J]),U=i&&!!N&&!D,$=U&&s?$y:U?Py:Ry,E=U&&s?Iy:U?Oy:Fy;return o.useEffect(()=>{const O=m.current;if(!O||typeof ResizeObserver>"u")return;const T=new ResizeObserver(([I])=>{const{width:L,height:Z}=I.contentRect;f(Math.min(L/$,Z/E))});return T.observe(O),()=>T.disconnect()},[$,E]),t.jsxs("div",{ref:m,className:De("word-table-cell",U?"word-table-cell--with-image":""),"data-ref-w":$,"data-ref-h":E,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${b})`},children:[U&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:x,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:R,onError:z})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&_&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",_,"]"]}),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":J,children:[t.jsx("span",{"data-play-state":"play",style:{display:A?"none":void 0},children:t.jsx(ce,{htmlType:"button",size:c,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:V})}),t.jsx("span",{"data-play-state":"pause",style:{display:A?void 0:"none"},children:t.jsx(ce,{htmlType:"button",size:c,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:V})})]}),d&&t.jsxs("div",{ref:h,className:"word-table-cell__info-button",onPointerEnter:O=>{ta(O)||M()},onPointerLeave:O=>{ta(O)||W()},onFocus:()=>{na()||M()},onBlur:W,children:[t.jsx(ce,{htmlType:"button",size:c,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:O=>{O.stopPropagation(),S.touchPress()}}),v&&F&&t.jsx(Vn,{anchorRect:v,items:F,showIndex:!1})]})]})}const xu={\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"},_u={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Vy(e){return Object.fromEntries(Object.entries(Cu).map(([n,a])=>[n,xu[n]?e(`wordTable.pos.${xu[n]}`,{defaultValue:a}):a]))}function Wy(e){return Object.fromEntries(Object.entries(fu).map(([n,a])=>[n,_u[n]?e(`wordSearch.filter.type.${_u[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:c=!0,items:d,editCells:p,count:m,activeCell:h=null,onActivateCell:g,onRemoveCell:b,onRemoveItem:f,onReorder:A,renderCellAction:y,showFillerAdd:C=!1,contentRef:w,buttonSize:v=40,brand:k,code:_,pageNumber:N,pageNumberPosition:x="right",fitHeight:B=!1,scoring:D=!1,marks:R,onMarkClick:z,scoreIndexOffset:M=0}){const W=o.useCallback((Be,Se)=>{z?.(M+Be,Se)},[z,M]),S=(Be,Se)=>{const me=R?.[rr(M+Be)]??null;return t.jsx("div",{className:De("word-table-cell__score",me?"word-table-cell__score--marked":""),style:ne>1?{transform:`translateX(-50%) scale(${ne})`,transformOrigin:"bottom center"}:void 0,children:or.map(Me=>t.jsx("span",{className:De("word-table-cell__score-slot",me===Me?"word-table-cell__score-slot--on":""),children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",shape:"pill",icon:du[Me],variant:me===Me?pu[Me]:"default",selected:me===Me,useBorder:!1,...Re?{}:{tabIndex:-1,role:"img"},showTooltipInfo:F(`wordTable.scoring.markName.${Me}`,{defaultValue:Me}),ariaLabel:F(`wordTable.scoring.${Me}`,{word:Se,defaultValue:`${Se} ${Me}`}),onClick:Re?nt=>{nt.stopPropagation(),W(Be,Me)}:void 0})},Me))})},{t:F}=be.useTranslation(),H=p!==void 0,J=e!=null||!!n||!!a,Y=tn("(max-width: 767px)"),P=o.useRef(null),[V,U]=o.useState(null),$=d?.length??0,[E,O]=o.useState(null),[T,I]=o.useState(""),L=o.useRef(null),Z=o.useRef(null),ee=o.useRef(null),G=o.useRef(null),ae=o.useCallback(Be=>{Z.current=Be,typeof w=="function"?w(Be):w&&(w.current=Be)},[w]),ye=o.useCallback((Be,Se)=>{L.current=Se,A?.(Be,Se),I(F("wordTable.reorder.moved",{n:Se+1,total:$,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[A,F,$]);o.useEffect(()=>{const Be=L.current;Be!=null&&(L.current=null,Z.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[Be]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{G.current?.()},[]);const he=o.useCallback((Be,Se)=>{if(!A||!Be.altKey||Be.ctrlKey||Be.metaKey)return;const me=Be.key==="ArrowRight";if(!me&&Be.key!=="ArrowLeft")return;Be.preventDefault();const Me=Se+(me?1:-1);Me<0||Me>=$||ye(Se,Me)},[A,$,ye]),de=o.useCallback((Be,Se)=>{if(!A||Be.pointerType==="mouse")return;const me=Be.target.closest?.("button");if(me&&!me.closest(".word-table-block__card-handle"))return;G.current?.();const Me={x:Be.clientX,y:Be.clientY};let nt=!1;const _t=$e=>{nt&&$e.cancelable&&$e.preventDefault()},kt=$e=>{if(!nt){(Math.abs($e.clientX-Me.x)>yu||Math.abs($e.clientY-Me.y)>yu)&&qe();return}const Xe=document.elementFromPoint?.($e.clientX,$e.clientY)?.closest?.("[data-wordtable-cell]"),Fe=Xe?Number(Xe.dataset.wordtableCell):NaN,st=Number.isInteger(Fe)?Fe:null;ee.current=st,U(st)},dt=()=>{const $e=ee.current,Xe=nt;qe(),Xe&&$e!=null&&$e!==Se&&ye(Se,$e)},Ze=setTimeout(()=>{nt=!0,O(Se),ee.current=Se,U(Se),window.addEventListener("touchmove",_t,{passive:!1})},zy);function qe(){clearTimeout(Ze),window.removeEventListener("pointermove",kt),window.removeEventListener("pointerup",dt),window.removeEventListener("pointercancel",dt),window.removeEventListener("touchmove",_t),nt=!1,ee.current=null,G.current=null,O(null),U(null)}G.current=qe,window.addEventListener("pointermove",kt),window.addEventListener("pointerup",dt),window.addEventListener("pointercancel",dt)},[A,ye]),{width:q,height:te}=ia[s],le=typeof B=="number"?B:B&&typeof B=="object"?Y?B.narrow:B.wide:null,{scalerRef:ve,scale:pe,offset:oe}=bu(q,B?te:void 0),fe=H?p?.length??0:d?.length??0,ge=Math.max(m??fe,1),{cols:Ee,rows:Ie}=My(s,ge),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")},Je=H?(p??[]).some(Be=>Be!==null&&Be.length>1):(d??[]).some(Be=>(Be.words??[]).length>1),et=!!k?.show,Ve=!!k?.show&&k?.top!==!1,He=!!k?.show&&k?.bottom!==!1,it=k?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Qe=De("word-table-block__content",Ly[l],u&&"word-table-block__content--outline",c&&Je&&"word-table-block__content--div-line",!et&&N&&x!=="none"&&"word-table-block__content--page-number",Ve&&"word-table-block__content--brand-top",He&&"word-table-block__content--brand-bottom"),Ye={transform:`scale(${1/pe})`,transformOrigin:"center center"},re=v*or.length+4*(or.length-1),Re=!!z,ne=Re?Math.max(1,Math.min(1/pe,q/Ee/re)):1,we=t.jsxs("div",{ref:ve,className:"word-table__scaler",style:{height:te*pe},children:[t.jsx("div",{className:De("word-table",D&&!Re&&"word-table--score-readonly",!J&&r),style:{width:q,height:te,transform:`scale(${pe})`,transformOrigin:"top left",marginLeft:oe},children:t.jsxs("div",{ref:ae,className:Qe,style:{gridTemplateColumns:`repeat(${Ee}, 1fr)`,gridTemplateRows:`repeat(${Ie}, 1fr)`},children:[H?t.jsx(t.Fragment,{children:(p??[]).map((Be,Se)=>t.jsx("div",{className:De("word-table-block__edit-cell",Be?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",h===Se?"word-table-block__edit-cell--active":""),style:gu(Se,Ee,Ie,l),children:Be?t.jsxs(t.Fragment,{children:[Be.map((me,Me)=>t.jsxs(o.Fragment,{children:[Me>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(vu,{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:v})]},Me)),D&&S(Se,Be.map(me=>me.word).join(" / ")),b&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:Be.length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:Be.length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>b(Se)})})]}):g&&t.jsx("div",{style:Ye,children:t.jsx(ce,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:F("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(Se)})})},Se))}):t.jsxs(t.Fragment,{children:[(d??[]).map((Be,Se)=>t.jsxs("div",{"data-wordtable-cell":A?Se:void 0,className:`word-table-block__card${A?" word-table-block__card--draggable":""}${V===Se?" word-table-block__card--drag-over":""}${E===Se?" word-table-block__card--dragging":""}`,style:gu(Se,Ee,Ie,l),draggable:!!A,onPointerDown:A?me=>de(me,Se):void 0,onKeyDown:A?me=>he(me,Se):void 0,onDragStart:A?()=>{P.current=Se}:void 0,onDragOver:A?me=>{me.preventDefault(),U(Se)}:void 0,onDragLeave:A?()=>U(null):void 0,onDrop:A?me=>{me.preventDefault(),P.current!==null&&P.current!==Se&&A(P.current,Se),P.current=null,U(null)}:void 0,onDragEnd:A?()=>{P.current=null,U(null)}:void 0,children:[(Be.words??[]).map((me,Me)=>t.jsxs(o.Fragment,{children:[Me>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(vu,{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:v,wordInfo:me.grade||me.syllables!=null||me.pos||me.wordType?{grade:me.grade,syllables:me.syllables,pos:me.pos,wordType:me.wordType}:void 0})]},Me)),D&&S(Se,(Be.words??[]).map(me=>me.label).join(" / ")),A&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:F("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:F("wordTable.reorder.handle",{word:(Be.words??[]).map(me=>me.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(y||f)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[y?.(Se,Be),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(Be.words??[]).length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(Be.words??[]).length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(Be.id)})})]})]},Be.id)),Array.from({length:Math.max(0,Ee*Ie-(d?.length??0))}).map((Be,Se)=>{const me=(d?.length??0)+Se<ge;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:C&&g&&me&&t.jsx("div",{style:Ye,children:t.jsx(ce,{htmlType:"button",size:v,type:"bar",icon:"plus",label:F("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((d?.length??0)+Se)})})},`filler-${Se}`)})]}),Ve&&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:k?.topLogo?.src??Za,alt:k?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const Be=[k?.title&&t.jsx("span",{className:"word-table__paper-title",children:k.title},"t"),k?.owner&&t.jsx("span",{className:"word-table__owner",children:k.owner},"o"),_&&t.jsx("span",{className:"word-table__code",children:_},"c")].filter(Boolean);return Be.length===0?null:t.jsx("span",{className:"word-table__ident",children:Be.map((Se,me)=>t.jsxs(o.Fragment,{children:[me>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),Se]},me))})})()]})}),He&&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:[k?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:k.bottomLogo.src,alt:k.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:it})]}),t.jsxs("span",{className:"word-table__band-end",children:[k?.link&&t.jsx("span",{className:"word-table__link",children:k.link}),N&&x!=="none"&&t.jsx("span",{className:"word-table__page-count",children:F("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!et&&N&&x!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${x}`,children:F("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),A&&t.jsx("span",{role:"status",style:Hy,children:T})]}),We=le==null?we:t.jsx("div",{className:"word-table__frame",style:{height:le},children:we});return J?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:De("word-table-block",r),children:We}):We}function qy(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=Uy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Uy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==on);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>Gy(e,s)).join(", ")}function Gy(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 Bn({title:e,headerAction:n,headerSummary:a,collapsible:r=!1,defaultCollapsed:s=!1,collapsed:i,onCollapsedChange:l,footer:u,sections:c,selected:d={},onSelect:p,align:m,sectionAlign:h,className:g}){const b=(m??(h==="vertical"?"newline":"inline"))==="inline",{t:f}=be.useTranslation(),[A,y]=o.useState(s),C=i??A,w=()=>{const x=!C;y(x),l?.(x)},v=x=>{if(!r)return;const B=x.target;!B||typeof B.closest!="function"||B.closest(".filter-panel__collapse-toggle")||B.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||w()},k=o.useMemo(()=>a!==void 0||!C?"":qy(c,d,f("common.all","\uC804\uCCB4")),[a,C,c,d,f]),_=a??(k?t.jsx("span",{className:"filter-panel__header-summary body-3",children:k}):null),N=e||n||a||r;return t.jsxs("div",{className:De("filter-panel",r?"filter-panel--collapsible":"",C?"filter-panel--collapsed":"",g),children:[N&&t.jsxs("div",{className:"filter-panel__header",onClick:r?v:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx("span",{className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[C?_:n,r&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:C?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:C?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!C,onClick:w})]})]}),!C&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:De("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(x=>{const B=d[x.label],D=B===void 0||(Array.isArray(B)?B.length===0:!1),R=(x.items??[]).filter(M=>M!=null);x.allOption&&R.some(M=>(typeof M=="string"?M:M.value)===on)&&bn(`filter-panel-all-value:${x.label}`,`[FilterPanel] '${x.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${on}' \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 z=M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"&&!!M.disabled,F=typeof M!="string"?M.labels:void 0,H=typeof M!="string"?M.displayLabel:void 0,J=typeof M!="string"?M.tooltip:void 0,Y=typeof M!="string"?M.descriptionTooltip:void 0,P=typeof M!="string"?M.shape:void 0,V=Array.isArray(B)?B.includes(W):B===W;return t.jsx(ce,{htmlType:"button",size:"keyboard",label:F??H??W,type:x.itemType??(F?"bar":W.length===1?"dot":void 0),selected:V,disabled:S,shape:P,showTooltipInfo:!!J,tooltipInfoText:J,tooltipDescription:Y,onClick:()=>p?.(W,x.label)},W)};return t.jsxs(o.Fragment,{children:[x.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:x.groupLabel}),x.groupAction]}),t.jsxs("div",{className:De("filter-panel__section",x.layout==="row"?"filter-panel__section--row":"",x.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:x.displayLabel??x.label}),x.labelAction??(x.labelInfo?t.jsx(Ea,{...x.labelInfo}):null)]}),x.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:x.content}):x.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:x.placeholder,ariaLabel:x.displayLabel??x.label,value:d[x.label]??"",onChange:M=>p?.(M,x.label),error:x.error}):!x.multiple&&x.display==="segmented"?t.jsx(An,{ariaLabel:x.displayLabel??x.label,options:[...x.allOption?[{key:on,label:x.allLabel??f("common.all","\uC804\uCCB4"),disabled:x.allOptionDisabled}]:[],...R.map(M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"?M.displayLabel:void 0,F=typeof M!="string"?M.disabled:void 0;return{key:W,label:S??W,disabled:F}})],value:D&&x.allOption?on:d[x.label]??"",onChange:M=>p?.(M,x.label),size:32}):!x.multiple&&x.display==="dropdown"?t.jsx(sn,{className:"filter-panel__dropdown",size:40,options:[...x.allOption?[{value:on,label:x.allLabel??f("common.all","\uC804\uCCB4"),disabled:x.allOptionDisabled}]:[],...R.map(M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"?M.displayLabel:void 0,F=typeof M!="string"?M.disabled:void 0;return{value:W,label:S??W,disabled:F}})],value:D&&x.allOption?on:d[x.label],onChange:M=>p?.(M,x.label)}):t.jsxs("div",{className:x.groups?"filter-panel__item-groups":"filter-panel__items",children:[x.allOption&&!x.groups&&t.jsx(ce,{htmlType:"button",size:"keyboard",label:x.allLabel??f("common.all","\uC804\uCCB4"),selected:D,disabled:x.allOptionDisabled,onClick:()=>p?.(on,x.label)}),x.groups?x.groups.map((M,W)=>t.jsxs("div",{className:"filter-panel__item-group",children:[W===0&&x.allOption&&t.jsx(ce,{htmlType:"button",size:"keyboard",label:x.allLabel??f("common.all","\uC804\uCCB4"),selected:D,disabled:x.allOptionDisabled,onClick:()=>p?.(on,x.label)}),M.filter(S=>S!=null).map(z)]},W)):R.map(z)]})]})]},x.label)})}),u!=null&&u!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:u})]})]})}const Ky=[1,2,3,4,5,6,7,8,9,10,11,12],wu=[8,4,2,1];function Au(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 Bu(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 Nu(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 Du(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 Eu(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 Su(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 ju(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...wu.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Tu(e,n){return e===n||!wu.includes(e)?Number.POSITIVE_INFINITY:e}function Yy(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 Mu={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Lu(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function $u(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 Ru(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===on?(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 Zy(e){return"sections"in e}function ko(e){const{t:n}=be.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:c}=e,d={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:c};if(Zy(e))return t.jsx(Bn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...d,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:h,orientation:g,showOutline:b,cutLine:f,showDivLine:A,setters:y,showCutLine:C=!1,showDivLine2:w=!1,middleSections:v=[],extraSelected:k={},onExtraSelect:_,showPaperBands:N=!1,showTopInfo:x=!0,showBottomInfo:B=!0}=e,D=[Au(n,{hasImage:p,hasColloquial:m}),ku(n),...v,Bu(n),...C?[Eu(n)]:[],...w?[Su(n)]:[],...N?[Nu(n),Du(n)]:[]],R={...$u(n,{contentTypes:h,orientation:g,showOutline:b,cutLine:f,showDivLine:A,showTopInfo:x,showBottomInfo:B}),...k},z=(M,W)=>{Ru(n,M,W,y)||_?.(M,W)};return t.jsx(Bn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:D,selected:R,onSelect:z,...d,sectionAlign:"horizontal"})}function Pu(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Bo(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let sr=null,ua=null;function Xy(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?Bo(r):"";sr?.();let l=null;if(i){const d=document.title;document.title=i,l=()=>{document.title=d,window.removeEventListener("afterprint",l),sr===l&&(sr=null)},sr=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 c=u.contentDocument;if(!c){u.remove();return}ua={iframe:u,at:Date.now()},c.open(),c.write(No(e,n,a,!0,i,s)),c.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function No(e,n,a,r=!1,s="",i=""){s=s?Bo(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
|
|
859
|
+
`),f=b===-1?a:a.slice(0,b);i("comment",f),a=a.slice(f.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const c=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(c){i("string",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){i("number",d[0]),a=a.slice(d[0].length);continue}const p=a.match(I4);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 b=m[0];i(s&&P4.has(b)?"command":"identifier",b),a=a.slice(b.length);continue}const h=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(h){i("operator",h[0]),a=a.slice(h[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 O4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=be.useTranslation(),[u,c]=o.useState(!1),d=R4(Ol(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await MC(d))return;c(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>c(!1),2e3)}catch{}},h=F4(d,n),g=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:De("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(ce,{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:h.map((b,f)=>t.jsx("span",{className:`code-token ${b.type} ${g}`,children:b.content},f))})})]})}const H4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ta(e){const{t:n}=be.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const c=s==null||!Number.isFinite(Number(s)),d=c?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${c?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c?void 0:d,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:c?void 0:{width:`${d}%`}})})}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:H4,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 Hl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const c=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"&&c,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>n?.(d.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&c]})}function zl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:c}){const d=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)}),t.jsxs("label",{className:De("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:d,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:h=>{n?.(h.target.checked),d.current&&(d.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&c?c:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function z4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=be.useTranslation(),c=s!==void 0?s:e>0,d=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),h=o.useRef(null),g=o.useRef(c);o.useLayoutEffect(()=>{const C=m.current,w=g.current;if(g.current=c,c&&!w){const v=typeof document<"u"?document.activeElement:null;h.current=v&&v!==document.body&&!C?.contains(v)?v:null}else!c&&w&&C&&C.contains(document.activeElement)&&Ua(C,h.current)},[c]);const[b,f]=o.useState(!1),A=o.useRef(!1),y=o.useRef(null);return o.useEffect(()=>{const C=p.current;if(!C)return;const w=B=>{A.current=B,f(B)},v=()=>{const B=C.firstElementChild??C,D=Array.from(B.children);if(D.length<2){w(!1);return}const R=D[0].offsetTop,z=D.some(H=>H.offsetTop!==R);if(!A.current){y.current=C.clientWidth,z&&w(!0);return}if(z)return;const M=D[0],W=D[D.length-1],S=W.offsetLeft+W.offsetWidth-M.offsetLeft,F=y.current;(F==null||S<=F)&&w(!1)};if(v(),typeof ResizeObserver>"u")return;const k=new ResizeObserver(v);k.observe(C);const _=C.parentElement;let N=_?.clientWidth??0;const x=new ResizeObserver(()=>{const B=_?.clientWidth??0;B!==N&&(N=B,y.current=null,v())});return _&&x.observe(_),()=>{k.disconnect(),x.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${c?"bulk-bar--visible":""}`,inert:!c||void 0,"aria-hidden":c?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(yt,{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${b?" bulk-bar__actions--stacked":""}`,children:[t.jsx(ce,{htmlType:"button",size:40,label:d,onClick:a}),n.map((C,w)=>t.jsx(ce,{htmlType:"button",size:40,variant:C.variant??"default",icon:C.icon,label:C.label,onClick:C.onClick},w))]})]})}const V4=[{\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 W4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:De("item-actions",a),children:V4.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(ce,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function Vl(e,n){const a=()=>{if(e){const[f,A]=e.split("-");return{y:+f,m:+A-1}}const[g,b]=Pr(n).split("-");return{y:+g,m:+b-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 c=o.useRef({y:r,m:i});o.useEffect(()=>{c.current={y:r,m:i}},[r,i]);const d=o.useCallback(g=>{const b=c.current.y*12+c.current.m+g,f=Math.floor(b/12),A=b-f*12;c.current={y:f,m:A},s(f),l(A)},[]),p=o.useCallback(()=>d(-1),[d]),m=o.useCallback(()=>d(1),[d]),h=o.useCallback((g,b)=>{c.current={y:g,m:b},s(g),l(b)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:h}}function er(e,n){return new Date(e,n+1,0).getDate()}function q4(e,n){return new Date(e,n,1).getDay()}function tr(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function U4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function G4(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 c=0;c<12;c++){const d=`${u}-${String(c+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:n(u,c+1)})}return l}function K4({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:c}){const{t:d}=be.useTranslation(),p=l??d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),h=Pr(c),{viewY:g,viewM:b,prevMonth:f,nextMonth:A,setViewYM:y}=Vl(e,c),C=o.useId(),w=o.useCallback((E,O)=>{const T=window.innerHeight,I=window.innerWidth,L=typeof document<"u"?document.getElementById(C):null,Z=Math.max(L?.offsetHeight||0,L?.scrollHeight||0)||300,ee=Math.max(E.width,L?.offsetWidth||0,260),G=T-E.bottom,ae=E.top,ye=G<Z&&ae>G,he=8,de=(q,te)=>Math.min(Math.max(he,q),Math.max(he,te));return{position:"fixed",left:de(E.left,I-ee-he),width:E.width,minWidth:260,...ye?{top:"auto",bottom:de(T-E.top+6,T-Z-he)}:{bottom:"auto",top:de(E.bottom+6,T-Z-he)},zIndex:Aa(O)}},[C]),{open:v,setOpen:k,toggle:_,style:N,triggerRef:x,menuRef:B}=ka({computeStyle:w,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!v)return;const E=B.current;return(E?.querySelector(".date-picker__day--selected:not(:disabled)")??E?.querySelector(".date-picker__day--today:not(:disabled)")??E?.querySelector(".date-picker__day:not(:disabled)")??E?.querySelector(yn)??E)?.focus?.(),()=>{const O=document.activeElement;(!O||O===document.body)&&x.current?.focus?.()}},[v,B,x]);const[D,R]=o.useState(1),z=o.useRef(null),M=o.useRef(null);o.useEffect(()=>{if(!v)return;const E=e&&e.slice(0,7)===`${g}-${String(b+1).padStart(2,"0")}`?+e.slice(8):h.slice(0,7)===`${g}-${String(b+1).padStart(2,"0")}`?+h.slice(8):1;R(E)},[v]),o.useEffect(()=>{if(M.current==null)return;const E=M.current;M.current=null,z.current?.querySelector(`[data-day="${E}"]`)?.focus()}),o.useEffect(()=>{R(E=>Math.min(E,er(g,b)))},[g,b]);const W=o.useCallback(E=>{let O=tr(E.getFullYear(),E.getMonth(),E.getDate());r&&O<r&&(O=r),s&&O>s&&(O=s);const[T,I,L]=O.split("-").map(Number);(T!==g||I-1!==b)&&y(T,I-1),R(L),M.current=L},[r,s,g,b,y]),S=o.useCallback(E=>{const O=new Date(g,b,D),T=L=>{O.setDate(O.getDate()+L),W(O)},I=L=>{const Z=O.getFullYear()*12+O.getMonth()+L,ee=Math.floor(Z/12),G=Z-ee*12;W(new Date(ee,G,Math.min(O.getDate(),er(ee,G))))};switch(E.key){case"ArrowLeft":T(-1);break;case"ArrowRight":T(1);break;case"ArrowUp":T(-7);break;case"ArrowDown":T(7);break;case"Home":T(-O.getDay());break;case"End":T(6-O.getDay());break;case"PageUp":E.shiftKey?I(-12):I(-1);break;case"PageDown":E.shiftKey?I(12):I(1);break;default:return}E.preventDefault()},[g,b,D,W]),F=o.useCallback(E=>{i||(n(tr(g,b,E)),k(!1))},[g,b,n,k,i]);o.useEffect(()=>{i&&k(!1)},[i,k]);const H=E=>{const O=tr(g,b,E);return!!(r&&O<r||s&&O>s)},J=(()=>{const E=er(g,b);if(D>=1&&D<=E&&!H(D))return D;for(let O=1;O<=E;O++)if(!H(O))return O;return-1})(),Y=[];for(let E=0;E<q4(g,b);E++)Y.push(null);for(let E=1;E<=er(g,b);E++)Y.push(E);const P=a===64?20:a===40?16:18,V=G4(g,(E,O)=>d("calendar.yearMonth",{year:E,month:O,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),U=`${g}-${String(b+1).padStart(2,"0")}`,$=v?Xt.createPortal(t.jsxs("div",{ref:B,id:C,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":d("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:f,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ss,{size:16,strokeWidth:2})}),t.jsx(sn,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:V,value:U,onChange:E=>{const[O,T]=E.split("-");y(+O,+T-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:A,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(is,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:S,children:[m.map(E=>t.jsx("div",{className:"date-picker__dow caption-1",children:E},E)),Y.map((E,O)=>{if(E===null)return t.jsx("div",{},`e${O}`);const T=tr(g,b,E),I=T===e,L=T===h,Z=H(E),ee=O%7;return t.jsx("button",{type:"button",disabled:Z,"data-day":E,tabIndex:E===J?0:-1,"aria-current":L?"date":void 0,onClick:()=>!Z&&F(E),className:De("date-picker__day caption-1",I&&"date-picker__day--selected",L&&!I&&"date-picker__day--today",Z&&"date-picker__day--disabled",ee===0&&"date-picker__day--sun",ee===6&&"date-picker__day--sat"),children:E},E)})]})]}),document.body):null;return t.jsxs("div",{className:De("date-picker",`date-picker--s${a}`,v&&"date-picker--open",u),children:[t.jsxs("button",{ref:x,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&_(),disabled:i,"aria-haspopup":"true","aria-expanded":v,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?U4(e):p}),t.jsx(fs,{size:P,className:"date-picker__icon",strokeWidth:1.5})]}),$]})}function Wl({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 c=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;c>0?r.style.setProperty("--section-head-float-w",`${c}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:De("section-head-float",n),children:e})}function uo({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 Ma({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 co({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:c,collapseBelow:d=420,onClick:p,ariaLabel:m,tooltip:h,totalNum:g,totalUnit:b,totalLabel:f,subRow:A,subRowAlign:y="start",className:C,inGrid:w=!1,children:v}){const{t:k}=be.useTranslation(),_=o.useRef(null),{anchorRect:N,openAt:x,close:B}=wa(),D=o.useCallback(()=>{h&&_.current&&x(_.current)},[h,x]),[R,z]=o.useState(!1);io(()=>{const T=_.current;if(!T||!u)return;const I=Z=>z(Z>0&&Z<d);if(I(T.clientWidth),typeof ResizeObserver>"u")return;const L=new ResizeObserver(Z=>I(Z[0].contentRect.width));return L.observe(T),()=>L.disconnect()},[u,d]);const[M,W]=o.useState(null),S=o.useCallback(()=>W(null),[]),F=o.useCallback(T=>{const I=T.currentTarget.getBoundingClientRect();W(L=>L?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})},[]),H=!!u&&R;o.useEffect(()=>{H||W(null)},[H]);const J=u?[...u.options.map(T=>({label:T.label,icon:T.icon,selected:T.key===u.value,disabled:T.disabled,onClick:()=>u.onChange(T.key),closeOnSelect:!0})),...(c??[]).map((T,I)=>I===0?{...T,separatorBefore:!0}:T)]:[],Y=o.useCallback(T=>{if(!p)return;const I=T.target;I&&typeof I.closest=="function"&&I.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),P=o.useCallback(T=>{p&&T.target===T.currentTarget&&(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),p())},[p]),V=typeof i=="function"?i({collapsed:H}):i,U=g!=null||f?t.jsxs(Ma,{label:f,children:[g!=null&&t.jsx("span",{className:"barchart-total__num h0",children:g}),b&&t.jsx("span",{className:"barchart-total__unit h5",children:b})]}):null,$=V||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(H?t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??k("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??k("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!M,onClick:F}):t.jsx(An,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(T=>({key:T.key,label:T.label,disabled:T.disabled})),value:u.value,onChange:u.onChange})),V]}):null,E=o.useId(),O=a?`h${a}`:"div";return t.jsxs("section",{ref:_,className:["manager-section",w&&"manager-section--grid",p&&"manager-section--clickable",C].filter(Boolean).join(" "),onClick:p?Y:void 0,onKeyDown:p?P:void 0,onPointerEnter:h?D:void 0,onPointerLeave:h?B:void 0,onFocus:h?D:void 0,onBlur:h?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?E:void 0,children:[h&&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:h}),l&&t.jsx(Wl,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ke,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(O,{id:E,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),$,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(U||A)&&t.jsxs("div",{className:["barchart-sub-row",y!=="start"&&`barchart-sub-row--${y}`].filter(Boolean).join(" "),children:[U,A]}),v,M&&t.jsx(rn,{anchorRect:M,onClose:S,ariaLabel:u?.ariaLabel??k("tooltip.menu","\uBA54\uB274"),children:t.jsx(Ba,{columns:[{items:J}],onClose:S,size:"small"})})]})}function pn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function Y4(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<pn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-pn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function Z4(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(c,d)=>`${c}\uB144 ${d+1}\uC6D4`,s=new Map;s.set(a,[]);for(const c of e){if(isNaN(c.date.getTime()))continue;const d=r(c.date.getFullYear(),c.date.getMonth());s.has(d)||s.set(d,[]),s.get(d).push(c)}for(const[c,d]of[...s.entries()]){const p=c.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,g=pn(m,h);if(!(c===a&&n.getDate()<g)&&!d.some(A=>A.date.getDate()<g))continue;const b=new Date(m,h,0),f=r(b.getFullYear(),b.getMonth());s.has(f)||s.set(f,[])}const i=new Map;for(const[c,d]of s){const p=c.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,g=new Date(m,h+1,0).getDate(),b=d.reduce((v,k)=>Math.max(v,k.parts?.length??0,k.partsB?.length??0),0),f=d.some(v=>v.partsB),A=new Array(g+1).fill(0),y=new Array(g+1).fill(0),C=Array.from({length:g+1},()=>new Array(b).fill(0)),w=Array.from({length:g+1},()=>new Array(b).fill(0));for(const v of d){const k=v.date.getDate();if(A[k]+=v.a,y[k]+=v.b,v.parts)for(let _=0;_<b;_++)C[k][_]+=v.parts[_]??0;if(v.partsB)for(let _=0;_<b;_++)w[k][_]+=v.partsB[_]??0}i.set(c,{year:m,month:h,daysInMonth:g,partsLen:b,hasPartsB:f,dayA:A,dayB:y,dayParts:C,dayPartsB:w})}const l=(c,d,p)=>new Date(c,d,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[c,d]of i){const{year:p,month:m,daysInMonth:h,dayA:g,dayB:b,dayParts:f,dayPartsB:A}=d,y=p===n.getFullYear()&&m===n.getMonth(),C=n.getDate(),w=i.get(r(m===11?p+1:p,(m+1)%12)),v=d.partsLen,k=[];for(let N=1;N<=h;N++){const x=y&&N>C;k.push({label:String(N),...x&&g[N]===0&&b[N]===0?{future:!0}:{},a:x&&g[N]===0&&b[N]===0?-1:g[N],b:b[N],...v?{parts:f[N]}:{},...v&&d.hasPartsB?{partsB:A[N]}:{}})}const _=[];for(let N=pn(p,m);N<=h;N+=7){const x=Math.max(0,N+6-h),B=x&&w?Math.max(v,w.partsLen):v,D=d.hasPartsB||!!(x&&w?.hasPartsB);let R=0,z=0;const M=new Array(B).fill(0),W=new Array(B).fill(0);for(let F=N;F<=Math.min(N+6,h);F++){R+=g[F],z+=b[F];for(let H=0;H<v;H++)M[H]+=f[F][H],W[H]+=A[F][H]}if(x&&w)for(let F=1;F<=x&&!l(w.year,w.month,F);F++){R+=w.dayA[F],z+=w.dayB[F];for(let H=0;H<w.partsLen;H++)M[H]+=w.dayParts[F][H],W[H]+=w.dayPartsB[F][H]}const S=x?`${(m+1)%12+1}/${x}`:`${N+6}`;_.push({label:`${_.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${S}\uC77C]`,a:R,b:z,...B?{parts:M}:{},...B&&D?{partsB:W}:{}})}u[c]={weekly:_,daily:k}}return u}function ql(){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()}ql();function X4(){return ql()}const Ul=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Gl(e){const{t:n,i18n:a}=be.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>X4().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const D of i){const R=new Date(D.year,D.month,0).getDate(),z=pn(D.year,D.month-1),M=Math.ceil((R-z+1)/7);for(let W=M-1;W>=0;W--)B.push({value:`${D.value}#${W}`,monthKey:D.value,year:D.year,month:D.month,week:W})}return B},[i]),u=o.useCallback(B=>{const D=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${D} ${Ul[B.week]??`${B.week+1}`}\uC8FC`:`${D} Week ${B.week+1}`},[n,a.language]),c=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),d=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>Y4(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),h=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[g,b]=o.useState(""),[f,A]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===g)||b(m)},[i,g,m]),o.useEffect(()=>{l.find(B=>B.value===f)||A(h)},[l,f,h]);const y=r==="month"?c:d,C=r==="month"?g:f,w=r==="month"?b:A,v=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),k=y.findIndex(B=>B.value===C),_=o.useCallback(()=>{const B=y.findIndex(D=>D.value===C);B<y.length-1&&w(y[B+1].value)},[y,C,w]),N=o.useCallback(()=>{const B=y.findIndex(D=>D.value===C);B>0&&w(y[B-1].value)},[y,C,w]),x=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:C,setRange:w,activeOptions:y,activeIdx:k,handlePrev:_,handleNext:N,periodOptions:x,monthRange:g,weekRange:f,weekRanges:l,DOW:v}}const pt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function kn(e,n=!0){return e.future===!0||n&&e.a===-1}function J4({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:c,tightMax:d,seriesColors:p,seriesLabels:m,rateLabels:h,grouped:g=!1,baseline:b,focusableBars:f=!1}){const A=!a,y=!!(p&&p.length>0),C=b,w=o.useMemo(()=>y?Math.max(0,...e.filter(P=>!kn(P,C==null)).map(P=>g?Math.max(0,...(P.parts??[]).map(pt)):(P.parts??[]).reduce((V,U)=>V+Math.max(0,pt(U)),0))):Math.max(0,...e.filter(P=>!kn(P,C==null)).flatMap(P=>A?[pt(P.a)]:[pt(P.a),pt(P.b)])),[e,A,y,g]),v=o.useMemo(()=>{if(C==null)return 0;const P=e.filter(V=>!kn(V,C==null)).flatMap(V=>y?(V.parts??[]).map(pt):A?[pt(V.a)]:[pt(V.a),pt(V.b)]);return Math.max(0,...P.map(V=>Math.abs(V-C)))},[e,C,y,A]),k=o.useMemo(()=>{const P=C!=null?v:w;return c??(d?P>0?P:10:Math.ceil(P/10)*10||10)},[w,v,C,c,d]),_=u,N=y?g?Math.max(1,p.length):1:A?1:2,x={"--bar-width":`${o.useMemo(()=>{const P=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(P*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},D=o.useMemo(()=>{const P=Math.round(k/2);return C!=null?[C+k,...P!==k?[C+P]:[],C,...P!==k?[C-P]:[],C-k]:P!==k?[k,P,0]:[k,0]},[k,C]),R=P=>C!=null?1-(P-(C-k))/(2*k):1-P/k,[z,M]=o.useState(null),W=o.useCallback(()=>M(null),[]),S=o.useCallback((P,V)=>{const U=[P.label,P.sublabel].filter(Boolean).join(" ");let $;if(y&&g&&P.rawPartsB)$=(m??[]).map((E,O)=>{const T=P.rawPartsB[O]??0;return{text:T>0?`${E}: ${V[O]??0}% (${P.rawParts?.[O]??0}/${T})`:`${E}: -`,color:(p??[])[O]}});else if(y&&g)$=(m??[]).map((E,O)=>({text:`${E}: ${J(V[O]??0)}`,color:(p??[])[O]}));else if(y){const E=(m??[]).map((T,I)=>({text:`${T}: ${V[I]??0}`,color:(p??[])[I]})),O=E.filter((T,I)=>(V[I]??0)>0);$=O.length?O:E}else h&&!A?$=[{text:`${r} ${pt(P.a)}%`,color:n},{text:`${s} ${pt(P.b)}%`,color:a}]:h&&P.rawB!==void 0?$=[{text:`${h.total} ${P.rawB}`},{text:`${h.done} ${P.rawA??0}`,color:n}]:A?$=[{text:`${r}: ${pt(P.a)}`,color:n}]:$=[{text:`${r}: ${pt(P.a)}`,color:n},{text:`${s}: ${pt(P.b)}`,color:a}];return{title:U,items:$}},[y,g,m,p,h,A,r,s,n,a,C]),F=o.useCallback((P,V,U)=>{const $=P.getBoundingClientRect(),{title:E,items:O}=S(V,U);M({rect:{left:$.left,top:$.top,right:$.right,bottom:$.bottom,width:$.width,height:$.height},title:E,items:O})},[S]),H=o.useCallback((P,V)=>{const{title:U,items:$}=S(P,V);return[U,...$.map(E=>E.text)].filter(Boolean).join(", ")},[S]),J=P=>C!=null&&P>C?`+${P}`:`${P}`,Y=z!=null;return o.useEffect(()=>{if(!Y)return;const P=()=>M(null),V=U=>{const $=U.target;$&&typeof $.closest=="function"&&$.closest(".manager-bar-chart-col")||M(null)};return window.addEventListener("scroll",P,!0),document.addEventListener("pointerdown",V,!0),()=>{window.removeEventListener("scroll",P,!0),document.removeEventListener("pointerdown",V,!0)}},[Y]),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:_},children:[D.slice(0,-1).map((P,V)=>t.jsx("div",{className:`manager-bar-chart-gridline${C!=null&&P===C?" manager-bar-chart-gridline--baseline":""}`,style:{top:R(P)*_},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:P})},V)),e.map((P,V)=>{const U=kn(P,C==null),$=_/2,E=L=>C!=null?Math.min($,Math.abs(pt(L)-C)/k*$):Math.min(_,Math.max(0,pt(L)/k*_)),O=U?0:E(P.a),T=U?0:E(P.b),I=(P.parts??[]).map(pt);return t.jsx("div",{className:`manager-bar-chart-col${g&&y?" manager-bar-chart-col--group":""}`,style:{cursor:U?"default":"pointer"},tabIndex:f&&!U?0:void 0,role:f&&!U?"img":void 0,"aria-label":f&&!U?H(P,I):void 0,onMouseEnter:U?void 0:L=>F(L.currentTarget,P,I),onFocus:U||!f?void 0:L=>F(L.currentTarget,P,I),onBlur:f?W:void 0,onMouseLeave:W,children:!U&&(y&&g?(p??[]).map((L,Z)=>{const ee=I[Z]??0;if(C==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:E(ee),background:L}},Z);const G=pt(ee)<C;return t.jsxs("div",{className:"manager-bar-chart-slot",style:x,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!G&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:E(ee),background:L}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:G&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:E(ee),background:L}})})]},Z)}):y?t.jsx("div",{className:"manager-bar-chart-stack",style:x,children:(()=>{const L=I.reduce((ee,G,ae)=>G>0?ae:ee,-1);let Z=_;return I.map((ee,G)=>{if(ee<=0)return null;const ae=Math.min(Z,ee/k*_);return Z-=ae,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:ae,background:(p??[])[G],borderRadius:G===L?"6px 6px 0 0":void 0}},G)})})()}):C!=null?t.jsx(t.Fragment,{children:[{v:pt(P.a),c:n},...A?[]:[{v:pt(P.b),c:a}]].map(({v:L,c:Z},ee)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:x,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:L>=C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:E(L),background:Z}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:L<C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:E(L),background:Z}})})]},ee))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:O,background:n}}),!A&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...x,height:T,background:a}})]}))},V)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((P,V)=>{const U=kn(P,C==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${U?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[P.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),P.label]}),P.sublabel&&t.jsx("span",{className:"caption-1",children:P.sublabel})]},V)})})]})})}),z&&t.jsx(Vn,{anchorRect:z.rect,title:z.title,items:z.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Kl({control:e}){const{t:n}=be.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:c,period:d,setPeriod:p}=e,m=d==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),h=d==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(sn,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(ce,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:h,showTooltipInfo:h,disabled:r<=0,onClick:u}),t.jsx(An,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:c,value:d,onChange:g=>p(g),size:40})]})}function po(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 c=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],d=c!=null&&kn(c,r)||u>s;return{dt:u,entry:c,isFuture:d}})}function Q4(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:c,DOW:d}=n,p=r?.startsWith("ko"),m=Jn(),h=m.getFullYear(),g=m.getMonth()+1,b=m.getDate();if(i==="month"){const y=e[l]??{weekly:[],daily:[]},C=l.match(/^(\d+)년 (\d+)월$/),w=C?Number(C[1]):null,v=C?Number(C[2]):null,k=w&&v?pn(w,v-1):1;return y.weekly.map((_,N)=>{const x=N+1;let B=_.label,D=!1,R=!1;if(w&&v){const z=k+N*7,M=new Date(w,v-1,z+6),W=M.getMonth()+1,S=M.getDate(),F=W===v?`${S}`:`${W}/${S}`;B=a("manager.chart.weekRange",{start:z,end:F});const H=new Date(h,g-1,b).getTime();D=H>=new Date(w,v-1,z).getTime()&&H<=M.getTime(),R=w>h||w===h&&(v>g||v===g&&z>b)}return{..._,label:B,sublabel:p?`${Ul[x-1]??x}\uC8FC`:`Week ${x}`,isToday:D,future:_.future===!0||R||void 0,a:R?-1:_.a,b:R?0:_.b}})}const f=c.find(y=>y.value===u);if(!f)return[];const A=new Date(f.year,f.month-1,pn(f.year,f.month-1)+f.week*7);return po(e,A,m,s).map(({dt:y,entry:C,isFuture:w})=>{const v=y.getMonth()+1,k=y.getDate(),_=y.getFullYear();return{label:v===f.month&&_===f.year?`${k}`:`${v}/${k}`,sublabel:d[y.getDay()]??"",future:w||void 0,a:w?-1:C&&C.a>0?C.a:0,b:w?0:C&&C.b>0?C.b:0,isToday:_===h&&v===g&&k===b,...C?.parts?{parts:w?C.parts.map(()=>0):C.parts}:{},...C?.partsB?{partsB:w?C.partsB.map(()=>0):C.partsB}:{}}})}const ey={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function ty({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,data:s,colorA:i,colorB:l,labelAKey:u,labelBKey:c,showTotal:d=!1,totalUnitKey:p,totalLabelKey:m,control:h,hideControls:g=!1,rate:b=!1,rateAgg:f="dayMean",tightMax:A=!1,avgMode:y=!1,totalFormat:C,series:w,seriesMode:v="stack",loading:k=!1,onDetail:_,headExtra:N,headSegment:x,icon:B,disc:D,onClick:R,cardAriaLabel:z,cardTooltip:M,detailSize:W=32,barGap:S,baseline:F,className:H,inGrid:J=!1}){const{t:Y,i18n:P}=be.useTranslation(),V=ey[n],U=Gl(s),$=h??U,E=o.useMemo(()=>Q4(s,$,Y,P.language,F==null),[s,$,Y,P.language,F]),O=v==="group"&&!!w&&w.length>0;S!=null&&!O&&bn("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 T=o.useMemo(()=>{if(!b)return E;const G=$.period==="month"?$.monthRange.match(/^(\d+)년 (\d+)월$/):null,ae=Jn(),ye=w?.length??0,he=de=>{const q=[],te=[],le=[];for(let ve=0;ve<ye;ve++){let pe=0,oe=0,fe=0;for(const ge of de){const Ee=pt(ge.a[ve]),Ie=pt(ge.b[ve]);Ie<=0||(pe+=Ee,oe+=Ie,fe+=Ee/Ie*100)}q.push(f==="weighted"?oe>0?Math.round(pe/oe*100):0:de.length?Math.round(fe/de.length):0),te.push(pe),le.push(oe)}return{pct:q,ra:te,rb:le}};return E.map((de,q)=>{let te=de.a===-1?-1:de.b>0?Math.round(de.a/de.b*100):0;if(G&&!kn(de)){const ve=Number(G[1]),pe=Number(G[2])-1,oe=po(s,new Date(ve,pe,pn(ve,pe)+q*7),ae).filter(fe=>!fe.isFuture);if(f==="weighted"){let fe=0,ge=0;for(const{entry:Ee}of oe)Ee&&Ee.b>0&&(fe+=Ee.a,ge+=Ee.b);te=ge>0?Math.round(fe/ge*100):0}else te=oe.length?Math.round(oe.reduce((fe,{entry:ge})=>fe+(ge&&ge.b>0?ge.a/ge.b*100:0),0)/oe.length):0}let le=null;if(O&&!kn(de)){let ve;if(G){const oe=Number(G[1]),fe=Number(G[2])-1;ve=po(s,new Date(oe,fe,pn(oe,fe)+q*7),ae).filter(ge=>!ge.isFuture).map(({entry:ge})=>({a:ge?.parts??[],b:ge?.partsB??[]}))}else ve=[{a:de.parts??[],b:de.partsB??[]}];const pe=he(ve);le={parts:pe.pct,rawParts:pe.ra,rawPartsB:pe.rb}}return{...de,a:te,b:de.a===-1?0:c&&de.parts&&de.parts[1]>0?Math.round(de.parts[0]/de.parts[1]*100):0,rawA:de.a===-1?-1:de.a,rawB:de.b,...le??{}}})},[E,b,f,c,$.period,$.monthRange,s,O,w?.length]),I=o.useMemo(()=>{if(b||y){const ae=($.period==="week"?E:s[$.monthRange]?.daily??[]).filter(he=>he.a!==-1);if(ae.length===0)return 0;if(b&&f==="weighted"){let he=0,de=0;for(const q of ae)q.b>0&&(he+=q.a,de+=q.b);return de>0?Math.round(he/de*100):0}const ye=b?ae.reduce((he,de)=>he+(de.b>0?de.a/de.b*100:0),0):ae.reduce((he,de)=>he+(de.a>0?de.a:0),0);return Math.round(ye/ae.length)}const G=$.period==="month"?s[$.monthRange]?.daily??[]:T;return F!=null?G.reduce((ae,ye)=>ae+(kn(ye,!1)?0:pt(ye.a)+(c?pt(ye.b):0)),0):G.reduce((ae,ye)=>ae+(ye.a>0?ye.a:0)+(c&&ye.b>0?ye.b:0),0)},[T,E,b,f,y,F,c,$.period,$.monthRange,s]),L=w&&w.length>0?w.map(G=>({color:G.color,label:G.label})):[{color:i,label:Y(u)},...c?[{color:l,label:Y(c)}]:[]],Z=n==="small",ee=[Z?"manager-section--compact":n==="large"?"manager-section--full":void 0,H].filter(Boolean).join(" ")||void 0;return t.jsx(co,{className:ee,inGrid:J,icon:B,disc:D,onClick:R,ariaLabel:z,tooltip:M,headSegment:x,headMenuItems:_?[{label:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:_,closeOnSelect:!0}]:void 0,title:Y(r),titleClassName:Z?"h5 chart-section-title--small":void 0,headRight:Z?N??void 0:({collapsed:G})=>t.jsxs(t.Fragment,{children:[!g&&t.jsx(Kl,{control:$}),N,_&&!G&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(ce,{htmlType:"button",size:W,type:"dot",icon:"list",ariaLabel:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:_})})]}),subRow:t.jsxs(t.Fragment,{children:[d?b||y||m&&C?t.jsx(Ma,{label:Z?void 0:`${Y($.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${Y(m??u)}`,children:C?(C(I).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((G,ae)=>/\d/.test(G)?t.jsx("span",{className:"barchart-total__num h0",children:G},ae):t.jsx("span",{className:"barchart-total__unit h5",children:G},ae)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:I}),p&&t.jsx("span",{className:"barchart-total__unit h5",children:Y(p)})]})}):t.jsxs(Ma,{children:[t.jsx("span",{className:"barchart-total__num h0",children:I}),t.jsx("span",{className:"barchart-total__unit h5",children:Y(u)}),p&&t.jsx("span",{className:"barchart-total__unit h5",children:Y(p)})]}):t.jsx("span",{}),t.jsx(uo,{items:L,className:"caption-1"})]}),children:k?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:V.height},children:t.jsx(Ta,{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"}),T.some(G=>!!G.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(J4,{focusableBars:e,data:T,colorA:i,colorB:c?l:void 0,labelA:Y(u),labelB:c?Y(c):void 0,barWidth:a??V.barWidth,barGap:S,baseline:F,height:V.height,maxOverride:b?100:void 0,tightMax:A,seriesColors:w?.map(G=>G.color),seriesLabels:w?.map(G=>G.label),rateLabels:b?{total:Y("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:Y("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:O})})}const Yl=120,ny={left:38,right:16,top:26,bottom:24};function ay({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:c,ariaLabel:d,className:p}){const[m,h]=o.useState(null),[g,b]=o.useState(null);o.useEffect(()=>{if(!g)return;const H=Y=>h(Math.round(Y)||null);if(H(g.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const J=new ResizeObserver(([Y])=>H(Y.contentRect.width));return J.observe(g),()=>{J.disconnect()}},[g]);const{payload:f,anchorRect:A,openAfterDelay:y,close:C}=lb(Yl),w=o.useCallback((H,J)=>{H&&y(H,J.getBoundingClientRect())},[y]),v=m??l,k=i,{left:_,right:N,top:x,bottom:B}={...ny,...u},[D,R]=n,z=H=>R===D?_:_+(v-_-N)*(H-D)/(R-D),M=H=>x+(k-x-B)*(100-H)/100,W={x:z,y:M,plot:{left:_,right:v-N,top:x,bottom:k-B,width:Math.max(0,v-_-N),height:Math.max(0,k-x-B)}},S=e.filter(H=>!H.hollow),F=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:b,className:De("line-chart",p),viewBox:`0 0 ${v} ${k}`,role:"img","aria-label":d??e.map(H=>H.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(H=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:_,x2:v-N,y1:M(H),y2:M(H)}),t.jsxs("text",{className:"line-chart__tick",x:_-6,y:M(H)+4,textAnchor:"end",children:[H,"%"]})]},H)),c?.(W),a.map(H=>t.jsx("text",{className:"line-chart__tick",x:z(H.x),y:k-5,textAnchor:"middle",children:H.label},H.x)),S.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:F,points:S.map(H=>`${z(H.x)},${M(H.pct)}`).join(" ")}),e.map(H=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:J=>w(H.description,J.currentTarget),onPointerLeave:C,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:z(H.x),cy:M(H.pct),r:12}),t.jsx("circle",{className:De("line-chart__dot-main",H.hollow&&"is-hollow"),cx:z(H.x),cy:M(H.pct),r:4,stroke:F,fill:H.hollow?void 0:F})]},H.x))]}),f!=null&&t.jsx(rn,{anchorRect:A,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:f,children:f})]})}function ry({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:De("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:De("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((c,d)=>t.jsxs("div",{className:"game-intro__tips",children:[c.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:c.title}),c.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))]},d)),l&&t.jsx(ce,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Zl=(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")}`},Xl=(e,n,a,r)=>({from:li(e,n,a),to:new Date(li(e,n,a+r).getTime()-1),fromYmd:Zl(e,n,a),toYmd:Zl(e,n,a+r-1)});function oy(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,c=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Xl(l,u,1,c)}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=pn(a.year,a.month-1);return Xl(a.year,a.month-1,r+(a.week+n)*7,7)}const mo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Jl(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function Ql({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:c=!1}){const d=typeof s=="number"?s:mo[s].diameter,p=i??(typeof s=="number"?12:mo[s].strokeWidth),m=d/2,h=(d-p)/2,g=2*Math.PI*h;if(a&&a.length>0){const y=a.reduce((C,w)=>{const v=C.length>0?C[C.length-1].acc:0,k=Number.isFinite(w.ratio)?w.ratio:0,_=Math.max(0,Math.min(k,1-v));return C.push({color:w.color,rotate:-90+v*360,dash:g*_,acc:v+_}),C},[]);return t.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),y.map((C,w)=>C.dash>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:C.color,strokeWidth:p,strokeDasharray:`${C.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${C.rotate} ${m} ${m})`},w))]})})}const b=(n??0)>0?Math.min((e??0)/n,1):0,f=g*b,A=g-f;return t.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),b>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${f} ${A}`,strokeLinecap:b<.02||b>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${c?"":` ${d<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Jl(b)}),!c&&t.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function sy({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:s,legend:i,loading:l,className:u,inGrid:c=!1,onClick:d,ariaLabel:p,tooltip:m,...h}){const{t:g}=be.useTranslation();if(!e)return t.jsx(Ql,{...h});const b=(h.total??0)>0?Jl(Math.min((h.done??0)/h.total,1)):0,f=h.size==="small",A=typeof h.size=="number"?h.size:mo[h.size??"medium"].diameter,y=h.size==="large",C=[u,f?"manager-section--compact":y?"manager-section--full":""].filter(Boolean).join(" ")||void 0,w=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ke,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(co,{className:C,inGrid:c,onClick:d,ariaLabel:p,tooltip:m,title:g(e),titleClassName:f?"h5 chart-section-title--small":void 0,headRight:w||(f?void 0:n),subRow:(r||i)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(Ma,{label:!f&&s?g(s):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",{}),i&&t.jsx(uo,{items:i})]}),children:l?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:A,height:A},"aria-busy":"true",children:t.jsx(Ta,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(Ql,{...h,hideCenter:h.hideCenter??f})})})}function iy({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const c=o.useRef(null),{anchorRect:d,openAt:p,close:m}=wa(),h=o.useCallback(()=>{i&&c.current&&p(c.current)},[i,p]),g=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),b=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=o.useCallback(A=>{l&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:h,onPointerLeave:m,onFocus:h,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,b].filter(A=>A!==void 0&&A!=="").join(" "):void 0,children:[i&&d&&t.jsx(vn,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.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(Ke,{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}),b&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${g??"neutral"} caption-1`,children:b})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function eu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:c,length:d,className:p,label:m,formatValue:h,labelPos:g,labelAlign:b="right",showMinMax:f=!1,minLabel:A,maxLabel:y,showBgTick:C=!1,showFillTick:w=!1,tickStep:v,tickShape:k="dot"}){n&&!c&&bn("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 _=Math.min(r,Math.max(a,e)),N=r>a?(_-a)/(r-a):0,x=i==="vertical",B=!n,D=E=>n?.(Number(E.target.value)),R=typeof d=="number"?`${d}px`:d,z={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...R?x?{height:R}:{width:R}:{}},M=v??s,W=(C||w)&&M>0&&r>a?Math.floor((r-a)/M+1e-6):0;if(W>0&&W<=100){const E=k!=="dash",O=ee=>E?`radial-gradient(circle, ${ee} 0.5px, transparent 1px)`:x?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`,T=E?"2px":"4px",I=[],L=[],Z=[];for(let ee=0;ee<=W;ee++){const G=ee*M/(r-a);if(G>1+1e-6)break;const ae=`${((x?1-G:G)*100).toFixed(4)}%`,ye=G<=N+1e-6;if(ye?!w:!C)continue;const he=ye?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(O(he)),L.push(x?`${T} var(--slider-thumb)`:`var(--slider-thumb) ${T}`),Z.push(x?`center ${ae}`:`${ae} center`)}I.push(x?"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))"),L.push("100% 100%"),Z.push("0 0"),z.backgroundImage=I.join(", "),z.backgroundSize=L.join(", "),z.backgroundPosition=Z.join(", "),z.backgroundRepeat="no-repeat"}const S=h?h(_):m==="percent"?`${Math.round(r>a?(_-a)/(r-a)*100:0)}%`:m==="count"?`${_} / ${r}`:_===a&&A?A:_===r&&y?y:void 0,F=t.jsx("input",{type:"range",className:De("slider",`slider--${i}`,B&&"slider--static",!m&&!f&&p),min:a,max:r,step:s,value:_,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":c,"aria-valuetext":S,"aria-orientation":i,onChange:D,style:z});if(!m&&!f)return F;const H=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:A??a}),J=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??r}),Y=f?t.jsxs("div",{className:De("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[x?J:H,F,x?H:J]}):F;if(!m)return Y;const P=g??(x?"bottom":"right"),V=`${Math.round(r>a?(_-a)/(r-a)*100:0)}%`,U=h?h(_):m==="percent"?V:m==="count"?`${_} / ${r}`:String(_),$=t.jsx("span",{className:"slider-wrap__value body-3b",children:U});return t.jsxs("div",{className:De("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${P}`,`slider-wrap--align-${b}`,p),children:[Y,$]})}const ly=.86,uy=250,ho=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),Co=(e,n,a,r)=>{const s=ho(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function fo({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:c=-35,displayMin:d=-5,displayMax:p=25,className:m,ariaLabel:h}){const g=o.useRef(null),b=o.useRef(null),f=o.useRef(null),A=o.useRef(null),[y,C]=o.useState(null);o.useEffect(()=>{const _=F=>{const H=Co(F,c,d,p);f.current&&(f.current.textContent=H);const J=g.current;J&&(J.setAttribute("aria-valuenow",String(ho(F,c,d,p))),J.setAttribute("aria-valuetext",H))},N=e??oC(n)??(y&&y.el===n?y.node:null),x=b.current;if(!N||!x){x?.style.setProperty("--meter-level","0"),_(u);let F=!1;return!e&&n&&Oa(n).then(H=>{!F&&H&&C({el:n,node:H})}),()=>{F=!0}}Tr();const B=new Float32Array(N.fftSize);let D=0,R=0,z=0,M=0,W=null;const S=F=>{const H=sC(N,B);D=H>D?H:D*ly;const J=D>1e-5?20*Math.log10(D):-1/0,Y=Math.max(u,J),P=Y-c,V=Math.min(1,Math.max(0,(P-d)/(p-d)));if(x.style.setProperty("--meter-level",V.toFixed(3)),R+=Y,z+=1,F-M>=uy){const U=R/z;W=W==null?U:W*.6+U*.4,_(W),R=0,z=0,M=F}A.current=requestAnimationFrame(S)};return A.current=requestAnimationFrame(S),()=>{A.current!=null&&cancelAnimationFrame(A.current),A.current=null}},[e,n,y,u,c,d,p]);const w=typeof r=="number"?`${r}px`:r,v=t.jsx("div",{className:"audio-meter__track",style:w?a==="vertical"?{height:w}:{width:w}:{},children:t.jsx("div",{ref:b,className:"audio-meter__fill"})}),k=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:g,className:De("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${k}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":h,"aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":ho(u,c,d,p),"aria-valuetext":Co(u,c,d,p),children:[v,s&&t.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:Co(u,c,d,p)})]})}const tu=260;function nu({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),c=o.useRef(l),d=o.useRef(s);o.useEffect(()=>{c.current=l},[l]),o.useEffect(()=>{d.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),h=o.useRef(r);o.useEffect(()=>{h.current=r});const g=a,b=o.useRef(null),f=o.useRef(0),A=o.useRef(0),y=o.useRef(!1),C=o.useRef(null),w=o.useRef(null),v=o.useRef(null),k=o.useRef(null),_=o.useRef(()=>{});_.current=B=>{B<0||(f.current=Date.now(),A.current=B,b.current=setTimeout(()=>{b.current=null,i(!1),C.current=setTimeout(()=>{u(!1);try{h.current()}catch{}},tu)},B))};const N=o.useCallback(()=>{y.current||!b.current||(y.current=!0,clearTimeout(b.current),b.current=null,A.current=Math.max(0,A.current-(Date.now()-f.current)))},[]),x=o.useCallback(()=>{y.current&&(y.current=!1,_.current(A.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(b.current&&(clearTimeout(b.current),b.current=null),C.current&&(clearTimeout(C.current),C.current=null)),e){if(d.current)return g>0&&!b.current&&(y.current?A.current=g:_.current(g)),m.current=e,()=>{b.current&&(clearTimeout(b.current),b.current=null),C.current&&(clearTimeout(C.current),C.current=null)};const B=()=>{const D=p.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",n==="top"?D.style.transform="translateX(-50%) translateY(-16px)":D.style.transform="translateX(-50%) translateY(16px)",D.style.opacity="0",D.offsetWidth,D.style.transition="",D.classList.add("is-visible"),k.current&&clearTimeout(k.current),k.current=setTimeout(()=>{k.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};c.current?(B(),i(!0)):(u(!0),w.current=requestAnimationFrame(()=>{v.current=requestAnimationFrame(()=>{B(),i(!0)})})),g>0&&(y.current=!1,_.current(g))}else i(!1),C.current=setTimeout(()=>u(!1),tu);return m.current=e,()=>{b.current&&clearTimeout(b.current),C.current&&clearTimeout(C.current),w.current&&cancelAnimationFrame(w.current),v.current&&cancelAnimationFrame(v.current),k.current&&clearTimeout(k.current),b.current=null,C.current=null,w.current=null,v.current=null,k.current=null}},[e,g,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:x}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:c,resume:d}=nu({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,h]=o.useState(!1);if(o.useEffect(()=>{l?h(!0):i||h(!1)},[l,i]),!i)return null;const g=a==="notice"||a==="warning"?a:"normal",b=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:f=>{p.current=f.pointerType},onMouseEnter:()=>{p.current!=="touch"&&c()},onMouseLeave:d,onFocusCapture:c,onBlurCapture:d,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(b,document.body):b}const cy=24;function dy({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:c="right",ariaLabel:d,className:p}){const m=Number.isFinite(n)&&n>0?n:1,h=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),g=h/m*100,b=Number.isFinite(n)&&n>0?n:0,f=u??(a>=cy?"inside":"bottom"),A=f==="center"?"inside":f,y=A==="inside"&&(c==="left"?g>=15:c==="center"?g>=50:g>=85),C={};return r&&(C["--progress-bar-fill"]=r),s&&(C["--progress-bar-track"]=s),t.jsxs("div",{className:De("progress-bar",`progress-bar--${a}`,`progress-bar--label-${A}`,i&&`progress-bar--align-${c}`,i&&y&&"progress-bar--label-on-fill",p),style:C,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":b,"aria-valuetext":i?l?l(h):i==="percent"?void 0:i==="raw"?String(h):`${h} / ${b}`:void 0,"aria-label":d,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(h):i==="percent"?`${Math.round(g)}%`:i==="raw"?String(h):`${h} / ${b}`})]})}const au={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},py="rgba(255, 255, 255, 0.16)";function ru({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:c}=be.useTranslation(),d=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??c("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),h={};if(a&&(h["--pi-inactive-bg"]=a),r&&(h["--pi-inactive-color"]=r),s&&(a||(h["--pi-inactive-bg"]=py),r||(h["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:h,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:au,children:m}),Array.from({length:e}).map((b,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<p?" done":f===p?" active":""}`},f))]});const g=l?t.jsx("span",{role:"status",style:au,children:m}):null;return d?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:h,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:h,role:"list","aria-label":m,children:Array.from({length:e}).map((b,f)=>t.jsx("span",{role:"listitem","aria-current":f===p?"step":void 0,className:`progress-indicator-dot ${f<p?" done":f===p?" active":""} body-3`,children:f+1},f))})]})}function my(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 hy({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function go({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:c,expandedContent:d}){const p=o.useCallback(m=>{s&&m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(Ta,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?p:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:c,role:s?"button":void 0,tabIndex:s?0:void 0,children:n}),d&&t.jsx("div",{className:"table-row-expand",children:d})]})}function Cy({dir:e}){return t.jsx(e==="asc"?bs:gs,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function fy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(Cy,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:De("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 bo({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:c,onRowDragEnd:d,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:h,resizable:g=!1,resizeMode:b="grow",resizeStorageKey:f,size:A="small",title:y,icon:C,count:w,collapsed:v=!1,onToggleCollapse:k,headerActions:_,empty:N,loading:x,dragOver:B=!1,onDragOver:D,onDragLeave:R,onDrop:z,renderExpandedRow:M,expandedId:W}){const{t:S}=be.useTranslation(),F=tn("(max-width: 767px)"),H=h&&F?h:null,J=g&&!F,Y=48,P=o.useRef(()=>Y),V=f?`table-cols:${f}`:null,U=o.useRef(null),$=o.useRef(null),E=o.useRef(null),O=o.useRef(null),[T,I]=o.useState(!1),L=o.useCallback(()=>{const ne=E.current;ne&&I(ne.scrollWidth>ne.clientWidth+1)},[]),Z=o.useCallback((ne,we)=>{const We=ne.current;We&&$.current&&$.current.unobserve(We),ne.current=we,we?(!$.current&&typeof ResizeObserver<"u"&&($.current=new ResizeObserver(()=>L())),$.current?.observe(we)):!E.current&&!O.current&&($.current?.disconnect(),$.current=null),L()},[L]),ee=o.useCallback(ne=>Z(E,ne),[Z]),G=o.useCallback(ne=>Z(O,ne),[Z]);o.useEffect(()=>{L()}),o.useEffect(()=>{if(typeof window>"u")return;const ne=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>L()):null;return window.addEventListener("resize",L),()=>{ne!=null&&cancelAnimationFrame(ne),window.removeEventListener("resize",L)}},[L]);const ae=o.useRef(()=>!1),ye=o.useRef([]),he=o.useRef(null),de=ne=>{if(!ne||typeof window>"u")return null;try{const we=JSON.parse(window.localStorage.getItem(ne)??"null");return Array.isArray(we)&&we.length>0&&we.every(We=>typeof We=="number"&&Number.isFinite(We)&&We>0)?we:null}catch{return null}},[q,te]=o.useState(()=>de(V)),[le,ve]=o.useState(V);le!==V&&(ve(V),te(de(V)));const pe=o.useRef(q);o.useEffect(()=>{pe.current=q},[q]);const oe=o.useCallback(ne=>{const we=he.current;if(!we)return;const We=pe.current;if(We){const Be=[...We];if(we.next!=null&&we.startWNext!=null){const Se=ne.clientX-we.startX,me=Math.max(P.current(we.index)-we.startW,Math.min(we.startWNext-P.current(we.next),Se));Be[we.index]=we.startW+me,Be[we.next]=we.startWNext-me}else Be[we.index]=Math.max(P.current(we.index),we.startW+(ne.clientX-we.startX));pe.current=Be,te(Be)}},[]),fe=o.useCallback(()=>{if(he.current=null,window.removeEventListener("pointermove",oe),window.removeEventListener("pointerup",fe),window.removeEventListener("pointercancel",fe),document.body.style.cursor="",document.body.style.userSelect="",V&&pe.current)try{window.localStorage.setItem(V,JSON.stringify(pe.current))}catch{}},[oe,V]),ge=o.useCallback((ne,we)=>{we.preventDefault(),we.stopPropagation();const We=U.current;if(!We)return;const Be=Array.from(We.children).map(me=>me.getBoundingClientRect().width),Se=b==="fit"?e.findIndex((me,Me)=>Me>ne&&me.resizable!==!1):-1;he.current=Se>=0?{index:ne,startX:we.clientX,startW:Be[ne],next:Se,startWNext:Be[Se]}:{index:ne,startX:we.clientX,startW:Be[ne]},pe.current=Be,te(Be),window.addEventListener("pointermove",oe),window.addEventListener("pointerup",fe),window.addEventListener("pointercancel",fe),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[oe,fe,b,e]),Ee=o.useCallback(()=>{const ne=U.current,we=ne?.closest(".table-wrap");if(!ne||!we)return;const We=we.style.getPropertyValue("--table-grid-cols");we.style.setProperty("--table-grid-cols",e.map((Ze,qe)=>ae.current(qe)?ye.current[qe]:"max-content").join(" "));const Be=Array.from(we.querySelectorAll(".table-row")).filter(Ze=>!Ze.classList.contains("table-row--loading")&&!Ze.classList.contains("table-row--empty")),Se=e.map((Ze,qe)=>{let $e=ne.children[qe]?.getBoundingClientRect().width??0;for(const Fe of Be){const st=Fe.children[qe];st&&($e=Math.max($e,st.getBoundingClientRect().width))}const Xe=ae.current(qe)?parseFloat(ye.current[qe]):NaN;return Number.isFinite(Xe)?Xe:Math.max(P.current(qe),Math.ceil($e))}),me=window.getComputedStyle(ne),Me=ne.clientWidth-(parseFloat(me.paddingLeft)||0)-(parseFloat(me.paddingRight)||0);We?we.style.setProperty("--table-grid-cols",We):we.style.removeProperty("--table-grid-cols");let nt=Se;const _t=Se.reduce((Ze,qe,$e)=>Ze+(ae.current($e)?qe:0),0),kt=Se.reduce((Ze,qe,$e)=>Ze+(ae.current($e)?0:qe),0),dt=Me-_t;if(Me>0&&kt>0&&dt>0){const Ze=dt/kt;nt=Se.map(($e,Xe)=>ae.current(Xe)?$e:Math.max(P.current(Xe),Math.round($e*Ze)));const qe=Math.round(dt-nt.reduce(($e,Xe,Fe)=>$e+(ae.current(Fe)?0:Xe),0));if(qe!==0){let $e=-1;nt.forEach((Xe,Fe)=>{!ae.current(Fe)&&($e<0||Xe>nt[$e])&&($e=Fe)}),$e>=0&&(nt[$e]=Math.max(P.current($e),nt[$e]+qe))}}if(te(nt),V)try{window.localStorage.setItem(V,JSON.stringify(nt))}catch{}},[e,b,V]);o.useEffect(()=>()=>{he.current&&(window.removeEventListener("pointermove",oe),window.removeEventListener("pointerup",fe),window.removeEventListener("pointercancel",fe),document.body.style.cursor="",document.body.style.userSelect="")},[oe,fe]);const Ie=my(m),Le=Ie.filter(ne=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(ne));Le.length>0&&bn(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${Le.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 Je=e.findIndex(ne=>!!ne.sortDir);e.filter(ne=>!!ne.sortDir).length>1&&bn("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 et=ne=>ne===Je?e[ne].sortDir==="asc"?"ascending":"descending":e[ne].onClick?"none":void 0,Ve=ne=>/^\d+(\.\d+)?px$/.test(Ie[ne]??""),He=ne=>{const we=Ie[ne]??"",We=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(we)??/^(\d+(?:\.\d+)?)px$/.exec(we);return We?parseFloat(We[1]):Y};ae.current=Ve,P.current=He,ye.current=Ie;const it=ne=>b==="fit"&&!Ve(ne)?"fr":"px",Qe=q&&q.length===e.length&&!F&&(b==="fit"||a.length>0),Ye=H??(Qe?e.map((ne,we)=>ne.resizable===!1&&Ie[we]?Ie[we]:`${q[we]}${it(we)}`).join(" "):m),re=Ye?{"--table-grid-cols":Ye}:void 0,Re=y!==void 0;return t.jsx("div",{ref:ee,className:`table-wrap table-wrap--${A}${J?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${v?" table-wrap--collapsed":""}`,style:re,onDragOver:D,onDragLeave:R,onDrop:z,tabIndex:T?0:void 0,role:T?"region":void 0,"aria-label":T?typeof y=="string"?y:S("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:t.jsxs("div",{ref:G,className:"table body-2",children:[Re&&t.jsxs("div",{className:"table-header",onClick:k,role:k?"button":void 0,tabIndex:k?0:void 0,"aria-expanded":k?!v:void 0,onKeyDown:k?ne=>{ne.target===ne.currentTarget&&(ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),k())}:void 0,children:[k&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:v?"chevron-right":"chevron-down",ariaLabel:v?S("common.expand","\uD3BC\uCE58\uAE30"):S("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),C&&t.jsx(Ke,{icon:C,label:typeof y=="string"?y:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:y}),w!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:w}),_&&t.jsx("span",{className:"table-header__actions",onClick:ne=>ne.stopPropagation(),children:_})]}),!v&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((ne,we)=>t.jsx("div",{className:De("table-field body-3",ne.className),style:{gridColumn:`span ${ne.span}`},children:ne.label},we))}),t.jsxs("div",{className:De("table-fields-strip",J&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:U,children:e.map((ne,we)=>t.jsx(fy,{onClick:ne.onClick,className:ne.className,sortDir:ne.sortDir,ariaSort:et(we),onResizeStart:J&&we<e.length-1&&ne.resizable!==!1&&(b!=="fit"||e.some((We,Be)=>Be>we&&We.resizable!==!1))?We=>ge(we,We):void 0,children:ne.label},we))}),J&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Ee})]}),t.jsx("div",{className:"table-body",children:x?t.jsx(go,{variant:"loading"}):a.length===0&&N?t.jsx(go,{variant:"empty",children:N}):a.map((ne,we)=>{const We=p!=null&&ne.id===p,Be=!!s&&(i?i(ne):!0),Se=W!=null&&ne.id!=null&&(W instanceof Set?W.has(ne.id)||[...W].some(me=>String(me)===String(ne.id)):String(ne.id)===String(W));return t.jsx(go,{className:`${Be?" table-row--clickable":""}${c?" table-row--draggable":""}${We?" table-row--dragging":""}`.trim(),draggable:!!c,onClick:Be?()=>s(ne):void 0,onMouseEnter:l?me=>l(ne,me):void 0,onMouseLeave:u?me=>u(ne,me):void 0,onDragStart:c?me=>c(ne,me):void 0,onDragEnd:d?me=>d(ne,me):void 0,expandedContent:Se&&M?M(ne):void 0,children:r(ne).map((me,Me)=>t.jsx(hy,{className:me.className,style:me.style,children:me.content},Me))},ne.id!=null?`${typeof ne.id}:${ne.id}`:`__idx:${we}`)})})]})]})})}function ou(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 yo(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 gy(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const by={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function yy(e,n){const a=by[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function su(e,n){return n!=="wornAt"?String(e[n]??""):gy(e.wornYear,e.wornMonth,e.wornDay)}function vy({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=be.useTranslation(),c=f=>f==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:d,\uCE78:p}=Jg(),m=o.useMemo(()=>{if(!d)return e;const{key:f,asc:A}=d;return[...e].sort((y,C)=>{if(f==="worn"){const w=Number(C.worn)-Number(y.worn);return A?w:-w}return Xr(su(y,f),su(C,f),A)})},[e,d]),{pageRows:h,pageSizeProps:g,paginationProps:b}=Xg(m,d);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(lo,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:g,pagination:b,actions:l&&t.jsx(ce,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(bo,{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:h.map((f,A)=>({id:f.id??`${f.side}-${A}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:A=>A.stopPropagation(),children:t.jsx(zl,{checked:f.worn,disabled:f.worn?!i:!s,ariaLabel:f.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:A=>{A?s?.(f):i?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(yt,{size:"small",variant:ou(f.device),fill:"soft",label:yy(f.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:yo(f.wornYear,f.wornMonth,f.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(ce,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:A=>{A?.stopPropagation(),r(f)}})})}]:[]],onRowClick:({row:f})=>a(f),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function iu(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 xy(e,n){return new Date(e,n+1,0).getDate()}function _y(e,n){return new Date(e,n,1).getDay()}function wy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i}=be.useTranslation(),l=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),u=Pr(s),[c,d]=o.useState(()=>Number(u.slice(0,4))),[p,m]=o.useState(()=>Number(u.slice(5,7))-1),[h,g]=o.useState(null),b=o.useRef(null),f=o.useMemo(()=>{const k={};return e.forEach(_=>{k[_.date]||(k[_.date]=[]),k[_.date].push(_)}),k},[e]),A=o.useMemo(()=>{const k=xy(c,p),_=_y(c,p),N=[];for(let x=0;x<_;x++)N.push(null);for(let x=1;x<=k;x++)N.push(x);for(;N.length<35;)N.push(null);return N},[c,p]),y=o.useCallback(()=>{p===0?(d(k=>k-1),m(11)):m(k=>k-1)},[p]),C=o.useCallback(()=>{p===11?(d(k=>k+1),m(0)):m(k=>k+1)},[p]),w=k=>`${c}-${String(p+1).padStart(2,"0")}-${String(k).padStart(2,"0")}`,v=k=>w(k)===u;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:y,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ke,{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:p+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ke,{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:[l.map(k=>t.jsx("div",{className:"calendar-day-header body-3",children:k},k)),A.map((k,_)=>{if(k===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${_}`);const N=k,x=w(N),B=f[x]??[],D=h===x;return t.jsxs("div",{className:`calendar-cell${v(N)?" today":""}${D?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:x}):void 0,"aria-current":v(N)?"date":void 0,onClick:r?()=>r(x):void 0,onKeyDown:r?R=>{R.target===R.currentTarget&&(R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),r(x)))}:void 0,onDragOver:a?R=>{R.preventDefault(),g(x)}:void 0,onDragLeave:a?R=>{R.currentTarget.contains(R.relatedTarget)||g(null)}:void 0,onDrop:a?R=>{R.preventDefault(),b.current!=null&&(a(b.current,x),b.current=null),g(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:N}),B.length>0&&t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":i("calendar.visitCount",{count:B.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"}),children:[t.jsx("span",{className:"calendar-cell__visit-dot","aria-hidden":"true"}),B.length]}),t.jsx("div",{className:"calendar-cell__badges",children:B.map((R,z)=>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?M=>{b.current=R.id,M.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{b.current=null,g(null)}:void 0,onClick:n?M=>{M.stopPropagation(),n(R)}:void 0,...iu(n?()=>n(R):void 0),"aria-label":[R.time?di(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:di(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??z))})]},N)})]})]})}const Ay={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:c,style:d}){const p=Ay[e],m=n||i||s||r,h=a?`h${a}`:"div";return t.jsxs("div",{className:De("section",`section--${e}`,u&&"section--in-grid",c),style:d,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ke,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(h,{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 vo=null,lu=!1;function uu(){if(lu||typeof document>"u")return;lu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(vo="keyboard")},!0);const e=()=>{vo="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}uu();function nr(){return uu(),vo==="keyboard"}const ar=20;function ky(e){const{t:n}=be.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:c,size:d,useDescriptionTooltip:p,onRemove:m,onMore:h,sectionType:g="page"}=e||{},[,b]=o.useState(0),f=typeof r<"u"?Array.isArray(r)?r:[]:[],A=f.length,[y,C]=o.useState(Math.min(A,ar)),w=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{C(Math.min(A,ar))},[A]),tl("speechear.data.updated",()=>b(N=>N+1));const v=o.useRef(null),k=o.useRef(null);function _(){const N=document.activeElement;k.current=nr()&&N&&N.closest?.(".training-block__more")?y:null,C(x=>Math.min(A,x+ar))}return o.useEffect(()=>{const N=k.current;if(N==null)return;k.current=null;const x=document.activeElement;x&&x!==document.body||v.current?.querySelectorAll(".training-block-button")[N]?.focus()},[y]),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:v,children:(f||[]).slice(0,y).map((N,x)=>{const B=N;return t.jsx(oo,{index:x,type:a,trainingData:B,depth:w,renderPopup:i,completedIds:l,selectedIds:u,size:d,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof c=="function"&&B?.id!=null?()=>c(String(B.id)):void 0,onMore:typeof h=="function"?D=>h(B,D):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${x}`)})}),A>ar&&y<A&&t.jsx("div",{className:"training-block__more",children:t.jsx(ce,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:_,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function xo(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const c=n.current;r(!!e&&!(c?.complete&&c.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 By='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 Ny=By,_o=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:c=!1,orderRank:d=null},p){const{t:m}=be.useTranslation(),h=e.word||e.title||"",g=n||!h,b=e.audio??e.sound??e.audioKey,f=e.subLabel||e.pronunciation||"",A=e.colloquialLabel||"",[y,C]=o.useState({label:h,subLabel:f,colloquialLabel:A,homonum:e.homonum});h&&(y.label!==h||y.subLabel!==f||y.colloquialLabel!==A||!Object.is(y.homonum,e.homonum))&&C({label:h,subLabel:f,colloquialLabel:A,homonum:e.homonum});const w=o.useRef(null),v=tn("(max-width: 767px)"),[k,_]=o.useState(!1),N=`${typeof b=="string"?b:b?.src??""}\0${h}`,[x,B]=o.useState({for:"",url:""}),D=x.for===N?x.url:"",R=ai(),z=e.textOnly??(!e.image&&!!y.label&&!!R&&R.entries.length>0&&!R.byWord.has(y.label)),M=z?"":Xn()?.(y.label,y.homonum)??e.image??"",{imgRef:W,loading:S,hasImage:F,onLoad:H,onError:J}=xo(M);o.useEffect(()=>{let I=!1;return(async()=>{if(b){if(typeof b=="string"){if(b.startsWith("http")||b.includes("/")){B({for:N,url:b});return}}else if(typeof b=="object"&&!Array.isArray(b)){const Z=b.src;if(Z){B({for:N,url:Z});return}}}const L=Er();if(L&&h)try{const Z=await Promise.resolve(L(h));!I&&Z&&B({for:N,url:Z})}catch{}})(),()=>{I=!0}},[b,h,N]);const Y=o.useRef(!0),P=o.useRef(null);o.useEffect(()=>(Y.current=!0,()=>{Y.current=!1,P.current&&Ja(P.current),P.current=null;try{w.current?.pause()}catch{}w.current=null}),[]);const V=o.useCallback(()=>new Promise(I=>{if(typeof window<"u"&&window.speechSynthesis&&h){_(!0),window.speechSynthesis.cancel();const L=new SpeechSynthesisUtterance(h);L.lang="ko-KR",L.onend=()=>{_(!1);try{a?.()}catch{}I()},L.onerror=()=>{_(!1),I()},window.speechSynthesis.speak(L)}else I()}),[h,a]),U=o.useCallback(I=>new Promise(L=>{let Z=!1;const ee=()=>{Z||(Z=!0,_(!1),L(!1))};try{const G=new Audio(I);w.current=G,G.onended=()=>{if(!Z){Z=!0,_(!1);try{a?.()}catch{}L(!0)}},G.onerror=ee,G.play().catch(ee)}catch{ee()}}),[a]),$=o.useCallback(async()=>{if(n||!Y.current)return;const I=()=>{P.current===I&&(P.current=null);try{w.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}_(!1)},L=Xa(I);P.current=I;try{window.speechSynthesis?.cancel()}catch{}try{if(D&&(_(!0),await U(D)))return;const Z=tC();if(Z&&h)try{const ee=await Promise.resolve(Z(h));if(!Y.current||P.current!==I||ee&&(_(!0),await U(ee)))return}catch{}if(!Y.current||P.current!==I)return;await V()}finally{L(),P.current===I&&(P.current=null)}},[n,D,h,U,V]);o.useImperativeHandle(p,()=>({play:()=>$()}),[$]);const E=I=>I.stopPropagation(),O=o.useCallback(I=>{if(I.stopPropagation(),!n){if(k){try{w.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}_(!1);return}$()}},[n,k,$]),T=De("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:T,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:E,children:t.jsx(yt,{type:"dot",size:40,position:"inline",animate:!0,icon:d!=null?void 0:"check",number:d??void 0,"aria-label":d!=null?m("training.nthSelected",{n:d}):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:y.label}):F?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:W,className:"training-word-card__image",src:M,alt:y.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:H,onError:J})]}):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:y.label}),y.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",y.subLabel,"]"]}),y.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",y.colloquialLabel,"]"]})]}),!c&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?E:void 0,children:t.jsx(ce,{htmlType:"button",size:v?40:48,type:v?"dot":"bar",icon:k?"pause":"play",label:v?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:k,onClick:O,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:Ny,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),Dy=260;function Tn(e){const{t:n}=be.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:c,footerStart:d,footerEnd:p,footerClassName:m="",footerLayout:h="center",onClose:g,closeDisabled:b=!1,beforeClose:f,closeOnBackdrop:A=!0,className:y="",ariaLabel:C,useTitle:w=!0,inline:v=!1,size:k,layer:_="modal",height:N,fillBody:x=!1,resetScrollKey:B}=e||{},[D,R]=o.useState(!1),z=o.useRef(!1),M=o.useRef(null),W=o.useId(),S=o.useRef(null);o.useEffect(()=>{},[v,a,C,y]),o.useEffect(()=>{B!==void 0&&S.current&&(S.current.scrollTop=0)},[B]);const[F,H]=o.useState(!1);o.useEffect(()=>{const G=S.current;if(!G)return;const ae=()=>H(G.scrollHeight>G.clientHeight+1);if(ae(),typeof ResizeObserver>"u")return;const ye=new ResizeObserver(ae);ye.observe(G);const he=G.firstElementChild;return he&&ye.observe(he),()=>ye.disconnect()},[l,B]),o.useEffect(()=>{if(!v)return Rl()},[v]),o.useEffect(()=>{if(v)return;const G=document.activeElement,ae=M.current;return zr(ae,G),ae&&!ae.contains(document.activeElement)&&(ae.querySelector(yn)??ae).focus(),()=>{const ye=document.activeElement;(!ye||ye===document.body||ae&&ae.contains(ye))&&Vr(G)?.focus?.()}},[v]),Or(M,!v);const J=o.useRef(!0),Y=Wr(),P=o.useRef(null);o.useEffect(()=>(J.current=!0,()=>{J.current=!1,P.current&&(clearTimeout(P.current),P.current=null)}),[]);const V=o.useCallback(()=>{!J.current||!z.current||(z.current=!1,R(!1))},[]),U=o.useCallback((G,ae=!1)=>{if(ae&&!J.current||z.current)return;z.current=!0,R(!0);const ye=setTimeout(()=>{P.current===ye&&(P.current=null);let he;try{he=G?G():void 0}catch{V();return}he&&typeof he.then=="function"&&he.then(()=>{setTimeout(V,120)},V)},Y?0:Dy);ae&&(P.current=ye)},[V,Y]),$=o.useCallback(()=>{b||f&&f()===!1||U(g,!0)},[U,g,b,f]),E=o.useRef($);o.useEffect(()=>{E.current=$});const O=!v&&!!g;o.useEffect(()=>{if(O)return zn(()=>E.current())},[O]);const T=O&&A,I=o.useRef(!1),L=G=>{I.current=G.target===G.currentTarget},Z=G=>{const ae=I.current;I.current=!1,ae&&G.target===G.currentTarget&&$()},ee=t.jsx("div",{className:`popup ${v?"popup--inline":""} ${_==="belowPagePopup"?"popup--below-page-popup":""} ${D?"popup--closing":""} ${y}`,onPointerDown:T?L:void 0,onClick:T?Z:void 0,onMouseDown:v?void 0:G=>{G.target===G.currentTarget&&G.preventDefault()},children:t.jsxs("div",{ref:M,className:`popup-panel${k?` popup-panel--${k}`:""}${N!=null?" popup-panel--has-height":""}${x?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:v?void 0:"dialog","aria-modal":v?void 0:!0,"aria-labelledby":!v&&w&&a?W:void 0,"aria-label":!v&&!(w&&a)?C??(typeof a=="string"?a:void 0):void 0,children:[!w&&(s||g)?t.jsxs("div",{className:"popup-close-float",children:[s,g&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:$,disabled:b,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:W,className:"popup-title popup-title--left h2",children:a}):t.jsx("span",{id:W,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(G=>({key:G.key,label:G.label,disabled:G.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,g&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:$,disabled:b,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:S,tabIndex:F?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:U,closeWithAnimation:$}):l})}),d||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof d=="function"?d({animateThen:U,closeWithAnimation:$}):d}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:U,closeWithAnimation:$}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${h!=="center"?` popup-footer--${h}`:""}`,children:u.map((G,ae)=>t.jsx(ce,{htmlType:"button",size:48,variant:G.variant??"default",label:G.label,disabled:G.disabled,onClick:()=>G.onClick?.({animateThen:U,closeWithAnimation:$})},ae))}):c?t.jsx("div",{className:`popup-footer${h!=="center"?` popup-footer--${h}`:""}${m?` ${m}`:""}`,children:typeof c=="function"?c({animateThen:U,closeWithAnimation:$}):c}):null]})});return v||typeof document>"u"?ee:Xt.createPortal(ee,document.body)}function rr(e){return String(e)}const or=["o","triangle","x"];function cu(e,n){return e===n?null:n}const du={o:"circle",triangle:"triangle",x:"x"},pu={o:"main",triangle:"warn",x:"danger"};function Ey(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 wo(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function mu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Sy(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 jy(e="landscape"){bn("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 hu(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 Ty={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 My(e,n){const a=Ty[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 Ly={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},Cu={\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"},fu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function Ao(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function gu(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 c="#ddd",d=g=>`repeating-linear-gradient(to ${g}, ${c} 0, ${c} 5px, transparent 5px, transparent 10px)`,p=[],m=[],h=[];return l&&(p.push(d("bottom")),m.push("1px 100%"),h.push("right center")),u&&(p.push(d("right")),m.push("100% 1px"),h.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:h.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const $y=280,Ry=240,Py=280,Iy=400,Fy=120,Oy=280;function bu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((c,d)=>{if(!(c>0))return;const p=c/e,m=n&&d>0?d/n:1/0,h=Math.min(1,p,m);s(h),l(Math.max(0,(c-e*h)/2))},[e,n]);return o.useEffect(()=>{const c=a.current;if(!c)return;const d=n?c.parentElement??c:c;if(u(d.clientWidth,d.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(d),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Hy={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},zy=400,yu=8;function vu({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:c=40,wordInfo:d}){const{t:p}=be.useTranslation(),m=o.useRef(null),h=o.useRef(null),g=o.useRef(null),[b,f]=o.useState(1),[A,y]=o.useState(!1),[C,w]=o.useState({for:"",url:""}),[v,k]=o.useState(null),_=n&&n.length>0?n:aC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:x,loading:B,failed:D,onLoad:R,onError:z}=xo(N),M=o.useCallback(()=>k(h.current?.getBoundingClientRect()??null),[]),W=o.useCallback(()=>k(null),[]),S=Ur(!!v,O=>{O?M():W()},h),F=o.useMemo(()=>{if(!d)return null;const O=[];return d.grade&&O.push(p("wordTable.info.grade",{n:d.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),d.syllables&&O.push(p("wordTable.info.syllables",{n:d.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),d.pos&&O.push(p("wordTable.info.pos",{v:Ao(d.pos,Vy(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),d.wordType&&O.push(p("wordTable.info.wordType",{v:Ao(d.wordType,Wy(p)),defaultValue:"\uC720\uD615: {{v}}"})),O.length?O:null},[d,p]),H=_||e,J=C.for===H?C.url:"";o.useEffect(()=>{const O=Er(),T=_||e;if(!O||!T)return;let I=!1;return Promise.resolve(O(T)).then(L=>{!I&&L&&w({for:T,url:L})}),()=>{I=!0}},[_,e]);const Y=o.useRef(null),P=o.useRef(null);o.useEffect(()=>()=>{g.current?.pause(),P.current?.()},[]);const V=o.useCallback(async O=>{if(O.stopPropagation(),A){Y.current?.();return}if(J){y(!0);try{const T=new Audio(J);g.current=T;const I=()=>{y(!1),P.current?.()},L=()=>{T.pause(),I()};Y.current=L;const Z=Xa(L);P.current=Z,T.onended=I,T.onerror=I,await T.play()}catch{y(!1),P.current?.()}}},[A,J]),U=i&&!!N&&!D,$=U&&s?$y:U?Py:Ry,E=U&&s?Iy:U?Oy:Fy;return o.useEffect(()=>{const O=m.current;if(!O||typeof ResizeObserver>"u")return;const T=new ResizeObserver(([I])=>{const{width:L,height:Z}=I.contentRect;f(Math.min(L/$,Z/E))});return T.observe(O),()=>T.disconnect()},[$,E]),t.jsxs("div",{ref:m,className:De("word-table-cell",U?"word-table-cell--with-image":""),"data-ref-w":$,"data-ref-h":E,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${b})`},children:[U&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:x,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:R,onError:z})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&_&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",_,"]"]}),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":J,children:[t.jsx("span",{"data-play-state":"play",style:{display:A?"none":void 0},children:t.jsx(ce,{htmlType:"button",size:c,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:V})}),t.jsx("span",{"data-play-state":"pause",style:{display:A?void 0:"none"},children:t.jsx(ce,{htmlType:"button",size:c,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:V})})]}),d&&t.jsxs("div",{ref:h,className:"word-table-cell__info-button",onPointerEnter:O=>{ta(O)||M()},onPointerLeave:O=>{ta(O)||W()},onFocus:()=>{na()||M()},onBlur:W,children:[t.jsx(ce,{htmlType:"button",size:c,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:O=>{O.stopPropagation(),S.touchPress()}}),v&&F&&t.jsx(Vn,{anchorRect:v,items:F,showIndex:!1})]})]})}const xu={\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"},_u={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Vy(e){return Object.fromEntries(Object.entries(Cu).map(([n,a])=>[n,xu[n]?e(`wordTable.pos.${xu[n]}`,{defaultValue:a}):a]))}function Wy(e){return Object.fromEntries(Object.entries(fu).map(([n,a])=>[n,_u[n]?e(`wordSearch.filter.type.${_u[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:c=!0,items:d,editCells:p,count:m,activeCell:h=null,onActivateCell:g,onRemoveCell:b,onRemoveItem:f,onReorder:A,renderCellAction:y,showFillerAdd:C=!1,contentRef:w,buttonSize:v=40,brand:k,code:_,pageNumber:N,pageNumberPosition:x="right",fitHeight:B=!1,scoring:D=!1,marks:R,onMarkClick:z,scoreIndexOffset:M=0}){const W=o.useCallback((Be,Se)=>{z?.(M+Be,Se)},[z,M]),S=(Be,Se)=>{const me=R?.[rr(M+Be)]??null;return t.jsx("div",{className:De("word-table-cell__score",me?"word-table-cell__score--marked":""),style:ne>1?{transform:`translateX(-50%) scale(${ne})`,transformOrigin:"bottom center"}:void 0,children:or.map(Me=>t.jsx("span",{className:De("word-table-cell__score-slot",me===Me?"word-table-cell__score-slot--on":""),children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",shape:"pill",icon:du[Me],variant:me===Me?pu[Me]:"default",selected:me===Me,useBorder:!1,...Re?{}:{tabIndex:-1,role:"img"},showTooltipInfo:F(`wordTable.scoring.markName.${Me}`,{defaultValue:Me}),ariaLabel:F(`wordTable.scoring.${Me}`,{word:Se,defaultValue:`${Se} ${Me}`}),onClick:Re?nt=>{nt.stopPropagation(),W(Be,Me)}:void 0})},Me))})},{t:F}=be.useTranslation(),H=p!==void 0,J=e!=null||!!n||!!a,Y=tn("(max-width: 767px)"),P=o.useRef(null),[V,U]=o.useState(null),$=d?.length??0,[E,O]=o.useState(null),[T,I]=o.useState(""),L=o.useRef(null),Z=o.useRef(null),ee=o.useRef(null),G=o.useRef(null),ae=o.useCallback(Be=>{Z.current=Be,typeof w=="function"?w(Be):w&&(w.current=Be)},[w]),ye=o.useCallback((Be,Se)=>{L.current=Se,A?.(Be,Se),I(F("wordTable.reorder.moved",{n:Se+1,total:$,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[A,F,$]);o.useEffect(()=>{const Be=L.current;Be!=null&&(L.current=null,Z.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[Be]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{G.current?.()},[]);const he=o.useCallback((Be,Se)=>{if(!A||!Be.altKey||Be.ctrlKey||Be.metaKey)return;const me=Be.key==="ArrowRight";if(!me&&Be.key!=="ArrowLeft")return;Be.preventDefault();const Me=Se+(me?1:-1);Me<0||Me>=$||ye(Se,Me)},[A,$,ye]),de=o.useCallback((Be,Se)=>{if(!A||Be.pointerType==="mouse")return;const me=Be.target.closest?.("button");if(me&&!me.closest(".word-table-block__card-handle"))return;G.current?.();const Me={x:Be.clientX,y:Be.clientY};let nt=!1;const _t=$e=>{nt&&$e.cancelable&&$e.preventDefault()},kt=$e=>{if(!nt){(Math.abs($e.clientX-Me.x)>yu||Math.abs($e.clientY-Me.y)>yu)&&qe();return}const Xe=document.elementFromPoint?.($e.clientX,$e.clientY)?.closest?.("[data-wordtable-cell]"),Fe=Xe?Number(Xe.dataset.wordtableCell):NaN,st=Number.isInteger(Fe)?Fe:null;ee.current=st,U(st)},dt=()=>{const $e=ee.current,Xe=nt;qe(),Xe&&$e!=null&&$e!==Se&&ye(Se,$e)},Ze=setTimeout(()=>{nt=!0,O(Se),ee.current=Se,U(Se),window.addEventListener("touchmove",_t,{passive:!1})},zy);function qe(){clearTimeout(Ze),window.removeEventListener("pointermove",kt),window.removeEventListener("pointerup",dt),window.removeEventListener("pointercancel",dt),window.removeEventListener("touchmove",_t),nt=!1,ee.current=null,G.current=null,O(null),U(null)}G.current=qe,window.addEventListener("pointermove",kt),window.addEventListener("pointerup",dt),window.addEventListener("pointercancel",dt)},[A,ye]),{width:q,height:te}=ia[s],le=typeof B=="number"?B:B&&typeof B=="object"?Y?B.narrow:B.wide:null,{scalerRef:ve,scale:pe,offset:oe}=bu(q,B?te:void 0),fe=H?p?.length??0:d?.length??0,ge=Math.max(m??fe,1),{cols:Ee,rows:Ie}=My(s,ge),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")},Je=H?(p??[]).some(Be=>Be!==null&&Be.length>1):(d??[]).some(Be=>(Be.words??[]).length>1),et=!!k?.show,Ve=!!k?.show&&k?.top!==!1,He=!!k?.show&&k?.bottom!==!1,it=k?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Qe=De("word-table-block__content",Ly[l],u&&"word-table-block__content--outline",c&&Je&&"word-table-block__content--div-line",!et&&N&&x!=="none"&&"word-table-block__content--page-number",Ve&&"word-table-block__content--brand-top",He&&"word-table-block__content--brand-bottom"),Ye={transform:`scale(${1/pe})`,transformOrigin:"center center"},re=v*or.length+4*(or.length-1),Re=!!z,ne=Re?Math.max(1,Math.min(1/pe,q/Ee/re)):1,we=t.jsxs("div",{ref:ve,className:"word-table__scaler",style:{height:te*pe},children:[t.jsx("div",{className:De("word-table",D&&!Re&&"word-table--score-readonly",!J&&r),style:{width:q,height:te,transform:`scale(${pe})`,transformOrigin:"top left",marginLeft:oe},children:t.jsxs("div",{ref:ae,className:Qe,style:{gridTemplateColumns:`repeat(${Ee}, 1fr)`,gridTemplateRows:`repeat(${Ie}, 1fr)`},children:[H?t.jsx(t.Fragment,{children:(p??[]).map((Be,Se)=>t.jsx("div",{className:De("word-table-block__edit-cell",Be?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",h===Se?"word-table-block__edit-cell--active":""),style:gu(Se,Ee,Ie,l),children:Be?t.jsxs(t.Fragment,{children:[Be.map((me,Me)=>t.jsxs(o.Fragment,{children:[Me>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(vu,{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:v})]},Me)),D&&S(Se,Be.map(me=>me.word).join(" / ")),b&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:Be.length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:Be.length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>b(Se)})})]}):g&&t.jsx("div",{style:Ye,children:t.jsx(ce,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:F("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(Se)})})},Se))}):t.jsxs(t.Fragment,{children:[(d??[]).map((Be,Se)=>t.jsxs("div",{"data-wordtable-cell":A?Se:void 0,className:`word-table-block__card${A?" word-table-block__card--draggable":""}${V===Se?" word-table-block__card--drag-over":""}${E===Se?" word-table-block__card--dragging":""}`,style:gu(Se,Ee,Ie,l),draggable:!!A,onPointerDown:A?me=>de(me,Se):void 0,onKeyDown:A?me=>he(me,Se):void 0,onDragStart:A?()=>{P.current=Se}:void 0,onDragOver:A?me=>{me.preventDefault(),U(Se)}:void 0,onDragLeave:A?()=>U(null):void 0,onDrop:A?me=>{me.preventDefault(),P.current!==null&&P.current!==Se&&A(P.current,Se),P.current=null,U(null)}:void 0,onDragEnd:A?()=>{P.current=null,U(null)}:void 0,children:[(Be.words??[]).map((me,Me)=>t.jsxs(o.Fragment,{children:[Me>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(vu,{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:v,wordInfo:me.grade||me.syllables!=null||me.pos||me.wordType?{grade:me.grade,syllables:me.syllables,pos:me.pos,wordType:me.wordType}:void 0})]},Me)),D&&S(Se,(Be.words??[]).map(me=>me.label).join(" / ")),A&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:F("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:F("wordTable.reorder.handle",{word:(Be.words??[]).map(me=>me.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(y||f)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[y?.(Se,Be),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(ce,{htmlType:"button",size:v,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(Be.words??[]).length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(Be.words??[]).length>1?F("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):F("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(Be.id)})})]})]},Be.id)),Array.from({length:Math.max(0,Ee*Ie-(d?.length??0))}).map((Be,Se)=>{const me=(d?.length??0)+Se<ge;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:C&&g&&me&&t.jsx("div",{style:Ye,children:t.jsx(ce,{htmlType:"button",size:v,type:"bar",icon:"plus",label:F("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((d?.length??0)+Se)})})},`filler-${Se}`)})]}),Ve&&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:k?.topLogo?.src??Za,alt:k?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const Be=[k?.title&&t.jsx("span",{className:"word-table__paper-title",children:k.title},"t"),k?.owner&&t.jsx("span",{className:"word-table__owner",children:k.owner},"o"),_&&t.jsx("span",{className:"word-table__code",children:_},"c")].filter(Boolean);return Be.length===0?null:t.jsx("span",{className:"word-table__ident",children:Be.map((Se,me)=>t.jsxs(o.Fragment,{children:[me>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),Se]},me))})})()]})}),He&&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:[k?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:k.bottomLogo.src,alt:k.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:it})]}),t.jsxs("span",{className:"word-table__band-end",children:[k?.link&&t.jsx("span",{className:"word-table__link",children:k.link}),N&&x!=="none"&&t.jsx("span",{className:"word-table__page-count",children:F("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!et&&N&&x!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${x}`,children:F("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),A&&t.jsx("span",{role:"status",style:Hy,children:T})]}),We=le==null?we:t.jsx("div",{className:"word-table__frame",style:{height:le},children:we});return J?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:De("word-table-block",r),children:We}):We}function qy(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=Uy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Uy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==on);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>Gy(e,s)).join(", ")}function Gy(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 Bn({title:e,headerAction:n,headerSummary:a,collapsible:r=!1,defaultCollapsed:s=!1,collapsed:i,onCollapsedChange:l,footer:u,sections:c,selected:d={},onSelect:p,align:m,sectionAlign:h,className:g}){const b=(m??(h==="vertical"?"newline":"inline"))==="inline",{t:f}=be.useTranslation(),[A,y]=o.useState(s),C=i??A,w=()=>{const x=!C;y(x),l?.(x)},v=x=>{if(!r)return;const B=x.target;!B||typeof B.closest!="function"||B.closest(".filter-panel__collapse-toggle")||B.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||w()},k=o.useMemo(()=>a!==void 0||!C?"":qy(c,d,f("common.all","\uC804\uCCB4")),[a,C,c,d,f]),_=a??(k?t.jsx("span",{className:"filter-panel__header-summary body-3",children:k}):null),N=e||n||a||r;return t.jsxs("div",{className:De("filter-panel",r?"filter-panel--collapsible":"",C?"filter-panel--collapsed":"",g),children:[N&&t.jsxs("div",{className:"filter-panel__header",onClick:r?v:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx("span",{className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[C?_:n,r&&t.jsx(ce,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:C?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:C?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!C,onClick:w})]})]}),!C&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:De("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(x=>{const B=d[x.label],D=B===void 0||(Array.isArray(B)?B.length===0:!1),R=(x.items??[]).filter(M=>M!=null);x.allOption&&R.some(M=>(typeof M=="string"?M:M.value)===on)&&bn(`filter-panel-all-value:${x.label}`,`[FilterPanel] '${x.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${on}' \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 z=M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"&&!!M.disabled,F=typeof M!="string"?M.labels:void 0,H=typeof M!="string"?M.displayLabel:void 0,J=typeof M!="string"?M.tooltip:void 0,Y=typeof M!="string"?M.descriptionTooltip:void 0,P=typeof M!="string"?M.shape:void 0,V=Array.isArray(B)?B.includes(W):B===W;return t.jsx(ce,{htmlType:"button",size:"keyboard",label:F??H??W,type:x.itemType??(F?"bar":W.length===1?"dot":void 0),selected:V,disabled:S,shape:P,showTooltipInfo:!!J,tooltipInfoText:J,tooltipDescription:Y,onClick:()=>p?.(W,x.label)},W)};return t.jsxs(o.Fragment,{children:[x.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:x.groupLabel}),x.groupAction]}),t.jsxs("div",{className:De("filter-panel__section",x.layout==="row"?"filter-panel__section--row":"",x.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:x.displayLabel??x.label}),x.labelAction??(x.labelInfo?t.jsx(Ea,{...x.labelInfo}):null)]}),x.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:x.content}):x.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:x.placeholder,ariaLabel:x.displayLabel??x.label,value:d[x.label]??"",onChange:M=>p?.(M,x.label),error:x.error}):!x.multiple&&x.display==="segmented"?t.jsx(An,{ariaLabel:x.displayLabel??x.label,options:[...x.allOption?[{key:on,label:x.allLabel??f("common.all","\uC804\uCCB4"),disabled:x.allOptionDisabled}]:[],...R.map(M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"?M.displayLabel:void 0,F=typeof M!="string"?M.disabled:void 0;return{key:W,label:S??W,disabled:F}})],value:D&&x.allOption?on:d[x.label]??"",onChange:M=>p?.(M,x.label),size:32}):!x.multiple&&x.display==="dropdown"?t.jsx(sn,{className:"filter-panel__dropdown",size:40,options:[...x.allOption?[{value:on,label:x.allLabel??f("common.all","\uC804\uCCB4"),disabled:x.allOptionDisabled}]:[],...R.map(M=>{const W=typeof M=="string"?M:M.value,S=typeof M!="string"?M.displayLabel:void 0,F=typeof M!="string"?M.disabled:void 0;return{value:W,label:S??W,disabled:F}})],value:D&&x.allOption?on:d[x.label],onChange:M=>p?.(M,x.label)}):t.jsxs("div",{className:x.groups?"filter-panel__item-groups":"filter-panel__items",children:[x.allOption&&!x.groups&&t.jsx(ce,{htmlType:"button",size:"keyboard",label:x.allLabel??f("common.all","\uC804\uCCB4"),selected:D,disabled:x.allOptionDisabled,onClick:()=>p?.(on,x.label)}),x.groups?x.groups.map((M,W)=>t.jsxs("div",{className:"filter-panel__item-group",children:[W===0&&x.allOption&&t.jsx(ce,{htmlType:"button",size:"keyboard",label:x.allLabel??f("common.all","\uC804\uCCB4"),selected:D,disabled:x.allOptionDisabled,onClick:()=>p?.(on,x.label)}),M.filter(S=>S!=null).map(z)]},W)):R.map(z)]})]})]},x.label)})}),u!=null&&u!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:u})]})]})}const Ky=[1,2,3,4,5,6,7,8,9,10,11,12],wu=[8,4,2,1];function Au(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 Bu(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 Nu(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 Du(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 Eu(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 Su(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 ju(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...wu.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Tu(e,n){return e===n||!wu.includes(e)?Number.POSITIVE_INFINITY:e}function Yy(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 Mu={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Lu(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function $u(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 Ru(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===on?(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 Zy(e){return"sections"in e}function ko(e){const{t:n}=be.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:c}=e,d={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:c};if(Zy(e))return t.jsx(Bn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...d,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:h,orientation:g,showOutline:b,cutLine:f,showDivLine:A,setters:y,showCutLine:C=!1,showDivLine2:w=!1,middleSections:v=[],extraSelected:k={},onExtraSelect:_,showPaperBands:N=!1,showTopInfo:x=!0,showBottomInfo:B=!0}=e,D=[Au(n,{hasImage:p,hasColloquial:m}),ku(n),...v,Bu(n),...C?[Eu(n)]:[],...w?[Su(n)]:[],...N?[Nu(n),Du(n)]:[]],R={...$u(n,{contentTypes:h,orientation:g,showOutline:b,cutLine:f,showDivLine:A,showTopInfo:x,showBottomInfo:B}),...k},z=(M,W)=>{Ru(n,M,W,y)||_?.(M,W)};return t.jsx(Bn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:D,selected:R,onSelect:z,...d,sectionAlign:"horizontal"})}function Pu(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function Bo(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let sr=null,ua=null;function Xy(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?Bo(r):"";sr?.();let l=null;if(i){const d=document.title;document.title=i,l=()=>{document.title=d,window.removeEventListener("afterprint",l),sr===l&&(sr=null)},sr=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 c=u.contentDocument;if(!c){u.remove();return}ua={iframe:u,at:Date.now()},c.open(),c.write(No(e,n,a,!0,i,s)),c.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function No(e,n,a,r=!1,s="",i=""){s=s?Bo(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",c=i?`<div class="paper-head">${Pu(i)}</div>`:"",d=e.map(p=>{const m=p.cloneNode(!0);return m.querySelectorAll('[data-play-state="play"]').forEach(h=>h.style.display=""),m.querySelectorAll('[data-play-state="pause"]').forEach(h=>h.style.display="none"),m.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(h=>h.remove()),m.querySelectorAll(".word-table-cell__spinner").forEach(h=>h.remove()),m.querySelectorAll("img").forEach(h=>{h.style.opacity==="0"&&(h.setAttribute("onload","this.style.opacity=''"),h.setAttribute("onerror","this.style.visibility='hidden'"))}),`<div class="paper-wrap">${c}${m.outerHTML}</div>`}).join(`
|
|
861
861
|
`);return`<!DOCTYPE html>
|
|
862
862
|
<html data-theme="${u}">
|