@ihabdevteam/core 0.8.1 → 0.8.3
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/dist/i18n.cjs.js +11 -0
- package/dist/i18n.esm.js +11 -0
- package/dist/ihabdevteam-core.cjs.js +1 -1
- package/dist/ihabdevteam-core.d.ts +10 -0
- package/dist/ihabdevteam-core.esm.js +1 -1
- package/dist/packages/core/src/utils/encoding.d.ts +10 -0
- package/dist/packages/core/src/utils/encoding.js +11 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.esm.js +1 -1
- package/package.json +3 -1
|
@@ -825,7 +825,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
825
825
|
\uC124\uCE58 \uBA85\uB839\uC5B4 (\uC2A4\uD1A0\uB9AC\uC9C0 SDK \uBBF8\uC124\uCE58 \uC2DC):
|
|
826
826
|
npm install @supabase/supabase-js
|
|
827
827
|
pnpm add @supabase/supabase-js
|
|
828
|
-
`),this.name="StorageNotConfiguredError"}};function vi(t){f4(t)}function Or(t,e){if(!t)return null;const a=Go();return a?.resolvePath?a.resolvePath(t,e):e?`${e}/${t}.mp3`:null}async function yi(t){if(!t)return!1;const e=Go();if(!e)throw new fi("fileExists");if(e.exists)return e.exists(t);try{return await e.resolveUrl(t)!==null}catch{return!1}}async function qo(t){if(!t)return null;const e=Go();if(!e)throw new fi("getSignedOrPublicUrl");try{return await e.resolveUrl(t)}catch{return null}}async function zr(t){const e=Go();if(!e)throw new fi("downloadSound");return e.download(t)}function xi(){return Go()?.noiseBaseUrl??"/sounds/noise"}const Ci="__ihab_core_tts_config__";function Cu(t){globalThis[Ci]=t}function Uo(){return globalThis[Ci]?.urlResolver??null}function _i(){return globalThis[Ci]?.fallbackUrlResolver??null}const v4=new Map;function _u(){v4.clear()}const wu="__ihab_core_pronunciation_resolver__";function ku(t){globalThis[wu]=t}function wi(){return globalThis[wu]??null}let Yo=null;const Su=new WeakMap;function y4(){if(Yo)return Yo;try{const t=window.AudioContext||window.webkitAudioContext;return t?(Yo=new t,Yo):null}catch{return null}}function Ko(){try{Yo?.resume()}catch{}}function Zo(t){if(!t)return null;const e=Su.get(t);if(e)return e;const a=y4();if(!a)return null;try{const o=a.createMediaElementSource(t),r=a.createAnalyser();return r.fftSize=1024,r.smoothingTimeConstant=.6,o.connect(r),o.connect(a.destination),Su.set(t,r),r}catch{return null}}function ki(t,e){t.getFloatTimeDomainData(e);let a=0;for(let o=0;o<e.length;o++){const r=e[o];a+=r*r}return Math.sqrt(a/e.length)}const Au="__ihab_core_image_config__";function Tu(t){globalThis[Au]=t}function $a(){return globalThis[Au]??null}const Xo="word_image_existence_map_v1";let pa=null;const Fr=new Map;function Jo(){if(pa)return pa;try{const t=typeof localStorage<"u"?localStorage.getItem(Xo):null;pa=t?JSON.parse(t):{}}catch{pa={}}return pa}let Si=null;function x4(){Si||(Si=setTimeout(()=>{Si=null;try{typeof localStorage<"u"&&pa&&localStorage.setItem(Xo,JSON.stringify(pa))}catch{}},200))}function Wr(t,e){return`${t}_${e??1}`}async function Qo(t,e){const a=Jo(),o=Wr(t,e);if(o in a)return a[o];if(Fr.has(o))return Fr.get(o);const r=$a();if(!r)return!1;const i=r(t,e);if(!i)return!1;const s=fetch(i,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(l=>l.ok).catch(()=>!1).then(l=>(a[o]=l,x4(),Fr.delete(o),l));return Fr.set(o,s),s}function Ai(t,e){const a=Jo(),o=Wr(t,e);return o in a?a[o]:void 0}async function Nu(t,e={}){const{force:a=!1,concurrency:o=16,onProgress:r}=e,i=Jo(),s=a?Array.from(new Set(t)):Array.from(new Set(t)).filter(u=>!(Wr(u)in i));let l=0;if(s.length>0){let u=0;const d=Array.from({length:Math.min(o,s.length)},async()=>{for(;u<s.length;){const h=u++,p=s[h],m=Wr(p);if(!a&&m in i){l++,r?.(l,s.length);continue}try{await Qo(p)}catch{}l++,r?.(l,s.length)}});await Promise.all(d)}try{typeof localStorage<"u"&&pa&&localStorage.setItem(Xo,JSON.stringify(pa))}catch{}return{checked:s.length,cached:Object.keys(i).length,total:t.length}}function Hr(){const t=Jo(),e=Object.values(t);return e.length===0?null:{total:e.length,exists:e.filter(Boolean).length}}function Bu(t){const e=Jo();Object.assign(e,t);try{typeof localStorage<"u"&&localStorage.setItem(Xo,JSON.stringify(e))}catch{}}function Ti(){pa={};try{typeof localStorage<"u"&&localStorage.removeItem(Xo)}catch{}}const Ue=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],pt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],vt=["","\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 Be(t){if(!t)return null;const e=t.charCodeAt(0)-44032;return e<0||e>=11172?null:{cho:Math.floor(e/588),jung:Math.floor(e%588/28),jong:e%28}}function Ni(){const t=new Map;return e=>{let a=t.get(e);return a||(a=[...e].map(o=>Be(o)),t.set(e,a)),a}}function ha(t,e,a=0){return String.fromCharCode(44032+(t*21+e)*28+a)}function Bi(t,e){if(!t||!e||t===e||t.length!==e.length)return"random";let a=0,o=null;for(let r=0;r<t.length;r++){const i=Be(t[r]),s=Be(e[r]);if(!i||!s)return"random";if(i.cho===s.cho&&i.jung===s.jung&&i.jong===s.jong)continue;a++;const l=i.cho!==s.cho,u=i.jung!==s.jung,d=i.jong!==s.jong;(l?1:0)+(u?1:0)+(d?1:0)>1?o="multi":l?o="cho":u?o="jung":o="jong"}return a!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}function Ei(t){const e=Be(t[0]||"");return e?Ue[e.cho]:""}function Di(t){return[...t].map(e=>{const a=Be(e);return a?Ue[a.cho]:e}).join("")}function Li(t){return!!t&&[...t].every(e=>Ue.includes(e))}function Eu(t,e){return e?Li(e)?Di(t).includes(e):t.toLowerCase().includes(e.toLowerCase()):!0}function fo(t,e){if(!e)return!0;const a=[...e],o=l=>Ue.includes(l),r=l=>pt.includes(l),i=a.map(l=>o(l)?"cho":r(l)?"jung":Be(l)?"syl":"other");if(i.includes("other"))return t.includes(e);const s=[...t];for(let l=0;l+a.length<=s.length;l++){let u=!0;for(let d=0;d<a.length;d++){const h=s[l+d],p=i[d];if(p==="cho"){if(Ei(h)!==a[d]){u=!1;break}}else if(p==="jung"){const m=Be(h);if(!m||pt[m.jung]!==a[d]){u=!1;break}}else{const m=Be(a[d]);if(m&&m.jong===0){const g=Be(h);if(!g||g.cho!==m.cho||g.jung!==m.jung){u=!1;break}}else if(h!==a[d]){u=!1;break}}}if(u)return!0}return!1}const vo={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"]},Du=Object.fromEntries(Object.entries(vo).map(([t,e])=>[e.join(""),vt[Number(t)]]));function C4(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o){if(Ue[o.cho]===e)return!0;if(o.jong>0){if(vt[o.jong]===e)return!0;const r=vo[o.jong];if(r&&r.includes(e))return!0}}}return!1}function Lu(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o&&Ue[o.cho]===e)return!0}return!1}function ju(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o&&pt[o.jung]===e)return!0}return!1}function Mu(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(!o||o.jong<=0)continue;if(vt[o.jong]===e)return!0;const r=vo[o.jong];if(r&&r.includes(e))return!0}return!1}function yo(t){if(!t)return 0;let e=0;for(const a of t)Be(a)&&e++;return e}function ji(t){if(!t)return!1;let e=!1;for(const a of t){const o=Be(a);if(o&&(e=!0,o.jong>0))return!1}return e}function _4(t,e){if(t.jong<=0)return!1;if(e.includes(vt[t.jong]))return!0;const a=vo[t.jong];return!!a&&a.some(o=>e.includes(o))}function Mi(t,e,a){if(!t)return!1;const o=[...t],r=i=>{const s=Be(o[i]);if(!s||e.cho&&!e.cho.includes(Ue[s.cho])||e.jung&&!e.jung.includes(pt[s.jung]))return!1;if(e.jongNone){if(s.jong>0)return!1}else if(e.jong&&!_4(s,e.jong))return!1;return!0};if(a==="head")return r(0);if(a==="tail")return r(o.length-1);if(a==="mid"){for(let i=1;i<o.length-1;i++)if(r(i))return!0;return!1}for(let i=0;i<o.length;i++)if(r(i))return!0;return!1}function Pi(t){return t.includes(",")||t.includes("_")}function Pu(t){if(t==="")return[{kind:"any"}];if(t.includes("_")){const e=[...t];if(e.length>4)return[{kind:"invalid"}];const a=e[0]??"_",o=e[1]??"_";let r=e.slice(2).join("");if(r.length===2){const i=Du[r];if(!i)return[{kind:"invalid"}];r=i}return[{kind:"template",cho:a,jung:o,jong:r||"_"}]}return[...t].map(e=>Be(e)?{kind:"syllable",ch:e}:Ue.includes(e)?{kind:"cho",jamo:e}:pt.includes(e)?{kind:"jung",jamo:e}:{kind:"invalid"})}function w4(t,e){switch(e.kind){case"any":return!0;case"syllable":{const a=Be(e.ch);if(!a)return t===e.ch;if(a.jong===0){const o=Be(t);return!!o&&o.cho===a.cho&&o.jung===a.jung}return t===e.ch}case"cho":{const a=Be(t);return!!a&&Ue[a.cho]===e.jamo}case"jung":{const a=Be(t);return!!a&&pt[a.jung]===e.jamo}case"template":{const a=Be(t);return!(!a||e.cho!=="_"&&Ue[a.cho]!==e.cho||e.jung!=="_"&&pt[a.jung]!==e.jung||e.jong!=="_"&&vt[a.jong]!==e.jong)}case"invalid":return!1}}function Ri(t,e){const a=e.split(",").flatMap(r=>Pu(r.trim()));if(a.length===0)return!0;const o=[...t];if(o.length<a.length)return!1;for(let r=0;r+a.length<=o.length;r++)if(a.every((i,s)=>w4(o[r+s],i)))return!0;return!1}function Ru(t){const e=t.split(",").flatMap(i=>Pu(i.trim())),a=new Set,o=new Set,r=new Set;for(const i of e)switch(i.kind){case"cho":a.add(i.jamo);break;case"jung":o.add(i.jamo);break;case"template":i.cho!=="_"&&a.add(i.cho),i.jung!=="_"&&o.add(i.jung),i.jong!=="_"&&r.add(i.jong);break;case"syllable":{const s=Be(i.ch);s&&(a.add(Ue[s.cho]),o.add(pt[s.jung]),s.jong!==0&&r.add(vt[s.jong]));break}}return a.size===0&&o.size===0&&r.size===0?null:{cho:a.size?[...a]:null,jung:o.size?[...o]:null,jong:r.size?[...r]:null}}function k4(t){return!!Be(t)||Ue.includes(t)||pt.includes(t)}function $u(t){const e=t.trim();if(!e)return{ok:!0};for(const a of e.split(",")){const o=a.trim();if(o!==""){if(o.includes("_")){const r=[...o];if(r.length>4)return{ok:!1};const i=r[0],s=r[1],l=r.slice(2).join(""),u=i===void 0||i==="_"||Ue.includes(i),d=s===void 0||s==="_"||pt.includes(s),h=l===""||l==="_"||vt.filter(Boolean).includes(l)||!!Du[l];if(u&&d&&h)continue;return{ok:!1}}if(![...o].every(k4))return{ok:!1}}}return{ok:!0}}const S4={cho:Ue.length,jung:pt.length,jong:vt.length};function A4(t,e,a,o,r=1/0){if(!t||a<1)return[];const i=[...t].map(p=>Be(p));if(i.some(p=>!p))return[];const s=i,l=s.length;if(a>l)return[];const u=S4[e],d=new Set,h=[];(function p(m,g){if(g.length===a){h.push([...g]);return}for(let f=m;f<l;f++)g.push(f),p(f+1,g),g.pop()})(0,[]);for(const p of h)if((function m(g,f){if(d.size>=r)return;if(g===p.length){const v=f.map(x=>ha(x.cho,x.jung,x.jong)).join("");v!==t&&o.has(v)&&d.add(v);return}const b=p[g],y=s[b][e];for(let v=0;v<u;v++){if(v===y)continue;const x=f.slice();if(x[b]={...f[b],[e]:v},m(g+1,x),d.size>=r)return}})(0,s),d.size>=r)break;return[...d]}function T4(t,e){if(!t||!e||t.length!==e.length)return-1;let a=0;for(let o=0;o<t.length;o++){const r=Be(t[o]),i=Be(e[o]);if(!r||!i)return-1;r.cho!==i.cho&&a++,r.jung!==i.jung&&a++,r.jong!==i.jong&&a++}return a}function Iu(t,e){const a=e.trim();if(!a||!/[^\s,_]/.test(a))return t;if(Pi(a))return t.filter(s=>Ri(s.word,a));const o=t.filter(s=>fo(s.word,a)||fo(s.pronunciation??"",a)),r=[...a].length,i=s=>!!s&&fo(s.slice(0,r),a);return o.map(s=>({w:s,rank:i(s.word)||i(s.pronunciation??"")?0:1})).sort((s,l)=>s.rank-l.rank).map(s=>s.w)}const $i="word_pair_index_v2",Ii="word_pair_index_sig_v2";let ma=null,er=null;function Ou(){try{if(typeof localStorage>"u")return null;const t=localStorage.getItem($i),e=localStorage.getItem(Ii);return!t||!e?null:{index:JSON.parse(t),sig:e}}catch{return null}}function N4(t,e){try{if(typeof localStorage>"u")return;localStorage.setItem($i,JSON.stringify(t)),localStorage.setItem(Ii,e)}catch{}}function B4(t){const e=t.map(o=>`${o.word}|${o.pron??""}`).sort();let a=0;for(const o of e)for(let r=0;r<o.length;r++)a=(a<<5)-a+o.charCodeAt(r)|0;return`${e.length}-${a}`}async function E4(t,e){const a=new Set,o=[];for(const d of t){if(!d.word||a.has(d.word))continue;const h=d.pron||d.word,p=Array.from(h).map(Be);p.some(m=>m===null)||p.length===Array.from(d.word).length&&(a.add(d.word),o.push({word:d.word,syls:p}))}const r={},i=o.length,s=new Map;for(const d of o){const h=d.syls.length;s.has(h)||s.set(h,[]),s.get(h).push(d)}let l=0;const u=["cho","jung","jong"];for(const d of s.values()){const h=d[0].syls.length;for(let p=0;p<h;p++)for(const m of u){const g=new Map;for(const f of d){let b="";for(let v=0;v<h;v++){v>0&&(b+="~");const x=f.syls[v];v===p?m==="cho"?b+=`*:${x.jung}:${x.jong}`:m==="jung"?b+=`${x.cho}:*:${x.jong}`:b+=`${x.cho}:${x.jung}:*`:b+=`${x.cho}:${x.jung}:${x.jong}`}let y=g.get(b);y||(y=[],g.set(b,y)),y.push(f)}for(const f of g.values())if(!(f.length<2))for(let b=0;b<f.length;b++){const y=f[b];for(let v=b+1;v<f.length;v++){const x=f[v];y.syls[p][m]!==x.syls[p][m]&&(r[y.word]||(r[y.word]={cho:[],jung:[],jong:[]}),r[x.word]||(r[x.word]={cho:[],jung:[],jong:[]}),r[y.word][m].push(x.word),r[x.word][m].push(y.word))}}}l+=d.length,e?.(l,i),await new Promise(p=>setTimeout(p,0))}return i>0&&e?.(i,i),r}async function zu(t,e={}){const a=B4(t);if(!e.force){if(ma&&er===a)return ma;const r=Ou();if(r&&r.sig===a)return ma=r.index,er=a,ma}const o=await E4(t,e.onProgress);return ma=o,er=a,N4(o,a),o}function Qa(){if(ma)return ma;const t=Ou();return t?(ma=t.index,er=t.sig,ma):null}function Oi(){ma=null,er=null;try{typeof localStorage<"u"&&(localStorage.removeItem($i),localStorage.removeItem(Ii))}catch{}}const zi={cho:Ue,jung:pt,jong:vt},yt=t=>Array.isArray(t)?t.length>0:!!t;function tr(t,e){if(t.length!==e.length)return!1;for(let a=0;a<t.length;a++){const o=t[a],r=e[a];if(!(!o||!r)&&(o.cho!==r.cho&&Ue[o.cho]==="\u3147"!=(Ue[r.cho]==="\u3147")||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function Fi(t,e,a){const o=a.pronOf(t),r=a.decompOf,i=a.sameStructureOnly&&r?r(o):null,s=[];for(const l of e)l!==t&&(a.okSet&&!a.okSet.has(l)||a.pronOf(l)!==o&&(i&&r&&tr(i,r(a.pronOf(l)))||s.push(l)));return s}function Vr(t,e,a){const o=e?.[t];if(!o)return[];const r=a.kind?o[a.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return Fi(t,r,a)}function Wi(t,e,a,o,r,i,s){const l=["cho","jung","jong"].filter(m=>yt(t[m])),u={};for(const m of l){const g=t[m];u[m]=new Set(Array.isArray(g)?g:[g])}const d=r==="pron",h=new Map;for(const m of e){const g=a(i(m));if(g.some(v=>!v))continue;let f=g;if(!d&&(f=a(m),f.length!==g.length||f.some(v=>!v)))continue;const b=g.length,y=h.get(b);y?y.push({w:m,dPron:g,dPos:f}):h.set(b,[{w:m,dPron:g,dPos:f}])}const p=new Map;for(const[m,g]of h){const f=new Map,b=(y,v)=>{const x=y.dPos[v];return x!=null&&l.every(_=>u[_].has(zi[_][x[_]]))};for(const y of g){let v;if(s==="head")v=b(y,0)?0:-1;else if(s==="tail")v=b(y,m-1)?m-1:-1;else if(s==="mid"){v=-1;for(let _=1;_<m-1;_++)if(b(y,_)){v=_;break}}else v=y.dPos.findIndex(_=>_!=null&&l.every(C=>u[C].has(zi[C][_[C]])));if(v<0)continue;const x=f.get(v);x?x.push(y):f.set(v,[y])}for(const[y,v]of f){const x=new Set(l.map(T=>y+":"+T)),_=T=>{let w="";for(let S=0;S<m;S++){const D=T[S];for(const A of["cho","jung","jong"])w+=(x.has(S+":"+A)?"*":D[A])+"."}return w},C=new Map;for(const T of g){const w=_(T.dPron),S=C.get(w);S?S.push(T):C.set(w,[T])}for(const T of v){const w=C.get(_(T.dPron))??[],S=[];for(const D of w){if(D.w===T.w)continue;let A=!0;for(const N of l){const O=T.dPron[y][N],j=D.dPron[y][N];if(j===O){A=!1;break}if(d&&u[N].has(zi[N][j])){A=!1;break}}A&&(o&&tr(T.dPron,D.dPron)||S.push(D.w))}p.set(T.w,S)}}}return p}const Gr=0,Fu=1,eo=2,Hi=3,D4=4,qr=5,Vi=6,Ur=7,L4=8,Wu=9,ar=10,j4=11,or=12,M4=13,rr=14,Yr=15,Kr=16,nr=17,P4=18,ga=0,ka=1,R4=3,to=4,Gi=5,qi=6,ba=7,Tt=8,Hu=9,Vu=10,Zr=11,Gu=12,Ui=13,Xr=15,Jr=16,Sa=17,qu=18,Yi=21,Uu=27,$4=20,I4={1:Gr,2:Fu,4:eo,7:Hi,8:qr,16:Vi,17:Ur,19:Wu,20:ar,22:or,23:rr,24:Yr,25:Kr,26:nr},O4={[R4]:[ka,ar],[Gi]:[to,or],[Hu]:[Tt,Gr],[Vu]:[Tt,Vi],[Zr]:[Tt,Ur],[Gu]:[Tt,ar],[Ui]:[Tt,Kr],14:[Tt,nr],[qu]:[Sa,ar]},z4={[qi]:eo,[Xr]:qr},Ki={2:ka,24:ka,3:ka,9:ka,5:to,6:to,19:ba,20:ba,22:ba,23:ba,25:ba,27:ba,11:Tt,12:Tt,13:Tt,15:Tt,10:Jr,14:Sa,18:Sa,26:Sa},Yu={[Gr]:Yr,[Hi]:Kr,[Ur]:nr,[or]:rr},Ku={[Gr]:Fu,[Hi]:D4,[Ur]:L4,[Wu]:ar,[or]:M4},F4=new Set([Gi,Vu,Zr,Gu,Ui,Xr,qu]),W4=new Set(["\uBC1F"]);function Zu(t){const e=(t??"").trim();if(!e)return"";const a=[...e],o=a.map(Be);if(o.some(i=>i===null))return e;const r=o;for(let i=0;i<r.length;i++){const s=r[i],l=r[i+1],u=s.jong;if(!l){s.jong=Ki[s.jong]??s.jong;break}if(s.jong===ga)continue;if(l.cho===j4){if(l.jung===$4){if(s.jong===ba){s.jong=ga,l.cho=or;continue}if(s.jong===25){s.jong=ga,l.cho=rr;continue}if(s.jong===Ui){s.jong=Tt,l.cho=rr;continue}}if(s.jong===Uu){s.jong=ga;continue}const h=z4[s.jong];if(h!==void 0){s.jong=ga,l.cho=h;continue}const p=O4[s.jong];if(p){s.jong=p[0],l.cho=p[1];continue}const m=I4[s.jong];m!==void 0&&(s.jong=ga,l.cho=m);continue}if((s.jong===Uu||s.jong===qi||s.jong===Xr)&&Yu[l.cho]!==void 0){l.cho=Yu[l.cho],s.jong=s.jong===qi?to:s.jong===Xr?Tt:ga;continue}if(l.cho===P4){if(s.jong===Gi){s.jong=to,l.cho=rr;continue}if(s.jong===Hu){s.jong=Tt,l.cho=Yr;continue}if(s.jong===Zr){s.jong=Tt,l.cho=nr;continue}const h=Ki[s.jong]??s.jong;if(h===ka){s.jong=ga,l.cho=Yr;continue}if(h===ba){s.jong=ga,l.cho=Kr;continue}if(h===Sa){s.jong=ga,l.cho=nr;continue}}let d=Ki[s.jong]??s.jong;u===Zr&&W4.has(a[i])&&(d=Sa),s.jong=d,Ku[l.cho]!==void 0&&(d===ka||d===ba||d===Sa||F4.has(u))&&(l.cho=Ku[l.cho]),(l.cho===eo||l.cho===Vi)&&(s.jong===ka?s.jong=Yi:s.jong===ba?s.jong=to:s.jong===Sa&&(s.jong=Jr)),l.cho===qr?s.jong===to?s.jong=Tt:s.jong===Jr||s.jong===Yi?l.cho=eo:s.jong===ka?(s.jong=Yi,l.cho=eo):s.jong===Sa&&(s.jong=Jr,l.cho=eo):s.jong===Tt&&l.cho===eo&&(l.cho=qr)}return r.map(i=>ha(i.cho,i.jung,i.jong)).join("")}const H4={\u3131:"\u3131",\u3132:"\u3131",\u314B:"\u3131",\u3133:"\u3131",\u313A:"\u3131",\u3134:"\u3134",\u3135:"\u3134",\u3136:"\u3134",\u3137:"\u3137",\u3145:"\u3137",\u3146:"\u3137",\u3148:"\u3137",\u314A:"\u3137",\u314C:"\u3137",\u314E:"\u3137",\u3139:"\u3139",\u313C:"\u3139",\u313D:"\u3139",\u313E:"\u3139",\u3140:"\u3139",\u3141:"\u3141",\u313B:"\u3141",\u3142:"\u3142",\u314D:"\u3142",\u313F:"\u3142",\u3144:"\u3142",\u3147:"\u3147"},V4={\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"}};function Qr(t){return H4[t]??t}const xo=/[ㄱ-ㅎ]/,G4=/[ㅏ-ㅣ]/;function ir(t){for(let e=t.length-1;e>=0;e--){const a=t[e],o=a.charCodeAt(0);if(o>=44032&&o<=55203||xo.test(a)||G4.test(a))return a}return null}function Zi(t){const e=ir(t);if(!e)return"\uAC00";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":xo.test(e)?"\uC774":"\uAC00"}function Xi(t){return`${t}${Zi(t)}`}function Ji(t){const e=ir(t);if(!e)return"\uB97C";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":xo.test(e)?"\uC744":"\uB97C"}function Qi(t){return`${t}${Ji(t)}`}function es(t){const e=ir(t);if(!e)return"\uB294";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC740":"\uB294":xo.test(e)?"\uC740":"\uB294"}function Xu(t){return`${t}${es(t)}`}function ts(t){const e=ir(t);if(!e)return"\uC640";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uACFC":"\uC640":xo.test(e)?"\uACFC":"\uC640"}function Ju(t){return`${t}${ts(t)}`}function as(t){const e=ir(t);if(!e)return"\uB85C";const a=e.charCodeAt(0);if(a>=44032&&a<=55203){const o=(a-44032)%28;return o===0||o===8?"\uB85C":"\uC73C\uB85C"}return e==="\u3139"?"\uB85C":xo.test(e)?"\uC73C\uB85C":"\uB85C"}function Qu(t){return`${t}${as(t)}`}function os(t,e,a){const o=t.slice(),[r]=o.splice(e,1);return o.splice(a,0,r),o}function ze(t,e=Math.random){const a=t.slice();for(let o=a.length-1;o>0;o--){const r=Math.floor(e()*(o+1));[a[o],a[r]]=[a[r],a[o]]}return a}function ea(t,e,a=Math.random){return!Array.isArray(t)||t.length===0||e<=0?[]:e>=t.length?ze(t,a):ze(t,a).slice(0,e)}const Co={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}};function q4(t){const e=t?Co[t]?.group:void 0;return e==="synthesis"||e==="deletion"||e==="substitution"?e:null}const U4=Ue.indexOf("\u3147"),en={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:t=>t.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:t=>t.jong===0&&t.cho!==U4},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:t=>t.jong===0},MERGE_3_PHONEMES:{syllables:1,syllable:t=>t.jong>0}},Y4=new Set([]);function ep(t){return t in en}function tp(t,e){const a=en[t];if(!a)return!0;const o=[...e];if(o.length!==a.syllables)return!1;const r=Be(o[0]);return!!r&&a.syllable(r)}function ap(t){return Y4.has(t)}function K4(t){const e=t.charCodeAt((t.length||1)-1)||0;return e<44032||e>55203||(e-44032)%28===0?"\uC640":"\uACFC"}function rs(t){const e=t.charCodeAt((t.length||1)-1)||0;return e<44032||e>55203||(e-44032)%28===0?"\uB97C":"\uC744"}function op(t){const e=t.charCodeAt((t.length||1)-1)||0;if(e<44032||e>55203)return"\uB85C";const a=(e-44032)%28;return a===0||a===8?"\uB85C":"\uC73C\uB85C"}function rp(t){const e=t.charAt((t.length||1)-1),a=e.charCodeAt(0)||0;return a>=44032&&a<=55203?(a-44032)%28===0?"\uAC00":"\uC774":/[ㄱ-ㅎ]/.test(e)?"\uC774":"\uAC00"}const np={\u3131:"\uAE30\uC5ED",\u3132:"\uC30D\uAE30\uC5ED",\u3134:"\uB2C8\uC740",\u3137:"\uB514\uADFF",\u3138:"\uC30D\uB514\uADFF",\u3139:"\uB9AC\uC744",\u3141:"\uBBF8\uC74C",\u3142:"\uBE44\uC74D",\u3143:"\uC30D\uBE44\uC74D",\u3145:"\uC2DC\uC637",\u3146:"\uC30D\uC2DC\uC637",\u3147:"\uC774\uC751",\u3148:"\uC9C0\uC752",\u3149:"\uC30D\uC9C0\uC752",\u314A:"\uCE58\uC753",\u314B:"\uD0A4\uC754",\u314C:"\uD2F0\uC755",\u314D:"\uD53C\uC756",\u314E:"\uD788\uC757",\u3133:"\uAE30\uC5ED\uC2DC\uC637",\u3135:"\uB2C8\uC740\uC9C0\uC752",\u3136:"\uB2C8\uC740\uD788\uC757",\u313A:"\uB9AC\uC744\uAE30\uC5ED",\u313B:"\uB9AC\uC744\uBBF8\uC74C",\u313C:"\uB9AC\uC744\uBE44\uC74D",\u313D:"\uB9AC\uC744\uC2DC\uC637",\u313E:"\uB9AC\uC744\uD2F0\uC755",\u313F:"\uB9AC\uC744\uD53C\uC756",\u3140:"\uB9AC\uC744\uD788\uC757",\u3144:"\uBE44\uC74D\uC2DC\uC637",\u314F:"\uC544",\u3150:"\uC560",\u3151:"\uC57C",\u3152:"\uC598",\u3153:"\uC5B4",\u3154:"\uC5D0",\u3155:"\uC5EC",\u3156:"\uC608",\u3157:"\uC624",\u3158:"\uC640",\u3159:"\uC65C",\u315A:"\uC678",\u315B:"\uC694",\u315C:"\uC6B0",\u315D:"\uC6CC",\u315E:"\uC6E8",\u315F:"\uC704",\u3160:"\uC720",\u3161:"\uC73C",\u3162:"\uC758",\u3163:"\uC774"};function ip(t){if([...t].length!==1)return[t];const e=Be(t);if(!e)return[t];const a=[Ue[e.cho],pt[e.jung]];return e.jong!==0&&a.push(vt[e.jong]),a}function ns(t,e=!1){const a=t.filter(Boolean);if(a.length<2)return"";const o=l=>np[l]??l,r=a.slice(0,-1).map(l=>`"${l}"${K4(o(l))}`).join(" "),i=a[a.length-1],s=`"${i}"${rs(o(i))}`;return`${r} ${s} \uD569\uCE58\uBA74 \uC5B4\uB5A4 ${e?"\uC18C\uB9AC":"\uB2E8\uC5B4"}\uAC00 \uB418\uB098\uC694?`}function Z4(t,e){return ns(e,t==="MERGE_2_PHONEMES"||t==="MERGE_3_PHONEMES")}function X4(t,e){const a=String(e?.word??e?.original??""),o=String(e?.changedFrom??""),r=String(e?.changedTo??"");return t==="CHANGE_1_PHONEME_IN_1SYLL"?`"${a}"${rs(a)} "${r}"${op(r)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`:`"${a}"\uC5D0\uC11C "${o}"${rs(o)} "${r}"${op(r)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`}function J4(t,e){const a=String(e?.word??e?.original??e?.base??""),o=String(e?.dropped??"");if(t==="DROP_FINAL_CONSONANT_FROM_1SYLL")return`"${a}"\uC5D0\uC11C \uBC1B\uCE68\uC774 \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`;if(t==="REMOVE_CONSONANT_AND_IDENTIFY_PHONEME"){const r=String(e?.missingConsonant??"");return`"${a}"\uC5D0\uC11C "${r}"${rp(r)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB418\uB098\uC694?`}return`"${a}"\uC5D0\uC11C "${o}"${rp(o)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`}function sp(t,e,a){switch(q4(t)){case"synthesis":return Z4(t,a);case"substitution":return X4(t,e);case"deletion":return J4(t,e);default:return""}}function lp(t){return t.replace(/"([ㄱ-ㅣ])"(으로|와|과|을|를|이|가|은|는|로)?/g,(e,a,o)=>{const r=np[a];if(!r)return e;if(!o)return`"${r}"`;const i=(r.charCodeAt(r.length-1)-44032)%28,s=i!==0;let l=o;return o==="\uC640"||o==="\uACFC"?l=s?"\uACFC":"\uC640":o==="\uC744"||o==="\uB97C"?l=s?"\uC744":"\uB97C":o==="\uC774"||o==="\uAC00"?l=s?"\uC774":"\uAC00":o==="\uC740"||o==="\uB294"?l=s?"\uC740":"\uB294":(o==="\uC73C\uB85C"||o==="\uB85C")&&(l=i===0||i===8?"\uB85C":"\uC73C\uB85C"),`"${r}"${l}`})}const Q4=t=>t==null?[]:Array.isArray(t)?t:[t];function is(t){if([...t].length!==1)return"";const e=Be(t);if(!e)return"";const a=Qr(vt[e.jong]),o=a===""?0:vt.indexOf(a);return ha(e.cho,e.jung,o<0?0:o)}function tn(t,e){return e.get(t)||is(t)||t}function sr(t){return t?yt(t.cho)?"cho":yt(t.jung)?"jung":yt(t.jong)?"jong":null:null}function Ia(t,e){const a=(o,r)=>!yt(o)||Q4(o).includes(r);return a(e.cho,Ue[t.cho])&&a(e.jung,pt[t.jung])&&a(e.jong,vt[t.jong])}function ao(t,e,a){const o=[...t];if(a!=="pron")return o.map(i=>Be(i));const r=[...e.get(t)||t];return r.length!==o.length?o.map(i=>Be(i)):r.map(i=>Be(i))}function oo(t,e,a,o,r){const i=e==="cho"?Ue:e==="jung"?pt:vt,s=t[e],l=[],u=new Set([tn(a,r)]),d=ze(i.map((h,p)=>p).filter(h=>h!==s&&(e!=="cho"||i[h]!=="\u3147")&&(e!=="jong"||h!==0)));for(const h of d){if(l.length>=o)break;const p=e==="cho"?ha(h,t.jung,t.jong):e==="jung"?ha(t.cho,h,t.jong):ha(t.cho,t.jung,h),m=tn(p,r);u.has(m)||(u.add(m),l.push(p))}return l}function ss(t,e,a,o,r,i=null){const s=[...t];if(s.length!==2)return null;const l=s.map(p=>Be(p));if(l.some(p=>!p))return null;const u=ao(t,a,o);if(u.some(p=>!p))return null;const d=sr(e);let h=d&&e?u.map((p,m)=>Ia(p,e)?m:-1).filter(p=>p>=0):[0,1];if(i!=null&&(h=h.filter(p=>p!==i)),!h.length)return null;for(const p of ze(h)){const m=s[p];if(!r.has(m))continue;const g=oo(l[p],d??"cho",m,40,a),f=[];for(const b of g)if(b!==m&&r.has(b)&&!f.includes(b)&&f.push(b),f.length>=2)break;if(!(f.length<2))return{question:t,distractors:[m,...f]}}return null}function ls(t,e,a,o,r,i=null){const s=[...t];if(s.length!==3)return null;const l=s.map(p=>Be(p));if(l.some(p=>!p))return null;const u=ao(t,a,o);if(u.some(p=>!p))return null;const d=sr(e),h=d&&e?u.map((p,m)=>Ia(p,e)?m:-1).filter(p=>p>=0):[0,1,2];if(!h.length)return null;for(const p of ze(h))for(const m of ze([0,1,2].filter(g=>g!==p&&(i==null||g===i)))){const g=[0,1,2].filter(x=>x!==m),f=g.map(x=>s[x]).join("");if(!r.has(f))continue;const b=g.indexOf(p),y=oo(l[p],d??"cho",s[p],40,a),v=[];for(const x of y){const _=g.map(T=>s[T]);_[b]=x;const C=_.join("");if(C!==f&&r.has(C)&&!v.includes(C)&&v.push(C),v.length>=2)break}if(!(v.length<2))return{question:t,distractors:[f,...v]}}return null}function cs(t,e,a,o,r,i=null){const s=[...t],l=s.length;if(l<2)return null;const u=[];for(let h=1;h<=l-1;h++)u.push({remain:s.slice(0,h).join(""),dropped:s.slice(h).join(""),droppedEnd:1}),u.push({remain:s.slice(l-h).join(""),dropped:s.slice(0,l-h).join(""),droppedEnd:0});const d=sr(e);for(const{remain:h,dropped:p,droppedEnd:m}of ze(u)){if(i!=null&&m!==i||h===t||!r.has(h)||!r.has(p))continue;const g=[...h],f=g.map(v=>Be(v));if(f.some(v=>!v))continue;const b=ao(h,a,o);if(b.some(v=>!v))continue;const y=d&&e?b.map((v,x)=>Ia(v,e)?x:-1).filter(v=>v>=0):g.map((v,x)=>x);if(y.length)for(const v of ze(y)){const x=oo(f[v],d??"cho",g[v],40,a),_=[];for(const C of x){const T=[...g];T[v]=C;const w=T.join("");if(w!==h&&r.has(w)&&!_.includes(w)&&_.push(w),_.length>=2)break}if(_.length>=2)return{question:t,distractors:[h,..._]}}}return null}function ds(t,e,a,o,r,i=null){if([...t].length!==1)return null;const s=Be(a.get(t)||t);if(!s||s.jong===0)return null;const l=ha(s.cho,s.jung,0),u=oo({cho:s.cho,jung:s.jung,jong:0},"cho",l,2,a);return u.length<2?null:{question:t,distractors:[l,...u]}}const us=Ue.indexOf("\u3147");function ps(t,e,a,o,r,i=null){if([...t].length!==1)return null;const s=Be(a.get(t)||t);if(!s||s.jong!==0||s.cho===us)return null;const l=ha(us,s.jung,0),u=oo({cho:us,jung:s.jung,jong:0},"jung",l,2,a);return u.length<2?null:{question:t,distractors:[l,...u]}}function hs(t){const e=new Map;for(const a of t){const o=[...a],r=o.length;if(!(r<2||r>3))for(let i=0;i<r;i++){let s=r+"|"+i+"|";for(let u=0;u<r;u++)s+=u===i?"*":o[u];const l=e.get(s);l?l.push(a):e.set(s,[a])}}return e}function ms(t,e,a,o,r,i=null,s=null,l=2){const u=[...t],d=u.length;if(d<2||d>3)return null;const h=u.map(x=>Be(x));if(h.some(x=>!x))return null;const p=ao(t,a,o);if(p.some(x=>!x))return null;const m=x=>a.get(x)??x,g=m(t),f=!!e&&(yt(e.cho)||yt(e.jung)||yt(e.jong)),b=!!s&&(yt(s.cho)||yt(s.jung)||yt(s.jong)),y=x=>{let _=d+"|"+x+"|";for(let C=0;C<d;C++)_+=C===x?"*":u[C];return _};let v;if(i!=null){if(i>=d||f&&!Ia(p[i],e))return null;v=[i]}else f?v=p.map((x,_)=>Ia(x,e)?_:-1).filter(x=>x>=0):v=Array.from({length:d},(x,_)=>_);for(const x of ze(v)){const _=r.get(y(x))??[],C=[],T=[];for(const N of _){if(N===t)continue;const O=[...N].map(L=>Be(L)),j=h[x],k=O[x];if(!j||!k)continue;let E=0;if(j.cho!==k.cho&&E++,j.jung!==k.jung&&E++,j.jong!==k.jong&&E++,!(E<l||m(N)===g))if(b){const L=ao(N,a,o)[x];L&&Ia(L,s)?C.push(N):T.push(N)}else C.push(N)}if(!C.length)continue;const w=ze(C)[0],S=[],D=new Set([g,m(w)]),A=b?T:C.filter(N=>N!==w);for(const N of ze(A)){const O=m(N);if(!D.has(O)&&(D.add(O),S.push(N),S.length>=2))break}if(!b&&S.length<2)for(const N of ze(_)){if(N===t||N===w)continue;const O=m(N);if(!D.has(O)&&(D.add(O),S.push(N),S.length>=2))break}if(!(S.length<2))return{question:t,distractors:[w,...S]}}return null}function an(t,e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"){if(t instanceof Error)return t.message||e;if(typeof t=="string")return t||e;if(t&&typeof t=="object"){const a=t;for(const o of[a.message,a.error_description,a.error])if(typeof o=="string"&&o)return o}return e}const gs="\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.";function bs(t){return t?/failed to fetch|load failed|networkerror|network request failed|fetcherror/i.test(t):!1}function cp(t){return bs(t)?gs:t}function dp(t,e){return t==="id"?void 0:`${t}|${e?"asc":"desc"}`}function up(t){const[e,a]=t.split("|");return{key:e,asc:a==="asc"}}function pp(t){let e=t==null?"":String(t);return/^[=+\-@\t\r]/.test(e)&&(e=" "+e),/[",\n\r]/.test(e)?`"${e.replaceAll('"','""')}"`:e}function hp(t,e){const a=new Blob(["\uFEFF"+e],{type:"text/csv;charset=utf-8"}),o=URL.createObjectURL(a),r=document.createElement("a");r.href=o,r.download=t,r.click(),URL.revokeObjectURL(o)}const mp="__ihab_core_word_pool__";function e5(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("wordpool:update"))}function gp(t,e){const a=new Map;for(const r of t)a.set(r.word,r);const o={entries:t,pairIndex:e??null,byWord:a};globalThis[mp]=o,e5()}function _o(){return globalThis[mp]??null}const wo=globalThis;function fs(t,e){const a=o=>{};try{const o=e();o&&typeof o.catch=="function"&&o.catch(a)}catch(o){a(o)}}function bp(t){wo.__ihabTrainingTimeLogger=t}function vs(t){fs("time",()=>wo.__ihabTrainingTimeLogger?.(t))}function fp(t){wo.__ihabTrainingCompletionLogger=t}function ys(t){fs("completion",()=>wo.__ihabTrainingCompletionLogger?.(t))}function vp(t){wo.__ihabCrosswordLogger=t}function yp(t){fs("crossword",()=>wo.__ihabCrosswordLogger?.(t))}function ta(t){return typeof t=="string"?t.trim()||null:typeof t=="number"?String(t):null}function xs(t){for(const e of["correct","isCorrect","heard","judgement"])if(typeof t[e]=="boolean")return t[e];return t.score===1?!0:t.score===0?!1:null}function Cs(t){return Array.isArray(t)?t.map((e,a)=>{const o=e??{};return{index:a,itemId:ta(o.contextCode)??ta(o.itemId)??ta(o.itemCode)??ta(o.id),question:ta(o.question)??ta(o.sentence)??ta(o.word)??ta(o.targetSyllable),answer:ta(o.answer),selected:ta(o.selectedText)??ta(o.selected),correct:xs(o)}}):[]}function xp(t){return t.filter(e=>e.correct===!1)}let Cp=null,_p=null,wp=null;function kp(t){Cp=t}function Sp(t){_p=t}function Ap(t){wp=t}async function Tp(t,e){try{return await Cp?.(t,e)??null}catch{return null}}async function Np(){try{return await _p?.()??null}catch{return null}}async function Bp(t,e){try{return await wp?.(t,e)??null}catch{return null}}const _s=globalThis;function Ep(t){_s.__ihabNoiseSettingsStore=t}async function ws(){try{return await _s.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ks(t){const e=a=>{};try{const a=_s.__ihabNoiseSettingsStore?.save(t);a&&typeof a.catch=="function"&&a.catch(e)}catch(a){e(a)}}function lr(t){const e=new TextEncoder().encode(String(t));let a="";return e.forEach(o=>{a+=o.toString(16).padStart(2,"0")}),a}const Dp=lr;function Lp(t,e){return`${t}/${lr(e)}.mp3`}function jp(t={}){const e=t.storagePrefix??"audio-cache",a=t.voice??"ko-f",o=typeof t.speed=="number"?t.speed:1,r=t.filenameSanitizer??lr;return async function(i){const s=String(i||"").trim();if(!s)return"";const l=`${r(s)}_${a}.mp3`,u=`${e}/${l}`;try{if(await yi(u)){const d=await qo(u);if(d)return d}}catch{}if(t.generator)try{const d=await t.generator(s,u,t);if(d)return d}catch{}try{const d=`/api/tts?word=${encodeURIComponent(s)}&voice=${encodeURIComponent(a)}&speed=${encodeURIComponent(String(o))}`;return await fetch(d,{method:"GET"}),`/audio-cache/${l}`}catch{return`/audio-cache/${l}`}}}async function Ss(t){if(typeof document<"u")try{const e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.opacity="0",e.style.pointerEvents="none",document.body.appendChild(e),e.focus(),e.select(),e.setSelectionRange(0,t.length);const a=document.execCommand("copy");if(document.body.removeChild(e),a)return!0}catch{}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(t),!0}catch{}return!1}const ko="Asia/Seoul";function Mp(t){return new Date(t).toLocaleDateString("ko-KR",{timeZone:ko,year:"numeric",month:"short",day:"numeric"})}function Pp(t){return new Date(t).toLocaleString("ko-KR",{timeZone:ko,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Rp(t,e){const a=e.startsWith("ko")?"ko-KR":"en-US";return new Date(t).toLocaleDateString(a,{timeZone:ko,year:"numeric",month:"short",day:"numeric"})}function $p(t,e){const a=e.startsWith("ko")?"ko-KR":"en-US";return new Date(t).toLocaleString(a,{timeZone:ko,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Ip(t){return new Date(t).toLocaleString("ko-KR",{timeZone:ko,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}function Op(t){if(t==null||t==="")return"";const e=t instanceof Date?t:new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat("en-GB",{timeZone:ko,hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}function on(){return Aa(new Date)}function Aa(t){if(t==null||t==="")return"";const e=t instanceof Date?t:new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(e)}function rn(t,e){if(!t)return"";const a=new Date(t).getTime();if(Number.isNaN(a))return"";const o=Math.max(0,Math.floor((Date.now()-a)/1e3)),r=Math.floor(o/60),i=Math.floor(r/60),s=Math.floor(i/24),l=Math.floor(s/7),u=Math.floor(s/30),d=Math.floor(s/365);return r<1?e("store.time.justNow","\uBC29\uAE08 \uC804"):r<60?e("store.time.minutesAgo",{n:r}):i<24?e("store.time.hoursAgo",{n:i}):s<7?e("store.time.daysAgo",{n:s}):l<5?e("store.time.weeksAgo",{n:l}):s<365?e("store.time.monthsAgo",{n:Math.min(u,11)}):e("store.time.yearsAgo",{n:d})}function nn(t,e={}){const{sep:a=".",pad:o=!0,trailingDot:r=!1,fallback:i="\u2014"}=e;if(!t)return i;const s=Aa(t instanceof Date?t:String(t));if(!s)return i;const[l,u,d]=s.split("-"),h=o?u:String(Number(u)),p=o?d:String(Number(d));return`${l}${a}${h}${a}${p}${r?".":""}`}function zp(t){const e=t.replace(/\D/g,"").slice(0,11);return e.startsWith("02")?e.length<=2?e:e.length<=6?`${e.slice(0,2)}-${e.slice(2)}`:`${e.slice(0,2)}-${e.slice(2,e.length-4)}-${e.slice(e.length-4)}`:e.length<=3?e:e.length<=7?`${e.slice(0,3)}-${e.slice(3)}`:`${e.slice(0,3)}-${e.slice(3,e.length-4)}-${e.slice(e.length-4)}`}function Fp(t){if(t){if(/^\d{4}\.\d{2}\.\d{2}$/.test(t))return t;if(/^\d{8}$/.test(t))return`${t.slice(0,4)}.${t.slice(4,6)}.${t.slice(6,8)}`;if(/^\d{4}-\d{2}-\d{2}$/.test(t))return t.replace(/-/g,".");if(/^\d{4}-\d{2}-\d{2}T/.test(t)){const e=new Date(t);return isNaN(e.getTime())?void 0:Aa(e).replace(/-/g,".")}}}function Wp(t){if(t)return/^\d{4}\.\d{2}\.\d{2}$/.test(t)?t.replace(/\./g,"-"):t}function cr(t){if(!t)return t;const e=t.trim();return/^[₩$]/.test(e)?e:/원\s*$/.test(e)?"\u20A9"+e.replace(/\s*원\s*$/,"").trim():e}function sn(t,e){if(!t)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(t.trim());if(!a)return t;const o=Number(a[1]),r=Number(a[2]),i=a[1].padStart(2,"0");return r===0?e("date.timeH",{h:o,hh:i,mm:a[2]}):e("date.timeHM",{h:o,hh:i,m:r,mm:a[2]})}function dr(t){return(t??0).toLocaleString("ko-KR")}const t5=[{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"}]}],a5=[{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"}];let As=null;function Hp(t){As=t}function ln(){return As?.topicTypes??t5}function Ts(){return As?.trainingTypes??a5}const Vp="ihab_theme",o5="light";function Ns(){try{const t=localStorage.getItem(Vp);if(t==="light"||t==="dark"||t==="auto")return t}catch{}return o5}function Bs(t){try{document.documentElement.setAttribute("data-theme",t),localStorage.setItem(Vp,t)}catch{}}function Gp(){Bs(Ns())}const qp="ihab_font_scale",r5="medium",n5=["medium","large1","large2","large3"];function Es(){try{const t=localStorage.getItem(qp);if(n5.includes(t))return t}catch{}return r5}function Ds(t){try{document.documentElement.setAttribute("data-font-scale",t),localStorage.setItem(qp,t)}catch{}}function Up(){Ds(Es())}const Oa=[],za=[],Fa=[],Wa=[],ur={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},pr={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},i5={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let Ls=null,Yp=null,Ha=null;function js({counts:t,forceRefresh:e}={}){const a=Object.assign({},i5,t||{}),o=on(),r=Aa(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),i=JSON.stringify(a);if(!e&&Yp===o&&Ls===i&&Ha)return Object.assign(ur,Ha.today),Object.assign(pr,Ha.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:ur,yesterday:pr};const s={LISTEN_IN_NOISE:ea(Oa,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ea(za,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ea(Fa,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ea(Wa,Math.max(0,Number(a.ORDERING_SENTENCE)||0))};let l=null;return Ha&&Ls===i&&Ha.yesterday&&Ha.yesterday.date===r&&(l=Ha.yesterday.selection),l||(l={LISTEN_IN_NOISE:ea(Oa,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ea(za,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ea(Fa,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ea(Wa,Math.max(0,Number(a.ORDERING_SENTENCE)||0))}),Object.assign(ur,s),Object.assign(pr,l),Yp=o,Ls=i,Ha={today:s,yesterday:{date:r,countsKey:i,selection:l}},{today:ur,yesterday:pr}}function Kp(){return{today:ur,yesterday:pr}}function Ms(){return{LISTEN_IN_NOISE:Oa,SHORT_STORY:za,LONG_STORY:Fa,ORDERING_SENTENCE:Wa}}let Ps=!1,hr=null;async function s5(){try{const t={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Kt&&Kt.tagName.toUpperCase()==="SCRIPT"&&Kt.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}&&void 0||"/",e=await fetch(`${t}data/allTrainingData.json`);return e.ok?await e.json():null}catch{return null}}async function Rs(){if(!Ps)return hr||(hr=(async()=>{const t=await s5();if(!t){hr=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{for(const e of Object.keys(t||{})){const a=t[e]||[];for(const o of a){const r=o,i=String(r.training_type||e),s=String(r.category_main_code||r.category_main||r.category_0||""),l=String(r.category_sub_code||r.category_sub||r.category_1||""),u=Object.assign({},r,{training_type:i,category_0:s,category_1:l});i==="LISTEN_IN_NOISE"?Oa.push(u):i==="SHORT_STORY"?za.push(u):i==="LONG_STORY"?Fa.push(u):i==="ORDERING_SENTENCE"&&Wa.push(u)}}}catch{hr=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{js()}catch{}Ps=!0})(),hr)}function Zp(){return Ps}async function $s(t=3e3){const e=Rs();return Promise.race([e,new Promise(a=>setTimeout(a,t))])}const cn=[{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."}],Xp=[{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\uC0C1\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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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"}]}],Is={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function l5(t){return cn.map(e=>{const a=Is[e.key];return a?{...e,label:t(`trainingType.${a}.title`),desc:t(`trainingType.${a}.desc`)}:e})}let dn=null,Jp=null,Qp=null;function c5(){const t=_o();if(t&&t.entries.length>0){const e=Qa();if(dn&&Jp===t&&Qp===e)return dn;const a=new Set,o=[];for(const r of t.entries)!r.word||a.has(r.word)||(a.add(r.word),o.push({w:r.word,s:r.syllables,p:e?.[r.word]?[...e[r.word].cho??[],...e[r.word].jung??[],...e[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return dn=o,Jp=t,Qp=e,dn}return[]}const aa=new Proxy([],{get(t,e){const a=c5(),o=a[e];return typeof o=="function"?o.bind(a):o}});function un(t){return t.length?t[Math.floor(Math.random()*t.length)]:void 0}function oa(t,e){if(e>=t.length)return ze(t);if(e===0)return[];const a=t.slice();for(let o=0;o<e;o++){const r=o+Math.floor(Math.random()*(a.length-o)),i=a[o];a[o]=a[r],a[r]=i}return a.slice(0,e)}let Os=null,eh=null;function ro(){const t=_o();if(Os&&eh===t)return Os;const e=new Map;for(const a of aa)a.w&&e.set(a.w,a.pron);return Os=e,eh=t,e}function Ht(t){return ro().get(t)||t}function zs(t,e,a=new Set){const o=[];for(const r of ze(t)){if(o.length>=e)break;const i=Ht(r);a.has(i)||(a.add(i),o.push(r))}return o}let d5=0;function Nt(t){return`${t}-rt-${++d5}`}function mr(t){const e=Hr();if(!e||e.total===0){const o=new Set;for(const r of t)o.add(r);return o}const a=new Set;for(const o of t)Ai(o)===!0&&a.add(o);return a}const pn=new Map;let th=null,ah=null;function gr(t){return t==null?"":Array.isArray(t)?t.slice().sort().join(","):t}function oh(t){const e=gr(t.choseong),a=t.composition,o=a?.syllable==null?"":Array.isArray(a.syllable)?a.syllable.slice().sort().join(","):String(a.syllable),r=a?`${gr(a.cho)}/${gr(a.jung)}/${gr(a.jong)}/${a.jongNone?"N":""}/${o}`:"",i=gr(t.grade);return`${t.difficulty??""}|${e}|${r}|${t.excludeNoImage?"1":"0"}|${t.count??""}|x${t.contrastCount??1}|${t.fullCount?"F":""}|s${t.sameStructureOnly===!1?"0":"1"}|v${t.phonemeView==="pron"?"p":"c"}|g${i}|t${t.targetSyllable??""}|c${t.choicesPerItem??""}`}async function Vt(t){const e=_o(),a=Qa();(e!==th||a!==ah)&&(pn.clear(),th=e,ah=a);const o=oh(t);return pn.has(o)||pn.set(o,p5(t)),pn.get(o)}function u5(t){if(!t)return null;const e=s=>s==null?null:Array.isArray(s)?s.length?s:null:[s],a=e(t.cho),o=e(t.jung),r=!!t.jongNone,i=r?null:e(t.jong);return a||o||i||r?r&&!a&&!o&&!i?s=>ji(s):s=>Mi(s,{cho:a,jung:o,jong:i,jongNone:r}):null}async function p5(t){const{difficulty:e=null,choseong:a=null,composition:o=null,targetSyllable:r=null,excludeNoImage:i=!1}=t,s=t.grade&&t.grade.length>0?new Set(t.grade):null,l=t.sameStructureOnly??!0,u=t.phonemeView==="pron"?"pron":"char",d=Math.max(1,t.contrastCount??1),h=e==="cho"||e==="jung"||e==="jong",p=h&&d>=2,m=e==="count",g=a?new Set(Array.isArray(a)?a:[a]):null,f=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,b=o?[u5(o),f?M=>f.has(yo(M)):null].filter(M=>M!=null):[],y=e==="random"||e===null,v=y||m,x=y||p||m;let _=aa.filter(M=>!M.w||s&&(!M.grade||!s.has(M.grade))?!1:x?!0:Array.isArray(M.p)&&M.p.length>0);g&&(_=_.filter(M=>{for(const R of g)if(C4(M.w,R))return!0;return!1})),b.length>0&&(_=_.filter(M=>{const R=u==="pron"?Ht(M.w):M.w;return b.every($=>$(R))})),r&&(_=_.filter(M=>M.w[0]===r));let C;if(i){const M=new Set;for(const R of _)if(M.add(R.w),Array.isArray(R.p))for(const $ of R.p)M.add($);if(v)for(const R of aa)R.w&&M.add(R.w);C=mr(M)}else{const M=new Set;for(const R of _)if(M.add(R.w),Array.isArray(R.p))for(const $ of R.p)M.add($);if(v)for(const R of aa)R.w&&M.add(R.w);C=M}let T=null;if(p){const M=new Set;for(const R of aa)R.w&&M.add(R.w);T=i?mr(M):M}const w=_.filter(M=>C.has(M.w)),S=600,D=Array.from(C),A=D.length>S?oa(D,S):D,N=m&&o!=null&&(yt(o.cho)||yt(o.jung)||yt(o.jong)),O=2500,j=new Map;if(m&&!N&&d>=2){for(const M of D){const R=yo(M),$=j.get(R);$?$.push(M):j.set(R,[M])}for(const[M,R]of j)R.length>O&&j.set(M,oa(R,O))}const k=Ni(),E=N?Wi(o,D,k,l,u,Ht):null,L=500,z=1500,te=t.fullCount?w:e==="random"?w.length>L?oa(w,L):w:w.length>z?oa(w,z):w,J=Qa(),ae=[];for(const M of te){let R;const $=Ht(M.w);if(p)R=A4(M.w,e,d,T,24).filter(F=>Ht(F)!==$);else if(m)N?R=(E.get(M.w)??[]).filter(F=>Ht(F)!==$):d<=1?R=Vr(M.w,J,{okSet:C,pronOf:Ht,decompOf:k,sameStructureOnly:!1}):R=(j.get(yo(M.w))??[]).filter(F=>{if(F===M.w||Ht(F)===$)return!1;const I=T4(M.w,F);return d>=5?I>=5:I===d});else if(y)R=A.filter(F=>F!==M.w&&F.length===M.w.length&&Ht(F)!==$);else{const F=e;R=Vr(M.w,J,{kind:F,okSet:C,pronOf:Ht,decompOf:k,sameStructureOnly:!1}),R.length===0&&(R=(A.length>30?oa(A,30):A).filter(I=>I!==M.w&&Bi(M.w,I)===e&&Ht(I)!==$))}if(l&&R.length>0&&(h||m&&!N)){const F=k(Ht(M.w));R=R.filter(I=>!tr(F,k(Ht(I))))}R.length!==0&&ae.push({word:M,usable:R})}return ae}async function rh(t,e){const{choicesPerItem:a=3,count:o=10}=e,r=a-1,i=(await Vt(e)).filter(l=>l.usable.length>=r),s=[];for(const l of ze(i)){if(s.length>=o)break;const u=zs(l.usable,r);if(u.length<r)continue;const d=ze([l.word.w,...u]);s.push({id:Nt(t+"-item"),index:s.length+1,word:l.word.w,syllables:l.word.s,choices:d,answerIndex:d.indexOf(l.word.w)})}return s}async function h5(t){const{choicesPerItem:e=3,count:a=10}=t,o=e-1,r=await Vt({...t,difficulty:null});if(r.length<e)return[];const i=[],s=ze([...r]);for(const l of s){if(i.length>=a)break;const u=l.word.w,d=[...l.word.pron||u],h=un(d);if(!h)continue;const p=r.filter(f=>f.word.w!==u&&f.word.s===l.word.s&&!(f.word.pron||f.word.w).includes(h)&&f.word.pron!==l.word.pron);if(p.length<o)continue;const m=zs(p.map(f=>f.word.w),o);if(m.length<o)continue;const g=ze([u,...m]);i.push({id:Nt("HPI-item"),index:i.length+1,targetSyllable:h,word:u,choices:g,answerIndex:g.indexOf(u)})}return i}async function m5(t){const{count:e=10}=t,a=(await Vt(t)).filter(o=>o.usable.length>=1);return Array.from({length:e},(o,r)=>{const i=un(a);if(!i)return null;const s=r%2===0;let l;if(s)l=[i.word.w,i.word.w];else{const u=un(i.usable);l=Math.random()<.5?[i.word.w,u]:[u,i.word.w]}return{id:Nt("SOD-item"),index:r+1,word:i.word.w,pair:l,same:s}}).filter(o=>!!o)}async function g5(t){const{choicesPerItem:e=3,count:a=10}=t,o=e-1,r=await Vt({...t,difficulty:null});if(r.length<e+1)return[];const i=r.map(m=>m.word.w),s=new Map(r.map(m=>[m.word.w,m.word.pron])),l=m=>(s.get(m)||m)[0]??"",u={};for(const m of r){const g=l(m.word.w);g&&(u[g]||(u[g]=[]),u[g].push(m.word.w))}const d=Object.entries(u).filter(([,m])=>m.length>=2).map(([m])=>m);if(d.length===0)return[];const h=[],p=ze([...d]);for(let m=0;h.length<a&&m<a*4;m++){const g=p[m%p.length],f=u[g];if(f.length<2)continue;const b=ze([...f]),y=b[0],v=b[1];if(!y||!v||y===v||(s.get(y)||y)===(s.get(v)||v))continue;const x=s.get(v)||v,_=i.filter(w=>l(w)!==g&&w!==y&&w!==v&&w.length===v.length&&(s.get(w)||w)!==x);if(_.length<o)continue;const C=zs(_,o);if(C.length<o)continue;const T=ze([v,...C]);h.push({id:Nt("SWS-item"),index:h.length+1,sourceWord:y,targetSyllable:g,word:v,choices:T,answerIndex:T.indexOf(v)})}return h}function nh(t,e,a){return oa(t,e).map((o,r)=>{const i=un(o.usable)??"",s=[...o.word.w],l=[...i],u=s.findIndex((h,p)=>h!==l[p]),d=ze(o.usable.filter(h=>h&&h!==i)).slice(0,2);return{id:Nt(a),index:r+1,word:o.word.w,original:o.word.w,changed:i,changedFrom:u>=0?s[u]:"",changedTo:u>=0?l[u]:"",distractors:d}})}async function ih(t,e,a){const{count:o=10}=e,r=ro(),i=aa.filter(g=>g.w&&g.s===t),s=e.excludeNoImage?mr(i.map(g=>g.w)):null,l=s?i.filter(g=>s.has(g.w)):i,u=new Set(l.map(g=>g.w)),d=hs(u),h=e.phonemeView??"char",p=e.composition??null,m=[];for(const g of ze(l)){if(m.length>=o)break;const f=ms(g.w,p,r,h,d,null,null);if(!f)continue;const b=f.distractors[0],y=[...g.w],v=[...b],x=y.findIndex((_,C)=>_!==v[C]);m.push({id:Nt(a),index:m.length+1,word:g.w,original:g.w,changed:b,changedFrom:x>=0?y[x]:"",changedTo:x>=0?v[x]:"",distractors:f.distractors.slice(1)})}return m}async function b5(t){return ih(2,t,"CS2-item")}async function f5(t){return ih(3,t,"CS3-item")}async function v5(t){const e=(await Vt({...t,difficulty:"count",contrastCount:1})).filter(a=>a.word.s===1&&a.usable.length>=1);return nh(e,t.count??10,"CP1-item")}async function y5(t){const e=t.difficulty&&t.difficulty!=="random"?t.difficulty:"count",a=(await Vt({...t,difficulty:e,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return nh(a,t.count??10,"CP2-item")}async function x5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(o=>o.word.s===2);return oa(a,e).map((o,r)=>({id:Nt("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function C5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(o=>o.word.s===3);return oa(a,e).map((o,r)=>({id:Nt("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function _5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s===2),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=ss(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=[...l.word.w],m=p[0]===d?p[1]:p[0];s.push({id:Nt("D2-item"),index:s.length+1,original:l.word.w,word:l.word.w,dropped:m,missingResult:d,distractors:h})}return s}async function w5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s===3),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=ls(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=[...l.word.w];let m="";for(let g=0;g<p.length;g++)if(p.filter((f,b)=>b!==g).join("")===d){m=p[g];break}s.push({id:Nt("D3-item"),index:s.length+1,original:l.word.w,word:l.word.w,dropped:m,missingResult:d,distractors:h})}return s}async function k5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s>=2),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=cs(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=l.word.w,m=p.startsWith(d)?p.slice(d.length):p.endsWith(d)?p.slice(0,p.length-d.length):"";s.push({id:Nt("DPC-item"),index:s.length+1,original:p,word:p,dropped:m,missingResult:d,distractors:h})}return s}async function S5(t){const{count:e=10}=t,a=(await Vt({...t})).map(o=>o.word.w);return a.length<3?[]:Array.from({length:e},(o,r)=>{const i=oa(a,3);return{id:Nt("LRO-item"),index:r+1,sequence:i,choices:ze(i)}})}function hn(t,e,a){const o=aa.filter(s=>s.w&&s.s===t),r=e?mr(o.map(s=>s.w)):null,i=[];for(const s of o)if(!(r&&!r.has(s.w))){if(a){const l=Be(s.w);if(!l||!a(l))continue}i.push(s)}return i}function A5(t){const e=hn(1,t.excludeNoImage??!1,a=>a.jong===0);return oa(e,t.count??10).map((a,o)=>{const r=Be(a.w);return{id:Nt("M2P-item"),index:o+1,parts:[Ue[r.cho],pt[r.jung]],answer:a.w,word:a.w}})}function T5(t){const e=hn(1,t.excludeNoImage??!1,a=>a.jong>0&&!vo[a.jong]);return oa(e,t.count??10).map((a,o)=>{const r=Be(a.w);return{id:Nt("M3P-item"),index:o+1,parts:[Ue[r.cho],pt[r.jung],vt[r.jong]],answer:a.w,word:a.w}})}function N5(t){const e=en.DROP_FINAL_CONSONANT_FROM_1SYLL,a=hn(e.syllables,t.excludeNoImage??!1,e.syllable),o=ro(),r=[];for(const i of ze(a)){if(r.length>=(t.count??10))break;const s=ds(i.w,null,o);if(!s)continue;const[l,...u]=s.distractors;r.push({id:Nt("DFC-item"),index:r.length+1,original:i.w,word:i.w,result:l,distractors:u})}return r}function B5(t){const e=en.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,a=hn(e.syllables,t.excludeNoImage??!1,e.syllable),o=ro(),r=[];for(const i of ze(a)){if(r.length>=(t.count??10))break;const s=ps(i.w,null,o);if(!s)continue;const l=Be(o.get(i.w)||i.w);if(!l)continue;const[u,...d]=s.distractors;r.push({id:Nt("RCP-item"),index:r.length+1,base:i.w,word:i.w,missingConsonant:Ue[l.cho],remaining:u,distractors:d})}return r}const mn=new Map;let sh=null,lh=null;async function ch(t,e={}){const a=_o(),o=Qa();(a!==sh||o!==lh)&&(mn.clear(),sh=a,lh=o);const r=`${t}:${oh(e)}`;if(mn.has(r))return mn.get(r);const i=await D5(t,e);return mn.set(r,i),i}const E5={SAME_SOUND_PICK:t=>rh("SSP",t),HEAR_AND_PICK_SAME:t=>rh("HPS",t),HEAR_AND_PICK_INCLUDED:t=>h5(t),SAME_OR_DIFF:t=>m5(t),STARTS_WITH_SAME_SOUND:t=>g5(t),LISTEN_AND_REMEMBER_ORDER:t=>S5(t),MERGE_2_SYLLABLES:t=>x5(t),MERGE_3_SYLLABLES:t=>C5(t),MERGE_2_PHONEMES:t=>A5(t),MERGE_3_PHONEMES:t=>T5(t),DROP_1_FROM_2SYLL:t=>_5(t),DROP_1_FROM_3SYLL:t=>w5(t),DROP_PART_FROM_COMPOUND:t=>k5(t),DROP_FINAL_CONSONANT_FROM_1SYLL:t=>N5(t),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:t=>B5(t),CHANGE_1_SYLL_IN_2SYLL:t=>b5(t),CHANGE_1_SYLL_IN_3SYLL:t=>f5(t),CHANGE_1_PHONEME_IN_1SYLL:t=>v5(t),CHANGE_1_PHONEME_IN_2SYLL:t=>y5(t)};async function D5(t,e={}){const a=E5[t];return a?await a(e):[]}async function L5(t){const e=[null,"count"],a=Object.keys(Co);let o=0;for(const r of e)for(const i of a){const s=Co[i];ch(i,{difficulty:s.difficulty?r:null,choseong:null,count:10,excludeNoImage:t}).catch(()=>{}),++o%6===0&&await new Promise(l=>setTimeout(l,0))}}async function j5(t){return(await Vt({...t,fullCount:!0})).length}async function M5(t={}){const e=[];for(const l of aa)l.w&&e.push(l.w);const a=t.excludeNoImage?mr(e):e,o=new Set,r=new Set,i=new Set,s=new Set;for(const l of a){s.add(yo(l));for(const u of l){const d=Be(u);if(d&&(Ue[d.cho]!=="\u3147"&&o.add(Ue[d.cho]),r.add(pt[d.jung]),d.jong>0)){i.add(vt[d.jong]);const h=vo[d.jong];h&&h.forEach(p=>i.add(p))}}}return{cho:o,jung:r,jong:i,syllable:s}}const dh={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},uh={none:0,free:1,personal_standard:3,mgr_free:4,lite_word:5,lite_sentence:5,lite:6,standard:7,pro:8,enterprise:9},ph={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function hh(t){const e=t.toLowerCase();return e.startsWith("manager_enterprise")?"enterprise":e.startsWith("manager_pro")?"pro":e.startsWith("manager_standard")?"standard":e.startsWith("manager_lite_word")?"lite_word":e.startsWith("manager_lite_sentence")?"lite_sentence":e.startsWith("manager_lite")||e.startsWith("mgr_lite")?"lite":e.startsWith("mgr_standard")?"standard":e.startsWith("mgr_pro")?"pro":e.startsWith("content_")||e.startsWith("speechear_")||e.startsWith("light_")||e==="light"?"personal_standard":"none"}const mh=5,gh=5;function bh({rank:t,voteCount:e,quota:a=5}){return t<a&&e>0}const fh={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"};var P5=Object.freeze({__proto__:null,CAPABILITY:Co,CHOSEONG:Ue,JONGSEONG:vt,JUNGSEONG:pt,LONG_STORIES:Fa,NETWORK_ERROR_MESSAGE:gs,NOISE_DATAS:Oa,ORDER_SETS:Wa,PLAN_FEATURES:dh,PLAN_LIMITS:ph,SHORT_STORIES:za,TIER_RANK:uh,TOPIC_TYPES:Xp,TRAINING_TYPES:cn,TRAINING_TYPE_I18N_KEY:Is,WORD_SUGGESTION_ACCOUNT_LIMIT:gh,WORD_SUGGESTION_EXISTING_ERROR:fh,WORD_SUGGESTION_WEEKLY_QUOTA:mh,applyFontScale:Ds,applyTheme:Bs,buildChangeWholeSyllableProblem:ms,buildDropCompoundProblem:cs,buildDropContrast3Problem:ls,buildDropContrastProblem:ss,buildDropFinalConsonantProblem:ds,buildMultiPartPosContrast:Wi,buildPairIndex:zu,buildRemoveConsonantProblem:ps,buildSyllableMaskIndex:hs,bulkSetImageExistence:Bu,cardQuestionTitle:sp,checkImageExists:Qo,classifyPairDifficulty:Bi,clearAudioExistsCache:_u,clearImageExistenceCache:Ti,clearPairIndexCache:Oi,composeSyllable:ha,computeDailySelection:js,configureImageResolver:Tu,configureNoiseSettingsStore:Ep,configurePronunciationResolver:ku,configureStorage:vi,configureTTS:Cu,configureTrainingCategories:Hp,copyText:Ss,createDecompCache:Ni,createTTSUrlResolver:jp,dateToDb:Wp,downloadCsvText:hp,downloadSound:zr,ensureTrainingDataLoaded:$s,escapeCsvField:pp,fileExists:yi,filterContrastCandidates:Fi,finalToPhoneme:Qr,firstChoseongOf:Ei,formatCount:dr,formatDateKo:Mp,formatDateLocale:Rp,formatDateLongKo:Pp,formatDateLongLocale:$p,formatDatetimeKo:Ip,formatPhone:zp,formatRelativeTime:rn,formatTimeHM:sn,formatYmd:nn,getAssetBaseUrl:bi,getDailySelection:Kp,getElementAnalyser:Zo,getErrorMessage:an,getImageExistenceStats:Hr,getImageExistsCached:Ai,getImageResolver:$a,getNoiseBaseUrl:xi,getPairIndex:Qa,getPlanTier:hh,getPronunciationResolver:wi,getSavedFontScale:Es,getSavedTheme:Ns,getSignedOrPublicUrl:qo,getTTSFallbackUrlResolver:_i,getTTSUrlResolver:Uo,getTodayKst:on,getTopicTypes:ln,getTrainingPools:Ms,getTrainingTypes:Ts,getWordPool:_o,hasQuestionWordConstraint:ep,hasSel:yt,hasStructureContrast:tr,initFontScale:Up,initTheme:Gp,isAllChoseong:Li,isManualOnlyType:ap,isNetworkErrorMessage:bs,isSyllablePattern:Pi,isThisWeekPick:bh,isTrainingDataLoaded:Zp,isValidQuestionWord:tp,itemCorrectness:xs,jamoToNamesForSpeech:lp,loadGameLeaderboard:Bp,loadMyGameRanks:Np,loadNoiseSettings:ws,loadTrainingData:Rs,logCrossword:yp,logTrainingCompletion:ys,logTrainingTime:vs,matchSyllables:ao,matchesChoseongSearch:Eu,matchesSyllablePattern:Ri,matchesWordQuery:fo,mergeQuestionText:ns,minimalPairDistractors:Vr,normalizeDate:Fp,officialSoundPath:Lp,parseSortValue:up,parseSyllable:Be,patternToComposition:Ru,phonemePartsOf:ip,pickEuRo:as,pickEulReul:Ji,pickEunNeun:es,pickIga:Zi,pickWaGwa:ts,prewarmImageCache:Nu,primarySelPart:sr,readLevel:ki,reorderArray:os,resolveAssetUrl:Vo,resolveSoundPath:Or,resumeAudioMeter:Ko,sample:ea,saveNoiseSettings:ks,searchAndRankWords:Iu,setAssetBaseUrl:yu,setCrosswordLogger:vp,setGameLeaderboardLoader:Ap,setGameRanksLoader:Sp,setGameScoreSubmitter:kp,setTrainingCompletionLogger:fp,setTrainingTimeLogger:bp,setWordPool:gp,shuffle:ze,sortToValue:dp,soundOf:tn,speak:bu,stopSpeaking:fu,submitGameScore:Tp,syllMatchesComp:Ia,syllableContrasts:oo,syllableLength:yo,syllablePron:is,toBase64UrlSafe:Dp,toChoseong:Di,toItemResults:Cs,toKstHm:Op,toKstYmd:Aa,toStandardPronunciation:Zu,toStorageName:lr,toUserErrorMessage:cp,validateSyllableSearchInput:$u,withEuRo:Qu,withEulReul:Qi,withEunNeun:Xu,withIga:Xi,withWaGwa:Ju,wordContainsChoseong:Lu,wordContainsJongseong:Mu,wordContainsJungseong:ju,wordHasNoCoda:ji,wordHasSyllableMatching:Mi,wrongItems:xp});function R5(t){return typeof window>"u"?"":m4.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function $5(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),[i,s]=c.useState(null),[l,u]=c.useState(null);return c.useEffect(()=>{if(!t||typeof t!="string"||!t.endsWith(".svg")){a(null),r(null),s(null);return}const d=t.split("/").pop();let h=t;d&&(t.startsWith("/")?h=Vo(t):/^(Logo|Symbol)/i.test(d)?h=Vo(`logo/${d}`):(/^https?:\/\//i.test(t)||t.startsWith("data:"),h=t)),a(h)},[t]),c.useEffect(()=>{if(!e)return;let d=!1;async function h(){try{let p=await fetch(e);p.ok||(p=await fetch(e));const m=p.headers.get("content-type")||"";if(d)return;if(m.includes("svg")){r("mask");return}if(m.startsWith("image/")){r("img");return}const g=await fetch(e);if(!g.ok)throw new Error("not ok");const f=await g.text();if(d)return;if(/^\s*<svg[\s>]/i.test(f)){const b=R5(f);if(!b){r("none");return}s(b),r("inline");return}r("none")}catch{d||r("none")}}return h(),()=>{d=!0}},[e]),c.useEffect(()=>{let d=!1,h=null;return o==="mask"&&e&&fetch(e).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{d||(h=URL.createObjectURL(p),u(h))}).catch(()=>{d||r("img")}),()=>{d=!0,h&&URL.revokeObjectURL(h),u(null)}},[o,e]),{iconToUse:e,mode:o,svgText:i,blobUrl:l}}function Re(t){const{icon:e,label:a,className:o,imgClassName:r,maskClassName:i,svgClassName:s,wrapperStyle:l,size:u}=t||{},d=o??"iconRenderer-icon",h=r??"iconRenderer-icon-image",p=i??"iconRenderer-icon-mask",m=s??"iconRenderer-icon-svg",g=typeof e=="string"?e:null,f=jw(g),{iconToUse:b,mode:y,svgText:v,blobUrl:x}=$5(g),_=(S,D={})=>n.jsx("span",{className:d,style:l,...D,children:S}),C=(S,D={})=>n.jsx("img",{src:S,alt:typeof a=="string"?a:a?String(a):"",className:h,...D});if(!e)return null;if(typeof e!="string")return _(e);if(e==="none")return _(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(f)try{return _(c.createElement(f,{className:m,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(y==="mask"){const S={"--icon-url":x?`url(${x})`:`url(${b})`};return _(n.jsx("span",{className:p,style:S}),{"aria-hidden":"true"})}return y==="img"?_(C(b,{onError:S=>{S.currentTarget.onerror=null,S.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):y==="inline"?_(n.jsx("span",{className:m,dangerouslySetInnerHTML:v?{__html:v}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(e.startsWith("/")||e.includes("/assets/")||e.match(/\.(png|jpg|jpeg|webp|gif)$/i))return C(Vo(e),{style:l,onError:S=>{S.currentTarget.onerror=null,S.currentTarget.style.display="none"}});const T=typeof u=="number"?u:20,w=`<svg width="${T}" height="${T}" 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 _(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:w}}),{"aria-hidden":"true"})}function vh({icon:t,emoji:e,title:a,message:o,hint:r,action:i,compact:s,className:l}){return n.jsxs("div",{className:_e("empty-state",s&&"empty-state--compact",l),children:[e&&n.jsx("span",{className:"empty-state__emoji",children:e}),t&&n.jsx(Re,{icon:t,className:"empty-state__icon"}),a&&n.jsx("p",{className:"empty-state__title body-2",children:a}),o&&n.jsx("p",{className:"empty-state__message body-3",children:o}),r&&n.jsx("p",{className:"empty-state__hint caption-1",children:r}),i&&n.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:i.onClick,children:[i.icon&&n.jsx(Re,{icon:i.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:i.label})]})]})}var I5=".ihabdevteam-core-scope .error-state__icon{color:var(--color-error)}";Q(I5);function yh({message:t,hint:e,icon:a="triangle-alert",onRetry:o,retryLabel:r,className:i}){const{t:s}=ge();return n.jsxs("div",{className:_e("empty-state","error-state",i),role:"alert",children:[n.jsx(Re,{icon:a,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:t??s("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),e&&n.jsx("p",{className:"empty-state__hint caption-1",children:e}),o&&n.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:o,children:[n.jsx(Re,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:r??s("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}var O5=".ihabdevteam-core-scope .action-card{--ac-color:var(--color-main);--ac-color-a10:var(--color-main-a10);aspect-ratio:1/1;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-l);box-shadow:var(--shadow-card);cursor:pointer;display:block;overflow:hidden;transition:transform .2s ease-out,box-shadow .2s ease-out,border-color .2s ease-out;width:100%}.ihabdevteam-core-scope .action-card--sub{--ac-color:var(--color-sub);--ac-color-a10:var(--color-sub-a10)}.ihabdevteam-core-scope .action-card:focus-visible{outline:none}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):focus-visible,.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover{border-color:var(--ac-color);box-shadow:var(--shadow-panel);transform:translateY(-4px)}.ihabdevteam-core-scope .action-card--disabled{cursor:wait;opacity:.6}.ihabdevteam-core-scope .action-card__body{display:flex;flex-direction:column;gap:var(--spacing-m);height:100%;padding:var(--spacing-l)}.ihabdevteam-core-scope .action-card__chip{align-items:center;background:var(--ac-color-a10);border-radius:var(--radius-m);color:var(--ac-color);display:flex;height:64px;justify-content:center;width:64px}.ihabdevteam-core-scope .action-card__text{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .action-card__title{color:var(--color-text-primary);font-size:var(--text-h2-size);font-weight:var(--text-h2-weight-bold);letter-spacing:var(--text-h2-spacing);line-height:var(--text-h2-line);margin:0}.ihabdevteam-core-scope .action-card__desc{color:var(--color-lightGray);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .action-card__cta{align-items:center;color:var(--ac-color);display:flex;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);gap:var(--spacing-xs);justify-content:flex-end;line-height:var(--text-body-2-line);margin-top:auto;padding-right:var(--spacing-s);padding-top:var(--spacing-s)}.ihabdevteam-core-scope .action-card__arrow{display:flex;transition:transform .2s}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover .action-card__arrow{transform:translateX(4px)}";Q(O5);function xh({icon:t,title:e,description:a,cta:o,tone:r="main",disabled:i=!1,onClick:s,className:l=""}){const u=()=>{i||s?.()};return n.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-label":e,onClick:u,onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),u())},className:_e("action-card",`action-card--${r}`,i&&"action-card--disabled",l),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(Re,{icon:t,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{className:"action-card__title",children:e}),n.jsx("p",{className:"action-card__desc",children:a})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{children:o}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(Re,{icon:"arrow-right",size:18})})]})]})})}function Ch({as:t="div",className:e="",children:a,storage:o,...r}){o&&vi({resolveUrl:o.resolveUrl,download:o.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:o.exists,resolvePath:o.resolvePath,noiseBaseUrl:o.noiseBaseUrl});const i=_e("ihabdevteam-core-scope",e);return n.jsx(t,{className:i,...r,children:a})}var z5=".ihabdevteam-core-scope .notice-box{background:var(--color-darkWhite);border-radius:var(--radius-m);color:var(--color-gray);margin:0 auto var(--spacing-page);padding:var(--spacing-l);position:relative;text-align:left}.ihabdevteam-core-scope .notice-box ul{margin:0;padding:0 0 0 18px}.ihabdevteam-core-scope .notice-box__inner{border-radius:var(--radius-s);padding:12px 14px;text-align:left}.ihabdevteam-core-scope .notice-box__title{color:var(--color-darkGray);margin:0 0 10px}.ihabdevteam-core-scope .notice-box__body,.ihabdevteam-core-scope .notice-box__line{color:var(--color-deepGray)}.ihabdevteam-core-scope .notice-box--default{border-color:var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--dashed{background:var(--color-deepWhite);border:1px dashed var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--important{border:1px solid var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .notice-box__dismiss{background:none;border:none;border-radius:var(--radius-xs);color:var(--color-lightGray);cursor:pointer;font-size:18px;line-height:1;padding:2px 6px;position:absolute;right:10px;top:8px;transition:color .12s}.ihabdevteam-core-scope .notice-box__dismiss:hover{color:var(--color-gray)}@media (max-width:767px){.ihabdevteam-core-scope .notice-box,.ihabdevteam-core-scope .notice-box__inner{padding:var(--spacing-s)}}";Q(z5);function _h({title:t="",lines:e=[],notices:a=null,children:o,variant:r="default",dismissible:i=!1,className:s=""}){const{t:l}=ge(),[u,d]=c.useState(!1),h=c.useCallback(()=>d(!0),[]);if(u)return null;const p=`notice-box notice-box--${r} body-2 ${s}`.trim();if(a&&Array.isArray(a)&&a.length)return n.jsx("div",{className:p,role:"note",children:a.map((g,f)=>n.jsxs("div",{className:"notice-box__inner",children:[g.title?n.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,n.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?n.jsx("div",{children:g.lines.map((b,y)=>n.jsx("span",{className:"notice-box__line body-3",children:b},y))}):g.children??null})]},f))});const m=t||e.length?n.jsxs("div",{className:"notice-box__inner",children:[t?n.jsx("span",{className:"notice-box__title body-1",children:t}):null,n.jsx("div",{className:"notice-box__body",children:e.length?n.jsx("ul",{children:e.map((g,f)=>n.jsx("li",{className:"notice-box__line",children:g},f))}):o})]}):n.jsx("div",{className:"notice-box__inner",children:o});return n.jsxs("div",{className:p,role:"note",children:[m,i&&n.jsx("button",{className:"notice-box__dismiss",onClick:h,"aria-label":l("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}var F5=".ihabdevteam-core-scope .button{align-items:center;background:var(--color-white);border:0;border:var(--button-border,0);box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);padding:0 12px;transition:background-color .14s ease,color .14s ease,transform .1s ease,box-shadow .14s ease}.ihabdevteam-core-scope .button__icon,.ihabdevteam-core-scope .button__left,.ihabdevteam-core-scope .button__right{align-items:center;color:inherit;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .button--align-center .button__label,.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:center}.ihabdevteam-core-scope .button__icon{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--small{height:16px;width:16px}.ihabdevteam-core-scope .button__icon--medium{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--large{height:36px;width:36px}.ihabdevteam-core-scope .button__center-group{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .button__center-group .button__label{display:inline-block;flex:0 1 auto;text-align:center}.ihabdevteam-core-scope .button__label{display:block;white-space:normal}.ihabdevteam-core-scope .button__label-text{align-items:center;display:inline-flex;justify-content:center;max-width:100%;vertical-align:middle;white-space:normal;word-break:break-word}.ihabdevteam-core-scope .button__label-text--has-sub{flex-direction:column;gap:3px}.ihabdevteam-core-scope .button__count{color:var(--color-main);font-weight:700;margin-left:4px}.ihabdevteam-core-scope .button--variant-main .button__count,.ihabdevteam-core-scope .is-selected .button__count,.ihabdevteam-core-scope [aria-pressed=true] .button__count{color:#fff}.ihabdevteam-core-scope .button__label:has(>.button__label-text+.button__label-text){gap:5px}.ihabdevteam-core-scope .button__sub-label-text{color:var(--button-subLabel-color,var(--color-gray));display:block}.ihabdevteam-core-scope .button__icon-img{display:block;height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.ihabdevteam-core-scope .button__icon-mask{background-color:currentColor;display:block;height:100%;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:100%}.ihabdevteam-core-scope .button__icon-svg{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .button__icon-svg svg{display:block;height:100%;width:100%}.ihabdevteam-core-scope .button__icon-svg svg,.ihabdevteam-core-scope .button__icon-svg svg *{fill:currentColor;stroke:currentColor}.ihabdevteam-core-scope .button .button__label{color:currentColor;color:var(--button-text-color,currentColor);min-height:20px;min-width:20px}.ihabdevteam-core-scope .button .button__icon,.ihabdevteam-core-scope .button .button__left,.ihabdevteam-core-scope .button .button__right{color:currentColor;color:var(--button-icon-color,currentColor)}.ihabdevteam-core-scope .button--align-left{justify-content:flex-start}.ihabdevteam-core-scope .button--align-center{justify-content:center}.ihabdevteam-core-scope .button--align-right{justify-content:flex-end}.ihabdevteam-core-scope .button--align-left .button__label{align-items:center;display:inline-flex;flex:1 1 auto}.ihabdevteam-core-scope .button--align-left .button__label-text{justify-content:flex-start;text-align:left}.ihabdevteam-core-scope .button--align-center .button__label{align-items:center;display:flex;flex:1 1 auto;justify-content:center;text-align:center}.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:right}.ihabdevteam-core-scope .button--align-grid{justify-content:center}.ihabdevteam-core-scope .button--align-grid .button__label{display:grid;flex:1 1 auto;grid-auto-columns:1fr;grid-auto-flow:column;text-align:center}.ihabdevteam-core-scope .button.button--no-bg{background:transparent;border-color:transparent}.ihabdevteam-core-scope .button--variant-danger{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-error))}.ihabdevteam-core-scope .button--variant-danger:focus-visible,.ihabdevteam-core-scope .button--variant-danger:hover{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-error-a10);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-danger.is-selected,.ihabdevteam-core-scope .button--variant-danger[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-error);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-default{--button-text-color:var(--color-darkGray);--button-icon-color:var(--color-lightGray);--button-subLabel-color:var(--color-gray);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-whiteLine))}.ihabdevteam-core-scope .button--variant-default:focus-visible,.ihabdevteam-core-scope .button--variant-default:hover{--button-text-color:var(--color-black);--button-icon-color:var(--color-main);--button-subLabel-color:var(--color-black);background:var(--color-white);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-default.is-selected,.ihabdevteam-core-scope .button--variant-default[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-main);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-main{--button-subLabel-color:var(--color-white-a80);background:var(--color-main);border:var(--button-border,1px solid var(--color-main));color:#fff}.ihabdevteam-core-scope .button--variant-main:focus-visible,.ihabdevteam-core-scope .button--variant-main:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);border-color:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-main.is-selected,.ihabdevteam-core-scope .button--variant-main[aria-pressed=true]{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-sub{--button-subLabel-color:var(--color-white-a80);background:var(--color-primary,var(--color-sub));color:#fff}.ihabdevteam-core-scope .button--variant-sub:focus-visible,.ihabdevteam-core-scope .button--variant-sub:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-uiAccent);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white{--button-subLabel-color:var(--color-white-a60);background:transparent;border:var(--button-border,1px solid var(--color-white-a80));color:#fbfdff}.ihabdevteam-core-scope .button--variant-transparent-white:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-white:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-white-a10);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white.is-selected,.ihabdevteam-core-scope .button--variant-transparent-white[aria-pressed=true]{--button-subLabel-color:var(--color-lightGray);background:var(--color-white);color:var(--color-main)}.ihabdevteam-core-scope .button--variant-transparent-gray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-gray-a80));color:var(--color-gray-a80)}.ihabdevteam-core-scope .button--variant-transparent-gray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-gray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-gray-a10);color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-lightGray-a80));color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-lightGray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-lightGray-a10);color:var(--color-deepGray)}.ihabdevteam-core-scope .button--variant-disabled{--button-subLabel-color:var(--color-disabled);background-color:transparent;border:var(--button-border,1px solid var(--color-whiteLine));color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled .button__icon,.ihabdevteam-core-scope .button--variant-disabled .button__left,.ihabdevteam-core-scope .button--variant-disabled .button__right{color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled-covered{background-color:var(--color-darkWhite);border:var(--button-border,1px solid var(--color-darkWhite));border-color:var(--color-whiteLine);color:transparent}.ihabdevteam-core-scope .button--variant-disabled-covered .button__icon,.ihabdevteam-core-scope .button--variant-disabled-covered .button__left,.ihabdevteam-core-scope .button--variant-disabled-covered .button__right{color:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded,.ihabdevteam-core-scope .button--variant-disabled-invisibled{background:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded .button__icon,.ihabdevteam-core-scope .button--variant-disabled-faded .button__left,.ihabdevteam-core-scope .button--variant-disabled-faded .button__right,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__icon,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__label,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__left,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__right{color:transparent}.ihabdevteam-core-scope .button:disabled,.ihabdevteam-core-scope .button[disabled]{cursor:default;pointer-events:none}.ihabdevteam-core-scope .button--shape-rounded{border-radius:8px!important;border-radius:var(--button-rounded-radius,8px)!important}.ihabdevteam-core-scope .button--shape-pill{border-radius:9999px!important}.ihabdevteam-core-scope .button72{--button-rounded-radius:18px;border-radius:36px;height:72px;justify-content:center}.ihabdevteam-core-scope .button72--bar{min-width:220px}.ihabdevteam-core-scope .button72--dot{padding:0;width:72px}.ihabdevteam-core-scope .button56{--button-rounded-radius:14px;border-radius:28px;height:56px;justify-content:center}.ihabdevteam-core-scope .button56--bar{min-width:190px}.ihabdevteam-core-scope .button56--dot{padding:0;width:56px}.ihabdevteam-core-scope .button52{--button-rounded-radius:13px;border-radius:26px;height:52px;justify-content:center}.ihabdevteam-core-scope .button52--bar{min-width:175px}.ihabdevteam-core-scope .button52--dot{padding:0;width:52px}.ihabdevteam-core-scope .button48{--button-rounded-radius:12px;border-radius:24px;height:48px;justify-content:center}.ihabdevteam-core-scope .button48--bar{min-width:160px}.ihabdevteam-core-scope .button48--dot{padding:0;width:48px}.ihabdevteam-core-scope .button40{--button-rounded-radius:10px;border-radius:20px;height:40px;justify-content:center}.ihabdevteam-core-scope .button40--bar{min-width:100px}.ihabdevteam-core-scope .button40--dot{padding:0;width:40px}.ihabdevteam-core-scope .button40 .button__icon,.ihabdevteam-core-scope .button40--bar .button__icon,.ihabdevteam-core-scope .button40--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:16px;height:32px;justify-content:center}.ihabdevteam-core-scope .button32--bar{min-width:72px}.ihabdevteam-core-scope .button32--dot{padding:0;width:32px}.ihabdevteam-core-scope .button32 .button__icon,.ihabdevteam-core-scope .button32--bar .button__icon,.ihabdevteam-core-scope .button32--dot .button__icon{height:18px;width:18px}.ihabdevteam-core-scope .button28{--button-rounded-radius:7px;border-radius:14px;height:28px;justify-content:center}.ihabdevteam-core-scope .button28--bar{min-width:60px}.ihabdevteam-core-scope .button28--dot{padding:0;width:28px}.ihabdevteam-core-scope .button28 .button__icon,.ihabdevteam-core-scope .button28--bar .button__icon,.ihabdevteam-core-scope .button28--dot .button__icon{height:16px;width:16px}.ihabdevteam-core-scope .button24{--button-rounded-radius:6px;border-radius:12px;height:24px;justify-content:center}.ihabdevteam-core-scope .button24--bar{min-width:48px}.ihabdevteam-core-scope .button24--dot{padding:0;width:24px}.ihabdevteam-core-scope .button24 .button__icon,.ihabdevteam-core-scope .button24--bar .button__icon,.ihabdevteam-core-scope .button24--dot .button__icon{height:14px;width:14px}.ihabdevteam-core-scope .button-keyboard{border-radius:12px;height:32px;justify-content:center}.ihabdevteam-core-scope .button-keyboard--bar{min-width:32px;padding:0 12px}.ihabdevteam-core-scope .button-keyboard--dot{padding:0;width:32px}.ihabdevteam-core-scope .button-word{border-radius:12px;height:72px;justify-content:center;padding:0 16px}.ihabdevteam-core-scope .button-word--bar{min-width:120px}.ihabdevteam-core-scope .button-word--dot{padding:0;width:72px}@media (max-width:1024px){.ihabdevteam-core-scope .button56{--button-rounded-radius:13px;border-radius:25px;height:50px}.ihabdevteam-core-scope .button56--bar{min-width:170px}.ihabdevteam-core-scope .button56--dot{width:50px}.ihabdevteam-core-scope .button48{--button-rounded-radius:11px;border-radius:22px;height:44px}.ihabdevteam-core-scope .button48--bar{min-width:140px}.ihabdevteam-core-scope .button48--dot{width:44px}.ihabdevteam-core-scope .button40{--button-rounded-radius:9px;border-radius:18px;height:36px}.ihabdevteam-core-scope .button40--bar{min-width:88px}.ihabdevteam-core-scope .button40--dot{width:36px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:15px;height:30px}.ihabdevteam-core-scope .button32--bar{min-width:64px}.ihabdevteam-core-scope .button32--dot{width:30px}.ihabdevteam-core-scope .button24--bar{min-width:44px}}@media (max-width:768px){.ihabdevteam-core-scope .button56{--button-rounded-radius:12px;border-radius:23px;height:46px}.ihabdevteam-core-scope .button56--bar{min-width:150px}.ihabdevteam-core-scope .button56--dot{width:46px}.ihabdevteam-core-scope .button56 .button__icon,.ihabdevteam-core-scope .button56--bar .button__icon,.ihabdevteam-core-scope .button56--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button48{--button-rounded-radius:10px;border-radius:20px;height:40px}.ihabdevteam-core-scope .button48--bar{min-width:120px}.ihabdevteam-core-scope .button48--dot{width:40px}.ihabdevteam-core-scope .button48 .button__icon,.ihabdevteam-core-scope .button48--bar .button__icon,.ihabdevteam-core-scope .button48--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button40{--button-rounded-radius:8px;border-radius:17px;height:34px}.ihabdevteam-core-scope .button40--bar{min-width:80px}.ihabdevteam-core-scope .button40--dot{width:34px}.ihabdevteam-core-scope .button32{--button-rounded-radius:7px;border-radius:14px;height:28px}.ihabdevteam-core-scope .button32--bar{min-width:60px}.ihabdevteam-core-scope .button32--dot{width:28px}.ihabdevteam-core-scope .button24--bar{min-width:40px}}";Q(F5);var W5=".ihabdevteam-core-scope .tooltip-content{animation:tooltip-pop .2s cubic-bezier(.2,.9,.2,1) both;background-color:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);box-sizing:border-box;pointer-events:auto;position:absolute;transform-origin:left center;white-space:normal;will-change:transform,opacity;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content--bordered{border:1px solid var(--color-whiteLine)}.ihabdevteam-core-scope .tooltip-content.tooltip-description,.ihabdevteam-core-scope .tooltip-content.tooltip-info,.ihabdevteam-core-scope .tooltip-content.tooltip-training{background:transparent;box-shadow:none}.ihabdevteam-core-scope .tooltip-content__header{align-items:center;color:var(--color-gray);display:flex;height:40px;padding:0 2px 10px}.ihabdevteam-core-scope .tooltip-content.is-closing{opacity:0;transition:opacity .2s ease,transform .2s ease}.ihabdevteam-core-scope .tooltip-content[data-placement=top]{transform:translateY(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=bottom]{transform:translateY(6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=left]{transform:translateX(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=right]{transform:translateX(6px)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=top]{transform:translateY(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=bottom]{transform:translateY(6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=left]{transform:translateX(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=right]{transform:translateX(6px) scale(.98)}.ihabdevteam-core-scope .tooltip--hidden{display:none}@keyframes tooltip-pop{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes tooltip-fade-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-6px) scale(.98)}}.ihabdevteam-core-scope .tooltip-backdrop{background:var(--color-popupBlock);inset:0;position:fixed;z-index:calc(var(--z-tooltip) - 1)}.ihabdevteam-core-scope .tooltip-portal{inset:0;position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content.is-mobile{left:50%!important;max-width:calc(100% - 40px)!important;top:50%!important;transform:translate(-50%,-50%)!important;visibility:visible!important;width:calc(100% - 40px)!important;z-index:var(--z-tooltip)!important}.ihabdevteam-core-scope .tooltip-content .tooltip-close{display:inline-flex;position:absolute;right:6px;top:6px;z-index:2}.ihabdevteam-core-scope .tooltip-content .tooltip-close .button{box-shadow:none}";Q(W5);function Ta(t){const{anchorRect:e,anchorEl:a,offset:o=20,edgeMargin:r=20,onClose:i,closeOnOutsideClick:s=!0,className:l="",role:u="dialog",ariaLabel:d="",children:h,backdrop:p=!1,isMobilePopup:m=!1,useBorder:g=!0,header:f}=t||{},b=c.useRef(null),[y,v]=c.useState({position:"fixed",left:0,top:-9999}),[x,_]=c.useState(!1),[C,T]=c.useState("bottom"),[w,S]=c.useState(!1),[D,A]=c.useState(!1),N=!e&&!a,O=c.useCallback((L=!1)=>{if(D&&m)return;const z=a?a.getBoundingClientRect():e;if(!z||!b.current)return;const te=b.current,{offsetWidth:J,offsetHeight:ae}=te,M=window.innerWidth,R=window.innerHeight,$=M-z.right,F=z.left,I=z.top,q=R-z.bottom;let P=0,H=0,V="top";if(I>=ae+o)V="top",H=z.top-o-ae,P=z.left+z.width/2-J/2;else if(q>=ae+o)V="bottom",H=z.bottom+o,P=z.left+z.width/2-J/2;else if($>=J+o)V="right",P=z.right+o,H=z.top+z.height/2-ae/2;else if(F>=J+o)V="left",P=z.left-o-J,H=z.top+z.height/2-ae/2;else{const he=Math.max(I,q,$,F);he===I?(V="top",H=z.top-o-ae,P=z.left+z.width/2-J/2):he===q?(V="bottom",H=z.bottom+o,P=z.left+z.width/2-J/2):he===$?(V="right",P=z.right+o,H=z.top+z.height/2-ae/2):(V="left",P=z.left-o-J,H=z.top+z.height/2-ae/2)}const U=Number(r)||8;P=Math.min(Math.max(P,U),M-J-U),H=Math.min(Math.max(H,U),R-ae-U);const ee=Math.round(P),pe=Math.round(H);L&&b.current?(b.current.style.left=`${ee}px`,b.current.style.top=`${pe}px`,b.current.dataset.placement=V):(T(V||C),v({position:"fixed",left:ee,top:pe}),S(!0))},[D,m,a,e,o,r,C]);c.useLayoutEffect(()=>{if(N)return;if(D&&m){v({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),S(!0);return}O();const L=requestAnimationFrame(()=>O());return()=>cancelAnimationFrame(L)},[e,a,o,h,r,N,D,m,O]),c.useEffect(()=>{if(N||D&&m||!b.current||typeof ResizeObserver>"u")return;const L=new ResizeObserver(()=>{e&&O()});return L.observe(b.current),()=>L.disconnect()},[e,h,r,N,D,m,O]),c.useEffect(()=>{if(N||D&&m)return;const L=()=>O(!0);return window.addEventListener("resize",L),document.addEventListener("scroll",L,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",L),document.removeEventListener("scroll",L,{capture:!0})}},[e,o,h,r,N,D,m,O]),c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const L=window.matchMedia("(max-width: 768px)"),z=()=>A(!!L.matches);z();try{L.addEventListener?L.addEventListener("change",z):L.addListener(z)}catch{try{L.addListener(z)}catch{}}return()=>{try{L.removeEventListener?L.removeEventListener("change",z):L.removeListener(z)}catch{}}},[]);const j=c.useRef(!1),k=c.useCallback((L=!1)=>{if(!(x||j.current)){if(j.current=!0,L){_(!0);try{i&&i()}catch{}return}_(!0),setTimeout(()=>{i&&i()},200)}},[x,i,_]);c.useEffect(()=>{const L=J=>{const ae=b.current;if(!ae)return;const M=J.target;if(M&&!ae.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}s&&k(!0)}},z=J=>{const ae=b.current;if(!ae)return;const M=J.target;if(M&&!ae.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}s&&k(!0)}},te=J=>{if(J.key==="Escape"){J.stopPropagation(),k();return}if(J.key==="Tab"){const ae=b.current;if(!ae)return;const M=ae.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!M||M.length===0)return;const R=M[0],$=M[M.length-1],F=document.activeElement;J.shiftKey?F===R&&(J.preventDefault(),$.focus()):F===$&&(J.preventDefault(),R.focus())}};return document.addEventListener("pointerdown",L,!0),document.addEventListener("click",z,!0),document.addEventListener("keydown",te),()=>{document.removeEventListener("pointerdown",L,!0),document.removeEventListener("click",z,!0),document.removeEventListener("keydown",te)}},[i,s,k]),c.useEffect(()=>{const L=()=>{k(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",L),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",L)}},[k]);const E=n.jsxs("div",{ref:b,className:`tooltip-content ${g?"tooltip-content--bordered":""} ${x?"is-closing":""} ${l} ${D&&m?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:N?{}:{...y,visibility:w?"visible":"hidden"},tabIndex:-1,"data-placement":C,"data-left":N?"":y.left,"data-top":N?"":y.top,"data-anchor-left":e?Math.round(e.left):"","data-anchor-top":e?Math.round(e.top):"","data-anchor-width":e?Math.round(e.width):"","data-anchor-height":e?Math.round(e.height):"",children:[f!=null&&n.jsx("div",{className:"tooltip-content__header h5",children:f}),h]});if(N||typeof document>"u")return E;if(p||D&&m){const L=n.jsxs("div",{className:"tooltip-portal",children:[n.jsx("div",{className:"tooltip-backdrop",onClick:()=>{s&&k(!0)}}),E]});return Yt.createPortal(L,document.body)}return Yt.createPortal(E,document.body)}var H5='.ihabdevteam-core-scope .tooltip-info__content{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-main);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);color:var(--color-black);display:inline-flex;justify-content:center;line-height:1;overflow:hidden;padding:4px 12px;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .tooltip-content.tooltip-info{pointer-events:none}.ihabdevteam-core-scope .tooltip-content.tooltip-info .tooltip-info__content{box-shadow:var(--shadow-tooltip)}.ihabdevteam-core-scope .tooltip-info[data-placement=bottom] .tooltip-info__content:after,.ihabdevteam-core-scope .tooltip-info[data-placement=top] .tooltip-info__content:after{content:"";height:0;margin:0;padding:0;position:absolute;width:0}';Q(H5);function Na(t){const{anchorRect:e,text:a,offset:o=8,onClose:r,className:i="",ariaLabel:s}=t||{};return a?n.jsx(Ta,{anchorRect:e,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:s||a,children:n.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}var V5=".ihabdevteam-core-scope .tooltip-description__box{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);display:flex;flex-direction:column;gap:10px;max-width:640px;padding:16px 20px}.ihabdevteam-core-scope .tooltip-description__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .tooltip-description__items{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .tooltip-description__item{align-items:flex-start;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs);margin:0}.ihabdevteam-core-scope .tooltip-description__index{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .tooltip-description__item--active{color:var(--color-main);font-weight:600}.ihabdevteam-core-scope .tooltip-description__item--active .tooltip-description__index{color:var(--color-main)}";Q(V5);function no(t){const{anchorRect:e,title:a,items:o,activeIndex:r=-1,showIndex:i=!0,onClose:s,offset:l=12}=t||{},u=Array.isArray(o)?o:o?[o]:[];return!u.length&&!a?null:n.jsx(Ta,{anchorRect:e,offset:l,onClose:s,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:n.jsxs("div",{className:"tooltip-description__box",children:[a&&n.jsx("span",{className:"tooltip-description__title body-2",children:a}),n.jsx("ol",{className:"tooltip-description__items",children:u.map((d,h)=>n.jsxs("li",{className:`tooltip-description__item body-3${h===r?" tooltip-description__item--active":""}`,children:[i&&u.length>1&&n.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),n.jsx("span",{children:d})]},h))})]})})}function se(t){const{size:e=48,type:a,htmlType:o,href:r,target:i,rel:s,icon:l,rightIcon:u,label:d,count:h,subLabel:p,children:m,ariaLabel:g,variant:f="default",align:b="center",selected:y,toggleable:v=!1,disabled:x=!1,useLabel:_=!0,useBorder:C=!0,useBG:T=!0,useDisabledCovered:w=!1,useDisabledInvisible:S=!1,width:D,minWidth:A,onClick:N,onDisabledClick:O,showTooltipInfo:j=!1,tooltipInfoText:k=null,tooltipDescription:E=null,iconSize:L="medium",iconColor:z,shape:te="rounded",color:J,className:ae,...M}=t,R=typeof e=="string"&&isNaN(Number(e))?e.toLowerCase():String(Number(e)||48),$=R.match(/^\d+$/)?`button${R}`:`button-${R}`,F=Number(e),I=!isNaN(F)&&F<40?"button-2":"button-1",q=d??m,P=x||!!M.disabled,H=P?w?"disabled-covered":S?"disabled-invisibled":"disabled":f,V=H?`button--variant-${H}`:"",U=b?`button--align-${b}`:"",ee=te?`button--shape-${te}`:"",pe=typeof z=="string"&&z.startsWith("--")?`var(${z})`:z,he={...D?{width:typeof D=="number"?`${D}px`:D}:{},...A?{minWidth:typeof A=="number"?`${A}px`:A}:{},...C?{}:{"--button-border":P?"0":"1px solid transparent"},...pe?{"--button-icon-color":pe}:{},...J?{"--color-main":J}:{}},oe=_===!1?"":q,X=Array.isArray(oe)?oe.length>0:!!oe,de=!!u,Ce=a??(X||l||de?"bar":"dot"),Z=`${$}--${Ce}`,le=c.useRef(null),G=c.useRef(P),[ce,be]=c.useState(!!y),[De,Ie]=c.useState(!1),[We,He]=c.useState(null),$e=c.useCallback(()=>Ie(!1),[]);c.useEffect(()=>{(j||E)&&P&&De&&(Ie(!1),He(null))},[P,j,E,De]),c.useEffect(()=>{typeof y=="boolean"&&be(y)},[y]),c.useEffect(()=>{if(G.current&&!P&&le.current){const Pe=le.current;Pe.blur(),Pe.style.pointerEvents="none";const Xe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{le.current&&(le.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Xe)}G.current=P},[P]);const rt=typeof y=="boolean"?!!y:ce,Oe=v||typeof y=="boolean"?rt?"true":"false":void 0,Ge=_e("button",$,Z,V,U,ee,rt?"is-selected":null,T?null:"button--no-bg",ae),Fe=`button__icon button__icon--${L}`,fe=Array.isArray(p)?p:p!==void 0?[p]:[],nt=()=>{if(Array.isArray(oe))return oe.map((Xe,et)=>{const Ct=fe[et];return n.jsxs("span",{className:`button__label-text${Ct!==void 0?" button__label-text--has-sub":""}`,children:[Xe,Ct!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:Ct})]},et)});const Pe=p!==void 0;return n.jsxs("span",{className:`button__label-text${Pe?" button__label-text--has-sub":""}`,children:[oe,h!=null&&n.jsx("span",{className:"button__count",children:h}),Pe&&n.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},qe=Pe=>{P||(typeof M.onMouseLeave=="function"&&M.onMouseLeave(Pe),typeof y!="boolean"&&be(!1),Pe.currentTarget.blur())},Me=Pe=>{if(P){O?.(Pe);return}typeof y!="boolean"&&v&&be(Xe=>!Xe),N?.(Pe)},Ke=c.useCallback(()=>{!P&&(j||E)&&(Ie(!0),He(le.current?.getBoundingClientRect()??null))},[P,j,E]),Lt=c.useCallback(()=>{(j||E)&&(Ie(!1),He(null))},[j,E]),Ze={...M};delete Ze.disabled,delete Ze.className,delete Ze.faded,delete Ze.useFaded,delete Ze.loading,delete Ze.onMouseLeave,delete Ze.onPointerEnter,delete Ze.onPointerLeave,delete Ze.onFocus,delete Ze.onBlur,P&&(Object.keys(Ze).forEach(Pe=>{/^on[A-Z]/.test(Pe)&&typeof Ze[Pe]=="function"&&delete Ze[Pe]}),Ze["aria-disabled"]="true");const Ye=(typeof j=="string"?j:null)??(typeof k=="string"?k:null)??(typeof g=="string"?g:null)??(typeof q=="string"?q:null)??void 0,ht=typeof g=="string"?g:typeof q=="string"?q:Ye,Le=(Pe,Xe)=>n.jsx(Re,{icon:Pe,label:Xe??ht,className:Fe,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),ot=()=>Ce==="dot"?n.jsxs(n.Fragment,{children:[Le(l),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()})]}):b==="center"&&l?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:Le(l)}),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()})]}),de&&n.jsx("span",{className:"button__right",children:Le(u)})]}):n.jsxs(n.Fragment,{children:[l&&n.jsx("span",{className:"button__left",children:Le(l,g??q)}),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()}),de&&n.jsx("span",{className:"button__right",children:Le(u)})]}),Qe=!!r&&!P;return n.jsxs(n.Fragment,{children:[n.jsx(Qe?"a":"button",{...Ze,ref:le,...Qe?{href:r,target:i,rel:s??(i==="_blank"?"noreferrer":void 0)}:{type:o,disabled:P&&!O},className:Ge,"aria-pressed":Oe,"aria-label":ht,"aria-disabled":Qe&&P?!0:void 0,style:he,onClick:Me,onMouseLeave:qe,onPointerEnter:Pe=>{Ke(),!P&&typeof M.onPointerEnter=="function"&&M.onPointerEnter(Pe)},onPointerLeave:Pe=>{Lt(),!P&&typeof M.onPointerLeave=="function"&&M.onPointerLeave(Pe)},onFocus:Pe=>{Ke(),!P&&typeof M.onFocus=="function"&&M.onFocus(Pe)},onBlur:Pe=>{qe(Pe),Lt(),!P&&typeof M.onBlur=="function"&&M.onBlur(Pe)},children:ot()}),De&&E?n.jsx(no,{anchorRect:We,title:E.title,items:E.items,onClose:$e}):De&&Ye?n.jsx(Na,{anchorRect:We,text:Ye,onClose:$e}):null]})}function dt(t,e,a){const o=c.useRef(null);return c.useLayoutEffect(()=>{const r=o.current?.parentElement??null;return e(r,t),()=>a(r)},[t,e,a]),o}var G5=".ihabdevteam-core-scope .promo-banner-bg{border-radius:inherit;inset:0;pointer-events:none;position:absolute}";Q(G5);var q5=".ihabdevteam-core-scope .promo-banner-bg-main{background:linear-gradient(45deg,var(--color-main),var(--color-sub))}";Q(q5);const So={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},Fs=new WeakMap;function Ws(t){if(t)return Fs.get(t)}function Bt(t,e){t&&(t.style.setProperty(So.title,e.title),t.style.setProperty(So.description,e.description),Fs.set(t,e))}function Et(t){t&&(t.style.removeProperty(So.title),t.style.removeProperty(So.description),Fs.delete(t))}const Hs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function Vs(){const t=dt(Hs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}var U5=".ihabdevteam-core-scope .promo-banner-bg-soft{background:var(--color-main-a10)}";Q(U5);const Gs={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function qs(){const t=dt(Gs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}var Y5=".ihabdevteam-core-scope .promo-banner-bg-sub{background:var(--color-sub)}";Q(Y5);const Us={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Ys(){const t=dt(Us,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}var K5=".ihabdevteam-core-scope .promo-banner-bg-deep{background:linear-gradient(135deg,var(--color-darkMain),var(--color-darkSub))}";Q(K5);const Ks={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Zs(){const t=dt(Ks,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}var Z5=".ihabdevteam-core-scope .promo-banner-bg-soft-sub{background:var(--color-sub-a10)}";Q(Z5);const Xs={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Js(){const t=dt(Xs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}var X5=".ihabdevteam-core-scope .promo-banner-bg-warm{background:var(--color-warn)}";Q(X5);const Qs={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function el(){const t=dt(Qs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}var J5=".ihabdevteam-core-scope .promo-banner-bg-dark{background:var(--color-lightBlack)}";Q(J5);const tl={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function al(){const t=dt(tl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}var Q5=".ihabdevteam-core-scope .promo-banner-bg-radial{background:radial-gradient(circle at 15% 20%,var(--color-main) 0,var(--color-sub) 100%)}";Q(Q5);const ol={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function rl(){const t=dt(ol,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}var e3=".ihabdevteam-core-scope .promo-banner-bg-diagonal{background-color:var(--color-lightMain);background-image:repeating-linear-gradient(45deg,var(--color-main-a10) 0,var(--color-main-a10) 10px,transparent 10px,transparent 20px)}";Q(e3);const nl={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function il(){const t=dt(nl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}var t3=".ihabdevteam-core-scope .promo-banner-bg-dots{background-color:var(--color-lightSub);background-image:radial-gradient(var(--color-sub-a10) 2px,transparent 2px);background-size:14px 14px}";Q(t3);const sl={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function ll(){const t=dt(sl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}var a3=".ihabdevteam-core-scope .promo-banner-bg-outline{background:var(--color-white);border:1px solid var(--color-whiteLine);box-sizing:border-box}.ihabdevteam-core-scope .promo-banner-bg-outline__dot{background:linear-gradient(45deg,var(--color-main),var(--color-sub));border-radius:50%;bottom:-40px;height:140px;opacity:.12;position:absolute;right:-40px;width:140px}";Q(a3);const cl={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function dl(){const t=dt(cl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:n.jsx("span",{className:"promo-banner-bg-outline__dot"})})}var o3=".ihabdevteam-core-scope .promo-banner-bg-success{background:var(--color-success)}";Q(o3);const ul={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function pl(){const t=dt(ul,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}var r3=".ihabdevteam-core-scope .promo-banner-bg-naver{background:linear-gradient(90deg,#03c75a 0,var(--color-main) 100%)}";Q(r3);const hl={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function ml(){const t=dt(hl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}var n3=".ihabdevteam-core-scope .promo-banner-bg-instagram{background:linear-gradient(45deg,#f9ce34,#ee2a7b 50%,#6228d7)}";Q(n3);const gl={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function bl(){const t=dt(gl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const wh=[{key:"main",label:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"soft",label:"\uC18C\uD504\uD2B8",textTone:"dark"},{key:"sub",label:"\uC11C\uBE0C \uCEEC\uB7EC",textTone:"light"},{key:"deep",label:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"softSub",label:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",textTone:"dark"},{key:"warm",label:"\uC6DC(\uAC15\uC870)",textTone:"dark"},{key:"dark",label:"\uB2E4\uD06C",textTone:"light"},{key:"radial",label:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"diagonal",label:"\uB300\uAC01\uC120 \uD328\uD134",textTone:"dark"},{key:"dots",label:"\uB3C4\uD2B8 \uD328\uD134",textTone:"dark"},{key:"outline",label:"\uC544\uC6C3\uB77C\uC778",textTone:"dark"},{key:"success",label:"\uC131\uACF5/\uC644\uB8CC",textTone:"light"},{key:"naver",label:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",textTone:"light"},{key:"instagram",label:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4",textTone:"light"}],fl={main:Vs,soft:qs,sub:Ys,deep:Zs,softSub:Js,warm:el,dark:al,radial:rl,diagonal:il,dots:ll,outline:dl,success:pl,naver:ml,instagram:bl};function gn({storageKey:t="fontScale",baseFont:e=20,minScale:a=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:i=1.4}={}){const s=y=>Math.max(a,Math.min(o,Number(y))),[l,u]=c.useState(()=>{try{const y=localStorage.getItem(t),v=y?Number(y):1;return Number.isFinite(v)?v:1}catch{return 1}});c.useEffect(()=>{try{localStorage.setItem(t,String(l))}catch{}},[t,l]);const d=y=>{u(typeof y=="function"?v=>s(y(v)):s(y))},h=()=>d(y=>+(y+r).toFixed(6)),p=()=>d(y=>+(y-r).toFixed(6)),m=l<o-Number.EPSILON,g=l>a+Number.EPSILON,f=Math.round(e*l),b=Math.round(f*i);return{scale:l,setScale:d,increase:h,decrease:p,canIncrease:m,canDecrease:g,fontSize:f,lineHeight:b}}const bn=c.createContext(null);function i3(t){return/max-width:\s*7[0-9][0-9]px/.test(t)}function ra(t){const e=c.useContext(bn),a=i=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(i).matches,[o,r]=c.useState(a(t));return c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const i=window.matchMedia(t),s=u=>r(u.matches),l=i;return l.addEventListener?l.addEventListener("change",s):l.addListener&&l.addListener(s),r(i.matches),()=>{l.removeEventListener?l.removeEventListener("change",s):l.removeListener&&l.removeListener(s)}},[t]),e&&typeof e.mobile=="boolean"&&i3(t)?e.mobile:o}function kh(t){const e=c.useRef(t);return c.useEffect(()=>{e.current=t}),e}function br(t,e){const a=kh(e);c.useEffect(()=>{const o=()=>a.current();try{window.addEventListener(t,o)}catch{}return()=>{try{window.removeEventListener(t,o)}catch{}}},[t,a])}const vl=" \xB7 ",Sh=(()=>{if(typeof document>"u")return"";const t=document.title;return t.includes(vl)?t.split(vl).pop()??t:t})(),yl=c.createContext(!1);function xl(t){const e=c.useContext(yl);c.useEffect(()=>{if(e||typeof t!="string"||!t)return;const a=document.title;return document.title=Sh?`${t}${vl}${Sh}`:t,()=>{document.title=a}},[t,e])}function Ah(){const{t}=ge();return c.useCallback(e=>{if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const o=Math.floor((Date.now()-a)/864e5);return o<=0?t("myHomework.relativeDay.today","\uC624\uB298"):o===1?t("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):t("myHomework.relativeDay.daysAgo",{n:o})},[t])}function Th(t){const[e,a]=c.useState({current:"",next:"",confirm:""}),[o,r]=c.useState(null),[i,s]=c.useState(!1),l=c.useRef(null);c.useEffect(()=>()=>{l.current!==null&&clearTimeout(l.current)},[]);const u=c.useCallback(()=>{a({current:"",next:"",confirm:""}),r(null)},[]),d=c.useCallback(async()=>{if(!e.current){r({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!e.next){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(e.next!==e.confirm){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}s(!0);const h=t?await t(e.current,e.next):null;if(s(!1),h){r({type:"error",text:h});return}r({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),a({current:"",next:"",confirm:""}),l.current!==null&&clearTimeout(l.current),l.current=setTimeout(()=>r(null),1500)},[e,t]);return{pw:e,setPw:a,pwMsg:o,setPwMsg:r,pwLoading:i,handleChangePw:d,reset:u}}const Cl=[{id:"wordData",labelKey:"settings.cache.group.wordData.label",subKey:"settings.cache.group.wordData.sub",keys:["word_data_cache","word_data_version"]},{id:"pairIndex",labelKey:"settings.cache.group.pairIndex.label",subKey:"settings.cache.group.pairIndex.sub",keys:["word_pair_index_v2","word_pair_index_sig_v2"]},{id:"imageCache",labelKey:"settings.cache.group.imageCache.label",subKey:"settings.cache.group.imageCache.sub",keys:["word_image_existence_map_v1"]}];function _l(t){return t.reduce((e,a)=>{try{const o=localStorage.getItem(a);return e+(o?new Blob([o]).size:0)}catch{return e}},0)}function Nh(t){return t===0?"0 B":t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:t<1024*1024*1024?`${(t/(1024*1024)).toFixed(2)} MB`:`${(t/(1024*1024*1024)).toFixed(2)} GB`}function Bh(t){const{t:e}=ge(),[a,o]=c.useState({}),[r,i]=c.useState(null),[s,l]=c.useState(null),[u,d]=c.useState(null),h=c.useCallback(()=>{const m={};Cl.forEach(g=>{m[g.id]=_l([...g.keys])}),o(m),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(g=>{d({usage:g.usage??0,quota:g.quota??0})}).catch(()=>{})},[]);c.useEffect(()=>{h()},[h]);const p=c.useCallback(async m=>{i(m);try{m==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):m==="pairIndex"?Oi():m==="imageCache"&&Ti(),h(),t?.(e("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{i(null)}},[h,t,e]);return{cacheSizes:a,clearingId:r,confirmCacheId:s,setConfirmCacheId:l,storageEstimate:u,refreshCacheSizes:h,handleClearCache:p}}function Eh(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),i=c.useCallback(()=>{const s=Qa();if(s){const u=Object.values(s),d=u.filter(h=>h.cho.length+h.jung.length+h.jong.length>0).length;a({matched:d,total:u.length})}else a(null);const l=Hr();r(l?{exists:l.exists,total:l.total}:null)},[]);return c.useEffect(()=>{i();const s=setTimeout(i,1e3);return()=>clearTimeout(s)},[t,i]),{pairStats:e,imgStats:o,setPairStats:a,setImgStats:r,refreshStats:i}}function Dh(t,e=[]){const[a,o]=c.useState(e),[r,i]=c.useState(null),[s,l]=c.useState(!1),[u,d]=c.useState(t),h=c.useRef(s);c.useEffect(()=>{h.current=s});const p=c.useRef(null);c.useEffect(()=>{if(h.current)return;const v=p.current;v!==null&&v.length===e.length&&v.every((x,_)=>x===e[_])||(p.current=e,o(e))},[e]);const m=c.useCallback(v=>{i(v),l(!1),d({...v})},[]),g=c.useCallback(()=>l(!0),[]),f=c.useCallback(()=>l(!1),[]),b=c.useCallback((v,x)=>{o(v),i(x),l(!1)},[]),y=c.useCallback(v=>{o(x=>x.filter(_=>_!==v)),i(null)},[]);return{list:a,setList:o,selected:r,setSelected:i,isEditing:s,setIsEditing:l,editForm:u,setEditForm:d,openDetail:m,startEditing:g,cancelEditing:f,commitEdit:b,remove:y}}const Ao=()=>{const t=new Date;return{year:String(t.getFullYear()),month:String(t.getMonth()+1).padStart(2,"0"),day:String(t.getDate()).padStart(2,"0")}},s3={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Lh(t=[]){const{list:e,setList:a,selected:o,setSelected:r,isEditing:i,setIsEditing:s,editForm:l,setEditForm:u,openDetail:d,commitEdit:h}=Dh(s3,t),{year:p,month:m,day:g}=Ao(),[f,b]=c.useState({year:p,month:m,day:g,hour:"09",minute:"00",memo:""});return{visitHistory:e,visitForm:f,setVisitForm:b,setVisit:y=>v=>b(x=>({...x,[y]:v})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:i,setIsEditingVisit:s,editVisitForm:l,setEditVisitForm:u,openVisitDetail:d,handleVisitSave:y=>{a(C=>[f,...C]);const{year:v,month:x,day:_}=Ao();b({year:v,month:x,day:_,hour:"09",minute:"00",memo:""}),y?.()},handleVisitEditSave:()=>{h(y=>y.map(v=>v===o?l:v),l)},addVisit:y=>{a(v=>[y,...v])},removeVisit:y=>{a(v=>v.filter(x=>x!==y))},revertVisitEdit:(y,v)=>{a(x=>x.map(_=>_===v?y:_)),r(x=>x===v?y:x)}}}const jh=t=>`${t.year.padStart(4,"0")}-${t.month.padStart(2,"0")}-${t.day.padStart(2,"0")} ${t.hour.padStart(2,"0")}:${t.minute.padStart(2,"0")}`,fn=t=>[...t].sort((e,a)=>{const o=jh(e),r=jh(a);return o<r?-1:o>r?1:0}),l3={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Mh(t,e=[]){const a=c.useMemo(()=>fn(e),[e]),{list:o,setList:r,selected:i,setSelected:s,isEditing:l,setIsEditing:u,editForm:d,setEditForm:h,openDetail:p,commitEdit:m,remove:g}=Dh(l3,a),[f,b]=c.useState([]),{year:y,month:v,day:x}=Ao(),[_,C]=c.useState({year:y,month:v,day:x,hour:"09",minute:"00",memo:""}),T=E=>L=>C(z=>({...z,[E]:L})),w=E=>{r(J=>fn([...J,_]));const{year:L,month:z,day:te}=Ao();C({year:L,month:z,day:te,hour:"09",minute:"00",memo:""}),E?.()},S=()=>{m(E=>fn(E.map(L=>L===i?d:L)),d)},D=c.useCallback(E=>{g(E)},[g]),A=c.useCallback(E=>{t({year:E.year,month:E.month,day:E.day,hour:E.hour,minute:E.minute,memo:E.memo}),g(E)},[t,g]),N=c.useCallback(E=>{r(L=>L.filter(z=>z!==E)),b(L=>[E,...L]),s(null)},[r,s]),O=c.useCallback(E=>{r(L=>fn([...L,E]))},[r]),j=c.useCallback(E=>{r(L=>L.filter(z=>z!==E))},[r]),k=c.useCallback((E,L)=>{r(z=>z.map(te=>te===L?E:te)),s(z=>z===L?E:z)},[r,s]);return{scheduleList:o,noShowList:f,addSchedule:O,removeSchedule:j,revertScheduleEdit:k,scheduleForm:_,setScheduleForm:C,setSchedule:T,selectedSchedule:i,setSelectedSchedule:s,isEditingSchedule:l,setIsEditingSchedule:u,editScheduleForm:d,setEditScheduleForm:h,openScheduleDetail:p,handleScheduleSave:w,handleScheduleEditSave:S,handleScheduleDelete:D,handleScheduleToVisit:A,handleScheduleNoVisit:N}}const wl=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function Ph(t){const[e,a]=c.useState(""),[o,r]=c.useState("25"),[i,s]=c.useState("all"),[l,u]=c.useState(1),d=c.useMemo(()=>t.filter(({item:m,status:g})=>!(e&&!m.memo.includes(e)||i!=="all"&&g!==i)),[t,e,i]),h=Math.max(1,Math.ceil(d.length/Number(o))),p=c.useMemo(()=>{const m=Math.min(l,h);return d.slice((m-1)*Number(o),m*Number(o))},[d,l,o,h]);return{vapSearch:e,setVapSearch:a,vapPageSize:o,setVapPageSize:r,vapStatus:i,setVapStatus:s,vapPage:l,setVapPage:u,vapFiltered:d,vapTotal:h,vapPageItems:p}}function kl(t,e){const{t:a}=ge(),[o,r]=c.useState("25"),[i,s]=c.useState(1),[l,u]=c.useState(e);l!==e&&(u(e),i!==1&&s(1));const d=c.useMemo(()=>wl.map(g=>({...g,label:a("visits.showN",{n:g.value})})),[a]),h=c.useCallback(g=>{r(g),s(1)},[]),p=Math.max(1,Math.ceil(t.length/Number(o))),m=Math.min(i,p);return{pageRows:c.useMemo(()=>t.slice((m-1)*Number(o),m*Number(o)),[t,m,o]),pageSizeProps:{options:d,value:o,onChange:h},paginationProps:{page:m,total:p,onChange:s},setPage:s}}function Sl(){const[t,e]=c.useState(null),a=c.useCallback(r=>{e(i=>i?.key===r?{key:r,asc:!i.asc}:{key:r,asc:!0})},[]),o=c.useCallback((r,i)=>({label:r,sortDir:t?.key===i?t.asc?"asc":"desc":null,onClick:()=>a(i)}),[t,a]);return{\uC815\uB82C:t,\uCE78:o}}function Rh(){const[t,e]=c.useState(!1),[a,o]=c.useState("\uC88C"),[r,i]=c.useState({\uC88C:null,\uC6B0:null}),[s,l]=c.useState({\uC88C:[],\uC6B0:[]}),[u,d]=c.useState(!1),[h,p]=c.useState("\uC88C"),m=c.useCallback(f=>{const b=f.direction;i(y=>({...y,[b]:f})),l(y=>({...y,[b]:[f,...y[b]]})),e(!1)},[]),g=c.useCallback(f=>{const b=f.direction;i(y=>({...y,[b]:f})),d(!1)},[]);return{showDevice:t,setShowDevice:e,deviceDirection:a,setDeviceDirection:o,devices:r,setDevices:i,deviceHistory:s,setDeviceHistory:l,showDeviceList:u,setShowDeviceList:d,listForSide:h,setListForSide:p,handleDeviceSubmit:m,handleSelectFromList:g}}const Dt="\uC804\uCCB4";function To(){const[t,e]=c.useState(null),a=c.useCallback(i=>e(i.getBoundingClientRect()),[]),o=c.useCallback(()=>e(null),[]),r=c.useCallback(i=>{const s=i.getBoundingClientRect();e(l=>l?null:s)},[]);return{anchorRect:t,isOpen:t!=null,openAt:a,close:o,toggleAt:r}}function $h(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),i=c.useRef(null);c.useEffect(()=>()=>{i.current&&clearTimeout(i.current)},[]);const s=c.useCallback((u,d)=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{a(u),r(d)},t)},[t]),l=c.useCallback(()=>{i.current&&clearTimeout(i.current),a(null),r(null)},[]);return{payload:e,anchorRect:o,openAfterDelay:s,close:l}}function No({title:t,items:e}){const{t:a}=ge(),{anchorRect:o,openAt:r,close:i}=To();return n.jsxs(n.Fragment,{children:[n.jsx(se,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:s=>r(s.currentTarget),onPointerLeave:i,onFocus:s=>r(s.currentTarget),onBlur:i}),o&&n.jsx(no,{title:t,items:e,showIndex:e.length>1,anchorRect:o,onClose:i})]})}function Al(){const{t}=ge();return c.useMemo(()=>({difficulty:t("wordSearch.filter.difficulty","\uB4F1\uAE09"),syllables:t("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:t("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:t("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:t("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[t("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[t("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[t("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[t("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[t("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[t("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[t("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[t])}function Tl(t,e,a){return{label:e.difficulty,items:[1,2,3,4].map(o=>t("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:a?.allLabel,labelAction:a?.labelAction}}function Nl(t){return{label:t.partOfSpeech,items:Object.keys(t.posMap),multiple:!0,allOption:!0}}function Bl(t){return{label:t.wordType,items:Object.keys(t.typeMap),multiple:!0,allOption:!0}}function Ih(t,e){return{label:e.syllables,items:[t("wordSearch.filter.syllable",{n:1}),t("wordSearch.filter.syllable",{n:2}),t("wordSearch.filter.syllable",{n:3}),t("wordSearch.filter.syllable",{n:4}),e.syllable5plus],multiple:!0,allOption:!0}}function Oh(t,e){const a=[t("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC")];return e?.includeStructure&&a.push(t("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:t("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:a,multiple:!0,labelAction:e?.labelAction}}function zh(t,e){const{label:a,headValue:o,midValue:r,tailValue:i,includeMid:s=!0,headDisabled:l,midDisabled:u,tailDisabled:d,allOptionDisabled:h,groupLabel:p,labelAction:m}=e;return{label:a,...p?{groupLabel:p}:{},...m?{labelAction:m}:{},allOption:!0,allLabel:t("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...h?{allOptionDisabled:h}:{},items:[{value:o,displayLabel:t("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:l},...s?[{value:r,displayLabel:t("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:u}]:[],{value:i,displayLabel:t("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:d}]}}function Fh(t,e,a){if(e===Dt){const{[a]:i,...s}=t;return s}const o=t[a]??[],r=o.includes(e)?o.filter(i=>i!==e):[...o,e];if(r.length===0){const{[a]:i,...s}=t;return s}return{...t,[a]:r}}Object.fromEntries(Object.entries(V4).map(([t,{nucleus:e}])=>[t,e]));const c3={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},d3={"\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)":["\uBA85","\uC218"],"\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)":["\uB3D9","\uD615"],"\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)":["\uBD80","\uAD00"]},u3={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:d3,typeMap:c3};function p3(t,e,a=u3){const o=e[a.difficulty];if(o?.length&&!o.some(l=>t.grade===l.replace(/\D/g,"")))return!1;const r=e[a.syllables];if(r?.length){const l=t.syllables??0;if(!r.some(u=>u===a.syllable5plus?l>=5:l===parseInt(u)))return!1}const i=e[a.partOfSpeech];if(i?.length&&!i.flatMap(l=>a.posMap[l]??[l]).some(l=>(t.pos??"").includes(l)))return!1;const s=e[a.wordType];return!(s?.length&&!s.some(l=>t.wordType===a.typeMap[l]))}const Ba=(t,e)=>e.map(a=>({jamos:[a],tooltip:t})),kt=(t,e)=>({jamos:[...t],tooltip:e}),El={cho:[Ba("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),Ba("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Ba("\uCE58\uC870\uC74C",["\u3145","\u3146"]),Ba("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),Ba("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),Ba("\uC131\uBB38\uC74C",["\u314E"])],jung:[[kt("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),kt("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),kt("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[kt("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[kt("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),kt("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[kt("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),kt("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),kt("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[kt("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),kt("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),kt("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[kt("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),kt("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[kt("\u314F","\uC800\uBAA8\uC74C"),kt("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),kt("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[Ba("\uC591\uC21C\uC74C",["\u3142","\u3141"]),Ba("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),Ba("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},h3=[...Ue],m3=[...pt],g3=vt.filter(t=>t!==""),fa=t=>t===na?[]:Array.from(t),na="__NO_CODA__",Wh=[1,2,3,4],ia=5,b3=12,Hh="SYL_",Dl=t=>`${Hh}${t}`,f3=t=>Number(t.slice(Hh.length));function vn(t){return t>=ia?Array.from({length:b3-ia+1},(e,a)=>ia+a):[t]}const Vh={cho:h3,jung:m3,jong:g3},Ll=t=>t.map(e=>e.map(({jamos:a,tooltip:o})=>({v:a.join(""),tooltip:o}))),jl={cho:Ll(El.cho),jung:Ll(El.jung),jong:Ll(El.jong)},Gh={};jl.jung.flat().forEach(({v:t})=>{for(const e of fa(t))Gh[e]=t});const v3=new Set(jl.cho.flat().map(t=>t.v));function Ml(t,e){return t==="cho"?v3.has(e)?e:null:t==="jung"?Gh[e]??e:Qr(e)}function Pl(t,e,a){if(t==="jung"){const o=fa(e);return a&&o.includes(a)?a:o[0]??e}return e}function Rl(t,e,a){const o=(r,i)=>i?r==="jong"&&i===na?na:e==="pron"?Ml(r,i):Pl(r,i,r==="jung"?a:null):null;return{...t,cho:o("cho",t.cho),jung:o("jung",t.jung),jong:o("jong",t.jong)}}const yn={cho:null,jung:null,jong:null,syllable:null},y3="wt_filter",qh=t=>`wt_filter_${t}`;function x3(t){try{const e=localStorage.getItem(qh(t))??localStorage.getItem(y3);if(e)return JSON.parse(e)}catch{}return null}function C3(t){const e=t;return e?.composition?{cho:e.composition.cho??null,jung:e.composition.jung??null,jong:e.composition.jong??null,syllable:e.composition.syllable??null}:e?.choseong?{...yn,cho:e.choseong}:yn}function Uh(t,e,a){const{t:o,i18n:r}=ge(),[i]=c.useState(()=>a?.resetOnMount?null:x3(t)),s=i?.contrastCount,l=typeof s=="number"&&Number.isFinite(s)?s:1,[u,d]=c.useState(Math.min(5,Math.max(1,l))),[h,p]=c.useState(i?.phonemeView==="pron"?"pron":i?.phonemeView==="direct"?"direct":"char"),[m,g]=c.useState(()=>C3(i)),f=c.useCallback(()=>e.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:na,syllable:e.fixedSyllable??null}:{cho:null,jung:null,jong:e.fixedNoCoda?na:null,syllable:e.fixedSyllable??null},[e.requireSyllable,e.fixedSyllable,e.fixedNoCoda]);c.useEffect(()=>{!e.requireSyllable&&e.fixedSyllable==null&&!e.fixedNoCoda||g(Z=>Z.cho||Z.jung||Z.syllable!=null||Z.jong?Z:f())},[]);const b=c.useMemo(()=>yt(m.cho)||yt(m.jung)||yt(m.jong)?"count":"random",[m.cho,m.jung,m.jong]),y=c.useRef(h==="char"?m.jung:null);c.useEffect(()=>{h==="char"&&(y.current=m.jung)},[h,m.jung]);const[v,x]=c.useState(a?.resetOnMount?!!a?.defaultImageOnly:i?.excludeNoImage??!0),[_,C]=c.useState(a?.resetOnMount?!1:i?.sameStructureOnly??!0),[T,w]=c.useState(Array.isArray(i?.gradeFilter)?i.gradeFilter:[]),[S,D]=c.useState(Array.isArray(i?.posFilter)?i.posFilter:[]),[A,N]=c.useState(Array.isArray(i?.wordTypeFilter)?i.wordTypeFilter:[]),O=c.useRef(a?.resetKey);c.useEffect(()=>{O.current!==a?.resetKey&&(O.current=a?.resetKey,g(f()),x(!1),C(!1),w([]),D([]),N([]),d(1))},[a?.resetKey]);const j=Al(),[k,E]=c.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[L,z]=c.useState(!1),[te,J]=c.useState(null),ae=1,M=Math.max(1,[m.cho,m.jung,m.jong].filter(Boolean).length);c.useEffect(()=>{u<M&&d(M)},[M,u]),c.useEffect(()=>{if(!a?.resetOnMount)try{localStorage.setItem(qh(t),JSON.stringify({contrastCount:u,composition:m,excludeNoImage:v,sameStructureOnly:_,phonemeView:h,gradeFilter:T,posFilter:S,wordTypeFilter:A}))}catch{}},[a?.resetOnMount,t,u,m,v,_,h,T,S,A]);const[R,$]=c.useState(0);br("wordpool:update",()=>$(Z=>Z+1));const F=c.useRef(r.language);c.useEffect(()=>{F.current!==r.language&&(F.current=r.language,$(Z=>Z+1))},[r.language]),c.useEffect(()=>{if(!e.choseong)return;let Z=!1;return M5({difficulty:b,excludeNoImage:v}).then(le=>{Z||(E(le),le.cho.size+le.jung.size+le.jong.size>0&&z(!0))}).catch(()=>{Z||E({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{Z=!0}},[e.choseong,b,v,R]),c.useEffect(()=>{let Z=!1;const le=m,G=le.cho?fa(le.cho):null,ce=le.jung?fa(le.jung):null,be=le.jong===na,De=be?null:le.jong?fa(le.jong):null,Ie=le.syllable!=null?vn(le.syllable):null,We=!!(G||ce||De||be||Ie);return j5({difficulty:e.difficulty?b:null,contrastCount:e.difficulty?u:1,composition:e.choseong&&We?{cho:G,jung:ce,jong:De,jongNone:be,syllable:Ie}:null,excludeNoImage:v,sameStructureOnly:_,phonemeView:h==="pron"?"pron":"char",grade:T.length>0?T:null}).then(He=>{Z||J(He)}).catch(()=>{Z||J(null)}),()=>{Z=!0}},[e.choseong,e.difficulty,b,u,m,h,v,_,R,T]),c.useEffect(()=>{L&&g(Z=>{const le={...Z};let G=!1;return["cho","jung","jong"].forEach(ce=>{const be=Z[ce];!be||be===na||fa(be).some(De=>k[ce].has(De))||(le[ce]=null,G=!0)}),Z.syllable!=null&&e.fixedSyllable==null&&(Z.syllable>=ia?[...k.syllable].some(ce=>ce>=ia)||(le.syllable=null,G=!0):(!k.syllable.has(Z.syllable)||Z.syllable<ae)&&(le.syllable=null,G=!0)),G?le:Z})},[k,L,ae,e.fixedSyllable]);const I=c.useMemo(()=>{const Z=le=>{const G=new Set;for(const ce of Vh[le])k[le].has(ce)&&G.add(ce);return G};return{cho:Z("cho"),jung:Z("jung"),jong:Z("jong")}},[k]),q=c.useMemo(()=>({exact:new Set(Wh.filter(Z=>k.syllable.has(Z))),min:[...k.syllable].some(Z=>Z>=ia)}),[k]),P=c.useMemo(()=>({diffPhonemeCount:o("training.contrast.diffPhonemeCount",{defaultValue:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218"}),composition:o("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:o("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:o("wordPairs.onset","\uCD08\uC131"),vowel:o("wordPairs.vowel","\uBAA8\uC74C"),coda:o("wordPairs.coda","\uC885\uC131"),phonemeGroup:o("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:o("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:o("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:o("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:o("training.filter.random","\uBB34\uC791\uC704"),exclude:o("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:o("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:o("common.none","\uC5C6\uC74C"),noImage:o("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:o("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:o("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:o("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:o("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:o("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}),[o]),H=c.useMemo(()=>({[P.trainOnset]:"cho",[P.trainVowel]:"jung",[P.trainCoda]:"jong"}),[P]),V=c.useCallback((Z,le)=>c.createElement(No,{title:le,items:Z}),[]),U=c.useMemo(()=>[o("training.filter.excludeImageInfo",{defaultValue:"\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."}),o("training.filter.sameStructureInfo",{defaultValue:"\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."})],[o]),ee=c.useMemo(()=>{const Z=[];if(e.choseong){const le={value:na,displayLabel:P.codaExclude},G=e.fixedNoCoda===!0,ce=(be,De)=>{const Ie=G&&be==="jong",We={label:De,groupLabel:P.phonemeGroup,allOption:!e.requireSyllable,allLabel:P.noLimit,allOptionDisabled:Ie};if(h==="pron"){const $e=jl[be].map(rt=>rt.map(({v:Oe,tooltip:Ge})=>{const Fe=fa(Oe),fe=Ie||!Fe.some(nt=>k[be].has(nt));return Fe.length>1?{value:Oe,labels:Fe,tooltip:Ge,disabled:fe}:{value:Oe,tooltip:Ge,disabled:fe}}));return be==="jong"&&!e.requireCoda&&$e.unshift([le]),{...We,groups:$e}}const He=Vh[be].map($e=>!Ie&&I[be].has($e)?$e:{value:$e,disabled:!0});return{...We,items:be==="jong"&&!e.requireCoda?[le,...He]:He}};Z.push(ce("cho",P.trainOnset)),Z.push(ce("jung",P.trainVowel)),Z.push(ce("jong",P.trainCoda))}if(Z.push({...Tl(o,j,{labelAction:V([o("wordPairs.filter.difficultyInfo",{defaultValue:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4."})])}),label:P.gradeLabel}),e.partOfSpeech&&Z.push(Nl(j)),e.wordType&&Z.push(Bl(j)),e.choseong||e.fixedSyllable!=null){const le=e.fixedSyllable;Z.push({label:P.syllableCount,items:[...Wh.map(G=>({value:Dl(G),displayLabel:o("wordPairs.syllableN",{n:G,defaultValue:"{{n}}\uC74C\uC808"}),disabled:le!=null?G!==le:!q.exact.has(G)||G<ae})),{value:Dl(ia),displayLabel:o("wordPairs.syllableNPlus",{n:ia,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:le!=null?ia!==le:!q.min}],allOption:!0,allOptionDisabled:le!=null})}return e.choseong?Z.push({label:P.exclude,displayLabel:P.selectLabel,multiple:!0,items:[P.excludeImage,P.sameStructure],labelAction:V(U)}):Z.push({label:P.exclude,displayLabel:P.selectLabel,multiple:!0,items:[P.excludeImage],labelAction:V([U[0]])}),Z},[e.choseong,e.partOfSpeech,e.wordType,e.requireSyllable,e.fixedSyllable,e.fixedNoCoda,e.requireCoda,ae,I,k,h,q,P,o,V,U,j]),pe={...e.difficulty?{[P.diffPhonemeCount]:String(u)}:{},...(e.choseong||e.fixedSyllable!=null)&&m.syllable!=null?{[P.syllableCount]:Dl(m.syllable)}:{},...e.choseong&&m.cho?{[P.trainOnset]:m.cho}:{},...e.choseong&&m.jung?{[P.trainVowel]:m.jung}:{},...e.choseong&&m.jong?{[P.trainCoda]:m.jong}:{},[P.exclude]:[...v?[P.excludeImage]:[],..._?[P.sameStructure]:[]],[P.gradeLabel]:T.map(Z=>o("wordSearch.filter.grade",{n:Number(Z),defaultValue:"{{n}}\uB4F1\uAE09"})),...e.partOfSpeech?{[j.partOfSpeech]:S}:{},...e.wordType?{[j.wordType]:A}:{}},he=c.useCallback((Z,le)=>{if(le===P.diffPhonemeCount){const G=Number(Z);G>=1&&d(G)}else if(le===P.exclude)Z===P.excludeImage?x(G=>!G):Z===P.sameStructure&&C(G=>!G);else if(le===P.syllableCount)g(G=>{if(!Z||Z===Dt)return{...G,syllable:null};const ce=f3(Z);return{...G,syllable:G.syllable===ce?null:ce}});else if(le===P.gradeLabel){if(!Z||Z===Dt){w([]);return}const G=Z.replace(/\D/g,"");w(ce=>ce.includes(G)?ce.filter(be=>be!==G):[...ce,G])}else if(le===j.partOfSpeech){if(!Z||Z===Dt){D([]);return}D(G=>G.includes(Z)?G.filter(ce=>ce!==Z):[...G,Z])}else if(le===j.wordType){if(!Z||Z===Dt){N([]);return}N(G=>G.includes(Z)?G.filter(ce=>ce!==Z):[...G,Z])}else{const G=H[le];if(!G)return;g(ce=>e.requireSyllable?Z&&Z!==Dt?{...ce,[G]:Z}:ce:!Z||Z===Dt||ce[G]===Z?{...ce,[G]:null}:{...ce,[G]:Z})}},[P,H,j,e.requireSyllable]),oe=c.useCallback(Z=>!e.partOfSpeech&&!e.wordType?!0:p3(Z,{...e.partOfSpeech?{[j.partOfSpeech]:S}:{},...e.wordType?{[j.wordType]:A}:{}},j),[e.partOfSpeech,e.wordType,S,A,j]),X=c.useCallback(Z=>{Z!==h&&(Z!=="direct"&&h!=="direct"&&g(le=>Rl(le,Z,y.current)),p(Z))},[h]),de=c.useCallback(()=>({composition:m,contrastCount:u,excludeNoImage:v,sameStructureOnly:_,phonemeView:h,gradeFilter:T}),[m,u,v,_,h,T]),Ce=c.useCallback(Z=>{g(Z.composition),d(Z.contrastCount),x(Z.excludeNoImage),C(Z.sameStructureOnly??!0),p(Z.phonemeView),w(Array.isArray(Z.gradeFilter)?Z.gradeFilter:[])},[]);return{difficulty:b,contrastCount:u,composition:m,choseong:m.cho,excludeNoImage:v,sameStructureOnly:_,gradeFilter:T,posFilter:S,wordTypeFilter:A,matchesWordAttributes:oe,poolVersion:R,filterSections:ee,filterSelected:pe,handleFilterSelect:he,phonemeView:h,setPhonemeView:X,phonemeGroupLabel:P.phonemeGroup,wordCount:te,getFilterSnapshot:de,restoreFilterSnapshot:Ce}}function _3(t){const e=l=>l?fa(l):null,a=e(t.cho),o=e(t.jung),r=t.jong===na,i=r?null:e(t.jong),s=t.syllable!=null?vn(t.syllable):null;return!a&&!o&&!i&&!r&&!s?null:{cho:a,jung:o,jong:i,jongNone:r,syllable:s}}function Yh(t,e,a,o,r,i,s=!0,l="char",u=[]){const[d,h]=c.useState({}),[p,m]=c.useState(!1),{cho:g=null,jung:f=null,jong:b=null,syllable:y=null}=o??{};return c.useEffect(()=>{i>0&&L5(r).catch(()=>{})},[i,r]),c.useEffect(()=>{let v=!1;return m(!0),(async()=>{const x=_3({cho:g,jung:f,jong:b,syllable:y}),_=u.length>0?u.slice().sort().join(","):"",C=`${g??""}_${f??""}_${b??""}_${y??""}_${_}`,T={};await Promise.all(t.map(async w=>{const S=Co[w.key];try{const D=await ch(w.key,{difficulty:S.difficulty?e:null,contrastCount:S.difficulty?a:1,composition:S.choseong?x:null,count:5,excludeNoImage:r,sameStructureOnly:s,phonemeView:l,grade:u.length>0?u:null});D&&D.length>0?T[w.key]={id:`wt-${w.key}-${e}-${C}-${Date.now()}`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:D,itemCount:D.length}:T[w.key]={id:`wt-${w.key}-empty`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:[],itemCount:0,__empty:!0}}catch{T[w.key]=null}})),v||(h(T),m(!1))})(),()=>{v=!0}},[e,a,g,f,b,y,r,s,l,i,u]),{perTypeData:d,generating:p}}function w3(t){let e=2166136261;for(let a=0;a<t.length;a++)e^=t.charCodeAt(a),e=Math.imul(e,16777619);return e>>>0}function k3(t){let e=t>>>0;return()=>{e|=0,e=e+1831565813|0;let a=Math.imul(e^e>>>15,1|e);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}const xn=ea;function $l(t,e){const a=e?k3(w3(e)):Math.random;return{LISTEN_IN_NOISE:xn(Oa,Math.max(0,t.LISTEN_IN_NOISE||0),a),SHORT_STORY:xn(za,Math.max(0,t.SHORT_STORY||0),a),LONG_STORY:xn(Fa,Math.max(0,t.LONG_STORY||0),a),ORDERING_SENTENCE:xn(Wa,Math.max(0,t.ORDERING_SENTENCE||0),a)}}function Kh(t){return t?!!(t.LISTEN_IN_NOISE?.length||t.SHORT_STORY?.length||t.LONG_STORY?.length||t.ORDERING_SENTENCE?.length):!1}const S3={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function Zh(t=!1,e=S3,a){const o=Aa(Date.now()),r=Aa(Date.now()-864e5),i=`${a??""}|${o}`,s=`${a??""}|${r}`;return Oa.length>0||za.length>0||Fa.length>0||Wa.length>0?{today:$l(e,i),yesterday:$l(e,s)}:{today:$l(e,i),yesterday:null}}function Xh(t){const e=c.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),a=c.useRef(null),[o,r]=c.useState(!1),[i,s]=c.useState(!1);c.useEffect(()=>{let u=!1,d,h=0;const p=40,m=()=>{d!==void 0&&(clearInterval(d),d=void 0)};let g=!1;try{const y=new URLSearchParams(window.location.search),v=y.get("forceRefresh")||y.get("force");g=v==="1"||v==="true"}catch{}const f=y=>{e.current=y.today,a.current=y.yesterday,r(!0),u=!0,m()},b=async()=>{if(u)return;if(!g){const v=Zh(!1,void 0,t);if(Kh(v.today)){f(v);return}}try{await $s(3e3)}catch{}if(u)return;const y=Zh(g,void 0,t);if(Kh(y.today)){f(y);return}++h>=p&&(r(!0),u=!0,m())};return b(),d=setInterval(b,250),()=>{u=!0,m()}},[t]);const l=c.useCallback(u=>{const d=i?a.current:e.current,h=i?e.current:a.current;return d?.[u]?.length?d[u]:h?.[u]?.length?h[u]:void 0},[i]);return{loaded:o,showYesterday:i,setShowYesterday:s,getTrainingPerType:l}}const Bo=[];let Cn=!1;function Jh(t){if(t.key!=="Escape"||t.defaultPrevented)return;const e=Bo[Bo.length-1];e&&(t.stopPropagation(),e())}function Il(t){return Bo.push(t),!Cn&&typeof document<"u"&&(document.addEventListener("keydown",Jh),Cn=!0),()=>{const e=Bo.lastIndexOf(t);e>=0&&Bo.splice(e,1),Bo.length===0&&Cn&&typeof document<"u"&&(document.removeEventListener("keydown",Jh),Cn=!1)}}function Qh(t,e=!0){const a=kh(t);c.useEffect(()=>{if(e)return Il(()=>{a.current?.()})},[e,a])}const _n=(t,e)=>`${t}:${e??1}`,Ol=new Map;function em(t,e){const[a,o]=c.useState(0),r=t.map(i=>_n(i.word,i.homonum)).join("|");return c.useEffect(()=>{const i=(r?r.split("|"):[]).filter(u=>!Ol.has(u));if(i.length===0)return;let s=!1;const l=Array.from(new Set(i.map(u=>u.slice(0,u.lastIndexOf(":")))));return e(l).then(u=>{if(!(s||u.length===0)){for(const d of u)d.Meaning&&Ol.set(_n(d.Word,d.Homonum??void 0),d.Meaning);o(d=>d+1)}}),()=>{s=!0}},[r,e]),c.useMemo(()=>{const i=r?r.split("|"):[],s=new Map;for(const l of i){const u=Ol.get(l);u!=null&&s.set(l,u)}return s},[r,a])}function tm(t,e,a){const o=Number.isFinite(e)&&e>=1?Math.floor(e):1,r=Math.max(1,Math.ceil(t.length/o)),i=Number.isFinite(a)?Math.min(Math.max(1,Math.floor(a)),r):1;return{pageItems:c.useMemo(()=>t.slice((i-1)*o,i*o),[t,i,o]),totalPages:r,curPage:i}}function wn(t="warning"){const[e,a]=c.useState(""),[o,r]=c.useState(t),[i,s]=c.useState(0),l=c.useCallback((p,m)=>{r(m),a(p),s(g=>g+1)},[]),u=c.useCallback(p=>l(p,"warning"),[l]),d=c.useCallback(p=>l(p,"normal"),[l]),h=c.useCallback(()=>a(""),[]);return{toastMessage:e,toastType:o,toastKey:i,showToast:l,showWarning:u,showNormal:d,clearToast:h}}const fr={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},vr=fr.blue,kn=fr.green,yr=fr.amber,Sn=fr.purple,A3=fr.pink,T3=[{key:"discrimination",label:"\uBCC0\uBCC4\uD6C8\uB828",disc:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0, \uB610\uB294 \uD2B9\uC815 \uC18C\uB9AC\uB97C \uAD6C\uBCC4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"ear",types:[{key:"SAME_SOUND_PICK",label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",icon:"volume-2",color:vr,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"SAME_OR_DIFF",label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",icon:"diff",color:vr,subTitle:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},{key:"HEAR_AND_PICK_SAME",label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"headphones",color:vr,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"HEAR_AND_PICK_INCLUDED",label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"scan-search",color:vr,subTitle:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"STARTS_WITH_SAME_SOUND",label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"play-circle",color:vr,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:kn,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:kn,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:kn,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:kn,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:yr,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_1_FROM_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"minus-circle",color:yr,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_PART_FROM_COMPOUND",label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84\uD0C8\uB77D",icon:"unlink",color:yr,subTitle:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_FINAL_CONSONANT_FROM_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",icon:"eraser",color:yr,subTitle:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"REMOVE_CONSONANT_AND_IDENTIFY_PHONEME",label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",icon:"audio-lines",color:yr,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:Sn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:Sn,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:Sn,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:Sn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:A3,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function am(){const{t}=ge();return c.useMemo(()=>{const e=Object.fromEntries(l5(t).map(o=>[o.key,o.label])),a={...e};return T3.flatMap(o=>o.types).forEach(o=>{a[o.key]=t(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:e,all:a}},[t])}var N3=Object.freeze({__proto__:null,CACHE_GROUPS:Cl,DocumentTitleSuppressContext:yl,EMPTY_COMPOSITION:yn,MediaQueryOverrideContext:bn,NO_CODA:na,SYLLABLE_MIN:ia,VAP_PAGE_SIZE_OPTIONS:wl,buildGradeSection:Tl,buildPartOfSpeechSection:Nl,buildPositionSection:zh,buildSelectSection:Oh,buildSyllableSection:Ih,buildWordTypeSection:Bl,charToPronValue:Ml,convertComposition:Rl,fmtBytes:Nh,lsBytes:_l,meaningKey:_n,pronToCharValue:Pl,syllableToFilter:vn,today:Ao,toggleAttributeFilter:Fh,useCacheManagement:Bh,useDailyTrainingSelection:Xh,useDelayedHoverAnchor:$h,useDeviceManagement:Rh,useDocumentTitle:xl,useEscToClose:Qh,useFontScale:gn,useHoverAnchor:To,useMediaQuery:ra,usePagedList:tm,usePasswordChange:Th,useRelativeDay:Ah,useTablePaging:kl,useTableSort:Sl,useToastState:wn,useTrainingTypeLabels:am,useVisitAllPanel:Ph,useVisitHistory:Lh,useVisitSchedule:Mh,useWindowEvent:br,useWordAttributeFilterKeys:Al,useWordDataStats:Eh,useWordMeanings:em,useWordTrainingDataGeneration:Yh,useWordTrainingFilter:Uh,valueToJamos:fa}),B3=".ihabdevteam-core-scope .promo-banner{align-items:center;border-radius:var(--radius-s);box-sizing:border-box;display:flex;gap:var(--spacing-m);justify-content:space-between;overflow:hidden;position:relative;text-align:left}.ihabdevteam-core-scope .promo-banner--medium{min-height:120px;padding:20px 24px}.ihabdevteam-core-scope .promo-banner--small{padding:14px 16px}.ihabdevteam-core-scope .promo-banner__title{color:inherit;color:var(--promo-banner-bg-title,inherit)}.ihabdevteam-core-scope .promo-banner__description{color:inherit;color:var(--promo-banner-bg-description,inherit)}.ihabdevteam-core-scope .promo-banner__text{display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;z-index:1}.ihabdevteam-core-scope .promo-banner__description{margin-left:2px;margin-top:1px}.ihabdevteam-core-scope .promo-banner>.button{flex-shrink:0;position:relative;z-index:1}";Q(B3);function om({title:t,description:e,actionLabel:a,onAction:o,bg:r,color:i,size:s="medium",actionVariant:l,titleColor:u,descriptionColor:d,className:h=""}){const p=r??i??"main",m=c.useRef(null),[g,f]=c.useState("main"),b=ra("(max-width: 767px)");c.useLayoutEffect(()=>{const x=m.current;x&&(u!==void 0&&x.style.setProperty("--promo-banner-bg-title",u),d!==void 0&&x.style.setProperty("--promo-banner-bg-description",d))},[u,d]),c.useLayoutEffect(()=>{const x=m.current;if(!x)return;const _=Ws(x);f(_?.actionVariant??"main")},[p]);const y=_e("promo-banner",`promo-banner--${s}`,h),v=fl[p];return n.jsxs("div",{ref:m,className:y,role:"note",children:[n.jsx(v,{}),n.jsxs("div",{className:"promo-banner__text",children:[n.jsx("span",{className:`promo-banner__title ${s==="small"?"body-2":"h2"}`,children:t}),e&&n.jsx("span",{className:"promo-banner__description body-3",children:e})]}),a&&o&&n.jsx(se,{size:40,variant:l??g,shape:"pill",useBorder:!0,onClick:o,ariaLabel:a,...b?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}var E3='.ihabdevteam-core-scope .top-banner{--top-banner-min-h:120px;display:flex;flex-direction:column;padding-bottom:var(--spacing-page);position:relative}.ihabdevteam-core-scope .top-banner__viewport{border-radius:var(--radius-m);min-height:var(--top-banner-min-h);overflow:hidden}.ihabdevteam-core-scope .top-banner__track{align-items:stretch;display:flex;min-height:var(--top-banner-min-h);transition:transform .4s ease}.ihabdevteam-core-scope .top-banner__slide{flex:0 0 100%;min-width:0}.ihabdevteam-core-scope .top-banner__slide>*{box-sizing:border-box;min-height:100%;width:100%}.ihabdevteam-core-scope .top-banner__dots{bottom:calc(var(--spacing-page) + 12px);display:flex;gap:6px;left:50%;position:absolute;transform:translateX(-50%)}.ihabdevteam-core-scope .top-banner__dot{background:var(--color-white-a30);border:none;border-radius:3px;cursor:pointer;height:6px;padding:0;position:relative;transition:width .25s ease,background-color .25s ease;width:6px}.ihabdevteam-core-scope .top-banner__dot:after{content:"";height:24px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:calc(100% + 6px)}.ihabdevteam-core-scope .top-banner__dot--active{background:var(--color-white);width:18px}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot{background:var(--color-lightGray-a80)}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot--active{background:var(--color-main)}';Q(E3);function rm({children:t,interval:e=5e3,dotTone:a,className:o="","aria-label":r}){const{t:i}=ge(),s=r??i("topBanner.ariaLabel","\uBC30\uB108"),l=c.Children.toArray(t),u=l.length,[d,h]=c.useState(0),[p,m]=c.useState(!1),g=u>0?d%u:0;return c.useEffect(()=>{if(u<2||e<=0||p)return;const f=window.setInterval(()=>h(b=>(b+1)%u),e);return()=>window.clearInterval(f)},[u,e,p]),u===0?null:n.jsxs("section",{className:_e("top-banner",o),"aria-label":s,"aria-roledescription":"carousel",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>m(!0),onBlur:()=>m(!1),children:[n.jsx("div",{className:"top-banner__viewport",children:n.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${g*100}%)`},children:l.map((f,b)=>n.jsx("div",{className:"top-banner__slide","aria-hidden":b!==g,...b!==g?{inert:!0}:{},children:f},b))})}),u>1&&n.jsx("div",{className:`top-banner__dots${(a?.[g]??"light")==="dark"?" top-banner__dots--dark":""}`,children:l.map((f,b)=>n.jsx("button",{type:"button",className:`top-banner__dot${b===g?" top-banner__dot--active":""}`,"aria-label":i("topBanner.dotAriaLabel",{count:u,index:b+1,defaultValue:`${u}\uAC1C \uC911 ${b+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":b===g,onClick:()=>h(b)},b))})]})}var D3=".ihabdevteam-core-scope .accordion-item{background:transparent;border-radius:var(--radius-m)}.ihabdevteam-core-scope .accordion-item__header{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;cursor:pointer;display:flex;gap:var(--spacing-s);min-height:56px;outline:none;padding:0 20px;transition:background-color .2s ease,border-color .2s ease}.ihabdevteam-core-scope .accordion-item__header:hover{background:var(--color-deepWhite);border-color:var(--color-main)}.ihabdevteam-core-scope .accordion-item__header:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .accordion-item__avatar{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__title{flex:1;text-align:left}.ihabdevteam-core-scope .accordion-item__chevron{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__chevron-icon{align-items:center;color:var(--color-lightGray);display:inline-flex}.ihabdevteam-core-scope .accordion-item__chevron-image{height:18px;opacity:.7;transition:transform .18s ease;width:18px}.ihabdevteam-core-scope .accordion-item.accordion-item--open{background:var(--color-main-a10);border-radius:var(--radius-m);overflow:hidden}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__header{background:var(--color-white);border:1px solid var(--color-main)}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__chevron-image{transform:rotate(180deg)}.ihabdevteam-core-scope .accordion-item__body p{margin:0}.ihabdevteam-core-scope .accordion-item__body{background:transparent;box-sizing:border-box;color:var(--color-darkGray);max-width:100%;overflow-wrap:break-word;padding:40px 32px;text-align:left;word-break:break-word}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{min-height:48px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{min-height:56px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{min-height:72px}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{border-radius:12px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{border-radius:14px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{border-radius:18px}.ihabdevteam-core-scope .accordion-group,.ihabdevteam-core-scope .accordion-group>.accordion-item{box-sizing:border-box;display:block;width:100%}.ihabdevteam-core-scope .accordion-group>.accordion-item+.accordion-item{margin-top:var(--spacing-s)}";Q(D3);function L3({title:t,body:e,open:a=!1,onToggle:o,avatar:r,titleClassName:i="body-2",bodyClassName:s="body-2",className:l=""}){const{t:u}=ge();return n.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${l}`.trim(),children:[n.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:o,onKeyDown:d=>{if(d.key==="Enter"||d.key===" ")d.preventDefault(),o?.();else if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault();const h=d.currentTarget.closest('[role="list"]');if(!h)return;const p=Array.from(h.querySelectorAll("[data-accordion-header]")),m=p.indexOf(d.currentTarget);(d.key==="ArrowDown"?p[m+1]:p[m-1])?.focus()}},children:[r&&n.jsx("div",{className:"accordion-item__avatar",children:r}),n.jsx("div",{className:`accordion-item__title ${i}`,children:t}),n.jsx("div",{className:"accordion-item__chevron",children:n.jsx(Re,{icon:a?"chevron-up":"chevron-down",label:a?u("accordion.collapse","\uC811\uAE30"):u("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&n.jsx("div",{className:`accordion-item__body ${s}`,children:typeof e=="string"?n.jsx("p",{children:e}):e})]})}function nm({items:t=[],defaultOpenIndex:e=0,size:a=72,className:o="",bodyClassName:r}){const[i,s]=c.useState(e);return n.jsx("div",{className:`accordion-group accordion-group--s${a} ${o}`.trim(),role:"list",children:t.map((l,u)=>n.jsx(L3,{title:l.title,body:l.body,avatar:l.avatar,open:u===i,onToggle:()=>s(u===i?-1:u),bodyClassName:r},u))})}var j3=".ihabdevteam-core-scope .bottom-nav{align-items:flex-start;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:none;height:calc(72px + env(safe-area-inset-bottom));left:0;padding:8px calc(10px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(10px + env(safe-area-inset-left));position:fixed;right:0;z-index:var(--z-nav)}.ihabdevteam-core-scope .bottom-nav__left{align-items:center;display:flex;flex-shrink:0}.ihabdevteam-core-scope .bottom-nav__divider{align-self:flex-start;background:var(--color-whiteLine);border-radius:1px;flex-shrink:0;height:24px;margin:14px 0 0;width:1px}.ihabdevteam-core-scope .bottom-nav__items{align-items:center;display:flex;flex:1;gap:10px;justify-content:center;overflow:hidden}.ihabdevteam-core-scope .bottom-nav__right{align-items:center;display:flex;flex-shrink:0}@media (max-width:767px){.ihabdevteam-core-scope .bottom-nav{display:flex}}@media (min-width:768px){.ihabdevteam-core-scope .bottom-nav{display:none}}.ihabdevteam-core-scope .bottom-nav-item{align-items:center;background:transparent!important;border:none!important;border-radius:10px!important;color:var(--color-lightGray);cursor:pointer;display:flex!important;flex-direction:column;height:52px!important;justify-content:center;padding:0!important;transition:background .16s ease,color .16s ease!important;width:52px!important}.ihabdevteam-core-scope .bottom-nav-item:hover:not(.is-selected){background:var(--color-darkWhite)!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected{animation:bottom-nav-active-bg .36s cubic-bezier(.4,0,.2,1) forwards;background-color:var(--color-sub)!important;box-shadow:0 6px 12px rgba(12,24,36,.06);color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected *{color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .bottom-nav-item:disabled,.ihabdevteam-core-scope .bottom-nav-item[disabled]{opacity:.6;pointer-events:none}@keyframes bottom-nav-active-bg{0%{background-color:var(--color-sub)}to{background-color:var(--color-main)}}";Q(j3);var M3=".ihabdevteam-core-scope .badge{align-items:center;background:var(--badge-color,var(--color-main));border-radius:999px;box-shadow:none;box-shadow:var(--badge-shadow,none);color:#fff;color:var(--badge-on-color,#fff);display:inline-flex;gap:6px;justify-content:center;line-height:1;vertical-align:middle;white-space:nowrap}.ihabdevteam-core-scope .badge--small{font-size:12px;height:20px;padding:0 10px}.ihabdevteam-core-scope .badge--medium{font-size:14px;height:28px;padding:0 14px}.ihabdevteam-core-scope .badge--large{font-size:16px;height:32px;padding:0 18px}.ihabdevteam-core-scope .badge__icon{align-items:center;display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .badge--default{--badge-color:var(--color-lightGray);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--main{--badge-color:var(--color-main);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--sub{--badge-color:var(--color-sub);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--danger{--badge-color:var(--color-error);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--disabled{--badge-color:var(--color-disabled);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--like{--badge-color:var(--color-like);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--success{--badge-color:var(--color-success);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--warning{--badge-color:var(--color-warn);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--critical{--badge-color:#7c3aed;--badge-on-color:#fff}.ihabdevteam-core-scope .badge--outline{background:transparent;border:1px solid var(--badge-color);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .badge--soft{background:color-mix(in srgb,var(--badge-color) 10%,transparent);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .circle-badge{align-items:center;border:2px solid var(--color-pureWhite);border-radius:50%;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-weight:700;justify-content:center;line-height:1;pointer-events:none;position:absolute;transition:background .12s,transform .12s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}@keyframes circle-badge-pop{0%{opacity:0;transform:scale(.3)}60%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}.ihabdevteam-core-scope .circle-badge--animate{animation:circle-badge-pop .24s cubic-bezier(.34,1.56,.64,1)}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .circle-badge--animate{animation:none}}.ihabdevteam-core-scope .circle-badge--clickable{cursor:pointer;pointer-events:auto}.ihabdevteam-core-scope .circle-badge--clickable:hover{transform:scale(1.12)}.ihabdevteam-core-scope .circle-badge--top-right{right:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--top-left{left:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--inline{border:none;position:static}.ihabdevteam-core-scope .circle-badge--24{border-width:1px;font-size:11px;height:24px;width:24px}.ihabdevteam-core-scope .circle-badge--32{border-width:2px;font-size:14px;height:32px;width:32px}.ihabdevteam-core-scope .circle-badge--40{border-width:2px;font-size:16px;height:40px;width:40px}.ihabdevteam-core-scope .circle-badge--check,.ihabdevteam-core-scope .circle-badge--number{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .circle-badge--remove{background:var(--color-error);color:#fff}.ihabdevteam-core-scope .circle-badge--minus{background:var(--color-lightGray);color:#fff}.ihabdevteam-core-scope .circle-badge--24 svg{height:11px;width:11px}.ihabdevteam-core-scope .circle-badge--32 svg{height:15px;width:15px}.ihabdevteam-core-scope .circle-badge--40 svg{height:19px;width:19px}";Q(M3);function P3(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:n.jsx("polyline",{points:"2,6 5,9 10,3"})})}function R3(){return n.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[n.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),n.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function $3(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:n.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function gt(t){const{type:e="bar",size:a,className:o="","aria-label":r}=t;if(e==="dot"){const{icon:_,number:C,position:T="top-right",onClick:w,animate:S=!1}=t,D=C!==void 0?"number":_??"check",A=typeof a=="number"?a:32,N=_e("circle-badge",`circle-badge--${D}`,`circle-badge--${T}`,`circle-badge--${A}`,S?"circle-badge--animate":"",w?"circle-badge--clickable":"",o),O=C!==void 0?`${C}\uBC88\uC9F8 \uC120\uD0DD`:{check:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",minus:"\uC81C\uC678"}[_??"check"];return n.jsxs("span",{className:N,onClick:w,onKeyDown:w?j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),j.currentTarget.click())}:void 0,"aria-label":r??O,role:w?"button":void 0,tabIndex:w?0:void 0,children:[C!==void 0&&C,C===void 0&&_==="check"&&n.jsx(P3,{}),C===void 0&&_==="remove"&&n.jsx(R3,{}),C===void 0&&_==="minus"&&n.jsx($3,{})]})}const{label:i,children:s,variant:l="default",fill:u="filled",minWidth:d,iconLeft:h,iconRight:p,color:m}=t,g=typeof a=="number"?"medium":a??"medium",f={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",b={small:12,medium:14,large:16}[g]??14,y=_e("badge",`badge--${l}`,`badge--${g}`,u!=="filled"?`badge--${u}`:"",f,o),v=m?.startsWith("--")?`var(${m})`:m,x=d!==void 0||v?{...d!==void 0?{minWidth:typeof d=="number"?`${d}px`:d}:{},...v?{"--badge-color":v}:{}}:void 0;return n.jsxs("span",{className:y,style:x,children:[h&&n.jsx(Re,{icon:h,size:b,className:"badge__icon"}),i??s,p&&n.jsx(Re,{icon:p,size:b,className:"badge__icon"})]})}var I3=".ihabdevteam-core-scope .tooltip-menu{display:flex;flex-direction:column;gap:var(--spacing-xs);min-width:160px;padding:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu__header{align-items:center;border-bottom:1px solid var(--color-darkWhite);display:flex;gap:var(--spacing-xs);height:52px;padding:8px 12px}.ihabdevteam-core-scope .tooltip-menu__title{font-weight:600}.ihabdevteam-core-scope .tooltip-menu__columns{display:flex;gap:var(--spacing-s);padding:4px}.ihabdevteam-core-scope .tooltip-menu__column{display:flex;flex:1;flex-direction:column;gap:var(--spacing-xs);min-width:0}.ihabdevteam-core-scope .tooltip-menu__column-title{color:var(--color-lightGray);margin-bottom:4px}.ihabdevteam-core-scope .tooltip-menu__items{display:flex;flex-direction:column;gap:var(--spacing-l)}.ihabdevteam-core-scope .tooltip-menu--small{gap:2px;min-width:140px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__items{gap:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__columns{gap:var(--spacing-xs);padding:2px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__header{height:44px;padding:6px 10px}.ihabdevteam-core-scope .tooltip-menu__item{width:100%}.ihabdevteam-core-scope .tooltip-menu__item-icon{align-items:center;display:inline-flex;height:24px;justify-content:center;width:24px}.ihabdevteam-core-scope .tooltip-menu__label{flex:1}.ihabdevteam-core-scope .tooltip-menu__chev{align-items:center;display:inline-flex;justify-content:center;width:20px}@media (max-width:600px){.ihabdevteam-core-scope .tooltip-menu__columns{flex-direction:column}}";Q(I3);function xr({columns:t=[],onClose:e,className:a="",size:o="medium"}){const{t:r}=ge(),i=o==="small"?40:48,[s,l]=c.useState([{title:null,columns:t}]),u=s[s.length-1];c.useEffect(()=>{l(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:t}];const b=f.slice(),y=b[0]&&typeof b[0].title<"u"?b[0].title:null;return b[0]={title:y,columns:t},b}catch{return[{title:null,columns:t}]}})},[t]);const d=c.useCallback(()=>l(f=>f.length>1?f.slice(0,f.length-1):f),[]),h=c.useRef(null),p=c.useRef(null),m=s.length;c.useEffect(()=>{p.current||(p.current=document.activeElement);let f=0,b=0;const y=()=>{const v=h.current?.querySelector("button:not([disabled])");if(v&&v.offsetParent){v.focus({preventScroll:!0});return}b++<20&&(f=requestAnimationFrame(y))};return f=requestAnimationFrame(y),()=>cancelAnimationFrame(f)},[m]),c.useEffect(()=>()=>{p.current?.focus?.({preventScroll:!0})},[]);const g=c.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){l(b=>[...b,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof e=="function"&&e()}catch{}}},[e]);return n.jsxs("div",{className:`tooltip-menu tooltip-menu--${o} ${a}`,children:[(s.length>1||u.title)&&n.jsxs("div",{className:"tooltip-menu__header",children:[s.length>1?n.jsx(se,{size:i,type:"dot",icon:"chevron-left",ariaLabel:r("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,n.jsx("div",{className:"tooltip-menu__title button-1",children:u.title})]}),n.jsx("div",{className:"tooltip-menu__columns",ref:h,children:u.columns&&u.columns.map((f,b)=>n.jsxs("div",{className:"tooltip-menu__column",children:[f.title?n.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,n.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((y,v)=>n.jsx(se,{className:"tooltip-menu__item",size:i,type:y.label?"bar":"dot",icon:y.selected?"check":y.icon||"none",rightIcon:Array.isArray(y.children)&&y.children.length?"chevron-right":y.badgeCount?n.jsx(gt,{type:"dot",position:"inline",number:Math.min(y.badgeCount,99),size:24,"aria-label":`${y.badgeCount}`}):void 0,label:y.label,ariaLabel:y.label,onClick:()=>g(y),selected:y.selected,disabled:y.disabled,showTooltipInfo:y.tooltip||!1,useBorder:!1,align:"left"},v))})]},b))})]})}function Eo({computeStyle:t,onScroll:e="close",onResize:a="close",ignoreOutsideClickSelector:o}){const[r,i]=c.useState(!1),[s,l]=c.useState({}),u=c.useRef(null),d=c.useRef(null),h=c.useCallback(()=>{u.current&&l(t(u.current.getBoundingClientRect()))},[t]);c.useEffect(()=>{if(!r)return;h();const g=v=>{const x=v.target;o&&x.closest?.(o)||u.current?.contains(x)||d.current?.contains(x)||i(!1)};document.addEventListener("mousedown",g);const f=v=>{d.current?.contains(v.target)||(e==="reposition"?h():e==="close"&&i(!1))};e!=="ignore"&&window.addEventListener("scroll",f,!0);const b=()=>{a==="reposition"?h():a==="close"&&i(!1)};a!=="ignore"&&window.addEventListener("resize",b);const y=v=>{v.key==="Escape"&&i(!1)};return document.addEventListener("keydown",y),()=>{document.removeEventListener("mousedown",g),e!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",b),document.removeEventListener("keydown",y)}},[r,h,e,a,o]);const p=c.useCallback(()=>i(g=>!g),[]),m=c.useCallback(()=>i(!1),[]);return{open:r,setOpen:i,toggle:p,close:m,style:s,triggerRef:u,menuRef:d}}const O3=52,im=10;function zl({items:t=[],activeKey:e,onChange:a,appMode:o,onAppModeChange:r,moreItems:i=[]}){const{t:s}=ge(),l=o==="manager"?"malgwi":"manager",u=o==="manager"?"arrow-left":"arrow-right",d=o==="manager"?s("nav.modeLabelMalgwi","\uB9D0\uADC0"):s("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=c.useRef(null),[p,m]=c.useState(0),g=t.length;c.useEffect(()=>{const E=h.current;if(!E||(m(E.clientWidth),typeof ResizeObserver>"u"))return;const L=new ResizeObserver(z=>m(z[0].contentRect.width));return L.observe(E),()=>L.disconnect()},[]);const f=p>0?Math.floor((p+im)/(O3+im)):g,b=p>0&&f<g,y=b?f:g,v=t.slice(0,y),x=t.slice(y),_=b||i.length>0,C=c.useCallback(E=>({position:"fixed",bottom:window.innerHeight-E.top+8,right:window.innerWidth-E.right,zIndex:1e4}),[]),{open:T,toggle:w,close:S,style:D,triggerRef:A,menuRef:N}=Eo({computeStyle:C,onScroll:"ignore",onResize:"ignore"}),O=c.useCallback(()=>r?.(l),[r,l]),j=c.useMemo(()=>x.find(E=>E.key===e)??i.find(E=>E.selected||E.key&&E.key===e),[x,e,i]),k=c.useMemo(()=>[{items:[...x.map(E=>({label:E.label,icon:E.icon,selected:E.key===e,closeOnSelect:!0,onClick:()=>{E.key&&a&&a(E.key),S()}})),...i.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.selected??(!!E.key&&E.key===e),closeOnSelect:!0,onClick:()=>{E.onClick?.(),S()}}))]}],[x,i,e,a,S]);return n.jsxs("nav",{className:"bottom-nav","aria-label":s("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[r&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__left",children:n.jsx(se,{size:52,type:"dot",icon:u,ariaLabel:d,className:"bottom-nav-item",onClick:O})}),n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),n.jsx("div",{className:"bottom-nav__items",ref:h,children:v.map(E=>n.jsx(se,{size:52,type:"dot",icon:E.icon,ariaLabel:E.label,selected:E.key===e,disabled:E.state==="disabled",className:"bottom-nav-item",onClick:()=>E.key&&a?.(E.key)},E.key))}),_&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),n.jsx("div",{className:"bottom-nav__right",children:n.jsxs("div",{ref:A,children:[n.jsx(se,{size:52,type:"dot",icon:j?.icon??"ellipsis",ariaLabel:j?.label??s("nav.more","\uB354\uBCF4\uAE30"),selected:!!j,className:"bottom-nav-item",onClick:w}),T&&Yt.createPortal(n.jsx("div",{className:"tooltip-content",style:D,ref:N,children:n.jsx(xr,{columns:k,onClose:S})}),document.body)]})})]})]})}var z3=".ihabdevteam-core-scope .side-nav__menu{-webkit-overflow-scrolling:touch;background-clip:padding-box;border-right:1px solid transparent;display:flex;flex:1;flex-direction:column;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 0 0 12px;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-gutter:stable;scrollbar-width:thin}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar{width:4px}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-track{background:transparent}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-thumb{background:var(--color-darkWhite);border-radius:var(--radius-xs)}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-thumb:hover{background:var(--color-lightGray,var(--color-lightGray))}.ihabdevteam-core-scope .side-nav__menu-list{display:flex;flex:1 0 auto;flex-direction:column;gap:4px;overflow:visible;padding:4px 0}.ihabdevteam-core-scope .side-nav__notification-wrap{align-self:flex-start;display:inline-flex;position:relative}.ihabdevteam-core-scope .side-nav__footer{align-items:left;display:flex;flex-direction:column;flex-shrink:0;gap:var(--spacing-s);margin-top:var(--spacing-s);padding:0 0 var(--spacing-s) 0}.ihabdevteam-core-scope .side-nav__separator{background:var(--color-whiteLine);height:1px;margin:0 var(--spacing-s) var(--spacing-xs)}.ihabdevteam-core-scope .side-nav__separator--short{margin:4px var(--spacing-m);width:var(--spacing-xl)}@media (max-width:767px){.ihabdevteam-core-scope .side-nav__footer,.ihabdevteam-core-scope .side-nav__menu{display:none}}.ihabdevteam-core-scope .side-nav__item{align-items:center;background:transparent;border:none;border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;flex-shrink:0;font-family:var(--font-family);gap:var(--spacing-s);height:52px;justify-content:flex-start;padding:0 var(--spacing-m);text-align:left;width:100%}@keyframes ihabCoreSnSweep{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ihabCoreSnIconBounce{0%{transform:scale(1)}40%{transform:scale(1.12)}to{transform:scale(1)}}.ihabdevteam-core-scope .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-main) 50%,var(--color-sub) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-button);color:#fff}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:#fff}.ihabdevteam-core-scope .side-nav__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;height:24px;justify-content:center;width:24px}.ihabdevteam-core-scope .side-nav__item.active .circle-badge{background:var(--color-pureWhite);color:var(--color-main)}.ihabdevteam-core-scope .side-nav__item .circle-badge--inline{border:1px solid var(--color-pureWhite)}.ihabdevteam-core-scope .side-nav__icon-wrap{display:inline-flex;flex:0 0 24px;position:relative}.ihabdevteam-core-scope .side-nav__icon{flex:0 0 24px}.ihabdevteam-core-scope .side-nav__icon img{display:block;height:20px;-o-object-fit:contain;object-fit:contain;width:20px}.ihabdevteam-core-scope .side-nav__icon-image{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:contain;display:inline-block;height:20px;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:20px}.ihabdevteam-core-scope .side-nav__item .side-nav__icon img{filter:brightness(0) saturate(0) opacity(.45);transition:filter .16s ease,opacity .16s ease}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon img{filter:brightness(0) invert(1)}.ihabdevteam-core-scope .side-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .side-nav__item{transition:background-color .16s ease,color .16s ease,transform 80ms ease}.ihabdevteam-core-scope .side-nav__item:focus-visible:not(.active),.ihabdevteam-core-scope .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .side-nav__item:hover:not(.active){background:var(--color-darkWhite)}.ihabdevteam-core-scope .side-nav__item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .side-nav__item.disabled,.ihabdevteam-core-scope .side-nav__item.disabled:focus,.ihabdevteam-core-scope .side-nav__item.disabled:hover{background:transparent;color:var(--color-lightGray);cursor:default;opacity:.6;pointer-events:none;transform:none}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon{color:var(--color-lightGray)}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon img{filter:none;opacity:.8}.ihabdevteam-core-scope .side-nav__item--child{height:40px;padding-left:30px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__icon{height:20px;width:20px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__label{font-weight:400}";Q(z3);function F3(t){const{t:e}=ge(),{activeKey:a,unreadCount:o,onDebug:r,onNotification:i,onSetting:s,onHelp:l,onAccount:u}=t||{},d="default";return n.jsxs("div",{className:"side-nav__footer",children:[r&&n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"terminal",ariaLabel:e("nav.debug","\uB514\uBC84\uADF8"),onClick:r,selected:a==="debug"}),n.jsxs("span",{className:"side-nav__notification-wrap",children:[n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"bell",ariaLabel:e("nav.notifications","\uC54C\uB9BC"),onClick:i,selected:a==="notifications"}),!!o&&n.jsx(gt,{type:"dot",number:Math.min(o,99),size:24})]}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"settings",ariaLabel:e("nav.settings","\uC124\uC815"),onClick:s,selected:a==="settings"}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"message-circle-question-mark",ariaLabel:e("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:l,selected:a==="help"}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"user-round",ariaLabel:e("nav.account","\uACC4\uC815"),onClick:u,selected:a==="account"})]})}function sm(t){const{item:e,itemKey:a,label:o,icon:r,active:i,onClick:s,style:l,state:u,labelStyle:d}=t||{},h=e?.key??a??"",p=e?.label??o??"",m=e?.icon??r??"",g=e?.badge??0,f=n.jsx("span",{className:"side-nav__icon-wrap",children:n.jsx(Re,{icon:m,label:typeof p=="string"?p:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),b=u==="disabled",y=`side-nav__item ${i?"active":""} ${u||""} ${b?"disabled":""} ${e?.child?"side-nav__item--child":""}`,v=c.useCallback(x=>{if(!b){try{x.currentTarget.blur()}catch{}s?.(h,x.currentTarget)}},[b,h,s]);return n.jsxs("button",{className:y,onClick:v,"aria-label":typeof p=="string"?p:void 0,style:l,"aria-disabled":b,children:[f,n.jsx("span",{className:"side-nav__label button-1 f",style:d,children:p}),g>0&&n.jsx(gt,{type:"dot",position:"inline",number:Math.min(g,99),size:24,"aria-label":`${g}`}),u==="loading"&&n.jsx("span",{className:"side-nav__spinner","aria-label":"loading"})]})}function Fl(t){const{t:e}=ge(),{items:a=[],activeKey:o,onChange:r,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}=t||{},g=c.useCallback(()=>m?.(p==="malgwi"?"manager":"malgwi"),[m,p]);return n.jsxs("nav",{"aria-label":e("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[n.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,b)=>n.jsxs(c.Fragment,{children:[f.divider&&n.jsx("div",{className:"side-nav__separator"}),n.jsx(sm,{item:f,active:f.key===o,state:f.disabled?"disabled":void 0,onClick:(y,v)=>{if(f.disabled)return;if(f.href){window.open(f.href,"_blank","noopener,noreferrer");try{v?.blur()}catch{}return}r?.(f.key);try{const _=document.querySelector(".content-area");_?_.scrollTop=0:window.scrollTo({top:0})}catch{}try{v?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const x=document.querySelector(".header");if(x&&!(typeof x.matches=="function"&&x.matches(":hover"))){x.classList.add("header--force-collapsed");const _=()=>{x.classList.remove("header--force-collapsed"),x.removeEventListener("mouseenter",_)};x.addEventListener("mouseenter",_)}}})]},f.key??`side-nav__item-${b}`)),m&&n.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),m&&n.jsx(sm,{item:{key:"__mode-switch__",label:p==="malgwi"?e("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):e("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:p==="malgwi"?"arrow-right":"arrow-left"},onClick:g})]}),n.jsx(F3,{activeKey:o,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h})]})}var Wl='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Hl='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',W3='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_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%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="%23499CDF"/>%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="white"/>%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.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 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.2002 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="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',H3='.ihabdevteam-core-scope .header{background:var(--color-deepWhite);border-left:1px solid var(--color-whiteLine);border-right:1px solid var(--color-whiteLine);bottom:0;box-sizing:content-box;display:flex;flex-direction:column;isolation:isolate;left:0;overflow:visible;overscroll-behavior:none;position:fixed;top:0;z-index:var(--z-sidebar)}.ihabdevteam-core-scope .header__menu-button{background:transparent;border:none;display:none}.ihabdevteam-core-scope .header__bottom{align-items:center;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:flex;height:56px;justify-content:center;left:0;padding:0;padding-bottom:calc(var(--spacing-content) + env(safe-area-inset-bottom));position:fixed;right:0}.ihabdevteam-core-scope .header__category-button{background:transparent;border:none}.ihabdevteam-core-scope .header:before{background:linear-gradient(160deg,var(--color-main) 0,var(--color-sub) 100%);content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .2s ease;z-index:-1}.ihabdevteam-core-scope .header--manager{border-right-color:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .header--manager:before{opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__separator{background:hsla(0,0%,100%,.25)}.ihabdevteam-core-scope .header--manager .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item{color:var(--color-deepWhite)}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active){background:hsla(0,0%,100%,.15);color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active) .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active) .side-nav__icon{color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-pureWhite) 50%,color-mix(in srgb,var(--color-main) 50%,#fff) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-card);color:var(--color-darkGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:var(--color-lightGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon img{filter:none;opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__footer [role=button],.ihabdevteam-core-scope .header--manager .side-nav__footer button{color:hsla(0,0%,100%,.55)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch{background:transparent;border-color:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch:hover{background:hsla(0,0%,100%,.12);border-color:hsla(0,0%,100%,.35)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch-label{color:hsla(0,0%,100%,.7)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch-arrow{color:hsla(0,0%,100%,.35)}@media (min-width:1024px){.ihabdevteam-core-scope .header{width:220px}.ihabdevteam-core-scope .header__bottom,.ihabdevteam-core-scope .header__menu-button{display:none}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .header__branding{height:80px}.ihabdevteam-core-scope .header .side-nav__menu{padding:0 10px;transition:padding .18s ease}.ihabdevteam-core-scope .header .side-nav__item{border-radius:var(--radius-card);gap:0;padding:0 14px;transition:padding .18s ease,gap .18s ease}.ihabdevteam-core-scope .header:focus-within .side-nav__menu,.ihabdevteam-core-scope .header:hover .side-nav__menu{padding:0 10px}.ihabdevteam-core-scope .header:focus-within .side-nav__item,.ihabdevteam-core-scope .header:hover .side-nav__item{gap:10px;padding:0 16px}.ihabdevteam-core-scope .header .side-nav__label{display:inline-block;max-width:0;opacity:0;overflow:hidden;pointer-events:none;transform:translateX(-6px);transition:max-width .18s ease,opacity .18s ease,transform .18s ease;white-space:nowrap}.ihabdevteam-core-scope .header{overflow:visible;transition:width .18s ease;width:72px}.ihabdevteam-core-scope .header:focus-within,.ihabdevteam-core-scope .header:hover{width:220px}.ihabdevteam-core-scope .header:focus-within .side-nav__label,.ihabdevteam-core-scope .header:hover .side-nav__label{max-width:200px;opacity:1;pointer-events:auto;transform:translateX(0)}.ihabdevteam-core-scope .header.header--force-collapsed{width:72px}.ihabdevteam-core-scope .header.header--force-collapsed .side-nav__label{max-width:0;opacity:0;pointer-events:none;transform:translateX(-6px)}.ihabdevteam-core-scope .header.header--force-collapsed:hover{width:72px}}@media (max-width:767px){.ihabdevteam-core-scope .header{align-items:center;border-bottom:1px solid var(--color-whiteLine);border-left:none;border-right:none;flex-direction:row;height:64px;justify-content:space-between;left:0;position:fixed;right:0;top:0;width:100%}.ihabdevteam-core-scope .header__top{align-items:center;display:flex;flex:1}.ihabdevteam-core-scope .header__branding{height:auto}.ihabdevteam-core-scope .header__menu-button{display:inline-flex}.ihabdevteam-core-scope .header__bi{align-items:center;display:flex;gap:var(--spacing-xs);padding:0 calc(12px + env(safe-area-inset-right)) 0 calc(12px + env(safe-area-inset-left));width:100%}.ihabdevteam-core-scope .header__bi .header__menu-button{margin-left:auto}.ihabdevteam-core-scope .header__bottom{display:none}}.ihabdevteam-core-scope .brand-identity__root{align-items:center;display:flex;height:100px;justify-content:center}.ihabdevteam-core-scope .brand-identity__image{height:48px;-o-object-fit:contain;object-fit:contain;width:auto}@media (min-width:1024px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (max-width:767px){.ihabdevteam-core-scope .brand-identity__root{height:64px;padding:10px}.ihabdevteam-core-scope .brand-identity__image{height:40px}}';Q(H3);function Vl({appMode:t}){const{t:e}=ge(),a=t==="manager",o=a?Hl:Wl,r=W3,i=ra("(min-width: 768px) and (max-width: 1023px)");return n.jsx("div",{className:"brand-identity__root","aria-label":e("header.biArea","BI \uC601\uC5ED"),children:i?n.jsx("img",{src:r,alt:e("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):n.jsx("img",{src:o,alt:a?e("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):e("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function Gl({activeKey:t,onChange:e,items:a,malgwiItems:o,managerItems:r,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}){const{t:g}=ge(),f=ra("(max-width: 767px)"),b=c.useMemo(()=>{const D=[];return s&&D.push({key:"debug",icon:"terminal",label:g("nav.debug","\uB514\uBC84\uADF8"),onClick:s}),l&&D.push({key:"notifications",icon:"bell",label:g("nav.notifications","\uC54C\uB9BC"),badgeCount:i,onClick:l}),d&&D.push({key:"settings",icon:"settings",label:g("nav.settings","\uC124\uC815"),onClick:d}),h&&D.push({key:"help",icon:"message-circle-question-mark",label:g("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),u&&D.push({key:"account",icon:"user-round",label:g("nav.account","\uACC4\uC815"),onClick:u}),D},[g,s,l,d,h,u,i]),y=c.useCallback(D=>({position:"fixed",top:D.bottom+8,right:Math.max(8,window.innerWidth-D.right),zIndex:1e4}),[]),{open:v,toggle:x,close:_,style:C,triggerRef:T,menuRef:w}=Eo({computeStyle:y,onScroll:"ignore",onResize:"ignore"}),S=c.useMemo(()=>[{items:b.map(D=>({label:D.label,icon:D.icon,badgeCount:D.badgeCount,selected:D.selected??(!!D.key&&D.key===t),closeOnSelect:!0,onClick:()=>{D.onClick?.(),_()}}))}],[b,t,_]);return n.jsxs("aside",{className:`header${p==="manager"?" header--manager":""}`,children:[n.jsxs("div",{className:"header__bi",children:[n.jsx(Vl,{appMode:p}),n.jsxs("div",{className:"header__menu-button",ref:T,children:[n.jsx(se,{size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:x}),v&&Yt.createPortal(n.jsx("div",{className:"tooltip-content",style:C,ref:w,children:n.jsx(xr,{columns:S,onClose:_})}),document.body)]})]}),n.jsx(Fl,{items:a,activeKey:t??void 0,onChange:e,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}),f&&n.jsx(zl,{items:a,activeKey:t??void 0,onChange:e,appMode:p,onAppModeChange:m})]})}const lm=Gl;var V3='.ihabdevteam-core-scope .payment-plan__card{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex:1 1 340px;flex-direction:column;gap:28px;max-width:360px;min-width:min(340px,100%);padding:20px;position:relative;text-align:left;transition:box-shadow .2s ease,transform .2s ease;width:100%}.ihabdevteam-core-scope .payment-plan__card:hover{box-shadow:var(--shadow-dropdown);transform:translateY(-4px)}.ihabdevteam-core-scope .payment-plan__card-badge{position:absolute;right:32px;top:32px}.ihabdevteam-core-scope .payment-plan__pricing-card{cursor:pointer;display:flex;justify-content:center}.ihabdevteam-core-scope .payment-plan__title{color:var(--color-black);display:flex;flex-direction:column;margin:0}.ihabdevteam-core-scope .payment-plan__quote{color:var(--color-sub);margin:0 0 4px;min-height:1.4em}.ihabdevteam-core-scope .payment-plan__title-heading{margin:0}.ihabdevteam-core-scope .payment-plan__subtitle{color:var(--color-gray);line-height:1.5;margin:8px 0 0;text-align:left}.ihabdevteam-core-scope .payment-plan__box,.ihabdevteam-core-scope .payment-plan__box-title{display:block}.ihabdevteam-core-scope .payment-plan__box-list{color:var(--color-lightGray);padding-left:18px}.ihabdevteam-core-scope .payment-plan__box-list li{margin-bottom:4px}.ihabdevteam-core-scope .payment-plan__contact-button{width:100%}.ihabdevteam-core-scope .payment-plan__feature-list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:12px 0 0;padding:0}.ihabdevteam-core-scope .payment-plan__feature-item{align-items:center;color:var(--color-darkGray);display:flex;gap:10px;line-height:1.45}.ihabdevteam-core-scope .payment-plan__feature-check{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center}.ihabdevteam-core-scope .payment-plan__card-pricing{display:flex;flex-direction:column;gap:6px;margin-top:auto;text-align:left;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-list{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .payment-plan__pricing-row{grid-row-gap:4px;align-items:center;background:var(--plan-color,var(--color-darkWhite));border:1px solid transparent;border-radius:var(--radius-s);box-sizing:border-box;color:#fff;cursor:pointer;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:14px 18px;row-gap:4px;transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-row--static{cursor:default;pointer-events:none}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight{background:var(--color-white);border:1px solid var(--plan-color,var(--color-main));color:var(--color-darkGray)}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-current,.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-row-price{color:var(--plan-color,var(--color-main))}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-original{color:var(--color-lightGray)}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-badge{color:var(--plan-color,var(--color-main))}.ihabdevteam-core-scope .payment-plan__pricing-row:hover{box-shadow:var(--shadow-dropdown);filter:brightness(1.04);transform:translateY(-2px)}.ihabdevteam-core-scope .payment-plan__pricing-row-title{display:contents}.ihabdevteam-core-scope .payment-plan__pricing-row-label{grid-column:1;grid-row:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-badge{color:hsla(0,0%,100%,.9);grid-column:2;grid-row:1;margin:0;text-align:right;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-row-price{align-items:center;color:#fff;display:flex;gap:var(--spacing-xs);grid-column:1/-1;grid-row:2;justify-content:flex-end;margin:0;text-align:right}.ihabdevteam-core-scope .payment-plan__pricing-original{color:var(--color-white-a80);margin:0;text-decoration:line-through;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-current{color:#fff;margin:0;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-symbol{font-weight:600;margin-right:2px}.ihabdevteam-core-scope .payment-plan__list{grid-gap:var(--spacing-l);align-items:stretch;display:grid;gap:var(--spacing-l);grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),360px));justify-content:center;margin:0 auto var(--spacing-page);width:100%}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:stretch}.ihabdevteam-core-scope .payment-plan__card-content,.ihabdevteam-core-scope .payment-plan__card-inner{min-height:0}.ihabdevteam-core-scope .payment-plan__card.recommended{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .payment-plan__recommended-badge{background:var(--color-main);border-radius:var(--radius-m);color:#fff;font-weight:700;left:50%;padding:4px 14px;position:absolute;top:-12px;transform:translateX(-50%);white-space:nowrap}.ihabdevteam-core-scope .payment-plan__name{font-weight:800;margin:0 0 8px}.ihabdevteam-core-scope .payment-plan__price{font-weight:800;margin:0 0 4px}.ihabdevteam-core-scope .payment-plan__period{color:var(--color-gray);display:inline}.ihabdevteam-core-scope .payment-plan__features{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:20px 0;padding:0}.ihabdevteam-core-scope .payment-plan__feature{align-items:center;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .payment-plan__feature:before{color:var(--color-success);content:"\u2713";font-weight:700}.ihabdevteam-core-scope .payment-plan__button{border:none;border-radius:var(--radius-card);cursor:pointer;font-weight:700;padding:14px;transition:all .12s;width:100%}.ihabdevteam-core-scope .payment-plan__button--primary{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .payment-plan__button--primary:hover{background:var(--color-infoLink)}.ihabdevteam-core-scope .payment-plan__button--outline{background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);color:var(--color-darkGray)}.ihabdevteam-core-scope .payment-plan__button--outline:hover{border-color:var(--color-main);color:var(--color-main)}@media (max-width:767px){.ihabdevteam-core-scope .payment-plan__list{align-items:center;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:center;flex:none;max-width:360px;width:100%}}';Q(V3);function cm(t){if(!(t==null||t===""))return cr(typeof t=="number"?`${t.toLocaleString("ko-KR")}\uC6D0`:t)}function G3(t){const e=`${t.code??""} ${t.name??""}`.toLowerCase();return/manager|매니저/.test(e)?"manager":"speechear"}function q3(t){if(t.durationDays&&t.durationDays>0){const r=t.durationDays;return r%365===0?`${r/365}\uB144`:`${r}\uC77C`}const e=(t.code??"").match(/(\d+)(d|y)\b/i);if(e)return e[2].toLowerCase()==="y"?`${e[1]}\uB144`:`${e[1]}\uC77C`;const a=t.name??"",o=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);return o?o[1].replace(/\s+/g,""):a||"\uC774\uC6A9\uAD8C"}function U3(t){const e=(t??"").match(/(\d+)(d|y)\b/i);if(!e)return null;const a=Number(e[1]);return e[2].toLowerCase()==="y"?a*365:a}function ql(t){return{type:t.type??G3(t),plan:q3(t),label:t.label,price:cm(t.price),originalPrice:cm(t.originalPrice),discountLabel:t.discountLabel}}var Y3='.ihabdevteam-core-scope .pass-card-frame{container-type:inline-size;height:188px;max-width:100%;width:300px}.ihabdevteam-core-scope .pass-card{border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;height:188px;overflow:hidden;padding:var(--spacing-l);position:relative;width:300px}.ihabdevteam-core-scope .pass-card-frame>.pass-card{aspect-ratio:auto;border-radius:5.33cqw;height:100%;padding:6.67cqw;width:100%}.ihabdevteam-core-scope .pass-card--clickable{cursor:pointer}@media (max-width:360px){.ihabdevteam-core-scope .pass-card,.ihabdevteam-core-scope .pass-card-frame{max-width:300px;width:100%}}.ihabdevteam-core-scope .pass-card--active{box-shadow:0 4px 16px rgba(0,0,0,.08)}.ihabdevteam-core-scope .pass-card--pending{box-shadow:0 2px 8px rgba(0,0,0,.05)}.ihabdevteam-core-scope .pass-card--expired{--color-main:var(--color-disabled);--color-sub:var(--color-whiteLine);--pass-card-expired-shape:var(--color-whiteLine);box-shadow:none}.ihabdevteam-core-scope [data-theme=dark] .pass-card--expired{--pass-card-expired-shape:hsla(0,0%,100%,.18)}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]) .pass-card--expired{--pass-card-expired-shape:hsla(0,0%,100%,.18)}}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg{background:var(--color-darkWhite)}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg__symbol{background:var(--pass-card-expired-shape)}.ihabdevteam-core-scope .pass-card--expired .pass-card__copyright,.ihabdevteam-core-scope .pass-card--expired .pass-card__plan,.ihabdevteam-core-scope .pass-card--expired .pass-card__price-area,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-percent,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-remaining{color:var(--color-gray)}.ihabdevteam-core-scope .pass-card.pass-card--expired:after{box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 color-mix(in srgb,var(--color-gray) 10%,transparent)}.ihabdevteam-core-scope .pass-card:after{border-radius:inherit;box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 rgba(73,156,223,.2);content:"";inset:0;pointer-events:none;position:absolute;z-index:2}.ihabdevteam-core-scope .pass-card__top{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;margin-top:-1.67cqw;position:relative;z-index:1}.ihabdevteam-core-scope .pass-card__top-left{align-items:flex-start;display:flex;flex-direction:column;gap:0}.ihabdevteam-core-scope .pass-card__logo{height:10.67cqw;-o-object-fit:contain;object-fit:contain;width:auto}.ihabdevteam-core-scope .pass-card__plan{color:var(--pass-card-text,var(--color-pureBlack));display:flex;flex-direction:column;gap:0;margin-top:-.67cqw;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__plan .h0{font-size:13.33cqw;line-height:1.3}.ihabdevteam-core-scope .pass-card .pass-card__plan-number{font-size:17.33cqw;letter-spacing:-1cqw;line-height:1}.ihabdevteam-core-scope .pass-card__plan .h5b{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__plan-unit{margin-left:.67cqw;position:relative;top:-.67cqw}.ihabdevteam-core-scope .pass-card__plan-suffix{margin-left:.67cqw;margin-top:0}.ihabdevteam-core-scope .pass-card .pass-card__copyright{color:var(--pass-card-text,var(--color-black));font-size:3.67cqw;line-height:1.36;margin:auto 0 0;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__price-area{align-items:flex-end;bottom:4.67cqw;display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__price-area .h1{font-size:10.67cqw;line-height:1.375}.ihabdevteam-core-scope .pass-card__price-area .h5{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__usage{align-items:flex-end;bottom:4.67cqw;color:var(--pass-card-text,var(--color-black));display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__usage-percent{align-items:baseline;display:inline-flex;font-size:3.67cqw;gap:0;line-height:1.36;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-remaining{font-size:5cqw;line-height:1.53;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-value{font-size:10.67cqw;line-height:1.2}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-symbol{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__discount{color:var(--pass-card-text,var(--color-pureBlack));font-size:4.67cqw;line-height:1.2;text-align:right;white-space:pre-line}.ihabdevteam-core-scope .pass-card__price{align-items:baseline;color:var(--pass-card-text,var(--color-pureBlack));display:inline-flex;gap:2cqw;text-align:right}.ihabdevteam-core-scope .pass-card__price-original{color:color-mix(in srgb,var(--pass-card-text,var(--color-pureBlack)) 75%,transparent);font-size:4.67cqw;line-height:1.57;text-decoration:line-through;text-decoration-thickness:1px}';Q(Y3);var K3='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Z3='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',X3='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',J3='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Q3='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',e8='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',t8=".ihabdevteam-core-scope .pass-card-bg{border-radius:inherit;inset:0;overflow:hidden;pointer-events:none;position:absolute}:where(.ihabdevteam-core-scope){--pass-card-symbol-opacity:1}.ihabdevteam-core-scope .pass-card-bg__symbol{background:var(--symbol-url) center /contain no-repeat;height:48px;-webkit-mask:var(--symbol-url) center /contain no-repeat;mask:var(--symbol-url) center /contain no-repeat;position:absolute;right:12px;top:12px;width:48px}";Q(t8);var a8=".ihabdevteam-core-scope .pass-card-bg-two-circle{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1,.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{border-radius:50%;opacity:.75;opacity:var(--pass-card-symbol-opacity,.75);position:absolute}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1{background:var(--color-main);height:340px;right:-150px;top:-140px;width:340px}.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{background:var(--color-sub);bottom:-90px;height:220px;right:-50px;width:220px}.ihabdevteam-core-scope .pass-card-bg-two-circle__symbol{background:var(--color-darkWhite)}";Q(a8);var dm='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_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Va={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Ul=new WeakMap;function o8(t){if(t)return Ul.get(t)}function va(t,e){t&&(t.style.setProperty(Va.text,e.text),t.style.setProperty(Va.sub,e.sub),e.copyrightColor&&t.style.setProperty(Va.copyright,e.copyrightColor),Ul.set(t,e))}function ya(t){t&&(t.style.removeProperty(Va.text),t.style.removeProperty(Va.sub),t.style.removeProperty(Va.copyright),Ul.delete(t))}const Yl={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Kl(t={}){const e=dt(Yl,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-two-circle__c1"}),n.jsx("div",{className:"pass-card-bg-two-circle__c3"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${dm}")`}})]})}const um="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var r8=".ihabdevteam-core-scope .pass-card-bg-sound-move{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-sound-move__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(r8);var Cr='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_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const n8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},i8=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function pm(t={}){const e=dt(n8,va,ya),a="var(--color-main)",o=270,r=170;return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:i8.map(({scale:i,opacity:s},l)=>n.jsx("g",{transform:`translate(${o} ${r}) scale(${i}) translate(-50 -50)`,opacity:s,children:n.jsx("path",{d:um,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},l))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}var s8=".ihabdevteam-core-scope .pass-card-bg-sound-move-v1{background:linear-gradient(135deg,var(--color-main),var(--color-sub))}.ihabdevteam-core-scope .pass-card-bg-sound-move-v1__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(s8);const l8={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},c8=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function d8(t={}){const e=dt(l8,va,ya),a="#ffffff",o=270,r=170;return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:c8.map(({scale:i,opacity:s},l)=>n.jsx("g",{transform:`translate(${o} ${r}) scale(${i}) translate(-50 -50)`,opacity:s,children:n.jsx("path",{d:um,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},l))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${dm}")`}})]})}var u8=".ihabdevteam-core-scope .pass-card-bg-talk{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk__shape--left{background:var(--color-main);border-radius:42px 42px 42px 4px;transform:translateX(-18px)}.ihabdevteam-core-scope .pass-card-bg-talk__shape--right{background:var(--color-sub);border-radius:50%;opacity:.7;transform:translateX(18px)}";Q(u8);const p8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function h8(t={}){const e=dt(p8,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}const m8={Logo_speechear_kr:{"":Wl,_white:K3,_textWhite:Z3,_black:X3},Logo_speechearManager_kr:{"":Hl,_white:J3,_textWhite:Q3,_black:e8}};function g8(t,e){if(t)return m8[t]?.[e??""]??void 0}const b8={speechear:Wl,manager:Hl},f8={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},hm=10;function v8(t,e){if(t<=0)return e("passCard.remainingSecond",{n:0});const a=Math.floor(t/86400);if(a>0)return e("passCard.remainingDay",{n:a});const o=Math.floor(t/3600);if(o>0)return e("passCard.remainingHour",{n:o});const r=Math.floor(t/60);return r>0?e("passCard.remainingMinute",{n:r}):e("passCard.remainingSecond",{n:Math.floor(t)})}function y8(t,e,a){if(t==="manager"){const o=/년/.test(e)||/yr|year/i.test(e)||/1년|365/.test(e),r=a==="\uC624\uD508\uD2B9\uAC00"||a===ct.t("passCard.specialLabel");return o?n.jsx(h8,{}):r?n.jsx(d8,{}):n.jsx(pm,{})}return n.jsx(Kl,{})}function Zl({product:t,showPrice:e=!1,plan:a,type:o,endDate:r,remainingSeconds:i,state:s="active",bg:l,bgOnly:u=!1,textColor:d,subColor:h,copyrightColor:p,logoSrc:m,label:g,price:f,originalPrice:b,discountLabel:y,onUse:v,onRefund:x,onDelete:_}){const{t:C}=ge(),T=t?ql(t):void 0,w=o??T?.type??"speechear",S=a??T?.plan??"\uC774\uC6A9\uAD8C",D=g??T?.label,A=f??(e?T?.price:void 0),N=b??(e?T?.originalPrice:void 0),O=y??T?.discountLabel,j=c.useMemo(()=>{if(A)return null;const X=t?.durationDays??U3(t?.code);if(!X||X<=0)return null;const de=X*86400;let Ce;if(i!=null)Ce=i;else if((s==="active"||s==="expired")&&r){const le=new Date(r).getTime();if(Number.isNaN(le))return null;const G=new Date;G.setHours(0,0,0,0);const ce=new Date(le);ce.setHours(0,0,0,0);const be=Math.round((ce.getTime()-G.getTime())/864e5);Ce=Math.max(0,be)*86400}else s==="expired"?Ce=0:Ce=de;const Z=Math.max(0,Math.min(100,Math.floor(Math.min(Ce,de)/de*100)));return s==="pending"&&Z>=100?null:{percent:Z,remainingLabel:v8(Ce,C)}},[A,s,r,i,t?.durationDays,t?.code,C]),k=c.useRef(null),[E,L]=c.useState({}),[z,te]=c.useState(null),J=!!(v||x||_),ae=c.useRef(!1),M=c.useRef(void 0),[R,$]=c.useState(m);c.useLayoutEffect(()=>{$(m)},[m]),c.useLayoutEffect(()=>{const X=k.current;X&&(d!==void 0&&X.style.setProperty("--pass-card-text",d),h!==void 0&&X.style.setProperty("--pass-card-sub",h),p!==void 0&&X.style.setProperty("--pass-card-copyright",p))},[d,h,p]),c.useLayoutEffect(()=>{const X=k.current;if(!X)return;const de=o8(X);if(!m){const Ce=f8[w],Z=s==="expired"?"_black":de?.logoColor??"",le=g8(Ce,Z);$(le)}},[l,m,w,s]);const F=X=>{const de=k.current;if(!de)return null;const{left:Ce,top:Z,width:le,height:G}=de.getBoundingClientRect(),ce=(X.clientX-Ce)/le-.5;return{rotateX:-((X.clientY-Z)/G-.5)*hm,rotateY:ce*hm}},I=(X,de)=>{const Ce=de*-.7,Z=X*.7+10,le=20+(Math.abs(X)+Math.abs(de))*.4;return`${Ce}px ${Z}px ${le}px rgba(0, 0, 0, 0.18)`},q=c.useCallback(X=>{ae.current=!0,clearTimeout(M.current),M.current=setTimeout(()=>{ae.current=!1},200);const de=F(X);de&&L({transform:`perspective(800px) rotateX(${de.rotateX}deg) rotateY(${de.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:I(de.rotateX,de.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),P=c.useCallback(X=>{const de=F(X);if(!de)return;const Ce=ae.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";L({transform:`perspective(800px) rotateX(${de.rotateX}deg) rotateY(${de.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:I(de.rotateX,de.rotateY),transition:Ce})},[]),H=c.useCallback(()=>{clearTimeout(M.current),ae.current=!1,L({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),V=c.useCallback(()=>te(null),[]),U=c.useMemo(()=>{const X=S.replace("\uC774\uC6A9\uAD8C","").trim(),de=X.match(/^(.*?)(일|년)$/);return de?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"h0 pass-card__plan-number",children:de[1]}),n.jsx("span",{className:"h5b pass-card__plan-unit",children:de[2]==="\uB144"?C("passCard.unitYear","\uB144"):C("passCard.unitDay","\uC77C")})]}):n.jsx("span",{className:"h0",children:X})},[S,C]),ee=c.useMemo(()=>{const X=cr(A);if(!X)return null;const de=X.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!de)return n.jsx("span",{className:"h1",children:X});const[,Ce,Z,le]=de;return n.jsxs(n.Fragment,{children:[Ce&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:Ce}),n.jsx("span",{className:"h1 pass-card__price-amount",children:Z}),le.trim()&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:le.trim()})]})},[A]),pe=c.useCallback(()=>{J&&te(X=>{if(X)return null;const de=k.current?.getBoundingClientRect();if(!de)return null;const Ce=50;return{left:de.left,right:de.right,width:de.width,height:de.height,x:de.x,y:de.y+Ce,top:de.top+Ce,bottom:de.bottom+Ce}})},[J]),he=c.useCallback(X=>{J&&(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),pe())},[J,pe]),oe=[{items:[...v?[{label:C("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{v(),te(null)},closeOnSelect:!0}]:[],...x?[{label:C("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{x(),te(null)},closeOnSelect:!0}]:[],..._?[{label:C("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),te(null)},closeOnSelect:!0}]:[]]}];return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card-frame",children:n.jsxs("div",{ref:k,className:`pass-card pass-card--${s}${J?" pass-card--clickable":""}`,style:E,onMouseEnter:q,onMouseMove:P,onMouseLeave:H,onClick:pe,onKeyDown:J?he:void 0,role:J?"button":void 0,tabIndex:J?0:void 0,children:[l??y8(w,S,D),!u&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card__top",children:n.jsxs("div",{className:"pass-card__top-left",children:[n.jsx("img",{src:R??b8[w],className:"pass-card__logo",alt:w==="manager"?C("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):C("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),n.jsxs("div",{className:"pass-card__plan",children:[n.jsx("div",{children:U}),n.jsx("span",{className:"h5b pass-card__plan-suffix",children:D?C("passCard.labeledPlan",{label:D}):C("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),A?n.jsxs("div",{className:"pass-card__price-area",children:[O&&n.jsx("span",{className:"pass-card__discount body-3",children:O}),n.jsxs("div",{className:"pass-card__price",children:[N&&n.jsx("span",{className:"pass-card__price-original body-3",children:cr(N)}),ee]})]}):j?n.jsxs("div",{className:"pass-card__usage",children:[n.jsx("span",{className:"h5b pass-card__usage-remaining",children:j.remainingLabel}),n.jsxs("span",{className:"pass-card__usage-percent",children:[n.jsx("span",{className:"h1 pass-card__usage-value",children:j.percent}),n.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):n.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),z&&n.jsx(Ta,{anchorRect:z,onClose:V,children:n.jsx(xr,{columns:oe,onClose:V,size:"small"})})]})}var x8=".ihabdevteam-core-scope .pass-card-bg-sound-line{background:linear-gradient(60deg,var(--color-pureWhite) 0,color-mix(in srgb,var(--color-sub) 15%,var(--color-pureWhite)) 100%)}.ihabdevteam-core-scope .pass-card-bg-sound-line__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(x8);const C8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function _8(t={}){const e=`passcard-sound-line-grad-${c.useId()}`,a=dt(C8,va,ya);return n.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[n.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("defs",{children:n.jsxs("linearGradient",{id:e,x1:"0",y1:"0",x2:"1",y2:"0",children:[n.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),n.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),n.jsx("g",{transform:"translate(25, 45)",children:n.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${e})`,strokeWidth:"50",strokeLinecap:"round"})})]}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}var w8=".ihabdevteam-core-scope .pass-card-bg-talk-v1{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--left{background:linear-gradient(70deg,var(--color-main),var(--color-sub));border-radius:999px;height:92px;transform:translateX(0) rotate(120deg);width:180px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--right{background:var(--color-sub);border-radius:50%;height:60px;opacity:1;transform:translate(38px,12px);width:60px}";Q(w8);const k8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function S8(t={}){const e=dt(k8,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}function A8(t,e){if(t){if(e==="manager_pro")return n.jsx(S8,{});if(e==="manager_standard")return n.jsx(_8,{});if(e==="manager_lite")return n.jsx(pm,{})}}function T8(t){const e=cr(t);if(!e)return null;const a=e.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return e;const[,o,r,i]=a;return n.jsxs(n.Fragment,{children:[o&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:o}),r,i.trim()&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:i.trim()})]})}function mm(t){const{t:e}=ge(),{plan:a,onSelect:o,period:r="monthly",ownedCodes:i}=t||{},s=v=>!!v&&!!i?.includes(v),l=(a.tiers||[]).some(v=>/오픈\s*특가/.test(v.label??"")&&s(v.code)),u=v=>{const x=v.prices?v.prices[r]:v.price;return x?(a.tiers||[]).some(_=>!!_.badge&&_.originals?.[r]===x):!1},d=a.colorToken?`var(--color-${a.colorToken})`:"var(--color-gray)",h=e("payment.plan.freePrice","\uBB34\uB8CC"),p=e("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),m=v=>v.prices?v.prices[r]:v.price,g=(a.tiers||[]).length>0&&(a.tiers||[]).every(v=>{const x=m(v);return x==="\uBB34\uB8CC"||x===h||x==="0\uC6D0"}),f=(a.tiers||[]).length>0&&(a.tiers||[]).every(v=>{const x=m(v);return x==="\uBB38\uC758"||x===p}),b=a.group==="org",y=b?"manager":"speechear";return n.jsxs("div",{className:"payment-plan__card",style:{borderColor:d,"--plan-color":d},children:[a.cardBadge&&n.jsx("div",{className:"payment-plan__card-badge",children:n.jsx(gt,{label:a.cardBadge,variant:"main",size:"medium",fill:"soft"})}),n.jsxs("div",{className:"payment-plan__title",children:[n.jsx("p",{className:"payment-plan__quote body-3b",style:{color:d},children:a.quote||"\xA0"}),n.jsx("h3",{className:"payment-plan__title-heading h1",children:a.tier??a.title}),n.jsx("p",{className:"payment-plan__subtitle body-3",children:a.subtitle})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:e("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(a.recommendedFor||[]).map((v,x)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(Re,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:d}}),v]},x))})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:e("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(a.features||[]).map((v,x)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(Re,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:d}}),v]},x))})]}),n.jsx("div",{className:"payment-plan__card-pricing",children:g?null:f?n.jsx(se,{className:"payment-plan__contact-button",label:e("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>a.tiers?.[0]&&o?.({...a.tiers[0],productId:a.id,productTitle:a.title})}):n.jsx(n.Fragment,{children:n.jsx("div",{className:"payment-plan__pricing-list",children:(a.tiers||[]).map(v=>{const x=v.label||"\uC774\uC6A9\uAD8C",_=/오픈\s*특가/.test(x),C=_||v.openPromo===!0,T=x.replace(/^오픈\s*특가\s*/,"")||"\uC774\uC6A9\uAD8C",w=v.prices?v.prices[r]:v.price,S=v.badge?C?`\uC624\uD508 \uD2B9\uAC00
|
|
828
|
+
`),this.name="StorageNotConfiguredError"}};function vi(t){f4(t)}function Or(t,e){if(!t)return null;const a=Go();return a?.resolvePath?a.resolvePath(t,e):e?`${e}/${t}.mp3`:null}async function yi(t){if(!t)return!1;const e=Go();if(!e)throw new fi("fileExists");if(e.exists)return e.exists(t);try{return await e.resolveUrl(t)!==null}catch{return!1}}async function qo(t){if(!t)return null;const e=Go();if(!e)throw new fi("getSignedOrPublicUrl");try{return await e.resolveUrl(t)}catch{return null}}async function zr(t){const e=Go();if(!e)throw new fi("downloadSound");return e.download(t)}function xi(){return Go()?.noiseBaseUrl??"/sounds/noise"}const Ci="__ihab_core_tts_config__";function Cu(t){globalThis[Ci]=t}function Uo(){return globalThis[Ci]?.urlResolver??null}function _i(){return globalThis[Ci]?.fallbackUrlResolver??null}const v4=new Map;function _u(){v4.clear()}const wu="__ihab_core_pronunciation_resolver__";function ku(t){globalThis[wu]=t}function wi(){return globalThis[wu]??null}let Yo=null;const Su=new WeakMap;function y4(){if(Yo)return Yo;try{const t=window.AudioContext||window.webkitAudioContext;return t?(Yo=new t,Yo):null}catch{return null}}function Ko(){try{Yo?.resume()}catch{}}function Zo(t){if(!t)return null;const e=Su.get(t);if(e)return e;const a=y4();if(!a)return null;try{const o=a.createMediaElementSource(t),r=a.createAnalyser();return r.fftSize=1024,r.smoothingTimeConstant=.6,o.connect(r),o.connect(a.destination),Su.set(t,r),r}catch{return null}}function ki(t,e){t.getFloatTimeDomainData(e);let a=0;for(let o=0;o<e.length;o++){const r=e[o];a+=r*r}return Math.sqrt(a/e.length)}const Au="__ihab_core_image_config__";function Tu(t){globalThis[Au]=t}function $a(){return globalThis[Au]??null}const Xo="word_image_existence_map_v1";let pa=null;const Fr=new Map;function Jo(){if(pa)return pa;try{const t=typeof localStorage<"u"?localStorage.getItem(Xo):null;pa=t?JSON.parse(t):{}}catch{pa={}}return pa}let Si=null;function x4(){Si||(Si=setTimeout(()=>{Si=null;try{typeof localStorage<"u"&&pa&&localStorage.setItem(Xo,JSON.stringify(pa))}catch{}},200))}function Wr(t,e){return`${t}_${e??1}`}async function Qo(t,e){const a=Jo(),o=Wr(t,e);if(o in a)return a[o];if(Fr.has(o))return Fr.get(o);const r=$a();if(!r)return!1;const i=r(t,e);if(!i)return!1;const s=fetch(i,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(l=>l.ok).catch(()=>!1).then(l=>(a[o]=l,x4(),Fr.delete(o),l));return Fr.set(o,s),s}function Ai(t,e){const a=Jo(),o=Wr(t,e);return o in a?a[o]:void 0}async function Nu(t,e={}){const{force:a=!1,concurrency:o=16,onProgress:r}=e,i=Jo(),s=a?Array.from(new Set(t)):Array.from(new Set(t)).filter(u=>!(Wr(u)in i));let l=0;if(s.length>0){let u=0;const d=Array.from({length:Math.min(o,s.length)},async()=>{for(;u<s.length;){const h=u++,p=s[h],m=Wr(p);if(!a&&m in i){l++,r?.(l,s.length);continue}try{await Qo(p)}catch{}l++,r?.(l,s.length)}});await Promise.all(d)}try{typeof localStorage<"u"&&pa&&localStorage.setItem(Xo,JSON.stringify(pa))}catch{}return{checked:s.length,cached:Object.keys(i).length,total:t.length}}function Hr(){const t=Jo(),e=Object.values(t);return e.length===0?null:{total:e.length,exists:e.filter(Boolean).length}}function Bu(t){const e=Jo();Object.assign(e,t);try{typeof localStorage<"u"&&localStorage.setItem(Xo,JSON.stringify(e))}catch{}}function Ti(){pa={};try{typeof localStorage<"u"&&localStorage.removeItem(Xo)}catch{}}const Ue=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],pt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],vt=["","\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 Be(t){if(!t)return null;const e=t.charCodeAt(0)-44032;return e<0||e>=11172?null:{cho:Math.floor(e/588),jung:Math.floor(e%588/28),jong:e%28}}function Ni(){const t=new Map;return e=>{let a=t.get(e);return a||(a=[...e].map(o=>Be(o)),t.set(e,a)),a}}function ha(t,e,a=0){return String.fromCharCode(44032+(t*21+e)*28+a)}function Bi(t,e){if(!t||!e||t===e||t.length!==e.length)return"random";let a=0,o=null;for(let r=0;r<t.length;r++){const i=Be(t[r]),s=Be(e[r]);if(!i||!s)return"random";if(i.cho===s.cho&&i.jung===s.jung&&i.jong===s.jong)continue;a++;const l=i.cho!==s.cho,u=i.jung!==s.jung,d=i.jong!==s.jong;(l?1:0)+(u?1:0)+(d?1:0)>1?o="multi":l?o="cho":u?o="jung":o="jong"}return a!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}function Ei(t){const e=Be(t[0]||"");return e?Ue[e.cho]:""}function Di(t){return[...t].map(e=>{const a=Be(e);return a?Ue[a.cho]:e}).join("")}function Li(t){return!!t&&[...t].every(e=>Ue.includes(e))}function Eu(t,e){return e?Li(e)?Di(t).includes(e):t.toLowerCase().includes(e.toLowerCase()):!0}function fo(t,e){if(!e)return!0;const a=[...e],o=l=>Ue.includes(l),r=l=>pt.includes(l),i=a.map(l=>o(l)?"cho":r(l)?"jung":Be(l)?"syl":"other");if(i.includes("other"))return t.includes(e);const s=[...t];for(let l=0;l+a.length<=s.length;l++){let u=!0;for(let d=0;d<a.length;d++){const h=s[l+d],p=i[d];if(p==="cho"){if(Ei(h)!==a[d]){u=!1;break}}else if(p==="jung"){const m=Be(h);if(!m||pt[m.jung]!==a[d]){u=!1;break}}else{const m=Be(a[d]);if(m&&m.jong===0){const g=Be(h);if(!g||g.cho!==m.cho||g.jung!==m.jung){u=!1;break}}else if(h!==a[d]){u=!1;break}}}if(u)return!0}return!1}const vo={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"]},Du=Object.fromEntries(Object.entries(vo).map(([t,e])=>[e.join(""),vt[Number(t)]]));function C4(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o){if(Ue[o.cho]===e)return!0;if(o.jong>0){if(vt[o.jong]===e)return!0;const r=vo[o.jong];if(r&&r.includes(e))return!0}}}return!1}function Lu(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o&&Ue[o.cho]===e)return!0}return!1}function ju(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(o&&pt[o.jung]===e)return!0}return!1}function Mu(t,e){if(!t||!e)return!1;for(const a of t){const o=Be(a);if(!o||o.jong<=0)continue;if(vt[o.jong]===e)return!0;const r=vo[o.jong];if(r&&r.includes(e))return!0}return!1}function yo(t){if(!t)return 0;let e=0;for(const a of t)Be(a)&&e++;return e}function ji(t){if(!t)return!1;let e=!1;for(const a of t){const o=Be(a);if(o&&(e=!0,o.jong>0))return!1}return e}function _4(t,e){if(t.jong<=0)return!1;if(e.includes(vt[t.jong]))return!0;const a=vo[t.jong];return!!a&&a.some(o=>e.includes(o))}function Mi(t,e,a){if(!t)return!1;const o=[...t],r=i=>{const s=Be(o[i]);if(!s||e.cho&&!e.cho.includes(Ue[s.cho])||e.jung&&!e.jung.includes(pt[s.jung]))return!1;if(e.jongNone){if(s.jong>0)return!1}else if(e.jong&&!_4(s,e.jong))return!1;return!0};if(a==="head")return r(0);if(a==="tail")return r(o.length-1);if(a==="mid"){for(let i=1;i<o.length-1;i++)if(r(i))return!0;return!1}for(let i=0;i<o.length;i++)if(r(i))return!0;return!1}function Pi(t){return t.includes(",")||t.includes("_")}function Pu(t){if(t==="")return[{kind:"any"}];if(t.includes("_")){const e=[...t];if(e.length>4)return[{kind:"invalid"}];const a=e[0]??"_",o=e[1]??"_";let r=e.slice(2).join("");if(r.length===2){const i=Du[r];if(!i)return[{kind:"invalid"}];r=i}return[{kind:"template",cho:a,jung:o,jong:r||"_"}]}return[...t].map(e=>Be(e)?{kind:"syllable",ch:e}:Ue.includes(e)?{kind:"cho",jamo:e}:pt.includes(e)?{kind:"jung",jamo:e}:{kind:"invalid"})}function w4(t,e){switch(e.kind){case"any":return!0;case"syllable":{const a=Be(e.ch);if(!a)return t===e.ch;if(a.jong===0){const o=Be(t);return!!o&&o.cho===a.cho&&o.jung===a.jung}return t===e.ch}case"cho":{const a=Be(t);return!!a&&Ue[a.cho]===e.jamo}case"jung":{const a=Be(t);return!!a&&pt[a.jung]===e.jamo}case"template":{const a=Be(t);return!(!a||e.cho!=="_"&&Ue[a.cho]!==e.cho||e.jung!=="_"&&pt[a.jung]!==e.jung||e.jong!=="_"&&vt[a.jong]!==e.jong)}case"invalid":return!1}}function Ri(t,e){const a=e.split(",").flatMap(r=>Pu(r.trim()));if(a.length===0)return!0;const o=[...t];if(o.length<a.length)return!1;for(let r=0;r+a.length<=o.length;r++)if(a.every((i,s)=>w4(o[r+s],i)))return!0;return!1}function Ru(t){const e=t.split(",").flatMap(i=>Pu(i.trim())),a=new Set,o=new Set,r=new Set;for(const i of e)switch(i.kind){case"cho":a.add(i.jamo);break;case"jung":o.add(i.jamo);break;case"template":i.cho!=="_"&&a.add(i.cho),i.jung!=="_"&&o.add(i.jung),i.jong!=="_"&&r.add(i.jong);break;case"syllable":{const s=Be(i.ch);s&&(a.add(Ue[s.cho]),o.add(pt[s.jung]),s.jong!==0&&r.add(vt[s.jong]));break}}return a.size===0&&o.size===0&&r.size===0?null:{cho:a.size?[...a]:null,jung:o.size?[...o]:null,jong:r.size?[...r]:null}}function k4(t){return!!Be(t)||Ue.includes(t)||pt.includes(t)}function $u(t){const e=t.trim();if(!e)return{ok:!0};for(const a of e.split(",")){const o=a.trim();if(o!==""){if(o.includes("_")){const r=[...o];if(r.length>4)return{ok:!1};const i=r[0],s=r[1],l=r.slice(2).join(""),u=i===void 0||i==="_"||Ue.includes(i),d=s===void 0||s==="_"||pt.includes(s),h=l===""||l==="_"||vt.filter(Boolean).includes(l)||!!Du[l];if(u&&d&&h)continue;return{ok:!1}}if(![...o].every(k4))return{ok:!1}}}return{ok:!0}}const S4={cho:Ue.length,jung:pt.length,jong:vt.length};function A4(t,e,a,o,r=1/0){if(!t||a<1)return[];const i=[...t].map(p=>Be(p));if(i.some(p=>!p))return[];const s=i,l=s.length;if(a>l)return[];const u=S4[e],d=new Set,h=[];(function p(m,g){if(g.length===a){h.push([...g]);return}for(let f=m;f<l;f++)g.push(f),p(f+1,g),g.pop()})(0,[]);for(const p of h)if((function m(g,f){if(d.size>=r)return;if(g===p.length){const v=f.map(x=>ha(x.cho,x.jung,x.jong)).join("");v!==t&&o.has(v)&&d.add(v);return}const b=p[g],y=s[b][e];for(let v=0;v<u;v++){if(v===y)continue;const x=f.slice();if(x[b]={...f[b],[e]:v},m(g+1,x),d.size>=r)return}})(0,s),d.size>=r)break;return[...d]}function T4(t,e){if(!t||!e||t.length!==e.length)return-1;let a=0;for(let o=0;o<t.length;o++){const r=Be(t[o]),i=Be(e[o]);if(!r||!i)return-1;r.cho!==i.cho&&a++,r.jung!==i.jung&&a++,r.jong!==i.jong&&a++}return a}function Iu(t,e){const a=e.trim();if(!a||!/[^\s,_]/.test(a))return t;if(Pi(a))return t.filter(s=>Ri(s.word,a));const o=t.filter(s=>fo(s.word,a)||fo(s.pronunciation??"",a)),r=[...a].length,i=s=>!!s&&fo(s.slice(0,r),a);return o.map(s=>({w:s,rank:i(s.word)||i(s.pronunciation??"")?0:1})).sort((s,l)=>s.rank-l.rank).map(s=>s.w)}const $i="word_pair_index_v2",Ii="word_pair_index_sig_v2";let ma=null,er=null;function Ou(){try{if(typeof localStorage>"u")return null;const t=localStorage.getItem($i),e=localStorage.getItem(Ii);return!t||!e?null:{index:JSON.parse(t),sig:e}}catch{return null}}function N4(t,e){try{if(typeof localStorage>"u")return;localStorage.setItem($i,JSON.stringify(t)),localStorage.setItem(Ii,e)}catch{}}function B4(t){const e=t.map(o=>`${o.word}|${o.pron??""}`).sort();let a=0;for(const o of e)for(let r=0;r<o.length;r++)a=(a<<5)-a+o.charCodeAt(r)|0;return`${e.length}-${a}`}async function E4(t,e){const a=new Set,o=[];for(const d of t){if(!d.word||a.has(d.word))continue;const h=d.pron||d.word,p=Array.from(h).map(Be);p.some(m=>m===null)||p.length===Array.from(d.word).length&&(a.add(d.word),o.push({word:d.word,syls:p}))}const r={},i=o.length,s=new Map;for(const d of o){const h=d.syls.length;s.has(h)||s.set(h,[]),s.get(h).push(d)}let l=0;const u=["cho","jung","jong"];for(const d of s.values()){const h=d[0].syls.length;for(let p=0;p<h;p++)for(const m of u){const g=new Map;for(const f of d){let b="";for(let v=0;v<h;v++){v>0&&(b+="~");const x=f.syls[v];v===p?m==="cho"?b+=`*:${x.jung}:${x.jong}`:m==="jung"?b+=`${x.cho}:*:${x.jong}`:b+=`${x.cho}:${x.jung}:*`:b+=`${x.cho}:${x.jung}:${x.jong}`}let y=g.get(b);y||(y=[],g.set(b,y)),y.push(f)}for(const f of g.values())if(!(f.length<2))for(let b=0;b<f.length;b++){const y=f[b];for(let v=b+1;v<f.length;v++){const x=f[v];y.syls[p][m]!==x.syls[p][m]&&(r[y.word]||(r[y.word]={cho:[],jung:[],jong:[]}),r[x.word]||(r[x.word]={cho:[],jung:[],jong:[]}),r[y.word][m].push(x.word),r[x.word][m].push(y.word))}}}l+=d.length,e?.(l,i),await new Promise(p=>setTimeout(p,0))}return i>0&&e?.(i,i),r}async function zu(t,e={}){const a=B4(t);if(!e.force){if(ma&&er===a)return ma;const r=Ou();if(r&&r.sig===a)return ma=r.index,er=a,ma}const o=await E4(t,e.onProgress);return ma=o,er=a,N4(o,a),o}function Qa(){if(ma)return ma;const t=Ou();return t?(ma=t.index,er=t.sig,ma):null}function Oi(){ma=null,er=null;try{typeof localStorage<"u"&&(localStorage.removeItem($i),localStorage.removeItem(Ii))}catch{}}const zi={cho:Ue,jung:pt,jong:vt},yt=t=>Array.isArray(t)?t.length>0:!!t;function tr(t,e){if(t.length!==e.length)return!1;for(let a=0;a<t.length;a++){const o=t[a],r=e[a];if(!(!o||!r)&&(o.cho!==r.cho&&Ue[o.cho]==="\u3147"!=(Ue[r.cho]==="\u3147")||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function Fi(t,e,a){const o=a.pronOf(t),r=a.decompOf,i=a.sameStructureOnly&&r?r(o):null,s=[];for(const l of e)l!==t&&(a.okSet&&!a.okSet.has(l)||a.pronOf(l)!==o&&(i&&r&&tr(i,r(a.pronOf(l)))||s.push(l)));return s}function Vr(t,e,a){const o=e?.[t];if(!o)return[];const r=a.kind?o[a.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return Fi(t,r,a)}function Wi(t,e,a,o,r,i,s){const l=["cho","jung","jong"].filter(m=>yt(t[m])),u={};for(const m of l){const g=t[m];u[m]=new Set(Array.isArray(g)?g:[g])}const d=r==="pron",h=new Map;for(const m of e){const g=a(i(m));if(g.some(v=>!v))continue;let f=g;if(!d&&(f=a(m),f.length!==g.length||f.some(v=>!v)))continue;const b=g.length,y=h.get(b);y?y.push({w:m,dPron:g,dPos:f}):h.set(b,[{w:m,dPron:g,dPos:f}])}const p=new Map;for(const[m,g]of h){const f=new Map,b=(y,v)=>{const x=y.dPos[v];return x!=null&&l.every(_=>u[_].has(zi[_][x[_]]))};for(const y of g){let v;if(s==="head")v=b(y,0)?0:-1;else if(s==="tail")v=b(y,m-1)?m-1:-1;else if(s==="mid"){v=-1;for(let _=1;_<m-1;_++)if(b(y,_)){v=_;break}}else v=y.dPos.findIndex(_=>_!=null&&l.every(C=>u[C].has(zi[C][_[C]])));if(v<0)continue;const x=f.get(v);x?x.push(y):f.set(v,[y])}for(const[y,v]of f){const x=new Set(l.map(T=>y+":"+T)),_=T=>{let w="";for(let S=0;S<m;S++){const D=T[S];for(const A of["cho","jung","jong"])w+=(x.has(S+":"+A)?"*":D[A])+"."}return w},C=new Map;for(const T of g){const w=_(T.dPron),S=C.get(w);S?S.push(T):C.set(w,[T])}for(const T of v){const w=C.get(_(T.dPron))??[],S=[];for(const D of w){if(D.w===T.w)continue;let A=!0;for(const N of l){const O=T.dPron[y][N],j=D.dPron[y][N];if(j===O){A=!1;break}if(d&&u[N].has(zi[N][j])){A=!1;break}}A&&(o&&tr(T.dPron,D.dPron)||S.push(D.w))}p.set(T.w,S)}}}return p}const Gr=0,Fu=1,eo=2,Hi=3,D4=4,qr=5,Vi=6,Ur=7,L4=8,Wu=9,ar=10,j4=11,or=12,M4=13,rr=14,Yr=15,Kr=16,nr=17,P4=18,ga=0,ka=1,R4=3,to=4,Gi=5,qi=6,ba=7,Tt=8,Hu=9,Vu=10,Zr=11,Gu=12,Ui=13,Xr=15,Jr=16,Sa=17,qu=18,Yi=21,Uu=27,$4=20,I4={1:Gr,2:Fu,4:eo,7:Hi,8:qr,16:Vi,17:Ur,19:Wu,20:ar,22:or,23:rr,24:Yr,25:Kr,26:nr},O4={[R4]:[ka,ar],[Gi]:[to,or],[Hu]:[Tt,Gr],[Vu]:[Tt,Vi],[Zr]:[Tt,Ur],[Gu]:[Tt,ar],[Ui]:[Tt,Kr],14:[Tt,nr],[qu]:[Sa,ar]},z4={[qi]:eo,[Xr]:qr},Ki={2:ka,24:ka,3:ka,9:ka,5:to,6:to,19:ba,20:ba,22:ba,23:ba,25:ba,27:ba,11:Tt,12:Tt,13:Tt,15:Tt,10:Jr,14:Sa,18:Sa,26:Sa},Yu={[Gr]:Yr,[Hi]:Kr,[Ur]:nr,[or]:rr},Ku={[Gr]:Fu,[Hi]:D4,[Ur]:L4,[Wu]:ar,[or]:M4},F4=new Set([Gi,Vu,Zr,Gu,Ui,Xr,qu]),W4=new Set(["\uBC1F"]);function Zu(t){const e=(t??"").trim();if(!e)return"";const a=[...e],o=a.map(Be);if(o.some(i=>i===null))return e;const r=o;for(let i=0;i<r.length;i++){const s=r[i],l=r[i+1],u=s.jong;if(!l){s.jong=Ki[s.jong]??s.jong;break}if(s.jong===ga)continue;if(l.cho===j4){if(l.jung===$4){if(s.jong===ba){s.jong=ga,l.cho=or;continue}if(s.jong===25){s.jong=ga,l.cho=rr;continue}if(s.jong===Ui){s.jong=Tt,l.cho=rr;continue}}if(s.jong===Uu){s.jong=ga;continue}const h=z4[s.jong];if(h!==void 0){s.jong=ga,l.cho=h;continue}const p=O4[s.jong];if(p){s.jong=p[0],l.cho=p[1];continue}const m=I4[s.jong];m!==void 0&&(s.jong=ga,l.cho=m);continue}if((s.jong===Uu||s.jong===qi||s.jong===Xr)&&Yu[l.cho]!==void 0){l.cho=Yu[l.cho],s.jong=s.jong===qi?to:s.jong===Xr?Tt:ga;continue}if(l.cho===P4){if(s.jong===Gi){s.jong=to,l.cho=rr;continue}if(s.jong===Hu){s.jong=Tt,l.cho=Yr;continue}if(s.jong===Zr){s.jong=Tt,l.cho=nr;continue}const h=Ki[s.jong]??s.jong;if(h===ka){s.jong=ga,l.cho=Yr;continue}if(h===ba){s.jong=ga,l.cho=Kr;continue}if(h===Sa){s.jong=ga,l.cho=nr;continue}}let d=Ki[s.jong]??s.jong;u===Zr&&W4.has(a[i])&&(d=Sa),s.jong=d,Ku[l.cho]!==void 0&&(d===ka||d===ba||d===Sa||F4.has(u))&&(l.cho=Ku[l.cho]),(l.cho===eo||l.cho===Vi)&&(s.jong===ka?s.jong=Yi:s.jong===ba?s.jong=to:s.jong===Sa&&(s.jong=Jr)),l.cho===qr?s.jong===to?s.jong=Tt:s.jong===Jr||s.jong===Yi?l.cho=eo:s.jong===ka?(s.jong=Yi,l.cho=eo):s.jong===Sa&&(s.jong=Jr,l.cho=eo):s.jong===Tt&&l.cho===eo&&(l.cho=qr)}return r.map(i=>ha(i.cho,i.jung,i.jong)).join("")}const H4={\u3131:"\u3131",\u3132:"\u3131",\u314B:"\u3131",\u3133:"\u3131",\u313A:"\u3131",\u3134:"\u3134",\u3135:"\u3134",\u3136:"\u3134",\u3137:"\u3137",\u3145:"\u3137",\u3146:"\u3137",\u3148:"\u3137",\u314A:"\u3137",\u314C:"\u3137",\u314E:"\u3137",\u3139:"\u3139",\u313C:"\u3139",\u313D:"\u3139",\u313E:"\u3139",\u3140:"\u3139",\u3141:"\u3141",\u313B:"\u3141",\u3142:"\u3142",\u314D:"\u3142",\u313F:"\u3142",\u3144:"\u3142",\u3147:"\u3147"},V4={\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"}};function Qr(t){return H4[t]??t}const xo=/[ㄱ-ㅎ]/,G4=/[ㅏ-ㅣ]/;function ir(t){for(let e=t.length-1;e>=0;e--){const a=t[e],o=a.charCodeAt(0);if(o>=44032&&o<=55203||xo.test(a)||G4.test(a))return a}return null}function Zi(t){const e=ir(t);if(!e)return"\uAC00";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":xo.test(e)?"\uC774":"\uAC00"}function Xi(t){return`${t}${Zi(t)}`}function Ji(t){const e=ir(t);if(!e)return"\uB97C";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":xo.test(e)?"\uC744":"\uB97C"}function Qi(t){return`${t}${Ji(t)}`}function es(t){const e=ir(t);if(!e)return"\uB294";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC740":"\uB294":xo.test(e)?"\uC740":"\uB294"}function Xu(t){return`${t}${es(t)}`}function ts(t){const e=ir(t);if(!e)return"\uC640";const a=e.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uACFC":"\uC640":xo.test(e)?"\uACFC":"\uC640"}function Ju(t){return`${t}${ts(t)}`}function as(t){const e=ir(t);if(!e)return"\uB85C";const a=e.charCodeAt(0);if(a>=44032&&a<=55203){const o=(a-44032)%28;return o===0||o===8?"\uB85C":"\uC73C\uB85C"}return e==="\u3139"?"\uB85C":xo.test(e)?"\uC73C\uB85C":"\uB85C"}function Qu(t){return`${t}${as(t)}`}function os(t,e,a){const o=t.slice(),[r]=o.splice(e,1);return o.splice(a,0,r),o}function ze(t,e=Math.random){const a=t.slice();for(let o=a.length-1;o>0;o--){const r=Math.floor(e()*(o+1));[a[o],a[r]]=[a[r],a[o]]}return a}function ea(t,e,a=Math.random){return!Array.isArray(t)||t.length===0||e<=0?[]:e>=t.length?ze(t,a):ze(t,a).slice(0,e)}const Co={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}};function q4(t){const e=t?Co[t]?.group:void 0;return e==="synthesis"||e==="deletion"||e==="substitution"?e:null}const U4=Ue.indexOf("\u3147"),en={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:t=>t.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:t=>t.jong===0&&t.cho!==U4},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:t=>t.jong===0},MERGE_3_PHONEMES:{syllables:1,syllable:t=>t.jong>0}},Y4=new Set([]);function ep(t){return t in en}function tp(t,e){const a=en[t];if(!a)return!0;const o=[...e];if(o.length!==a.syllables)return!1;const r=Be(o[0]);return!!r&&a.syllable(r)}function ap(t){return Y4.has(t)}function K4(t){const e=t.charCodeAt((t.length||1)-1)||0;return e<44032||e>55203||(e-44032)%28===0?"\uC640":"\uACFC"}function rs(t){const e=t.charCodeAt((t.length||1)-1)||0;return e<44032||e>55203||(e-44032)%28===0?"\uB97C":"\uC744"}function op(t){const e=t.charCodeAt((t.length||1)-1)||0;if(e<44032||e>55203)return"\uB85C";const a=(e-44032)%28;return a===0||a===8?"\uB85C":"\uC73C\uB85C"}function rp(t){const e=t.charAt((t.length||1)-1),a=e.charCodeAt(0)||0;return a>=44032&&a<=55203?(a-44032)%28===0?"\uAC00":"\uC774":/[ㄱ-ㅎ]/.test(e)?"\uC774":"\uAC00"}const np={\u3131:"\uAE30\uC5ED",\u3132:"\uC30D\uAE30\uC5ED",\u3134:"\uB2C8\uC740",\u3137:"\uB514\uADFF",\u3138:"\uC30D\uB514\uADFF",\u3139:"\uB9AC\uC744",\u3141:"\uBBF8\uC74C",\u3142:"\uBE44\uC74D",\u3143:"\uC30D\uBE44\uC74D",\u3145:"\uC2DC\uC637",\u3146:"\uC30D\uC2DC\uC637",\u3147:"\uC774\uC751",\u3148:"\uC9C0\uC752",\u3149:"\uC30D\uC9C0\uC752",\u314A:"\uCE58\uC753",\u314B:"\uD0A4\uC754",\u314C:"\uD2F0\uC755",\u314D:"\uD53C\uC756",\u314E:"\uD788\uC757",\u3133:"\uAE30\uC5ED\uC2DC\uC637",\u3135:"\uB2C8\uC740\uC9C0\uC752",\u3136:"\uB2C8\uC740\uD788\uC757",\u313A:"\uB9AC\uC744\uAE30\uC5ED",\u313B:"\uB9AC\uC744\uBBF8\uC74C",\u313C:"\uB9AC\uC744\uBE44\uC74D",\u313D:"\uB9AC\uC744\uC2DC\uC637",\u313E:"\uB9AC\uC744\uD2F0\uC755",\u313F:"\uB9AC\uC744\uD53C\uC756",\u3140:"\uB9AC\uC744\uD788\uC757",\u3144:"\uBE44\uC74D\uC2DC\uC637",\u314F:"\uC544",\u3150:"\uC560",\u3151:"\uC57C",\u3152:"\uC598",\u3153:"\uC5B4",\u3154:"\uC5D0",\u3155:"\uC5EC",\u3156:"\uC608",\u3157:"\uC624",\u3158:"\uC640",\u3159:"\uC65C",\u315A:"\uC678",\u315B:"\uC694",\u315C:"\uC6B0",\u315D:"\uC6CC",\u315E:"\uC6E8",\u315F:"\uC704",\u3160:"\uC720",\u3161:"\uC73C",\u3162:"\uC758",\u3163:"\uC774"};function ip(t){if([...t].length!==1)return[t];const e=Be(t);if(!e)return[t];const a=[Ue[e.cho],pt[e.jung]];return e.jong!==0&&a.push(vt[e.jong]),a}function ns(t,e=!1){const a=t.filter(Boolean);if(a.length<2)return"";const o=l=>np[l]??l,r=a.slice(0,-1).map(l=>`"${l}"${K4(o(l))}`).join(" "),i=a[a.length-1],s=`"${i}"${rs(o(i))}`;return`${r} ${s} \uD569\uCE58\uBA74 \uC5B4\uB5A4 ${e?"\uC18C\uB9AC":"\uB2E8\uC5B4"}\uAC00 \uB418\uB098\uC694?`}function Z4(t,e){return ns(e,t==="MERGE_2_PHONEMES"||t==="MERGE_3_PHONEMES")}function X4(t,e){const a=String(e?.word??e?.original??""),o=String(e?.changedFrom??""),r=String(e?.changedTo??"");return t==="CHANGE_1_PHONEME_IN_1SYLL"?`"${a}"${rs(a)} "${r}"${op(r)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`:`"${a}"\uC5D0\uC11C "${o}"${rs(o)} "${r}"${op(r)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`}function J4(t,e){const a=String(e?.word??e?.original??e?.base??""),o=String(e?.dropped??"");if(t==="DROP_FINAL_CONSONANT_FROM_1SYLL")return`"${a}"\uC5D0\uC11C \uBC1B\uCE68\uC774 \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`;if(t==="REMOVE_CONSONANT_AND_IDENTIFY_PHONEME"){const r=String(e?.missingConsonant??"");return`"${a}"\uC5D0\uC11C "${r}"${rp(r)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB418\uB098\uC694?`}return`"${a}"\uC5D0\uC11C "${o}"${rp(o)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`}function sp(t,e,a){switch(q4(t)){case"synthesis":return Z4(t,a);case"substitution":return X4(t,e);case"deletion":return J4(t,e);default:return""}}function lp(t){return t.replace(/"([ㄱ-ㅣ])"(으로|와|과|을|를|이|가|은|는|로)?/g,(e,a,o)=>{const r=np[a];if(!r)return e;if(!o)return`"${r}"`;const i=(r.charCodeAt(r.length-1)-44032)%28,s=i!==0;let l=o;return o==="\uC640"||o==="\uACFC"?l=s?"\uACFC":"\uC640":o==="\uC744"||o==="\uB97C"?l=s?"\uC744":"\uB97C":o==="\uC774"||o==="\uAC00"?l=s?"\uC774":"\uAC00":o==="\uC740"||o==="\uB294"?l=s?"\uC740":"\uB294":(o==="\uC73C\uB85C"||o==="\uB85C")&&(l=i===0||i===8?"\uB85C":"\uC73C\uB85C"),`"${r}"${l}`})}const Q4=t=>t==null?[]:Array.isArray(t)?t:[t];function is(t){if([...t].length!==1)return"";const e=Be(t);if(!e)return"";const a=Qr(vt[e.jong]),o=a===""?0:vt.indexOf(a);return ha(e.cho,e.jung,o<0?0:o)}function tn(t,e){return e.get(t)||is(t)||t}function sr(t){return t?yt(t.cho)?"cho":yt(t.jung)?"jung":yt(t.jong)?"jong":null:null}function Ia(t,e){const a=(o,r)=>!yt(o)||Q4(o).includes(r);return a(e.cho,Ue[t.cho])&&a(e.jung,pt[t.jung])&&a(e.jong,vt[t.jong])}function ao(t,e,a){const o=[...t];if(a!=="pron")return o.map(i=>Be(i));const r=[...e.get(t)||t];return r.length!==o.length?o.map(i=>Be(i)):r.map(i=>Be(i))}function oo(t,e,a,o,r){const i=e==="cho"?Ue:e==="jung"?pt:vt,s=t[e],l=[],u=new Set([tn(a,r)]),d=ze(i.map((h,p)=>p).filter(h=>h!==s&&(e!=="cho"||i[h]!=="\u3147")&&(e!=="jong"||h!==0)));for(const h of d){if(l.length>=o)break;const p=e==="cho"?ha(h,t.jung,t.jong):e==="jung"?ha(t.cho,h,t.jong):ha(t.cho,t.jung,h),m=tn(p,r);u.has(m)||(u.add(m),l.push(p))}return l}function ss(t,e,a,o,r,i=null){const s=[...t];if(s.length!==2)return null;const l=s.map(p=>Be(p));if(l.some(p=>!p))return null;const u=ao(t,a,o);if(u.some(p=>!p))return null;const d=sr(e);let h=d&&e?u.map((p,m)=>Ia(p,e)?m:-1).filter(p=>p>=0):[0,1];if(i!=null&&(h=h.filter(p=>p!==i)),!h.length)return null;for(const p of ze(h)){const m=s[p];if(!r.has(m))continue;const g=oo(l[p],d??"cho",m,40,a),f=[];for(const b of g)if(b!==m&&r.has(b)&&!f.includes(b)&&f.push(b),f.length>=2)break;if(!(f.length<2))return{question:t,distractors:[m,...f]}}return null}function ls(t,e,a,o,r,i=null){const s=[...t];if(s.length!==3)return null;const l=s.map(p=>Be(p));if(l.some(p=>!p))return null;const u=ao(t,a,o);if(u.some(p=>!p))return null;const d=sr(e),h=d&&e?u.map((p,m)=>Ia(p,e)?m:-1).filter(p=>p>=0):[0,1,2];if(!h.length)return null;for(const p of ze(h))for(const m of ze([0,1,2].filter(g=>g!==p&&(i==null||g===i)))){const g=[0,1,2].filter(x=>x!==m),f=g.map(x=>s[x]).join("");if(!r.has(f))continue;const b=g.indexOf(p),y=oo(l[p],d??"cho",s[p],40,a),v=[];for(const x of y){const _=g.map(T=>s[T]);_[b]=x;const C=_.join("");if(C!==f&&r.has(C)&&!v.includes(C)&&v.push(C),v.length>=2)break}if(!(v.length<2))return{question:t,distractors:[f,...v]}}return null}function cs(t,e,a,o,r,i=null){const s=[...t],l=s.length;if(l<2)return null;const u=[];for(let h=1;h<=l-1;h++)u.push({remain:s.slice(0,h).join(""),dropped:s.slice(h).join(""),droppedEnd:1}),u.push({remain:s.slice(l-h).join(""),dropped:s.slice(0,l-h).join(""),droppedEnd:0});const d=sr(e);for(const{remain:h,dropped:p,droppedEnd:m}of ze(u)){if(i!=null&&m!==i||h===t||!r.has(h)||!r.has(p))continue;const g=[...h],f=g.map(v=>Be(v));if(f.some(v=>!v))continue;const b=ao(h,a,o);if(b.some(v=>!v))continue;const y=d&&e?b.map((v,x)=>Ia(v,e)?x:-1).filter(v=>v>=0):g.map((v,x)=>x);if(y.length)for(const v of ze(y)){const x=oo(f[v],d??"cho",g[v],40,a),_=[];for(const C of x){const T=[...g];T[v]=C;const w=T.join("");if(w!==h&&r.has(w)&&!_.includes(w)&&_.push(w),_.length>=2)break}if(_.length>=2)return{question:t,distractors:[h,..._]}}}return null}function ds(t,e,a,o,r,i=null){if([...t].length!==1)return null;const s=Be(a.get(t)||t);if(!s||s.jong===0)return null;const l=ha(s.cho,s.jung,0),u=oo({cho:s.cho,jung:s.jung,jong:0},"cho",l,2,a);return u.length<2?null:{question:t,distractors:[l,...u]}}const us=Ue.indexOf("\u3147");function ps(t,e,a,o,r,i=null){if([...t].length!==1)return null;const s=Be(a.get(t)||t);if(!s||s.jong!==0||s.cho===us)return null;const l=ha(us,s.jung,0),u=oo({cho:us,jung:s.jung,jong:0},"jung",l,2,a);return u.length<2?null:{question:t,distractors:[l,...u]}}function hs(t){const e=new Map;for(const a of t){const o=[...a],r=o.length;if(!(r<2||r>3))for(let i=0;i<r;i++){let s=r+"|"+i+"|";for(let u=0;u<r;u++)s+=u===i?"*":o[u];const l=e.get(s);l?l.push(a):e.set(s,[a])}}return e}function ms(t,e,a,o,r,i=null,s=null,l=2){const u=[...t],d=u.length;if(d<2||d>3)return null;const h=u.map(x=>Be(x));if(h.some(x=>!x))return null;const p=ao(t,a,o);if(p.some(x=>!x))return null;const m=x=>a.get(x)??x,g=m(t),f=!!e&&(yt(e.cho)||yt(e.jung)||yt(e.jong)),b=!!s&&(yt(s.cho)||yt(s.jung)||yt(s.jong)),y=x=>{let _=d+"|"+x+"|";for(let C=0;C<d;C++)_+=C===x?"*":u[C];return _};let v;if(i!=null){if(i>=d||f&&!Ia(p[i],e))return null;v=[i]}else f?v=p.map((x,_)=>Ia(x,e)?_:-1).filter(x=>x>=0):v=Array.from({length:d},(x,_)=>_);for(const x of ze(v)){const _=r.get(y(x))??[],C=[],T=[];for(const N of _){if(N===t)continue;const O=[...N].map(L=>Be(L)),j=h[x],k=O[x];if(!j||!k)continue;let E=0;if(j.cho!==k.cho&&E++,j.jung!==k.jung&&E++,j.jong!==k.jong&&E++,!(E<l||m(N)===g))if(b){const L=ao(N,a,o)[x];L&&Ia(L,s)?C.push(N):T.push(N)}else C.push(N)}if(!C.length)continue;const w=ze(C)[0],S=[],D=new Set([g,m(w)]),A=b?T:C.filter(N=>N!==w);for(const N of ze(A)){const O=m(N);if(!D.has(O)&&(D.add(O),S.push(N),S.length>=2))break}if(!b&&S.length<2)for(const N of ze(_)){if(N===t||N===w)continue;const O=m(N);if(!D.has(O)&&(D.add(O),S.push(N),S.length>=2))break}if(!(S.length<2))return{question:t,distractors:[w,...S]}}return null}function an(t,e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"){if(t instanceof Error)return t.message||e;if(typeof t=="string")return t||e;if(t&&typeof t=="object"){const a=t;for(const o of[a.message,a.error_description,a.error])if(typeof o=="string"&&o)return o}return e}const gs="\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.";function bs(t){return t?/failed to fetch|load failed|networkerror|network request failed|fetcherror/i.test(t):!1}function cp(t){return bs(t)?gs:t}function dp(t,e){return t==="id"?void 0:`${t}|${e?"asc":"desc"}`}function up(t){const[e,a]=t.split("|");return{key:e,asc:a==="asc"}}function pp(t){let e=t==null?"":String(t);return/^[=+\-@\t\r]/.test(e)&&(e=" "+e),/[",\n\r]/.test(e)?`"${e.replaceAll('"','""')}"`:e}function hp(t,e){const a=new Blob(["\uFEFF"+e],{type:"text/csv;charset=utf-8"}),o=URL.createObjectURL(a),r=document.createElement("a");r.href=o,r.download=t,r.click(),URL.revokeObjectURL(o)}const mp="__ihab_core_word_pool__";function e5(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("wordpool:update"))}function gp(t,e){const a=new Map;for(const r of t)a.set(r.word,r);const o={entries:t,pairIndex:e??null,byWord:a};globalThis[mp]=o,e5()}function _o(){return globalThis[mp]??null}const wo=globalThis;function fs(t,e){const a=o=>{};try{const o=e();o&&typeof o.catch=="function"&&o.catch(a)}catch(o){a(o)}}function bp(t){wo.__ihabTrainingTimeLogger=t}function vs(t){fs("time",()=>wo.__ihabTrainingTimeLogger?.(t))}function fp(t){wo.__ihabTrainingCompletionLogger=t}function ys(t){fs("completion",()=>wo.__ihabTrainingCompletionLogger?.(t))}function vp(t){wo.__ihabCrosswordLogger=t}function yp(t){fs("crossword",()=>wo.__ihabCrosswordLogger?.(t))}function ta(t){return typeof t=="string"?t.trim()||null:typeof t=="number"?String(t):null}function xs(t){for(const e of["correct","isCorrect","heard","judgement"])if(typeof t[e]=="boolean")return t[e];return t.score===1?!0:t.score===0?!1:null}function Cs(t){return Array.isArray(t)?t.map((e,a)=>{const o=e??{};return{index:a,itemId:ta(o.contextCode)??ta(o.itemId)??ta(o.itemCode)??ta(o.id),question:ta(o.question)??ta(o.sentence)??ta(o.word)??ta(o.targetSyllable),answer:ta(o.answer),selected:ta(o.selectedText)??ta(o.selected),correct:xs(o)}}):[]}function xp(t){return t.filter(e=>e.correct===!1)}let Cp=null,_p=null,wp=null;function kp(t){Cp=t}function Sp(t){_p=t}function Ap(t){wp=t}async function Tp(t,e){try{return await Cp?.(t,e)??null}catch{return null}}async function Np(){try{return await _p?.()??null}catch{return null}}async function Bp(t,e){try{return await wp?.(t,e)??null}catch{return null}}const _s=globalThis;function Ep(t){_s.__ihabNoiseSettingsStore=t}async function ws(){try{return await _s.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ks(t){const e=a=>{};try{const a=_s.__ihabNoiseSettingsStore?.save(t);a&&typeof a.catch=="function"&&a.catch(e)}catch(a){e(a)}}function lr(t){const e=new TextEncoder().encode(String(t).normalize("NFC"));let a="";return e.forEach(o=>{a+=o.toString(16).padStart(2,"0")}),a}const Dp=lr;function Lp(t,e){return`${t}/${lr(e)}.mp3`}function jp(t={}){const e=t.storagePrefix??"audio-cache",a=t.voice??"ko-f",o=typeof t.speed=="number"?t.speed:1,r=t.filenameSanitizer??lr;return async function(i){const s=String(i||"").trim();if(!s)return"";const l=`${r(s)}_${a}.mp3`,u=`${e}/${l}`;try{if(await yi(u)){const d=await qo(u);if(d)return d}}catch{}if(t.generator)try{const d=await t.generator(s,u,t);if(d)return d}catch{}try{const d=`/api/tts?word=${encodeURIComponent(s)}&voice=${encodeURIComponent(a)}&speed=${encodeURIComponent(String(o))}`;return await fetch(d,{method:"GET"}),`/audio-cache/${l}`}catch{return`/audio-cache/${l}`}}}async function Ss(t){if(typeof document<"u")try{const e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.opacity="0",e.style.pointerEvents="none",document.body.appendChild(e),e.focus(),e.select(),e.setSelectionRange(0,t.length);const a=document.execCommand("copy");if(document.body.removeChild(e),a)return!0}catch{}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(t),!0}catch{}return!1}const ko="Asia/Seoul";function Mp(t){return new Date(t).toLocaleDateString("ko-KR",{timeZone:ko,year:"numeric",month:"short",day:"numeric"})}function Pp(t){return new Date(t).toLocaleString("ko-KR",{timeZone:ko,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Rp(t,e){const a=e.startsWith("ko")?"ko-KR":"en-US";return new Date(t).toLocaleDateString(a,{timeZone:ko,year:"numeric",month:"short",day:"numeric"})}function $p(t,e){const a=e.startsWith("ko")?"ko-KR":"en-US";return new Date(t).toLocaleString(a,{timeZone:ko,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Ip(t){return new Date(t).toLocaleString("ko-KR",{timeZone:ko,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}function Op(t){if(t==null||t==="")return"";const e=t instanceof Date?t:new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat("en-GB",{timeZone:ko,hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}function on(){return Aa(new Date)}function Aa(t){if(t==null||t==="")return"";const e=t instanceof Date?t:new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(e)}function rn(t,e){if(!t)return"";const a=new Date(t).getTime();if(Number.isNaN(a))return"";const o=Math.max(0,Math.floor((Date.now()-a)/1e3)),r=Math.floor(o/60),i=Math.floor(r/60),s=Math.floor(i/24),l=Math.floor(s/7),u=Math.floor(s/30),d=Math.floor(s/365);return r<1?e("store.time.justNow","\uBC29\uAE08 \uC804"):r<60?e("store.time.minutesAgo",{n:r}):i<24?e("store.time.hoursAgo",{n:i}):s<7?e("store.time.daysAgo",{n:s}):l<5?e("store.time.weeksAgo",{n:l}):s<365?e("store.time.monthsAgo",{n:Math.min(u,11)}):e("store.time.yearsAgo",{n:d})}function nn(t,e={}){const{sep:a=".",pad:o=!0,trailingDot:r=!1,fallback:i="\u2014"}=e;if(!t)return i;const s=Aa(t instanceof Date?t:String(t));if(!s)return i;const[l,u,d]=s.split("-"),h=o?u:String(Number(u)),p=o?d:String(Number(d));return`${l}${a}${h}${a}${p}${r?".":""}`}function zp(t){const e=t.replace(/\D/g,"").slice(0,11);return e.startsWith("02")?e.length<=2?e:e.length<=6?`${e.slice(0,2)}-${e.slice(2)}`:`${e.slice(0,2)}-${e.slice(2,e.length-4)}-${e.slice(e.length-4)}`:e.length<=3?e:e.length<=7?`${e.slice(0,3)}-${e.slice(3)}`:`${e.slice(0,3)}-${e.slice(3,e.length-4)}-${e.slice(e.length-4)}`}function Fp(t){if(t){if(/^\d{4}\.\d{2}\.\d{2}$/.test(t))return t;if(/^\d{8}$/.test(t))return`${t.slice(0,4)}.${t.slice(4,6)}.${t.slice(6,8)}`;if(/^\d{4}-\d{2}-\d{2}$/.test(t))return t.replace(/-/g,".");if(/^\d{4}-\d{2}-\d{2}T/.test(t)){const e=new Date(t);return isNaN(e.getTime())?void 0:Aa(e).replace(/-/g,".")}}}function Wp(t){if(t)return/^\d{4}\.\d{2}\.\d{2}$/.test(t)?t.replace(/\./g,"-"):t}function cr(t){if(!t)return t;const e=t.trim();return/^[₩$]/.test(e)?e:/원\s*$/.test(e)?"\u20A9"+e.replace(/\s*원\s*$/,"").trim():e}function sn(t,e){if(!t)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(t.trim());if(!a)return t;const o=Number(a[1]),r=Number(a[2]),i=a[1].padStart(2,"0");return r===0?e("date.timeH",{h:o,hh:i,mm:a[2]}):e("date.timeHM",{h:o,hh:i,m:r,mm:a[2]})}function dr(t){return(t??0).toLocaleString("ko-KR")}const t5=[{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"}]}],a5=[{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"}];let As=null;function Hp(t){As=t}function ln(){return As?.topicTypes??t5}function Ts(){return As?.trainingTypes??a5}const Vp="ihab_theme",o5="light";function Ns(){try{const t=localStorage.getItem(Vp);if(t==="light"||t==="dark"||t==="auto")return t}catch{}return o5}function Bs(t){try{document.documentElement.setAttribute("data-theme",t),localStorage.setItem(Vp,t)}catch{}}function Gp(){Bs(Ns())}const qp="ihab_font_scale",r5="medium",n5=["medium","large1","large2","large3"];function Es(){try{const t=localStorage.getItem(qp);if(n5.includes(t))return t}catch{}return r5}function Ds(t){try{document.documentElement.setAttribute("data-font-scale",t),localStorage.setItem(qp,t)}catch{}}function Up(){Ds(Es())}const Oa=[],za=[],Fa=[],Wa=[],ur={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},pr={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},i5={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let Ls=null,Yp=null,Ha=null;function js({counts:t,forceRefresh:e}={}){const a=Object.assign({},i5,t||{}),o=on(),r=Aa(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),i=JSON.stringify(a);if(!e&&Yp===o&&Ls===i&&Ha)return Object.assign(ur,Ha.today),Object.assign(pr,Ha.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:ur,yesterday:pr};const s={LISTEN_IN_NOISE:ea(Oa,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ea(za,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ea(Fa,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ea(Wa,Math.max(0,Number(a.ORDERING_SENTENCE)||0))};let l=null;return Ha&&Ls===i&&Ha.yesterday&&Ha.yesterday.date===r&&(l=Ha.yesterday.selection),l||(l={LISTEN_IN_NOISE:ea(Oa,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ea(za,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ea(Fa,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ea(Wa,Math.max(0,Number(a.ORDERING_SENTENCE)||0))}),Object.assign(ur,s),Object.assign(pr,l),Yp=o,Ls=i,Ha={today:s,yesterday:{date:r,countsKey:i,selection:l}},{today:ur,yesterday:pr}}function Kp(){return{today:ur,yesterday:pr}}function Ms(){return{LISTEN_IN_NOISE:Oa,SHORT_STORY:za,LONG_STORY:Fa,ORDERING_SENTENCE:Wa}}let Ps=!1,hr=null;async function s5(){try{const t={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Kt&&Kt.tagName.toUpperCase()==="SCRIPT"&&Kt.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}&&void 0||"/",e=await fetch(`${t}data/allTrainingData.json`);return e.ok?await e.json():null}catch{return null}}async function Rs(){if(!Ps)return hr||(hr=(async()=>{const t=await s5();if(!t){hr=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{for(const e of Object.keys(t||{})){const a=t[e]||[];for(const o of a){const r=o,i=String(r.training_type||e),s=String(r.category_main_code||r.category_main||r.category_0||""),l=String(r.category_sub_code||r.category_sub||r.category_1||""),u=Object.assign({},r,{training_type:i,category_0:s,category_1:l});i==="LISTEN_IN_NOISE"?Oa.push(u):i==="SHORT_STORY"?za.push(u):i==="LONG_STORY"?Fa.push(u):i==="ORDERING_SENTENCE"&&Wa.push(u)}}}catch{hr=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{js()}catch{}Ps=!0})(),hr)}function Zp(){return Ps}async function $s(t=3e3){const e=Rs();return Promise.race([e,new Promise(a=>setTimeout(a,t))])}const cn=[{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."}],Xp=[{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\uC0C1\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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828",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"}]}],Is={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function l5(t){return cn.map(e=>{const a=Is[e.key];return a?{...e,label:t(`trainingType.${a}.title`),desc:t(`trainingType.${a}.desc`)}:e})}let dn=null,Jp=null,Qp=null;function c5(){const t=_o();if(t&&t.entries.length>0){const e=Qa();if(dn&&Jp===t&&Qp===e)return dn;const a=new Set,o=[];for(const r of t.entries)!r.word||a.has(r.word)||(a.add(r.word),o.push({w:r.word,s:r.syllables,p:e?.[r.word]?[...e[r.word].cho??[],...e[r.word].jung??[],...e[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return dn=o,Jp=t,Qp=e,dn}return[]}const aa=new Proxy([],{get(t,e){const a=c5(),o=a[e];return typeof o=="function"?o.bind(a):o}});function un(t){return t.length?t[Math.floor(Math.random()*t.length)]:void 0}function oa(t,e){if(e>=t.length)return ze(t);if(e===0)return[];const a=t.slice();for(let o=0;o<e;o++){const r=o+Math.floor(Math.random()*(a.length-o)),i=a[o];a[o]=a[r],a[r]=i}return a.slice(0,e)}let Os=null,eh=null;function ro(){const t=_o();if(Os&&eh===t)return Os;const e=new Map;for(const a of aa)a.w&&e.set(a.w,a.pron);return Os=e,eh=t,e}function Ht(t){return ro().get(t)||t}function zs(t,e,a=new Set){const o=[];for(const r of ze(t)){if(o.length>=e)break;const i=Ht(r);a.has(i)||(a.add(i),o.push(r))}return o}let d5=0;function Nt(t){return`${t}-rt-${++d5}`}function mr(t){const e=Hr();if(!e||e.total===0){const o=new Set;for(const r of t)o.add(r);return o}const a=new Set;for(const o of t)Ai(o)===!0&&a.add(o);return a}const pn=new Map;let th=null,ah=null;function gr(t){return t==null?"":Array.isArray(t)?t.slice().sort().join(","):t}function oh(t){const e=gr(t.choseong),a=t.composition,o=a?.syllable==null?"":Array.isArray(a.syllable)?a.syllable.slice().sort().join(","):String(a.syllable),r=a?`${gr(a.cho)}/${gr(a.jung)}/${gr(a.jong)}/${a.jongNone?"N":""}/${o}`:"",i=gr(t.grade);return`${t.difficulty??""}|${e}|${r}|${t.excludeNoImage?"1":"0"}|${t.count??""}|x${t.contrastCount??1}|${t.fullCount?"F":""}|s${t.sameStructureOnly===!1?"0":"1"}|v${t.phonemeView==="pron"?"p":"c"}|g${i}|t${t.targetSyllable??""}|c${t.choicesPerItem??""}`}async function Vt(t){const e=_o(),a=Qa();(e!==th||a!==ah)&&(pn.clear(),th=e,ah=a);const o=oh(t);return pn.has(o)||pn.set(o,p5(t)),pn.get(o)}function u5(t){if(!t)return null;const e=s=>s==null?null:Array.isArray(s)?s.length?s:null:[s],a=e(t.cho),o=e(t.jung),r=!!t.jongNone,i=r?null:e(t.jong);return a||o||i||r?r&&!a&&!o&&!i?s=>ji(s):s=>Mi(s,{cho:a,jung:o,jong:i,jongNone:r}):null}async function p5(t){const{difficulty:e=null,choseong:a=null,composition:o=null,targetSyllable:r=null,excludeNoImage:i=!1}=t,s=t.grade&&t.grade.length>0?new Set(t.grade):null,l=t.sameStructureOnly??!0,u=t.phonemeView==="pron"?"pron":"char",d=Math.max(1,t.contrastCount??1),h=e==="cho"||e==="jung"||e==="jong",p=h&&d>=2,m=e==="count",g=a?new Set(Array.isArray(a)?a:[a]):null,f=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,b=o?[u5(o),f?M=>f.has(yo(M)):null].filter(M=>M!=null):[],y=e==="random"||e===null,v=y||m,x=y||p||m;let _=aa.filter(M=>!M.w||s&&(!M.grade||!s.has(M.grade))?!1:x?!0:Array.isArray(M.p)&&M.p.length>0);g&&(_=_.filter(M=>{for(const R of g)if(C4(M.w,R))return!0;return!1})),b.length>0&&(_=_.filter(M=>{const R=u==="pron"?Ht(M.w):M.w;return b.every($=>$(R))})),r&&(_=_.filter(M=>M.w[0]===r));let C;if(i){const M=new Set;for(const R of _)if(M.add(R.w),Array.isArray(R.p))for(const $ of R.p)M.add($);if(v)for(const R of aa)R.w&&M.add(R.w);C=mr(M)}else{const M=new Set;for(const R of _)if(M.add(R.w),Array.isArray(R.p))for(const $ of R.p)M.add($);if(v)for(const R of aa)R.w&&M.add(R.w);C=M}let T=null;if(p){const M=new Set;for(const R of aa)R.w&&M.add(R.w);T=i?mr(M):M}const w=_.filter(M=>C.has(M.w)),S=600,D=Array.from(C),A=D.length>S?oa(D,S):D,N=m&&o!=null&&(yt(o.cho)||yt(o.jung)||yt(o.jong)),O=2500,j=new Map;if(m&&!N&&d>=2){for(const M of D){const R=yo(M),$=j.get(R);$?$.push(M):j.set(R,[M])}for(const[M,R]of j)R.length>O&&j.set(M,oa(R,O))}const k=Ni(),E=N?Wi(o,D,k,l,u,Ht):null,L=500,z=1500,te=t.fullCount?w:e==="random"?w.length>L?oa(w,L):w:w.length>z?oa(w,z):w,J=Qa(),ae=[];for(const M of te){let R;const $=Ht(M.w);if(p)R=A4(M.w,e,d,T,24).filter(F=>Ht(F)!==$);else if(m)N?R=(E.get(M.w)??[]).filter(F=>Ht(F)!==$):d<=1?R=Vr(M.w,J,{okSet:C,pronOf:Ht,decompOf:k,sameStructureOnly:!1}):R=(j.get(yo(M.w))??[]).filter(F=>{if(F===M.w||Ht(F)===$)return!1;const I=T4(M.w,F);return d>=5?I>=5:I===d});else if(y)R=A.filter(F=>F!==M.w&&F.length===M.w.length&&Ht(F)!==$);else{const F=e;R=Vr(M.w,J,{kind:F,okSet:C,pronOf:Ht,decompOf:k,sameStructureOnly:!1}),R.length===0&&(R=(A.length>30?oa(A,30):A).filter(I=>I!==M.w&&Bi(M.w,I)===e&&Ht(I)!==$))}if(l&&R.length>0&&(h||m&&!N)){const F=k(Ht(M.w));R=R.filter(I=>!tr(F,k(Ht(I))))}R.length!==0&&ae.push({word:M,usable:R})}return ae}async function rh(t,e){const{choicesPerItem:a=3,count:o=10}=e,r=a-1,i=(await Vt(e)).filter(l=>l.usable.length>=r),s=[];for(const l of ze(i)){if(s.length>=o)break;const u=zs(l.usable,r);if(u.length<r)continue;const d=ze([l.word.w,...u]);s.push({id:Nt(t+"-item"),index:s.length+1,word:l.word.w,syllables:l.word.s,choices:d,answerIndex:d.indexOf(l.word.w)})}return s}async function h5(t){const{choicesPerItem:e=3,count:a=10}=t,o=e-1,r=await Vt({...t,difficulty:null});if(r.length<e)return[];const i=[],s=ze([...r]);for(const l of s){if(i.length>=a)break;const u=l.word.w,d=[...l.word.pron||u],h=un(d);if(!h)continue;const p=r.filter(f=>f.word.w!==u&&f.word.s===l.word.s&&!(f.word.pron||f.word.w).includes(h)&&f.word.pron!==l.word.pron);if(p.length<o)continue;const m=zs(p.map(f=>f.word.w),o);if(m.length<o)continue;const g=ze([u,...m]);i.push({id:Nt("HPI-item"),index:i.length+1,targetSyllable:h,word:u,choices:g,answerIndex:g.indexOf(u)})}return i}async function m5(t){const{count:e=10}=t,a=(await Vt(t)).filter(o=>o.usable.length>=1);return Array.from({length:e},(o,r)=>{const i=un(a);if(!i)return null;const s=r%2===0;let l;if(s)l=[i.word.w,i.word.w];else{const u=un(i.usable);l=Math.random()<.5?[i.word.w,u]:[u,i.word.w]}return{id:Nt("SOD-item"),index:r+1,word:i.word.w,pair:l,same:s}}).filter(o=>!!o)}async function g5(t){const{choicesPerItem:e=3,count:a=10}=t,o=e-1,r=await Vt({...t,difficulty:null});if(r.length<e+1)return[];const i=r.map(m=>m.word.w),s=new Map(r.map(m=>[m.word.w,m.word.pron])),l=m=>(s.get(m)||m)[0]??"",u={};for(const m of r){const g=l(m.word.w);g&&(u[g]||(u[g]=[]),u[g].push(m.word.w))}const d=Object.entries(u).filter(([,m])=>m.length>=2).map(([m])=>m);if(d.length===0)return[];const h=[],p=ze([...d]);for(let m=0;h.length<a&&m<a*4;m++){const g=p[m%p.length],f=u[g];if(f.length<2)continue;const b=ze([...f]),y=b[0],v=b[1];if(!y||!v||y===v||(s.get(y)||y)===(s.get(v)||v))continue;const x=s.get(v)||v,_=i.filter(w=>l(w)!==g&&w!==y&&w!==v&&w.length===v.length&&(s.get(w)||w)!==x);if(_.length<o)continue;const C=zs(_,o);if(C.length<o)continue;const T=ze([v,...C]);h.push({id:Nt("SWS-item"),index:h.length+1,sourceWord:y,targetSyllable:g,word:v,choices:T,answerIndex:T.indexOf(v)})}return h}function nh(t,e,a){return oa(t,e).map((o,r)=>{const i=un(o.usable)??"",s=[...o.word.w],l=[...i],u=s.findIndex((h,p)=>h!==l[p]),d=ze(o.usable.filter(h=>h&&h!==i)).slice(0,2);return{id:Nt(a),index:r+1,word:o.word.w,original:o.word.w,changed:i,changedFrom:u>=0?s[u]:"",changedTo:u>=0?l[u]:"",distractors:d}})}async function ih(t,e,a){const{count:o=10}=e,r=ro(),i=aa.filter(g=>g.w&&g.s===t),s=e.excludeNoImage?mr(i.map(g=>g.w)):null,l=s?i.filter(g=>s.has(g.w)):i,u=new Set(l.map(g=>g.w)),d=hs(u),h=e.phonemeView??"char",p=e.composition??null,m=[];for(const g of ze(l)){if(m.length>=o)break;const f=ms(g.w,p,r,h,d,null,null);if(!f)continue;const b=f.distractors[0],y=[...g.w],v=[...b],x=y.findIndex((_,C)=>_!==v[C]);m.push({id:Nt(a),index:m.length+1,word:g.w,original:g.w,changed:b,changedFrom:x>=0?y[x]:"",changedTo:x>=0?v[x]:"",distractors:f.distractors.slice(1)})}return m}async function b5(t){return ih(2,t,"CS2-item")}async function f5(t){return ih(3,t,"CS3-item")}async function v5(t){const e=(await Vt({...t,difficulty:"count",contrastCount:1})).filter(a=>a.word.s===1&&a.usable.length>=1);return nh(e,t.count??10,"CP1-item")}async function y5(t){const e=t.difficulty&&t.difficulty!=="random"?t.difficulty:"count",a=(await Vt({...t,difficulty:e,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return nh(a,t.count??10,"CP2-item")}async function x5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(o=>o.word.s===2);return oa(a,e).map((o,r)=>({id:Nt("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function C5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(o=>o.word.s===3);return oa(a,e).map((o,r)=>({id:Nt("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function _5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s===2),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=ss(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=[...l.word.w],m=p[0]===d?p[1]:p[0];s.push({id:Nt("D2-item"),index:s.length+1,original:l.word.w,word:l.word.w,dropped:m,missingResult:d,distractors:h})}return s}async function w5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s===3),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=ls(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=[...l.word.w];let m="";for(let g=0;g<p.length;g++)if(p.filter((f,b)=>b!==g).join("")===d){m=p[g];break}s.push({id:Nt("D3-item"),index:s.length+1,original:l.word.w,word:l.word.w,dropped:m,missingResult:d,distractors:h})}return s}async function k5(t){const{count:e=10}=t,a=(await Vt({...t})).filter(l=>l.word.s>=2),o=ro(),r=new Set(aa.map(l=>l.w)),i=t.phonemeView??"char",s=[];for(const l of ze(a)){if(s.length>=e)break;const u=cs(l.word.w,t.composition??null,o,i,r);if(!u)continue;const[d,...h]=u.distractors,p=l.word.w,m=p.startsWith(d)?p.slice(d.length):p.endsWith(d)?p.slice(0,p.length-d.length):"";s.push({id:Nt("DPC-item"),index:s.length+1,original:p,word:p,dropped:m,missingResult:d,distractors:h})}return s}async function S5(t){const{count:e=10}=t,a=(await Vt({...t})).map(o=>o.word.w);return a.length<3?[]:Array.from({length:e},(o,r)=>{const i=oa(a,3);return{id:Nt("LRO-item"),index:r+1,sequence:i,choices:ze(i)}})}function hn(t,e,a){const o=aa.filter(s=>s.w&&s.s===t),r=e?mr(o.map(s=>s.w)):null,i=[];for(const s of o)if(!(r&&!r.has(s.w))){if(a){const l=Be(s.w);if(!l||!a(l))continue}i.push(s)}return i}function A5(t){const e=hn(1,t.excludeNoImage??!1,a=>a.jong===0);return oa(e,t.count??10).map((a,o)=>{const r=Be(a.w);return{id:Nt("M2P-item"),index:o+1,parts:[Ue[r.cho],pt[r.jung]],answer:a.w,word:a.w}})}function T5(t){const e=hn(1,t.excludeNoImage??!1,a=>a.jong>0&&!vo[a.jong]);return oa(e,t.count??10).map((a,o)=>{const r=Be(a.w);return{id:Nt("M3P-item"),index:o+1,parts:[Ue[r.cho],pt[r.jung],vt[r.jong]],answer:a.w,word:a.w}})}function N5(t){const e=en.DROP_FINAL_CONSONANT_FROM_1SYLL,a=hn(e.syllables,t.excludeNoImage??!1,e.syllable),o=ro(),r=[];for(const i of ze(a)){if(r.length>=(t.count??10))break;const s=ds(i.w,null,o);if(!s)continue;const[l,...u]=s.distractors;r.push({id:Nt("DFC-item"),index:r.length+1,original:i.w,word:i.w,result:l,distractors:u})}return r}function B5(t){const e=en.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,a=hn(e.syllables,t.excludeNoImage??!1,e.syllable),o=ro(),r=[];for(const i of ze(a)){if(r.length>=(t.count??10))break;const s=ps(i.w,null,o);if(!s)continue;const l=Be(o.get(i.w)||i.w);if(!l)continue;const[u,...d]=s.distractors;r.push({id:Nt("RCP-item"),index:r.length+1,base:i.w,word:i.w,missingConsonant:Ue[l.cho],remaining:u,distractors:d})}return r}const mn=new Map;let sh=null,lh=null;async function ch(t,e={}){const a=_o(),o=Qa();(a!==sh||o!==lh)&&(mn.clear(),sh=a,lh=o);const r=`${t}:${oh(e)}`;if(mn.has(r))return mn.get(r);const i=await D5(t,e);return mn.set(r,i),i}const E5={SAME_SOUND_PICK:t=>rh("SSP",t),HEAR_AND_PICK_SAME:t=>rh("HPS",t),HEAR_AND_PICK_INCLUDED:t=>h5(t),SAME_OR_DIFF:t=>m5(t),STARTS_WITH_SAME_SOUND:t=>g5(t),LISTEN_AND_REMEMBER_ORDER:t=>S5(t),MERGE_2_SYLLABLES:t=>x5(t),MERGE_3_SYLLABLES:t=>C5(t),MERGE_2_PHONEMES:t=>A5(t),MERGE_3_PHONEMES:t=>T5(t),DROP_1_FROM_2SYLL:t=>_5(t),DROP_1_FROM_3SYLL:t=>w5(t),DROP_PART_FROM_COMPOUND:t=>k5(t),DROP_FINAL_CONSONANT_FROM_1SYLL:t=>N5(t),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:t=>B5(t),CHANGE_1_SYLL_IN_2SYLL:t=>b5(t),CHANGE_1_SYLL_IN_3SYLL:t=>f5(t),CHANGE_1_PHONEME_IN_1SYLL:t=>v5(t),CHANGE_1_PHONEME_IN_2SYLL:t=>y5(t)};async function D5(t,e={}){const a=E5[t];return a?await a(e):[]}async function L5(t){const e=[null,"count"],a=Object.keys(Co);let o=0;for(const r of e)for(const i of a){const s=Co[i];ch(i,{difficulty:s.difficulty?r:null,choseong:null,count:10,excludeNoImage:t}).catch(()=>{}),++o%6===0&&await new Promise(l=>setTimeout(l,0))}}async function j5(t){return(await Vt({...t,fullCount:!0})).length}async function M5(t={}){const e=[];for(const l of aa)l.w&&e.push(l.w);const a=t.excludeNoImage?mr(e):e,o=new Set,r=new Set,i=new Set,s=new Set;for(const l of a){s.add(yo(l));for(const u of l){const d=Be(u);if(d&&(Ue[d.cho]!=="\u3147"&&o.add(Ue[d.cho]),r.add(pt[d.jung]),d.jong>0)){i.add(vt[d.jong]);const h=vo[d.jong];h&&h.forEach(p=>i.add(p))}}}return{cho:o,jung:r,jong:i,syllable:s}}const dh={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},uh={none:0,free:1,personal_standard:3,mgr_free:4,lite_word:5,lite_sentence:5,lite:6,standard:7,pro:8,enterprise:9},ph={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function hh(t){const e=t.toLowerCase();return e.startsWith("manager_enterprise")?"enterprise":e.startsWith("manager_pro")?"pro":e.startsWith("manager_standard")?"standard":e.startsWith("manager_lite_word")?"lite_word":e.startsWith("manager_lite_sentence")?"lite_sentence":e.startsWith("manager_lite")||e.startsWith("mgr_lite")?"lite":e.startsWith("mgr_standard")?"standard":e.startsWith("mgr_pro")?"pro":e.startsWith("content_")||e.startsWith("speechear_")||e.startsWith("light_")||e==="light"?"personal_standard":"none"}const mh=5,gh=5;function bh({rank:t,voteCount:e,quota:a=5}){return t<a&&e>0}const fh={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"};var P5=Object.freeze({__proto__:null,CAPABILITY:Co,CHOSEONG:Ue,JONGSEONG:vt,JUNGSEONG:pt,LONG_STORIES:Fa,NETWORK_ERROR_MESSAGE:gs,NOISE_DATAS:Oa,ORDER_SETS:Wa,PLAN_FEATURES:dh,PLAN_LIMITS:ph,SHORT_STORIES:za,TIER_RANK:uh,TOPIC_TYPES:Xp,TRAINING_TYPES:cn,TRAINING_TYPE_I18N_KEY:Is,WORD_SUGGESTION_ACCOUNT_LIMIT:gh,WORD_SUGGESTION_EXISTING_ERROR:fh,WORD_SUGGESTION_WEEKLY_QUOTA:mh,applyFontScale:Ds,applyTheme:Bs,buildChangeWholeSyllableProblem:ms,buildDropCompoundProblem:cs,buildDropContrast3Problem:ls,buildDropContrastProblem:ss,buildDropFinalConsonantProblem:ds,buildMultiPartPosContrast:Wi,buildPairIndex:zu,buildRemoveConsonantProblem:ps,buildSyllableMaskIndex:hs,bulkSetImageExistence:Bu,cardQuestionTitle:sp,checkImageExists:Qo,classifyPairDifficulty:Bi,clearAudioExistsCache:_u,clearImageExistenceCache:Ti,clearPairIndexCache:Oi,composeSyllable:ha,computeDailySelection:js,configureImageResolver:Tu,configureNoiseSettingsStore:Ep,configurePronunciationResolver:ku,configureStorage:vi,configureTTS:Cu,configureTrainingCategories:Hp,copyText:Ss,createDecompCache:Ni,createTTSUrlResolver:jp,dateToDb:Wp,downloadCsvText:hp,downloadSound:zr,ensureTrainingDataLoaded:$s,escapeCsvField:pp,fileExists:yi,filterContrastCandidates:Fi,finalToPhoneme:Qr,firstChoseongOf:Ei,formatCount:dr,formatDateKo:Mp,formatDateLocale:Rp,formatDateLongKo:Pp,formatDateLongLocale:$p,formatDatetimeKo:Ip,formatPhone:zp,formatRelativeTime:rn,formatTimeHM:sn,formatYmd:nn,getAssetBaseUrl:bi,getDailySelection:Kp,getElementAnalyser:Zo,getErrorMessage:an,getImageExistenceStats:Hr,getImageExistsCached:Ai,getImageResolver:$a,getNoiseBaseUrl:xi,getPairIndex:Qa,getPlanTier:hh,getPronunciationResolver:wi,getSavedFontScale:Es,getSavedTheme:Ns,getSignedOrPublicUrl:qo,getTTSFallbackUrlResolver:_i,getTTSUrlResolver:Uo,getTodayKst:on,getTopicTypes:ln,getTrainingPools:Ms,getTrainingTypes:Ts,getWordPool:_o,hasQuestionWordConstraint:ep,hasSel:yt,hasStructureContrast:tr,initFontScale:Up,initTheme:Gp,isAllChoseong:Li,isManualOnlyType:ap,isNetworkErrorMessage:bs,isSyllablePattern:Pi,isThisWeekPick:bh,isTrainingDataLoaded:Zp,isValidQuestionWord:tp,itemCorrectness:xs,jamoToNamesForSpeech:lp,loadGameLeaderboard:Bp,loadMyGameRanks:Np,loadNoiseSettings:ws,loadTrainingData:Rs,logCrossword:yp,logTrainingCompletion:ys,logTrainingTime:vs,matchSyllables:ao,matchesChoseongSearch:Eu,matchesSyllablePattern:Ri,matchesWordQuery:fo,mergeQuestionText:ns,minimalPairDistractors:Vr,normalizeDate:Fp,officialSoundPath:Lp,parseSortValue:up,parseSyllable:Be,patternToComposition:Ru,phonemePartsOf:ip,pickEuRo:as,pickEulReul:Ji,pickEunNeun:es,pickIga:Zi,pickWaGwa:ts,prewarmImageCache:Nu,primarySelPart:sr,readLevel:ki,reorderArray:os,resolveAssetUrl:Vo,resolveSoundPath:Or,resumeAudioMeter:Ko,sample:ea,saveNoiseSettings:ks,searchAndRankWords:Iu,setAssetBaseUrl:yu,setCrosswordLogger:vp,setGameLeaderboardLoader:Ap,setGameRanksLoader:Sp,setGameScoreSubmitter:kp,setTrainingCompletionLogger:fp,setTrainingTimeLogger:bp,setWordPool:gp,shuffle:ze,sortToValue:dp,soundOf:tn,speak:bu,stopSpeaking:fu,submitGameScore:Tp,syllMatchesComp:Ia,syllableContrasts:oo,syllableLength:yo,syllablePron:is,toBase64UrlSafe:Dp,toChoseong:Di,toItemResults:Cs,toKstHm:Op,toKstYmd:Aa,toStandardPronunciation:Zu,toStorageName:lr,toUserErrorMessage:cp,validateSyllableSearchInput:$u,withEuRo:Qu,withEulReul:Qi,withEunNeun:Xu,withIga:Xi,withWaGwa:Ju,wordContainsChoseong:Lu,wordContainsJongseong:Mu,wordContainsJungseong:ju,wordHasNoCoda:ji,wordHasSyllableMatching:Mi,wrongItems:xp});function R5(t){return typeof window>"u"?"":m4.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function $5(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),[i,s]=c.useState(null),[l,u]=c.useState(null);return c.useEffect(()=>{if(!t||typeof t!="string"||!t.endsWith(".svg")){a(null),r(null),s(null);return}const d=t.split("/").pop();let h=t;d&&(t.startsWith("/")?h=Vo(t):/^(Logo|Symbol)/i.test(d)?h=Vo(`logo/${d}`):(/^https?:\/\//i.test(t)||t.startsWith("data:"),h=t)),a(h)},[t]),c.useEffect(()=>{if(!e)return;let d=!1;async function h(){try{let p=await fetch(e);p.ok||(p=await fetch(e));const m=p.headers.get("content-type")||"";if(d)return;if(m.includes("svg")){r("mask");return}if(m.startsWith("image/")){r("img");return}const g=await fetch(e);if(!g.ok)throw new Error("not ok");const f=await g.text();if(d)return;if(/^\s*<svg[\s>]/i.test(f)){const b=R5(f);if(!b){r("none");return}s(b),r("inline");return}r("none")}catch{d||r("none")}}return h(),()=>{d=!0}},[e]),c.useEffect(()=>{let d=!1,h=null;return o==="mask"&&e&&fetch(e).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{d||(h=URL.createObjectURL(p),u(h))}).catch(()=>{d||r("img")}),()=>{d=!0,h&&URL.revokeObjectURL(h),u(null)}},[o,e]),{iconToUse:e,mode:o,svgText:i,blobUrl:l}}function Re(t){const{icon:e,label:a,className:o,imgClassName:r,maskClassName:i,svgClassName:s,wrapperStyle:l,size:u}=t||{},d=o??"iconRenderer-icon",h=r??"iconRenderer-icon-image",p=i??"iconRenderer-icon-mask",m=s??"iconRenderer-icon-svg",g=typeof e=="string"?e:null,f=jw(g),{iconToUse:b,mode:y,svgText:v,blobUrl:x}=$5(g),_=(S,D={})=>n.jsx("span",{className:d,style:l,...D,children:S}),C=(S,D={})=>n.jsx("img",{src:S,alt:typeof a=="string"?a:a?String(a):"",className:h,...D});if(!e)return null;if(typeof e!="string")return _(e);if(e==="none")return _(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(f)try{return _(c.createElement(f,{className:m,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(y==="mask"){const S={"--icon-url":x?`url(${x})`:`url(${b})`};return _(n.jsx("span",{className:p,style:S}),{"aria-hidden":"true"})}return y==="img"?_(C(b,{onError:S=>{S.currentTarget.onerror=null,S.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):y==="inline"?_(n.jsx("span",{className:m,dangerouslySetInnerHTML:v?{__html:v}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(e.startsWith("/")||e.includes("/assets/")||e.match(/\.(png|jpg|jpeg|webp|gif)$/i))return C(Vo(e),{style:l,onError:S=>{S.currentTarget.onerror=null,S.currentTarget.style.display="none"}});const T=typeof u=="number"?u:20,w=`<svg width="${T}" height="${T}" 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 _(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:w}}),{"aria-hidden":"true"})}function vh({icon:t,emoji:e,title:a,message:o,hint:r,action:i,compact:s,className:l}){return n.jsxs("div",{className:_e("empty-state",s&&"empty-state--compact",l),children:[e&&n.jsx("span",{className:"empty-state__emoji",children:e}),t&&n.jsx(Re,{icon:t,className:"empty-state__icon"}),a&&n.jsx("p",{className:"empty-state__title body-2",children:a}),o&&n.jsx("p",{className:"empty-state__message body-3",children:o}),r&&n.jsx("p",{className:"empty-state__hint caption-1",children:r}),i&&n.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:i.onClick,children:[i.icon&&n.jsx(Re,{icon:i.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:i.label})]})]})}var I5=".ihabdevteam-core-scope .error-state__icon{color:var(--color-error)}";Q(I5);function yh({message:t,hint:e,icon:a="triangle-alert",onRetry:o,retryLabel:r,className:i}){const{t:s}=ge();return n.jsxs("div",{className:_e("empty-state","error-state",i),role:"alert",children:[n.jsx(Re,{icon:a,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:t??s("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),e&&n.jsx("p",{className:"empty-state__hint caption-1",children:e}),o&&n.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:o,children:[n.jsx(Re,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:r??s("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}var O5=".ihabdevteam-core-scope .action-card{--ac-color:var(--color-main);--ac-color-a10:var(--color-main-a10);aspect-ratio:1/1;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-l);box-shadow:var(--shadow-card);cursor:pointer;display:block;overflow:hidden;transition:transform .2s ease-out,box-shadow .2s ease-out,border-color .2s ease-out;width:100%}.ihabdevteam-core-scope .action-card--sub{--ac-color:var(--color-sub);--ac-color-a10:var(--color-sub-a10)}.ihabdevteam-core-scope .action-card:focus-visible{outline:none}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):focus-visible,.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover{border-color:var(--ac-color);box-shadow:var(--shadow-panel);transform:translateY(-4px)}.ihabdevteam-core-scope .action-card--disabled{cursor:wait;opacity:.6}.ihabdevteam-core-scope .action-card__body{display:flex;flex-direction:column;gap:var(--spacing-m);height:100%;padding:var(--spacing-l)}.ihabdevteam-core-scope .action-card__chip{align-items:center;background:var(--ac-color-a10);border-radius:var(--radius-m);color:var(--ac-color);display:flex;height:64px;justify-content:center;width:64px}.ihabdevteam-core-scope .action-card__text{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .action-card__title{color:var(--color-text-primary);font-size:var(--text-h2-size);font-weight:var(--text-h2-weight-bold);letter-spacing:var(--text-h2-spacing);line-height:var(--text-h2-line);margin:0}.ihabdevteam-core-scope .action-card__desc{color:var(--color-lightGray);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .action-card__cta{align-items:center;color:var(--ac-color);display:flex;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);gap:var(--spacing-xs);justify-content:flex-end;line-height:var(--text-body-2-line);margin-top:auto;padding-right:var(--spacing-s);padding-top:var(--spacing-s)}.ihabdevteam-core-scope .action-card__arrow{display:flex;transition:transform .2s}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover .action-card__arrow{transform:translateX(4px)}";Q(O5);function xh({icon:t,title:e,description:a,cta:o,tone:r="main",disabled:i=!1,onClick:s,className:l=""}){const u=()=>{i||s?.()};return n.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-label":e,onClick:u,onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),u())},className:_e("action-card",`action-card--${r}`,i&&"action-card--disabled",l),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(Re,{icon:t,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{className:"action-card__title",children:e}),n.jsx("p",{className:"action-card__desc",children:a})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{children:o}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(Re,{icon:"arrow-right",size:18})})]})]})})}function Ch({as:t="div",className:e="",children:a,storage:o,...r}){o&&vi({resolveUrl:o.resolveUrl,download:o.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:o.exists,resolvePath:o.resolvePath,noiseBaseUrl:o.noiseBaseUrl});const i=_e("ihabdevteam-core-scope",e);return n.jsx(t,{className:i,...r,children:a})}var z5=".ihabdevteam-core-scope .notice-box{background:var(--color-darkWhite);border-radius:var(--radius-m);color:var(--color-gray);margin:0 auto var(--spacing-page);padding:var(--spacing-l);position:relative;text-align:left}.ihabdevteam-core-scope .notice-box ul{margin:0;padding:0 0 0 18px}.ihabdevteam-core-scope .notice-box__inner{border-radius:var(--radius-s);padding:12px 14px;text-align:left}.ihabdevteam-core-scope .notice-box__title{color:var(--color-darkGray);margin:0 0 10px}.ihabdevteam-core-scope .notice-box__body,.ihabdevteam-core-scope .notice-box__line{color:var(--color-deepGray)}.ihabdevteam-core-scope .notice-box--default{border-color:var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--dashed{background:var(--color-deepWhite);border:1px dashed var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--important{border:1px solid var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .notice-box__dismiss{background:none;border:none;border-radius:var(--radius-xs);color:var(--color-lightGray);cursor:pointer;font-size:18px;line-height:1;padding:2px 6px;position:absolute;right:10px;top:8px;transition:color .12s}.ihabdevteam-core-scope .notice-box__dismiss:hover{color:var(--color-gray)}@media (max-width:767px){.ihabdevteam-core-scope .notice-box,.ihabdevteam-core-scope .notice-box__inner{padding:var(--spacing-s)}}";Q(z5);function _h({title:t="",lines:e=[],notices:a=null,children:o,variant:r="default",dismissible:i=!1,className:s=""}){const{t:l}=ge(),[u,d]=c.useState(!1),h=c.useCallback(()=>d(!0),[]);if(u)return null;const p=`notice-box notice-box--${r} body-2 ${s}`.trim();if(a&&Array.isArray(a)&&a.length)return n.jsx("div",{className:p,role:"note",children:a.map((g,f)=>n.jsxs("div",{className:"notice-box__inner",children:[g.title?n.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,n.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?n.jsx("div",{children:g.lines.map((b,y)=>n.jsx("span",{className:"notice-box__line body-3",children:b},y))}):g.children??null})]},f))});const m=t||e.length?n.jsxs("div",{className:"notice-box__inner",children:[t?n.jsx("span",{className:"notice-box__title body-1",children:t}):null,n.jsx("div",{className:"notice-box__body",children:e.length?n.jsx("ul",{children:e.map((g,f)=>n.jsx("li",{className:"notice-box__line",children:g},f))}):o})]}):n.jsx("div",{className:"notice-box__inner",children:o});return n.jsxs("div",{className:p,role:"note",children:[m,i&&n.jsx("button",{className:"notice-box__dismiss",onClick:h,"aria-label":l("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}var F5=".ihabdevteam-core-scope .button{align-items:center;background:var(--color-white);border:0;border:var(--button-border,0);box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);padding:0 12px;transition:background-color .14s ease,color .14s ease,transform .1s ease,box-shadow .14s ease}.ihabdevteam-core-scope .button__icon,.ihabdevteam-core-scope .button__left,.ihabdevteam-core-scope .button__right{align-items:center;color:inherit;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .button--align-center .button__label,.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:center}.ihabdevteam-core-scope .button__icon{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--small{height:16px;width:16px}.ihabdevteam-core-scope .button__icon--medium{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--large{height:36px;width:36px}.ihabdevteam-core-scope .button__center-group{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .button__center-group .button__label{display:inline-block;flex:0 1 auto;text-align:center}.ihabdevteam-core-scope .button__label{display:block;white-space:normal}.ihabdevteam-core-scope .button__label-text{align-items:center;display:inline-flex;justify-content:center;max-width:100%;vertical-align:middle;white-space:normal;word-break:break-word}.ihabdevteam-core-scope .button__label-text--has-sub{flex-direction:column;gap:3px}.ihabdevteam-core-scope .button__count{color:var(--color-main);font-weight:700;margin-left:4px}.ihabdevteam-core-scope .button--variant-main .button__count,.ihabdevteam-core-scope .is-selected .button__count,.ihabdevteam-core-scope [aria-pressed=true] .button__count{color:#fff}.ihabdevteam-core-scope .button__label:has(>.button__label-text+.button__label-text){gap:5px}.ihabdevteam-core-scope .button__sub-label-text{color:var(--button-subLabel-color,var(--color-gray));display:block}.ihabdevteam-core-scope .button__icon-img{display:block;height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.ihabdevteam-core-scope .button__icon-mask{background-color:currentColor;display:block;height:100%;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:100%}.ihabdevteam-core-scope .button__icon-svg{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .button__icon-svg svg{display:block;height:100%;width:100%}.ihabdevteam-core-scope .button__icon-svg svg,.ihabdevteam-core-scope .button__icon-svg svg *{fill:currentColor;stroke:currentColor}.ihabdevteam-core-scope .button .button__label{color:currentColor;color:var(--button-text-color,currentColor);min-height:20px;min-width:20px}.ihabdevteam-core-scope .button .button__icon,.ihabdevteam-core-scope .button .button__left,.ihabdevteam-core-scope .button .button__right{color:currentColor;color:var(--button-icon-color,currentColor)}.ihabdevteam-core-scope .button--align-left{justify-content:flex-start}.ihabdevteam-core-scope .button--align-center{justify-content:center}.ihabdevteam-core-scope .button--align-right{justify-content:flex-end}.ihabdevteam-core-scope .button--align-left .button__label{align-items:center;display:inline-flex;flex:1 1 auto}.ihabdevteam-core-scope .button--align-left .button__label-text{justify-content:flex-start;text-align:left}.ihabdevteam-core-scope .button--align-center .button__label{align-items:center;display:flex;flex:1 1 auto;justify-content:center;text-align:center}.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:right}.ihabdevteam-core-scope .button--align-grid{justify-content:center}.ihabdevteam-core-scope .button--align-grid .button__label{display:grid;flex:1 1 auto;grid-auto-columns:1fr;grid-auto-flow:column;text-align:center}.ihabdevteam-core-scope .button.button--no-bg{background:transparent;border-color:transparent}.ihabdevteam-core-scope .button--variant-danger{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-error))}.ihabdevteam-core-scope .button--variant-danger:focus-visible,.ihabdevteam-core-scope .button--variant-danger:hover{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-error-a10);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-danger.is-selected,.ihabdevteam-core-scope .button--variant-danger[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-error);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-default{--button-text-color:var(--color-darkGray);--button-icon-color:var(--color-lightGray);--button-subLabel-color:var(--color-gray);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-whiteLine))}.ihabdevteam-core-scope .button--variant-default:focus-visible,.ihabdevteam-core-scope .button--variant-default:hover{--button-text-color:var(--color-black);--button-icon-color:var(--color-main);--button-subLabel-color:var(--color-black);background:var(--color-white);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-default.is-selected,.ihabdevteam-core-scope .button--variant-default[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-main);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-main{--button-subLabel-color:var(--color-white-a80);background:var(--color-main);border:var(--button-border,1px solid var(--color-main));color:#fff}.ihabdevteam-core-scope .button--variant-main:focus-visible,.ihabdevteam-core-scope .button--variant-main:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);border-color:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-main.is-selected,.ihabdevteam-core-scope .button--variant-main[aria-pressed=true]{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-sub{--button-subLabel-color:var(--color-white-a80);background:var(--color-primary,var(--color-sub));color:#fff}.ihabdevteam-core-scope .button--variant-sub:focus-visible,.ihabdevteam-core-scope .button--variant-sub:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-uiAccent);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white{--button-subLabel-color:var(--color-white-a60);background:transparent;border:var(--button-border,1px solid var(--color-white-a80));color:#fbfdff}.ihabdevteam-core-scope .button--variant-transparent-white:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-white:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-white-a10);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white.is-selected,.ihabdevteam-core-scope .button--variant-transparent-white[aria-pressed=true]{--button-subLabel-color:var(--color-lightGray);background:var(--color-white);color:var(--color-main)}.ihabdevteam-core-scope .button--variant-transparent-gray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-gray-a80));color:var(--color-gray-a80)}.ihabdevteam-core-scope .button--variant-transparent-gray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-gray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-gray-a10);color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-lightGray-a80));color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-lightGray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-lightGray-a10);color:var(--color-deepGray)}.ihabdevteam-core-scope .button--variant-disabled{--button-subLabel-color:var(--color-disabled);background-color:transparent;border:var(--button-border,1px solid var(--color-whiteLine));color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled .button__icon,.ihabdevteam-core-scope .button--variant-disabled .button__left,.ihabdevteam-core-scope .button--variant-disabled .button__right{color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled-covered{background-color:var(--color-darkWhite);border:var(--button-border,1px solid var(--color-darkWhite));border-color:var(--color-whiteLine);color:transparent}.ihabdevteam-core-scope .button--variant-disabled-covered .button__icon,.ihabdevteam-core-scope .button--variant-disabled-covered .button__left,.ihabdevteam-core-scope .button--variant-disabled-covered .button__right{color:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded,.ihabdevteam-core-scope .button--variant-disabled-invisibled{background:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded .button__icon,.ihabdevteam-core-scope .button--variant-disabled-faded .button__left,.ihabdevteam-core-scope .button--variant-disabled-faded .button__right,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__icon,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__label,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__left,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__right{color:transparent}.ihabdevteam-core-scope .button:disabled,.ihabdevteam-core-scope .button[disabled]{cursor:default;pointer-events:none}.ihabdevteam-core-scope .button--shape-rounded{border-radius:8px!important;border-radius:var(--button-rounded-radius,8px)!important}.ihabdevteam-core-scope .button--shape-pill{border-radius:9999px!important}.ihabdevteam-core-scope .button72{--button-rounded-radius:18px;border-radius:36px;height:72px;justify-content:center}.ihabdevteam-core-scope .button72--bar{min-width:220px}.ihabdevteam-core-scope .button72--dot{padding:0;width:72px}.ihabdevteam-core-scope .button56{--button-rounded-radius:14px;border-radius:28px;height:56px;justify-content:center}.ihabdevteam-core-scope .button56--bar{min-width:190px}.ihabdevteam-core-scope .button56--dot{padding:0;width:56px}.ihabdevteam-core-scope .button52{--button-rounded-radius:13px;border-radius:26px;height:52px;justify-content:center}.ihabdevteam-core-scope .button52--bar{min-width:175px}.ihabdevteam-core-scope .button52--dot{padding:0;width:52px}.ihabdevteam-core-scope .button48{--button-rounded-radius:12px;border-radius:24px;height:48px;justify-content:center}.ihabdevteam-core-scope .button48--bar{min-width:160px}.ihabdevteam-core-scope .button48--dot{padding:0;width:48px}.ihabdevteam-core-scope .button40{--button-rounded-radius:10px;border-radius:20px;height:40px;justify-content:center}.ihabdevteam-core-scope .button40--bar{min-width:100px}.ihabdevteam-core-scope .button40--dot{padding:0;width:40px}.ihabdevteam-core-scope .button40 .button__icon,.ihabdevteam-core-scope .button40--bar .button__icon,.ihabdevteam-core-scope .button40--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:16px;height:32px;justify-content:center}.ihabdevteam-core-scope .button32--bar{min-width:72px}.ihabdevteam-core-scope .button32--dot{padding:0;width:32px}.ihabdevteam-core-scope .button32 .button__icon,.ihabdevteam-core-scope .button32--bar .button__icon,.ihabdevteam-core-scope .button32--dot .button__icon{height:18px;width:18px}.ihabdevteam-core-scope .button28{--button-rounded-radius:7px;border-radius:14px;height:28px;justify-content:center}.ihabdevteam-core-scope .button28--bar{min-width:60px}.ihabdevteam-core-scope .button28--dot{padding:0;width:28px}.ihabdevteam-core-scope .button28 .button__icon,.ihabdevteam-core-scope .button28--bar .button__icon,.ihabdevteam-core-scope .button28--dot .button__icon{height:16px;width:16px}.ihabdevteam-core-scope .button24{--button-rounded-radius:6px;border-radius:12px;height:24px;justify-content:center}.ihabdevteam-core-scope .button24--bar{min-width:48px}.ihabdevteam-core-scope .button24--dot{padding:0;width:24px}.ihabdevteam-core-scope .button24 .button__icon,.ihabdevteam-core-scope .button24--bar .button__icon,.ihabdevteam-core-scope .button24--dot .button__icon{height:14px;width:14px}.ihabdevteam-core-scope .button-keyboard{border-radius:12px;height:32px;justify-content:center}.ihabdevteam-core-scope .button-keyboard--bar{min-width:32px;padding:0 12px}.ihabdevteam-core-scope .button-keyboard--dot{padding:0;width:32px}.ihabdevteam-core-scope .button-word{border-radius:12px;height:72px;justify-content:center;padding:0 16px}.ihabdevteam-core-scope .button-word--bar{min-width:120px}.ihabdevteam-core-scope .button-word--dot{padding:0;width:72px}@media (max-width:1024px){.ihabdevteam-core-scope .button56{--button-rounded-radius:13px;border-radius:25px;height:50px}.ihabdevteam-core-scope .button56--bar{min-width:170px}.ihabdevteam-core-scope .button56--dot{width:50px}.ihabdevteam-core-scope .button48{--button-rounded-radius:11px;border-radius:22px;height:44px}.ihabdevteam-core-scope .button48--bar{min-width:140px}.ihabdevteam-core-scope .button48--dot{width:44px}.ihabdevteam-core-scope .button40{--button-rounded-radius:9px;border-radius:18px;height:36px}.ihabdevteam-core-scope .button40--bar{min-width:88px}.ihabdevteam-core-scope .button40--dot{width:36px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:15px;height:30px}.ihabdevteam-core-scope .button32--bar{min-width:64px}.ihabdevteam-core-scope .button32--dot{width:30px}.ihabdevteam-core-scope .button24--bar{min-width:44px}}@media (max-width:768px){.ihabdevteam-core-scope .button56{--button-rounded-radius:12px;border-radius:23px;height:46px}.ihabdevteam-core-scope .button56--bar{min-width:150px}.ihabdevteam-core-scope .button56--dot{width:46px}.ihabdevteam-core-scope .button56 .button__icon,.ihabdevteam-core-scope .button56--bar .button__icon,.ihabdevteam-core-scope .button56--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button48{--button-rounded-radius:10px;border-radius:20px;height:40px}.ihabdevteam-core-scope .button48--bar{min-width:120px}.ihabdevteam-core-scope .button48--dot{width:40px}.ihabdevteam-core-scope .button48 .button__icon,.ihabdevteam-core-scope .button48--bar .button__icon,.ihabdevteam-core-scope .button48--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button40{--button-rounded-radius:8px;border-radius:17px;height:34px}.ihabdevteam-core-scope .button40--bar{min-width:80px}.ihabdevteam-core-scope .button40--dot{width:34px}.ihabdevteam-core-scope .button32{--button-rounded-radius:7px;border-radius:14px;height:28px}.ihabdevteam-core-scope .button32--bar{min-width:60px}.ihabdevteam-core-scope .button32--dot{width:28px}.ihabdevteam-core-scope .button24--bar{min-width:40px}}";Q(F5);var W5=".ihabdevteam-core-scope .tooltip-content{animation:tooltip-pop .2s cubic-bezier(.2,.9,.2,1) both;background-color:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);box-sizing:border-box;pointer-events:auto;position:absolute;transform-origin:left center;white-space:normal;will-change:transform,opacity;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content--bordered{border:1px solid var(--color-whiteLine)}.ihabdevteam-core-scope .tooltip-content.tooltip-description,.ihabdevteam-core-scope .tooltip-content.tooltip-info,.ihabdevteam-core-scope .tooltip-content.tooltip-training{background:transparent;box-shadow:none}.ihabdevteam-core-scope .tooltip-content__header{align-items:center;color:var(--color-gray);display:flex;height:40px;padding:0 2px 10px}.ihabdevteam-core-scope .tooltip-content.is-closing{opacity:0;transition:opacity .2s ease,transform .2s ease}.ihabdevteam-core-scope .tooltip-content[data-placement=top]{transform:translateY(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=bottom]{transform:translateY(6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=left]{transform:translateX(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=right]{transform:translateX(6px)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=top]{transform:translateY(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=bottom]{transform:translateY(6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=left]{transform:translateX(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=right]{transform:translateX(6px) scale(.98)}.ihabdevteam-core-scope .tooltip--hidden{display:none}@keyframes tooltip-pop{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes tooltip-fade-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-6px) scale(.98)}}.ihabdevteam-core-scope .tooltip-backdrop{background:var(--color-popupBlock);inset:0;position:fixed;z-index:calc(var(--z-tooltip) - 1)}.ihabdevteam-core-scope .tooltip-portal{inset:0;position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content.is-mobile{left:50%!important;max-width:calc(100% - 40px)!important;top:50%!important;transform:translate(-50%,-50%)!important;visibility:visible!important;width:calc(100% - 40px)!important;z-index:var(--z-tooltip)!important}.ihabdevteam-core-scope .tooltip-content .tooltip-close{display:inline-flex;position:absolute;right:6px;top:6px;z-index:2}.ihabdevteam-core-scope .tooltip-content .tooltip-close .button{box-shadow:none}";Q(W5);function Ta(t){const{anchorRect:e,anchorEl:a,offset:o=20,edgeMargin:r=20,onClose:i,closeOnOutsideClick:s=!0,className:l="",role:u="dialog",ariaLabel:d="",children:h,backdrop:p=!1,isMobilePopup:m=!1,useBorder:g=!0,header:f}=t||{},b=c.useRef(null),[y,v]=c.useState({position:"fixed",left:0,top:-9999}),[x,_]=c.useState(!1),[C,T]=c.useState("bottom"),[w,S]=c.useState(!1),[D,A]=c.useState(!1),N=!e&&!a,O=c.useCallback((L=!1)=>{if(D&&m)return;const z=a?a.getBoundingClientRect():e;if(!z||!b.current)return;const te=b.current,{offsetWidth:J,offsetHeight:ae}=te,M=window.innerWidth,R=window.innerHeight,$=M-z.right,F=z.left,I=z.top,q=R-z.bottom;let P=0,H=0,V="top";if(I>=ae+o)V="top",H=z.top-o-ae,P=z.left+z.width/2-J/2;else if(q>=ae+o)V="bottom",H=z.bottom+o,P=z.left+z.width/2-J/2;else if($>=J+o)V="right",P=z.right+o,H=z.top+z.height/2-ae/2;else if(F>=J+o)V="left",P=z.left-o-J,H=z.top+z.height/2-ae/2;else{const he=Math.max(I,q,$,F);he===I?(V="top",H=z.top-o-ae,P=z.left+z.width/2-J/2):he===q?(V="bottom",H=z.bottom+o,P=z.left+z.width/2-J/2):he===$?(V="right",P=z.right+o,H=z.top+z.height/2-ae/2):(V="left",P=z.left-o-J,H=z.top+z.height/2-ae/2)}const U=Number(r)||8;P=Math.min(Math.max(P,U),M-J-U),H=Math.min(Math.max(H,U),R-ae-U);const ee=Math.round(P),pe=Math.round(H);L&&b.current?(b.current.style.left=`${ee}px`,b.current.style.top=`${pe}px`,b.current.dataset.placement=V):(T(V||C),v({position:"fixed",left:ee,top:pe}),S(!0))},[D,m,a,e,o,r,C]);c.useLayoutEffect(()=>{if(N)return;if(D&&m){v({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),S(!0);return}O();const L=requestAnimationFrame(()=>O());return()=>cancelAnimationFrame(L)},[e,a,o,h,r,N,D,m,O]),c.useEffect(()=>{if(N||D&&m||!b.current||typeof ResizeObserver>"u")return;const L=new ResizeObserver(()=>{e&&O()});return L.observe(b.current),()=>L.disconnect()},[e,h,r,N,D,m,O]),c.useEffect(()=>{if(N||D&&m)return;const L=()=>O(!0);return window.addEventListener("resize",L),document.addEventListener("scroll",L,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",L),document.removeEventListener("scroll",L,{capture:!0})}},[e,o,h,r,N,D,m,O]),c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const L=window.matchMedia("(max-width: 768px)"),z=()=>A(!!L.matches);z();try{L.addEventListener?L.addEventListener("change",z):L.addListener(z)}catch{try{L.addListener(z)}catch{}}return()=>{try{L.removeEventListener?L.removeEventListener("change",z):L.removeListener(z)}catch{}}},[]);const j=c.useRef(!1),k=c.useCallback((L=!1)=>{if(!(x||j.current)){if(j.current=!0,L){_(!0);try{i&&i()}catch{}return}_(!0),setTimeout(()=>{i&&i()},200)}},[x,i,_]);c.useEffect(()=>{const L=J=>{const ae=b.current;if(!ae)return;const M=J.target;if(M&&!ae.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}s&&k(!0)}},z=J=>{const ae=b.current;if(!ae)return;const M=J.target;if(M&&!ae.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}s&&k(!0)}},te=J=>{if(J.key==="Escape"){J.stopPropagation(),k();return}if(J.key==="Tab"){const ae=b.current;if(!ae)return;const M=ae.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!M||M.length===0)return;const R=M[0],$=M[M.length-1],F=document.activeElement;J.shiftKey?F===R&&(J.preventDefault(),$.focus()):F===$&&(J.preventDefault(),R.focus())}};return document.addEventListener("pointerdown",L,!0),document.addEventListener("click",z,!0),document.addEventListener("keydown",te),()=>{document.removeEventListener("pointerdown",L,!0),document.removeEventListener("click",z,!0),document.removeEventListener("keydown",te)}},[i,s,k]),c.useEffect(()=>{const L=()=>{k(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",L),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",L)}},[k]);const E=n.jsxs("div",{ref:b,className:`tooltip-content ${g?"tooltip-content--bordered":""} ${x?"is-closing":""} ${l} ${D&&m?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:N?{}:{...y,visibility:w?"visible":"hidden"},tabIndex:-1,"data-placement":C,"data-left":N?"":y.left,"data-top":N?"":y.top,"data-anchor-left":e?Math.round(e.left):"","data-anchor-top":e?Math.round(e.top):"","data-anchor-width":e?Math.round(e.width):"","data-anchor-height":e?Math.round(e.height):"",children:[f!=null&&n.jsx("div",{className:"tooltip-content__header h5",children:f}),h]});if(N||typeof document>"u")return E;if(p||D&&m){const L=n.jsxs("div",{className:"tooltip-portal",children:[n.jsx("div",{className:"tooltip-backdrop",onClick:()=>{s&&k(!0)}}),E]});return Yt.createPortal(L,document.body)}return Yt.createPortal(E,document.body)}var H5='.ihabdevteam-core-scope .tooltip-info__content{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-main);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);color:var(--color-black);display:inline-flex;justify-content:center;line-height:1;overflow:hidden;padding:4px 12px;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .tooltip-content.tooltip-info{pointer-events:none}.ihabdevteam-core-scope .tooltip-content.tooltip-info .tooltip-info__content{box-shadow:var(--shadow-tooltip)}.ihabdevteam-core-scope .tooltip-info[data-placement=bottom] .tooltip-info__content:after,.ihabdevteam-core-scope .tooltip-info[data-placement=top] .tooltip-info__content:after{content:"";height:0;margin:0;padding:0;position:absolute;width:0}';Q(H5);function Na(t){const{anchorRect:e,text:a,offset:o=8,onClose:r,className:i="",ariaLabel:s}=t||{};return a?n.jsx(Ta,{anchorRect:e,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:s||a,children:n.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}var V5=".ihabdevteam-core-scope .tooltip-description__box{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);display:flex;flex-direction:column;gap:10px;max-width:640px;padding:16px 20px}.ihabdevteam-core-scope .tooltip-description__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .tooltip-description__items{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .tooltip-description__item{align-items:flex-start;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs);margin:0}.ihabdevteam-core-scope .tooltip-description__index{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .tooltip-description__item--active{color:var(--color-main);font-weight:600}.ihabdevteam-core-scope .tooltip-description__item--active .tooltip-description__index{color:var(--color-main)}";Q(V5);function no(t){const{anchorRect:e,title:a,items:o,activeIndex:r=-1,showIndex:i=!0,onClose:s,offset:l=12}=t||{},u=Array.isArray(o)?o:o?[o]:[];return!u.length&&!a?null:n.jsx(Ta,{anchorRect:e,offset:l,onClose:s,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:n.jsxs("div",{className:"tooltip-description__box",children:[a&&n.jsx("span",{className:"tooltip-description__title body-2",children:a}),n.jsx("ol",{className:"tooltip-description__items",children:u.map((d,h)=>n.jsxs("li",{className:`tooltip-description__item body-3${h===r?" tooltip-description__item--active":""}`,children:[i&&u.length>1&&n.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),n.jsx("span",{children:d})]},h))})]})})}function se(t){const{size:e=48,type:a,htmlType:o,href:r,target:i,rel:s,icon:l,rightIcon:u,label:d,count:h,subLabel:p,children:m,ariaLabel:g,variant:f="default",align:b="center",selected:y,toggleable:v=!1,disabled:x=!1,useLabel:_=!0,useBorder:C=!0,useBG:T=!0,useDisabledCovered:w=!1,useDisabledInvisible:S=!1,width:D,minWidth:A,onClick:N,onDisabledClick:O,showTooltipInfo:j=!1,tooltipInfoText:k=null,tooltipDescription:E=null,iconSize:L="medium",iconColor:z,shape:te="rounded",color:J,className:ae,...M}=t,R=typeof e=="string"&&isNaN(Number(e))?e.toLowerCase():String(Number(e)||48),$=R.match(/^\d+$/)?`button${R}`:`button-${R}`,F=Number(e),I=!isNaN(F)&&F<40?"button-2":"button-1",q=d??m,P=x||!!M.disabled,H=P?w?"disabled-covered":S?"disabled-invisibled":"disabled":f,V=H?`button--variant-${H}`:"",U=b?`button--align-${b}`:"",ee=te?`button--shape-${te}`:"",pe=typeof z=="string"&&z.startsWith("--")?`var(${z})`:z,he={...D?{width:typeof D=="number"?`${D}px`:D}:{},...A?{minWidth:typeof A=="number"?`${A}px`:A}:{},...C?{}:{"--button-border":P?"0":"1px solid transparent"},...pe?{"--button-icon-color":pe}:{},...J?{"--color-main":J}:{}},oe=_===!1?"":q,X=Array.isArray(oe)?oe.length>0:!!oe,de=!!u,Ce=a??(X||l||de?"bar":"dot"),Z=`${$}--${Ce}`,le=c.useRef(null),G=c.useRef(P),[ce,be]=c.useState(!!y),[De,Ie]=c.useState(!1),[We,He]=c.useState(null),$e=c.useCallback(()=>Ie(!1),[]);c.useEffect(()=>{(j||E)&&P&&De&&(Ie(!1),He(null))},[P,j,E,De]),c.useEffect(()=>{typeof y=="boolean"&&be(y)},[y]),c.useEffect(()=>{if(G.current&&!P&&le.current){const Pe=le.current;Pe.blur(),Pe.style.pointerEvents="none";const Xe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{le.current&&(le.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Xe)}G.current=P},[P]);const rt=typeof y=="boolean"?!!y:ce,Oe=v||typeof y=="boolean"?rt?"true":"false":void 0,Ge=_e("button",$,Z,V,U,ee,rt?"is-selected":null,T?null:"button--no-bg",ae),Fe=`button__icon button__icon--${L}`,fe=Array.isArray(p)?p:p!==void 0?[p]:[],nt=()=>{if(Array.isArray(oe))return oe.map((Xe,et)=>{const Ct=fe[et];return n.jsxs("span",{className:`button__label-text${Ct!==void 0?" button__label-text--has-sub":""}`,children:[Xe,Ct!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:Ct})]},et)});const Pe=p!==void 0;return n.jsxs("span",{className:`button__label-text${Pe?" button__label-text--has-sub":""}`,children:[oe,h!=null&&n.jsx("span",{className:"button__count",children:h}),Pe&&n.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},qe=Pe=>{P||(typeof M.onMouseLeave=="function"&&M.onMouseLeave(Pe),typeof y!="boolean"&&be(!1),Pe.currentTarget.blur())},Me=Pe=>{if(P){O?.(Pe);return}typeof y!="boolean"&&v&&be(Xe=>!Xe),N?.(Pe)},Ke=c.useCallback(()=>{!P&&(j||E)&&(Ie(!0),He(le.current?.getBoundingClientRect()??null))},[P,j,E]),Lt=c.useCallback(()=>{(j||E)&&(Ie(!1),He(null))},[j,E]),Ze={...M};delete Ze.disabled,delete Ze.className,delete Ze.faded,delete Ze.useFaded,delete Ze.loading,delete Ze.onMouseLeave,delete Ze.onPointerEnter,delete Ze.onPointerLeave,delete Ze.onFocus,delete Ze.onBlur,P&&(Object.keys(Ze).forEach(Pe=>{/^on[A-Z]/.test(Pe)&&typeof Ze[Pe]=="function"&&delete Ze[Pe]}),Ze["aria-disabled"]="true");const Ye=(typeof j=="string"?j:null)??(typeof k=="string"?k:null)??(typeof g=="string"?g:null)??(typeof q=="string"?q:null)??void 0,ht=typeof g=="string"?g:typeof q=="string"?q:Ye,Le=(Pe,Xe)=>n.jsx(Re,{icon:Pe,label:Xe??ht,className:Fe,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),ot=()=>Ce==="dot"?n.jsxs(n.Fragment,{children:[Le(l),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()})]}):b==="center"&&l?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:Le(l)}),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()})]}),de&&n.jsx("span",{className:"button__right",children:Le(u)})]}):n.jsxs(n.Fragment,{children:[l&&n.jsx("span",{className:"button__left",children:Le(l,g??q)}),X&&n.jsx("span",{className:`button__label ${I}`,children:nt()}),de&&n.jsx("span",{className:"button__right",children:Le(u)})]}),Qe=!!r&&!P;return n.jsxs(n.Fragment,{children:[n.jsx(Qe?"a":"button",{...Ze,ref:le,...Qe?{href:r,target:i,rel:s??(i==="_blank"?"noreferrer":void 0)}:{type:o,disabled:P&&!O},className:Ge,"aria-pressed":Oe,"aria-label":ht,"aria-disabled":Qe&&P?!0:void 0,style:he,onClick:Me,onMouseLeave:qe,onPointerEnter:Pe=>{Ke(),!P&&typeof M.onPointerEnter=="function"&&M.onPointerEnter(Pe)},onPointerLeave:Pe=>{Lt(),!P&&typeof M.onPointerLeave=="function"&&M.onPointerLeave(Pe)},onFocus:Pe=>{Ke(),!P&&typeof M.onFocus=="function"&&M.onFocus(Pe)},onBlur:Pe=>{qe(Pe),Lt(),!P&&typeof M.onBlur=="function"&&M.onBlur(Pe)},children:ot()}),De&&E?n.jsx(no,{anchorRect:We,title:E.title,items:E.items,onClose:$e}):De&&Ye?n.jsx(Na,{anchorRect:We,text:Ye,onClose:$e}):null]})}function dt(t,e,a){const o=c.useRef(null);return c.useLayoutEffect(()=>{const r=o.current?.parentElement??null;return e(r,t),()=>a(r)},[t,e,a]),o}var G5=".ihabdevteam-core-scope .promo-banner-bg{border-radius:inherit;inset:0;pointer-events:none;position:absolute}";Q(G5);var q5=".ihabdevteam-core-scope .promo-banner-bg-main{background:linear-gradient(45deg,var(--color-main),var(--color-sub))}";Q(q5);const So={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},Fs=new WeakMap;function Ws(t){if(t)return Fs.get(t)}function Bt(t,e){t&&(t.style.setProperty(So.title,e.title),t.style.setProperty(So.description,e.description),Fs.set(t,e))}function Et(t){t&&(t.style.removeProperty(So.title),t.style.removeProperty(So.description),Fs.delete(t))}const Hs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function Vs(){const t=dt(Hs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}var U5=".ihabdevteam-core-scope .promo-banner-bg-soft{background:var(--color-main-a10)}";Q(U5);const Gs={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function qs(){const t=dt(Gs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}var Y5=".ihabdevteam-core-scope .promo-banner-bg-sub{background:var(--color-sub)}";Q(Y5);const Us={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Ys(){const t=dt(Us,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}var K5=".ihabdevteam-core-scope .promo-banner-bg-deep{background:linear-gradient(135deg,var(--color-darkMain),var(--color-darkSub))}";Q(K5);const Ks={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Zs(){const t=dt(Ks,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}var Z5=".ihabdevteam-core-scope .promo-banner-bg-soft-sub{background:var(--color-sub-a10)}";Q(Z5);const Xs={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Js(){const t=dt(Xs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}var X5=".ihabdevteam-core-scope .promo-banner-bg-warm{background:var(--color-warn)}";Q(X5);const Qs={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function el(){const t=dt(Qs,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}var J5=".ihabdevteam-core-scope .promo-banner-bg-dark{background:var(--color-lightBlack)}";Q(J5);const tl={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function al(){const t=dt(tl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}var Q5=".ihabdevteam-core-scope .promo-banner-bg-radial{background:radial-gradient(circle at 15% 20%,var(--color-main) 0,var(--color-sub) 100%)}";Q(Q5);const ol={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function rl(){const t=dt(ol,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}var e3=".ihabdevteam-core-scope .promo-banner-bg-diagonal{background-color:var(--color-lightMain);background-image:repeating-linear-gradient(45deg,var(--color-main-a10) 0,var(--color-main-a10) 10px,transparent 10px,transparent 20px)}";Q(e3);const nl={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function il(){const t=dt(nl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}var t3=".ihabdevteam-core-scope .promo-banner-bg-dots{background-color:var(--color-lightSub);background-image:radial-gradient(var(--color-sub-a10) 2px,transparent 2px);background-size:14px 14px}";Q(t3);const sl={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function ll(){const t=dt(sl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}var a3=".ihabdevteam-core-scope .promo-banner-bg-outline{background:var(--color-white);border:1px solid var(--color-whiteLine);box-sizing:border-box}.ihabdevteam-core-scope .promo-banner-bg-outline__dot{background:linear-gradient(45deg,var(--color-main),var(--color-sub));border-radius:50%;bottom:-40px;height:140px;opacity:.12;position:absolute;right:-40px;width:140px}";Q(a3);const cl={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function dl(){const t=dt(cl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:n.jsx("span",{className:"promo-banner-bg-outline__dot"})})}var o3=".ihabdevteam-core-scope .promo-banner-bg-success{background:var(--color-success)}";Q(o3);const ul={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function pl(){const t=dt(ul,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}var r3=".ihabdevteam-core-scope .promo-banner-bg-naver{background:linear-gradient(90deg,#03c75a 0,var(--color-main) 100%)}";Q(r3);const hl={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function ml(){const t=dt(hl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}var n3=".ihabdevteam-core-scope .promo-banner-bg-instagram{background:linear-gradient(45deg,#f9ce34,#ee2a7b 50%,#6228d7)}";Q(n3);const gl={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function bl(){const t=dt(gl,Bt,Et);return n.jsx("div",{ref:t,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const wh=[{key:"main",label:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"soft",label:"\uC18C\uD504\uD2B8",textTone:"dark"},{key:"sub",label:"\uC11C\uBE0C \uCEEC\uB7EC",textTone:"light"},{key:"deep",label:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"softSub",label:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",textTone:"dark"},{key:"warm",label:"\uC6DC(\uAC15\uC870)",textTone:"dark"},{key:"dark",label:"\uB2E4\uD06C",textTone:"light"},{key:"radial",label:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"diagonal",label:"\uB300\uAC01\uC120 \uD328\uD134",textTone:"dark"},{key:"dots",label:"\uB3C4\uD2B8 \uD328\uD134",textTone:"dark"},{key:"outline",label:"\uC544\uC6C3\uB77C\uC778",textTone:"dark"},{key:"success",label:"\uC131\uACF5/\uC644\uB8CC",textTone:"light"},{key:"naver",label:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",textTone:"light"},{key:"instagram",label:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4",textTone:"light"}],fl={main:Vs,soft:qs,sub:Ys,deep:Zs,softSub:Js,warm:el,dark:al,radial:rl,diagonal:il,dots:ll,outline:dl,success:pl,naver:ml,instagram:bl};function gn({storageKey:t="fontScale",baseFont:e=20,minScale:a=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:i=1.4}={}){const s=y=>Math.max(a,Math.min(o,Number(y))),[l,u]=c.useState(()=>{try{const y=localStorage.getItem(t),v=y?Number(y):1;return Number.isFinite(v)?v:1}catch{return 1}});c.useEffect(()=>{try{localStorage.setItem(t,String(l))}catch{}},[t,l]);const d=y=>{u(typeof y=="function"?v=>s(y(v)):s(y))},h=()=>d(y=>+(y+r).toFixed(6)),p=()=>d(y=>+(y-r).toFixed(6)),m=l<o-Number.EPSILON,g=l>a+Number.EPSILON,f=Math.round(e*l),b=Math.round(f*i);return{scale:l,setScale:d,increase:h,decrease:p,canIncrease:m,canDecrease:g,fontSize:f,lineHeight:b}}const bn=c.createContext(null);function i3(t){return/max-width:\s*7[0-9][0-9]px/.test(t)}function ra(t){const e=c.useContext(bn),a=i=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(i).matches,[o,r]=c.useState(a(t));return c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const i=window.matchMedia(t),s=u=>r(u.matches),l=i;return l.addEventListener?l.addEventListener("change",s):l.addListener&&l.addListener(s),r(i.matches),()=>{l.removeEventListener?l.removeEventListener("change",s):l.removeListener&&l.removeListener(s)}},[t]),e&&typeof e.mobile=="boolean"&&i3(t)?e.mobile:o}function kh(t){const e=c.useRef(t);return c.useEffect(()=>{e.current=t}),e}function br(t,e){const a=kh(e);c.useEffect(()=>{const o=()=>a.current();try{window.addEventListener(t,o)}catch{}return()=>{try{window.removeEventListener(t,o)}catch{}}},[t,a])}const vl=" \xB7 ",Sh=(()=>{if(typeof document>"u")return"";const t=document.title;return t.includes(vl)?t.split(vl).pop()??t:t})(),yl=c.createContext(!1);function xl(t){const e=c.useContext(yl);c.useEffect(()=>{if(e||typeof t!="string"||!t)return;const a=document.title;return document.title=Sh?`${t}${vl}${Sh}`:t,()=>{document.title=a}},[t,e])}function Ah(){const{t}=ge();return c.useCallback(e=>{if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const o=Math.floor((Date.now()-a)/864e5);return o<=0?t("myHomework.relativeDay.today","\uC624\uB298"):o===1?t("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):t("myHomework.relativeDay.daysAgo",{n:o})},[t])}function Th(t){const[e,a]=c.useState({current:"",next:"",confirm:""}),[o,r]=c.useState(null),[i,s]=c.useState(!1),l=c.useRef(null);c.useEffect(()=>()=>{l.current!==null&&clearTimeout(l.current)},[]);const u=c.useCallback(()=>{a({current:"",next:"",confirm:""}),r(null)},[]),d=c.useCallback(async()=>{if(!e.current){r({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!e.next){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(e.next!==e.confirm){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}s(!0);const h=t?await t(e.current,e.next):null;if(s(!1),h){r({type:"error",text:h});return}r({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),a({current:"",next:"",confirm:""}),l.current!==null&&clearTimeout(l.current),l.current=setTimeout(()=>r(null),1500)},[e,t]);return{pw:e,setPw:a,pwMsg:o,setPwMsg:r,pwLoading:i,handleChangePw:d,reset:u}}const Cl=[{id:"wordData",labelKey:"settings.cache.group.wordData.label",subKey:"settings.cache.group.wordData.sub",keys:["word_data_cache","word_data_version"]},{id:"pairIndex",labelKey:"settings.cache.group.pairIndex.label",subKey:"settings.cache.group.pairIndex.sub",keys:["word_pair_index_v2","word_pair_index_sig_v2"]},{id:"imageCache",labelKey:"settings.cache.group.imageCache.label",subKey:"settings.cache.group.imageCache.sub",keys:["word_image_existence_map_v1"]}];function _l(t){return t.reduce((e,a)=>{try{const o=localStorage.getItem(a);return e+(o?new Blob([o]).size:0)}catch{return e}},0)}function Nh(t){return t===0?"0 B":t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:t<1024*1024*1024?`${(t/(1024*1024)).toFixed(2)} MB`:`${(t/(1024*1024*1024)).toFixed(2)} GB`}function Bh(t){const{t:e}=ge(),[a,o]=c.useState({}),[r,i]=c.useState(null),[s,l]=c.useState(null),[u,d]=c.useState(null),h=c.useCallback(()=>{const m={};Cl.forEach(g=>{m[g.id]=_l([...g.keys])}),o(m),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(g=>{d({usage:g.usage??0,quota:g.quota??0})}).catch(()=>{})},[]);c.useEffect(()=>{h()},[h]);const p=c.useCallback(async m=>{i(m);try{m==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):m==="pairIndex"?Oi():m==="imageCache"&&Ti(),h(),t?.(e("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{i(null)}},[h,t,e]);return{cacheSizes:a,clearingId:r,confirmCacheId:s,setConfirmCacheId:l,storageEstimate:u,refreshCacheSizes:h,handleClearCache:p}}function Eh(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),i=c.useCallback(()=>{const s=Qa();if(s){const u=Object.values(s),d=u.filter(h=>h.cho.length+h.jung.length+h.jong.length>0).length;a({matched:d,total:u.length})}else a(null);const l=Hr();r(l?{exists:l.exists,total:l.total}:null)},[]);return c.useEffect(()=>{i();const s=setTimeout(i,1e3);return()=>clearTimeout(s)},[t,i]),{pairStats:e,imgStats:o,setPairStats:a,setImgStats:r,refreshStats:i}}function Dh(t,e=[]){const[a,o]=c.useState(e),[r,i]=c.useState(null),[s,l]=c.useState(!1),[u,d]=c.useState(t),h=c.useRef(s);c.useEffect(()=>{h.current=s});const p=c.useRef(null);c.useEffect(()=>{if(h.current)return;const v=p.current;v!==null&&v.length===e.length&&v.every((x,_)=>x===e[_])||(p.current=e,o(e))},[e]);const m=c.useCallback(v=>{i(v),l(!1),d({...v})},[]),g=c.useCallback(()=>l(!0),[]),f=c.useCallback(()=>l(!1),[]),b=c.useCallback((v,x)=>{o(v),i(x),l(!1)},[]),y=c.useCallback(v=>{o(x=>x.filter(_=>_!==v)),i(null)},[]);return{list:a,setList:o,selected:r,setSelected:i,isEditing:s,setIsEditing:l,editForm:u,setEditForm:d,openDetail:m,startEditing:g,cancelEditing:f,commitEdit:b,remove:y}}const Ao=()=>{const t=new Date;return{year:String(t.getFullYear()),month:String(t.getMonth()+1).padStart(2,"0"),day:String(t.getDate()).padStart(2,"0")}},s3={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Lh(t=[]){const{list:e,setList:a,selected:o,setSelected:r,isEditing:i,setIsEditing:s,editForm:l,setEditForm:u,openDetail:d,commitEdit:h}=Dh(s3,t),{year:p,month:m,day:g}=Ao(),[f,b]=c.useState({year:p,month:m,day:g,hour:"09",minute:"00",memo:""});return{visitHistory:e,visitForm:f,setVisitForm:b,setVisit:y=>v=>b(x=>({...x,[y]:v})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:i,setIsEditingVisit:s,editVisitForm:l,setEditVisitForm:u,openVisitDetail:d,handleVisitSave:y=>{a(C=>[f,...C]);const{year:v,month:x,day:_}=Ao();b({year:v,month:x,day:_,hour:"09",minute:"00",memo:""}),y?.()},handleVisitEditSave:()=>{h(y=>y.map(v=>v===o?l:v),l)},addVisit:y=>{a(v=>[y,...v])},removeVisit:y=>{a(v=>v.filter(x=>x!==y))},revertVisitEdit:(y,v)=>{a(x=>x.map(_=>_===v?y:_)),r(x=>x===v?y:x)}}}const jh=t=>`${t.year.padStart(4,"0")}-${t.month.padStart(2,"0")}-${t.day.padStart(2,"0")} ${t.hour.padStart(2,"0")}:${t.minute.padStart(2,"0")}`,fn=t=>[...t].sort((e,a)=>{const o=jh(e),r=jh(a);return o<r?-1:o>r?1:0}),l3={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Mh(t,e=[]){const a=c.useMemo(()=>fn(e),[e]),{list:o,setList:r,selected:i,setSelected:s,isEditing:l,setIsEditing:u,editForm:d,setEditForm:h,openDetail:p,commitEdit:m,remove:g}=Dh(l3,a),[f,b]=c.useState([]),{year:y,month:v,day:x}=Ao(),[_,C]=c.useState({year:y,month:v,day:x,hour:"09",minute:"00",memo:""}),T=E=>L=>C(z=>({...z,[E]:L})),w=E=>{r(J=>fn([...J,_]));const{year:L,month:z,day:te}=Ao();C({year:L,month:z,day:te,hour:"09",minute:"00",memo:""}),E?.()},S=()=>{m(E=>fn(E.map(L=>L===i?d:L)),d)},D=c.useCallback(E=>{g(E)},[g]),A=c.useCallback(E=>{t({year:E.year,month:E.month,day:E.day,hour:E.hour,minute:E.minute,memo:E.memo}),g(E)},[t,g]),N=c.useCallback(E=>{r(L=>L.filter(z=>z!==E)),b(L=>[E,...L]),s(null)},[r,s]),O=c.useCallback(E=>{r(L=>fn([...L,E]))},[r]),j=c.useCallback(E=>{r(L=>L.filter(z=>z!==E))},[r]),k=c.useCallback((E,L)=>{r(z=>z.map(te=>te===L?E:te)),s(z=>z===L?E:z)},[r,s]);return{scheduleList:o,noShowList:f,addSchedule:O,removeSchedule:j,revertScheduleEdit:k,scheduleForm:_,setScheduleForm:C,setSchedule:T,selectedSchedule:i,setSelectedSchedule:s,isEditingSchedule:l,setIsEditingSchedule:u,editScheduleForm:d,setEditScheduleForm:h,openScheduleDetail:p,handleScheduleSave:w,handleScheduleEditSave:S,handleScheduleDelete:D,handleScheduleToVisit:A,handleScheduleNoVisit:N}}const wl=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function Ph(t){const[e,a]=c.useState(""),[o,r]=c.useState("25"),[i,s]=c.useState("all"),[l,u]=c.useState(1),d=c.useMemo(()=>t.filter(({item:m,status:g})=>!(e&&!m.memo.includes(e)||i!=="all"&&g!==i)),[t,e,i]),h=Math.max(1,Math.ceil(d.length/Number(o))),p=c.useMemo(()=>{const m=Math.min(l,h);return d.slice((m-1)*Number(o),m*Number(o))},[d,l,o,h]);return{vapSearch:e,setVapSearch:a,vapPageSize:o,setVapPageSize:r,vapStatus:i,setVapStatus:s,vapPage:l,setVapPage:u,vapFiltered:d,vapTotal:h,vapPageItems:p}}function kl(t,e){const{t:a}=ge(),[o,r]=c.useState("25"),[i,s]=c.useState(1),[l,u]=c.useState(e);l!==e&&(u(e),i!==1&&s(1));const d=c.useMemo(()=>wl.map(g=>({...g,label:a("visits.showN",{n:g.value})})),[a]),h=c.useCallback(g=>{r(g),s(1)},[]),p=Math.max(1,Math.ceil(t.length/Number(o))),m=Math.min(i,p);return{pageRows:c.useMemo(()=>t.slice((m-1)*Number(o),m*Number(o)),[t,m,o]),pageSizeProps:{options:d,value:o,onChange:h},paginationProps:{page:m,total:p,onChange:s},setPage:s}}function Sl(){const[t,e]=c.useState(null),a=c.useCallback(r=>{e(i=>i?.key===r?{key:r,asc:!i.asc}:{key:r,asc:!0})},[]),o=c.useCallback((r,i)=>({label:r,sortDir:t?.key===i?t.asc?"asc":"desc":null,onClick:()=>a(i)}),[t,a]);return{\uC815\uB82C:t,\uCE78:o}}function Rh(){const[t,e]=c.useState(!1),[a,o]=c.useState("\uC88C"),[r,i]=c.useState({\uC88C:null,\uC6B0:null}),[s,l]=c.useState({\uC88C:[],\uC6B0:[]}),[u,d]=c.useState(!1),[h,p]=c.useState("\uC88C"),m=c.useCallback(f=>{const b=f.direction;i(y=>({...y,[b]:f})),l(y=>({...y,[b]:[f,...y[b]]})),e(!1)},[]),g=c.useCallback(f=>{const b=f.direction;i(y=>({...y,[b]:f})),d(!1)},[]);return{showDevice:t,setShowDevice:e,deviceDirection:a,setDeviceDirection:o,devices:r,setDevices:i,deviceHistory:s,setDeviceHistory:l,showDeviceList:u,setShowDeviceList:d,listForSide:h,setListForSide:p,handleDeviceSubmit:m,handleSelectFromList:g}}const Dt="\uC804\uCCB4";function To(){const[t,e]=c.useState(null),a=c.useCallback(i=>e(i.getBoundingClientRect()),[]),o=c.useCallback(()=>e(null),[]),r=c.useCallback(i=>{const s=i.getBoundingClientRect();e(l=>l?null:s)},[]);return{anchorRect:t,isOpen:t!=null,openAt:a,close:o,toggleAt:r}}function $h(t){const[e,a]=c.useState(null),[o,r]=c.useState(null),i=c.useRef(null);c.useEffect(()=>()=>{i.current&&clearTimeout(i.current)},[]);const s=c.useCallback((u,d)=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{a(u),r(d)},t)},[t]),l=c.useCallback(()=>{i.current&&clearTimeout(i.current),a(null),r(null)},[]);return{payload:e,anchorRect:o,openAfterDelay:s,close:l}}function No({title:t,items:e}){const{t:a}=ge(),{anchorRect:o,openAt:r,close:i}=To();return n.jsxs(n.Fragment,{children:[n.jsx(se,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:s=>r(s.currentTarget),onPointerLeave:i,onFocus:s=>r(s.currentTarget),onBlur:i}),o&&n.jsx(no,{title:t,items:e,showIndex:e.length>1,anchorRect:o,onClose:i})]})}function Al(){const{t}=ge();return c.useMemo(()=>({difficulty:t("wordSearch.filter.difficulty","\uB4F1\uAE09"),syllables:t("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:t("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:t("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:t("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[t("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[t("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[t("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[t("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[t("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[t("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[t("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[t])}function Tl(t,e,a){return{label:e.difficulty,items:[1,2,3,4].map(o=>t("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:a?.allLabel,labelAction:a?.labelAction}}function Nl(t){return{label:t.partOfSpeech,items:Object.keys(t.posMap),multiple:!0,allOption:!0}}function Bl(t){return{label:t.wordType,items:Object.keys(t.typeMap),multiple:!0,allOption:!0}}function Ih(t,e){return{label:e.syllables,items:[t("wordSearch.filter.syllable",{n:1}),t("wordSearch.filter.syllable",{n:2}),t("wordSearch.filter.syllable",{n:3}),t("wordSearch.filter.syllable",{n:4}),e.syllable5plus],multiple:!0,allOption:!0}}function Oh(t,e){const a=[t("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC")];return e?.includeStructure&&a.push(t("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:t("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:a,multiple:!0,labelAction:e?.labelAction}}function zh(t,e){const{label:a,headValue:o,midValue:r,tailValue:i,includeMid:s=!0,headDisabled:l,midDisabled:u,tailDisabled:d,allOptionDisabled:h,groupLabel:p,labelAction:m}=e;return{label:a,...p?{groupLabel:p}:{},...m?{labelAction:m}:{},allOption:!0,allLabel:t("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...h?{allOptionDisabled:h}:{},items:[{value:o,displayLabel:t("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:l},...s?[{value:r,displayLabel:t("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:u}]:[],{value:i,displayLabel:t("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:d}]}}function Fh(t,e,a){if(e===Dt){const{[a]:i,...s}=t;return s}const o=t[a]??[],r=o.includes(e)?o.filter(i=>i!==e):[...o,e];if(r.length===0){const{[a]:i,...s}=t;return s}return{...t,[a]:r}}Object.fromEntries(Object.entries(V4).map(([t,{nucleus:e}])=>[t,e]));const c3={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},d3={"\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)":["\uBA85","\uC218"],"\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)":["\uB3D9","\uD615"],"\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)":["\uBD80","\uAD00"]},u3={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:d3,typeMap:c3};function p3(t,e,a=u3){const o=e[a.difficulty];if(o?.length&&!o.some(l=>t.grade===l.replace(/\D/g,"")))return!1;const r=e[a.syllables];if(r?.length){const l=t.syllables??0;if(!r.some(u=>u===a.syllable5plus?l>=5:l===parseInt(u)))return!1}const i=e[a.partOfSpeech];if(i?.length&&!i.flatMap(l=>a.posMap[l]??[l]).some(l=>(t.pos??"").includes(l)))return!1;const s=e[a.wordType];return!(s?.length&&!s.some(l=>t.wordType===a.typeMap[l]))}const Ba=(t,e)=>e.map(a=>({jamos:[a],tooltip:t})),kt=(t,e)=>({jamos:[...t],tooltip:e}),El={cho:[Ba("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),Ba("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Ba("\uCE58\uC870\uC74C",["\u3145","\u3146"]),Ba("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),Ba("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),Ba("\uC131\uBB38\uC74C",["\u314E"])],jung:[[kt("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),kt("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),kt("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[kt("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[kt("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),kt("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[kt("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),kt("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),kt("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[kt("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),kt("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),kt("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[kt("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),kt("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[kt("\u314F","\uC800\uBAA8\uC74C"),kt("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),kt("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[Ba("\uC591\uC21C\uC74C",["\u3142","\u3141"]),Ba("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),Ba("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},h3=[...Ue],m3=[...pt],g3=vt.filter(t=>t!==""),fa=t=>t===na?[]:Array.from(t),na="__NO_CODA__",Wh=[1,2,3,4],ia=5,b3=12,Hh="SYL_",Dl=t=>`${Hh}${t}`,f3=t=>Number(t.slice(Hh.length));function vn(t){return t>=ia?Array.from({length:b3-ia+1},(e,a)=>ia+a):[t]}const Vh={cho:h3,jung:m3,jong:g3},Ll=t=>t.map(e=>e.map(({jamos:a,tooltip:o})=>({v:a.join(""),tooltip:o}))),jl={cho:Ll(El.cho),jung:Ll(El.jung),jong:Ll(El.jong)},Gh={};jl.jung.flat().forEach(({v:t})=>{for(const e of fa(t))Gh[e]=t});const v3=new Set(jl.cho.flat().map(t=>t.v));function Ml(t,e){return t==="cho"?v3.has(e)?e:null:t==="jung"?Gh[e]??e:Qr(e)}function Pl(t,e,a){if(t==="jung"){const o=fa(e);return a&&o.includes(a)?a:o[0]??e}return e}function Rl(t,e,a){const o=(r,i)=>i?r==="jong"&&i===na?na:e==="pron"?Ml(r,i):Pl(r,i,r==="jung"?a:null):null;return{...t,cho:o("cho",t.cho),jung:o("jung",t.jung),jong:o("jong",t.jong)}}const yn={cho:null,jung:null,jong:null,syllable:null},y3="wt_filter",qh=t=>`wt_filter_${t}`;function x3(t){try{const e=localStorage.getItem(qh(t))??localStorage.getItem(y3);if(e)return JSON.parse(e)}catch{}return null}function C3(t){const e=t;return e?.composition?{cho:e.composition.cho??null,jung:e.composition.jung??null,jong:e.composition.jong??null,syllable:e.composition.syllable??null}:e?.choseong?{...yn,cho:e.choseong}:yn}function Uh(t,e,a){const{t:o,i18n:r}=ge(),[i]=c.useState(()=>a?.resetOnMount?null:x3(t)),s=i?.contrastCount,l=typeof s=="number"&&Number.isFinite(s)?s:1,[u,d]=c.useState(Math.min(5,Math.max(1,l))),[h,p]=c.useState(i?.phonemeView==="pron"?"pron":i?.phonemeView==="direct"?"direct":"char"),[m,g]=c.useState(()=>C3(i)),f=c.useCallback(()=>e.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:na,syllable:e.fixedSyllable??null}:{cho:null,jung:null,jong:e.fixedNoCoda?na:null,syllable:e.fixedSyllable??null},[e.requireSyllable,e.fixedSyllable,e.fixedNoCoda]);c.useEffect(()=>{!e.requireSyllable&&e.fixedSyllable==null&&!e.fixedNoCoda||g(Z=>Z.cho||Z.jung||Z.syllable!=null||Z.jong?Z:f())},[]);const b=c.useMemo(()=>yt(m.cho)||yt(m.jung)||yt(m.jong)?"count":"random",[m.cho,m.jung,m.jong]),y=c.useRef(h==="char"?m.jung:null);c.useEffect(()=>{h==="char"&&(y.current=m.jung)},[h,m.jung]);const[v,x]=c.useState(a?.resetOnMount?!!a?.defaultImageOnly:i?.excludeNoImage??!0),[_,C]=c.useState(a?.resetOnMount?!1:i?.sameStructureOnly??!0),[T,w]=c.useState(Array.isArray(i?.gradeFilter)?i.gradeFilter:[]),[S,D]=c.useState(Array.isArray(i?.posFilter)?i.posFilter:[]),[A,N]=c.useState(Array.isArray(i?.wordTypeFilter)?i.wordTypeFilter:[]),O=c.useRef(a?.resetKey);c.useEffect(()=>{O.current!==a?.resetKey&&(O.current=a?.resetKey,g(f()),x(!1),C(!1),w([]),D([]),N([]),d(1))},[a?.resetKey]);const j=Al(),[k,E]=c.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[L,z]=c.useState(!1),[te,J]=c.useState(null),ae=1,M=Math.max(1,[m.cho,m.jung,m.jong].filter(Boolean).length);c.useEffect(()=>{u<M&&d(M)},[M,u]),c.useEffect(()=>{if(!a?.resetOnMount)try{localStorage.setItem(qh(t),JSON.stringify({contrastCount:u,composition:m,excludeNoImage:v,sameStructureOnly:_,phonemeView:h,gradeFilter:T,posFilter:S,wordTypeFilter:A}))}catch{}},[a?.resetOnMount,t,u,m,v,_,h,T,S,A]);const[R,$]=c.useState(0);br("wordpool:update",()=>$(Z=>Z+1));const F=c.useRef(r.language);c.useEffect(()=>{F.current!==r.language&&(F.current=r.language,$(Z=>Z+1))},[r.language]),c.useEffect(()=>{if(!e.choseong)return;let Z=!1;return M5({difficulty:b,excludeNoImage:v}).then(le=>{Z||(E(le),le.cho.size+le.jung.size+le.jong.size>0&&z(!0))}).catch(()=>{Z||E({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{Z=!0}},[e.choseong,b,v,R]),c.useEffect(()=>{let Z=!1;const le=m,G=le.cho?fa(le.cho):null,ce=le.jung?fa(le.jung):null,be=le.jong===na,De=be?null:le.jong?fa(le.jong):null,Ie=le.syllable!=null?vn(le.syllable):null,We=!!(G||ce||De||be||Ie);return j5({difficulty:e.difficulty?b:null,contrastCount:e.difficulty?u:1,composition:e.choseong&&We?{cho:G,jung:ce,jong:De,jongNone:be,syllable:Ie}:null,excludeNoImage:v,sameStructureOnly:_,phonemeView:h==="pron"?"pron":"char",grade:T.length>0?T:null}).then(He=>{Z||J(He)}).catch(()=>{Z||J(null)}),()=>{Z=!0}},[e.choseong,e.difficulty,b,u,m,h,v,_,R,T]),c.useEffect(()=>{L&&g(Z=>{const le={...Z};let G=!1;return["cho","jung","jong"].forEach(ce=>{const be=Z[ce];!be||be===na||fa(be).some(De=>k[ce].has(De))||(le[ce]=null,G=!0)}),Z.syllable!=null&&e.fixedSyllable==null&&(Z.syllable>=ia?[...k.syllable].some(ce=>ce>=ia)||(le.syllable=null,G=!0):(!k.syllable.has(Z.syllable)||Z.syllable<ae)&&(le.syllable=null,G=!0)),G?le:Z})},[k,L,ae,e.fixedSyllable]);const I=c.useMemo(()=>{const Z=le=>{const G=new Set;for(const ce of Vh[le])k[le].has(ce)&&G.add(ce);return G};return{cho:Z("cho"),jung:Z("jung"),jong:Z("jong")}},[k]),q=c.useMemo(()=>({exact:new Set(Wh.filter(Z=>k.syllable.has(Z))),min:[...k.syllable].some(Z=>Z>=ia)}),[k]),P=c.useMemo(()=>({diffPhonemeCount:o("training.contrast.diffPhonemeCount",{defaultValue:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218"}),composition:o("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:o("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:o("wordPairs.onset","\uCD08\uC131"),vowel:o("wordPairs.vowel","\uBAA8\uC74C"),coda:o("wordPairs.coda","\uC885\uC131"),phonemeGroup:o("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:o("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:o("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:o("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:o("training.filter.random","\uBB34\uC791\uC704"),exclude:o("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:o("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:o("common.none","\uC5C6\uC74C"),noImage:o("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:o("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:o("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:o("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:o("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:o("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}),[o]),H=c.useMemo(()=>({[P.trainOnset]:"cho",[P.trainVowel]:"jung",[P.trainCoda]:"jong"}),[P]),V=c.useCallback((Z,le)=>c.createElement(No,{title:le,items:Z}),[]),U=c.useMemo(()=>[o("training.filter.excludeImageInfo",{defaultValue:"\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."}),o("training.filter.sameStructureInfo",{defaultValue:"\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."})],[o]),ee=c.useMemo(()=>{const Z=[];if(e.choseong){const le={value:na,displayLabel:P.codaExclude},G=e.fixedNoCoda===!0,ce=(be,De)=>{const Ie=G&&be==="jong",We={label:De,groupLabel:P.phonemeGroup,allOption:!e.requireSyllable,allLabel:P.noLimit,allOptionDisabled:Ie};if(h==="pron"){const $e=jl[be].map(rt=>rt.map(({v:Oe,tooltip:Ge})=>{const Fe=fa(Oe),fe=Ie||!Fe.some(nt=>k[be].has(nt));return Fe.length>1?{value:Oe,labels:Fe,tooltip:Ge,disabled:fe}:{value:Oe,tooltip:Ge,disabled:fe}}));return be==="jong"&&!e.requireCoda&&$e.unshift([le]),{...We,groups:$e}}const He=Vh[be].map($e=>!Ie&&I[be].has($e)?$e:{value:$e,disabled:!0});return{...We,items:be==="jong"&&!e.requireCoda?[le,...He]:He}};Z.push(ce("cho",P.trainOnset)),Z.push(ce("jung",P.trainVowel)),Z.push(ce("jong",P.trainCoda))}if(Z.push({...Tl(o,j,{labelAction:V([o("wordPairs.filter.difficultyInfo",{defaultValue:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4."})])}),label:P.gradeLabel}),e.partOfSpeech&&Z.push(Nl(j)),e.wordType&&Z.push(Bl(j)),e.choseong||e.fixedSyllable!=null){const le=e.fixedSyllable;Z.push({label:P.syllableCount,items:[...Wh.map(G=>({value:Dl(G),displayLabel:o("wordPairs.syllableN",{n:G,defaultValue:"{{n}}\uC74C\uC808"}),disabled:le!=null?G!==le:!q.exact.has(G)||G<ae})),{value:Dl(ia),displayLabel:o("wordPairs.syllableNPlus",{n:ia,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:le!=null?ia!==le:!q.min}],allOption:!0,allOptionDisabled:le!=null})}return e.choseong?Z.push({label:P.exclude,displayLabel:P.selectLabel,multiple:!0,items:[P.excludeImage,P.sameStructure],labelAction:V(U)}):Z.push({label:P.exclude,displayLabel:P.selectLabel,multiple:!0,items:[P.excludeImage],labelAction:V([U[0]])}),Z},[e.choseong,e.partOfSpeech,e.wordType,e.requireSyllable,e.fixedSyllable,e.fixedNoCoda,e.requireCoda,ae,I,k,h,q,P,o,V,U,j]),pe={...e.difficulty?{[P.diffPhonemeCount]:String(u)}:{},...(e.choseong||e.fixedSyllable!=null)&&m.syllable!=null?{[P.syllableCount]:Dl(m.syllable)}:{},...e.choseong&&m.cho?{[P.trainOnset]:m.cho}:{},...e.choseong&&m.jung?{[P.trainVowel]:m.jung}:{},...e.choseong&&m.jong?{[P.trainCoda]:m.jong}:{},[P.exclude]:[...v?[P.excludeImage]:[],..._?[P.sameStructure]:[]],[P.gradeLabel]:T.map(Z=>o("wordSearch.filter.grade",{n:Number(Z),defaultValue:"{{n}}\uB4F1\uAE09"})),...e.partOfSpeech?{[j.partOfSpeech]:S}:{},...e.wordType?{[j.wordType]:A}:{}},he=c.useCallback((Z,le)=>{if(le===P.diffPhonemeCount){const G=Number(Z);G>=1&&d(G)}else if(le===P.exclude)Z===P.excludeImage?x(G=>!G):Z===P.sameStructure&&C(G=>!G);else if(le===P.syllableCount)g(G=>{if(!Z||Z===Dt)return{...G,syllable:null};const ce=f3(Z);return{...G,syllable:G.syllable===ce?null:ce}});else if(le===P.gradeLabel){if(!Z||Z===Dt){w([]);return}const G=Z.replace(/\D/g,"");w(ce=>ce.includes(G)?ce.filter(be=>be!==G):[...ce,G])}else if(le===j.partOfSpeech){if(!Z||Z===Dt){D([]);return}D(G=>G.includes(Z)?G.filter(ce=>ce!==Z):[...G,Z])}else if(le===j.wordType){if(!Z||Z===Dt){N([]);return}N(G=>G.includes(Z)?G.filter(ce=>ce!==Z):[...G,Z])}else{const G=H[le];if(!G)return;g(ce=>e.requireSyllable?Z&&Z!==Dt?{...ce,[G]:Z}:ce:!Z||Z===Dt||ce[G]===Z?{...ce,[G]:null}:{...ce,[G]:Z})}},[P,H,j,e.requireSyllable]),oe=c.useCallback(Z=>!e.partOfSpeech&&!e.wordType?!0:p3(Z,{...e.partOfSpeech?{[j.partOfSpeech]:S}:{},...e.wordType?{[j.wordType]:A}:{}},j),[e.partOfSpeech,e.wordType,S,A,j]),X=c.useCallback(Z=>{Z!==h&&(Z!=="direct"&&h!=="direct"&&g(le=>Rl(le,Z,y.current)),p(Z))},[h]),de=c.useCallback(()=>({composition:m,contrastCount:u,excludeNoImage:v,sameStructureOnly:_,phonemeView:h,gradeFilter:T}),[m,u,v,_,h,T]),Ce=c.useCallback(Z=>{g(Z.composition),d(Z.contrastCount),x(Z.excludeNoImage),C(Z.sameStructureOnly??!0),p(Z.phonemeView),w(Array.isArray(Z.gradeFilter)?Z.gradeFilter:[])},[]);return{difficulty:b,contrastCount:u,composition:m,choseong:m.cho,excludeNoImage:v,sameStructureOnly:_,gradeFilter:T,posFilter:S,wordTypeFilter:A,matchesWordAttributes:oe,poolVersion:R,filterSections:ee,filterSelected:pe,handleFilterSelect:he,phonemeView:h,setPhonemeView:X,phonemeGroupLabel:P.phonemeGroup,wordCount:te,getFilterSnapshot:de,restoreFilterSnapshot:Ce}}function _3(t){const e=l=>l?fa(l):null,a=e(t.cho),o=e(t.jung),r=t.jong===na,i=r?null:e(t.jong),s=t.syllable!=null?vn(t.syllable):null;return!a&&!o&&!i&&!r&&!s?null:{cho:a,jung:o,jong:i,jongNone:r,syllable:s}}function Yh(t,e,a,o,r,i,s=!0,l="char",u=[]){const[d,h]=c.useState({}),[p,m]=c.useState(!1),{cho:g=null,jung:f=null,jong:b=null,syllable:y=null}=o??{};return c.useEffect(()=>{i>0&&L5(r).catch(()=>{})},[i,r]),c.useEffect(()=>{let v=!1;return m(!0),(async()=>{const x=_3({cho:g,jung:f,jong:b,syllable:y}),_=u.length>0?u.slice().sort().join(","):"",C=`${g??""}_${f??""}_${b??""}_${y??""}_${_}`,T={};await Promise.all(t.map(async w=>{const S=Co[w.key];try{const D=await ch(w.key,{difficulty:S.difficulty?e:null,contrastCount:S.difficulty?a:1,composition:S.choseong?x:null,count:5,excludeNoImage:r,sameStructureOnly:s,phonemeView:l,grade:u.length>0?u:null});D&&D.length>0?T[w.key]={id:`wt-${w.key}-${e}-${C}-${Date.now()}`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:D,itemCount:D.length}:T[w.key]={id:`wt-${w.key}-empty`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:[],itemCount:0,__empty:!0}}catch{T[w.key]=null}})),v||(h(T),m(!1))})(),()=>{v=!0}},[e,a,g,f,b,y,r,s,l,i,u]),{perTypeData:d,generating:p}}function w3(t){let e=2166136261;for(let a=0;a<t.length;a++)e^=t.charCodeAt(a),e=Math.imul(e,16777619);return e>>>0}function k3(t){let e=t>>>0;return()=>{e|=0,e=e+1831565813|0;let a=Math.imul(e^e>>>15,1|e);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}const xn=ea;function $l(t,e){const a=e?k3(w3(e)):Math.random;return{LISTEN_IN_NOISE:xn(Oa,Math.max(0,t.LISTEN_IN_NOISE||0),a),SHORT_STORY:xn(za,Math.max(0,t.SHORT_STORY||0),a),LONG_STORY:xn(Fa,Math.max(0,t.LONG_STORY||0),a),ORDERING_SENTENCE:xn(Wa,Math.max(0,t.ORDERING_SENTENCE||0),a)}}function Kh(t){return t?!!(t.LISTEN_IN_NOISE?.length||t.SHORT_STORY?.length||t.LONG_STORY?.length||t.ORDERING_SENTENCE?.length):!1}const S3={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function Zh(t=!1,e=S3,a){const o=Aa(Date.now()),r=Aa(Date.now()-864e5),i=`${a??""}|${o}`,s=`${a??""}|${r}`;return Oa.length>0||za.length>0||Fa.length>0||Wa.length>0?{today:$l(e,i),yesterday:$l(e,s)}:{today:$l(e,i),yesterday:null}}function Xh(t){const e=c.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),a=c.useRef(null),[o,r]=c.useState(!1),[i,s]=c.useState(!1);c.useEffect(()=>{let u=!1,d,h=0;const p=40,m=()=>{d!==void 0&&(clearInterval(d),d=void 0)};let g=!1;try{const y=new URLSearchParams(window.location.search),v=y.get("forceRefresh")||y.get("force");g=v==="1"||v==="true"}catch{}const f=y=>{e.current=y.today,a.current=y.yesterday,r(!0),u=!0,m()},b=async()=>{if(u)return;if(!g){const v=Zh(!1,void 0,t);if(Kh(v.today)){f(v);return}}try{await $s(3e3)}catch{}if(u)return;const y=Zh(g,void 0,t);if(Kh(y.today)){f(y);return}++h>=p&&(r(!0),u=!0,m())};return b(),d=setInterval(b,250),()=>{u=!0,m()}},[t]);const l=c.useCallback(u=>{const d=i?a.current:e.current,h=i?e.current:a.current;return d?.[u]?.length?d[u]:h?.[u]?.length?h[u]:void 0},[i]);return{loaded:o,showYesterday:i,setShowYesterday:s,getTrainingPerType:l}}const Bo=[];let Cn=!1;function Jh(t){if(t.key!=="Escape"||t.defaultPrevented)return;const e=Bo[Bo.length-1];e&&(t.stopPropagation(),e())}function Il(t){return Bo.push(t),!Cn&&typeof document<"u"&&(document.addEventListener("keydown",Jh),Cn=!0),()=>{const e=Bo.lastIndexOf(t);e>=0&&Bo.splice(e,1),Bo.length===0&&Cn&&typeof document<"u"&&(document.removeEventListener("keydown",Jh),Cn=!1)}}function Qh(t,e=!0){const a=kh(t);c.useEffect(()=>{if(e)return Il(()=>{a.current?.()})},[e,a])}const _n=(t,e)=>`${t}:${e??1}`,Ol=new Map;function em(t,e){const[a,o]=c.useState(0),r=t.map(i=>_n(i.word,i.homonum)).join("|");return c.useEffect(()=>{const i=(r?r.split("|"):[]).filter(u=>!Ol.has(u));if(i.length===0)return;let s=!1;const l=Array.from(new Set(i.map(u=>u.slice(0,u.lastIndexOf(":")))));return e(l).then(u=>{if(!(s||u.length===0)){for(const d of u)d.Meaning&&Ol.set(_n(d.Word,d.Homonum??void 0),d.Meaning);o(d=>d+1)}}),()=>{s=!0}},[r,e]),c.useMemo(()=>{const i=r?r.split("|"):[],s=new Map;for(const l of i){const u=Ol.get(l);u!=null&&s.set(l,u)}return s},[r,a])}function tm(t,e,a){const o=Number.isFinite(e)&&e>=1?Math.floor(e):1,r=Math.max(1,Math.ceil(t.length/o)),i=Number.isFinite(a)?Math.min(Math.max(1,Math.floor(a)),r):1;return{pageItems:c.useMemo(()=>t.slice((i-1)*o,i*o),[t,i,o]),totalPages:r,curPage:i}}function wn(t="warning"){const[e,a]=c.useState(""),[o,r]=c.useState(t),[i,s]=c.useState(0),l=c.useCallback((p,m)=>{r(m),a(p),s(g=>g+1)},[]),u=c.useCallback(p=>l(p,"warning"),[l]),d=c.useCallback(p=>l(p,"normal"),[l]),h=c.useCallback(()=>a(""),[]);return{toastMessage:e,toastType:o,toastKey:i,showToast:l,showWarning:u,showNormal:d,clearToast:h}}const fr={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},vr=fr.blue,kn=fr.green,yr=fr.amber,Sn=fr.purple,A3=fr.pink,T3=[{key:"discrimination",label:"\uBCC0\uBCC4\uD6C8\uB828",disc:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0, \uB610\uB294 \uD2B9\uC815 \uC18C\uB9AC\uB97C \uAD6C\uBCC4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"ear",types:[{key:"SAME_SOUND_PICK",label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",icon:"volume-2",color:vr,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"SAME_OR_DIFF",label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",icon:"diff",color:vr,subTitle:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},{key:"HEAR_AND_PICK_SAME",label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"headphones",color:vr,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"HEAR_AND_PICK_INCLUDED",label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"scan-search",color:vr,subTitle:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"STARTS_WITH_SAME_SOUND",label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"play-circle",color:vr,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:kn,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:kn,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:kn,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:kn,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:yr,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_1_FROM_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"minus-circle",color:yr,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_PART_FROM_COMPOUND",label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84\uD0C8\uB77D",icon:"unlink",color:yr,subTitle:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_FINAL_CONSONANT_FROM_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",icon:"eraser",color:yr,subTitle:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"REMOVE_CONSONANT_AND_IDENTIFY_PHONEME",label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",icon:"audio-lines",color:yr,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:Sn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:Sn,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:Sn,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:Sn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:A3,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function am(){const{t}=ge();return c.useMemo(()=>{const e=Object.fromEntries(l5(t).map(o=>[o.key,o.label])),a={...e};return T3.flatMap(o=>o.types).forEach(o=>{a[o.key]=t(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:e,all:a}},[t])}var N3=Object.freeze({__proto__:null,CACHE_GROUPS:Cl,DocumentTitleSuppressContext:yl,EMPTY_COMPOSITION:yn,MediaQueryOverrideContext:bn,NO_CODA:na,SYLLABLE_MIN:ia,VAP_PAGE_SIZE_OPTIONS:wl,buildGradeSection:Tl,buildPartOfSpeechSection:Nl,buildPositionSection:zh,buildSelectSection:Oh,buildSyllableSection:Ih,buildWordTypeSection:Bl,charToPronValue:Ml,convertComposition:Rl,fmtBytes:Nh,lsBytes:_l,meaningKey:_n,pronToCharValue:Pl,syllableToFilter:vn,today:Ao,toggleAttributeFilter:Fh,useCacheManagement:Bh,useDailyTrainingSelection:Xh,useDelayedHoverAnchor:$h,useDeviceManagement:Rh,useDocumentTitle:xl,useEscToClose:Qh,useFontScale:gn,useHoverAnchor:To,useMediaQuery:ra,usePagedList:tm,usePasswordChange:Th,useRelativeDay:Ah,useTablePaging:kl,useTableSort:Sl,useToastState:wn,useTrainingTypeLabels:am,useVisitAllPanel:Ph,useVisitHistory:Lh,useVisitSchedule:Mh,useWindowEvent:br,useWordAttributeFilterKeys:Al,useWordDataStats:Eh,useWordMeanings:em,useWordTrainingDataGeneration:Yh,useWordTrainingFilter:Uh,valueToJamos:fa}),B3=".ihabdevteam-core-scope .promo-banner{align-items:center;border-radius:var(--radius-s);box-sizing:border-box;display:flex;gap:var(--spacing-m);justify-content:space-between;overflow:hidden;position:relative;text-align:left}.ihabdevteam-core-scope .promo-banner--medium{min-height:120px;padding:20px 24px}.ihabdevteam-core-scope .promo-banner--small{padding:14px 16px}.ihabdevteam-core-scope .promo-banner__title{color:inherit;color:var(--promo-banner-bg-title,inherit)}.ihabdevteam-core-scope .promo-banner__description{color:inherit;color:var(--promo-banner-bg-description,inherit)}.ihabdevteam-core-scope .promo-banner__text{display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;z-index:1}.ihabdevteam-core-scope .promo-banner__description{margin-left:2px;margin-top:1px}.ihabdevteam-core-scope .promo-banner>.button{flex-shrink:0;position:relative;z-index:1}";Q(B3);function om({title:t,description:e,actionLabel:a,onAction:o,bg:r,color:i,size:s="medium",actionVariant:l,titleColor:u,descriptionColor:d,className:h=""}){const p=r??i??"main",m=c.useRef(null),[g,f]=c.useState("main"),b=ra("(max-width: 767px)");c.useLayoutEffect(()=>{const x=m.current;x&&(u!==void 0&&x.style.setProperty("--promo-banner-bg-title",u),d!==void 0&&x.style.setProperty("--promo-banner-bg-description",d))},[u,d]),c.useLayoutEffect(()=>{const x=m.current;if(!x)return;const _=Ws(x);f(_?.actionVariant??"main")},[p]);const y=_e("promo-banner",`promo-banner--${s}`,h),v=fl[p];return n.jsxs("div",{ref:m,className:y,role:"note",children:[n.jsx(v,{}),n.jsxs("div",{className:"promo-banner__text",children:[n.jsx("span",{className:`promo-banner__title ${s==="small"?"body-2":"h2"}`,children:t}),e&&n.jsx("span",{className:"promo-banner__description body-3",children:e})]}),a&&o&&n.jsx(se,{size:40,variant:l??g,shape:"pill",useBorder:!0,onClick:o,ariaLabel:a,...b?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}var E3='.ihabdevteam-core-scope .top-banner{--top-banner-min-h:120px;display:flex;flex-direction:column;padding-bottom:var(--spacing-page);position:relative}.ihabdevteam-core-scope .top-banner__viewport{border-radius:var(--radius-m);min-height:var(--top-banner-min-h);overflow:hidden}.ihabdevteam-core-scope .top-banner__track{align-items:stretch;display:flex;min-height:var(--top-banner-min-h);transition:transform .4s ease}.ihabdevteam-core-scope .top-banner__slide{flex:0 0 100%;min-width:0}.ihabdevteam-core-scope .top-banner__slide>*{box-sizing:border-box;min-height:100%;width:100%}.ihabdevteam-core-scope .top-banner__dots{bottom:calc(var(--spacing-page) + 12px);display:flex;gap:6px;left:50%;position:absolute;transform:translateX(-50%)}.ihabdevteam-core-scope .top-banner__dot{background:var(--color-white-a30);border:none;border-radius:3px;cursor:pointer;height:6px;padding:0;position:relative;transition:width .25s ease,background-color .25s ease;width:6px}.ihabdevteam-core-scope .top-banner__dot:after{content:"";height:24px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:calc(100% + 6px)}.ihabdevteam-core-scope .top-banner__dot--active{background:var(--color-white);width:18px}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot{background:var(--color-lightGray-a80)}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot--active{background:var(--color-main)}';Q(E3);function rm({children:t,interval:e=5e3,dotTone:a,className:o="","aria-label":r}){const{t:i}=ge(),s=r??i("topBanner.ariaLabel","\uBC30\uB108"),l=c.Children.toArray(t),u=l.length,[d,h]=c.useState(0),[p,m]=c.useState(!1),g=u>0?d%u:0;return c.useEffect(()=>{if(u<2||e<=0||p)return;const f=window.setInterval(()=>h(b=>(b+1)%u),e);return()=>window.clearInterval(f)},[u,e,p]),u===0?null:n.jsxs("section",{className:_e("top-banner",o),"aria-label":s,"aria-roledescription":"carousel",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>m(!0),onBlur:()=>m(!1),children:[n.jsx("div",{className:"top-banner__viewport",children:n.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${g*100}%)`},children:l.map((f,b)=>n.jsx("div",{className:"top-banner__slide","aria-hidden":b!==g,...b!==g?{inert:!0}:{},children:f},b))})}),u>1&&n.jsx("div",{className:`top-banner__dots${(a?.[g]??"light")==="dark"?" top-banner__dots--dark":""}`,children:l.map((f,b)=>n.jsx("button",{type:"button",className:`top-banner__dot${b===g?" top-banner__dot--active":""}`,"aria-label":i("topBanner.dotAriaLabel",{count:u,index:b+1,defaultValue:`${u}\uAC1C \uC911 ${b+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":b===g,onClick:()=>h(b)},b))})]})}var D3=".ihabdevteam-core-scope .accordion-item{background:transparent;border-radius:var(--radius-m)}.ihabdevteam-core-scope .accordion-item__header{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;cursor:pointer;display:flex;gap:var(--spacing-s);min-height:56px;outline:none;padding:0 20px;transition:background-color .2s ease,border-color .2s ease}.ihabdevteam-core-scope .accordion-item__header:hover{background:var(--color-deepWhite);border-color:var(--color-main)}.ihabdevteam-core-scope .accordion-item__header:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .accordion-item__avatar{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__title{flex:1;text-align:left}.ihabdevteam-core-scope .accordion-item__chevron{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__chevron-icon{align-items:center;color:var(--color-lightGray);display:inline-flex}.ihabdevteam-core-scope .accordion-item__chevron-image{height:18px;opacity:.7;transition:transform .18s ease;width:18px}.ihabdevteam-core-scope .accordion-item.accordion-item--open{background:var(--color-main-a10);border-radius:var(--radius-m);overflow:hidden}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__header{background:var(--color-white);border:1px solid var(--color-main)}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__chevron-image{transform:rotate(180deg)}.ihabdevteam-core-scope .accordion-item__body p{margin:0}.ihabdevteam-core-scope .accordion-item__body{background:transparent;box-sizing:border-box;color:var(--color-darkGray);max-width:100%;overflow-wrap:break-word;padding:40px 32px;text-align:left;word-break:break-word}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{min-height:48px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{min-height:56px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{min-height:72px}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{border-radius:12px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{border-radius:14px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{border-radius:18px}.ihabdevteam-core-scope .accordion-group,.ihabdevteam-core-scope .accordion-group>.accordion-item{box-sizing:border-box;display:block;width:100%}.ihabdevteam-core-scope .accordion-group>.accordion-item+.accordion-item{margin-top:var(--spacing-s)}";Q(D3);function L3({title:t,body:e,open:a=!1,onToggle:o,avatar:r,titleClassName:i="body-2",bodyClassName:s="body-2",className:l=""}){const{t:u}=ge();return n.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${l}`.trim(),children:[n.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:o,onKeyDown:d=>{if(d.key==="Enter"||d.key===" ")d.preventDefault(),o?.();else if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault();const h=d.currentTarget.closest('[role="list"]');if(!h)return;const p=Array.from(h.querySelectorAll("[data-accordion-header]")),m=p.indexOf(d.currentTarget);(d.key==="ArrowDown"?p[m+1]:p[m-1])?.focus()}},children:[r&&n.jsx("div",{className:"accordion-item__avatar",children:r}),n.jsx("div",{className:`accordion-item__title ${i}`,children:t}),n.jsx("div",{className:"accordion-item__chevron",children:n.jsx(Re,{icon:a?"chevron-up":"chevron-down",label:a?u("accordion.collapse","\uC811\uAE30"):u("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&n.jsx("div",{className:`accordion-item__body ${s}`,children:typeof e=="string"?n.jsx("p",{children:e}):e})]})}function nm({items:t=[],defaultOpenIndex:e=0,size:a=72,className:o="",bodyClassName:r}){const[i,s]=c.useState(e);return n.jsx("div",{className:`accordion-group accordion-group--s${a} ${o}`.trim(),role:"list",children:t.map((l,u)=>n.jsx(L3,{title:l.title,body:l.body,avatar:l.avatar,open:u===i,onToggle:()=>s(u===i?-1:u),bodyClassName:r},u))})}var j3=".ihabdevteam-core-scope .bottom-nav{align-items:flex-start;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:none;height:calc(72px + env(safe-area-inset-bottom));left:0;padding:8px calc(10px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(10px + env(safe-area-inset-left));position:fixed;right:0;z-index:var(--z-nav)}.ihabdevteam-core-scope .bottom-nav__left{align-items:center;display:flex;flex-shrink:0}.ihabdevteam-core-scope .bottom-nav__divider{align-self:flex-start;background:var(--color-whiteLine);border-radius:1px;flex-shrink:0;height:24px;margin:14px 0 0;width:1px}.ihabdevteam-core-scope .bottom-nav__items{align-items:center;display:flex;flex:1;gap:10px;justify-content:center;overflow:hidden}.ihabdevteam-core-scope .bottom-nav__right{align-items:center;display:flex;flex-shrink:0}@media (max-width:767px){.ihabdevteam-core-scope .bottom-nav{display:flex}}@media (min-width:768px){.ihabdevteam-core-scope .bottom-nav{display:none}}.ihabdevteam-core-scope .bottom-nav-item{align-items:center;background:transparent!important;border:none!important;border-radius:10px!important;color:var(--color-lightGray);cursor:pointer;display:flex!important;flex-direction:column;height:52px!important;justify-content:center;padding:0!important;transition:background .16s ease,color .16s ease!important;width:52px!important}.ihabdevteam-core-scope .bottom-nav-item:hover:not(.is-selected){background:var(--color-darkWhite)!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected{animation:bottom-nav-active-bg .36s cubic-bezier(.4,0,.2,1) forwards;background-color:var(--color-sub)!important;box-shadow:0 6px 12px rgba(12,24,36,.06);color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected *{color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .bottom-nav-item:disabled,.ihabdevteam-core-scope .bottom-nav-item[disabled]{opacity:.6;pointer-events:none}@keyframes bottom-nav-active-bg{0%{background-color:var(--color-sub)}to{background-color:var(--color-main)}}";Q(j3);var M3=".ihabdevteam-core-scope .badge{align-items:center;background:var(--badge-color,var(--color-main));border-radius:999px;box-shadow:none;box-shadow:var(--badge-shadow,none);color:#fff;color:var(--badge-on-color,#fff);display:inline-flex;gap:6px;justify-content:center;line-height:1;vertical-align:middle;white-space:nowrap}.ihabdevteam-core-scope .badge--small{font-size:12px;height:20px;padding:0 10px}.ihabdevteam-core-scope .badge--medium{font-size:14px;height:28px;padding:0 14px}.ihabdevteam-core-scope .badge--large{font-size:16px;height:32px;padding:0 18px}.ihabdevteam-core-scope .badge__icon{align-items:center;display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .badge--default{--badge-color:var(--color-lightGray);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--main{--badge-color:var(--color-main);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--sub{--badge-color:var(--color-sub);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--danger{--badge-color:var(--color-error);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--disabled{--badge-color:var(--color-disabled);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--like{--badge-color:var(--color-like);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--success{--badge-color:var(--color-success);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--warning{--badge-color:var(--color-warn);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--critical{--badge-color:#7c3aed;--badge-on-color:#fff}.ihabdevteam-core-scope .badge--outline{background:transparent;border:1px solid var(--badge-color);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .badge--soft{background:color-mix(in srgb,var(--badge-color) 10%,transparent);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .circle-badge{align-items:center;border:2px solid var(--color-pureWhite);border-radius:50%;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-weight:700;justify-content:center;line-height:1;pointer-events:none;position:absolute;transition:background .12s,transform .12s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}@keyframes circle-badge-pop{0%{opacity:0;transform:scale(.3)}60%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}.ihabdevteam-core-scope .circle-badge--animate{animation:circle-badge-pop .24s cubic-bezier(.34,1.56,.64,1)}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .circle-badge--animate{animation:none}}.ihabdevteam-core-scope .circle-badge--clickable{cursor:pointer;pointer-events:auto}.ihabdevteam-core-scope .circle-badge--clickable:hover{transform:scale(1.12)}.ihabdevteam-core-scope .circle-badge--top-right{right:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--top-left{left:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--inline{border:none;position:static}.ihabdevteam-core-scope .circle-badge--24{border-width:1px;font-size:11px;height:24px;width:24px}.ihabdevteam-core-scope .circle-badge--32{border-width:2px;font-size:14px;height:32px;width:32px}.ihabdevteam-core-scope .circle-badge--40{border-width:2px;font-size:16px;height:40px;width:40px}.ihabdevteam-core-scope .circle-badge--check,.ihabdevteam-core-scope .circle-badge--number{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .circle-badge--remove{background:var(--color-error);color:#fff}.ihabdevteam-core-scope .circle-badge--minus{background:var(--color-lightGray);color:#fff}.ihabdevteam-core-scope .circle-badge--24 svg{height:11px;width:11px}.ihabdevteam-core-scope .circle-badge--32 svg{height:15px;width:15px}.ihabdevteam-core-scope .circle-badge--40 svg{height:19px;width:19px}";Q(M3);function P3(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:n.jsx("polyline",{points:"2,6 5,9 10,3"})})}function R3(){return n.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[n.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),n.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function $3(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:n.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function gt(t){const{type:e="bar",size:a,className:o="","aria-label":r}=t;if(e==="dot"){const{icon:_,number:C,position:T="top-right",onClick:w,animate:S=!1}=t,D=C!==void 0?"number":_??"check",A=typeof a=="number"?a:32,N=_e("circle-badge",`circle-badge--${D}`,`circle-badge--${T}`,`circle-badge--${A}`,S?"circle-badge--animate":"",w?"circle-badge--clickable":"",o),O=C!==void 0?`${C}\uBC88\uC9F8 \uC120\uD0DD`:{check:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",minus:"\uC81C\uC678"}[_??"check"];return n.jsxs("span",{className:N,onClick:w,onKeyDown:w?j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),j.currentTarget.click())}:void 0,"aria-label":r??O,role:w?"button":void 0,tabIndex:w?0:void 0,children:[C!==void 0&&C,C===void 0&&_==="check"&&n.jsx(P3,{}),C===void 0&&_==="remove"&&n.jsx(R3,{}),C===void 0&&_==="minus"&&n.jsx($3,{})]})}const{label:i,children:s,variant:l="default",fill:u="filled",minWidth:d,iconLeft:h,iconRight:p,color:m}=t,g=typeof a=="number"?"medium":a??"medium",f={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",b={small:12,medium:14,large:16}[g]??14,y=_e("badge",`badge--${l}`,`badge--${g}`,u!=="filled"?`badge--${u}`:"",f,o),v=m?.startsWith("--")?`var(${m})`:m,x=d!==void 0||v?{...d!==void 0?{minWidth:typeof d=="number"?`${d}px`:d}:{},...v?{"--badge-color":v}:{}}:void 0;return n.jsxs("span",{className:y,style:x,children:[h&&n.jsx(Re,{icon:h,size:b,className:"badge__icon"}),i??s,p&&n.jsx(Re,{icon:p,size:b,className:"badge__icon"})]})}var I3=".ihabdevteam-core-scope .tooltip-menu{display:flex;flex-direction:column;gap:var(--spacing-xs);min-width:160px;padding:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu__header{align-items:center;border-bottom:1px solid var(--color-darkWhite);display:flex;gap:var(--spacing-xs);height:52px;padding:8px 12px}.ihabdevteam-core-scope .tooltip-menu__title{font-weight:600}.ihabdevteam-core-scope .tooltip-menu__columns{display:flex;gap:var(--spacing-s);padding:4px}.ihabdevteam-core-scope .tooltip-menu__column{display:flex;flex:1;flex-direction:column;gap:var(--spacing-xs);min-width:0}.ihabdevteam-core-scope .tooltip-menu__column-title{color:var(--color-lightGray);margin-bottom:4px}.ihabdevteam-core-scope .tooltip-menu__items{display:flex;flex-direction:column;gap:var(--spacing-l)}.ihabdevteam-core-scope .tooltip-menu--small{gap:2px;min-width:140px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__items{gap:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__columns{gap:var(--spacing-xs);padding:2px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__header{height:44px;padding:6px 10px}.ihabdevteam-core-scope .tooltip-menu__item{width:100%}.ihabdevteam-core-scope .tooltip-menu__item-icon{align-items:center;display:inline-flex;height:24px;justify-content:center;width:24px}.ihabdevteam-core-scope .tooltip-menu__label{flex:1}.ihabdevteam-core-scope .tooltip-menu__chev{align-items:center;display:inline-flex;justify-content:center;width:20px}@media (max-width:600px){.ihabdevteam-core-scope .tooltip-menu__columns{flex-direction:column}}";Q(I3);function xr({columns:t=[],onClose:e,className:a="",size:o="medium"}){const{t:r}=ge(),i=o==="small"?40:48,[s,l]=c.useState([{title:null,columns:t}]),u=s[s.length-1];c.useEffect(()=>{l(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:t}];const b=f.slice(),y=b[0]&&typeof b[0].title<"u"?b[0].title:null;return b[0]={title:y,columns:t},b}catch{return[{title:null,columns:t}]}})},[t]);const d=c.useCallback(()=>l(f=>f.length>1?f.slice(0,f.length-1):f),[]),h=c.useRef(null),p=c.useRef(null),m=s.length;c.useEffect(()=>{p.current||(p.current=document.activeElement);let f=0,b=0;const y=()=>{const v=h.current?.querySelector("button:not([disabled])");if(v&&v.offsetParent){v.focus({preventScroll:!0});return}b++<20&&(f=requestAnimationFrame(y))};return f=requestAnimationFrame(y),()=>cancelAnimationFrame(f)},[m]),c.useEffect(()=>()=>{p.current?.focus?.({preventScroll:!0})},[]);const g=c.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){l(b=>[...b,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof e=="function"&&e()}catch{}}},[e]);return n.jsxs("div",{className:`tooltip-menu tooltip-menu--${o} ${a}`,children:[(s.length>1||u.title)&&n.jsxs("div",{className:"tooltip-menu__header",children:[s.length>1?n.jsx(se,{size:i,type:"dot",icon:"chevron-left",ariaLabel:r("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,n.jsx("div",{className:"tooltip-menu__title button-1",children:u.title})]}),n.jsx("div",{className:"tooltip-menu__columns",ref:h,children:u.columns&&u.columns.map((f,b)=>n.jsxs("div",{className:"tooltip-menu__column",children:[f.title?n.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,n.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((y,v)=>n.jsx(se,{className:"tooltip-menu__item",size:i,type:y.label?"bar":"dot",icon:y.selected?"check":y.icon||"none",rightIcon:Array.isArray(y.children)&&y.children.length?"chevron-right":y.badgeCount?n.jsx(gt,{type:"dot",position:"inline",number:Math.min(y.badgeCount,99),size:24,"aria-label":`${y.badgeCount}`}):void 0,label:y.label,ariaLabel:y.label,onClick:()=>g(y),selected:y.selected,disabled:y.disabled,showTooltipInfo:y.tooltip||!1,useBorder:!1,align:"left"},v))})]},b))})]})}function Eo({computeStyle:t,onScroll:e="close",onResize:a="close",ignoreOutsideClickSelector:o}){const[r,i]=c.useState(!1),[s,l]=c.useState({}),u=c.useRef(null),d=c.useRef(null),h=c.useCallback(()=>{u.current&&l(t(u.current.getBoundingClientRect()))},[t]);c.useEffect(()=>{if(!r)return;h();const g=v=>{const x=v.target;o&&x.closest?.(o)||u.current?.contains(x)||d.current?.contains(x)||i(!1)};document.addEventListener("mousedown",g);const f=v=>{d.current?.contains(v.target)||(e==="reposition"?h():e==="close"&&i(!1))};e!=="ignore"&&window.addEventListener("scroll",f,!0);const b=()=>{a==="reposition"?h():a==="close"&&i(!1)};a!=="ignore"&&window.addEventListener("resize",b);const y=v=>{v.key==="Escape"&&i(!1)};return document.addEventListener("keydown",y),()=>{document.removeEventListener("mousedown",g),e!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",b),document.removeEventListener("keydown",y)}},[r,h,e,a,o]);const p=c.useCallback(()=>i(g=>!g),[]),m=c.useCallback(()=>i(!1),[]);return{open:r,setOpen:i,toggle:p,close:m,style:s,triggerRef:u,menuRef:d}}const O3=52,im=10;function zl({items:t=[],activeKey:e,onChange:a,appMode:o,onAppModeChange:r,moreItems:i=[]}){const{t:s}=ge(),l=o==="manager"?"malgwi":"manager",u=o==="manager"?"arrow-left":"arrow-right",d=o==="manager"?s("nav.modeLabelMalgwi","\uB9D0\uADC0"):s("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=c.useRef(null),[p,m]=c.useState(0),g=t.length;c.useEffect(()=>{const E=h.current;if(!E||(m(E.clientWidth),typeof ResizeObserver>"u"))return;const L=new ResizeObserver(z=>m(z[0].contentRect.width));return L.observe(E),()=>L.disconnect()},[]);const f=p>0?Math.floor((p+im)/(O3+im)):g,b=p>0&&f<g,y=b?f:g,v=t.slice(0,y),x=t.slice(y),_=b||i.length>0,C=c.useCallback(E=>({position:"fixed",bottom:window.innerHeight-E.top+8,right:window.innerWidth-E.right,zIndex:1e4}),[]),{open:T,toggle:w,close:S,style:D,triggerRef:A,menuRef:N}=Eo({computeStyle:C,onScroll:"ignore",onResize:"ignore"}),O=c.useCallback(()=>r?.(l),[r,l]),j=c.useMemo(()=>x.find(E=>E.key===e)??i.find(E=>E.selected||E.key&&E.key===e),[x,e,i]),k=c.useMemo(()=>[{items:[...x.map(E=>({label:E.label,icon:E.icon,selected:E.key===e,closeOnSelect:!0,onClick:()=>{E.key&&a&&a(E.key),S()}})),...i.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.selected??(!!E.key&&E.key===e),closeOnSelect:!0,onClick:()=>{E.onClick?.(),S()}}))]}],[x,i,e,a,S]);return n.jsxs("nav",{className:"bottom-nav","aria-label":s("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[r&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__left",children:n.jsx(se,{size:52,type:"dot",icon:u,ariaLabel:d,className:"bottom-nav-item",onClick:O})}),n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),n.jsx("div",{className:"bottom-nav__items",ref:h,children:v.map(E=>n.jsx(se,{size:52,type:"dot",icon:E.icon,ariaLabel:E.label,selected:E.key===e,disabled:E.state==="disabled",className:"bottom-nav-item",onClick:()=>E.key&&a?.(E.key)},E.key))}),_&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),n.jsx("div",{className:"bottom-nav__right",children:n.jsxs("div",{ref:A,children:[n.jsx(se,{size:52,type:"dot",icon:j?.icon??"ellipsis",ariaLabel:j?.label??s("nav.more","\uB354\uBCF4\uAE30"),selected:!!j,className:"bottom-nav-item",onClick:w}),T&&Yt.createPortal(n.jsx("div",{className:"tooltip-content",style:D,ref:N,children:n.jsx(xr,{columns:k,onClose:S})}),document.body)]})})]})]})}var z3=".ihabdevteam-core-scope .side-nav__menu{-webkit-overflow-scrolling:touch;background-clip:padding-box;border-right:1px solid transparent;display:flex;flex:1;flex-direction:column;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 0 0 12px;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-gutter:stable;scrollbar-width:thin}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar{width:4px}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-track{background:transparent}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-thumb{background:var(--color-darkWhite);border-radius:var(--radius-xs)}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar-thumb:hover{background:var(--color-lightGray,var(--color-lightGray))}.ihabdevteam-core-scope .side-nav__menu-list{display:flex;flex:1 0 auto;flex-direction:column;gap:4px;overflow:visible;padding:4px 0}.ihabdevteam-core-scope .side-nav__notification-wrap{align-self:flex-start;display:inline-flex;position:relative}.ihabdevteam-core-scope .side-nav__footer{align-items:left;display:flex;flex-direction:column;flex-shrink:0;gap:var(--spacing-s);margin-top:var(--spacing-s);padding:0 0 var(--spacing-s) 0}.ihabdevteam-core-scope .side-nav__separator{background:var(--color-whiteLine);height:1px;margin:0 var(--spacing-s) var(--spacing-xs)}.ihabdevteam-core-scope .side-nav__separator--short{margin:4px var(--spacing-m);width:var(--spacing-xl)}@media (max-width:767px){.ihabdevteam-core-scope .side-nav__footer,.ihabdevteam-core-scope .side-nav__menu{display:none}}.ihabdevteam-core-scope .side-nav__item{align-items:center;background:transparent;border:none;border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;flex-shrink:0;font-family:var(--font-family);gap:var(--spacing-s);height:52px;justify-content:flex-start;padding:0 var(--spacing-m);text-align:left;width:100%}@keyframes ihabCoreSnSweep{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ihabCoreSnIconBounce{0%{transform:scale(1)}40%{transform:scale(1.12)}to{transform:scale(1)}}.ihabdevteam-core-scope .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-main) 50%,var(--color-sub) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-button);color:#fff}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:#fff}.ihabdevteam-core-scope .side-nav__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;height:24px;justify-content:center;width:24px}.ihabdevteam-core-scope .side-nav__item.active .circle-badge{background:var(--color-pureWhite);color:var(--color-main)}.ihabdevteam-core-scope .side-nav__item .circle-badge--inline{border:1px solid var(--color-pureWhite)}.ihabdevteam-core-scope .side-nav__icon-wrap{display:inline-flex;flex:0 0 24px;position:relative}.ihabdevteam-core-scope .side-nav__icon{flex:0 0 24px}.ihabdevteam-core-scope .side-nav__icon img{display:block;height:20px;-o-object-fit:contain;object-fit:contain;width:20px}.ihabdevteam-core-scope .side-nav__icon-image{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:contain;display:inline-block;height:20px;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:20px}.ihabdevteam-core-scope .side-nav__item .side-nav__icon img{filter:brightness(0) saturate(0) opacity(.45);transition:filter .16s ease,opacity .16s ease}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon img{filter:brightness(0) invert(1)}.ihabdevteam-core-scope .side-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .side-nav__item{transition:background-color .16s ease,color .16s ease,transform 80ms ease}.ihabdevteam-core-scope .side-nav__item:focus-visible:not(.active),.ihabdevteam-core-scope .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .side-nav__item:hover:not(.active){background:var(--color-darkWhite)}.ihabdevteam-core-scope .side-nav__item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .side-nav__item.disabled,.ihabdevteam-core-scope .side-nav__item.disabled:focus,.ihabdevteam-core-scope .side-nav__item.disabled:hover{background:transparent;color:var(--color-lightGray);cursor:default;opacity:.6;pointer-events:none;transform:none}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon{color:var(--color-lightGray)}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon img{filter:none;opacity:.8}.ihabdevteam-core-scope .side-nav__item--child{height:40px;padding-left:30px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__icon{height:20px;width:20px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__label{font-weight:400}";Q(z3);function F3(t){const{t:e}=ge(),{activeKey:a,unreadCount:o,onDebug:r,onNotification:i,onSetting:s,onHelp:l,onAccount:u}=t||{},d="default";return n.jsxs("div",{className:"side-nav__footer",children:[r&&n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"terminal",ariaLabel:e("nav.debug","\uB514\uBC84\uADF8"),onClick:r,selected:a==="debug"}),n.jsxs("span",{className:"side-nav__notification-wrap",children:[n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"bell",ariaLabel:e("nav.notifications","\uC54C\uB9BC"),onClick:i,selected:a==="notifications"}),!!o&&n.jsx(gt,{type:"dot",number:Math.min(o,99),size:24})]}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"settings",ariaLabel:e("nav.settings","\uC124\uC815"),onClick:s,selected:a==="settings"}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"message-circle-question-mark",ariaLabel:e("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:l,selected:a==="help"}),n.jsx(se,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"user-round",ariaLabel:e("nav.account","\uACC4\uC815"),onClick:u,selected:a==="account"})]})}function sm(t){const{item:e,itemKey:a,label:o,icon:r,active:i,onClick:s,style:l,state:u,labelStyle:d}=t||{},h=e?.key??a??"",p=e?.label??o??"",m=e?.icon??r??"",g=e?.badge??0,f=n.jsx("span",{className:"side-nav__icon-wrap",children:n.jsx(Re,{icon:m,label:typeof p=="string"?p:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),b=u==="disabled",y=`side-nav__item ${i?"active":""} ${u||""} ${b?"disabled":""} ${e?.child?"side-nav__item--child":""}`,v=c.useCallback(x=>{if(!b){try{x.currentTarget.blur()}catch{}s?.(h,x.currentTarget)}},[b,h,s]);return n.jsxs("button",{className:y,onClick:v,"aria-label":typeof p=="string"?p:void 0,style:l,"aria-disabled":b,children:[f,n.jsx("span",{className:"side-nav__label button-1 f",style:d,children:p}),g>0&&n.jsx(gt,{type:"dot",position:"inline",number:Math.min(g,99),size:24,"aria-label":`${g}`}),u==="loading"&&n.jsx("span",{className:"side-nav__spinner","aria-label":"loading"})]})}function Fl(t){const{t:e}=ge(),{items:a=[],activeKey:o,onChange:r,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}=t||{},g=c.useCallback(()=>m?.(p==="malgwi"?"manager":"malgwi"),[m,p]);return n.jsxs("nav",{"aria-label":e("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[n.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,b)=>n.jsxs(c.Fragment,{children:[f.divider&&n.jsx("div",{className:"side-nav__separator"}),n.jsx(sm,{item:f,active:f.key===o,state:f.disabled?"disabled":void 0,onClick:(y,v)=>{if(f.disabled)return;if(f.href){window.open(f.href,"_blank","noopener,noreferrer");try{v?.blur()}catch{}return}r?.(f.key);try{const _=document.querySelector(".content-area");_?_.scrollTop=0:window.scrollTo({top:0})}catch{}try{v?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const x=document.querySelector(".header");if(x&&!(typeof x.matches=="function"&&x.matches(":hover"))){x.classList.add("header--force-collapsed");const _=()=>{x.classList.remove("header--force-collapsed"),x.removeEventListener("mouseenter",_)};x.addEventListener("mouseenter",_)}}})]},f.key??`side-nav__item-${b}`)),m&&n.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),m&&n.jsx(sm,{item:{key:"__mode-switch__",label:p==="malgwi"?e("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):e("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:p==="malgwi"?"arrow-right":"arrow-left"},onClick:g})]}),n.jsx(F3,{activeKey:o,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h})]})}var Wl='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Hl='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',W3='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_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%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="%23499CDF"/>%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="white"/>%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.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 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.2002 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="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',H3='.ihabdevteam-core-scope .header{background:var(--color-deepWhite);border-left:1px solid var(--color-whiteLine);border-right:1px solid var(--color-whiteLine);bottom:0;box-sizing:content-box;display:flex;flex-direction:column;isolation:isolate;left:0;overflow:visible;overscroll-behavior:none;position:fixed;top:0;z-index:var(--z-sidebar)}.ihabdevteam-core-scope .header__menu-button{background:transparent;border:none;display:none}.ihabdevteam-core-scope .header__bottom{align-items:center;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:flex;height:56px;justify-content:center;left:0;padding:0;padding-bottom:calc(var(--spacing-content) + env(safe-area-inset-bottom));position:fixed;right:0}.ihabdevteam-core-scope .header__category-button{background:transparent;border:none}.ihabdevteam-core-scope .header:before{background:linear-gradient(160deg,var(--color-main) 0,var(--color-sub) 100%);content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .2s ease;z-index:-1}.ihabdevteam-core-scope .header--manager{border-right-color:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .header--manager:before{opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__separator{background:hsla(0,0%,100%,.25)}.ihabdevteam-core-scope .header--manager .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item{color:var(--color-deepWhite)}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active){background:hsla(0,0%,100%,.15);color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active) .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active) .side-nav__icon{color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-pureWhite) 50%,color-mix(in srgb,var(--color-main) 50%,#fff) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-card);color:var(--color-darkGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:var(--color-lightGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon img{filter:none;opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__footer [role=button],.ihabdevteam-core-scope .header--manager .side-nav__footer button{color:hsla(0,0%,100%,.55)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch{background:transparent;border-color:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch:hover{background:hsla(0,0%,100%,.12);border-color:hsla(0,0%,100%,.35)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch-label{color:hsla(0,0%,100%,.7)}.ihabdevteam-core-scope .header--manager .side-nav__mode-switch-arrow{color:hsla(0,0%,100%,.35)}@media (min-width:1024px){.ihabdevteam-core-scope .header{width:220px}.ihabdevteam-core-scope .header__bottom,.ihabdevteam-core-scope .header__menu-button{display:none}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .header__branding{height:80px}.ihabdevteam-core-scope .header .side-nav__menu{padding:0 10px;transition:padding .18s ease}.ihabdevteam-core-scope .header .side-nav__item{border-radius:var(--radius-card);gap:0;padding:0 14px;transition:padding .18s ease,gap .18s ease}.ihabdevteam-core-scope .header:focus-within .side-nav__menu,.ihabdevteam-core-scope .header:hover .side-nav__menu{padding:0 10px}.ihabdevteam-core-scope .header:focus-within .side-nav__item,.ihabdevteam-core-scope .header:hover .side-nav__item{gap:10px;padding:0 16px}.ihabdevteam-core-scope .header .side-nav__label{display:inline-block;max-width:0;opacity:0;overflow:hidden;pointer-events:none;transform:translateX(-6px);transition:max-width .18s ease,opacity .18s ease,transform .18s ease;white-space:nowrap}.ihabdevteam-core-scope .header{overflow:visible;transition:width .18s ease;width:72px}.ihabdevteam-core-scope .header:focus-within,.ihabdevteam-core-scope .header:hover{width:220px}.ihabdevteam-core-scope .header:focus-within .side-nav__label,.ihabdevteam-core-scope .header:hover .side-nav__label{max-width:200px;opacity:1;pointer-events:auto;transform:translateX(0)}.ihabdevteam-core-scope .header.header--force-collapsed{width:72px}.ihabdevteam-core-scope .header.header--force-collapsed .side-nav__label{max-width:0;opacity:0;pointer-events:none;transform:translateX(-6px)}.ihabdevteam-core-scope .header.header--force-collapsed:hover{width:72px}}@media (max-width:767px){.ihabdevteam-core-scope .header{align-items:center;border-bottom:1px solid var(--color-whiteLine);border-left:none;border-right:none;flex-direction:row;height:64px;justify-content:space-between;left:0;position:fixed;right:0;top:0;width:100%}.ihabdevteam-core-scope .header__top{align-items:center;display:flex;flex:1}.ihabdevteam-core-scope .header__branding{height:auto}.ihabdevteam-core-scope .header__menu-button{display:inline-flex}.ihabdevteam-core-scope .header__bi{align-items:center;display:flex;gap:var(--spacing-xs);padding:0 calc(12px + env(safe-area-inset-right)) 0 calc(12px + env(safe-area-inset-left));width:100%}.ihabdevteam-core-scope .header__bi .header__menu-button{margin-left:auto}.ihabdevteam-core-scope .header__bottom{display:none}}.ihabdevteam-core-scope .brand-identity__root{align-items:center;display:flex;height:100px;justify-content:center}.ihabdevteam-core-scope .brand-identity__image{height:48px;-o-object-fit:contain;object-fit:contain;width:auto}@media (min-width:1024px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (max-width:767px){.ihabdevteam-core-scope .brand-identity__root{height:64px;padding:10px}.ihabdevteam-core-scope .brand-identity__image{height:40px}}';Q(H3);function Vl({appMode:t}){const{t:e}=ge(),a=t==="manager",o=a?Hl:Wl,r=W3,i=ra("(min-width: 768px) and (max-width: 1023px)");return n.jsx("div",{className:"brand-identity__root","aria-label":e("header.biArea","BI \uC601\uC5ED"),children:i?n.jsx("img",{src:r,alt:e("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):n.jsx("img",{src:o,alt:a?e("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):e("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function Gl({activeKey:t,onChange:e,items:a,malgwiItems:o,managerItems:r,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}){const{t:g}=ge(),f=ra("(max-width: 767px)"),b=c.useMemo(()=>{const D=[];return s&&D.push({key:"debug",icon:"terminal",label:g("nav.debug","\uB514\uBC84\uADF8"),onClick:s}),l&&D.push({key:"notifications",icon:"bell",label:g("nav.notifications","\uC54C\uB9BC"),badgeCount:i,onClick:l}),d&&D.push({key:"settings",icon:"settings",label:g("nav.settings","\uC124\uC815"),onClick:d}),h&&D.push({key:"help",icon:"message-circle-question-mark",label:g("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),u&&D.push({key:"account",icon:"user-round",label:g("nav.account","\uACC4\uC815"),onClick:u}),D},[g,s,l,d,h,u,i]),y=c.useCallback(D=>({position:"fixed",top:D.bottom+8,right:Math.max(8,window.innerWidth-D.right),zIndex:1e4}),[]),{open:v,toggle:x,close:_,style:C,triggerRef:T,menuRef:w}=Eo({computeStyle:y,onScroll:"ignore",onResize:"ignore"}),S=c.useMemo(()=>[{items:b.map(D=>({label:D.label,icon:D.icon,badgeCount:D.badgeCount,selected:D.selected??(!!D.key&&D.key===t),closeOnSelect:!0,onClick:()=>{D.onClick?.(),_()}}))}],[b,t,_]);return n.jsxs("aside",{className:`header${p==="manager"?" header--manager":""}`,children:[n.jsxs("div",{className:"header__bi",children:[n.jsx(Vl,{appMode:p}),n.jsxs("div",{className:"header__menu-button",ref:T,children:[n.jsx(se,{size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:x}),v&&Yt.createPortal(n.jsx("div",{className:"tooltip-content",style:C,ref:w,children:n.jsx(xr,{columns:S,onClose:_})}),document.body)]})]}),n.jsx(Fl,{items:a,activeKey:t??void 0,onChange:e,unreadCount:i,onDebug:s,onNotification:l,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}),f&&n.jsx(zl,{items:a,activeKey:t??void 0,onChange:e,appMode:p,onAppModeChange:m})]})}const lm=Gl;var V3='.ihabdevteam-core-scope .payment-plan__card{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex:1 1 340px;flex-direction:column;gap:28px;max-width:360px;min-width:min(340px,100%);padding:20px;position:relative;text-align:left;transition:box-shadow .2s ease,transform .2s ease;width:100%}.ihabdevteam-core-scope .payment-plan__card:hover{box-shadow:var(--shadow-dropdown);transform:translateY(-4px)}.ihabdevteam-core-scope .payment-plan__card-badge{position:absolute;right:32px;top:32px}.ihabdevteam-core-scope .payment-plan__pricing-card{cursor:pointer;display:flex;justify-content:center}.ihabdevteam-core-scope .payment-plan__title{color:var(--color-black);display:flex;flex-direction:column;margin:0}.ihabdevteam-core-scope .payment-plan__quote{color:var(--color-sub);margin:0 0 4px;min-height:1.4em}.ihabdevteam-core-scope .payment-plan__title-heading{margin:0}.ihabdevteam-core-scope .payment-plan__subtitle{color:var(--color-gray);line-height:1.5;margin:8px 0 0;text-align:left}.ihabdevteam-core-scope .payment-plan__box,.ihabdevteam-core-scope .payment-plan__box-title{display:block}.ihabdevteam-core-scope .payment-plan__box-list{color:var(--color-lightGray);padding-left:18px}.ihabdevteam-core-scope .payment-plan__box-list li{margin-bottom:4px}.ihabdevteam-core-scope .payment-plan__contact-button{width:100%}.ihabdevteam-core-scope .payment-plan__feature-list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:12px 0 0;padding:0}.ihabdevteam-core-scope .payment-plan__feature-item{align-items:center;color:var(--color-darkGray);display:flex;gap:10px;line-height:1.45}.ihabdevteam-core-scope .payment-plan__feature-check{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center}.ihabdevteam-core-scope .payment-plan__card-pricing{display:flex;flex-direction:column;gap:6px;margin-top:auto;text-align:left;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-list{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .payment-plan__pricing-row{grid-row-gap:4px;align-items:center;background:var(--plan-color,var(--color-darkWhite));border:1px solid transparent;border-radius:var(--radius-s);box-sizing:border-box;color:#fff;cursor:pointer;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:14px 18px;row-gap:4px;transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-row--static{cursor:default;pointer-events:none}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight{background:var(--color-white);border:1px solid var(--plan-color,var(--color-main));color:var(--color-darkGray)}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-current,.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-row-price{color:var(--plan-color,var(--color-main))}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-original{color:var(--color-lightGray)}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-badge{color:var(--plan-color,var(--color-main))}.ihabdevteam-core-scope .payment-plan__pricing-row:hover{box-shadow:var(--shadow-dropdown);filter:brightness(1.04);transform:translateY(-2px)}.ihabdevteam-core-scope .payment-plan__pricing-row-title{display:contents}.ihabdevteam-core-scope .payment-plan__pricing-row-label{grid-column:1;grid-row:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-badge{color:hsla(0,0%,100%,.9);grid-column:2;grid-row:1;margin:0;text-align:right;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-row-price{align-items:center;color:#fff;display:flex;gap:var(--spacing-xs);grid-column:1/-1;grid-row:2;justify-content:flex-end;margin:0;text-align:right}.ihabdevteam-core-scope .payment-plan__pricing-original{color:var(--color-white-a80);margin:0;text-decoration:line-through;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-current{color:#fff;margin:0;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-symbol{font-weight:600;margin-right:2px}.ihabdevteam-core-scope .payment-plan__list{grid-gap:var(--spacing-l);align-items:stretch;display:grid;gap:var(--spacing-l);grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),360px));justify-content:center;margin:0 auto var(--spacing-page);width:100%}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:stretch}.ihabdevteam-core-scope .payment-plan__card-content,.ihabdevteam-core-scope .payment-plan__card-inner{min-height:0}.ihabdevteam-core-scope .payment-plan__card.recommended{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .payment-plan__recommended-badge{background:var(--color-main);border-radius:var(--radius-m);color:#fff;font-weight:700;left:50%;padding:4px 14px;position:absolute;top:-12px;transform:translateX(-50%);white-space:nowrap}.ihabdevteam-core-scope .payment-plan__name{font-weight:800;margin:0 0 8px}.ihabdevteam-core-scope .payment-plan__price{font-weight:800;margin:0 0 4px}.ihabdevteam-core-scope .payment-plan__period{color:var(--color-gray);display:inline}.ihabdevteam-core-scope .payment-plan__features{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:20px 0;padding:0}.ihabdevteam-core-scope .payment-plan__feature{align-items:center;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .payment-plan__feature:before{color:var(--color-success);content:"\u2713";font-weight:700}.ihabdevteam-core-scope .payment-plan__button{border:none;border-radius:var(--radius-card);cursor:pointer;font-weight:700;padding:14px;transition:all .12s;width:100%}.ihabdevteam-core-scope .payment-plan__button--primary{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .payment-plan__button--primary:hover{background:var(--color-infoLink)}.ihabdevteam-core-scope .payment-plan__button--outline{background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);color:var(--color-darkGray)}.ihabdevteam-core-scope .payment-plan__button--outline:hover{border-color:var(--color-main);color:var(--color-main)}@media (max-width:767px){.ihabdevteam-core-scope .payment-plan__list{align-items:center;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:center;flex:none;max-width:360px;width:100%}}';Q(V3);function cm(t){if(!(t==null||t===""))return cr(typeof t=="number"?`${t.toLocaleString("ko-KR")}\uC6D0`:t)}function G3(t){const e=`${t.code??""} ${t.name??""}`.toLowerCase();return/manager|매니저/.test(e)?"manager":"speechear"}function q3(t){if(t.durationDays&&t.durationDays>0){const r=t.durationDays;return r%365===0?`${r/365}\uB144`:`${r}\uC77C`}const e=(t.code??"").match(/(\d+)(d|y)\b/i);if(e)return e[2].toLowerCase()==="y"?`${e[1]}\uB144`:`${e[1]}\uC77C`;const a=t.name??"",o=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);return o?o[1].replace(/\s+/g,""):a||"\uC774\uC6A9\uAD8C"}function U3(t){const e=(t??"").match(/(\d+)(d|y)\b/i);if(!e)return null;const a=Number(e[1]);return e[2].toLowerCase()==="y"?a*365:a}function ql(t){return{type:t.type??G3(t),plan:q3(t),label:t.label,price:cm(t.price),originalPrice:cm(t.originalPrice),discountLabel:t.discountLabel}}var Y3='.ihabdevteam-core-scope .pass-card-frame{container-type:inline-size;height:188px;max-width:100%;width:300px}.ihabdevteam-core-scope .pass-card{border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;height:188px;overflow:hidden;padding:var(--spacing-l);position:relative;width:300px}.ihabdevteam-core-scope .pass-card-frame>.pass-card{aspect-ratio:auto;border-radius:5.33cqw;height:100%;padding:6.67cqw;width:100%}.ihabdevteam-core-scope .pass-card--clickable{cursor:pointer}@media (max-width:360px){.ihabdevteam-core-scope .pass-card,.ihabdevteam-core-scope .pass-card-frame{max-width:300px;width:100%}}.ihabdevteam-core-scope .pass-card--active{box-shadow:0 4px 16px rgba(0,0,0,.08)}.ihabdevteam-core-scope .pass-card--pending{box-shadow:0 2px 8px rgba(0,0,0,.05)}.ihabdevteam-core-scope .pass-card--expired{--color-main:var(--color-disabled);--color-sub:var(--color-whiteLine);--pass-card-expired-shape:var(--color-whiteLine);box-shadow:none}.ihabdevteam-core-scope [data-theme=dark] .pass-card--expired{--pass-card-expired-shape:hsla(0,0%,100%,.18)}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]) .pass-card--expired{--pass-card-expired-shape:hsla(0,0%,100%,.18)}}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg{background:var(--color-darkWhite)}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg__symbol{background:var(--pass-card-expired-shape)}.ihabdevteam-core-scope .pass-card--expired .pass-card__copyright,.ihabdevteam-core-scope .pass-card--expired .pass-card__plan,.ihabdevteam-core-scope .pass-card--expired .pass-card__price-area,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-percent,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-remaining{color:var(--color-gray)}.ihabdevteam-core-scope .pass-card.pass-card--expired:after{box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 color-mix(in srgb,var(--color-gray) 10%,transparent)}.ihabdevteam-core-scope .pass-card:after{border-radius:inherit;box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 rgba(73,156,223,.2);content:"";inset:0;pointer-events:none;position:absolute;z-index:2}.ihabdevteam-core-scope .pass-card__top{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;margin-top:-1.67cqw;position:relative;z-index:1}.ihabdevteam-core-scope .pass-card__top-left{align-items:flex-start;display:flex;flex-direction:column;gap:0}.ihabdevteam-core-scope .pass-card__logo{height:10.67cqw;-o-object-fit:contain;object-fit:contain;width:auto}.ihabdevteam-core-scope .pass-card__plan{color:var(--pass-card-text,var(--color-pureBlack));display:flex;flex-direction:column;gap:0;margin-top:-.67cqw;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__plan .h0{font-size:13.33cqw;line-height:1.3}.ihabdevteam-core-scope .pass-card .pass-card__plan-number{font-size:17.33cqw;letter-spacing:-1cqw;line-height:1}.ihabdevteam-core-scope .pass-card__plan .h5b{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__plan-unit{margin-left:.67cqw;position:relative;top:-.67cqw}.ihabdevteam-core-scope .pass-card__plan-suffix{margin-left:.67cqw;margin-top:0}.ihabdevteam-core-scope .pass-card .pass-card__copyright{color:var(--pass-card-text,var(--color-black));font-size:3.67cqw;line-height:1.36;margin:auto 0 0;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__price-area{align-items:flex-end;bottom:4.67cqw;display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__price-area .h1{font-size:10.67cqw;line-height:1.375}.ihabdevteam-core-scope .pass-card__price-area .h5{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__usage{align-items:flex-end;bottom:4.67cqw;color:var(--pass-card-text,var(--color-black));display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__usage-percent{align-items:baseline;display:inline-flex;font-size:3.67cqw;gap:0;line-height:1.36;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-remaining{font-size:5cqw;line-height:1.53;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-value{font-size:10.67cqw;line-height:1.2}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-symbol{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__discount{color:var(--pass-card-text,var(--color-pureBlack));font-size:4.67cqw;line-height:1.2;text-align:right;white-space:pre-line}.ihabdevteam-core-scope .pass-card__price{align-items:baseline;color:var(--pass-card-text,var(--color-pureBlack));display:inline-flex;gap:2cqw;text-align:right}.ihabdevteam-core-scope .pass-card__price-original{color:color-mix(in srgb,var(--pass-card-text,var(--color-pureBlack)) 75%,transparent);font-size:4.67cqw;line-height:1.57;text-decoration:line-through;text-decoration-thickness:1px}';Q(Y3);var K3='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Z3='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',X3='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',J3='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Q3='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',e8='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',t8=".ihabdevteam-core-scope .pass-card-bg{border-radius:inherit;inset:0;overflow:hidden;pointer-events:none;position:absolute}:where(.ihabdevteam-core-scope){--pass-card-symbol-opacity:1}.ihabdevteam-core-scope .pass-card-bg__symbol{background:var(--symbol-url) center /contain no-repeat;height:48px;-webkit-mask:var(--symbol-url) center /contain no-repeat;mask:var(--symbol-url) center /contain no-repeat;position:absolute;right:12px;top:12px;width:48px}";Q(t8);var a8=".ihabdevteam-core-scope .pass-card-bg-two-circle{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1,.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{border-radius:50%;opacity:.75;opacity:var(--pass-card-symbol-opacity,.75);position:absolute}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1{background:var(--color-main);height:340px;right:-150px;top:-140px;width:340px}.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{background:var(--color-sub);bottom:-90px;height:220px;right:-50px;width:220px}.ihabdevteam-core-scope .pass-card-bg-two-circle__symbol{background:var(--color-darkWhite)}";Q(a8);var dm='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_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Va={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Ul=new WeakMap;function o8(t){if(t)return Ul.get(t)}function va(t,e){t&&(t.style.setProperty(Va.text,e.text),t.style.setProperty(Va.sub,e.sub),e.copyrightColor&&t.style.setProperty(Va.copyright,e.copyrightColor),Ul.set(t,e))}function ya(t){t&&(t.style.removeProperty(Va.text),t.style.removeProperty(Va.sub),t.style.removeProperty(Va.copyright),Ul.delete(t))}const Yl={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Kl(t={}){const e=dt(Yl,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-two-circle__c1"}),n.jsx("div",{className:"pass-card-bg-two-circle__c3"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${dm}")`}})]})}const um="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var r8=".ihabdevteam-core-scope .pass-card-bg-sound-move{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-sound-move__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(r8);var Cr='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_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const n8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},i8=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function pm(t={}){const e=dt(n8,va,ya),a="var(--color-main)",o=270,r=170;return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:i8.map(({scale:i,opacity:s},l)=>n.jsx("g",{transform:`translate(${o} ${r}) scale(${i}) translate(-50 -50)`,opacity:s,children:n.jsx("path",{d:um,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},l))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}var s8=".ihabdevteam-core-scope .pass-card-bg-sound-move-v1{background:linear-gradient(135deg,var(--color-main),var(--color-sub))}.ihabdevteam-core-scope .pass-card-bg-sound-move-v1__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(s8);const l8={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},c8=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function d8(t={}){const e=dt(l8,va,ya),a="#ffffff",o=270,r=170;return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:c8.map(({scale:i,opacity:s},l)=>n.jsx("g",{transform:`translate(${o} ${r}) scale(${i}) translate(-50 -50)`,opacity:s,children:n.jsx("path",{d:um,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},l))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${dm}")`}})]})}var u8=".ihabdevteam-core-scope .pass-card-bg-talk{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk__shape--left{background:var(--color-main);border-radius:42px 42px 42px 4px;transform:translateX(-18px)}.ihabdevteam-core-scope .pass-card-bg-talk__shape--right{background:var(--color-sub);border-radius:50%;opacity:.7;transform:translateX(18px)}";Q(u8);const p8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function h8(t={}){const e=dt(p8,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}const m8={Logo_speechear_kr:{"":Wl,_white:K3,_textWhite:Z3,_black:X3},Logo_speechearManager_kr:{"":Hl,_white:J3,_textWhite:Q3,_black:e8}};function g8(t,e){if(t)return m8[t]?.[e??""]??void 0}const b8={speechear:Wl,manager:Hl},f8={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},hm=10;function v8(t,e){if(t<=0)return e("passCard.remainingSecond",{n:0});const a=Math.floor(t/86400);if(a>0)return e("passCard.remainingDay",{n:a});const o=Math.floor(t/3600);if(o>0)return e("passCard.remainingHour",{n:o});const r=Math.floor(t/60);return r>0?e("passCard.remainingMinute",{n:r}):e("passCard.remainingSecond",{n:Math.floor(t)})}function y8(t,e,a){if(t==="manager"){const o=/년/.test(e)||/yr|year/i.test(e)||/1년|365/.test(e),r=a==="\uC624\uD508\uD2B9\uAC00"||a===ct.t("passCard.specialLabel");return o?n.jsx(h8,{}):r?n.jsx(d8,{}):n.jsx(pm,{})}return n.jsx(Kl,{})}function Zl({product:t,showPrice:e=!1,plan:a,type:o,endDate:r,remainingSeconds:i,state:s="active",bg:l,bgOnly:u=!1,textColor:d,subColor:h,copyrightColor:p,logoSrc:m,label:g,price:f,originalPrice:b,discountLabel:y,onUse:v,onRefund:x,onDelete:_}){const{t:C}=ge(),T=t?ql(t):void 0,w=o??T?.type??"speechear",S=a??T?.plan??"\uC774\uC6A9\uAD8C",D=g??T?.label,A=f??(e?T?.price:void 0),N=b??(e?T?.originalPrice:void 0),O=y??T?.discountLabel,j=c.useMemo(()=>{if(A)return null;const X=t?.durationDays??U3(t?.code);if(!X||X<=0)return null;const de=X*86400;let Ce;if(i!=null)Ce=i;else if((s==="active"||s==="expired")&&r){const le=new Date(r).getTime();if(Number.isNaN(le))return null;const G=new Date;G.setHours(0,0,0,0);const ce=new Date(le);ce.setHours(0,0,0,0);const be=Math.round((ce.getTime()-G.getTime())/864e5);Ce=Math.max(0,be)*86400}else s==="expired"?Ce=0:Ce=de;const Z=Math.max(0,Math.min(100,Math.floor(Math.min(Ce,de)/de*100)));return s==="pending"&&Z>=100?null:{percent:Z,remainingLabel:v8(Ce,C)}},[A,s,r,i,t?.durationDays,t?.code,C]),k=c.useRef(null),[E,L]=c.useState({}),[z,te]=c.useState(null),J=!!(v||x||_),ae=c.useRef(!1),M=c.useRef(void 0),[R,$]=c.useState(m);c.useLayoutEffect(()=>{$(m)},[m]),c.useLayoutEffect(()=>{const X=k.current;X&&(d!==void 0&&X.style.setProperty("--pass-card-text",d),h!==void 0&&X.style.setProperty("--pass-card-sub",h),p!==void 0&&X.style.setProperty("--pass-card-copyright",p))},[d,h,p]),c.useLayoutEffect(()=>{const X=k.current;if(!X)return;const de=o8(X);if(!m){const Ce=f8[w],Z=s==="expired"?"_black":de?.logoColor??"",le=g8(Ce,Z);$(le)}},[l,m,w,s]);const F=X=>{const de=k.current;if(!de)return null;const{left:Ce,top:Z,width:le,height:G}=de.getBoundingClientRect(),ce=(X.clientX-Ce)/le-.5;return{rotateX:-((X.clientY-Z)/G-.5)*hm,rotateY:ce*hm}},I=(X,de)=>{const Ce=de*-.7,Z=X*.7+10,le=20+(Math.abs(X)+Math.abs(de))*.4;return`${Ce}px ${Z}px ${le}px rgba(0, 0, 0, 0.18)`},q=c.useCallback(X=>{ae.current=!0,clearTimeout(M.current),M.current=setTimeout(()=>{ae.current=!1},200);const de=F(X);de&&L({transform:`perspective(800px) rotateX(${de.rotateX}deg) rotateY(${de.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:I(de.rotateX,de.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),P=c.useCallback(X=>{const de=F(X);if(!de)return;const Ce=ae.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";L({transform:`perspective(800px) rotateX(${de.rotateX}deg) rotateY(${de.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:I(de.rotateX,de.rotateY),transition:Ce})},[]),H=c.useCallback(()=>{clearTimeout(M.current),ae.current=!1,L({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),V=c.useCallback(()=>te(null),[]),U=c.useMemo(()=>{const X=S.replace("\uC774\uC6A9\uAD8C","").trim(),de=X.match(/^(.*?)(일|년)$/);return de?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"h0 pass-card__plan-number",children:de[1]}),n.jsx("span",{className:"h5b pass-card__plan-unit",children:de[2]==="\uB144"?C("passCard.unitYear","\uB144"):C("passCard.unitDay","\uC77C")})]}):n.jsx("span",{className:"h0",children:X})},[S,C]),ee=c.useMemo(()=>{const X=cr(A);if(!X)return null;const de=X.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!de)return n.jsx("span",{className:"h1",children:X});const[,Ce,Z,le]=de;return n.jsxs(n.Fragment,{children:[Ce&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:Ce}),n.jsx("span",{className:"h1 pass-card__price-amount",children:Z}),le.trim()&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:le.trim()})]})},[A]),pe=c.useCallback(()=>{J&&te(X=>{if(X)return null;const de=k.current?.getBoundingClientRect();if(!de)return null;const Ce=50;return{left:de.left,right:de.right,width:de.width,height:de.height,x:de.x,y:de.y+Ce,top:de.top+Ce,bottom:de.bottom+Ce}})},[J]),he=c.useCallback(X=>{J&&(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),pe())},[J,pe]),oe=[{items:[...v?[{label:C("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{v(),te(null)},closeOnSelect:!0}]:[],...x?[{label:C("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{x(),te(null)},closeOnSelect:!0}]:[],..._?[{label:C("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),te(null)},closeOnSelect:!0}]:[]]}];return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card-frame",children:n.jsxs("div",{ref:k,className:`pass-card pass-card--${s}${J?" pass-card--clickable":""}`,style:E,onMouseEnter:q,onMouseMove:P,onMouseLeave:H,onClick:pe,onKeyDown:J?he:void 0,role:J?"button":void 0,tabIndex:J?0:void 0,children:[l??y8(w,S,D),!u&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card__top",children:n.jsxs("div",{className:"pass-card__top-left",children:[n.jsx("img",{src:R??b8[w],className:"pass-card__logo",alt:w==="manager"?C("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):C("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),n.jsxs("div",{className:"pass-card__plan",children:[n.jsx("div",{children:U}),n.jsx("span",{className:"h5b pass-card__plan-suffix",children:D?C("passCard.labeledPlan",{label:D}):C("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),A?n.jsxs("div",{className:"pass-card__price-area",children:[O&&n.jsx("span",{className:"pass-card__discount body-3",children:O}),n.jsxs("div",{className:"pass-card__price",children:[N&&n.jsx("span",{className:"pass-card__price-original body-3",children:cr(N)}),ee]})]}):j?n.jsxs("div",{className:"pass-card__usage",children:[n.jsx("span",{className:"h5b pass-card__usage-remaining",children:j.remainingLabel}),n.jsxs("span",{className:"pass-card__usage-percent",children:[n.jsx("span",{className:"h1 pass-card__usage-value",children:j.percent}),n.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):n.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),z&&n.jsx(Ta,{anchorRect:z,onClose:V,children:n.jsx(xr,{columns:oe,onClose:V,size:"small"})})]})}var x8=".ihabdevteam-core-scope .pass-card-bg-sound-line{background:linear-gradient(60deg,var(--color-pureWhite) 0,color-mix(in srgb,var(--color-sub) 15%,var(--color-pureWhite)) 100%)}.ihabdevteam-core-scope .pass-card-bg-sound-line__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";Q(x8);const C8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function _8(t={}){const e=`passcard-sound-line-grad-${c.useId()}`,a=dt(C8,va,ya);return n.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[n.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("defs",{children:n.jsxs("linearGradient",{id:e,x1:"0",y1:"0",x2:"1",y2:"0",children:[n.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),n.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),n.jsx("g",{transform:"translate(25, 45)",children:n.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${e})`,strokeWidth:"50",strokeLinecap:"round"})})]}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}var w8=".ihabdevteam-core-scope .pass-card-bg-talk-v1{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--left{background:linear-gradient(70deg,var(--color-main),var(--color-sub));border-radius:999px;height:92px;transform:translateX(0) rotate(120deg);width:180px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--right{background:var(--color-sub);border-radius:50%;height:60px;opacity:1;transform:translate(38px,12px);width:60px}";Q(w8);const k8={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function S8(t={}){const e=dt(k8,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}function A8(t,e){if(t){if(e==="manager_pro")return n.jsx(S8,{});if(e==="manager_standard")return n.jsx(_8,{});if(e==="manager_lite")return n.jsx(pm,{})}}function T8(t){const e=cr(t);if(!e)return null;const a=e.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return e;const[,o,r,i]=a;return n.jsxs(n.Fragment,{children:[o&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:o}),r,i.trim()&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:i.trim()})]})}function mm(t){const{t:e}=ge(),{plan:a,onSelect:o,period:r="monthly",ownedCodes:i}=t||{},s=v=>!!v&&!!i?.includes(v),l=(a.tiers||[]).some(v=>/오픈\s*특가/.test(v.label??"")&&s(v.code)),u=v=>{const x=v.prices?v.prices[r]:v.price;return x?(a.tiers||[]).some(_=>!!_.badge&&_.originals?.[r]===x):!1},d=a.colorToken?`var(--color-${a.colorToken})`:"var(--color-gray)",h=e("payment.plan.freePrice","\uBB34\uB8CC"),p=e("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),m=v=>v.prices?v.prices[r]:v.price,g=(a.tiers||[]).length>0&&(a.tiers||[]).every(v=>{const x=m(v);return x==="\uBB34\uB8CC"||x===h||x==="0\uC6D0"}),f=(a.tiers||[]).length>0&&(a.tiers||[]).every(v=>{const x=m(v);return x==="\uBB38\uC758"||x===p}),b=a.group==="org",y=b?"manager":"speechear";return n.jsxs("div",{className:"payment-plan__card",style:{borderColor:d,"--plan-color":d},children:[a.cardBadge&&n.jsx("div",{className:"payment-plan__card-badge",children:n.jsx(gt,{label:a.cardBadge,variant:"main",size:"medium",fill:"soft"})}),n.jsxs("div",{className:"payment-plan__title",children:[n.jsx("p",{className:"payment-plan__quote body-3b",style:{color:d},children:a.quote||"\xA0"}),n.jsx("h3",{className:"payment-plan__title-heading h1",children:a.tier??a.title}),n.jsx("p",{className:"payment-plan__subtitle body-3",children:a.subtitle})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:e("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(a.recommendedFor||[]).map((v,x)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(Re,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:d}}),v]},x))})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:e("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(a.features||[]).map((v,x)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(Re,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:d}}),v]},x))})]}),n.jsx("div",{className:"payment-plan__card-pricing",children:g?null:f?n.jsx(se,{className:"payment-plan__contact-button",label:e("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>a.tiers?.[0]&&o?.({...a.tiers[0],productId:a.id,productTitle:a.title})}):n.jsx(n.Fragment,{children:n.jsx("div",{className:"payment-plan__pricing-list",children:(a.tiers||[]).map(v=>{const x=v.label||"\uC774\uC6A9\uAD8C",_=/오픈\s*특가/.test(x),C=_||v.openPromo===!0,T=x.replace(/^오픈\s*특가\s*/,"")||"\uC774\uC6A9\uAD8C",w=v.prices?v.prices[r]:v.price,S=v.badge?C?`\uC624\uD508 \uD2B9\uAC00
|
|
829
829
|
${v.badge}`:v.badge:void 0;if(_&&s(v.code))return null;if(!v.badge&&!l)return u(v)?null:n.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${v.highlight?" payment-plan__pricing-row--highlight":""}`,children:[n.jsx("div",{className:"payment-plan__pricing-row-title",children:n.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:v.label})}),n.jsx("div",{className:"payment-plan__pricing-row-price",children:n.jsx("span",{className:"payment-plan__pricing-current h1",children:T8(w)})})]},v.id);const D=a.tier??(b?a.title:void 0),A=n.jsx(Zl,{showPrice:!0,product:{type:y,code:v.code,name:T,label:D,price:w,originalPrice:v.originals?.[r]??void 0,discountLabel:S},bg:A8(b,a.id)}),N=()=>o?.({...v,productId:a.id,productTitle:a.title,preview:A});return n.jsx("div",{className:"payment-plan__pricing-card",onClick:N,onKeyDown:o?O=>{O.target===O.currentTarget&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),N())}:void 0,role:o?"button":void 0,tabIndex:o?0:void 0,children:A},v.id)})})})})]})}function gm({variant:t="default"}){return n.jsxs("div",{className:`pass-card-bg pass-card-bg--${t}`,"aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var N8=".ihabdevteam-core-scope .pass-card-bg-ihab{background:var(--color-white)}.ihabdevteam-core-scope .pass-card-bg-ihab__symbol{bottom:-24px;height:140px;-o-object-fit:contain;object-fit:contain;opacity:.06;position:absolute;right:-24px;width:140px}.ihabdevteam-core-scope .pass-card-bg-ihab__symbol-top{transform:translate(-48px) rotate(-90deg);transform-origin:top right;width:126.72px}";Q(N8);var bm='data:image/svg+xml,<svg width="264" height="100" viewBox="0 0 264 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2079_3030)">%0A<path d="M60.9019 24.7464C54.4446 18.2821 45.5257 14.2857 35.6757 14.2857C25.8256 14.2857 23.2106 24.5964 16.7569 31.0607C10.2996 37.5214 0 40.1857 0 50C0 59.8143 3.99211 68.7893 10.4494 75.2536C16.9067 81.7178 25.8256 85.7143 35.6757 85.7143C45.5257 85.7143 54.4446 81.7178 60.9019 75.2536C67.3592 68.7893 71.3513 59.8607 71.3513 50C71.3513 40.1393 67.3592 31.2107 60.9019 24.7464ZM48.2906 62.6286C45.0619 65.8607 40.6025 67.8571 35.6757 67.8571C30.7489 67.8571 26.2894 65.8571 23.0608 62.6286C19.8321 59.3964 17.8378 54.9321 17.8378 50C17.8378 45.0678 19.8357 40.6036 23.0608 37.3714C26.2894 34.1393 30.7489 32.1428 35.6757 32.1428C40.6025 32.1428 45.0619 34.1428 48.2906 37.3714C51.5192 40.6036 53.5135 45.0678 53.5135 50C53.5135 54.9321 51.5157 59.3964 48.2906 62.6286Z" fill="url(%23paint0_linear_2079_3030)"/>%0A<path d="M106.735 74.8322H93.6274V24.8322H106.735V74.8322Z" fill="%23111111"/>%0A<path d="M113.495 24.8322H126.602V44.5143H145.022V24.8322H158.197V74.8322H145.022V55.15H126.602V74.8322H113.495V24.8322Z" fill="%23111111"/>%0A<path d="M163.027 74.8322L179.652 24.8322H197.519L214.076 74.8322H199.934L196.969 65.025H180.205L177.241 74.8322H163.031H163.027ZM193.933 55.0786L188.76 38.2964H188.346L183.241 55.0786H193.933Z" fill="%23111111"/>%0A<path d="M218.906 24.8322H240.29C251.674 24.8322 257.675 29.7357 257.675 37.4C257.675 42.925 253.743 47.1393 248.085 48.3107V48.7929C254.364 49 259.605 53.6286 259.605 60.7393C259.605 68.8893 252.983 74.8286 242.081 74.8286H218.902V24.8322H218.906ZM244.157 40.1643C244.157 36.9857 241.674 35.1929 238.085 35.1929H232.013V45.1393H237.878C241.535 45.1393 244.157 43.3429 244.157 40.1679V40.1643ZM245.741 59.0857C245.741 55.425 243.119 53.3536 238.913 53.3536H232.013V64.2643H238.706C243.397 64.2643 245.741 62.4679 245.741 59.0857Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2079_3030" x1="15.337" y1="29.6393" x2="60.9512" y2="75.2042" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2079_3030">%0A<rect width="264" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Xl={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function fm(){const t=dt(Xl,va,ya);return n.jsx("div",{ref:t,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${bm}")`}})})}var B8=".ihabdevteam-core-scope .pass-card-bg-left-color-grid{background:var(--color-white)}.ihabdevteam-core-scope .pass-card-bg-left-color-grid__bar{background:linear-gradient(120deg,var(--color-main),var(--color-sub));border-radius:16px 0 0 16px;height:100%;left:0;position:absolute;top:0;width:76%}.ihabdevteam-core-scope .pass-card-bg-left-color-grid__grid{--grid-line:rgba(73,156,223,.06);background-image:linear-gradient(rgba(73,156,223,.06) 1px,transparent 0),linear-gradient(90deg,rgba(73,156,223,.06) 1px,transparent 0);background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:24px 24px;inset:0;position:absolute}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg-left-color-grid__grid{--grid-line:transparent}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg-left-color-grid__bar{background:var(--pass-card-expired-shape)}";Q(B8);const Jl={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function vm(t={}){const e=dt(Jl,va,ya);return n.jsxs("div",{ref:e,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),n.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${Cr}")`}})]})}var E8=".ihabdevteam-core-scope .sound-compass{align-items:center;display:flex;flex-direction:column;width:100%}.ihabdevteam-core-scope .sound-compass__status{color:var(--color-lightGray);font-size:13px;letter-spacing:-.01em;margin-bottom:12px}.ihabdevteam-core-scope .sound-compass__svg{left:0;overflow:visible;position:absolute;top:0}.ihabdevteam-core-scope .sound-compass__speaker-btn{--scb-idle-bg:var(--color-deepWhite);--scb-idle-border:var(--color-whiteLine);--scb-idle-fg:var(--color-lightGray);--scb-active-bg:var(--color-main);--scb-active-border:var(--color-main);--scb-active-fg:#fff;--scb-played-bg:var(--color-sub);--scb-played-border:var(--color-sub);--scb-played-fg:#fff;--scb-wrong-bg:#ef4444;--scb-wrong-border:#ef4444;--scb-wrong-fg:#fff;all:unset;align-items:center;border-radius:50%;border-style:solid;border-width:1px;box-sizing:border-box;display:flex;flex-direction:column;gap:1px;justify-content:center;position:relative;transition:background-color .15s,border-color .15s,color .15s;z-index:1}.ihabdevteam-core-scope .sound-compass__speaker-btn--idle{background:var(--scb-idle-bg);border-color:var(--scb-idle-border);color:var(--scb-idle-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--active{background:var(--scb-active-bg);border-color:var(--scb-active-border);color:var(--scb-active-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--correct,.ihabdevteam-core-scope .sound-compass__speaker-btn--played{background:var(--scb-played-bg);border-color:var(--scb-played-border);color:var(--scb-played-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--wrong{background:var(--scb-wrong-bg);border-color:var(--scb-wrong-border);color:var(--scb-wrong-fg)}.ihabdevteam-core-scope .sound-compass__speaker-number{color:inherit;font-weight:700;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .sound-compass__compass-wrap{flex-shrink:0;margin-bottom:24px;overflow:visible;position:relative}.ihabdevteam-core-scope .sound-compass__center{align-items:center;background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:50%;color:var(--color-lightGray);display:flex;justify-content:center;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}@keyframes sound-compass-pulse{0%{opacity:0;transform:scale(.95)}8%{opacity:.45;transform:scale(1.05)}to{opacity:0;transform:scale(2.8)}}.ihabdevteam-core-scope .sound-compass__pulse{animation:sound-compass-pulse 1s cubic-bezier(.33,1,.68,1) infinite;background:var(--color-main);border-radius:50%;height:40px;left:0;pointer-events:none;position:absolute;top:0;width:40px}.ihabdevteam-core-scope .sound-compass__speaker-pos{position:absolute}";Q(E8);const Ql=(t,e,a)=>t+(e-t)*a;function ym({speakers:t,size:e=300,viewT:a=0,activeSpeakerId:o=null,playedIds:r,selectedId:i=null,answerId:s=null,showFeedback:l=!1,clickable:u=!1,onSelectSpeaker:d,buttonSize:h=40,showIcon:p=!0}){const m=Math.max(0,Math.min(1,a)),g=e/2,f=110/300,b=.18,y=I=>e*(f+(I-1)*b),v=I=>{const q=y(I.row??1),P=I.angleDeg*Math.PI/180;return{x:g+q*Math.cos(P),y:g+q*Math.sin(P)}},x=Math.max(...t.map(I=>I.row??1),1),_=e*.08,C=e*.1,T=e*.24,w=e-2*_,S=e-C-T,D=e-T/2,A=c.useMemo(()=>[...new Set(t.map(I=>I.deg))].sort((I,q)=>I-q),[t]),N=A.length,O=Math.max(68,N>1?w/(N-1):0),j=c.useMemo(()=>new Map(A.map((I,q)=>[I,q])),[A]),k=I=>{const q=j.get(I.deg)??0,P=g+(q-(N-1)/2)*O,H=x>1?Math.min(68,S/(x-1)):0,V=H*(x-1),U=C+(S-V)/2,ee=x===1?C+S*.4:U+(x-(I.row??1))*H;return{x:P,y:ee}},E=I=>{const q=v(I),P=k(I);return{x:Ql(q.x,P.x,m),y:Ql(q.y,P.y,m)}},L={x:g,y:Ql(g,D,m)},z=Math.round(h*1.2),te=Math.round(Math.max(16,Math.min(80,h*.7))),J=[],ae=new Map;for(const I of t){const q=I.row??1;ae.has(q)||ae.set(q,[]),ae.get(q).push(I)}for(const[I,q]of ae.entries()){if(q.length<2)continue;const P=[...q].sort((oe,X)=>oe.deg-X.deg),H=P.map(oe=>E(oe)),V=P.map(oe=>oe.deg),U=V[V.length-1]-V[0],ee=U/(V.length-1),pe=360-U,he=P.length>=3&&ee>0&&pe<=ee*1.5;J.push({key:`arc-${I}`,d:`M ${H[0].x} ${H[0].y} `+H.slice(1).map(oe=>`L ${oe.x} ${oe.y}`).join(" ")+(he?` L ${H[0].x} ${H[0].y}`:"")})}const M=c.useMemo(()=>new Set(r??[]),[r]),R=I=>{if(o===I.id)return"active";if(l){if(I.id===s)return"correct";if(I.id===i&&i!==s)return"wrong"}return M.has(I.id)?"played":"idle"},$=I=>o===I.id||l&&I.id===s,F=(I,q)=>{switch(I){case"played":case"correct":return n.jsx(jd,{size:q});case"wrong":return n.jsx(Vd,{size:q});default:return n.jsx(Hd,{size:q})}};return n.jsx("div",{className:"sound-compass",children:n.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:e,height:e},children:[n.jsxs("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,className:"sound-compass__svg",children:[m===0&&t.map(I=>{const{x:q,y:P}=E(I);return n.jsx("line",{x1:L.x,y1:L.y,x2:q,y2:P,stroke:"#dde3ec",strokeWidth:"1"},I.id)}),J.map(I=>n.jsx("path",{d:I.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},I.key))]}),n.jsx("div",{className:"sound-compass__center",style:{width:z,height:z,left:L.x,top:L.y},children:n.jsx(Wd,{size:te,color:"currentColor",strokeWidth:1.5})}),t.map((I,q)=>{const{x:P,y:H}=E(I),V=R(I),U=$(I),ee={pointerEvents:u?"auto":"none",cursor:u?"pointer":"default",zIndex:V!=="idle"?10:1},pe=h,he=Math.round(Math.max(10,Math.min(56,pe*.38))),oe=Math.round(Math.max(7,Math.min(18,pe*.2))),X=Math.round(Math.max(10,Math.min(56,pe*.4)));return n.jsxs("div",{className:"sound-compass__speaker-pos",style:{...ee,left:P-pe/2,top:H-pe/2},onClick:()=>u&&d?.(I.id),children:[U&&n.jsx("div",{className:"sound-compass__pulse",style:{width:pe,height:pe}}),n.jsxs("button",{type:"button",tabIndex:-1,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${V}`,style:{width:pe,height:pe},"aria-label":I.label,children:[p&&F(V,he),n.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:p?oe:X},children:q+1})]})]},I.id)})]})})}function xm(t,{mode:e="playback",autoStart:a=!1,onPlaySpeaker:o,onComplete:r,playMs:i=1100,feedbackMs:s=1500}={}){const[l,u]=c.useState([]),[d,h]=c.useState(0),[p,m]=c.useState("idle"),[g,f]=c.useState(null),[b,y]=c.useState([]),[v,x]=c.useState(null),[_,C]=c.useState(0),T=c.useRef(0),w=c.useCallback(M=>{T.current=typeof M=="function"?M(T.current):M,C(T.current)},[]),S=c.useRef(o),D=c.useRef(r);c.useEffect(()=>{S.current=o,D.current=r},[o,r]);const A=c.useRef([]),N=()=>{A.current.forEach(clearTimeout),A.current=[]},O=(M,R)=>{A.current.push(setTimeout(R,M))};c.useEffect(()=>()=>N(),[]);const j=l[d]?.id??null,k=c.useCallback(()=>{N(),m("playing"),y([]),x(null),w(0);let M=0;t.forEach((R,$)=>{O(M,()=>{h($),f(R.id),S.current?.(R)}),O(M+1e3,()=>{f(null),y(F=>[...F,R.id])}),M+=1300}),O(M,()=>{m("done"),D.current?.({score:0,total:t.length})})},[t,w]),E=c.useCallback((M,R)=>{if(R>=M.length){m("done"),D.current?.({score:T.current,total:M.length});return}h(R),x(null),m("playing"),f(M[R].id),S.current?.(M[R]),O(i,()=>{f(null),m("waiting")})},[i]),L=c.useCallback(()=>{N();const M=ze(t);u(M),w(0),y([]),E(M,0)},[t,E,w]),z=c.useCallback(()=>{e==="playback"?(u(t),k()):L()},[e,t,k,L]),te=c.useCallback(()=>{N(),m("idle"),f(null),y([]),x(null),h(0),w(0),u([])},[w]);c.useEffect(()=>{a?z():te()},[e,t.length,a]);const J=c.useCallback(M=>{p!=="waiting"||e==="playback"||(x(M),M===l[d]?.id&&w(R=>R+1),e==="exam"?(m("playing"),O(400,()=>E(l,d+1))):(m("feedback"),O(s,()=>E(l,d+1))))},[p,e,l,d,E,s,w]),ae=e==="playback"?t.length:l.length;return{bind:{activeSpeakerId:g,playedIds:b,selectedId:v,answerId:j,showFeedback:p==="feedback",clickable:p==="waiting",onSelectSpeaker:J},index:d,total:ae,score:_,phase:p,done:p==="done",start:z,reset:te}}function Cm({children:t,position:e="top-left",size:a=24,className:o=""}){return n.jsx("span",{className:_e("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${e}`,o),children:t})}var D8=".ihabdevteam-core-scope .shortcut-badge{align-items:center;display:inline-flex;gap:4px;pointer-events:none;z-index:10}.ihabdevteam-core-scope .shortcut-badge--top-left{left:0;position:absolute;top:0;transform:translate(-25%,-25%)}.ihabdevteam-core-scope .shortcut-badge--top-right{position:absolute;right:0;top:0;transform:translate(25%,-25%)}.ihabdevteam-core-scope .shortcut-badge--bottom-left{bottom:0;left:0;position:absolute;transform:translate(-25%,25%)}.ihabdevteam-core-scope .shortcut-badge--bottom-right{bottom:0;position:absolute;right:0;transform:translate(25%,25%)}.ihabdevteam-core-scope .shortcut-badge__group{align-items:center;display:inline-flex;gap:4px}.ihabdevteam-core-scope .shortcut-badge__plus{color:var(--color-lightGray);font-size:11px;line-height:1}.ihabdevteam-core-scope .shortcut-badge__key{align-items:center;background:var(--color-lightBlack);border:2px solid var(--color-pureWhite);border-radius:var(--radius-sm);box-sizing:border-box;color:var(--color-white);display:inline-flex;font-family:inherit;font-size:11px;font-weight:400;justify-content:center;line-height:1;min-height:24px;min-width:24px;padding:0 5px;white-space:nowrap}";Q(D8);function _m({keys:t,anchor:e="top-right",className:a=""}){const o=Array.isArray(t)?t:[t];return n.jsx("span",{className:_e("shortcut-badge",`shortcut-badge--${e}`,a),children:o.map((r,i)=>n.jsxs("span",{className:"shortcut-badge__group",children:[i>0&&n.jsx("span",{className:"shortcut-badge__plus",children:"+"}),n.jsx("kbd",{className:"shortcut-badge__key",children:r})]},`${r}-${i}`))})}var L8=".ihabdevteam-core-scope .divider--horizontal{align-items:center;border:none;border-top:1px solid var(--color-whiteLine);display:flex;width:100%}.ihabdevteam-core-scope .divider--vertical{border:none;border-left:1px solid var(--color-whiteLine);display:inline-block;height:1em;vertical-align:middle;width:1px}.ihabdevteam-core-scope .divider--labeled{border-top:none;gap:var(--spacing-s)}.ihabdevteam-core-scope .divider__line{background:var(--color-whiteLine);flex:1 1 auto;height:1px}.ihabdevteam-core-scope .divider__label{color:var(--color-gray);flex:0 0 auto;white-space:nowrap}";Q(L8);function wm({orientation:t="horizontal",label:e,className:a=""}){const o=_e("divider",`divider--${t}`,e&&t==="horizontal"?"divider--labeled":"",a);return t==="vertical"?n.jsx("div",{className:o,role:"separator","aria-orientation":"vertical"}):e?n.jsxs("div",{className:o,role:"separator","aria-orientation":"horizontal",children:[n.jsx("span",{className:"divider__line"}),n.jsx("span",{className:"divider__label caption-1",children:e}),n.jsx("span",{className:"divider__line"})]}):n.jsx("div",{className:o,role:"separator","aria-orientation":"horizontal"})}var j8='.ihabdevteam-core-scope .radio{align-items:center;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .radio input{height:0;opacity:0;position:absolute;width:0}.ihabdevteam-core-scope .radio__dot{background:var(--color-pureWhite);border:1.5px solid var(--color-whiteLine);border-radius:50%;display:inline-block;flex-shrink:0;height:20px;position:relative;transition:border-color .15s,background .15s;width:20px}.ihabdevteam-core-scope .radio__dot:before{background:var(--color-pureWhite);border-radius:50%;content:"";inset:4px;position:absolute;transform:scale(0);transition:transform .15s}.ihabdevteam-core-scope .radio input:checked+.radio__dot{background:var(--color-main);border-color:var(--color-main)}.ihabdevteam-core-scope .radio input:checked+.radio__dot:before{transform:scale(1)}.ihabdevteam-core-scope .radio:not(.radio--disabled):hover .radio__dot{border-color:var(--color-main)}.ihabdevteam-core-scope .radio input:focus-visible+.radio__dot{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .radio__label{color:var(--color-black)}.ihabdevteam-core-scope .radio--disabled{cursor:not-allowed;opacity:.45}';Q(j8);function ec({checked:t,onChange:e,name:a,value:o,disabled:r=!1,label:i,className:s=""}){const l=c.useId();return n.jsxs("label",{className:`radio${r?" radio--disabled":""} ${s}`.trim(),htmlFor:l,children:[n.jsx("input",{id:l,type:"radio",name:a,value:o,checked:t,disabled:r,onChange:u=>e?.(u.target.checked)}),n.jsx("span",{className:"radio__dot"}),i&&n.jsx("span",{className:"radio__label body-2",children:i})]})}var M8=".ihabdevteam-core-scope .radio-group{display:flex}.ihabdevteam-core-scope .radio-group--vertical{flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .radio-group--horizontal{flex-direction:row;flex-wrap:wrap;gap:var(--spacing-l)}";Q(M8);function km({options:t,value:e,onChange:a,name:o,disabled:r=!1,direction:i="vertical",className:s=""}){const l=c.useId(),u=o??`radio-group-${l}`;return n.jsx("div",{className:`radio-group radio-group--${i} ${s}`.trim(),role:"radiogroup",children:t.map(d=>n.jsx(ec,{name:u,value:d.value,checked:e===d.value,disabled:r||d.disabled,label:d.label,onChange:h=>{h&&a?.(d.value)}},d.value))})}var P8=".ihabdevteam-core-scope .alert{align-items:flex-start;background:color-mix(in srgb,var(--alert-color) 10%,transparent);border:1px solid color-mix(in srgb,var(--alert-color) 25%,transparent);border-radius:var(--radius-sm);display:flex;gap:var(--spacing-s);padding:var(--spacing-m)}.ihabdevteam-core-scope .alert__icon{align-items:center;color:var(--alert-color);display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .alert__body{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.ihabdevteam-core-scope .alert__header{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .alert__message--indented{margin-left:calc(20px + var(--spacing-xs))}.ihabdevteam-core-scope .alert__title{color:var(--color-black)}.ihabdevteam-core-scope .alert__message{color:var(--color-darkGray)}.ihabdevteam-core-scope .alert__dismiss{align-items:center;background:transparent;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:18px;height:20px;justify-content:center;line-height:1;padding:0;width:20px}.ihabdevteam-core-scope .alert__dismiss:hover{color:var(--color-darkGray)}.ihabdevteam-core-scope .alert--info{--alert-color:var(--color-main)}.ihabdevteam-core-scope .alert--success{--alert-color:var(--color-success)}.ihabdevteam-core-scope .alert--warning{--alert-color:var(--color-warn)}.ihabdevteam-core-scope .alert--danger{--alert-color:var(--color-error)}";Q(P8);const R8={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function Sm({tone:t="info",title:e,message:a,children:o,dismissible:r=!1,onDismiss:i,className:s=""}){const{t:l}=ge(),[u,d]=c.useState(!1),h=c.useCallback(()=>{d(!0),i?.()},[i]);if(u)return null;const p=_e("alert",`alert--${t}`,s),m=!!e,g=!!(a||o);return n.jsxs("div",{className:p,role:"alert",children:[n.jsxs("div",{className:"alert__body",children:[n.jsxs("div",{className:"alert__header",children:[n.jsx(Re,{icon:R8[t],size:20,className:"alert__icon"}),m&&n.jsx("span",{className:"alert__title body-2",children:e}),!m&&g&&n.jsx("div",{className:"alert__message body-3",children:a??o})]}),m&&g&&n.jsx("div",{className:"alert__message alert__message--indented body-3",children:a??o})]}),r&&n.jsx("button",{type:"button",className:"alert__dismiss",onClick:h,"aria-label":l("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}var $8=".ihabdevteam-core-scope .search-summary{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);box-shadow:var(--shadow-card);box-sizing:border-box;color:var(--color-gray);display:inline-flex;gap:var(--spacing-xs);max-width:100%;padding:30px 20px;text-align:left}.ihabdevteam-core-scope .search-summary__icon{color:currentColor;display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .search-summary__text{min-width:0;overflow-wrap:anywhere;word-break:keep-all}.ihabdevteam-core-scope .search-summary__em{color:var(--color-main)}.ihabdevteam-core-scope .search-summary--ready{background:var(--color-white);color:var(--color-deepGray)}.ihabdevteam-core-scope .search-summary--ready .search-summary__em{color:var(--color-main)}.ihabdevteam-core-scope .search-summary--guide{background:var(--color-deepWhite);color:var(--color-gray)}.ihabdevteam-core-scope .search-summary--error{background:var(--color-white);color:var(--color-error)}.ihabdevteam-core-scope .search-summary--error .search-summary__em{color:var(--color-error)}";Q($8);const I8={ready:"search",guide:"info",error:"circle-alert"};function O8(t,e){const a=e.filter(Boolean);if(a.length===0)return t;const o=[];let r=0,i=0;for(const s of a){const l=t.indexOf(s,r);l<0||(l>r&&o.push(t.slice(r,l)),o.push(n.jsx("strong",{className:"search-summary__em body-2",children:s},i++)),r=l+s.length)}return r<t.length&&o.push(t.slice(r)),o}function Am({status:t="guide",label:e,children:a,emphasis:o,icon:r,className:i=""}){const s=r===!1?null:r??I8[t],l=_e("search-summary",`search-summary--${t}`,i),u=e??a,d=typeof u=="string"&&o&&o.length>0?O8(u,o):u;return n.jsxs("div",{className:l,role:"status","aria-live":"polite",children:[s!=null&&n.jsx(Re,{icon:s,size:18,className:"search-summary__icon"}),n.jsx("span",{className:"search-summary__text body-2",children:d})]})}var z8=".ihabdevteam-core-scope .tabs{display:flex;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .tabs__list{border-bottom:1px solid var(--color-whiteLine);display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .tabs__tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;border-bottom:2px solid transparent;color:var(--color-gray);cursor:pointer;padding:0 var(--spacing-xs);transition:color .15s,border-color .15s;white-space:nowrap}.ihabdevteam-core-scope .tabs__list--32 .tabs__tab{height:32px}.ihabdevteam-core-scope .tabs__list--40 .tabs__tab{height:40px}.ihabdevteam-core-scope .tabs__list--48 .tabs__tab{height:48px}.ihabdevteam-core-scope .tabs__tab:hover:not(:disabled){color:var(--color-darkGray)}.ihabdevteam-core-scope .tabs__tab:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .tabs__tab--active{border-bottom-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .tabs__tab:disabled{color:var(--color-disabled);cursor:not-allowed}.ihabdevteam-core-scope .tabs__panel{outline:none}.ihabdevteam-core-scope .tabs__panel:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}";Q(z8);function Tm({items:t=[],value:e,onChange:a,className:o="",size:r=40}){const{t:i}=ge(),s=c.useRef(null),l=e??t[0]?.key,u=()=>Array.from(s.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),d=(m,g=u())=>{if(g.length===0)return;const f=(m%g.length+g.length)%g.length;g[f]?.focus(),g[f]?.click()},h=m=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(m.key))return;m.preventDefault();const g=u(),f=g.indexOf(m.currentTarget);m.key==="ArrowRight"||m.key==="ArrowDown"?d(f+1,g):m.key==="ArrowLeft"||m.key==="ArrowUp"?d(f-1,g):m.key==="Home"?d(0,g):d(g.length-1,g)},p=t.find(m=>m.key===l);return n.jsxs("div",{className:`tabs ${o}`.trim(),children:[n.jsx("div",{ref:s,className:`tabs__list tabs__list--${r}`,role:"tablist","aria-label":i("tabs.ariaLabel","\uD0ED"),children:t.map(m=>n.jsx("button",{id:`tabs__tab-${m.key}`,type:"button",role:"tab","aria-selected":m.key===l,"aria-controls":`tabs__panel-${m.key}`,disabled:m.disabled,tabIndex:m.key===l?0:-1,className:`tabs__tab body-2${m.key===l?" tabs__tab--active":""}`,onClick:()=>a?.(m.key),onKeyDown:h,children:m.label},m.key))}),p&&n.jsx("div",{id:`tabs__panel-${p.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${p.key}`,tabIndex:0,className:"tabs__panel",children:p.panel},p.key)]})}var F8=".ihabdevteam-core-scope .avatar{align-items:center;background:var(--color-lightGray-a10);color:var(--color-gray);display:inline-flex;flex-shrink:0;height:var(--avatar-size);justify-content:center;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--avatar-size)}.ihabdevteam-core-scope .avatar--circle{border-radius:50%}.ihabdevteam-core-scope .avatar--rounded-square{border-radius:var(--radius-card)}.ihabdevteam-core-scope .avatar--xs{--avatar-size:24px}.ihabdevteam-core-scope .avatar--sm{--avatar-size:32px}.ihabdevteam-core-scope .avatar--md{--avatar-size:40px}.ihabdevteam-core-scope .avatar--lg{--avatar-size:56px}.ihabdevteam-core-scope .avatar--xl{--avatar-size:80px}.ihabdevteam-core-scope .avatar__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ihabdevteam-core-scope .avatar__initials{font-size:calc(var(--avatar-size)*.4);font-weight:600;line-height:1}.ihabdevteam-core-scope .avatar__icon{align-items:center;display:inline-flex;justify-content:center}";Q(F8);const W8={xs:12,sm:16,md:20,lg:28,xl:36};function H8(t){const e=t.trim().split(/\s+/).filter(Boolean);return e.length===0?"":e.length===1?[...e[0]].slice(0,2).join("").toUpperCase():([...e[0]][0]+[...e[e.length-1]][0]).toUpperCase()}function Nm({src:t,name:e,size:a="md",shape:o="circle",className:r=""}){const{t:i}=ge(),[s,l]=c.useState(!1),u=e?H8(e):"",d=!!t&&!s,h=!d&&!!u,p=e||i("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return n.jsxs("span",{className:`avatar avatar--${a} avatar--${o} ${r}`.trim(),role:"img","aria-label":p,children:[d&&n.jsx("img",{className:"avatar__image",src:t,alt:p,onError:()=>l(!0)}),!d&&h&&n.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:u}),!d&&!h&&n.jsx(Re,{icon:"user-round",size:W8[a],className:"avatar__icon"})]})}var V8=".ihabdevteam-core-scope .file-upload{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .file-upload__dropzone{align-items:center;background:var(--color-deepWhite);border:1px dashed var(--color-whiteLine);border-radius:var(--radius-card);cursor:pointer;display:flex;flex-direction:column;gap:var(--spacing-xs);justify-content:center;padding:var(--spacing-xl);position:relative;transition:border-color .15s,background .15s}.ihabdevteam-core-scope .file-upload__dropzone:hover:not(.file-upload__dropzone--disabled){border-color:var(--color-main)}.ihabdevteam-core-scope .file-upload__dropzone:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .file-upload__dropzone--dragging{background:var(--color-main-a10);border-color:var(--color-main)}.ihabdevteam-core-scope .file-upload__dropzone--disabled{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .file-upload__icon{color:var(--color-gray)}.ihabdevteam-core-scope .file-upload__prompt{color:var(--color-gray);text-align:center}.ihabdevteam-core-scope .file-upload__browse-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-pureWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);color:var(--color-main);cursor:pointer;padding:var(--spacing-xs) var(--spacing-m)}.ihabdevteam-core-scope .file-upload__browse-button:disabled{color:var(--color-disabled);cursor:not-allowed}.ihabdevteam-core-scope .file-upload__input{height:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;width:1px}.ihabdevteam-core-scope .file-upload__list{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .file-upload__list-item{align-items:center;background:var(--color-deepWhite);border-radius:var(--radius-sm);display:flex;gap:var(--spacing-s);justify-content:space-between;padding:var(--spacing-xs) var(--spacing-s)}.ihabdevteam-core-scope .file-upload__file-name{color:var(--color-darkGray);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .file-upload__remove-button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;flex-shrink:0;justify-content:center}.ihabdevteam-core-scope .file-upload__remove-button:hover{color:var(--color-error)}";Q(V8);function G8(t,e){if(!e)return!0;const a=e.split(",").map(i=>i.trim()).filter(Boolean);if(a.length===0)return!0;const o=t.name.toLowerCase(),r=t.type.toLowerCase();return a.some(i=>{const s=i.toLowerCase();return s.startsWith(".")?o.endsWith(s):s.endsWith("/*")?r.startsWith(s.slice(0,-1)):r===s})}function Bm({onFilesSelected:t,accept:e,multiple:a=!1,disabled:o=!1,showFileList:r=!0,files:i,onRemove:s,className:l=""}){const{t:u}=ge(),d=c.useRef(null),[h,p]=c.useState(!1),[m,g]=c.useState([]),f=i??m,b=w=>{if(!w||w.length===0)return;const S=Array.from(w).filter(A=>G8(A,e));if(S.length===0)return;const D=a?S:S.slice(0,1);if(i===void 0){const A=a?[...f,...D]:D;g(A),t?.(A)}else t?.(D)},y=w=>{w.preventDefault(),!o&&p(!0)},v=w=>{w.preventDefault(),p(!1)},x=w=>{w.preventDefault(),p(!1),!o&&b(w.dataTransfer.files)},_=w=>{b(w.target.files),w.target.value=""},C=()=>{o||d.current?.click()},T=w=>{if(s){s(w);return}if(i===void 0){const S=f.filter((D,A)=>A!==w);g(S),t?.(S)}};return n.jsxs("div",{className:`file-upload ${l}`.trim(),children:[n.jsxs("div",{className:_e("file-upload__dropzone",h&&"file-upload__dropzone--dragging",o&&"file-upload__dropzone--disabled"),role:"button",tabIndex:o?-1:0,"aria-disabled":o,onClick:C,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),C())},onDragOver:y,onDragLeave:v,onDrop:x,children:[n.jsx(Re,{icon:"upload",size:24,className:"file-upload__icon"}),n.jsx("span",{className:"file-upload__prompt body-2",children:u("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),n.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:o,onClick:w=>{w.stopPropagation(),C()},children:u("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),n.jsx("input",{ref:d,type:"file",className:"file-upload__input",accept:e,multiple:a,disabled:o,onChange:_,tabIndex:-1})]}),r&&f.length>0&&n.jsx("ul",{className:"file-upload__list",children:f.map((w,S)=>n.jsxs("li",{className:"file-upload__list-item body-3",children:[n.jsx("span",{className:"file-upload__file-name body-3",children:w.name}),n.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":u("fileUpload.removeAriaLabel",{name:w.name}),onClick:()=>T(S),children:n.jsx(Re,{icon:"x",size:14})})]},`${w.name}-${S}`))})]})}var q8=".ihabdevteam-core-scope .breadcrumb{align-items:center;display:inline-flex}.ihabdevteam-core-scope .breadcrumb__list{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .breadcrumb__item{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .breadcrumb__link{align-items:center;background:none;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;justify-content:center;margin:0;min-height:24px;min-width:24px;padding:0}.ihabdevteam-core-scope .breadcrumb__link:hover{color:var(--color-main);text-decoration:underline}.ihabdevteam-core-scope .breadcrumb__link:focus-visible{border-radius:var(--radius-xs);outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .breadcrumb__current{color:var(--color-darkGray)}.ihabdevteam-core-scope .breadcrumb__separator{align-items:center;color:var(--color-disabled);display:inline-flex;flex-shrink:0}";Q(q8);function Em({items:t,className:e=""}){return n.jsx("nav",{className:`breadcrumb ${e}`.trim(),"aria-label":"breadcrumb",children:n.jsx("ol",{className:"breadcrumb__list",children:t.map((a,o)=>{const r=o===t.length-1;return n.jsxs("li",{className:"breadcrumb__item",children:[r?n.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:a.label}):n.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:a.onClick,children:a.label}),!r&&n.jsx(Re,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},o)})})})}var U8=".ihabdevteam-core-scope .rating{--rating-color:var(--color-warn);--rating-empty-color:var(--color-whiteLine);align-items:center;display:inline-flex;gap:2px}.ihabdevteam-core-scope .rating__item{align-items:center;background:none;border:none;display:inline-flex;justify-content:center;line-height:0;margin:0;padding:0}.ihabdevteam-core-scope .rating__item--interactive{cursor:pointer}.ihabdevteam-core-scope .rating__item--interactive:focus-visible{border-radius:var(--radius-xs);outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .rating--readOnly .rating__item{cursor:default}.ihabdevteam-core-scope .rating__star-wrap{display:inline-flex;line-height:0;position:relative}.ihabdevteam-core-scope .rating__star--empty{color:var(--rating-empty-color)}.ihabdevteam-core-scope .rating__star--empty svg{fill:var(--rating-empty-color)}.ihabdevteam-core-scope .rating__star-fill{display:inline-flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap;width:100%}.ihabdevteam-core-scope .rating__star-fill--half{width:50%}.ihabdevteam-core-scope .rating__star--filled{color:var(--rating-color)}.ihabdevteam-core-scope .rating__star--filled svg{fill:var(--rating-color)}";Q(U8);const Y8={small:14,medium:20,large:28};function Dm({value:t,onChange:e,max:a=5,readOnly:o=!1,size:r="medium",ariaLabel:i,className:s=""}){const{t:l}=ge(),u=o||!e,[d,h]=c.useState(null),p=d??t,m=Y8[r],g=y=>{u||e?.(y)},f=y=>{u||h(y)},b=()=>{u||h(null)};return n.jsx("div",{className:`rating rating--${r}${u?" rating--readOnly":""} ${s}`.trim(),role:u?"img":"radiogroup","aria-label":u?l("rating.valueLabel",{value:t,max:a}):i??l("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:b,children:Array.from({length:a},(y,v)=>{const x=v+1,_=Math.max(0,Math.min(1,p-v)),C=_>0&&_<1,T=n.jsxs("span",{className:"rating__star-wrap",children:[n.jsx(Re,{icon:"star",size:m,className:"rating__star rating__star--empty"}),_>0&&n.jsx("span",{className:`rating__star-fill${C?" rating__star-fill--half":""}`,children:n.jsx(Re,{icon:"star",size:m,className:"rating__star rating__star--filled"})})]});return u?n.jsx("span",{className:"rating__item","aria-hidden":"true",children:T},x):n.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":t===x,"aria-label":l("rating.starLabel",{n:x}),onClick:()=>g(x),onMouseEnter:()=>f(x),children:T},x)})})}var K8=".ihabdevteam-core-scope .color-picker{display:flex;flex-wrap:wrap;gap:var(--spacing-xs)}.ihabdevteam-core-scope .color-picker__swatch{align-items:center;border:none;cursor:pointer;display:inline-flex;justify-content:center;padding:0;position:relative;transition:transform .12s,box-shadow .12s}.ihabdevteam-core-scope .color-picker__swatch--32{border-radius:8px;height:32px;width:32px}.ihabdevteam-core-scope .color-picker__swatch--40{border-radius:10px;height:40px;width:40px}.ihabdevteam-core-scope .color-picker__swatch--48{border-radius:12px;height:48px;width:48px}.ihabdevteam-core-scope .color-picker__swatch:hover{transform:scale(1.08)}.ihabdevteam-core-scope .color-picker__swatch:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .color-picker__check{color:#fff}.ihabdevteam-core-scope .color-picker__check svg{display:block}";Q(K8);const Z8=20,X8=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function Lm({value:t,onChange:e,palette:a=X8,size:o=40,className:r=""}){const{t:i}=ge();return n.jsx("div",{className:`color-picker ${r}`.trim(),role:"group",children:a.map(s=>{const l=t?.toLowerCase()===s.toLowerCase();return n.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${o}`,style:{backgroundColor:s},onClick:()=>e(s),"aria-pressed":l,"aria-label":l?`${s} ${i("colorPicker.selected","\uC120\uD0DD\uB428")}`:s,children:l&&n.jsx(Re,{icon:"check",size:Z8,className:"color-picker__check"})},s)})})}var J8=".ihabdevteam-core-scope .count-tile{background:var(--color-deepWhite);border:1px solid var(--color-darkWhite);border-radius:16px;box-sizing:border-box;flex-shrink:0;height:72px;padding:12px;position:relative;transition:border-color .15s,background .15s;width:72px}.ihabdevteam-core-scope .count-tile__icon{color:var(--color-main);left:12px;position:absolute;top:12px}.ihabdevteam-core-scope .count-tile__count{bottom:12px;color:var(--color-darkGray);line-height:1;position:absolute;right:12px}.ihabdevteam-core-scope .count-tile--clickable{cursor:pointer}.ihabdevteam-core-scope .count-tile--clickable:hover{background:var(--color-white)}@media (max-width:767px){.ihabdevteam-core-scope .count-tile{border-radius:14px;height:60px;padding:10px;width:60px}.ihabdevteam-core-scope .count-tile__icon{left:8px;top:8px}.ihabdevteam-core-scope .count-tile__count{bottom:8px;right:8px}}";Q(J8);function jm({icon:t,count:e,title:a,className:o="",onClick:r,onMouseEnter:i,onMouseLeave:s}){const l=_e("count-tile",r&&"count-tile--clickable",o);return n.jsxs("div",{className:l,onClick:r,onKeyDown:r?u=>{u.key!=="Enter"&&u.key!==" "||(u.preventDefault(),u.currentTarget.click())}:void 0,onMouseEnter:i,onMouseLeave:s,role:r?"button":"img",tabIndex:r?0:void 0,"aria-label":a?`${a} ${e}`:String(e),children:[n.jsx(Re,{icon:t,size:20,className:"count-tile__icon"}),n.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:e})]})}var Q8=".ihabdevteam-core-scope .dialog{align-items:center;background:rgba(16,24,32,.6);display:flex;inset:0;justify-content:center;padding:32px;position:fixed;z-index:2200;z-index:var(--z-modal,2200)}@supports (color:rgb(0 0 0/0)) and (top:var(--f )){.ihabdevteam-core-scope .dialog{background:var(--color-popupBlock,rgba(16,24,32,.6))}}.ihabdevteam-core-scope .dialog__surface{background:#fff;background:var(--color-pureWhite,#fff);border-radius:20px;border-radius:var(--radius-dialog,20px);box-shadow:var(--shadow-popup);max-height:calc(100vh - 64px);outline:none;overflow:auto;position:relative;width:100%}.ihabdevteam-core-scope .dialog__surface--sm{max-width:420px}.ihabdevteam-core-scope .dialog__surface--md{max-width:640px}.ihabdevteam-core-scope .dialog__surface--lg{max-width:1000px}.ihabdevteam-core-scope .dialog__surface--full{background:none;box-shadow:none;max-width:1000px;overflow:visible}.ihabdevteam-core-scope .dialog__header{padding:24px 24px 0}.ihabdevteam-core-scope .dialog__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .dialog__close{align-items:center;background:none;border:0;border-radius:999px;border-radius:var(--radius-full,999px);color:var(--color-gray);cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:12px;top:12px;transition:background .15s ease,color .15s ease;width:40px}.ihabdevteam-core-scope .dialog__close:hover{background:var(--color-darkWhite);color:var(--color-black)}.ihabdevteam-core-scope .dialog__close>svg{height:20px;width:20px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close{background:hsla(0,0%,100%,.1);color:var(--color-pureWhite);right:0;top:-48px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close:hover{background:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .dialog__body{padding:24px}.ihabdevteam-core-scope .dialog__surface--full .dialog__body{padding:0}@media (max-width:639px){.ihabdevteam-core-scope .dialog{padding:16px}.ihabdevteam-core-scope .dialog__body{padding:20px}}";Q(Q8);function ek(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:n.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Mm({open:t,onClose:e,ariaLabel:a,title:o,children:r,size:i="md",closeOnBackdrop:s=!0,closeOnEscape:l=!0,showClose:u=!0,className:d,contentClassName:h}){const{t:p}=ge(),m=c.useId(),g=c.useRef(null),f=c.useRef(null),b=c.useCallback(()=>e(),[e]);return c.useEffect(()=>{if(!t){f.current?.focus(),f.current=null;return}f.current=document.activeElement;const{overflow:y}=document.body.style;document.body.style.overflow="hidden",g.current?.focus();const v=l?Il(b):void 0;return()=>{v?.(),document.body.style.overflow=y}},[t,l,b]),!t||typeof document>"u"?null:Yt.createPortal(n.jsx("div",{className:_e("dialog",d),onClick:s?b:void 0,children:n.jsxs("div",{ref:g,role:"dialog","aria-modal":"true","aria-label":o?void 0:a,"aria-labelledby":o?m:void 0,tabIndex:-1,className:_e("dialog__surface",`dialog__surface--${i}`,h),onClick:y=>y.stopPropagation(),children:[o?n.jsx("div",{className:"dialog__header",children:n.jsx("h2",{id:m,className:"dialog__title h4b",children:o})}):null,u?n.jsx("button",{type:"button",className:"dialog__close","aria-label":p("common.close","\uB2EB\uAE30"),onClick:b,children:n.jsx(ek,{})}):null,n.jsx("div",{className:"dialog__body",children:r})]})}),document.body)}var tk=".ihabdevteam-core-scope .board{width:100%}.ihabdevteam-core-scope .board__head{align-items:flex-end;display:flex;flex-wrap:wrap;gap:var(--spacing-m);justify-content:space-between;margin-bottom:var(--spacing-m)}.ihabdevteam-core-scope .board__title{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:500;line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .board__toolbar{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .board__table{border-collapse:collapse;border-top:1px solid var(--color-text-primary);text-align:left;width:100%}.ihabdevteam-core-scope .board__caption{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ihabdevteam-core-scope .board__th{border-bottom:1px solid var(--color-border);color:var(--color-text-primary);font-size:var(--text-body-3-size);font-weight:500;line-height:var(--text-body-3-line);padding:14px 0}.ihabdevteam-core-scope .board__row{border-bottom:1px solid var(--color-border);transition:background .15s ease;transition:background var(--duration-fast,.15s) var(--ease-out,ease)}.ihabdevteam-core-scope .board__row:hover{background:var(--color-surface-raised)}.ihabdevteam-core-scope .board__td{color:var(--color-text-primary);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line);padding:var(--spacing-m) 0}.ihabdevteam-core-scope .board__cell--left{text-align:left}.ihabdevteam-core-scope .board__cell--center{text-align:center}.ihabdevteam-core-scope .board__cell--right{text-align:right}.ihabdevteam-core-scope .board__state{color:var(--color-text-secondary);font-size:var(--text-body-3-size);padding:56px 0;text-align:center}";Q(tk);function Pm({columns:t,rows:e,rowKey:a,title:o,toolbar:r,empty:i="\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",loading:s,caption:l,className:u=""}){const d=!s&&e.length===0;return n.jsxs("div",{className:_e("board",u),children:[o||r?n.jsxs("div",{className:"board__head",children:[o?n.jsx("h2",{className:"board__title",children:o}):n.jsx("span",{}),r?n.jsx("div",{className:"board__toolbar",children:r}):null]}):null,n.jsxs("table",{className:"board__table",children:[l?n.jsx("caption",{className:"board__caption",children:l}):null,n.jsx("thead",{children:n.jsx("tr",{children:t.map(h=>n.jsx("th",{scope:"col",className:_e("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),n.jsx("tbody",{children:s?n.jsx("tr",{children:n.jsx("td",{className:"board__state",colSpan:t.length,children:s})}):d?n.jsx("tr",{children:n.jsx("td",{className:"board__state",colSpan:t.length,children:i})}):e.map((h,p)=>n.jsx("tr",{className:"board__row",children:t.map(m=>n.jsx("td",{className:_e("board__td",`board__cell--${m.align??"left"}`),children:m.render(h,p)},m.key))},a(h,p)))})]})]})}var ak=".ihabdevteam-core-scope .person-card{display:flex;flex-direction:column}.ihabdevteam-core-scope .person-card__photo{background:var(--color-surface-raised);border-radius:var(--radius-full);flex-shrink:0;margin-inline:auto;max-width:100%;overflow:hidden}.ihabdevteam-core-scope .person-card__photo>*,.ihabdevteam-core-scope .person-card__photo>img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ihabdevteam-core-scope .person-card__name{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin-top:var(--spacing-xl);text-align:center}.ihabdevteam-core-scope .person-card__role{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin-top:6px;text-align:center}.ihabdevteam-core-scope .person-card__credentials{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:var(--spacing-xl) auto 0;max-width:100%;padding:0;text-align:left;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .person-card__credentials>li{color:var(--color-darkGray);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line)}@media (max-width:767px){.ihabdevteam-core-scope .person-card__credentials,.ihabdevteam-core-scope .person-card__name{margin-top:var(--spacing-l)}}";Q(ak);function Rm({name:t,role:e,photo:a,media:o,credentials:r,size:i=190,className:s=""}){return n.jsxs("div",{className:_e("person-card",s),children:[n.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:o??(a?n.jsx("img",{src:a,alt:e?`${t} ${e}`:t}):null)}),n.jsx("h3",{className:"person-card__name",children:t}),e?n.jsx("p",{className:"person-card__role",children:e}):null,r?.length?n.jsx("ul",{className:"person-card__credentials",children:r.map(l=>n.jsx("li",{children:l},l))}):null]})}var ok=".ihabdevteam-core-scope .timeline{display:flex;flex-direction:column;gap:56px}.ihabdevteam-core-scope .timeline__title{color:var(--color-text-primary);font-size:var(--text-h1-size);font-weight:var(--text-h1-weight);letter-spacing:var(--text-h1-spacing);line-height:var(--text-h1-line);margin:0}.ihabdevteam-core-scope .timeline__rows{border-top:1px solid var(--color-border);list-style:none;margin:var(--spacing-m) 0 0;padding:0}.ihabdevteam-core-scope .timeline__row{border-bottom:1px solid var(--color-border);display:flex;gap:40px;padding:var(--spacing-l) 0}.ihabdevteam-core-scope .timeline__label{color:var(--color-text-primary);flex-shrink:0;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);line-height:var(--text-body-2-line);padding-top:1px;width:28px}.ihabdevteam-core-scope .timeline__items{display:flex;flex-direction:column;gap:4px}.ihabdevteam-core-scope .timeline__items>p{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}@media (max-width:767px){.ihabdevteam-core-scope .timeline{gap:40px}.ihabdevteam-core-scope .timeline__row{gap:var(--spacing-xl)}}";Q(ok);function $m({groups:t,className:e=""}){return n.jsx("div",{className:_e("timeline",e),children:t.map(a=>n.jsxs("section",{className:"timeline__group",children:[n.jsx("h3",{className:"timeline__title",children:a.title}),n.jsx("ul",{className:"timeline__rows",children:a.entries.map((o,r)=>n.jsxs("li",{className:"timeline__row",children:[o.label?n.jsx("span",{className:"timeline__label",children:o.label}):null,n.jsx("div",{className:"timeline__items",children:o.items.map((i,s)=>n.jsx("p",{children:i},s))})]},`${o.label??""}-${r}`))})]},a.title))})}var rk=".ihabdevteam-core-scope .publication-card{background:var(--color-surface-raised);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex-direction:column;padding:36px var(--spacing-xl) 32px;position:relative}.ihabdevteam-core-scope .publication-card__badge{height:88px;pointer-events:none;position:absolute;right:var(--spacing-xl);top:0}.ihabdevteam-core-scope .publication-card__badge>*,.ihabdevteam-core-scope .publication-card__badge>img{height:100%;width:auto}.ihabdevteam-core-scope .publication-card__title{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin:0;padding-right:96px;position:relative;z-index:1}.ihabdevteam-core-scope .publication-card__kind{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin:var(--spacing-m) 0 0}.ihabdevteam-core-scope .publication-card__body{color:var(--color-darkGray);font-size:var(--text-caption-1-size);line-height:1.65;margin:var(--spacing-m) 0 0}@media (max-width:767px){.ihabdevteam-core-scope .publication-card{padding:32px var(--spacing-l) 28px}.ihabdevteam-core-scope .publication-card__kind{margin-top:var(--spacing-m)}}.ihabdevteam-core-scope .publication-card__footer{margin-top:auto;padding-top:var(--spacing-l)}";Q(rk);function Im({title:t,kind:e,body:a,badge:o,badgeSrc:r,footer:i,width:s,className:l=""}){const u=o??(r?n.jsx("img",{src:r,alt:""}):null);return n.jsxs("div",{className:_e("publication-card",l),style:s?{width:s,flexShrink:0}:void 0,children:[u?n.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:u}):null,n.jsx("h3",{className:"publication-card__title",children:t}),e?n.jsx("p",{className:"publication-card__kind",children:e}):null,n.jsx("p",{className:"publication-card__body",children:a}),i?n.jsx("div",{className:"publication-card__footer",children:i}):null]})}var nk="@keyframes splash-logo{0%{opacity:0;transform:scale(.92)}18%{opacity:1;transform:scale(1)}75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}.ihabdevteam-core-scope .splash-logo{align-items:center;background:var(--color-pureWhite);display:flex;inset:0;justify-content:center;position:absolute;z-index:1000;z-index:var(--z-modal,1000)}.ihabdevteam-core-scope .splash-logo__image{animation:splash-logo 3s cubic-bezier(.4,0,.2,1) forwards;animation:splash-logo var(--splash-logo-duration,3s) cubic-bezier(.4,0,.2,1) forwards;height:80px;height:var(--splash-logo-height,80px);width:auto}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .splash-logo__image{animation:none;opacity:1}}";Q(nk);function Om({logo:t,alt:e,onDone:a,durationMs:o=3e3}){return c.useEffect(()=>{if(!a)return;const r=setTimeout(a,o);return()=>clearTimeout(r)},[a,o]),n.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${o}ms`},"aria-hidden":"true",children:n.jsx("img",{src:t,alt:e,className:"splash-logo__image"})})}var ik='.ihabdevteam-core-scope .section-header{text-align:center}.ihabdevteam-core-scope .section-header__eyebrow{align-items:center;display:flex;font-size:var(--text-caption-1-size);font-weight:600;gap:10px;justify-content:center;letter-spacing:.18em;line-height:var(--text-caption-1-line);margin:0}.ihabdevteam-core-scope .section-header__index{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;opacity:.6}.ihabdevteam-core-scope .section-header__rule{background:currentColor;height:1px;opacity:.3;width:24px}.ihabdevteam-core-scope .section-header__title{font-family:inherit;font-family:var(--font-display,inherit);font-size:clamp(2rem,1.35rem + 2.1vw,2.9rem);font-weight:700;letter-spacing:-.01em;line-height:1.15;margin:0}.ihabdevteam-core-scope .section-header__eyebrow+.section-header__title{margin-top:var(--spacing-xl)}.ihabdevteam-core-scope .section-header__description{font-size:var(--text-body-2-size);line-height:1.9;margin-top:var(--spacing-m)}.ihabdevteam-core-scope .section-header--dark .section-header__eyebrow{color:var(--color-main)}.ihabdevteam-core-scope .section-header--dark .section-header__title{color:var(--color-text-primary)}.ihabdevteam-core-scope .section-header--dark .section-header__description{color:var(--color-darkGray)}.ihabdevteam-core-scope .section-header--light .section-header__eyebrow{color:hsla(0,0%,100%,.85)}.ihabdevteam-core-scope .section-header--light .section-header__title{color:var(--color-pureWhite)}.ihabdevteam-core-scope .section-header--light .section-header__description{color:hsla(0,0%,100%,.85)}';Q(ik);function zm({eyebrow:t,eyebrowIndex:e,title:a,description:o,level:r=2,tone:i="dark",className:s=""}){const l=r===1?"h1":"h2";return n.jsxs("div",{className:_e("section-header",`section-header--${i}`,s),children:[t?n.jsxs("p",{className:"section-header__eyebrow",children:[e?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"section-header__index",children:e}),n.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,t]}):null,a?n.jsx(l,{className:"section-header__title",children:a}):null,o?n.jsx("div",{className:"section-header__description",children:o}):null]})}var sk=".ihabdevteam-core-scope .company-meta{align-items:center;color:var(--color-gray);display:flex;flex-direction:column;font-size:var(--text-caption-1-size);gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .company-meta__item{align-items:center;display:flex}.ihabdevteam-core-scope .company-meta__divider{color:var(--color-whiteLine);display:none;padding-inline:var(--spacing-m)}@media (min-width:640px){.ihabdevteam-core-scope .company-meta{flex-direction:row;gap:0}.ihabdevteam-core-scope .company-meta__divider{display:inline}}";Q(sk);function Fm({items:t,className:e=""}){return n.jsx("ul",{className:_e("company-meta",e),children:t.map((a,o)=>n.jsxs("li",{className:"company-meta__item",children:[o>0?n.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function tc({value:t,onChange:e,suggestions:a,openOnFocus:o=!1}){const r=c.useId(),[i,s]=c.useState(!1),[l,u]=c.useState(-1),d=c.useRef(null),h=c.useMemo(()=>{if(!a.length)return[];const b=t??"";return b?a.filter(y=>y.toLowerCase().includes(b.toLowerCase())):o?a:[]},[a,t,o]);c.useEffect(()=>{i||u(-1)},[i]),c.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]);const p=c.useCallback(b=>{e?.(b),s(!1)},[e]),m=c.useCallback(()=>s(!0),[]),g=c.useCallback(()=>{d.current=setTimeout(()=>s(!1),120)},[]),f=c.useCallback(b=>{b.key==="ArrowDown"?(b.preventDefault(),s(!0),u(y=>Math.min(h.length-1,y+1))):b.key==="ArrowUp"?(b.preventDefault(),u(y=>Math.max(-1,y-1))):b.key==="Enter"?l>=0&&!b.nativeEvent.isComposing&&p(h[l]):b.key==="Escape"&&i&&(b.preventDefault(),s(!1))},[h,l,i,p]);return{listId:r,open:i,activeIdx:l,filtered:h,handleFocus:m,handleBlur:g,handleKeyDown:f,handleSelect:p}}var lk=".ihabdevteam-core-scope .text-field{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:6px;position:relative}.ihabdevteam-core-scope .text-field--full-width{display:flex;width:100%}.ihabdevteam-core-scope .text-field__label{align-items:center;color:var(--color-darkGray);display:flex;gap:4px}.ihabdevteam-core-scope .text-field__required{color:var(--color-main);line-height:1}.ihabdevteam-core-scope .text-field__wrap{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;display:flex;overflow:hidden;position:relative;transition:border-color .12s,background .12s,box-shadow .12s}.ihabdevteam-core-scope .text-field--s32 .text-field__wrap{border-radius:8px}.ihabdevteam-core-scope .text-field--s40 .text-field__wrap{border-radius:10px}.ihabdevteam-core-scope .text-field--s48 .text-field__wrap{border-radius:12px}.ihabdevteam-core-scope .text-field--s64 .text-field__wrap{border-radius:14px}.ihabdevteam-core-scope .text-field__wrap:focus-within{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .text-field--error .text-field__wrap{border-color:var(--color-error)}.ihabdevteam-core-scope .text-field--error .text-field__wrap:focus-within{box-shadow:0 0 0 3px var(--color-error-a10)}.ihabdevteam-core-scope .text-field--disabled .text-field__wrap{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .text-field--readonly .text-field__input{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .text-field--readonly .text-field__wrap{border-color:var(--color-darkWhite)}.ihabdevteam-core-scope .text-field__input{background:transparent;border:none;box-sizing:border-box;color:var(--color-darkGray);flex:1;margin:0;min-width:0;outline:none;padding:0 12px}.ihabdevteam-core-scope .text-field__input::-moz-placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input::placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input:disabled{cursor:not-allowed}.ihabdevteam-core-scope .text-field__input[readonly]{cursor:default}.ihabdevteam-core-scope .text-field__input--textarea{align-self:stretch;line-height:1.6;min-height:80px;padding:10px 12px;resize:vertical}.ihabdevteam-core-scope .text-field__input--auto{align-self:stretch;line-height:1.5;overflow:hidden;padding:0 12px;resize:none}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__wrap,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__wrap{align-items:flex-start}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__icon,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__icon{margin-top:var(--spacing-s)}.ihabdevteam-core-scope .text-field--s32 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:30px}.ihabdevteam-core-scope .text-field--s40 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:38px}.ihabdevteam-core-scope .text-field--s48 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:46px}.ihabdevteam-core-scope .text-field--s64 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:62px;line-height:normal}.ihabdevteam-core-scope .text-field--display .text-field__input{font-weight:700;text-align:center}.ihabdevteam-core-scope .text-field--display .text-field__input::-moz-placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__input::placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__placeholder{align-items:center;color:var(--color-lightGray);display:flex;font-weight:400;inset:0;justify-content:center;pointer-events:none;position:absolute}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:-moz-placeholder)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:placeholder-shown)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__input{font-size:22px}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__placeholder{font-size:15px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__input{font-size:28px;letter-spacing:-.3px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__placeholder{font-size:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input--auto{height:30px;min-height:30px;padding-bottom:3px;padding-top:3px}.ihabdevteam-core-scope .text-field--s40 .text-field__input--auto{height:38px;min-height:38px;padding-bottom:7px;padding-top:7px}.ihabdevteam-core-scope .text-field--s48 .text-field__input--auto{height:46px;min-height:46px;padding-bottom:11px;padding-top:11px}.ihabdevteam-core-scope .text-field__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .text-field__icon--left{margin-left:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon--right{margin-right:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon-svg{display:block}.ihabdevteam-core-scope .text-field--has-left-icon .text-field__input{padding-left:6px}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__input{padding-right:6px}.ihabdevteam-core-scope .text-field--s32 .text-field__icon{height:16px;width:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input{font-size:14px;line-height:22px}.ihabdevteam-core-scope .text-field__clear{flex-shrink:0;margin-right:10px}.ihabdevteam-core-scope .text-field__suggestions{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);box-shadow:var(--shadow-dropdown);left:0;margin-top:var(--spacing-xs);max-height:220px;overflow:auto;padding:4px 0;position:absolute;right:0;top:100%;z-index:var(--z-dropdown)}.ihabdevteam-core-scope .text-field__suggestion{color:var(--color-darkGray);cursor:pointer;padding:8px 12px}.ihabdevteam-core-scope .text-field__suggestion.is-active,.ihabdevteam-core-scope .text-field__suggestion:hover{background:var(--color-deepWhite);color:var(--color-main)}.ihabdevteam-core-scope .text-field__footer{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .text-field__helper{color:var(--color-lightGray);flex:1}.ihabdevteam-core-scope .text-field--error .text-field__helper{color:var(--color-error)}.ihabdevteam-core-scope .text-field__count{color:var(--color-gray);flex-shrink:0;margin-right:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__count,.ihabdevteam-core-scope .text-field:has(.text-field__clear) .text-field__count{margin-right:8px}.ihabdevteam-core-scope .text-field__count--over{color:var(--color-error)}.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__count{bottom:6px;margin:0;pointer-events:none;position:absolute;right:20px}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__count{align-self:flex-end;margin-bottom:var(--spacing-s)}";Q(lk);function Ga(t){const{value:e,defaultValue:a,name:o,inputRef:r,onChange:i,label:s,ariaLabel:l,required:u,placeholder:d,type:h="text",disabled:p=!1,readOnly:m=!1,error:g,helperText:f,maxLength:b,size:y=48,variant:v="input",fullWidth:x=!1,newline:_=!1,multiline:C=!1,rows:T=3,leftIcon:w,rightIcon:S,clearable:D=!1,list:A,showCount:N=!0,className:O="",onFocus:j,onBlur:k,onKeyDown:E,onEnter:L,inputMode:z,autoComplete:te,autoFocus:J,suggestions:ae,openOnFocus:M=!1}=t,{t:R}=ge(),$=c.useId(),F=`tf-${$}`,I=`tf-helper-${$}`,q=c.useRef(null),P=tc({value:e??"",onChange:i,suggestions:ae??[],openOnFocus:M}),H=c.useCallback(G=>{q.current=G,typeof r=="function"?r(G):r&&(r.current=G)},[r]),V=e!==void 0,U=V&&h==="password",ee=(e??"").length;c.useEffect(()=>{const G=q.current;if(!U||!G)return;const ce=e??"";G.value!==ce&&(G.value=ce)},[U,e]),c.useEffect(()=>{if(!_||!q.current)return;const G=q.current;G.style.height="",G.scrollHeight>G.clientHeight&&(G.style.height=`${G.scrollHeight}px`)},[e,_]);const pe=b!=null&&ee>b,he=y===32?16:20,oe=_e("text-field",`text-field--s${y}`,v==="display"?"text-field--display":"",x?"text-field--full-width":"",p?"text-field--disabled":"",m?"text-field--readonly":"",g?"text-field--error":"",w?"text-field--has-left-icon":"",S||D?"text-field--has-right-icon":"",O),X={id:F,...U?{}:V?{value:e}:{defaultValue:a},ref:H,placeholder:d,name:o,disabled:p,readOnly:m,autoFocus:J,tabIndex:m?-1:void 0,maxLength:b,list:A,inputMode:z,autoComplete:te,"aria-label":!s&&l?l:void 0,"aria-required":u,"aria-invalid":!!g,"aria-describedby":f||g?I:void 0,role:ae?"combobox":void 0,"aria-autocomplete":ae?"list":void 0,"aria-haspopup":ae?"listbox":void 0,"aria-expanded":ae?P.open:void 0,"aria-controls":ae?P.listId:void 0,"aria-activedescendant":ae&&P.activeIdx>=0?`${P.listId}-option-${P.activeIdx}`:void 0,onChange:G=>i?.(G.target.value),onFocus:(G=>{j?.(G),ae&&P.handleFocus()}),onBlur:(G=>{k?.(G),ae&&P.handleBlur()}),onKeyDown:(G=>{L&&G.key==="Enter"&&!G.nativeEvent.isComposing&&(G.preventDefault(),L()),E?.(G),ae&&P.handleKeyDown(G)})},de=D&&!p&&!m&&ee>0,Ce=()=>_?n.jsx("textarea",{...X,className:"text-field__input text-field__input--auto body-2",rows:1}):C?n.jsx("textarea",{...X,className:"text-field__input text-field__input--textarea body-2",rows:T}):n.jsx("input",{...X,type:h,className:"text-field__input body-2"}),Z=v==="display"&&!_&&!C&&!!d,le=()=>n.jsxs(n.Fragment,{children:[Ce(),Z&&n.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:d})]});return n.jsxs("div",{className:oe,children:[s&&n.jsxs("label",{htmlFor:F,className:"text-field__label caption-1",children:[s,u&&n.jsx("span",{className:"text-field__required",children:"*"})]}),n.jsxs("div",{className:"text-field__wrap",children:[w&&n.jsx("span",{className:"text-field__icon text-field__icon--left",children:n.jsx(Re,{icon:w,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})}),le(),b!=null&&N&&n.jsxs("span",{className:`text-field__count caption-2${pe?" text-field__count--over":""}`,children:[ee,"/",b]}),de&&n.jsx(se,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:R("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:G=>{G.preventDefault()},onClick:()=>i?.(""),tabIndex:-1}),S&&!de&&n.jsx("span",{className:"text-field__icon text-field__icon--right",children:n.jsx(Re,{icon:S,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})})]}),ae&&P.open&&P.filtered.length>0&&n.jsx("ul",{id:P.listId,className:"text-field__suggestions",role:"listbox",children:P.filtered.map((G,ce)=>n.jsx("li",{id:`${P.listId}-option-${ce}`,role:"option","aria-selected":ce===P.activeIdx,className:`text-field__suggestion body-2${ce===P.activeIdx?" is-active":""}`,onMouseDown:be=>be.preventDefault(),onClick:()=>{P.handleSelect(G),q.current?.focus()},children:G},`${G}-${ce}`))}),(f||g)&&n.jsx("div",{className:"text-field__footer",children:n.jsx("span",{id:I,className:"text-field__helper caption-1",role:g?"alert":void 0,children:g||f})})]})}var ck=".ihabdevteam-core-scope .dropdown{display:inline-block;position:relative}.ihabdevteam-core-scope .dropdown--block{display:block;width:100%}.ihabdevteam-core-scope .dropdown--block .dropdown__trigger{min-width:0}.ihabdevteam-core-scope .dropdown--s40 .dropdown__trigger{border-radius:10px;height:40px}.ihabdevteam-core-scope .dropdown--s48 .dropdown__trigger{border-radius:12px;height:48px}.ihabdevteam-core-scope .dropdown__trigger{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);height:48px;justify-content:space-between;min-width:120px;padding:0 12px;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__trigger:hover:not(:disabled){border-color:var(--color-main)}.ihabdevteam-core-scope .dropdown__trigger:focus-visible{border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10);outline:none}.ihabdevteam-core-scope .dropdown__trigger:disabled{background:var(--color-deepWhite);cursor:default;opacity:.5}.ihabdevteam-core-scope .dropdown--open .dropdown__trigger{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger{border:1px solid var(--color-error)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger:hover:not(:disabled),.ihabdevteam-core-scope .dropdown--error.dropdown--open .dropdown__trigger{border-color:var(--color-error);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-error) 15%,transparent)}.ihabdevteam-core-scope .dropdown__trigger-label{flex:1;overflow:hidden;text-overflow:ellipsis}.ihabdevteam-core-scope .dropdown__trigger-label--placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .dropdown__chevron{color:var(--color-gray);flex-shrink:0;height:16px;transition:transform .2s;width:16px}.ihabdevteam-core-scope .dropdown--open .dropdown__chevron{transform:rotate(180deg)}.ihabdevteam-core-scope .dropdown__menu{animation:dropdown-appear .12s ease;background:var(--color-white);border:1.5px solid var(--color-whiteLine);border-radius:var(--radius-card);box-shadow:var(--shadow-dropdown);box-sizing:border-box;max-height:260px;overflow-y:auto;overscroll-behavior-y:contain;padding:6px}.ihabdevteam-core-scope .dropdown__menu--up{bottom:calc(100% + 6px);top:auto}@keyframes dropdown-appear{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ihabdevteam-core-scope .dropdown__option{align-items:center;background:transparent;border:none;border-radius:var(--radius-sm);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);padding:9px 12px;text-align:left;transition:background .1s,color .1s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__option:hover{background:var(--color-deepWhite)}.ihabdevteam-core-scope .dropdown__option--active{background:var(--color-main-a10);color:var(--color-main)}.ihabdevteam-core-scope .dropdown__option--disabled{cursor:default;opacity:.4;pointer-events:none}.ihabdevteam-core-scope .dropdown__option-check{align-items:center;color:var(--color-main);display:flex;flex-shrink:0;height:14px;justify-content:center;width:14px}.ihabdevteam-core-scope .dropdown__option-check svg{height:14px;width:14px}.ihabdevteam-core-scope .dropdown__divider{background:var(--color-darkWhite);height:1px;margin:4px 0}";Q(ck);function Zt({options:t,value:e,onChange:a,placeholder:o,disabled:r=!1,block:i=!1,size:s=48,error:l=!1,className:u="",ariaLabel:d}){const{t:h}=ge(),p=o??h("dropdown.placeholder","\uC120\uD0DD"),m=c.useId(),g=c.useRef(null),f=c.useCallback(k=>{const E=window.innerHeight-k.bottom<260&&k.top>260;return{position:"fixed",left:k.left,minWidth:k.width,...E?{bottom:window.innerHeight-k.top+6}:{top:k.bottom+6},zIndex:9999}},[]),{open:b,setOpen:y,toggle:v,style:x,triggerRef:_,menuRef:C}=Eo({computeStyle:f}),[T,w]=c.useState(-1),S=c.useCallback(()=>w(-1),[]),D=t.find(k=>k.value===e);c.useEffect(()=>{if(b){const k=t.findIndex(E=>E.value===e);w(k>=0?k:0),requestAnimationFrame(()=>{const E=C.current;if(!E)return;const L=E.querySelectorAll(".dropdown__option")[k];L&&(E.scrollTop=Math.max(0,L.offsetTop-E.clientHeight/2+L.clientHeight/2))})}},[b,t,e,C]);const A=c.useCallback(()=>{r||v()},[r,v]),N=c.useCallback(k=>{k.disabled||(a?.(k.value),y(!1))},[a,y]),O=c.useCallback(k=>{if(!r){if(!b){(k.key==="Enter"||k.key===" "||k.key==="ArrowDown")&&(k.preventDefault(),y(!0));return}if(k.key==="Escape"){k.preventDefault(),y(!1);return}k.key==="ArrowDown"?(k.preventDefault(),w(E=>{let L=E+1;for(;L<t.length&&t[L].disabled;)L++;return L<t.length?L:E})):k.key==="ArrowUp"?(k.preventDefault(),w(E=>{let L=E-1;for(;L>=0&&t[L].disabled;)L--;return L>=0?L:E})):k.key==="Enter"&&T>=0&&(k.preventDefault(),N(t[T]))}},[r,b,t,T,N,y]),j=b?n.jsx("div",{ref:C,id:m,className:"dropdown__menu",role:"listbox",style:x,onMouseLeave:S,children:t.map((k,E)=>n.jsxs("button",{id:`${m}-option-${E}`,type:"button",role:"option","aria-selected":k.value===e,className:_e("dropdown__option body-2",k.value===e?"dropdown__option--active":"",E===T?"dropdown__option--active":"",k.disabled?"dropdown__option--disabled":""),onMouseDown:L=>L.preventDefault(),onClick:()=>N(k),onMouseEnter:()=>w(E),disabled:k.disabled,children:[n.jsx("span",{className:"dropdown__option-check",children:k.value===e&&n.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),k.label]},k.value))}):null;return n.jsxs("div",{ref:g,className:_e("dropdown",`dropdown--s${s}`,b?"dropdown--open":"",i?"dropdown--block":"",l?"dropdown--error":"",u),onKeyDown:O,children:[n.jsxs("button",{ref:_,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":b,"aria-controls":b?m:void 0,"aria-activedescendant":b&&T>=0?`${m}-option-${T}`:void 0,"aria-label":d,"aria-invalid":l||void 0,disabled:r,onClick:A,children:[n.jsx("span",{className:`dropdown__trigger-label body-2${D?"":" dropdown__trigger-label--placeholder"}`,children:D?D.label:p}),n.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&Yt.createPortal(j,g.current?.closest(".ihabdevteam-core-scope")??document.body)]})}var dk=".ihabdevteam-core-scope .pagination{align-items:center;display:flex;gap:4px}.ihabdevteam-core-scope .pagination__info{color:var(--color-darkGray);font-weight:600;min-width:48px;text-align:center}";Q(dk);function _r({page:t,totalPages:e,onChange:a,prevLabel:o,nextLabel:r,className:i=""}){const{t:s}=ge(),l=o??s("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),u=r??s("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),d=()=>a(Math.max(1,t-1)),h=()=>a(Math.min(e,t+1));return n.jsxs("div",{className:_e("pagination",i),children:[n.jsx(se,{size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:l,disabled:t<=1,onClick:d}),n.jsxs("span",{className:"pagination__info body-3",children:[t," / ",e]}),n.jsx(se,{size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:u,disabled:t>=e,onClick:h})]})}var uk=".ihabdevteam-core-scope .segmented-control{background:var(--color-darkWhite);display:inline-flex;flex-shrink:0;flex-wrap:wrap;gap:var(--spacing-xs);overflow:hidden;padding:4px}.ihabdevteam-core-scope .segmented-control--pill{border-radius:999px}.ihabdevteam-core-scope .segmented-control--rounded{border-radius:12px}.ihabdevteam-core-scope .segmented-control .button{min-width:96px}.ihabdevteam-core-scope .segmented-control--32 .button{min-width:64px}.ihabdevteam-core-scope .segmented-control--40 .button{min-width:80px}.ihabdevteam-core-scope .segmented-control--48 .button{min-width:96px}.ihabdevteam-core-scope .segmented-control--no-bg{background:transparent;padding:0}.ihabdevteam-core-scope .segmented-control--full{display:flex;flex-wrap:nowrap;width:100%}.ihabdevteam-core-scope .segmented-control--full .button{flex:1 1 0;min-width:0}@media (max-width:767px){.ihabdevteam-core-scope .segmented-control{flex-shrink:1;min-width:0}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child){border-radius:14px;display:grid;grid-template-columns:repeat(2,1fr);width:100%}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child)>.button{justify-content:center;width:100%}.ihabdevteam-core-scope .segmented-control--pill:has(>.button:nth-child(5)){border-radius:14px}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(5)){justify-content:center}}";Q(uk);function qa(t){const{t:e}=ge(),{options:a=[],value:o=a[0]?.key,onChange:r=p=>{},className:i="",size:s=48,shape:l="pill",useBG:u=!0,fullWidth:d=!1,ariaLabel:h}=t||{};return n.jsx("div",{className:_e("segmented-control",`segmented-control--${l}`,`segmented-control--${s}`,d&&"segmented-control--full",!u&&"segmented-control--no-bg",i),role:"radiogroup","aria-label":h??e("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(p=>n.jsx(se,{role:"radio","aria-checked":p.key===o,label:p.label,count:p.count,disabled:p.disabled,className:p.key===o?"is-selected":"",onClick:()=>{p.disabled||r(p.key)},size:s,shape:l,useBorder:!1,useBG:!1},p.key))})}var pk=".ihabdevteam-core-scope .toolbar{align-items:center;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--spacing-s);min-height:64px;padding-bottom:8px;padding-top:8px;width:100%}.ihabdevteam-core-scope .toolbar__row{display:contents}.ihabdevteam-core-scope .toolbar__row-end{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s);justify-content:flex-end;margin-left:auto}.ihabdevteam-core-scope .toolbar__count{color:var(--color-gray);flex-shrink:0;margin:0;white-space:nowrap}.ihabdevteam-core-scope .toolbar .toolbar__search{flex-shrink:0;min-width:200px}@media (max-width:767px){.ihabdevteam-core-scope .toolbar{align-items:stretch;flex-direction:column;flex-wrap:wrap;padding-bottom:12px;padding-top:12px}.ihabdevteam-core-scope .toolbar__row{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .toolbar .toolbar__search{flex:1;min-width:150px}}.ihabdevteam-core-scope .toolbar__count-highlight{color:var(--color-main)}.ihabdevteam-core-scope .toolbar__divider{align-self:stretch;height:auto;margin:8px 0}@media (max-width:767px){.ihabdevteam-core-scope .toolbar__divider{display:none}}";Q(pk);function An({count:t,search:e,segment:a,filters:o,pageSize:r,pagination:i,actions:s,className:l}){const{t:u}=ge(),d=t!=null&&n.jsxs("p",{className:"toolbar__count body-1",children:[t.prefix??u("common.totalPrefix","\uCD1D "),n.jsx("span",{className:"toolbar__count-highlight",children:t.value}),t.unit,t.suffix]}),h=!!(e||o?.length||r||i||s);return n.jsxs("div",{className:_e("toolbar",l),children:[n.jsxs("div",{className:"toolbar__row",children:[d,a&&(Array.isArray(a)?a:[a]).map((p,m)=>n.jsx(qa,{size:40,...p},p.ariaLabel??m))]}),h&&n.jsx("div",{className:"toolbar__row",children:n.jsxs("div",{className:"toolbar__row-end",children:[e&&n.jsx(Ga,{className:"toolbar__search",size:40,value:e.value,onChange:e.onChange,placeholder:e.placeholder??u("common.search","\uAC80\uC0C9"),ariaLabel:e.placeholder??u("common.search","\uAC80\uC0C9"),clearable:!0}),o?.map((p,m)=>n.jsx(Zt,{size:40,options:p.options,value:p.value,onChange:p.onChange,ariaLabel:p.ariaLabel},m)),r&&n.jsx(Zt,{size:40,options:r.options,value:r.value,onChange:r.onChange,ariaLabel:r.ariaLabel??u("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&n.jsx(_r,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel}),s]})})]})}var hk=".ihabdevteam-core-scope .code-box{background:#eff8ff;background:var(--color-code-bg,#eff8ff);border:1px solid rgba(4,34,51,.06);border-radius:10px;color:#042233;color:var(--color-code-text,#042233);margin:0;overflow:hidden;padding:16px 20px}.ihabdevteam-core-scope .code-box__header{align-items:center;display:flex;gap:12px;justify-content:space-between;min-height:40px}.ihabdevteam-core-scope .code-box__title{align-items:center;color:rgba(4,34,51,.75);display:flex;letter-spacing:.02em}.ihabdevteam-core-scope .code-box__copy{flex-shrink:0}.ihabdevteam-core-scope .code-box__inner{background:transparent;color:#042233;color:var(--color-code-text,#042233);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Roboto Mono,Courier New,monospace;font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere;overflow-x:auto;padding:8px 0 0;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box__inner code{display:block;font-family:inherit;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box--small .code-box__inner{font-size:12px}.ihabdevteam-core-scope .code-token{overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-token.keyword{color:#6b46ff;font-weight:600}.ihabdevteam-core-scope .code-token.string{color:#0a9d58}.ihabdevteam-core-scope .code-token.comment{color:#6b7280;font-style:italic}.ihabdevteam-core-scope .code-token.command{color:#0b78d1}.ihabdevteam-core-scope .code-token.number{color:#d97706}.ihabdevteam-core-scope .code-token.operator{color:#dc2626}.ihabdevteam-core-scope .code-token.identifier,.ihabdevteam-core-scope .code-token.punctuation{color:#042233;color:var(--color-code-text,#042233)}";Q(hk);function Wm(t){return typeof t=="string"?t:typeof t=="number"?String(t):Array.isArray(t)?t.map(Wm).join(""):""}function mk(t){let e=t.replace(/\r\n/g,`
|
|
830
830
|
`).replace(/\r/g,`
|
|
831
831
|
`);e=e.replace(/^\n+/,"").replace(/\n+$/,"");const a=e.split(`
|