@ihabdevteam/core 0.133.0 → 0.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/dist/components.cjs.js +176 -176
  3. package/dist/components.esm.css +1 -1
  4. package/dist/hooks.cjs.js +1 -1
  5. package/dist/i18n.cjs.js +2 -2
  6. package/dist/ihabdevteam-core.cjs.js +181 -181
  7. package/dist/ihabdevteam-core.d.ts +8 -2
  8. package/dist/packages/core/src/components/Breadcrumb.js +5 -1
  9. package/dist/packages/core/src/components/Dialog.js +32 -9
  10. package/dist/packages/core/src/components/Header.css +2 -0
  11. package/dist/packages/core/src/components/Header.js +4 -1
  12. package/dist/packages/core/src/components/LandingHeader.js +18 -1
  13. package/dist/packages/core/src/components/Pagination.js +5 -2
  14. package/dist/packages/core/src/components/Panel.d.ts +1 -1
  15. package/dist/packages/core/src/components/Panel.js +4 -1
  16. package/dist/packages/core/src/components/PassCard/passCardProduct.js +6 -0
  17. package/dist/packages/core/src/components/PaymentPlan.d.ts +6 -0
  18. package/dist/packages/core/src/components/PaymentPlan.js +5 -3
  19. package/dist/packages/core/src/components/PromoBanner.js +1 -1
  20. package/dist/packages/core/src/components/SideNav.js +1 -1
  21. package/dist/packages/core/src/components/SoundCompass.js +10 -1
  22. package/dist/packages/core/src/components/Tooltip/MenuTooltip.js +7 -2
  23. package/dist/packages/core/src/components/Training/TrainingStepTextBox.js +1 -1
  24. package/dist/packages/core/src/components/Training/useNoiseFade.js +22 -1
  25. package/dist/packages/core/src/components/Training/useTTSPlayback.js +9 -0
  26. package/dist/packages/core/src/components/Word/WordSearchResultBlock.js +3 -2
  27. package/dist/packages/core/src/hooks/useWordTrainingFilter.js +9 -4
  28. package/dist/packages/core/src/hooks/wordTrainingFilterModel.d.ts +1 -1
  29. package/dist/packages/core/src/hooks/wordTrainingFilterModel.js +7 -2
  30. package/dist/packages/core/src/i18n/locales/en.json +11 -0
  31. package/dist/packages/core/src/i18n/locales/ko.json +11 -0
  32. package/dist/packages/core/src/utils/format.js +17 -1
  33. package/dist/packages/core/src/utils/koreanPronunciation.js +7 -0
  34. package/dist/packages/core/src/utils/pressable.js +4 -0
  35. package/dist/packages/core/src/utils/savedWordTables.js +2 -1
  36. package/dist/packages/core/src/utils/wordTrainingPool.d.ts +7 -0
  37. package/dist/packages/core/src/utils/wordTrainingPool.js +30 -0
  38. package/dist/packages/core/src/utils/wordTrainingRuntime.js +27 -13
  39. package/dist/packages/core/src/version.d.ts +1 -1
  40. package/dist/packages/core/src/version.js +1 -1
  41. package/dist/utils.cjs.js +2 -2
  42. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";var t=require("react/jsx-runtime"),s=require("react"),Pt=require("i18next"),fe=require("react-i18next"),It=require("react-dom"),nn=typeof document<"u"?document.currentScript:null;function xe(...e){return e.filter(Boolean).join(" ")}const so=new Set,io=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Vn(e,...n){!io||so.has(e)||(so.add(e),console.warn(...n))}/**
1
+ "use strict";var t=require("react/jsx-runtime"),i=require("react"),Pt=require("i18next"),me=require("react-i18next"),It=require("react-dom"),nn=typeof document<"u"?document.currentScript:null;function _e(...e){return e.filter(Boolean).join(" ")}const so=new Set,io=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Vn(e,...n){!io||so.has(e)||(so.add(e),console.warn(...n))}/**
2
2
  * @license lucide-react v1.38.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -8,17 +8,17 @@
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const ic=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
11
+ */const lc=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
12
12
  * @license lucide-react v1.38.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
- */const lc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,r)=>r?r.toUpperCase():a.toLowerCase());/**
16
+ */const cc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,r)=>r?r.toUpperCase():a.toLowerCase());/**
17
17
  * @license lucide-react v1.38.0 - ISC
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const co=e=>{const n=lc(e);return n.charAt(0).toUpperCase()+n.slice(1)};/**
21
+ */const co=e=>{const n=cc(e);return n.charAt(0).toUpperCase()+n.slice(1)};/**
22
22
  * @license lucide-react v1.38.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
@@ -28,784 +28,784 @@
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
- */const cc=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1},uc=s.createContext({}),dc=()=>s.useContext(uc),pc=s.forwardRef(({color:e,size:n,strokeWidth:a,absoluteStrokeWidth:r,className:o="",children:i,iconNode:l,...c},u)=>{const{size:d=24,strokeWidth:h=2,absoluteStrokeWidth:p=!1,color:m="currentColor",className:b=""}=dc()??{},f=r??p?Number(a??h)*24/Number(n??d):a??h;return s.createElement("svg",{ref:u,...Pa,width:n??d??Pa.width,height:n??d??Pa.height,stroke:e??m,strokeWidth:f,className:lo("lucide",b,o),...!i&&!cc(c)&&{"aria-hidden":"true"},...c},[...l.map(([g,C])=>s.createElement(g,C)),...Array.isArray(i)?i:[i]])});/**
31
+ */const uc=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1},dc=i.createContext({}),pc=()=>i.useContext(dc),hc=i.forwardRef(({color:e,size:n,strokeWidth:a,absoluteStrokeWidth:r,className:o="",children:s,iconNode:l,...c},u)=>{const{size:d=24,strokeWidth:p=2,absoluteStrokeWidth:h=!1,color:m="currentColor",className:y=""}=pc()??{},f=r??h?Number(a??p)*24/Number(n??d):a??p;return i.createElement("svg",{ref:u,...Pa,width:n??d??Pa.width,height:n??d??Pa.height,stroke:e??m,strokeWidth:f,className:lo("lucide",y,o),...!s&&!uc(c)&&{"aria-hidden":"true"},...c},[...l.map(([g,C])=>i.createElement(g,C)),...Array.isArray(s)?s:[s]])});/**
32
32
  * @license lucide-react v1.38.0 - ISC
33
33
  *
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
- */const Z=(e,n)=>{const a=s.forwardRef(({className:r,...o},i)=>s.createElement(pc,{ref:i,iconNode:n,className:lo(`lucide-${ic(co(e))}`,`lucide-${e}`,r),...o}));return a.displayName=co(e),a};/**
36
+ */const K=(e,n)=>{const a=i.forwardRef(({className:r,...o},s)=>i.createElement(hc,{ref:s,iconNode:n,className:lo(`lucide-${lc(co(e))}`,`lucide-${e}`,r),...o}));return a.displayName=co(e),a};/**
37
37
  * @license lucide-react v1.38.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
41
- */const hc=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],uo=Z("triangle-alert",hc);/**
41
+ */const mc=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],uo=K("triangle-alert",mc);/**
42
42
  * @license lucide-react v1.38.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
- */const mc=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],fc=Z("align-start-vertical",mc);/**
46
+ */const fc=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Cc=K("align-start-vertical",fc);/**
47
47
  * @license lucide-react v1.38.0 - ISC
48
48
  *
49
49
  * This source code is licensed under the ISC license.
50
50
  * See the LICENSE file in the root directory of this source tree.
51
- */const Cc=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],gc=Z("arrow-down",Cc);/**
51
+ */const gc=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],bc=K("arrow-down",gc);/**
52
52
  * @license lucide-react v1.38.0 - ISC
53
53
  *
54
54
  * This source code is licensed under the ISC license.
55
55
  * See the LICENSE file in the root directory of this source tree.
56
- */const bc=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],yc=Z("arrow-left",bc);/**
56
+ */const yc=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],vc=K("arrow-left",yc);/**
57
57
  * @license lucide-react v1.38.0 - ISC
58
58
  *
59
59
  * This source code is licensed under the ISC license.
60
60
  * See the LICENSE file in the root directory of this source tree.
61
- */const vc=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],xc=Z("arrow-right",vc);/**
61
+ */const xc=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],_c=K("arrow-right",xc);/**
62
62
  * @license lucide-react v1.38.0 - ISC
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const _c=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],wc=Z("arrow-right-left",_c);/**
66
+ */const wc=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],kc=K("arrow-right-left",wc);/**
67
67
  * @license lucide-react v1.38.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const kc=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],Ac=Z("audio-lines",kc);/**
71
+ */const Ac=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],Nc=K("audio-lines",Ac);/**
72
72
  * @license lucide-react v1.38.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const Nc=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],Bc=Z("baby",Nc);/**
76
+ */const Bc=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],Dc=K("baby",Bc);/**
77
77
  * @license lucide-react v1.38.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const Dc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],Sc=Z("ban",Dc);/**
81
+ */const Sc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],Tc=K("ban",Sc);/**
82
82
  * @license lucide-react v1.38.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const jc=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Tc=Z("bell",jc);/**
86
+ */const jc=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Ec=K("bell",jc);/**
87
87
  * @license lucide-react v1.38.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const Ec=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],Mc=Z("book-marked",Ec);/**
91
+ */const Mc=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],Lc=K("book-marked",Mc);/**
92
92
  * @license lucide-react v1.38.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const Lc=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],$c=Z("book-open",Lc);/**
96
+ */const $c=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],Rc=K("book-open",$c);/**
97
97
  * @license lucide-react v1.38.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const Rc=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],Pc=Z("bow-arrow",Rc);/**
101
+ */const Pc=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],Ic=K("bow-arrow",Pc);/**
102
102
  * @license lucide-react v1.38.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const Ic=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Fc=Z("braces",Ic);/**
106
+ */const Fc=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Oc=K("braces",Fc);/**
107
107
  * @license lucide-react v1.38.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const Oc=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],Hc=Z("bug",Oc);/**
111
+ */const Hc=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],Vc=K("bug",Hc);/**
112
112
  * @license lucide-react v1.38.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const Vc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],zc=Z("calendar-check",Vc);/**
116
+ */const zc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Wc=K("calendar-check",zc);/**
117
117
  * @license lucide-react v1.38.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const Wc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],qc=Z("calendar-days",Wc);/**
121
+ */const qc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],Uc=K("calendar-days",qc);/**
122
122
  * @license lucide-react v1.38.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const Uc=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Gc=Z("camera",Uc);/**
126
+ */const Gc=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Kc=K("camera",Gc);/**
127
127
  * @license lucide-react v1.38.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const Kc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Zc=Z("chart-column",Kc);/**
131
+ */const Zc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Yc=K("chart-column",Zc);/**
132
132
  * @license lucide-react v1.38.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const Yc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Xc=Z("chart-line",Yc);/**
136
+ */const Xc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Jc=K("chart-line",Xc);/**
137
137
  * @license lucide-react v1.38.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const Jc=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Qc=Z("chart-pie",Jc);/**
141
+ */const Qc=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],eu=K("chart-pie",Qc);/**
142
142
  * @license lucide-react v1.38.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const eu=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],po=Z("check",eu);/**
146
+ */const tu=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],po=K("check",tu);/**
147
147
  * @license lucide-react v1.38.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const tu=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ho=Z("chevron-left",tu);/**
151
+ */const nu=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ho=K("chevron-left",nu);/**
152
152
  * @license lucide-react v1.38.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const nu=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mo=Z("chevron-right",nu);/**
156
+ */const au=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mo=K("chevron-right",au);/**
157
157
  * @license lucide-react v1.38.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const au=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],ru=Z("clipboard-list",au);/**
161
+ */const ru=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],ou=K("clipboard-list",ru);/**
162
162
  * @license lucide-react v1.38.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const ou=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],su=Z("combine",ou);/**
166
+ */const su=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],iu=K("combine",su);/**
167
167
  * @license lucide-react v1.38.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const iu=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],lu=Z("copy",iu);/**
171
+ */const lu=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],cu=K("copy",lu);/**
172
172
  * @license lucide-react v1.38.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
- */const cu=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]],uu=Z("chevrons-left-right-ellipsis",cu);/**
176
+ */const uu=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]],du=K("chevrons-left-right-ellipsis",uu);/**
177
177
  * @license lucide-react v1.38.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
- */const du=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],pu=Z("credit-card",du);/**
181
+ */const pu=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],hu=K("credit-card",pu);/**
182
182
  * @license lucide-react v1.38.0 - ISC
183
183
  *
184
184
  * This source code is licensed under the ISC license.
185
185
  * See the LICENSE file in the root directory of this source tree.
186
- */const hu=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],fo=Z("database",hu);/**
186
+ */const mu=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],fo=K("database",mu);/**
187
187
  * @license lucide-react v1.38.0 - ISC
188
188
  *
189
189
  * This source code is licensed under the ISC license.
190
190
  * See the LICENSE file in the root directory of this source tree.
191
- */const mu=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],fu=Z("diff",mu);/**
191
+ */const fu=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Cu=K("diff",fu);/**
192
192
  * @license lucide-react v1.38.0 - ISC
193
193
  *
194
194
  * This source code is licensed under the ISC license.
195
195
  * See the LICENSE file in the root directory of this source tree.
196
- */const Cu=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Co=Z("download",Cu);/**
196
+ */const gu=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Co=K("download",gu);/**
197
197
  * @license lucide-react v1.38.0 - ISC
198
198
  *
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
- */const gu=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],bu=Z("ear",gu);/**
201
+ */const bu=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],yu=K("ear",bu);/**
202
202
  * @license lucide-react v1.38.0 - ISC
203
203
  *
204
204
  * This source code is licensed under the ISC license.
205
205
  * See the LICENSE file in the root directory of this source tree.
206
- */const yu=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],vu=Z("square-pen",yu);/**
206
+ */const vu=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],xu=K("square-pen",vu);/**
207
207
  * @license lucide-react v1.38.0 - ISC
208
208
  *
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
- */const xu=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],_u=Z("pen",xu);/**
211
+ */const _u=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],wu=K("pen",_u);/**
212
212
  * @license lucide-react v1.38.0 - ISC
213
213
  *
214
214
  * This source code is licensed under the ISC license.
215
215
  * See the LICENSE file in the root directory of this source tree.
216
- */const wu=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ku=Z("pen-line",wu);/**
216
+ */const ku=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Au=K("pen-line",ku);/**
217
217
  * @license lucide-react v1.38.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const Au=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],go=Z("ellipsis",Au);/**
221
+ */const Nu=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],go=K("ellipsis",Nu);/**
222
222
  * @license lucide-react v1.38.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
- */const Nu=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],Bu=Z("eraser",Nu);/**
226
+ */const Bu=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],Du=K("eraser",Bu);/**
227
227
  * @license lucide-react v1.38.0 - ISC
228
228
  *
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
- */const Du=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Su=Z("external-link",Du);/**
231
+ */const Su=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Tu=K("external-link",Su);/**
232
232
  * @license lucide-react v1.38.0 - ISC
233
233
  *
234
234
  * This source code is licensed under the ISC license.
235
235
  * See the LICENSE file in the root directory of this source tree.
236
- */const ju=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Tu=Z("eye",ju);/**
236
+ */const ju=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Eu=K("eye",ju);/**
237
237
  * @license lucide-react v1.38.0 - ISC
238
238
  *
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
- */const Eu=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Mu=Z("file-text",Eu);/**
241
+ */const Mu=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Lu=K("file-text",Mu);/**
242
242
  * @license lucide-react v1.38.0 - ISC
243
243
  *
244
244
  * This source code is licensed under the ISC license.
245
245
  * See the LICENSE file in the root directory of this source tree.
246
- */const Lu=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],$u=Z("square-centerline-dashed-horizontal",Lu);/**
246
+ */const $u=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],Ru=K("square-centerline-dashed-horizontal",$u);/**
247
247
  * @license lucide-react v1.38.0 - ISC
248
248
  *
249
249
  * This source code is licensed under the ISC license.
250
250
  * See the LICENSE file in the root directory of this source tree.
251
- */const Ru=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Pu=Z("folder-open",Ru);/**
251
+ */const Pu=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Iu=K("folder-open",Pu);/**
252
252
  * @license lucide-react v1.38.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
- */const Iu=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Fu=Z("folder-plus",Iu);/**
256
+ */const Fu=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Ou=K("folder-plus",Fu);/**
257
257
  * @license lucide-react v1.38.0 - ISC
258
258
  *
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
- */const Ou=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Hu=Z("gamepad",Ou);/**
261
+ */const Hu=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Vu=K("gamepad",Hu);/**
262
262
  * @license lucide-react v1.38.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
- */const Vu=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],zu=Z("gavel",Vu);/**
266
+ */const zu=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],Wu=K("gavel",zu);/**
267
267
  * @license lucide-react v1.38.0 - ISC
268
268
  *
269
269
  * This source code is licensed under the ISC license.
270
270
  * See the LICENSE file in the root directory of this source tree.
271
- */const Wu=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],bo=Z("git-merge",Wu);/**
271
+ */const qu=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],bo=K("git-merge",qu);/**
272
272
  * @license lucide-react v1.38.0 - ISC
273
273
  *
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
- */const qu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Uu=Z("globe",qu);/**
276
+ */const Uu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Gu=K("globe",Uu);/**
277
277
  * @license lucide-react v1.38.0 - ISC
278
278
  *
279
279
  * This source code is licensed under the ISC license.
280
280
  * See the LICENSE file in the root directory of this source tree.
281
- */const Gu=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Ku=Z("headphones",Gu);/**
281
+ */const Ku=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Zu=K("headphones",Ku);/**
282
282
  * @license lucide-react v1.38.0 - ISC
283
283
  *
284
284
  * This source code is licensed under the ISC license.
285
285
  * See the LICENSE file in the root directory of this source tree.
286
- */const Zu=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Yu=Z("heart",Zu);/**
286
+ */const Yu=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Xu=K("heart",Yu);/**
287
287
  * @license lucide-react v1.38.0 - ISC
288
288
  *
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
- */const Xu=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ju=Z("house",Xu);/**
291
+ */const Ju=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Qu=K("house",Ju);/**
292
292
  * @license lucide-react v1.38.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
- */const Qu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ed=Z("info",Qu);/**
296
+ */const ed=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],td=K("info",ed);/**
297
297
  * @license lucide-react v1.38.0 - ISC
298
298
  *
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
- */const td=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],nd=Z("key-round",td);/**
301
+ */const nd=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],ad=K("key-round",nd);/**
302
302
  * @license lucide-react v1.38.0 - ISC
303
303
  *
304
304
  * This source code is licensed under the ISC license.
305
305
  * See the LICENSE file in the root directory of this source tree.
306
- */const ad=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],rd=Z("landmark",ad);/**
306
+ */const rd=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],od=K("landmark",rd);/**
307
307
  * @license lucide-react v1.38.0 - ISC
308
308
  *
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
- */const od=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],sd=Z("layers",od);/**
311
+ */const sd=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],id=K("layers",sd);/**
312
312
  * @license lucide-react v1.38.0 - ISC
313
313
  *
314
314
  * This source code is licensed under the ISC license.
315
315
  * See the LICENSE file in the root directory of this source tree.
316
- */const id=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],ld=Z("layout-dashboard",id);/**
316
+ */const ld=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],cd=K("layout-dashboard",ld);/**
317
317
  * @license lucide-react v1.38.0 - ISC
318
318
  *
319
319
  * This source code is licensed under the ISC license.
320
320
  * See the LICENSE file in the root directory of this source tree.
321
- */const cd=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],ud=Z("leaf",cd);/**
321
+ */const ud=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],dd=K("leaf",ud);/**
322
322
  * @license lucide-react v1.38.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
- */const dd=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],pd=Z("lightbulb",dd);/**
326
+ */const pd=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],hd=K("lightbulb",pd);/**
327
327
  * @license lucide-react v1.38.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
- */const hd=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],md=Z("link",hd);/**
331
+ */const md=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],fd=K("link",md);/**
332
332
  * @license lucide-react v1.38.0 - ISC
333
333
  *
334
334
  * This source code is licensed under the ISC license.
335
335
  * See the LICENSE file in the root directory of this source tree.
336
- */const fd=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Cd=Z("link-2",fd);/**
336
+ */const Cd=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],gd=K("link-2",Cd);/**
337
337
  * @license lucide-react v1.38.0 - ISC
338
338
  *
339
339
  * This source code is licensed under the ISC license.
340
340
  * See the LICENSE file in the root directory of this source tree.
341
- */const gd=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],bd=Z("link-2-off",gd);/**
341
+ */const bd=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],yd=K("link-2-off",bd);/**
342
342
  * @license lucide-react v1.38.0 - ISC
343
343
  *
344
344
  * This source code is licensed under the ISC license.
345
345
  * See the LICENSE file in the root directory of this source tree.
346
- */const yd=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],vd=Z("list",yd);/**
346
+ */const vd=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],xd=K("list",vd);/**
347
347
  * @license lucide-react v1.38.0 - ISC
348
348
  *
349
349
  * This source code is licensed under the ISC license.
350
350
  * See the LICENSE file in the root directory of this source tree.
351
- */const xd=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],_d=Z("list-checks",xd);/**
351
+ */const _d=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],wd=K("list-checks",_d);/**
352
352
  * @license lucide-react v1.38.0 - ISC
353
353
  *
354
354
  * This source code is licensed under the ISC license.
355
355
  * See the LICENSE file in the root directory of this source tree.
356
- */const wd=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],kd=Z("list-ordered",wd);/**
356
+ */const kd=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],Ad=K("list-ordered",kd);/**
357
357
  * @license lucide-react v1.38.0 - ISC
358
358
  *
359
359
  * This source code is licensed under the ISC license.
360
360
  * See the LICENSE file in the root directory of this source tree.
361
- */const Ad=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],Nd=Z("loader",Ad);/**
361
+ */const Nd=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],Bd=K("loader",Nd);/**
362
362
  * @license lucide-react v1.38.0 - ISC
363
363
  *
364
364
  * This source code is licensed under the ISC license.
365
365
  * See the LICENSE file in the root directory of this source tree.
366
- */const Bd=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Dd=Z("lock",Bd);/**
366
+ */const Dd=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Sd=K("lock",Dd);/**
367
367
  * @license lucide-react v1.38.0 - ISC
368
368
  *
369
369
  * This source code is licensed under the ISC license.
370
370
  * See the LICENSE file in the root directory of this source tree.
371
- */const Sd=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],jd=Z("log-out",Sd);/**
371
+ */const Td=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],jd=K("log-out",Td);/**
372
372
  * @license lucide-react v1.38.0 - ISC
373
373
  *
374
374
  * This source code is licensed under the ISC license.
375
375
  * See the LICENSE file in the root directory of this source tree.
376
- */const Td=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ed=Z("mail",Td);/**
376
+ */const Ed=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Md=K("mail",Ed);/**
377
377
  * @license lucide-react v1.38.0 - ISC
378
378
  *
379
379
  * This source code is licensed under the ISC license.
380
380
  * See the LICENSE file in the root directory of this source tree.
381
- */const Md=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Ld=Z("map-pin",Md);/**
381
+ */const Ld=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],$d=K("map-pin",Ld);/**
382
382
  * @license lucide-react v1.38.0 - ISC
383
383
  *
384
384
  * This source code is licensed under the ISC license.
385
385
  * See the LICENSE file in the root directory of this source tree.
386
- */const $d=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Rd=Z("message-circle",$d);/**
386
+ */const Rd=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Pd=K("message-circle",Rd);/**
387
387
  * @license lucide-react v1.38.0 - ISC
388
388
  *
389
389
  * This source code is licensed under the ISC license.
390
390
  * See the LICENSE file in the root directory of this source tree.
391
- */const Pd=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Id=Z("message-circle-question-mark",Pd);/**
391
+ */const Id=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Fd=K("message-circle-question-mark",Id);/**
392
392
  * @license lucide-react v1.38.0 - ISC
393
393
  *
394
394
  * This source code is licensed under the ISC license.
395
395
  * See the LICENSE file in the root directory of this source tree.
396
- */const Fd=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Od=Z("message-square",Fd);/**
396
+ */const Od=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Hd=K("message-square",Od);/**
397
397
  * @license lucide-react v1.38.0 - ISC
398
398
  *
399
399
  * This source code is licensed under the ISC license.
400
400
  * See the LICENSE file in the root directory of this source tree.
401
- */const Hd=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],Vd=Z("message-square-text",Hd);/**
401
+ */const Vd=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],zd=K("message-square-text",Vd);/**
402
402
  * @license lucide-react v1.38.0 - ISC
403
403
  *
404
404
  * This source code is licensed under the ISC license.
405
405
  * See the LICENSE file in the root directory of this source tree.
406
- */const zd=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Wd=Z("circle-minus",zd);/**
406
+ */const Wd=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],qd=K("circle-minus",Wd);/**
407
407
  * @license lucide-react v1.38.0 - ISC
408
408
  *
409
409
  * This source code is licensed under the ISC license.
410
410
  * See the LICENSE file in the root directory of this source tree.
411
- */const qd=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Ud=Z("package",qd);/**
411
+ */const Ud=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Gd=K("package",Ud);/**
412
412
  * @license lucide-react v1.38.0 - ISC
413
413
  *
414
414
  * This source code is licensed under the ISC license.
415
415
  * See the LICENSE file in the root directory of this source tree.
416
- */const Gd=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Kd=Z("palette",Gd);/**
416
+ */const Kd=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Zd=K("palette",Kd);/**
417
417
  * @license lucide-react v1.38.0 - ISC
418
418
  *
419
419
  * This source code is licensed under the ISC license.
420
420
  * See the LICENSE file in the root directory of this source tree.
421
- */const Zd=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Yd=Z("party-popper",Zd);/**
421
+ */const Yd=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Xd=K("party-popper",Yd);/**
422
422
  * @license lucide-react v1.38.0 - ISC
423
423
  *
424
424
  * This source code is licensed under the ISC license.
425
425
  * See the LICENSE file in the root directory of this source tree.
426
- */const Xd=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Jd=Z("pause",Xd);/**
426
+ */const Jd=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Qd=K("pause",Jd);/**
427
427
  * @license lucide-react v1.38.0 - ISC
428
428
  *
429
429
  * This source code is licensed under the ISC license.
430
430
  * See the LICENSE file in the root directory of this source tree.
431
- */const Qd=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],e1=Z("pencil",Qd);/**
431
+ */const e1=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],t1=K("pencil",e1);/**
432
432
  * @license lucide-react v1.38.0 - ISC
433
433
  *
434
434
  * This source code is licensed under the ISC license.
435
435
  * See the LICENSE file in the root directory of this source tree.
436
- */const t1=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],n1=Z("phone",t1);/**
436
+ */const n1=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],a1=K("phone",n1);/**
437
437
  * @license lucide-react v1.38.0 - ISC
438
438
  *
439
439
  * This source code is licensed under the ISC license.
440
440
  * See the LICENSE file in the root directory of this source tree.
441
- */const a1=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],r1=Z("play",a1);/**
441
+ */const r1=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],o1=K("play",r1);/**
442
442
  * @license lucide-react v1.38.0 - ISC
443
443
  *
444
444
  * This source code is licensed under the ISC license.
445
445
  * See the LICENSE file in the root directory of this source tree.
446
- */const o1=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],s1=Z("circle-play",o1);/**
446
+ */const s1=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],i1=K("circle-play",s1);/**
447
447
  * @license lucide-react v1.38.0 - ISC
448
448
  *
449
449
  * This source code is licensed under the ISC license.
450
450
  * See the LICENSE file in the root directory of this source tree.
451
- */const i1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],l1=Z("plus",i1);/**
451
+ */const l1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],c1=K("plus",l1);/**
452
452
  * @license lucide-react v1.38.0 - ISC
453
453
  *
454
454
  * This source code is licensed under the ISC license.
455
455
  * See the LICENSE file in the root directory of this source tree.
456
- */const c1=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],u1=Z("printer",c1);/**
456
+ */const u1=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],d1=K("printer",u1);/**
457
457
  * @license lucide-react v1.38.0 - ISC
458
458
  *
459
459
  * This source code is licensed under the ISC license.
460
460
  * See the LICENSE file in the root directory of this source tree.
461
- */const d1=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],p1=Z("refresh-cw",d1);/**
461
+ */const p1=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],h1=K("refresh-cw",p1);/**
462
462
  * @license lucide-react v1.38.0 - ISC
463
463
  *
464
464
  * This source code is licensed under the ISC license.
465
465
  * See the LICENSE file in the root directory of this source tree.
466
- */const h1=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],m1=Z("repeat",h1);/**
466
+ */const m1=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],f1=K("repeat",m1);/**
467
467
  * @license lucide-react v1.38.0 - ISC
468
468
  *
469
469
  * This source code is licensed under the ISC license.
470
470
  * See the LICENSE file in the root directory of this source tree.
471
- */const f1=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],C1=Z("replace",f1);/**
471
+ */const C1=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],g1=K("replace",C1);/**
472
472
  * @license lucide-react v1.38.0 - ISC
473
473
  *
474
474
  * This source code is licensed under the ISC license.
475
475
  * See the LICENSE file in the root directory of this source tree.
476
- */const g1=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],b1=Z("rocket",g1);/**
476
+ */const b1=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],y1=K("rocket",b1);/**
477
477
  * @license lucide-react v1.38.0 - ISC
478
478
  *
479
479
  * This source code is licensed under the ISC license.
480
480
  * See the LICENSE file in the root directory of this source tree.
481
- */const y1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],v1=Z("rotate-ccw",y1);/**
481
+ */const v1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],x1=K("rotate-ccw",v1);/**
482
482
  * @license lucide-react v1.38.0 - ISC
483
483
  *
484
484
  * This source code is licensed under the ISC license.
485
485
  * See the LICENSE file in the root directory of this source tree.
486
- */const x1=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],_1=Z("rotate-cw",x1);/**
486
+ */const _1=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],w1=K("rotate-cw",_1);/**
487
487
  * @license lucide-react v1.38.0 - ISC
488
488
  *
489
489
  * This source code is licensed under the ISC license.
490
490
  * See the LICENSE file in the root directory of this source tree.
491
- */const w1=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],k1=Z("salad",w1);/**
491
+ */const k1=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],A1=K("salad",k1);/**
492
492
  * @license lucide-react v1.38.0 - ISC
493
493
  *
494
494
  * This source code is licensed under the ISC license.
495
495
  * See the LICENSE file in the root directory of this source tree.
496
- */const A1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],N1=Z("scan-search",A1);/**
496
+ */const N1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],B1=K("scan-search",N1);/**
497
497
  * @license lucide-react v1.38.0 - ISC
498
498
  *
499
499
  * This source code is licensed under the ISC license.
500
500
  * See the LICENSE file in the root directory of this source tree.
501
- */const B1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],yo=Z("circle-alert",B1);/**
501
+ */const D1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],yo=K("circle-alert",D1);/**
502
502
  * @license lucide-react v1.38.0 - ISC
503
503
  *
504
504
  * This source code is licensed under the ISC license.
505
505
  * See the LICENSE file in the root directory of this source tree.
506
- */const D1=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],vo=Z("circle-check-big",D1);/**
506
+ */const S1=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],vo=K("circle-check-big",S1);/**
507
507
  * @license lucide-react v1.38.0 - ISC
508
508
  *
509
509
  * This source code is licensed under the ISC license.
510
510
  * See the LICENSE file in the root directory of this source tree.
511
- */const S1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],j1=Z("search",S1);/**
511
+ */const T1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],j1=K("search",T1);/**
512
512
  * @license lucide-react v1.38.0 - ISC
513
513
  *
514
514
  * This source code is licensed under the ISC license.
515
515
  * See the LICENSE file in the root directory of this source tree.
516
- */const T1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],E1=Z("scissors",T1);/**
516
+ */const E1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],M1=K("scissors",E1);/**
517
517
  * @license lucide-react v1.38.0 - ISC
518
518
  *
519
519
  * This source code is licensed under the ISC license.
520
520
  * See the LICENSE file in the root directory of this source tree.
521
- */const M1=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],L1=Z("search-x",M1);/**
521
+ */const L1=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],$1=K("search-x",L1);/**
522
522
  * @license lucide-react v1.38.0 - ISC
523
523
  *
524
524
  * This source code is licensed under the ISC license.
525
525
  * See the LICENSE file in the root directory of this source tree.
526
- */const $1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],R1=Z("send",$1);/**
526
+ */const R1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],P1=K("send",R1);/**
527
527
  * @license lucide-react v1.38.0 - ISC
528
528
  *
529
529
  * This source code is licensed under the ISC license.
530
530
  * See the LICENSE file in the root directory of this source tree.
531
- */const P1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],I1=Z("settings",P1);/**
531
+ */const I1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],F1=K("settings",I1);/**
532
532
  * @license lucide-react v1.38.0 - ISC
533
533
  *
534
534
  * This source code is licensed under the ISC license.
535
535
  * See the LICENSE file in the root directory of this source tree.
536
- */const F1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],O1=Z("shield-check",F1);/**
536
+ */const O1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],H1=K("shield-check",O1);/**
537
537
  * @license lucide-react v1.38.0 - ISC
538
538
  *
539
539
  * This source code is licensed under the ISC license.
540
540
  * See the LICENSE file in the root directory of this source tree.
541
- */const H1=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],V1=Z("shopping-cart",H1);/**
541
+ */const V1=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],z1=K("shopping-cart",V1);/**
542
542
  * @license lucide-react v1.38.0 - ISC
543
543
  *
544
544
  * This source code is licensed under the ISC license.
545
545
  * See the LICENSE file in the root directory of this source tree.
546
- */const z1=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],W1=Z("shuffle",z1);/**
546
+ */const W1=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],q1=K("shuffle",W1);/**
547
547
  * @license lucide-react v1.38.0 - ISC
548
548
  *
549
549
  * This source code is licensed under the ISC license.
550
550
  * See the LICENSE file in the root directory of this source tree.
551
- */const q1=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],U1=Z("skip-back",q1);/**
551
+ */const U1=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],G1=K("skip-back",U1);/**
552
552
  * @license lucide-react v1.38.0 - ISC
553
553
  *
554
554
  * This source code is licensed under the ISC license.
555
555
  * See the LICENSE file in the root directory of this source tree.
556
- */const G1=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],K1=Z("skip-forward",G1);/**
556
+ */const K1=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],Z1=K("skip-forward",K1);/**
557
557
  * @license lucide-react v1.38.0 - ISC
558
558
  *
559
559
  * This source code is licensed under the ISC license.
560
560
  * See the LICENSE file in the root directory of this source tree.
561
- */const Z1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Y1=Z("square",Z1);/**
561
+ */const Y1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],X1=K("square",Y1);/**
562
562
  * @license lucide-react v1.38.0 - ISC
563
563
  *
564
564
  * This source code is licensed under the ISC license.
565
565
  * See the LICENSE file in the root directory of this source tree.
566
- */const X1=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],J1=Z("star",X1);/**
566
+ */const J1=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Q1=K("star",J1);/**
567
567
  * @license lucide-react v1.38.0 - ISC
568
568
  *
569
569
  * This source code is licensed under the ISC license.
570
570
  * See the LICENSE file in the root directory of this source tree.
571
- */const Q1=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],ep=Z("store",Q1);/**
571
+ */const ep=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],tp=K("store",ep);/**
572
572
  * @license lucide-react v1.38.0 - ISC
573
573
  *
574
574
  * This source code is licensed under the ISC license.
575
575
  * See the LICENSE file in the root directory of this source tree.
576
- */const tp=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],np=Z("sun-medium",tp);/**
576
+ */const np=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],ap=K("sun-medium",np);/**
577
577
  * @license lucide-react v1.38.0 - ISC
578
578
  *
579
579
  * This source code is licensed under the ISC license.
580
580
  * See the LICENSE file in the root directory of this source tree.
581
- */const ap=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],rp=Z("table",ap);/**
581
+ */const rp=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],op=K("table",rp);/**
582
582
  * @license lucide-react v1.38.0 - ISC
583
583
  *
584
584
  * This source code is licensed under the ISC license.
585
585
  * See the LICENSE file in the root directory of this source tree.
586
- */const op=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],sp=Z("table-2",op);/**
586
+ */const sp=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],ip=K("table-2",sp);/**
587
587
  * @license lucide-react v1.38.0 - ISC
588
588
  *
589
589
  * This source code is licensed under the ISC license.
590
590
  * See the LICENSE file in the root directory of this source tree.
591
- */const ip=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],lp=Z("tag",ip);/**
591
+ */const lp=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],cp=K("tag",lp);/**
592
592
  * @license lucide-react v1.38.0 - ISC
593
593
  *
594
594
  * This source code is licensed under the ISC license.
595
595
  * See the LICENSE file in the root directory of this source tree.
596
- */const cp=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],up=Z("terminal",cp);/**
596
+ */const up=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],dp=K("terminal",up);/**
597
597
  * @license lucide-react v1.38.0 - ISC
598
598
  *
599
599
  * This source code is licensed under the ISC license.
600
600
  * See the LICENSE file in the root directory of this source tree.
601
- */const dp=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],pp=Z("text-cursor-input",dp);/**
601
+ */const pp=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],hp=K("text-cursor-input",pp);/**
602
602
  * @license lucide-react v1.38.0 - ISC
603
603
  *
604
604
  * This source code is licensed under the ISC license.
605
605
  * See the LICENSE file in the root directory of this source tree.
606
- */const hp=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],mp=Z("text-initial",hp);/**
606
+ */const mp=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],fp=K("text-initial",mp);/**
607
607
  * @license lucide-react v1.38.0 - ISC
608
608
  *
609
609
  * This source code is licensed under the ISC license.
610
610
  * See the LICENSE file in the root directory of this source tree.
611
- */const fp=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],Cp=Z("ticket",fp);/**
611
+ */const Cp=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],gp=K("ticket",Cp);/**
612
612
  * @license lucide-react v1.38.0 - ISC
613
613
  *
614
614
  * This source code is licensed under the ISC license.
615
615
  * See the LICENSE file in the root directory of this source tree.
616
- */const gp=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],bp=Z("trash-2",gp);/**
616
+ */const bp=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],yp=K("trash-2",bp);/**
617
617
  * @license lucide-react v1.38.0 - ISC
618
618
  *
619
619
  * This source code is licensed under the ISC license.
620
620
  * See the LICENSE file in the root directory of this source tree.
621
- */const yp=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],vp=Z("trash",yp);/**
621
+ */const vp=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],xp=K("trash",vp);/**
622
622
  * @license lucide-react v1.38.0 - ISC
623
623
  *
624
624
  * This source code is licensed under the ISC license.
625
625
  * See the LICENSE file in the root directory of this source tree.
626
- */const xp=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],_p=Z("trending-up",xp);/**
626
+ */const _p=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],wp=K("trending-up",_p);/**
627
627
  * @license lucide-react v1.38.0 - ISC
628
628
  *
629
629
  * This source code is licensed under the ISC license.
630
630
  * See the LICENSE file in the root directory of this source tree.
631
- */const wp=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],kp=Z("trophy",wp);/**
631
+ */const kp=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],Ap=K("trophy",kp);/**
632
632
  * @license lucide-react v1.38.0 - ISC
633
633
  *
634
634
  * This source code is licensed under the ISC license.
635
635
  * See the LICENSE file in the root directory of this source tree.
636
- */const Ap=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],Np=Z("unlink",Ap);/**
636
+ */const Np=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],Bp=K("unlink",Np);/**
637
637
  * @license lucide-react v1.38.0 - ISC
638
638
  *
639
639
  * This source code is licensed under the ISC license.
640
640
  * See the LICENSE file in the root directory of this source tree.
641
- */const Bp=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Dp=Z("upload",Bp);/**
641
+ */const Dp=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Sp=K("upload",Dp);/**
642
642
  * @license lucide-react v1.38.0 - ISC
643
643
  *
644
644
  * This source code is licensed under the ISC license.
645
645
  * See the LICENSE file in the root directory of this source tree.
646
- */const Sp=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Ia=Z("user",Sp);/**
646
+ */const Tp=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Ia=K("user",Tp);/**
647
647
  * @license lucide-react v1.38.0 - ISC
648
648
  *
649
649
  * This source code is licensed under the ISC license.
650
650
  * See the LICENSE file in the root directory of this source tree.
651
- */const jp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Tp=Z("user-plus",jp);/**
651
+ */const jp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Ep=K("user-plus",jp);/**
652
652
  * @license lucide-react v1.38.0 - ISC
653
653
  *
654
654
  * This source code is licensed under the ISC license.
655
655
  * See the LICENSE file in the root directory of this source tree.
656
- */const Ep=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Mp=Z("user-round",Ep);/**
656
+ */const Mp=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Lp=K("user-round",Mp);/**
657
657
  * @license lucide-react v1.38.0 - ISC
658
658
  *
659
659
  * This source code is licensed under the ISC license.
660
660
  * See the LICENSE file in the root directory of this source tree.
661
- */const Lp=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],$p=Z("user-round-check",Lp);/**
661
+ */const $p=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],Rp=K("user-round-check",$p);/**
662
662
  * @license lucide-react v1.38.0 - ISC
663
663
  *
664
664
  * This source code is licensed under the ISC license.
665
665
  * See the LICENSE file in the root directory of this source tree.
666
- */const Rp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Pp=Z("users",Rp);/**
666
+ */const Pp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Ip=K("users",Pp);/**
667
667
  * @license lucide-react v1.38.0 - ISC
668
668
  *
669
669
  * This source code is licensed under the ISC license.
670
670
  * See the LICENSE file in the root directory of this source tree.
671
- */const Ip=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],Fp=Z("users-round",Ip);/**
671
+ */const Fp=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],Op=K("users-round",Fp);/**
672
672
  * @license lucide-react v1.38.0 - ISC
673
673
  *
674
674
  * This source code is licensed under the ISC license.
675
675
  * See the LICENSE file in the root directory of this source tree.
676
- */const Op=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],xo=Z("volume-2",Op);/**
676
+ */const Hp=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],xo=K("volume-2",Hp);/**
677
677
  * @license lucide-react v1.38.0 - ISC
678
678
  *
679
679
  * This source code is licensed under the ISC license.
680
680
  * See the LICENSE file in the root directory of this source tree.
681
- */const Hp=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],Vp=Z("wrench",Hp);/**
681
+ */const Vp=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],zp=K("wrench",Vp);/**
682
682
  * @license lucide-react v1.38.0 - ISC
683
683
  *
684
684
  * This source code is licensed under the ISC license.
685
685
  * See the LICENSE file in the root directory of this source tree.
686
- */const zp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_o=Z("x",zp);/**
686
+ */const Wp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_o=K("x",Wp);/**
687
687
  * @license lucide-react v1.38.0 - ISC
688
688
  *
689
689
  * This source code is licensed under the ISC license.
690
690
  * See the LICENSE file in the root directory of this source tree.
691
- */const Wp=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],qp=Z("zap",Wp);/**
691
+ */const qp=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],Up=K("zap",qp);/**
692
692
  * @license lucide-react v1.38.0 - ISC
693
693
  *
694
694
  * This source code is licensed under the ISC license.
695
695
  * See the LICENSE file in the root directory of this source tree.
696
- */const Up=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],Gp=Z("anchor",Up);/**
696
+ */const Gp=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],Kp=K("anchor",Gp);/**
697
697
  * @license lucide-react v1.38.0 - ISC
698
698
  *
699
699
  * This source code is licensed under the ISC license.
700
700
  * See the LICENSE file in the root directory of this source tree.
701
- */const Kp=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Zp=Z("armchair",Kp);/**
701
+ */const Zp=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Yp=K("armchair",Zp);/**
702
702
  * @license lucide-react v1.38.0 - ISC
703
703
  *
704
704
  * This source code is licensed under the ISC license.
705
705
  * See the LICENSE file in the root directory of this source tree.
706
- */const Yp=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],Xp=Z("arrow-up-a-z",Yp);/**
706
+ */const Xp=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],Jp=K("arrow-up-a-z",Xp);/**
707
707
  * @license lucide-react v1.38.0 - ISC
708
708
  *
709
709
  * This source code is licensed under the ISC license.
710
710
  * See the LICENSE file in the root directory of this source tree.
711
- */const Jp=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],Qp=Z("chart-no-axes-column",Jp);/**
711
+ */const Qp=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],eh=K("chart-no-axes-column",Qp);/**
712
712
  * @license lucide-react v1.38.0 - ISC
713
713
  *
714
714
  * This source code is licensed under the ISC license.
715
715
  * See the LICENSE file in the root directory of this source tree.
716
- */const eh=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],wo=Z("calendar",eh);/**
716
+ */const th=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],wo=K("calendar",th);/**
717
717
  * @license lucide-react v1.38.0 - ISC
718
718
  *
719
719
  * This source code is licensed under the ISC license.
720
720
  * See the LICENSE file in the root directory of this source tree.
721
- */const th=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],nh=Z("car",th);/**
721
+ */const nh=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],ah=K("car",nh);/**
722
722
  * @license lucide-react v1.38.0 - ISC
723
723
  *
724
724
  * This source code is licensed under the ISC license.
725
725
  * See the LICENSE file in the root directory of this source tree.
726
- */const ah=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],rh=Z("coffee",ah);/**
726
+ */const rh=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],oh=K("coffee",rh);/**
727
727
  * @license lucide-react v1.38.0 - ISC
728
728
  *
729
729
  * This source code is licensed under the ISC license.
730
730
  * See the LICENSE file in the root directory of this source tree.
731
- */const oh=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],sh=Z("gamepad-2",oh);/**
731
+ */const sh=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],ih=K("gamepad-2",sh);/**
732
732
  * @license lucide-react v1.38.0 - ISC
733
733
  *
734
734
  * This source code is licensed under the ISC license.
735
735
  * See the LICENSE file in the root directory of this source tree.
736
- */const ih=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],lh=Z("inbox",ih);/**
736
+ */const lh=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],ch=K("inbox",lh);/**
737
737
  * @license lucide-react v1.38.0 - ISC
738
738
  *
739
739
  * This source code is licensed under the ISC license.
740
740
  * See the LICENSE file in the root directory of this source tree.
741
- */const ch=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],uh=Z("list-tree",ch);/**
741
+ */const uh=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],dh=K("list-tree",uh);/**
742
742
  * @license lucide-react v1.38.0 - ISC
743
743
  *
744
744
  * This source code is licensed under the ISC license.
745
745
  * See the LICENSE file in the root directory of this source tree.
746
- */const dh=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],ph=Z("message-square-more",dh);/**
746
+ */const ph=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],hh=K("message-square-more",ph);/**
747
747
  * @license lucide-react v1.38.0 - ISC
748
748
  *
749
749
  * This source code is licensed under the ISC license.
750
750
  * See the LICENSE file in the root directory of this source tree.
751
- */const hh=[["path",{d:"M5 12h14",key:"1ays0h"}]],mh=Z("minus",hh);/**
751
+ */const mh=[["path",{d:"M5 12h14",key:"1ays0h"}]],fh=K("minus",mh);/**
752
752
  * @license lucide-react v1.38.0 - ISC
753
753
  *
754
754
  * This source code is licensed under the ISC license.
755
755
  * See the LICENSE file in the root directory of this source tree.
756
- */const fh=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Ch=Z("share-2",fh);/**
756
+ */const Ch=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],gh=K("share-2",Ch);/**
757
757
  * @license lucide-react v1.38.0 - ISC
758
758
  *
759
759
  * This source code is licensed under the ISC license.
760
760
  * See the LICENSE file in the root directory of this source tree.
761
- */const gh=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],bh=Z("sparkles",gh);/**
761
+ */const bh=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],yh=K("sparkles",bh);/**
762
762
  * @license lucide-react v1.38.0 - ISC
763
763
  *
764
764
  * This source code is licensed under the ISC license.
765
765
  * See the LICENSE file in the root directory of this source tree.
766
- */const yh=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],vh=Z("type",yh);/**
766
+ */const vh=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],xh=K("type",vh);/**
767
767
  * @license lucide-react v1.38.0 - ISC
768
768
  *
769
769
  * This source code is licensed under the ISC license.
770
770
  * See the LICENSE file in the root directory of this source tree.
771
- */const xh=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],_h=Z("volume",xh);/**
771
+ */const _h=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],wh=K("volume",_h);/**
772
772
  * @license lucide-react v1.38.0 - ISC
773
773
  *
774
774
  * This source code is licensed under the ISC license.
775
775
  * See the LICENSE file in the root directory of this source tree.
776
- */const wh=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ko=Z("chevron-down",wh);/**
776
+ */const kh=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ko=K("chevron-down",kh);/**
777
777
  * @license lucide-react v1.38.0 - ISC
778
778
  *
779
779
  * This source code is licensed under the ISC license.
780
780
  * See the LICENSE file in the root directory of this source tree.
781
- */const kh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ao=Z("chevron-up",kh);/**
781
+ */const Ah=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ao=K("chevron-up",Ah);/**
782
782
  * @license lucide-react v1.38.0 - ISC
783
783
  *
784
784
  * This source code is licensed under the ISC license.
785
785
  * See the LICENSE file in the root directory of this source tree.
786
- */const Ah=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Nh=Z("circle",Ah);/**
786
+ */const Nh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Bh=K("circle",Nh);/**
787
787
  * @license lucide-react v1.38.0 - ISC
788
788
  *
789
789
  * This source code is licensed under the ISC license.
790
790
  * See the LICENSE file in the root directory of this source tree.
791
- */const Bh=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],Dh=Z("triangle",Bh);/**
791
+ */const Dh=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],Sh=K("triangle",Dh);/**
792
792
  * @license lucide-react v1.38.0 - ISC
793
793
  *
794
794
  * This source code is licensed under the ISC license.
795
795
  * See the LICENSE file in the root directory of this source tree.
796
- */const Sh=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],jh=Z("menu",Sh);/**
796
+ */const Th=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],jh=K("menu",Th);/**
797
797
  * @license lucide-react v1.38.0 - ISC
798
798
  *
799
799
  * This source code is licensed under the ISC license.
800
800
  * See the LICENSE file in the root directory of this source tree.
801
- */const Th=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Eh=Z("moon",Th);/**
801
+ */const Eh=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Mh=K("moon",Eh);/**
802
802
  * @license lucide-react v1.38.0 - ISC
803
803
  *
804
804
  * This source code is licensed under the ISC license.
805
805
  * See the LICENSE file in the root directory of this source tree.
806
- */const Mh=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],Lh=Z("thumbs-up",Mh),No={"alert-triangle":uo,"align-start-vertical":fc,anchor:Gp,armchair:Zp,"arrow-down":gc,"arrow-left":yc,"arrow-right":xc,"arrow-right-left":wc,"arrow-up-a-z":Xp,"audio-lines":Ac,baby:Bc,ban:Sc,"bar-chart-2":Qp,bell:Tc,"book-marked":Mc,"book-open":$c,"bow-arrow":Pc,braces:Fc,bug:Hc,calendar:wo,"calendar-check":zc,"calendar-days":qc,camera:Gc,car:nh,"chart-column":Zc,"chart-line":Xc,"chart-pie":Qc,check:po,"chevron-down":ko,"chevron-left":ho,"chevron-right":mo,"chevron-up":Ao,circle:Nh,"clipboard-list":ru,coffee:rh,combine:su,copy:lu,"chevrons-left-right-ellipsis":uu,"credit-card":pu,database:fo,diff:fu,download:Co,ear:bu,edit:vu,"edit-2":_u,"edit-3":ku,ellipsis:go,eraser:Bu,"external-link":Su,eye:Tu,"file-text":Mu,"flip-horizontal":$u,"folder-open":Pu,"folder-plus":Fu,gamepad:Hu,"gamepad-2":sh,gavel:zu,"git-merge":bo,globe:Uu,headphones:Ku,heart:Yu,home:Ju,inbox:lh,info:ed,"key-round":nd,landmark:rd,layers:sd,"layout-dashboard":ld,leaf:ud,lightbulb:pd,link:md,"link-2":Cd,"link-2-off":bd,list:vd,"list-checks":_d,"list-ordered":kd,"list-tree":uh,loader:Nd,lock:Dd,"log-out":jd,mail:Ed,"map-pin":Ld,menu:jh,"message-circle":Rd,"message-circle-question-mark":Id,"message-square":Od,"message-square-more":ph,"message-square-text":Vd,minus:mh,"minus-circle":Wd,moon:Eh,"more-horizontal":go,package:Ud,palette:Kd,"party-popper":Yd,pause:Jd,pencil:e1,phone:n1,play:r1,"play-circle":s1,plus:l1,printer:u1,"refresh-cw":p1,repeat:m1,replace:C1,rocket:b1,"rotate-ccw":v1,"rotate-cw":_1,salad:k1,"scan-search":N1,search:j1,"circle-alert":yo,"alert-circle":yo,"check-circle":vo,scissors:E1,"search-x":L1,send:R1,settings:I1,"share-2":Ch,"shield-check":O1,"shopping-cart":V1,shuffle:W1,"skip-back":U1,"skip-forward":K1,sparkles:bh,square:Y1,star:J1,store:ep,"sun-medium":np,table:rp,"table-2":sp,tag:lp,terminal:up,"text-cursor-input":pp,"text-initial":mp,"thumbs-up":Lh,ticket:Cp,trash:vp,triangle:Dh,"trash-2":bp,"trending-up":_p,"triangle-alert":uo,trophy:kp,type:vh,unlink:Np,upload:Dp,user:Ia,"user-plus":Tp,"user-round":Mp,"user-round-check":$p,users:Pp,"users-round":Fp,volume:_h,"volume-2":xo,wrench:Vp,x:_o,zap:qp};function $h(e){return No[e]??null}const Bo=new Set;function Rh(e){return io&&!(e in No)&&!Bo.has(e)&&(Bo.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const Ph=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function Ih(e){const n=e.toLowerCase();if(n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")||e.includes("/assets/"))return null;const a=(e.split("/").pop()||"").replace(/\.svg$/,"");return a?Ph(a):null}const Do=new Map;function Fh(e){const n=typeof e=="string"?Ih(e):null,a=n?$h(n)??Do.get(n)??null:null,[r,o]=s.useState(null);return s.useEffect(()=>{if(!n||a)return;let i=!1;return Rh(n).then(l=>{Do.set(n,l),i||o(l)}),()=>{i=!0}},[n,a]),a??r}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function So(e,n){(n==null||n>e.length)&&(n=e.length);for(var a=0,r=Array(n);a<n;a++)r[a]=e[a];return r}function Oh(e){if(Array.isArray(e))return e}function Hh(e,n){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var r,o,i,l,c=[],u=!0,d=!1;try{if(i=(a=a.call(e)).next,n!==0)for(;!(u=(r=i.call(a)).done)&&(c.push(r.value),c.length!==n);u=!0);}catch(h){d=!0,o=h}finally{try{if(!u&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(d)throw o}}return c}}function Vh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
807
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zh(e,n){return Oh(e)||Hh(e,n)||Wh(e,n)||Vh()}function Wh(e,n){if(e){if(typeof e=="string")return So(e,n);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?So(e,n):void 0}}const jo=Object.entries,To=Object.setPrototypeOf,qh=Object.isFrozen,Uh=Object.getPrototypeOf,Gh=Object.getOwnPropertyDescriptor;let lt=Object.freeze,dt=Object.seal,Sn=Object.create,Eo=typeof Reflect<"u"&&Reflect,Fa=Eo.apply,Oa=Eo.construct;lt||(lt=function(n){return n}),dt||(dt=function(n){return n}),Fa||(Fa=function(n,a){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return n.apply(a,o)}),Oa||(Oa=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return new n(...r)});const vn=st(Array.prototype.forEach),Kh=st(Array.prototype.lastIndexOf),Mo=st(Array.prototype.pop),zn=st(Array.prototype.push),Zh=st(Array.prototype.splice),jn=Array.isArray,Wn=st(String.prototype.toLowerCase),Ha=st(String.prototype.toString),Lo=st(String.prototype.match),qn=st(String.prototype.replace),$o=st(String.prototype.indexOf),Yh=st(String.prototype.trim),Xh=st(Number.prototype.toString),Jh=st(Boolean.prototype.toString),Ro=typeof BigInt>"u"?null:st(BigInt.prototype.toString),Po=typeof Symbol>"u"?null:st(Symbol.prototype.toString),Nt=st(Object.prototype.hasOwnProperty),Un=st(Object.prototype.toString),Ct=st(RegExp.prototype.test),xn=Qh(TypeError);function st(e){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return Fa(e,n,r)}}function Qh(e){return function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Oa(e,a)}}function ze(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wn;if(To&&To(e,null),!jn(n))return e;let r=n.length;for(;r--;){let o=n[r];if(typeof o=="string"){const i=a(o);i!==o&&(qh(n)||(n[r]=i),o=i)}e[o]=!0}return e}function em(e){for(let n=0;n<e.length;n++)Nt(e,n)||(e[n]=null);return e}function jt(e){const n=Sn(null);for(const r of jo(e)){var a=zh(r,2);const o=a[0],i=a[1];Nt(e,o)&&(jn(i)?n[o]=em(i):i&&typeof i=="object"&&i.constructor===Object?n[o]=jt(i):n[o]=i)}return n}function tm(e){switch(typeof e){case"string":return e;case"number":return Xh(e);case"boolean":return Jh(e);case"bigint":return Ro?Ro(e):"0";case"symbol":return Po?Po(e):"Symbol()";case"undefined":return Un(e);case"function":case"object":{if(e===null)return Un(e);const n=e,a=Vt(n,"toString");if(typeof a=="function"){const r=a(n);return typeof r=="string"?r:Un(r)}return Un(e)}default:return Un(e)}}function Vt(e,n){for(;e!==null;){const r=Gh(e,n);if(r){if(r.get)return st(r.get);if(typeof r.value=="function")return st(r.value)}e=Uh(e)}function a(){return null}return a}function nm(e){try{return Ct(e,""),!0}catch{return!1}}const Io=lt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Va=lt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),za=lt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),am=lt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Wa=lt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),rm=lt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fo=lt(["#text"]),Oo=lt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),qa=lt(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ho=lt(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ha=lt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),om=dt(/{{[\w\W]*|^[\w\W]*}}/g),sm=dt(/<%[\w\W]*|^[\w\W]*%>/g),im=dt(/\${[\w\W]*/g),lm=dt(/^data-[\-\w.\u00B7-\uFFFF]+$/),cm=dt(/^aria-[\-\w]+$/),Vo=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),um=dt(/^(?:\w+script|data):/i),dm=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pm=dt(/^html$/i),hm=dt(/^[a-z][.\w]*(-[.\w]+)+$/i),zo=dt(/<[/\w!]/g),Wo=dt(/<[/\w]/g),mm=dt(/<\/no(script|embed|frames)/i),fm=dt(/\/>/i),Tt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},qo=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],Cm=lt(ze({},qo)),gm=(function(){const e={};return vn(qo,n=>{e[n]=dt(new RegExp("</"+n+"(?=[\\t\\n\\f\\r />])","i"))}),lt(e)})(),bm=function(){return typeof window>"u"?null:window},ym=function(n,a){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";a&&a.hasAttribute(o)&&(r=a.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return n.createPolicy(i,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Uo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},cn=function(n,a,r,o){return Nt(n,a)&&jn(n[a])?ze(o.base?jt(o.base):{},n[a],o.transform):r},Ua=function(n,a,r){const o=Nt(n,a)?n[a]:void 0;return o&&typeof o=="object"?jt(o):r()};function Go(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bm();const n=pe=>Go(pe);if(n.version="3.4.14",n.removed=[],!e||!e.document||e.document.nodeType!==Tt.document||!e.Element)return n.isSupported=!1,n;let a=e.document;const r=a,o=r.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,l=e.Node,c=e.Element,u=e.NodeFilter,d=e.NamedNodeMap;d===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,p=e.trustedTypes,m=c.prototype,b=Vt(m,"cloneNode"),f=Vt(m,"remove"),g=Vt(m,"nextSibling"),C=Vt(m,"childNodes"),y=Vt(m,"parentNode"),w=Vt(m,"shadowRoot"),_=Vt(m,"attributes"),v=l&&l.prototype?Vt(l.prototype,"nodeType"):null,A=l&&l.prototype?Vt(l.prototype,"nodeName"):null,x=l&&l.prototype?Vt(l.prototype,"ownerDocument"):null,k=function(B){return v?v(B):B.nodeType},T=function(B){return A?A(B):B.nodeName};if(typeof i=="function"){const pe=a.createElement("template");pe.content&&pe.content.ownerDocument&&(a=pe.content.ownerDocument)}let N,D="",F,R=!1,S=0;const z=function(){if(S>0)throw xn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},$=function(B){z(),S++;try{return N.createHTML(B)}finally{S--}},ee=function(B){z(),S++;try{return N.createScriptURL(B)}finally{S--}},E=function(){return R||(F=ym(p,o),R=!0),F},H=a,X=H.implementation,q=H.createNodeIterator,M=H.createDocumentFragment,j=H.getElementsByTagName,L=r.importNode;let P=Uo();n.isSupported=typeof jo=="function"&&typeof y=="function"&&X&&X.createHTMLDocument!==void 0;const G=om,I=sm,K=im,W=lm,re=cm,ue=um,be=dm,ve=hm;let Ce=Vo,O=null;const te=ze({},[...Io,...Va,...za,...Wa,...Fo]);let ce=null;const ke=ze({},[...Oo,...qa,...Ho,...ha]);let _e=Object.seal(Sn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),de=null,J=null;const ne=Object.seal(Sn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ae=!0,le=!0,Ne=!1,Be=!0,Re=!1,Oe=!0,Se=!1,Ue=!1,We=null,me=null,Le=!1,Te=!1,Fe=!1,Me=!1,He=!0,Ze=!1;const pt="user-content-";let Ke=!0,Ve=!1,ct={},nt=null;const je=ze({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Qe=null;const Pe=ze({},["audio","video","img","source","image","track"]);let Ye=null;const ut=ze({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let Bt=tt,Yt=!1,ft=null;const Xt=ze({},[et,it,tt],Ha),Et=lt(["mi","mo","mn","ms","mtext"]);let Mt=ze({},Et);const Jt=lt(["annotation-xml"]);let vt=ze({},Jt);const bn=ze({},["title","style","font","a","script"]);let Ft=null;const Ut=["application/xhtml+xml","text/html"],yn="text/html";let qe=null,xt=null;const Dt=a.createElement("form"),Qt=function(B){return B instanceof RegExp||B instanceof Function},en=function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(xt&&xt===B)return;(!B||typeof B!="object")&&(B={}),B=jt(B),Ft=Ut.indexOf(B.PARSER_MEDIA_TYPE)===-1?yn:B.PARSER_MEDIA_TYPE,qe=Ft==="application/xhtml+xml"?Ha:Wn,O=cn(B,"ALLOWED_TAGS",te,{transform:qe}),ce=cn(B,"ALLOWED_ATTR",ke,{transform:qe}),ft=cn(B,"ALLOWED_NAMESPACES",Xt,{transform:Ha}),Ye=cn(B,"ADD_URI_SAFE_ATTR",ut,{transform:qe,base:ut}),Qe=cn(B,"ADD_DATA_URI_TAGS",Pe,{transform:qe,base:Pe}),nt=cn(B,"FORBID_CONTENTS",je,{transform:qe}),de=cn(B,"FORBID_TAGS",jt({}),{transform:qe}),J=cn(B,"FORBID_ATTR",jt({}),{transform:qe}),ct=Nt(B,"USE_PROFILES")?B.USE_PROFILES&&typeof B.USE_PROFILES=="object"?jt(B.USE_PROFILES):B.USE_PROFILES:!1,Ae=B.ALLOW_ARIA_ATTR!==!1,le=B.ALLOW_DATA_ATTR!==!1,Ne=B.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=B.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Re=B.SAFE_FOR_TEMPLATES||!1,Oe=B.SAFE_FOR_XML!==!1,Se=B.WHOLE_DOCUMENT||!1,Te=B.RETURN_DOM||!1,Fe=B.RETURN_DOM_FRAGMENT||!1,Me=B.RETURN_TRUSTED_TYPE||!1,Le=B.FORCE_BODY||!1,He=B.SANITIZE_DOM!==!1,Ze=B.SANITIZE_NAMED_PROPS||!1,Ke=B.KEEP_CONTENT!==!1,Ve=B.IN_PLACE||!1,Ce=nm(B.ALLOWED_URI_REGEXP)?B.ALLOWED_URI_REGEXP:Vo,Bt=typeof B.NAMESPACE=="string"?B.NAMESPACE:tt,Mt=Ua(B,"MATHML_TEXT_INTEGRATION_POINTS",()=>ze({},Et)),vt=Ua(B,"HTML_INTEGRATION_POINTS",()=>ze({},Jt));const U=Ua(B,"CUSTOM_ELEMENT_HANDLING",()=>Sn(null));if(_e=Sn(null),Nt(U,"tagNameCheck")&&Qt(U.tagNameCheck)&&(_e.tagNameCheck=U.tagNameCheck),Nt(U,"attributeNameCheck")&&Qt(U.attributeNameCheck)&&(_e.attributeNameCheck=U.attributeNameCheck),Nt(U,"allowCustomizedBuiltInElements")&&typeof U.allowCustomizedBuiltInElements=="boolean"&&(_e.allowCustomizedBuiltInElements=U.allowCustomizedBuiltInElements),dt(_e),Re&&(le=!1),Fe&&(Te=!0),ct&&(O=ze({},Fo),ce=Sn(null),ct.html===!0&&(ze(O,Io),ze(ce,Oo)),ct.svg===!0&&(ze(O,Va),ze(ce,qa),ze(ce,ha)),ct.svgFilters===!0&&(ze(O,za),ze(ce,qa),ze(ce,ha)),ct.mathMl===!0&&(ze(O,Wa),ze(ce,Ho),ze(ce,ha))),ne.tagCheck=null,ne.attributeCheck=null,Nt(B,"ADD_TAGS")&&(typeof B.ADD_TAGS=="function"?ne.tagCheck=B.ADD_TAGS:jn(B.ADD_TAGS)&&(O===te&&(O=jt(O)),ze(O,B.ADD_TAGS,qe))),Nt(B,"ADD_ATTR")&&(typeof B.ADD_ATTR=="function"?ne.attributeCheck=B.ADD_ATTR:jn(B.ADD_ATTR)&&(ce===ke&&(ce=jt(ce)),ze(ce,B.ADD_ATTR,qe))),Nt(B,"ADD_FORBID_CONTENTS")&&jn(B.ADD_FORBID_CONTENTS)&&(nt===je&&(nt=jt(nt)),ze(nt,B.ADD_FORBID_CONTENTS,qe)),Ke&&(O["#text"]=!0),Se&&ze(O,["html","head","body"]),O.table&&(ze(O,["tbody"]),delete de.tbody),B.TRUSTED_TYPES_POLICY){if(typeof B.TRUSTED_TYPES_POLICY.createHTML!="function")throw xn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof B.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw xn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const ie=N;N=B.TRUSTED_TYPES_POLICY;try{D=$("")}catch(we){throw N=ie,we}}else B.TRUSTED_TYPES_POLICY===null?(N=void 0,D=""):(N===void 0&&(N=E()),N&&typeof D=="string"&&(D=$("")));lt&&lt(B),xt=B},Lt=ze({},[...Va,...za,...am]),Ot=ze({},[...Wa,...rm]),tn=function(B,U,ie){return U.namespaceURI===tt?B==="svg":U.namespaceURI===et?B==="svg"&&(ie==="annotation-xml"||Mt[ie]):!!Lt[B]},Ht=function(B,U,ie){return U.namespaceURI===tt?B==="math":U.namespaceURI===it?B==="math"&&vt[ie]:!!Ot[B]},Gt=function(B,U,ie){return U.namespaceURI===it&&!vt[ie]||U.namespaceURI===et&&!Mt[ie]?!1:!Ot[B]&&(bn[B]||!Lt[B])},oe=function(B){let U=y(B);(!U||!U.tagName)&&(U={namespaceURI:Bt,tagName:"template"});const ie=Wn(B.tagName),we=Wn(U.tagName);return ft[B.namespaceURI]?B.namespaceURI===it?tn(ie,U,we):B.namespaceURI===et?Ht(ie,U,we):B.namespaceURI===tt?Gt(ie,U,we):!!(Ft==="application/xhtml+xml"&&ft[B.namespaceURI]):!1},ge=function(B){zn(n.removed,{element:B});try{y(B).removeChild(B)}catch{if(f(B),!y(B))throw xn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},V=function(B,U,ie){try{B.removeAttributeNode(U)}catch{try{B.removeAttribute(ie)}catch{}}},Q=function(B){Y(B);const U=C(B);if(U){const we=[];vn(U,De=>{zn(we,De)}),vn(we,De=>{try{f(De)}catch{}})}const ie=_(B);if(ie)for(let we=ie.length-1;we>=0;--we){const De=ie[we],Ee=De&&De.name;typeof Ee=="string"&&V(B,De,Ee)}},he=function(B,U,ie){if(!ie)try{ie=U.getAttributeNode(B)}catch{ie=null}zn(n.removed,{attribute:ie||null,from:U});try{ie?U.removeAttributeNode(ie):U.removeAttribute(B)}catch{try{U.removeAttribute(B)}catch{}}if(B==="is")if(Te||Fe)try{ge(U)}catch{}else try{U.setAttribute(B,"")}catch{}},ye=function(B){const U=_(B);if(U)for(let ie=U.length-1;ie>=0;--ie){const we=U[ie],De=we&&we.name;typeof De!="string"||ce[qe(De)]||V(B,we,De)}},Y=function(B){const U=[B];for(;U.length>0;){const ie=U.pop();k(ie)===Tt.element&&ye(ie);const De=C(ie);if(De)for(let Ee=De.length-1;Ee>=0;--Ee)U.push(De[Ee])}},ae=function(B,U){return Oe?B==="patchsrc"?!0:B==="for"&&U!=="label"&&U!=="output":!1},$e=function(B){if(!Oe)return;const U=[B];for(;U.length>0;){const ie=U.pop(),we=k(ie);if(we===Tt.processingInstruction||we===Tt.comment&&Ct(Wo,ie.data)){try{f(ie)}catch{}continue}if(we===Tt.element){const Ee=ie,Je=qe(T(ie));try{Ee.hasAttribute&&Ee.hasAttribute("patchsrc")&&Ee.removeAttribute("patchsrc"),Ee.hasAttribute&&Ee.hasAttribute("for")&&ae("for",Je)&&Ee.removeAttribute("for")}catch{}}const De=C(ie);if(De)for(let Ee=De.length-1;Ee>=0;--Ee)U.push(De[Ee])}},Xe=function(B){let U=null,ie=null;if(Le)B="<remove></remove>"+B;else{const Ee=Lo(B,/^[\r\n\t ]+/);ie=Ee&&Ee[0]}Ft==="application/xhtml+xml"&&Bt===tt&&(B='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+B+"</body></html>");const we=N?$(B):B;if(Bt===tt)try{U=new h().parseFromString(we,Ft)}catch{}if(!U||!U.documentElement){U=X.createDocument(Bt,"template",null);try{U.documentElement.innerHTML=Yt?D:we}catch{}}const De=U.body||U.documentElement;return B&&ie&&De.insertBefore(a.createTextNode(ie),De.childNodes[0]||null),Bt===tt?j.call(U,Se?"html":"body")[0]:Se?U.documentElement:De},Ge=function(B){const U=x?x(B):B.ownerDocument;return q.call(U||B,B,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ht=function(B){return B=qn(B,G," "),B=qn(B,I," "),B=qn(B,K," "),B},_t=function(B){var U;B.normalize();const ie=x?x(B):B.ownerDocument,we=q.call(ie||B,B,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let De=we.nextNode();for(;De;)De.data=ht(De.data),De=we.nextNode();const Ee=(U=B.querySelectorAll)===null||U===void 0?void 0:U.call(B,"template");Ee&&vn(Ee,Je=>{wt(Je.content)&&_t(Je.content)})},St=function(B){const U=A?A(B):null;return typeof U!="string"||qe(U)!=="form"?!1:typeof B.nodeName!="string"||typeof B.textContent!="string"||typeof B.removeChild!="function"||B.attributes!==_(B)||typeof B.removeAttribute!="function"||typeof B.setAttribute!="function"||typeof B.namespaceURI!="string"||typeof B.insertBefore!="function"||typeof B.hasChildNodes!="function"||B.nodeType!==v(B)||B.childNodes!==C(B)},wt=function(B){if(!v||typeof B!="object"||B===null)return!1;try{return v(B)===Tt.documentFragment}catch{return!1}},$t=function(B){if(!v||typeof B!="object"||B===null)return!1;try{return typeof v(B)=="number"}catch{return!1}};function Rt(pe,B,U){pe.length!==0&&vn(pe,ie=>{ie.call(n,B,U,xt)})}const nc=function(B,U){return!!(Oe&&B.hasChildNodes()&&!$t(B.firstElementChild)&&Ct(zo,B.textContent)&&Ct(zo,B.innerHTML)||Oe&&B.namespaceURI===tt&&Cm[U]&&($t(B.firstElementChild)||typeof B.textContent=="string"&&Ct(gm[U],B.textContent))||B.nodeType===Tt.processingInstruction||Oe&&B.nodeType===Tt.comment&&Ct(Wo,B.data))},da=function(B,U){if(B instanceof RegExp)return Ct(B,U);if(B instanceof Function){for(var ie=arguments.length,we=new Array(ie>2?ie-2:0),De=2;De<ie;De++)we[De-2]=arguments[De];return!!B(U,...we)}return!1},ac=function(B,U,ie){if(!de[U]&&ro(U)&&da(_e.tagNameCheck,U))return!1;if(Ke&&!nt[U]){const we=y(B),De=C(B);if(De&&we){const Ee=De.length;for(let Je=Ee-1;Je>=0;--Je){const at=B===ie?b(De[Je],!0):De[Je];we.insertBefore(at,g(B))}}}return ge(B),!0},eo=function(B,U,ie,we){return B.length===0?U:U===ie||U===we?jt(U):U},to=function(B,U){return B===U||y(B)!==null?!1:(Ve&&Y(B),!0)},no=function(B,U){if(Rt(P.beforeSanitizeElements,B,null),to(B,U))return!0;if(St(B))return ge(B),!0;const ie=qe(T(B));if(O=eo(P.uponSanitizeElement,O,te,We),Rt(P.uponSanitizeElement,B,{tagName:ie,allowedTags:O}),to(B,U))return!0;if(nc(B,ie))return ge(B),!0;if(de[ie]||!(ne.tagCheck instanceof Function&&ne.tagCheck(ie))&&!O[ie]){const De=ac(B,ie,U);return De===!1&&Rt(P.afterSanitizeElements,B,null),De}if(k(B)===Tt.element&&!oe(B)||(ie==="noscript"||ie==="noembed"||ie==="noframes")&&Ct(mm,B.innerHTML))return ge(B),!0;if(Re&&B.nodeType===Tt.text){const De=ht(B.textContent);B.textContent!==De&&(zn(n.removed,{element:B.cloneNode()}),B.textContent=De)}return Rt(P.afterSanitizeElements,B,null),!1},ao=function(B,U,ie){if(J[U]||ae(U,B)||He&&(U==="id"||U==="name")&&(ie in a||ie in Dt))return!1;const we=ce[U]||ne.attributeCheck instanceof Function&&ne.attributeCheck(U,B);return le&&Ct(W,U)||Ae&&Ct(re,U)?!0:we?Ye[U]||Ct(Ce,qn(ie,be,""))||(U==="src"||U==="xlink:href"||U==="href")&&B!=="script"&&$o(ie,"data:")===0&&Qe[B]||Ne&&!Ct(ue,qn(ie,be,""))?!0:!ie:ro(B)&&da(_e.tagNameCheck,B)&&da(_e.attributeNameCheck,U,B)||U==="is"&&_e.allowCustomizedBuiltInElements&&da(_e.tagNameCheck,ie)},rc=ze({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ro=function(B){return!rc[Wn(B)]&&Ct(ve,B)},oc=function(B,U,ie,we){if(N&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!ie)switch(p.getAttributeType(B,U)){case"TrustedHTML":return $(we);case"TrustedScriptURL":return ee(we)}return we},sc=function(B,U,ie,we){try{ie?B.setAttributeNS(ie,U,we):B.setAttribute(U,we),St(B)?ge(B):Mo(n.removed)}catch{he(U,B)}},oo=function(B){Rt(P.beforeSanitizeAttributes,B,null);const U=B.attributes;if(!U||St(B))return;ce=eo(P.uponSanitizeAttribute,ce,ke,me);const ie={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ce,forceKeepAttr:void 0};let we=U.length;const De=qe(B.nodeName);for(;we--;){const Ee=U[we],Je=Ee.name,at=Ee.namespaceURI,kt=Ee.value,At=qe(Je),Ra=kt;let gt=Je==="value"?Ra:Yh(Ra);if(ie.attrName=At,ie.attrValue=gt,ie.keepAttr=!0,ie.forceKeepAttr=void 0,Rt(P.uponSanitizeAttribute,B,ie),gt=ie.attrValue,Ze&&(At==="id"||At==="name")&&$o(gt,pt)!==0&&(he(Je,B,Ee),gt=pt+gt),Oe&&Ct(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,gt)){he(Je,B,Ee);continue}if(At==="attributename"&&Lo(gt,"href")){he(Je,B,Ee);continue}if(!ie.forceKeepAttr){if(!ie.keepAttr){he(Je,B,Ee);continue}if(!Be&&Ct(fm,gt)){he(Je,B,Ee);continue}if(Re&&(gt=ht(gt)),!ao(De,At,gt)){he(Je,B,Ee);continue}gt=oc(De,At,at,gt),gt!==Ra&&sc(B,Je,at,gt)}}Rt(P.afterSanitizeAttributes,B,null)},pa=function(B){let U=null;const ie=Ge(B);for(Rt(P.beforeSanitizeShadowDOM,B,null);U=ie.nextNode();)if(Rt(P.uponSanitizeShadowNode,U,null),no(U,B),oo(U),wt(U.content)&&pa(U.content),k(U)===Tt.element){const we=w(U);wt(we)&&($a(we),pa(we))}Rt(P.afterSanitizeShadowDOM,B,null)},$a=function(B){const U=[{node:B,shadow:null}];for(;U.length>0;){const ie=U.pop();if(ie.shadow){pa(ie.shadow);continue}const we=ie.node,Ee=k(we)===Tt.element,Je=C(we);if(Je)for(let at=Je.length-1;at>=0;--at)U.push({node:Je[at],shadow:null});if(Ee){const at=A?A(we):null;if(typeof at=="string"&&qe(at)==="template"){const kt=we.content;wt(kt)&&U.push({node:kt,shadow:null})}}if(Ee){const at=w(we);wt(at)&&U.push({node:null,shadow:at},{node:at,shadow:null})}}};return n.sanitize=function(pe){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=null,ie=null,we=null,De=null;if(Yt=!pe,Yt&&(pe="<!-->"),typeof pe!="string"&&!$t(pe)&&(pe=tm(pe),typeof pe!="string"))throw xn("dirty is not a string, aborting");if(!n.isSupported)return pe;Ue?(O=We,ce=me):en(B),(P.uponSanitizeElement.length>0||P.uponSanitizeAttribute.length>0)&&(O=jt(O)),P.uponSanitizeAttribute.length>0&&(ce=jt(ce)),n.removed=[];const Ee=Ve&&typeof pe!="string"&&$t(pe);if(Ee){$e(pe);const kt=T(pe);if(typeof kt=="string"){const At=qe(kt);if(!O[At]||de[At])throw Q(pe),xn("root node is forbidden and cannot be sanitized in-place")}if(St(pe))throw Q(pe),xn("root node is clobbered and cannot be sanitized in-place");try{$a(pe)}catch(At){throw Q(pe),At}}else if($t(pe))U=Xe("<!---->"),ie=U.ownerDocument.importNode(pe,!0),ie.nodeType===Tt.element&&ie.nodeName==="BODY"||ie.nodeName==="HTML"?U=ie:U.appendChild(ie),$a(ie);else{if(!Te&&!Re&&!Se&&pe.indexOf("<")===-1)return N&&Me?$(pe):pe;if(U=Xe(pe),!U)return Te?null:Me?D:""}U&&Le&&ge(U.firstChild);const Je=Ee?pe:U;try{const kt=Ge(Je);for(;we=kt.nextNode();)no(we,Je),oo(we),wt(we.content)&&pa(we.content)}catch(kt){throw Ee&&(Q(pe),vn(n.removed,At=>{At.element&&Y(At.element)})),kt}if(Ee)return vn(n.removed,kt=>{kt.element&&Y(kt.element)}),Re&&_t(pe),pe;if(Te){if(Re&&_t(U),Fe)for(De=M.call(U.ownerDocument);U.firstChild;)De.appendChild(U.firstChild);else De=U;return(ce.shadowroot||ce.shadowrootmode)&&(De=L.call(r,De,!0)),De}let at=Se?U.outerHTML:U.innerHTML;return Se&&O["!doctype"]&&U.ownerDocument&&U.ownerDocument.doctype&&U.ownerDocument.doctype.name&&Ct(pm,U.ownerDocument.doctype.name)&&(at="<!DOCTYPE "+U.ownerDocument.doctype.name+`>
808
- `+at),Re&&(at=ht(at)),N&&Me?$(at):at},n.setConfig=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};en(pe),Ue=!0,We=O,me=ce},n.clearConfig=function(){xt=null,Ue=!1,We=null,me=null,N=F,D=""},n.isValidAttribute=function(pe,B,U){xt||en({});const ie=qe(pe),we=qe(B);return ao(ie,we,U)},n.addHook=function(pe,B){typeof B=="function"&&Nt(P,pe)&&zn(P[pe],B)},n.removeHook=function(pe,B){if(Nt(P,pe)){if(B!==void 0){const U=Kh(P[pe],B);return U===-1?void 0:Zh(P[pe],U,1)[0]}return Mo(P[pe])}},n.removeHooks=function(pe){Nt(P,pe)&&(P[pe]=[])},n.removeAllHooks=function(){P=Uo()},n}var vm=Go();const xm=/^(?:[a-z]+:)?\/\//i,_m="__ihab_core_asset_base_url__";function wm(){return globalThis[_m]??""}function Ga(e){const n=String(e||"").trim();if(!n)return"";if(xm.test(n)||n.startsWith("data:")||n.startsWith("blob:"))return n;const a=n.startsWith("/")?n:`/${n}`,r=wm();return r?`${r}${a}`:a}const Ko="__ihab_core_storage_resolvers__";function Gn(){return globalThis[Ko]??null}function km(e){globalThis[Ko]=e}let Zo=class extends Error{constructor(n){super(`
806
+ */const Lh=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],$h=K("thumbs-up",Lh),No={"alert-triangle":uo,"align-start-vertical":Cc,anchor:Kp,armchair:Yp,"arrow-down":bc,"arrow-left":vc,"arrow-right":_c,"arrow-right-left":kc,"arrow-up-a-z":Jp,"audio-lines":Nc,baby:Dc,ban:Tc,"bar-chart-2":eh,bell:Ec,"book-marked":Lc,"book-open":Rc,"bow-arrow":Ic,braces:Oc,bug:Vc,calendar:wo,"calendar-check":Wc,"calendar-days":Uc,camera:Kc,car:ah,"chart-column":Yc,"chart-line":Jc,"chart-pie":eu,check:po,"chevron-down":ko,"chevron-left":ho,"chevron-right":mo,"chevron-up":Ao,circle:Bh,"clipboard-list":ou,coffee:oh,combine:iu,copy:cu,"chevrons-left-right-ellipsis":du,"credit-card":hu,database:fo,diff:Cu,download:Co,ear:yu,edit:xu,"edit-2":wu,"edit-3":Au,ellipsis:go,eraser:Du,"external-link":Tu,eye:Eu,"file-text":Lu,"flip-horizontal":Ru,"folder-open":Iu,"folder-plus":Ou,gamepad:Vu,"gamepad-2":ih,gavel:Wu,"git-merge":bo,globe:Gu,headphones:Zu,heart:Xu,home:Qu,inbox:ch,info:td,"key-round":ad,landmark:od,layers:id,"layout-dashboard":cd,leaf:dd,lightbulb:hd,link:fd,"link-2":gd,"link-2-off":yd,list:xd,"list-checks":wd,"list-ordered":Ad,"list-tree":dh,loader:Bd,lock:Sd,"log-out":jd,mail:Md,"map-pin":$d,menu:jh,"message-circle":Pd,"message-circle-question-mark":Fd,"message-square":Hd,"message-square-more":hh,"message-square-text":zd,minus:fh,"minus-circle":qd,moon:Mh,"more-horizontal":go,package:Gd,palette:Zd,"party-popper":Xd,pause:Qd,pencil:t1,phone:a1,play:o1,"play-circle":i1,plus:c1,printer:d1,"refresh-cw":h1,repeat:f1,replace:g1,rocket:y1,"rotate-ccw":x1,"rotate-cw":w1,salad:A1,"scan-search":B1,search:j1,"circle-alert":yo,"alert-circle":yo,"check-circle":vo,scissors:M1,"search-x":$1,send:P1,settings:F1,"share-2":gh,"shield-check":H1,"shopping-cart":z1,shuffle:q1,"skip-back":G1,"skip-forward":Z1,sparkles:yh,square:X1,star:Q1,store:tp,"sun-medium":ap,table:op,"table-2":ip,tag:cp,terminal:dp,"text-cursor-input":hp,"text-initial":fp,"thumbs-up":$h,ticket:gp,trash:xp,triangle:Sh,"trash-2":yp,"trending-up":wp,"triangle-alert":uo,trophy:Ap,type:xh,unlink:Bp,upload:Sp,user:Ia,"user-plus":Ep,"user-round":Lp,"user-round-check":Rp,users:Ip,"users-round":Op,volume:wh,"volume-2":xo,wrench:zp,x:_o,zap:Up};function Rh(e){return No[e]??null}const Bo=new Set;function Ph(e){return io&&!(e in No)&&!Bo.has(e)&&(Bo.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const Ih=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function Fh(e){const n=e.toLowerCase();if(n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")||e.includes("/assets/"))return null;const a=(e.split("/").pop()||"").replace(/\.svg$/,"");return a?Ih(a):null}const Do=new Map;function Oh(e){const n=typeof e=="string"?Fh(e):null,a=n?Rh(n)??Do.get(n)??null:null,[r,o]=i.useState(null);return i.useEffect(()=>{if(!n||a)return;let s=!1;return Ph(n).then(l=>{Do.set(n,l),s||o(l)}),()=>{s=!0}},[n,a]),a??r}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function So(e,n){(n==null||n>e.length)&&(n=e.length);for(var a=0,r=Array(n);a<n;a++)r[a]=e[a];return r}function Hh(e){if(Array.isArray(e))return e}function Vh(e,n){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var r,o,s,l,c=[],u=!0,d=!1;try{if(s=(a=a.call(e)).next,n!==0)for(;!(u=(r=s.call(a)).done)&&(c.push(r.value),c.length!==n);u=!0);}catch(p){d=!0,o=p}finally{try{if(!u&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(d)throw o}}return c}}function zh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
807
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wh(e,n){return Hh(e)||Vh(e,n)||qh(e,n)||zh()}function qh(e,n){if(e){if(typeof e=="string")return So(e,n);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?So(e,n):void 0}}const To=Object.entries,jo=Object.setPrototypeOf,Uh=Object.isFrozen,Gh=Object.getPrototypeOf,Kh=Object.getOwnPropertyDescriptor;let ct=Object.freeze,pt=Object.seal,Tn=Object.create,Eo=typeof Reflect<"u"&&Reflect,Fa=Eo.apply,Oa=Eo.construct;ct||(ct=function(n){return n}),pt||(pt=function(n){return n}),Fa||(Fa=function(n,a){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];return n.apply(a,o)}),Oa||(Oa=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return new n(...r)});const vn=it(Array.prototype.forEach),Zh=it(Array.prototype.lastIndexOf),Mo=it(Array.prototype.pop),zn=it(Array.prototype.push),Yh=it(Array.prototype.splice),jn=Array.isArray,Wn=it(String.prototype.toLowerCase),Ha=it(String.prototype.toString),Lo=it(String.prototype.match),qn=it(String.prototype.replace),$o=it(String.prototype.indexOf),Xh=it(String.prototype.trim),Jh=it(Number.prototype.toString),Qh=it(Boolean.prototype.toString),Ro=typeof BigInt>"u"?null:it(BigInt.prototype.toString),Po=typeof Symbol>"u"?null:it(Symbol.prototype.toString),Nt=it(Object.prototype.hasOwnProperty),Un=it(Object.prototype.toString),Ct=it(RegExp.prototype.test),xn=em(TypeError);function it(e){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return Fa(e,n,r)}}function em(e){return function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Oa(e,a)}}function We(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wn;if(jo&&jo(e,null),!jn(n))return e;let r=n.length;for(;r--;){let o=n[r];if(typeof o=="string"){const s=a(o);s!==o&&(Uh(n)||(n[r]=s),o=s)}e[o]=!0}return e}function tm(e){for(let n=0;n<e.length;n++)Nt(e,n)||(e[n]=null);return e}function Tt(e){const n=Tn(null);for(const r of To(e)){var a=Wh(r,2);const o=a[0],s=a[1];Nt(e,o)&&(jn(s)?n[o]=tm(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=Tt(s):n[o]=s)}return n}function nm(e){switch(typeof e){case"string":return e;case"number":return Jh(e);case"boolean":return Qh(e);case"bigint":return Ro?Ro(e):"0";case"symbol":return Po?Po(e):"Symbol()";case"undefined":return Un(e);case"function":case"object":{if(e===null)return Un(e);const n=e,a=Vt(n,"toString");if(typeof a=="function"){const r=a(n);return typeof r=="string"?r:Un(r)}return Un(e)}default:return Un(e)}}function Vt(e,n){for(;e!==null;){const r=Kh(e,n);if(r){if(r.get)return it(r.get);if(typeof r.value=="function")return it(r.value)}e=Gh(e)}function a(){return null}return a}function am(e){try{return Ct(e,""),!0}catch{return!1}}const Io=ct(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Va=ct(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),za=ct(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),rm=ct(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Wa=ct(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),om=ct(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fo=ct(["#text"]),Oo=ct(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),qa=ct(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ho=ct(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ha=ct(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sm=pt(/{{[\w\W]*|^[\w\W]*}}/g),im=pt(/<%[\w\W]*|^[\w\W]*%>/g),lm=pt(/\${[\w\W]*/g),cm=pt(/^data-[\-\w.\u00B7-\uFFFF]+$/),um=pt(/^aria-[\-\w]+$/),Vo=pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dm=pt(/^(?:\w+script|data):/i),pm=pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),hm=pt(/^html$/i),mm=pt(/^[a-z][.\w]*(-[.\w]+)+$/i),zo=pt(/<[/\w!]/g),Wo=pt(/<[/\w]/g),fm=pt(/<\/no(script|embed|frames)/i),Cm=pt(/\/>/i),jt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},qo=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],gm=ct(We({},qo)),bm=(function(){const e={};return vn(qo,n=>{e[n]=pt(new RegExp("</"+n+"(?=[\\t\\n\\f\\r />])","i"))}),ct(e)})(),ym=function(){return typeof window>"u"?null:window},vm=function(n,a){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";a&&a.hasAttribute(o)&&(r=a.getAttribute(o));const s="dompurify"+(r?"#"+r:"");try{return n.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Uo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},cn=function(n,a,r,o){return Nt(n,a)&&jn(n[a])?We(o.base?Tt(o.base):{},n[a],o.transform):r},Ua=function(n,a,r){const o=Nt(n,a)?n[a]:void 0;return o&&typeof o=="object"?Tt(o):r()};function Go(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ym();const n=pe=>Go(pe);if(n.version="3.4.14",n.removed=[],!e||!e.document||e.document.nodeType!==jt.document||!e.Element)return n.isSupported=!1,n;let a=e.document;const r=a,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,l=e.Node,c=e.Element,u=e.NodeFilter,d=e.NamedNodeMap;d===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const p=e.DOMParser,h=e.trustedTypes,m=c.prototype,y=Vt(m,"cloneNode"),f=Vt(m,"remove"),g=Vt(m,"nextSibling"),C=Vt(m,"childNodes"),v=Vt(m,"parentNode"),_=Vt(m,"shadowRoot"),k=Vt(m,"attributes"),b=l&&l.prototype?Vt(l.prototype,"nodeType"):null,w=l&&l.prototype?Vt(l.prototype,"nodeName"):null,x=l&&l.prototype?Vt(l.prototype,"ownerDocument"):null,N=function(B){return b?b(B):B.nodeType},j=function(B){return w?w(B):B.nodeName};if(typeof s=="function"){const pe=a.createElement("template");pe.content&&pe.content.ownerDocument&&(a=pe.content.ownerDocument)}let A,D="",F,P=!1,S=0;const V=function(){if(S>0)throw xn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},L=function(B){V(),S++;try{return A.createHTML(B)}finally{S--}},te=function(B){V(),S++;try{return A.createScriptURL(B)}finally{S--}},E=function(){return P||(F=vm(h,o),P=!0),F},O=a,Q=O.implementation,W=O.createNodeIterator,M=O.createDocumentFragment,T=O.getElementsByTagName,$=r.importNode;let R=Uo();n.isSupported=typeof To=="function"&&typeof v=="function"&&Q&&Q.createHTMLDocument!==void 0;const G=sm,I=im,U=lm,z=cm,ie=um,ce=dm,be=pm,ve=mm;let fe=Vo,Z=null;const ue=We({},[...Io,...Va,...za,...Wa,...Fo]);let J=null;const ye=We({},[...Oo,...qa,...Ho,...ha]);let we=Object.seal(Tn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),de=null,X=null;const ne=Object.seal(Tn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ae=!0,se=!0,Ne=!1,Be=!0,Oe=!1,He=!0,Me=!1,Ue=!1,Ee=null,Ce=null,Le=!1,Se=!1,Fe=!1,$e=!1,Ve=!0,Ke=!1;const st="user-content-";let qe=!0,ze=!1,ut={},nt=null;const Te=We({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Qe=null;const Pe=We({},["audio","video","img","source","image","track"]);let Ye=null;const dt=We({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",lt="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let Bt=tt,Yt=!1,ft=null;const Xt=We({},[et,lt,tt],Ha),Et=ct(["mi","mo","mn","ms","mtext"]);let Mt=We({},Et);const Jt=ct(["annotation-xml"]);let vt=We({},Jt);const bn=We({},["title","style","font","a","script"]);let Ft=null;const Ut=["application/xhtml+xml","text/html"],yn="text/html";let Ge=null,xt=null;const Dt=a.createElement("form"),Qt=function(B){return B instanceof RegExp||B instanceof Function},en=function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(xt&&xt===B)return;(!B||typeof B!="object")&&(B={}),B=Tt(B),Ft=Ut.indexOf(B.PARSER_MEDIA_TYPE)===-1?yn:B.PARSER_MEDIA_TYPE,Ge=Ft==="application/xhtml+xml"?Ha:Wn,Z=cn(B,"ALLOWED_TAGS",ue,{transform:Ge}),J=cn(B,"ALLOWED_ATTR",ye,{transform:Ge}),ft=cn(B,"ALLOWED_NAMESPACES",Xt,{transform:Ha}),Ye=cn(B,"ADD_URI_SAFE_ATTR",dt,{transform:Ge,base:dt}),Qe=cn(B,"ADD_DATA_URI_TAGS",Pe,{transform:Ge,base:Pe}),nt=cn(B,"FORBID_CONTENTS",Te,{transform:Ge}),de=cn(B,"FORBID_TAGS",Tt({}),{transform:Ge}),X=cn(B,"FORBID_ATTR",Tt({}),{transform:Ge}),ut=Nt(B,"USE_PROFILES")?B.USE_PROFILES&&typeof B.USE_PROFILES=="object"?Tt(B.USE_PROFILES):B.USE_PROFILES:!1,Ae=B.ALLOW_ARIA_ATTR!==!1,se=B.ALLOW_DATA_ATTR!==!1,Ne=B.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=B.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Oe=B.SAFE_FOR_TEMPLATES||!1,He=B.SAFE_FOR_XML!==!1,Me=B.WHOLE_DOCUMENT||!1,Se=B.RETURN_DOM||!1,Fe=B.RETURN_DOM_FRAGMENT||!1,$e=B.RETURN_TRUSTED_TYPE||!1,Le=B.FORCE_BODY||!1,Ve=B.SANITIZE_DOM!==!1,Ke=B.SANITIZE_NAMED_PROPS||!1,qe=B.KEEP_CONTENT!==!1,ze=B.IN_PLACE||!1,fe=am(B.ALLOWED_URI_REGEXP)?B.ALLOWED_URI_REGEXP:Vo,Bt=typeof B.NAMESPACE=="string"?B.NAMESPACE:tt,Mt=Ua(B,"MATHML_TEXT_INTEGRATION_POINTS",()=>We({},Et)),vt=Ua(B,"HTML_INTEGRATION_POINTS",()=>We({},Jt));const q=Ua(B,"CUSTOM_ELEMENT_HANDLING",()=>Tn(null));if(we=Tn(null),Nt(q,"tagNameCheck")&&Qt(q.tagNameCheck)&&(we.tagNameCheck=q.tagNameCheck),Nt(q,"attributeNameCheck")&&Qt(q.attributeNameCheck)&&(we.attributeNameCheck=q.attributeNameCheck),Nt(q,"allowCustomizedBuiltInElements")&&typeof q.allowCustomizedBuiltInElements=="boolean"&&(we.allowCustomizedBuiltInElements=q.allowCustomizedBuiltInElements),pt(we),Oe&&(se=!1),Fe&&(Se=!0),ut&&(Z=We({},Fo),J=Tn(null),ut.html===!0&&(We(Z,Io),We(J,Oo)),ut.svg===!0&&(We(Z,Va),We(J,qa),We(J,ha)),ut.svgFilters===!0&&(We(Z,za),We(J,qa),We(J,ha)),ut.mathMl===!0&&(We(Z,Wa),We(J,Ho),We(J,ha))),ne.tagCheck=null,ne.attributeCheck=null,Nt(B,"ADD_TAGS")&&(typeof B.ADD_TAGS=="function"?ne.tagCheck=B.ADD_TAGS:jn(B.ADD_TAGS)&&(Z===ue&&(Z=Tt(Z)),We(Z,B.ADD_TAGS,Ge))),Nt(B,"ADD_ATTR")&&(typeof B.ADD_ATTR=="function"?ne.attributeCheck=B.ADD_ATTR:jn(B.ADD_ATTR)&&(J===ye&&(J=Tt(J)),We(J,B.ADD_ATTR,Ge))),Nt(B,"ADD_FORBID_CONTENTS")&&jn(B.ADD_FORBID_CONTENTS)&&(nt===Te&&(nt=Tt(nt)),We(nt,B.ADD_FORBID_CONTENTS,Ge)),qe&&(Z["#text"]=!0),Me&&We(Z,["html","head","body"]),Z.table&&(We(Z,["tbody"]),delete de.tbody),B.TRUSTED_TYPES_POLICY){if(typeof B.TRUSTED_TYPES_POLICY.createHTML!="function")throw xn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof B.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw xn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const le=A;A=B.TRUSTED_TYPES_POLICY;try{D=L("")}catch(ke){throw A=le,ke}}else B.TRUSTED_TYPES_POLICY===null?(A=void 0,D=""):(A===void 0&&(A=E()),A&&typeof D=="string"&&(D=L("")));ct&&ct(B),xt=B},Lt=We({},[...Va,...za,...rm]),Ot=We({},[...Wa,...om]),tn=function(B,q,le){return q.namespaceURI===tt?B==="svg":q.namespaceURI===et?B==="svg"&&(le==="annotation-xml"||Mt[le]):!!Lt[B]},Ht=function(B,q,le){return q.namespaceURI===tt?B==="math":q.namespaceURI===lt?B==="math"&&vt[le]:!!Ot[B]},Gt=function(B,q,le){return q.namespaceURI===lt&&!vt[le]||q.namespaceURI===et&&!Mt[le]?!1:!Ot[B]&&(bn[B]||!Lt[B])},re=function(B){let q=v(B);(!q||!q.tagName)&&(q={namespaceURI:Bt,tagName:"template"});const le=Wn(B.tagName),ke=Wn(q.tagName);return ft[B.namespaceURI]?B.namespaceURI===lt?tn(le,q,ke):B.namespaceURI===et?Ht(le,q,ke):B.namespaceURI===tt?Gt(le,q,ke):!!(Ft==="application/xhtml+xml"&&ft[B.namespaceURI]):!1},ge=function(B){zn(n.removed,{element:B});try{v(B).removeChild(B)}catch{if(f(B),!v(B))throw xn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},H=function(B,q,le){try{B.removeAttributeNode(q)}catch{try{B.removeAttribute(le)}catch{}}},ee=function(B){Y(B);const q=C(B);if(q){const ke=[];vn(q,De=>{zn(ke,De)}),vn(ke,De=>{try{f(De)}catch{}})}const le=k(B);if(le)for(let ke=le.length-1;ke>=0;--ke){const De=le[ke],je=De&&De.name;typeof je=="string"&&H(B,De,je)}},he=function(B,q,le){if(!le)try{le=q.getAttributeNode(B)}catch{le=null}zn(n.removed,{attribute:le||null,from:q});try{le?q.removeAttributeNode(le):q.removeAttribute(B)}catch{try{q.removeAttribute(B)}catch{}}if(B==="is")if(Se||Fe)try{ge(q)}catch{}else try{q.setAttribute(B,"")}catch{}},xe=function(B){const q=k(B);if(q)for(let le=q.length-1;le>=0;--le){const ke=q[le],De=ke&&ke.name;typeof De!="string"||J[Ge(De)]||H(B,ke,De)}},Y=function(B){const q=[B];for(;q.length>0;){const le=q.pop();N(le)===jt.element&&xe(le);const De=C(le);if(De)for(let je=De.length-1;je>=0;--je)q.push(De[je])}},ae=function(B,q){return He?B==="patchsrc"?!0:B==="for"&&q!=="label"&&q!=="output":!1},Re=function(B){if(!He)return;const q=[B];for(;q.length>0;){const le=q.pop(),ke=N(le);if(ke===jt.processingInstruction||ke===jt.comment&&Ct(Wo,le.data)){try{f(le)}catch{}continue}if(ke===jt.element){const je=le,Je=Ge(j(le));try{je.hasAttribute&&je.hasAttribute("patchsrc")&&je.removeAttribute("patchsrc"),je.hasAttribute&&je.hasAttribute("for")&&ae("for",Je)&&je.removeAttribute("for")}catch{}}const De=C(le);if(De)for(let je=De.length-1;je>=0;--je)q.push(De[je])}},Xe=function(B){let q=null,le=null;if(Le)B="<remove></remove>"+B;else{const je=Lo(B,/^[\r\n\t ]+/);le=je&&je[0]}Ft==="application/xhtml+xml"&&Bt===tt&&(B='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+B+"</body></html>");const ke=A?L(B):B;if(Bt===tt)try{q=new p().parseFromString(ke,Ft)}catch{}if(!q||!q.documentElement){q=Q.createDocument(Bt,"template",null);try{q.documentElement.innerHTML=Yt?D:ke}catch{}}const De=q.body||q.documentElement;return B&&le&&De.insertBefore(a.createTextNode(le),De.childNodes[0]||null),Bt===tt?T.call(q,Me?"html":"body")[0]:Me?q.documentElement:De},Ze=function(B){const q=x?x(B):B.ownerDocument;return W.call(q||B,B,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ht=function(B){return B=qn(B,G," "),B=qn(B,I," "),B=qn(B,U," "),B},_t=function(B){var q;B.normalize();const le=x?x(B):B.ownerDocument,ke=W.call(le||B,B,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let De=ke.nextNode();for(;De;)De.data=ht(De.data),De=ke.nextNode();const je=(q=B.querySelectorAll)===null||q===void 0?void 0:q.call(B,"template");je&&vn(je,Je=>{wt(Je.content)&&_t(Je.content)})},St=function(B){const q=w?w(B):null;return typeof q!="string"||Ge(q)!=="form"?!1:typeof B.nodeName!="string"||typeof B.textContent!="string"||typeof B.removeChild!="function"||B.attributes!==k(B)||typeof B.removeAttribute!="function"||typeof B.setAttribute!="function"||typeof B.namespaceURI!="string"||typeof B.insertBefore!="function"||typeof B.hasChildNodes!="function"||B.nodeType!==b(B)||B.childNodes!==C(B)},wt=function(B){if(!b||typeof B!="object"||B===null)return!1;try{return b(B)===jt.documentFragment}catch{return!1}},$t=function(B){if(!b||typeof B!="object"||B===null)return!1;try{return typeof b(B)=="number"}catch{return!1}};function Rt(pe,B,q){pe.length!==0&&vn(pe,le=>{le.call(n,B,q,xt)})}const ac=function(B,q){return!!(He&&B.hasChildNodes()&&!$t(B.firstElementChild)&&Ct(zo,B.textContent)&&Ct(zo,B.innerHTML)||He&&B.namespaceURI===tt&&gm[q]&&($t(B.firstElementChild)||typeof B.textContent=="string"&&Ct(bm[q],B.textContent))||B.nodeType===jt.processingInstruction||He&&B.nodeType===jt.comment&&Ct(Wo,B.data))},da=function(B,q){if(B instanceof RegExp)return Ct(B,q);if(B instanceof Function){for(var le=arguments.length,ke=new Array(le>2?le-2:0),De=2;De<le;De++)ke[De-2]=arguments[De];return!!B(q,...ke)}return!1},rc=function(B,q,le){if(!de[q]&&ro(q)&&da(we.tagNameCheck,q))return!1;if(qe&&!nt[q]){const ke=v(B),De=C(B);if(De&&ke){const je=De.length;for(let Je=je-1;Je>=0;--Je){const at=B===le?y(De[Je],!0):De[Je];ke.insertBefore(at,g(B))}}}return ge(B),!0},eo=function(B,q,le,ke){return B.length===0?q:q===le||q===ke?Tt(q):q},to=function(B,q){return B===q||v(B)!==null?!1:(ze&&Y(B),!0)},no=function(B,q){if(Rt(R.beforeSanitizeElements,B,null),to(B,q))return!0;if(St(B))return ge(B),!0;const le=Ge(j(B));if(Z=eo(R.uponSanitizeElement,Z,ue,Ee),Rt(R.uponSanitizeElement,B,{tagName:le,allowedTags:Z}),to(B,q))return!0;if(ac(B,le))return ge(B),!0;if(de[le]||!(ne.tagCheck instanceof Function&&ne.tagCheck(le))&&!Z[le]){const De=rc(B,le,q);return De===!1&&Rt(R.afterSanitizeElements,B,null),De}if(N(B)===jt.element&&!re(B)||(le==="noscript"||le==="noembed"||le==="noframes")&&Ct(fm,B.innerHTML))return ge(B),!0;if(Oe&&B.nodeType===jt.text){const De=ht(B.textContent);B.textContent!==De&&(zn(n.removed,{element:B.cloneNode()}),B.textContent=De)}return Rt(R.afterSanitizeElements,B,null),!1},ao=function(B,q,le){if(X[q]||ae(q,B)||Ve&&(q==="id"||q==="name")&&(le in a||le in Dt))return!1;const ke=J[q]||ne.attributeCheck instanceof Function&&ne.attributeCheck(q,B);return se&&Ct(z,q)||Ae&&Ct(ie,q)?!0:ke?Ye[q]||Ct(fe,qn(le,be,""))||(q==="src"||q==="xlink:href"||q==="href")&&B!=="script"&&$o(le,"data:")===0&&Qe[B]||Ne&&!Ct(ce,qn(le,be,""))?!0:!le:ro(B)&&da(we.tagNameCheck,B)&&da(we.attributeNameCheck,q,B)||q==="is"&&we.allowCustomizedBuiltInElements&&da(we.tagNameCheck,le)},oc=We({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ro=function(B){return!oc[Wn(B)]&&Ct(ve,B)},sc=function(B,q,le,ke){if(A&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!le)switch(h.getAttributeType(B,q)){case"TrustedHTML":return L(ke);case"TrustedScriptURL":return te(ke)}return ke},ic=function(B,q,le,ke){try{le?B.setAttributeNS(le,q,ke):B.setAttribute(q,ke),St(B)?ge(B):Mo(n.removed)}catch{he(q,B)}},oo=function(B){Rt(R.beforeSanitizeAttributes,B,null);const q=B.attributes;if(!q||St(B))return;J=eo(R.uponSanitizeAttribute,J,ye,Ce);const le={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J,forceKeepAttr:void 0};let ke=q.length;const De=Ge(B.nodeName);for(;ke--;){const je=q[ke],Je=je.name,at=je.namespaceURI,kt=je.value,At=Ge(Je),Ra=kt;let gt=Je==="value"?Ra:Xh(Ra);if(le.attrName=At,le.attrValue=gt,le.keepAttr=!0,le.forceKeepAttr=void 0,Rt(R.uponSanitizeAttribute,B,le),gt=le.attrValue,Ke&&(At==="id"||At==="name")&&$o(gt,st)!==0&&(he(Je,B,je),gt=st+gt),He&&Ct(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,gt)){he(Je,B,je);continue}if(At==="attributename"&&Lo(gt,"href")){he(Je,B,je);continue}if(!le.forceKeepAttr){if(!le.keepAttr){he(Je,B,je);continue}if(!Be&&Ct(Cm,gt)){he(Je,B,je);continue}if(Oe&&(gt=ht(gt)),!ao(De,At,gt)){he(Je,B,je);continue}gt=sc(De,At,at,gt),gt!==Ra&&ic(B,Je,at,gt)}}Rt(R.afterSanitizeAttributes,B,null)},pa=function(B){let q=null;const le=Ze(B);for(Rt(R.beforeSanitizeShadowDOM,B,null);q=le.nextNode();)if(Rt(R.uponSanitizeShadowNode,q,null),no(q,B),oo(q),wt(q.content)&&pa(q.content),N(q)===jt.element){const ke=_(q);wt(ke)&&($a(ke),pa(ke))}Rt(R.afterSanitizeShadowDOM,B,null)},$a=function(B){const q=[{node:B,shadow:null}];for(;q.length>0;){const le=q.pop();if(le.shadow){pa(le.shadow);continue}const ke=le.node,je=N(ke)===jt.element,Je=C(ke);if(Je)for(let at=Je.length-1;at>=0;--at)q.push({node:Je[at],shadow:null});if(je){const at=w?w(ke):null;if(typeof at=="string"&&Ge(at)==="template"){const kt=ke.content;wt(kt)&&q.push({node:kt,shadow:null})}}if(je){const at=_(ke);wt(at)&&q.push({node:null,shadow:at},{node:at,shadow:null})}}};return n.sanitize=function(pe){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},q=null,le=null,ke=null,De=null;if(Yt=!pe,Yt&&(pe="<!-->"),typeof pe!="string"&&!$t(pe)&&(pe=nm(pe),typeof pe!="string"))throw xn("dirty is not a string, aborting");if(!n.isSupported)return pe;Ue?(Z=Ee,J=Ce):en(B),(R.uponSanitizeElement.length>0||R.uponSanitizeAttribute.length>0)&&(Z=Tt(Z)),R.uponSanitizeAttribute.length>0&&(J=Tt(J)),n.removed=[];const je=ze&&typeof pe!="string"&&$t(pe);if(je){Re(pe);const kt=j(pe);if(typeof kt=="string"){const At=Ge(kt);if(!Z[At]||de[At])throw ee(pe),xn("root node is forbidden and cannot be sanitized in-place")}if(St(pe))throw ee(pe),xn("root node is clobbered and cannot be sanitized in-place");try{$a(pe)}catch(At){throw ee(pe),At}}else if($t(pe))q=Xe("<!---->"),le=q.ownerDocument.importNode(pe,!0),le.nodeType===jt.element&&le.nodeName==="BODY"||le.nodeName==="HTML"?q=le:q.appendChild(le),$a(le);else{if(!Se&&!Oe&&!Me&&pe.indexOf("<")===-1)return A&&$e?L(pe):pe;if(q=Xe(pe),!q)return Se?null:$e?D:""}q&&Le&&ge(q.firstChild);const Je=je?pe:q;try{const kt=Ze(Je);for(;ke=kt.nextNode();)no(ke,Je),oo(ke),wt(ke.content)&&pa(ke.content)}catch(kt){throw je&&(ee(pe),vn(n.removed,At=>{At.element&&Y(At.element)})),kt}if(je)return vn(n.removed,kt=>{kt.element&&Y(kt.element)}),Oe&&_t(pe),pe;if(Se){if(Oe&&_t(q),Fe)for(De=M.call(q.ownerDocument);q.firstChild;)De.appendChild(q.firstChild);else De=q;return(J.shadowroot||J.shadowrootmode)&&(De=$.call(r,De,!0)),De}let at=Me?q.outerHTML:q.innerHTML;return Me&&Z["!doctype"]&&q.ownerDocument&&q.ownerDocument.doctype&&q.ownerDocument.doctype.name&&Ct(hm,q.ownerDocument.doctype.name)&&(at="<!DOCTYPE "+q.ownerDocument.doctype.name+`>
808
+ `+at),Oe&&(at=ht(at)),A&&$e?L(at):at},n.setConfig=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};en(pe),Ue=!0,Ee=Z,Ce=J},n.clearConfig=function(){xt=null,Ue=!1,Ee=null,Ce=null,A=F,D=""},n.isValidAttribute=function(pe,B,q){xt||en({});const le=Ge(pe),ke=Ge(B);return ao(le,ke,q)},n.addHook=function(pe,B){typeof B=="function"&&Nt(R,pe)&&zn(R[pe],B)},n.removeHook=function(pe,B){if(Nt(R,pe)){if(B!==void 0){const q=Zh(R[pe],B);return q===-1?void 0:Yh(R[pe],q,1)[0]}return Mo(R[pe])}},n.removeHooks=function(pe){Nt(R,pe)&&(R[pe]=[])},n.removeAllHooks=function(){R=Uo()},n}var xm=Go();const _m=/^(?:[a-z]+:)?\/\//i,wm="__ihab_core_asset_base_url__";function km(){return globalThis[wm]??""}function Ga(e){const n=String(e||"").trim();if(!n)return"";if(_m.test(n)||n.startsWith("data:")||n.startsWith("blob:"))return n;const a=n.startsWith("/")?n:`/${n}`,r=km();return r?`${r}${a}`:a}const Ko="__ihab_core_storage_resolvers__";function Gn(){return globalThis[Ko]??null}function Am(e){globalThis[Ko]=e}let Zo=class extends Error{constructor(n){super(`
809
809
  [ihabdevteam-core] ${n}() \uD638\uCD9C \uC2E4\uD328 \u2014 configureStorage()\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.
810
810
 
811
811
  \uC571 \uCD08\uAE30\uD654 \uC2DC\uC810(main.tsx \uB4F1)\uC5D0 \uC544\uB798\uC640 \uAC19\uC774 \uD55C \uBC88 \uD638\uCD9C\uD558\uC138\uC694:
@@ -824,24 +824,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
824
824
  \uC124\uCE58 \uBA85\uB839\uC5B4 (\uC2A4\uD1A0\uB9AC\uC9C0 SDK \uBBF8\uC124\uCE58 \uC2DC):
825
825
  npm install @supabase/supabase-js
826
826
  pnpm add @supabase/supabase-js
827
- `),this.name="StorageNotConfiguredError"}};function Am(e){km(e)}function Yo(e,n){if(!e)return null;const a=Gn();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Xo(e){if(!e)return null;const n=Gn();if(!n)throw new Zo("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Jo(e){const n=Gn();if(!n)throw new Zo("downloadSound");return n.download(e)}function Nm(){return Gn()?.noiseBaseUrl??"/sounds/noise"}function Qo(){const e=Number(Gn()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}const es="__ihab_core_tts_config__";function Ka(){return globalThis[es]?.urlResolver??null}function Bm(){return globalThis[es]?.fallbackUrlResolver??null}const Dm="__ihab_core_pronunciation_resolver__";function Sm(){return globalThis[Dm]??null}let un=null;const Kn=new WeakMap,Za=new WeakMap,Ya=new WeakMap;let ts=!1;const ns=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function jm(){if(ts||typeof document>"u")return;ts=!0;const e=()=>{try{un&&un.state!=="running"&&un.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function as(){if(un)return un;try{const e=window.AudioContext||window.webkitAudioContext;return e?(un=new e,jm(),un):null}catch{return null}}function Xa(){try{un?.resume()}catch{}}function Ja(e,n){const a=Kn.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),o=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,o.gain.value=ns(Za.get(n)??n.volume),r.connect(o),o.connect(i),o.connect(e.destination);try{n.volume=1}catch{}const l={gain:o,analyser:i};return Kn.set(n,l),l}catch{return null}}function ma(e){if(!e)return Promise.resolve(null);const n=Kn.get(e);if(n)return Promise.resolve(n.analyser);const a=as();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Ja(a,e)?.analyser??null);const r=Ya.get(e);if(r)return r;const o=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Ja(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Ya.delete(e)});return Ya.set(e,o),o}function Tm(e){if(!e)return null;const n=Kn.get(e);if(n)return n.analyser;const a=as();return a?a.state==="running"?Ja(a,e)?.analyser??null:(ma(e),null):null}function dn(e,n){const a=ns(n);Za.set(e,a);const r=Kn.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const o=r.gain.gain;try{const i=r.gain.context.currentTime;o.cancelScheduledValues(i),o.setTargetAtTime(a,i,.01)}catch{try{o.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function fa(e){return Za.get(e)??e.volume}function Em(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const o=n[r];a+=o*o}return Math.sqrt(a/n.length)}const Mm="__ihab_core_image_config__";function Tn(){return globalThis[Mm]??null}const rs="word_image_existence_map_v1";let _n=null;const Ca=new Map;function Lm(){if(_n)return _n;try{const e=typeof localStorage<"u"?localStorage.getItem(rs):null;_n=e?JSON.parse(e):{}}catch{_n={}}return _n}let Qa=null;function $m(){Qa||(Qa=setTimeout(()=>{Qa=null;try{typeof localStorage<"u"&&_n&&localStorage.setItem(rs,JSON.stringify(_n))}catch{}},200))}function Rm(e,n){return`${e}_${n??1}`}async function os(e,n){const a=Lm(),r=Rm(e,n);if(r in a)return a[r];if(Ca.has(r))return Ca.get(r);const o=Tn();if(!o)return!1;const i=o(e,n);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(c=>c.ok).catch(()=>!1).then(c=>(a[r]=c,$m(),Ca.delete(r),c));return Ca.set(r,l),l}const ss=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],is=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Pm=["","\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 Zn(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function Im(e){const n=Zn(e[0]||"");return n?ss[n.cho]:""}function Fm(e,n){if(!n)return!0;const a=[...n],r=c=>ss.includes(c),o=c=>is.includes(c),i=a.map(c=>r(c)?"cho":o(c)?"jung":Zn(c)?"syl":"other");if(i.includes("other"))return e.toLowerCase().includes(n.toLowerCase());const l=[...e];for(let c=0;c+a.length<=l.length;c++){let u=!0;for(let d=0;d<a.length;d++){const h=l[c+d],p=i[d];if(p==="cho"){if(Im(h)!==a[d]){u=!1;break}}else if(p==="jung"){const m=Zn(h);if(!m||is[m.jung]!==a[d]){u=!1;break}}else{const m=Zn(a[d]);if(m&&m.jong===0){const b=Zn(h);if(!b||b.cho!==m.cho||b.jung!==m.jung){u=!1;break}}else if(h!==a[d]){u=!1;break}}}if(u)return!0}return!1}const Om={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(Om).map(([e,n])=>[n.join(""),Pm[Number(e)]]));const Hm="word_pair_index_v2",Vm="word_pair_index_sig_v2";let ga=null;function zm(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Hm),n=localStorage.getItem(Vm);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function Wm(){if(ga)return ga;const e=zm();return e?(ga=e.index,e.sig,ga):null}const qm={\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"}},er=/[ㄱ-ㅎ]/,Um=/[ㅏ-ㅣ]/;function ls(e){for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||er.test(a)||Um.test(a))return a}return null}function Gm(e){const n=ls(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":er.test(n)?"\uC774":"\uAC00"}function Km(e){return`${e}${Gm(e)}`}function Zm(e){const n=ls(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":er.test(n)?"\uC744":"\uB97C"}function Ym(e){return`${e}${Zm(e)}`}function Xm(e,n,a){const r=e.slice(),[o]=r.splice(n,1);return r.splice(a,0,o),r}function Yn(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const o=Math.floor(n()*(r+1));[a[r],a[o]]=[a[o],a[r]]}return a}const Jm=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof Pt?.t=="function"?Pt.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function cs(e,n){if(n===void 0&&(n=Jm()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const Qm="__ihab_core_word_pool__";function e0(){return globalThis[Qm]??null}const us=globalThis;function ds(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function t0(e){ds("time",()=>us.__ihabTrainingTimeLogger?.(e))}function n0(e){ds("completion",()=>us.__ihabTrainingCompletionLogger?.(e))}function zt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function a0(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function r0(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:zt(r.contextCode)??zt(r.itemId)??zt(r.itemCode)??zt(r.id),question:zt(r.question)??zt(r.sentence)??zt(r.word)??zt(r.targetSyllable),answer:zt(r.answer),selected:zt(r.selectedText)??zt(r.selected),correct:a0(r)}}):[]}const tr=globalThis;async function o0(){try{return await tr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ps(e){const n=a=>{};try{const a=tr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function ba(e){try{tr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function s0(e){if(typeof document<"u"){const n=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}function i0(){return nr(new Date)}function nr(e){if(e==null||e==="")return"";const n=e instanceof Date?e:new Date(e);return isNaN(n.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n)}function hs(e,n){if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const r=Math.max(0,Math.floor((Date.now()-a)/1e3)),o=Math.floor(r/60),i=Math.floor(o/60),l=Math.floor(i/24),c=Math.floor(l/7),u=Math.floor(l/30),d=Math.floor(l/365);return o<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):o<60?n("store.time.minutesAgo",{n:o}):i<24?n("store.time.hoursAgo",{n:i}):l<7?n("store.time.daysAgo",{n:l}):c<5?n("store.time.weeksAgo",{n:c}):l<365?n("store.time.monthsAgo",{n:Math.min(u,11)}):n("store.time.yearsAgo",{n:d})}function ms(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:o=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=nr(e instanceof Date?e:String(e));if(!l)return i;const[c,u,d]=l.split("-"),h=r?u:String(Number(u)),p=r?d:String(Number(d));return`${c}${a}${h}${a}${p}${o?".":""}`}function Xn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function fs(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),o=Number(a[2]),i=a[1].padStart(2,"0");return o===0?n("date.timeH",{h:r,hh:i,mm:a[2]}):n("date.timeHM",{h:r,hh:i,m:o,mm:a[2]})}function ar(e){return(e??0).toLocaleString("ko-KR")}const l0=[{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"}]}],c0=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];function Cs(){return l0}function u0(){return c0}const d0=[],p0=[],h0=[],m0=[];function f0(){return{LISTEN_IN_NOISE:d0,SHORT_STORY:p0,LONG_STORY:h0,ORDERING_SENTENCE:m0}}const C0=[{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."}];let ya=null,gs=null,bs=null;function g0(){const e=e0();if(e&&e.entries.length>0){const n=Wm();if(ya&&gs===e&&bs===n)return ya;const a=new Set,r=[];for(const o of e.entries)!o.word||a.has(o.word)||(a.add(o.word),r.push({w:o.word,s:o.syllables,p:n?.[o.word]?[...n[o.word].cho??[],...n[o.word].jung??[],...n[o.word].jong??[]]:[],pron:o.pronunciation||o.word,grade:o.grade}));return ya=r,gs=e,bs=n,ya}return[]}new Proxy([],{get(e,n){const a=g0(),r=a[n];return typeof r=="function"?r.bind(a):r}});const b0="0.133.0";function y0(e){return typeof window>"u"?"":vm.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function v0(e){const[n,a]=s.useState(null),[r,o]=s.useState(null),[i,l]=s.useState(null),[c,u]=s.useState(null);return s.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),o(null),l(null);return}const d=e.split("/").pop();let h=e;d&&(e.startsWith("/")?h=Ga(e):/^(Logo|Symbol)/i.test(d)?h=Ga(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),h=e)),a(h)},[e]),s.useEffect(()=>{if(!n)return;let d=!1;async function h(){try{let p=await fetch(n);p.ok||(p=await fetch(n));const m=p.headers.get("content-type")||"";if(d)return;if(m.includes("svg")){o("mask");return}if(m.startsWith("image/")){o("img");return}const b=await fetch(n);if(!b.ok)throw new Error("not ok");const f=await b.text();if(d)return;if(/^\s*<svg[\s>]/i.test(f)){const g=y0(f);if(!g){o("none");return}l(g),o("inline");return}o("none")}catch{d||o("none")}}return h(),()=>{d=!0}},[n]),s.useEffect(()=>{let d=!1,h=null;return r==="mask"&&n&&fetch(n).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{d||(h=URL.createObjectURL(p),u(h))}).catch(()=>{d||o("img")}),()=>{d=!0,h&&URL.revokeObjectURL(h),u(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:c}}function Ie(e){const{icon:n,label:a,className:r,imgClassName:o,maskClassName:i,svgClassName:l,wrapperStyle:c,size:u}=e||{},d=r??"iconRenderer-icon",h=o??"iconRenderer-icon-image",p=i??"iconRenderer-icon-mask",m=l??"iconRenderer-icon-svg",b=typeof n=="string"?n:null,f=Fh(b),{iconToUse:g,mode:C,svgText:y,blobUrl:w}=v0(b),_=(k,T={})=>t.jsx("span",{className:d,style:c,...T,children:k}),v=(k,T={})=>t.jsx("img",{src:k,alt:typeof a=="string"?a:a?String(a):"",className:h,...T});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.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 _(s.createElement(f,{className:m,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(g&&g.endsWith(".svg")){if(C==="mask"){const k={"--icon-url":w?`url(${w})`:`url(${g})`,...typeof u=="number"?{"--icon-size":`${u}px`}:null};return _(t.jsx("span",{className:p,style:k}),{"aria-hidden":"true"})}return C==="img"?_(v(g,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):C==="inline"?_(t.jsx("span",{className:m,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return v(Ga(n),{style:c,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const A=typeof u=="number"?u:20,x=`<svg width="${A}" height="${A}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return _(t.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function x0({icon:e,emoji:n,title:a,message:r,hint:o,action:i,compact:l,className:c}){return t.jsxs("div",{className:xe("empty-state",l&&"empty-state--compact",c),children:[n&&t.jsx("span",{className:"empty-state__emoji",children:n}),e&&t.jsx(Ie,{icon:e,className:"empty-state__icon"}),a&&t.jsx("p",{className:"empty-state__title body-2",children:a}),r&&t.jsx("p",{className:"empty-state__message body-3",children:r}),o&&t.jsx("p",{className:"empty-state__hint caption-1",children:o}),i&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:i.onClick,children:[i.icon&&t.jsx(Ie,{icon:i.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:i.label})]})]})}function _0({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:o,className:i}){const{t:l}=fe.useTranslation();return t.jsxs("div",{className:xe("empty-state","error-state",i),role:"alert",children:[t.jsx(Ie,{icon:a,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"empty-state__hint caption-1",children:n}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:r,children:[t.jsx(Ie,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:o??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function w0({icon:e,title:n,description:a,cta:r,tone:o="main",disabled:i=!1,onClick:l,className:c=""}){const u=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-label":n,onClick:u,onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),u())},className:xe("action-card",`action-card--${o}`,i&&"action-card--disabled",c),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ie,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{className:"action-card__title",children:n}),t.jsx("p",{className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ie,{icon:"arrow-right",size:18})})]})]})})}function k0({as:e="div",className:n="",children:a,storage:r,...o}){r&&Am({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl,noiseFileGain:r.noiseFileGain});const i=xe("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...o,children:a})}function A0({title:e="",lines:n=[],notices:a=null,children:r,variant:o="default",dismissible:i=!1,className:l=""}){const{t:c}=fe.useTranslation(),[u,d]=s.useState(!1),h=s.useCallback(()=>d(!0),[]);if(u)return null;const p=`notice-box notice-box--${o} body-2 ${l}`.trim();if(a&&Array.isArray(a)&&a.length)return t.jsx("div",{className:p,role:"note",children:a.map((b,f)=>t.jsxs("div",{className:"notice-box__inner",children:[b.title?t.jsx("span",{className:"notice-box__title body-3",children:b.title}):null,t.jsx("div",{className:"notice-box__body",children:b.lines&&b.lines.length?t.jsx("div",{children:b.lines.map((g,C)=>t.jsx("span",{className:"notice-box__line body-3",children:g},C))}):b.children??null})]},f))});const m=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((b,f)=>t.jsx("li",{className:"notice-box__line",children:b},f))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{className:p,role:"note",children:[m,i&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}function rr(e,n=!0){s.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=o=>{if(o.key!=="Tab")return;const i=Array.from(a.querySelectorAll(Jn)).filter(h=>!h.closest('[aria-hidden="true"]'));if(!i.length){o.preventDefault();return}const l=i[0],c=i[i.length-1],u=document.activeElement,d=u===a;o.shiftKey&&(u===l||d)?(o.preventDefault(),c.focus()):!o.shiftKey&&u===c&&(o.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const Jn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',En=[];let va=!1;function ys(e){if(e.key!=="Escape"||e.defaultPrevented)return;const n=En[En.length-1];n&&(e.stopPropagation(),n())}function Mn(e){return En.push(e),!va&&typeof document<"u"&&(document.addEventListener("keydown",ys),va=!0),()=>{const n=En.lastIndexOf(e);n>=0&&En.splice(n,1),En.length===0&&va&&typeof document<"u"&&(document.removeEventListener("keydown",ys),va=!1)}}function pn(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:o=20,onClose:i,closeOnOutsideClick:l=!0,className:c="",role:u="dialog",ariaLabel:d="",children:h,backdrop:p=!1,isMobilePopup:m=!1,useBorder:b=!0,header:f}=e||{},g=s.useRef(null),[C,y]=s.useState({position:"fixed",left:0,top:-9999}),[w,_]=s.useState(!1),[v,A]=s.useState("bottom"),[x,k]=s.useState(!1),[T,N]=s.useState(!1),D=!n&&!a,F=s.useCallback((E=!1)=>{if(T&&m)return;const H=a?a.getBoundingClientRect():n;if(!H||!g.current)return;const X=g.current,{offsetWidth:q,offsetHeight:M}=X,j=window.innerWidth,L=window.innerHeight,P=j-H.right,G=H.left,I=H.top,K=L-H.bottom;let W=0,re=0,ue="top";if(I>=M+r)ue="top",re=H.top-r-M,W=H.left+H.width/2-q/2;else if(K>=M+r)ue="bottom",re=H.bottom+r,W=H.left+H.width/2-q/2;else if(P>=q+r)ue="right",W=H.right+r,re=H.top+H.height/2-M/2;else if(G>=q+r)ue="left",W=H.left-r-q,re=H.top+H.height/2-M/2;else{const O=Math.max(I,K,P,G);O===I?(ue="top",re=H.top-r-M,W=H.left+H.width/2-q/2):O===K?(ue="bottom",re=H.bottom+r,W=H.left+H.width/2-q/2):O===P?(ue="right",W=H.right+r,re=H.top+H.height/2-M/2):(ue="left",W=H.left-r-q,re=H.top+H.height/2-M/2)}const be=Number(o)||8;W=Math.min(Math.max(W,be),j-q-be),re=Math.min(Math.max(re,be),L-M-be);const ve=Math.round(W),Ce=Math.round(re);E&&g.current?(g.current.style.left=`${ve}px`,g.current.style.top=`${Ce}px`,g.current.dataset.placement=ue):(A(ue||v),y({position:"fixed",left:ve,top:Ce}),k(!0))},[T,m,a,n,r,o,v]);s.useLayoutEffect(()=>{if(D)return;if(T&&m){y({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),k(!0);return}F();const E=requestAnimationFrame(()=>F());return()=>cancelAnimationFrame(E)},[n,a,r,h,o,D,T,m,F]),s.useEffect(()=>{if(D||T&&m||!g.current||typeof ResizeObserver>"u")return;const E=new ResizeObserver(()=>{n&&F()});return E.observe(g.current),()=>E.disconnect()},[n,h,o,D,T,m,F]),s.useEffect(()=>{if(D||T&&m)return;const E=()=>F(!0);return window.addEventListener("resize",E),document.addEventListener("scroll",E,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",E),document.removeEventListener("scroll",E,{capture:!0})}},[n,r,h,o,D,T,m,F]),s.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const E=window.matchMedia("(max-width: 768px)"),H=()=>N(!!E.matches);H();try{E.addEventListener?E.addEventListener("change",H):E.addListener(H)}catch{try{E.addListener(H)}catch{}}return()=>{try{E.removeEventListener?E.removeEventListener("change",H):E.removeListener(H)}catch{}}},[]);const R=s.useRef(!1),S=s.useCallback((E=!1)=>{if(i&&!(w||R.current)){if(R.current=!0,E){_(!0);try{i&&i()}catch{}return}_(!0),setTimeout(()=>{i&&i()},200)}},[w,i,_]);s.useEffect(()=>{if(D)return;const E=q=>{const M=g.current;if(!M)return;const j=q.target;if(j&&!M.contains(j)){try{if(j.closest&&j.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},H=q=>{const M=g.current;if(!M)return;const j=q.target;if(j&&!M.contains(j)){try{if(j.closest&&j.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},X=q=>{if(q.key==="Tab"){const M=g.current;if(!M)return;const j=M.querySelectorAll(Jn);if(!j||j.length===0)return;const L=j[0],P=j[j.length-1],G=document.activeElement;q.shiftKey?G===L&&(q.preventDefault(),P.focus()):G===P&&(q.preventDefault(),L.focus())}};return document.addEventListener("pointerdown",E,!0),document.addEventListener("click",H,!0),document.addEventListener("keydown",X),()=>{document.removeEventListener("pointerdown",E,!0),document.removeEventListener("click",H,!0),document.removeEventListener("keydown",X)}},[i,l,S,D]);const z=s.useRef(S);s.useEffect(()=>{z.current=S});const $=!!i;s.useEffect(()=>{if(!(D||!$))return Mn(()=>z.current())},[D,$]),s.useEffect(()=>{const E=()=>{S(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",E),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",E)}},[S]);const ee=t.jsxs("div",{ref:g,className:`tooltip-content ${D?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${w?"is-closing":""} ${c} ${T&&m?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:D?{}:{...C,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":v,"data-left":D?"":C.left,"data-top":D?"":C.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[f!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:f}),h]});if(D||typeof document>"u")return ee;if(p||T&&m){const E=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&S(!0)}}),ee]});return It.createPortal(E,document.body)}return It.createPortal(ee,document.body)}function hn(e){const{anchorRect:n,text:a,offset:r=8,onClose:o,className:i="",ariaLabel:l}=e||{};return a?t.jsx(pn,{anchorRect:n,offset:r,onClose:o,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function wn(e){const{t:n}=fe.useTranslation(),{anchorRect:a,title:r,items:o,activeIndex:i=-1,showIndex:l=!0,onClose:c,offset:u=12,closeOnOutsideClick:d=!0}=e||{},h=(Array.isArray(o)?o:o?[o]:[]).map(p=>typeof p=="string"?{text:p}:p);return!h.length&&!r?null:t.jsx(pn,{anchorRect:a,offset:u,onClose:c,closeOnOutsideClick:d,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:h.map((p,m)=>t.jsxs("li",{className:`tooltip-description__item body-3${m===i?" tooltip-description__item--active":""}`,children:[l&&h.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[m+1,"."]}),p.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:p.color},"aria-hidden":"true"}),t.jsx("span",{children:p.text})]},m))})]})})}function se(e){const{size:n=48,type:a,htmlType:r,href:o,target:i,rel:l,icon:c,rightIcon:u,label:d,count:h,subLabel:p,children:m,ariaLabel:b,variant:f="default",align:g="center",selected:C,toggleable:y=!1,disabled:w=!1,useLabel:_=!0,useBorder:v=!0,useBG:A=!0,useDisabledCovered:x=!1,useDisabledInvisible:k=!1,width:T,minWidth:N,onClick:D,onDisabledClick:F,showTooltipInfo:R=!1,tooltipInfoText:S=null,tooltipDescription:z=null,iconSize:$="medium",iconColor:ee,shape:E="rounded",color:H,className:X,...q}=e,M=typeof n=="string"&&isNaN(Number(n))?n.toLowerCase():String(Number(n)||48),j=M.match(/^\d+$/)?`button${M}`:`button-${M}`,L=Number(n),P=!isNaN(L)&&L<40?"button-2":"button-1",G=d??m,I=w||!!q.disabled,K=I?x?"disabled-covered":k?"disabled-invisibled":"disabled":f,W=K?`button--variant-${K}`:"",re=g?`button--align-${g}`:"",ue=E?`button--shape-${E}`:"",be=typeof ee=="string"&&ee.startsWith("--")?`var(${ee})`:ee,ve={...T?{width:typeof T=="number"?`${T}px`:T}:{},...N?{minWidth:typeof N=="number"?`${N}px`:N}:{},...v?{}:{"--button-border":I?"0":"1px solid transparent"},...be?{"--button-icon-color":be}:{},...H?{"--color-main":H}:{}},Ce=_===!1?"":G,O=Array.isArray(Ce)?Ce.length>0:!!Ce,te=!!u,ce=a??(O||c||te?"bar":"dot"),ke=`${j}--${ce}`,_e=s.useRef(null),de=s.useRef(I),[J,ne]=s.useState(!!C),[Ae,le]=s.useState(!1),[Ne,Be]=s.useState(null),Re=s.useCallback(()=>le(!1),[]);s.useEffect(()=>{typeof C=="boolean"&&ne(C)},[C]),s.useEffect(()=>{if(de.current&&!I&&_e.current){const je=_e.current;je.blur(),je.style.pointerEvents="none";const Qe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{_e.current&&(_e.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Qe)}de.current=I},[I]);const Oe=typeof C=="boolean"?!!C:J,Se=y||typeof C=="boolean"?Oe?"true":"false":void 0,Ue=xe("button",j,ke,W,re,ue,Oe?"is-selected":null,A?null:"button--no-bg",X),We=`button__icon button__icon--${$}`,me=Array.isArray(p)?p:p!==void 0?[p]:[],Le=()=>{if(Array.isArray(Ce))return Ce.map((Qe,Pe)=>{const Ye=me[Pe];return t.jsxs("span",{className:`button__label-text${Ye!==void 0?" button__label-text--has-sub":""}`,children:[Qe,Ye!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Ye})]},Pe)});const je=p!==void 0;return t.jsxs("span",{className:`button__label-text${je?" button__label-text--has-sub":""}`,children:[Ce,h!=null&&t.jsx("span",{className:"button__count",children:h}),je&&t.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},Te=je=>{I||(typeof q.onMouseLeave=="function"&&q.onMouseLeave(je),typeof C!="boolean"&&ne(!1),je.currentTarget.blur())},Fe=je=>{if(I){F?.(je);return}typeof C!="boolean"&&y&&ne(Qe=>!Qe),D?.(je)},Me=s.useCallback(()=>{(R||z)&&(le(!0),Be(_e.current?.getBoundingClientRect()??null))},[R,z]),He=s.useCallback(()=>{(R||z)&&(le(!1),Be(null))},[R,z]),Ze={...q};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,I&&(Object.keys(Ze).forEach(je=>{/^on[A-Z]/.test(je)&&typeof Ze[je]=="function"&&delete Ze[je]}),Ze["aria-disabled"]="true");const pt=(typeof R=="string"?R:null)??(typeof S=="string"?S:null)??(typeof b=="string"?b:null)??(typeof G=="string"?G:null)??void 0,Ke=typeof b=="string"?b:typeof G=="string"?G:pt,Ve=(je,Qe)=>t.jsx(Ie,{icon:je,label:Qe??Ke,className:We,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),ct=()=>ce==="dot"?t.jsxs(t.Fragment,{children:[Ve(c),O&&t.jsx("span",{className:`button__label ${P}`,children:Le()})]}):g==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Ve(c)}),O&&t.jsx("span",{className:`button__label ${P}`,children:Le()})]}),te&&t.jsx("span",{className:"button__right",children:Ve(u)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:Ve(c,b??G)}),O&&t.jsx("span",{className:`button__label ${P}`,children:Le()}),te&&t.jsx("span",{className:"button__right",children:Ve(u)})]}),nt=!!o&&!I;return t.jsxs(t.Fragment,{children:[t.jsx(nt?"a":"button",{...Ze,ref:_e,...nt?{href:o,target:i,rel:l??(i==="_blank"?"noreferrer":void 0)}:{type:r,disabled:I&&!F},className:Ue,"aria-pressed":Se,"aria-label":Ke,"aria-disabled":nt&&I?!0:void 0,style:ve,onClick:Fe,onMouseLeave:Te,onPointerEnter:je=>{Me(),!I&&typeof q.onPointerEnter=="function"&&q.onPointerEnter(je)},onPointerLeave:je=>{He(),!I&&typeof q.onPointerLeave=="function"&&q.onPointerLeave(je)},onFocus:je=>{Me(),!I&&typeof q.onFocus=="function"&&q.onFocus(je)},onBlur:je=>{Te(je),He(),!I&&typeof q.onBlur=="function"&&q.onBlur(je)},children:ct()}),Ae&&z?t.jsx(wn,{anchorRect:Ne,title:z.title,items:z.items,onClose:Re}):Ae&&pt?t.jsx(hn,{anchorRect:Ne,text:pt,onClose:Re}):null]})}function rt(e,n,a){const r=s.useRef(null);return s.useLayoutEffect(()=>{const o=r.current?.parentElement??null;return n(o,e),()=>a(o)},[e,n,a]),r}const Qn={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},or=new WeakMap;function sr(e){if(e)return or.get(e)}function bt(e,n){e&&(e.style.setProperty(Qn.title,n.title),e.style.setProperty(Qn.description,n.description),or.set(e,n))}function yt(e){e&&(e.style.removeProperty(Qn.title),e.style.removeProperty(Qn.description),or.delete(e))}const vs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function xs(){const e=rt(vs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const _s={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function ws(){const e=rt(_s,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const ks={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function As(){const e=rt(ks,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const Ns={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Bs(){const e=rt(Ns,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const Ds={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Ss(){const e=rt(Ds,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const js={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function Ts(){const e=rt(js,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const Es={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function Ms(){const e=rt(Es,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const Ls={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function $s(){const e=rt(Ls,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Rs={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function Ps(){const e=rt(Rs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const Is={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Fs(){const e=rt(Is,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const Os={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function Hs(){const e=rt(Os,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:t.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const Vs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function zs(){const e=rt(Vs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const Ws={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function qs(){const e=rt(Ws,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const Us={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Gs(){const e=rt(Us,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const N0=[{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"}],Ks={main:xs,soft:ws,sub:As,deep:Bs,softSub:Ss,warm:Ts,dark:Ms,radial:$s,diagonal:Ps,dots:Fs,outline:Hs,success:zs,naver:qs,instagram:Gs};function Zs({storageKey:e="fontScale",baseFont:n=20,minScale:a=.8,maxScale:r=1.4,step:o=.1,lineHeightRatio:i=1.4}={}){const l=C=>Math.max(a,Math.min(r,Number(C))),[c,u]=s.useState(()=>{try{const C=localStorage.getItem(e),y=C?Number(C):1;return Number.isFinite(y)?l(y):l(1)}catch{return 1}});s.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const d=C=>{u(typeof C=="function"?y=>l(C(y)):l(C))},h=()=>d(C=>+(C+o).toFixed(6)),p=()=>d(C=>+(C-o).toFixed(6)),m=c<r-Number.EPSILON,b=c>a+Number.EPSILON,f=Math.round(n*c),g=Math.round(f*i);return{scale:c,setScale:d,increase:h,decrease:p,canIncrease:m,canDecrease:b,fontSize:f,lineHeight:g}}const Ys=s.createContext(null);function B0(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Kt(e){const n=s.useContext(Ys),a=i=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(i).matches,[r,o]=s.useState(a(e));return s.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const i=window.matchMedia(e),l=u=>o(u.matches),c=i;return c.addEventListener?c.addEventListener("change",l):c.addListener&&c.addListener(l),o(i.matches),()=>{c.removeEventListener?c.removeEventListener("change",l):c.removeListener&&c.removeListener(l)}},[e]),n&&typeof n.mobile=="boolean"&&B0(e)?n.mobile:r}function ir(e){const n=s.useRef(e);return s.useEffect(()=>{n.current=e}),n}function Xs(e,n){const a=ir(n);s.useEffect(()=>{const r=()=>a.current();try{window.addEventListener(e,r)}catch{}return()=>{try{window.removeEventListener(e,r)}catch{}}},[e,a])}const lr=" \xB7 ",Js=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(lr)?e.split(lr).pop()??e:e})(),D0=s.createContext(!1),kn=[];let Qs=null;function S0(e){const n=s.useContext(D0);s.useEffect(()=>{if(n||typeof e!="string"||!e)return;kn.length===0&&(Qs=document.title);const a={text:Js?`${e}${lr}${Js}`:e};return kn.push(a),document.title=a.text,()=>{const r=kn.lastIndexOf(a);r>=0&&kn.splice(r,1),document.title=kn.length?kn[kn.length-1].text:Qs??document.title}},[e,n])}const ei=[{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 j0(e,n,a){const{t:r}=fe.useTranslation(),[o,i]=s.useState(()=>{const f=a?.initialPageSize;return f&&ei.some(g=>g.value===f)?f:"25"}),[l,c]=s.useState(1),[u,d]=s.useState(n);u!==n&&(d(n),l!==1&&c(1));const h=s.useMemo(()=>ei.map(f=>({...f,label:r("visits.showN",{n:f.value})})),[r]),p=s.useCallback(f=>{i(f),c(1)},[]),m=Math.max(1,Math.ceil(e.length/Number(o))),b=Math.min(l,m);return{pageRows:s.useMemo(()=>e.slice((b-1)*Number(o),b*Number(o)),[e,b,o]),pageSizeProps:{options:h,value:o,onChange:p},paginationProps:{page:b,total:m,onChange:c},setPage:c}}function T0(){const[e,n]=s.useState(null),a=s.useCallback(o=>{n(i=>i?.key===o?{key:o,asc:!i.asc}:{key:o,asc:!0})},[]),r=s.useCallback((o,i)=>({label:o,sortDir:e?.key===i?e.asc?"asc":"desc":null,onClick:()=>a(i)}),[e,a]);return{\uC815\uB82C:e,\uCE78:r}}const Zt="\uC804\uCCB4";Object.fromEntries(Object.entries(qm).map(([e,{nucleus:n}])=>[e,n]));const E0={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},M0={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},L0={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function $0(e,n){if("place"in n)return E0[n.place](e);const a=M0[n.vowel](e);return n.glide?`${a} \xB7 ${L0[n.glide](e)}`:a}const R0=(e,{defaultValue:n})=>n,ti=(e,n)=>({jamos:e,phonetic:n,tooltip:$0(R0,n)}),an=(e,n)=>n.map(a=>ti([a],{place:e})),mt=(e,n,a)=>ti([...e],a?{vowel:n,glide:a}:{vowel:n}),cr={cho:[an("labial",["\u3142","\u3143","\u314D","\u3141"]),an("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),an("alveolar",["\u3145","\u3146"]),an("palatal",["\u3148","\u3149","\u314A"]),an("velar",["\u3131","\u3132","\u314B"]),an("glottal",["\u314E"])],jung:[[mt("\u3163","frontHigh"),mt("\u315F","frontHigh","w"),mt("\u3162","frontHigh","velar")],[mt("\u3161","backHighUnrounded")],[mt("\u315C","backHighRounded"),mt("\u3160","backHighRounded","j")],[mt("\u3154\u3150","frontMid"),mt("\u3156\u3152","frontMid","j"),mt("\u3159\u315A\u315E","frontMid","w")],[mt("\u3153","backMidUnrounded"),mt("\u3155","backMidUnrounded","j"),mt("\u315D","backMidUnrounded","w")],[mt("\u3157","backMidRounded"),mt("\u315B","backMidRounded","j")],[mt("\u314F","low"),mt("\u3151","low","j"),mt("\u3158","low","w")]],jong:[an("labial",["\u3142","\u3141"]),an("alveolar",["\u3137","\u3134","\u3139"]),an("velar",["\u3131","\u3147"])]},P0=e=>e===I0?[]:Array.from(e),I0="__NO_CODA__",ur=e=>e.map(n=>n.map(({jamos:a,phonetic:r,tooltip:o})=>({v:a.join(""),phonetic:r,tooltip:o}))),ni={cho:ur(cr.cho),jung:ur(cr.jung),jong:ur(cr.jong)};ni.jung.flat().forEach(({v:e})=>{for(const n of P0(e));}),new Set(ni.cho.flat().map(e=>e.v));function F0(e,n=!0){const a=ir(e);s.useEffect(()=>{if(n)return Mn(()=>{a.current?.()})},[n,a])}function xa(){const[e,n]=s.useState(null),a=s.useCallback(i=>n(i.getBoundingClientRect()),[]),r=s.useCallback(()=>n(null),[]),o=s.useCallback(i=>{const l=i.getBoundingClientRect();n(c=>c?null:l)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:r,toggleAt:o}}function ai(e="warning"){const[n,a]=s.useState(""),[r,o]=s.useState(e),[i,l]=s.useState(0),c=s.useCallback((p,m)=>{o(m),a(p),l(b=>b+1)},[]),u=s.useCallback(p=>c(p,"warning"),[c]),d=s.useCallback(p=>c(p,"normal"),[c]),h=s.useCallback(()=>a(""),[]);return{toastMessage:n,toastType:r,toastKey:i,showToast:c,showWarning:u,showNormal:d,clearToast:h}}function ea({computeStyle:e,onScroll:n="close",onResize:a="close",ignoreOutsideClickSelector:r}){const[o,i]=s.useState(!1),[l,c]=s.useState({}),u=s.useRef(null),d=s.useRef(null),h=s.useCallback(()=>{u.current&&c(e(u.current.getBoundingClientRect()))},[e]);s.useEffect(()=>{if(!o)return;h();const b=C=>{const y=C.target;r&&y.closest?.(r)||u.current?.contains(y)||d.current?.contains(y)||i(!1)};document.addEventListener("mousedown",b);const f=C=>{d.current?.contains(C.target)||(n==="reposition"?h():n==="close"&&i(!1))};n!=="ignore"&&window.addEventListener("scroll",f,!0);const g=()=>{a==="reposition"?h():a==="close"&&i(!1)};return a!=="ignore"&&window.addEventListener("resize",g),()=>{document.removeEventListener("mousedown",b),n!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",g)}},[o,h,n,a,r]),s.useEffect(()=>{if(o)return Mn(()=>i(!1))},[o]);const p=s.useCallback(()=>i(b=>!b),[]),m=s.useCallback(()=>i(!1),[]);return{open:o,setOpen:i,toggle:p,close:m,style:l,triggerRef:u,menuRef:d}}function O0(e,{mode:n="playback",autoStart:a=!1,onPlaySpeaker:r,onComplete:o,playMs:i=1100,feedbackMs:l=1500}={}){const[c,u]=s.useState([]),[d,h]=s.useState(0),[p,m]=s.useState("idle"),[b,f]=s.useState(null),[g,C]=s.useState([]),[y,w]=s.useState(null),[_,v]=s.useState(0),A=s.useRef(0),x=s.useCallback(q=>{A.current=typeof q=="function"?q(A.current):q,v(A.current)},[]),k=s.useRef(r),T=s.useRef(o);s.useEffect(()=>{k.current=r,T.current=o},[r,o]);const N=s.useRef([]),D=()=>{N.current.forEach(clearTimeout),N.current=[]},F=(q,M)=>{N.current.push(setTimeout(M,q))};s.useEffect(()=>()=>D(),[]);const R=c[d]?.id??null,S=s.useCallback(()=>{D(),m("playing"),C([]),w(null),x(0);let q=0;e.forEach((M,j)=>{F(q,()=>{h(j),f(M.id),k.current?.(M)}),F(q+1e3,()=>{f(null),C(L=>[...L,M.id])}),q+=1300}),F(q,()=>{m("done"),T.current?.({score:0,total:e.length})})},[e,x]),z=s.useCallback((q,M)=>{if(M>=q.length){m("done"),T.current?.({score:A.current,total:q.length});return}h(M),w(null),m("playing"),f(q[M].id),k.current?.(q[M]),F(i,()=>{f(null),m("waiting")})},[i]),$=s.useCallback(()=>{D();const q=Yn(e);u(q),x(0),C([]),z(q,0)},[e,z,x]),ee=s.useCallback(()=>{n==="playback"?(u(e),S()):$()},[n,e,S,$]),E=s.useCallback(()=>{D(),m("idle"),f(null),C([]),w(null),h(0),x(0),u([])},[x]);s.useEffect(()=>{a?ee():E()},[n,e.length,a]);const H=s.useCallback(q=>{p!=="waiting"||n==="playback"||(w(q),q===c[d]?.id&&x(M=>M+1),n==="exam"?(m("playing"),F(400,()=>z(c,d+1))):(m("feedback"),F(l,()=>z(c,d+1))))},[p,n,c,d,z,l,x]),X=n==="playback"?e.length:c.length;return{bind:{activeSpeakerId:b,playedIds:g,selectedId:y,answerId:R,showFeedback:p==="feedback",clickable:p==="waiting",onSelectSpeaker:H},index:d,total:X,score:_,phase:p,done:p==="done",start:ee,reset:E}}function H0({title:e,description:n,actionLabel:a,onAction:r,bg:o,color:i,size:l="medium",actionVariant:c,titleColor:u,descriptionColor:d,className:h=""}){const p=o??i??"main",m=s.useRef(null),[b,f]=s.useState("main"),g=Kt("(max-width: 767px)"),C=s.useRef({title:!1,description:!1});s.useLayoutEffect(()=>{const _=m.current;if(!_)return;const v=sr(_),A=(x,k,T)=>{if(T!==void 0)_.style.setProperty(k,T),C.current[x]=!0;else if(C.current[x]){const N=v?.[x];N?_.style.setProperty(k,N):_.style.removeProperty(k),C.current[x]=!1}};A("title","--promo-banner-bg-title",u),A("description","--promo-banner-bg-description",d)},[u,d,p]),s.useLayoutEffect(()=>{const _=m.current;if(!_)return;const v=sr(_);f(v?.actionVariant??"main")},[p]);const y=xe("promo-banner",`promo-banner--${l}`,h),w=Ks[p];return t.jsxs("div",{ref:m,className:y,role:"note",children:[t.jsx(w,{}),t.jsxs("div",{className:"promo-banner__text",children:[t.jsx("span",{className:`promo-banner__title ${l==="small"?"body-2":"h2"}`,children:e}),n&&t.jsx("span",{className:"promo-banner__description body-3",children:n})]}),a&&r&&t.jsx(se,{size:40,variant:c??b,shape:"pill",useBorder:!0,onClick:r,ariaLabel:a,...g?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}function V0({children:e,interval:n=5e3,dotTone:a,className:r="","aria-label":o}){const{t:i}=fe.useTranslation(),l=o??i("topBanner.ariaLabel","\uBC30\uB108"),c=s.Children.toArray(e),u=c.length,[d,h]=s.useState(0),[p,m]=s.useState(!1),b=u>0?d%u:0;return s.useEffect(()=>{if(u<2||n<=0||p)return;const f=window.setInterval(()=>h(g=>(g+1)%u),n);return()=>window.clearInterval(f)},[u,n,p]),u===0?null:t.jsxs("section",{className:xe("top-banner",r),"aria-label":l,"aria-roledescription":"carousel",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>m(!0),onBlur:()=>m(!1),children:[t.jsx("div",{className:"top-banner__viewport",children:t.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${b*100}%)`},children:c.map((f,g)=>t.jsx("div",{className:"top-banner__slide","aria-hidden":g!==b,...g!==b?{inert:!0}:{},children:f},g))})}),u>1&&t.jsx("div",{className:`top-banner__dots${(a?.[b]??"light")==="dark"?" top-banner__dots--dark":""}`,children:c.map((f,g)=>t.jsx("button",{type:"button",className:`top-banner__dot${g===b?" top-banner__dot--active":""}`,"aria-label":i("topBanner.dotAriaLabel",{count:u,index:g+1,defaultValue:`${u}\uAC1C \uC911 ${g+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":g===b,onClick:()=>h(g)},g))})]})}function z0({title:e,body:n,open:a=!1,onToggle:r,avatar:o,titleClassName:i="body-2",bodyClassName:l="body-2",className:c=""}){const{t:u}=fe.useTranslation();return t.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${c}`.trim(),role:"listitem",children:[t.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:r,onKeyDown:d=>{if(d.key==="Enter"||d.key===" ")d.preventDefault(),r?.();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:[o&&t.jsx("div",{className:"accordion-item__avatar",children:o}),t.jsx("div",{className:`accordion-item__title ${i}`,children:e}),t.jsx("div",{className:"accordion-item__chevron",children:t.jsx(Ie,{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&&t.jsx("div",{className:`accordion-item__body ${l}`,children:typeof n=="string"?t.jsx("p",{children:n}):n})]})}function W0({items:e=[],defaultOpenIndex:n=0,size:a=72,className:r="",bodyClassName:o}){const[i,l]=s.useState(n);return t.jsx("div",{className:`accordion-group accordion-group--s${a} ${r}`.trim(),role:"list",children:e.map((c,u)=>t.jsx(z0,{title:c.title,body:c.body,avatar:c.avatar,open:u===i,onToggle:()=>l(u===i?-1:u),bodyClassName:o},u))})}function q0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("polyline",{points:"2,6 5,9 10,3"})})}function U0(){return t.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[t.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),t.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function G0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:t.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function ot(e){const{t:n}=fe.useTranslation(),{type:a="bar",size:r,className:o="","aria-label":i,"aria-hidden":l}=e;if(a==="dot"){const{icon:A,number:x,position:k="top-right",onClick:T,animate:N=!1}=e,D=A??"check",F=x!==void 0?"number":D,R=typeof r=="number"?r:32,S=xe("circle-badge",`circle-badge--${F}`,`circle-badge--${k}`,`circle-badge--${R}`,N?"circle-badge--animate":"",T?"circle-badge--clickable":"",o),z=x!==void 0?n("badge.nthSelected",{n:x,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:n("badge.selected","\uC120\uD0DD\uB428"),remove:n("badge.remove","\uC81C\uAC70"),minus:n("badge.exclude","\uC81C\uC678")}[D];return t.jsxs("span",{className:S,onClick:T,onKeyDown:T?$=>{$.key!=="Enter"&&$.key!==" "||($.preventDefault(),$.currentTarget.click())}:void 0,"aria-label":l?void 0:i??z,"aria-hidden":l||void 0,role:T?"button":void 0,tabIndex:T?0:void 0,children:[x!==void 0&&x,x===void 0&&D==="check"&&t.jsx(q0,{}),x===void 0&&D==="remove"&&t.jsx(U0,{}),x===void 0&&D==="minus"&&t.jsx(G0,{})]})}const{label:c,children:u,variant:d="default",fill:h="filled",minWidth:p,iconLeft:m,iconRight:b,color:f}=e,g=typeof r=="number"?"medium":r??"medium",C={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",y={small:12,medium:14,large:16}[g]??14,w=xe("badge",`badge--${d}`,`badge--${g}`,h!=="filled"?`badge--${h}`:"",C,o),_=f?.startsWith("--")?`var(${f})`:f,v=p!==void 0||_?{...p!==void 0?{minWidth:typeof p=="number"?`${p}px`:p}:{},..._?{"--badge-color":_}:{}}:void 0;return t.jsxs("span",{className:w,style:v,"aria-label":l?void 0:i,role:i&&!l?"img":void 0,"aria-hidden":l||void 0,children:[m&&t.jsx(Ie,{icon:m,size:y,className:"badge__icon"}),c??u,b&&t.jsx(Ie,{icon:b,size:y,className:"badge__icon"})]})}function _a({columns:e=[],onClose:n,className:a="",size:r="medium"}){const{t:o}=fe.useTranslation(),i=r==="small"?40:48,[l,c]=s.useState([{title:null,columns:e}]),u=l[l.length-1];s.useEffect(()=>{c(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:e}];const g=f.slice(),C=g[0]&&typeof g[0].title<"u"?g[0].title:null;return g[0]={title:C,columns:e},g}catch{return[{title:null,columns:e}]}})},[e]);const d=s.useCallback(()=>c(f=>f.length>1?f.slice(0,f.length-1):f),[]),h=s.useRef(null),p=s.useRef(null),m=l.length;s.useEffect(()=>{p.current||(p.current=document.activeElement);let f=0,g=0;const C=()=>{const y=h.current?.querySelector("button:not([disabled])");if(y&&y.offsetParent){y.focus({preventScroll:!0});return}g++<20&&(f=requestAnimationFrame(C))};return f=requestAnimationFrame(C),()=>cancelAnimationFrame(f)},[m]),s.useEffect(()=>()=>{p.current?.focus?.({preventScroll:!0})},[]);const b=s.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){c(g=>[...g,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof n=="function"&&n()}catch{}}},[n]);return t.jsxs("div",{className:`tooltip-menu tooltip-menu--${r} ${a}`,children:[(l.length>1||u.title)&&t.jsxs("div",{className:"tooltip-menu__header",children:[l.length>1?t.jsx(se,{htmlType:"button",size:i,type:"dot",icon:"chevron-left",ariaLabel:o("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,t.jsx("div",{className:"tooltip-menu__title button-1",children:u.title})]}),t.jsx("div",{className:"tooltip-menu__columns",ref:h,children:u.columns&&u.columns.map((f,g)=>t.jsxs("div",{className:"tooltip-menu__column",children:[f.title?t.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,t.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((C,y)=>t.jsx(se,{htmlType:"button",className:"tooltip-menu__item",size:i,type:C.label?"bar":"dot",icon:C.selected?"check":C.icon||"none",rightIcon:Array.isArray(C.children)&&C.children.length?"chevron-right":C.badgeCount?t.jsx(ot,{type:"dot",position:"inline",number:Math.min(C.badgeCount,99),size:24,"aria-label":`${C.badgeCount}`}):void 0,label:C.label,ariaLabel:C.label,onClick:()=>b(C),selected:C.selected,disabled:C.disabled,showTooltipInfo:C.tooltip||!1,useBorder:!1,align:"left"},y))})]},g))})]})}const K0=52,ri=10,oi=e=>e&&e>0?e:0;function si({items:e=[],activeKey:n,onChange:a,appMode:r,onAppModeChange:o,moreItems:i=[]}){const{t:l}=fe.useTranslation(),c=r==="manager"?"malgwi":"manager",u=r==="manager"?"arrow-left":"arrow-right",d=r==="manager"?l("nav.modeLabelMalgwi","\uB9D0\uADC0"):l("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=s.useRef(null),[p,m]=s.useState(0),b=e.length;s.useEffect(()=>{const E=h.current;if(!E||(m(E.clientWidth),typeof ResizeObserver>"u"))return;const H=new ResizeObserver(X=>m(X[0].contentRect.width));return H.observe(E),()=>H.disconnect()},[]);const f=p>0?Math.floor((p+ri)/(K0+ri)):b,g=p>0&&f<b,C=g?f:b,y=e.slice(0,C),w=e.slice(C),_=g||i.length>0,v=s.useCallback(E=>({position:"fixed",bottom:window.innerHeight-E.top+8,right:window.innerWidth-E.right,zIndex:1e4}),[]),A=s.useId(),{open:x,toggle:k,close:T,style:N,triggerRef:D,menuRef:F}=ea({computeStyle:v,onScroll:"ignore",onResize:"ignore"}),R=s.useCallback((E,H)=>H>0?l("nav.badgeLabel",{label:E,count:H,defaultValue:"{{label}}, {{count}}\uAC1C"}):E,[l]),S=s.useCallback(()=>o?.(c),[o,c]),z=s.useMemo(()=>w.find(E=>E.key===n)??i.find(E=>E.selected||E.key&&E.key===n),[w,n,i]),$=s.useMemo(()=>[{items:[...w.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.key===n,closeOnSelect:!0,onClick:()=>{E.key&&a&&a(E.key),T()}})),...i.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.selected??(!!E.key&&E.key===n),closeOnSelect:!0,onClick:()=>{E.onClick?.(),T()}}))]}],[w,i,n,a,T]),ee=[...w,...i].reduce((E,H)=>E+oi(H.badgeCount),0);return t.jsxs("nav",{className:"bottom-nav","aria-label":l("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[o&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__left",children:t.jsx(se,{htmlType:"button",size:52,type:"dot",icon:u,ariaLabel:d,className:"bottom-nav-item",onClick:S})}),t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),t.jsx("div",{className:"bottom-nav__items",ref:h,children:y.map(E=>{const H=oi(E.badgeCount);return t.jsxs("span",{className:"bottom-nav__slot",children:[t.jsx(se,{htmlType:"button",size:52,type:"dot",icon:E.icon,ariaLabel:R(E.label,H),selected:E.key===n,disabled:E.state==="disabled",className:"bottom-nav-item",onClick:()=>E.key&&a?.(E.key)}),H>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(ot,{type:"dot",position:"top-right",number:Math.min(H,99),size:24})})]},E.key)})}),_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),t.jsx("div",{className:"bottom-nav__right",children:t.jsxs("div",{ref:D,className:"bottom-nav__slot",children:[t.jsx(se,{htmlType:"button",size:52,type:"dot",icon:z?.icon??"ellipsis",ariaLabel:R(z?.label??l("nav.more","\uB354\uBCF4\uAE30"),ee),selected:!!z,className:"bottom-nav-item",onClick:k,"aria-expanded":x,"aria-controls":x?A:void 0}),ee>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(ot,{type:"dot",position:"top-right",number:Math.min(ee,99),size:24})}),x&&It.createPortal(t.jsx("div",{id:A,role:"group","aria-label":l("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:N,ref:F,children:t.jsx(_a,{columns:$,onClose:T})}),document.body)]})})]})]})}function ii(e,n,a){return a&&a>0?e("nav.badgeLabel",{label:n,count:a,defaultValue:"{{label}}, {{count}}\uAC1C"}):n}function Z0(e){const{t:n}=fe.useTranslation(),{activeKey:a,unreadCount:r,onDebug:o,onNotification:i,onSetting:l,onHelp:c,onAccount:u}=e||{},d="default";return o||i||l||c||u?t.jsxs("div",{className:"side-nav__footer",children:[o&&t.jsx(se,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"terminal",ariaLabel:n("nav.debug","\uB514\uBC84\uADF8"),onClick:o,selected:a==="debug"}),i&&t.jsxs("span",{className:"side-nav__notification-wrap",children:[t.jsx(se,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"bell",ariaLabel:ii(n,n("nav.notifications","\uC54C\uB9BC"),r),onClick:i,selected:a==="notifications"}),!!r&&r>0&&t.jsx(ot,{type:"dot",number:Math.min(r,99),size:24,"aria-hidden":!0})]}),l&&t.jsx(se,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"settings",ariaLabel:n("nav.settings","\uC124\uC815"),onClick:l,selected:a==="settings"}),c&&t.jsx(se,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"message-circle-question-mark",ariaLabel:n("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:c,selected:a==="help"}),u&&t.jsx(se,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"user-round",ariaLabel:n("nav.account","\uACC4\uC815"),onClick:u,selected:a==="account"})]}):null}function li(e){const{t:n}=fe.useTranslation(),{item:a,itemKey:r,label:o,icon:i,active:l,onClick:c,style:u,state:d,labelStyle:h}=e||{},p=a?.key??r??"",m=a?.label??o??"",b=a?.icon??i??"",f=a?.badge??0,g=t.jsx("span",{className:"side-nav__icon-wrap",children:t.jsx(Ie,{icon:b,label:typeof m=="string"?m:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),C=d==="disabled",y=`side-nav__item ${l?"active":""} ${d||""} ${C?"disabled":""} ${a?.child?"side-nav__item--child":""}`,w=s.useCallback(_=>{if(C)return;const v=_.detail>0;if(v)try{_.currentTarget.blur()}catch{}c?.(p,_.currentTarget,v)},[C,p,c]);return t.jsxs("button",{type:"button",className:y,onClick:w,"aria-label":typeof m=="string"?ii(n,m,f):void 0,style:u,"aria-disabled":C,children:[g,t.jsx("span",{className:"side-nav__label button-1 f",style:h,children:m}),f>0&&t.jsx(ot,{type:"dot",position:"inline",number:Math.min(f,99),size:24,"aria-hidden":!0}),d==="loading"&&t.jsx("span",{className:"side-nav__spinner","aria-label":"loading"})]})}function ci(e){const{t:n}=fe.useTranslation(),{items:a=[],activeKey:r,onChange:o,unreadCount:i,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}=e||{},b=s.useCallback(()=>m?.(p==="malgwi"?"manager":"malgwi"),[m,p]);return t.jsxs("nav",{"aria-label":n("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[t.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,g)=>t.jsxs(s.Fragment,{children:[f.divider&&t.jsx("div",{className:"side-nav__separator"}),t.jsx(li,{item:f,active:f.key===r,state:f.disabled?"disabled":void 0,onClick:(C,y,w)=>{if(f.disabled)return;if(f.href){if(window.open(f.href,"_blank","noopener,noreferrer"),w)try{y?.blur()}catch{}return}o?.(f.key);try{const v=document.querySelector(".content-area");v?v.scrollTop=0:window.scrollTo({top:0})}catch{}if(!w)return;try{y?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const _=document.querySelector(".header");if(_&&!(typeof _.matches=="function"&&_.matches(":hover"))){_.classList.add("header--force-collapsed");const v=()=>{_.classList.remove("header--force-collapsed"),_.removeEventListener("mouseenter",v)};_.addEventListener("mouseenter",v)}}})]},f.key??`side-nav__item-${g}`)),m&&t.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),m&&t.jsx(li,{item:{key:"__mode-switch__",label:p==="malgwi"?n("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):n("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:p==="malgwi"?"arrow-right":"arrow-left"},onClick:b})]}),t.jsx(Z0,{activeKey:r,unreadCount:i,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:h})]})}var dr='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',pr='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',Y0='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';function ui({appMode:e}){const{t:n}=fe.useTranslation(),a=e==="manager",r=a?pr:dr,o=Y0,i=Kt("(min-width: 768px) and (max-width: 1023px)");return t.jsx("div",{className:"brand-identity__root","aria-label":n("header.biArea","BI \uC601\uC5ED"),children:i?t.jsx("img",{src:o,alt:n("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):t.jsx("img",{src:r,alt:a?n("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):n("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function di({activeKey:e,onChange:n,items:a,malgwiItems:r,managerItems:o,unreadCount:i,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}){const{t:b}=fe.useTranslation(),f=Kt("(max-width: 767px)"),g=s.useMemo(()=>(a??[]).filter(F=>!F.section&&(F.key||F.label)).map(F=>({key:F.key,label:typeof F.label=="string"?F.label:void 0,icon:F.icon,state:F.disabled?"disabled":void 0,badgeCount:F.badge})),[a]),C=s.useCallback(F=>{const R=a?.find(S=>S.key===F);if(!R?.disabled){if(R?.href){window.open(R.href,"_blank","noopener,noreferrer");return}n?.(F)}},[a,n]),y=s.useMemo(()=>{const F=[];return l&&F.push({key:"debug",icon:"terminal",label:b("nav.debug","\uB514\uBC84\uADF8"),onClick:l}),c&&F.push({key:"notifications",icon:"bell",label:b("nav.notifications","\uC54C\uB9BC"),badgeCount:i,onClick:c}),d&&F.push({key:"settings",icon:"settings",label:b("nav.settings","\uC124\uC815"),onClick:d}),h&&F.push({key:"help",icon:"message-circle-question-mark",label:b("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),u&&F.push({key:"account",icon:"user-round",label:b("nav.account","\uACC4\uC815"),onClick:u}),F},[b,l,c,d,h,u,i]),w=s.useCallback(F=>({position:"fixed",top:F.bottom+8,right:Math.max(8,window.innerWidth-F.right),zIndex:1e4}),[]),_=s.useId(),{open:v,toggle:A,close:x,style:k,triggerRef:T,menuRef:N}=ea({computeStyle:w,onScroll:"ignore",onResize:"ignore"}),D=s.useMemo(()=>[{items:y.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:F.selected??(!!F.key&&F.key===e),closeOnSelect:!0,onClick:()=>{F.onClick?.(),x()}}))}],[y,e,x]);return t.jsxs("aside",{className:`header${p==="manager"?" header--manager":""}`,children:[t.jsxs("div",{className:"header__bi",children:[t.jsx(ui,{appMode:p}),t.jsxs("div",{className:"header__menu-button",ref:T,children:[t.jsx(se,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:b("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:A,"aria-expanded":v,"aria-controls":v?_:void 0}),v&&It.createPortal(t.jsx("div",{id:_,role:"group","aria-label":b("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:k,ref:N,children:t.jsx(_a,{columns:D,onClose:x})}),document.body)]})]}),t.jsx(ci,{items:a,activeKey:e??void 0,onChange:n,unreadCount:i,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:h,appMode:p,onAppModeChange:m}),f&&t.jsx(si,{items:g,activeKey:e??void 0,onChange:C,appMode:p,onAppModeChange:m})]})}const X0=di;var J0={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"},Q0={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704"},e2={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},t2={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},n2={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},a2={selected:"\uC120\uD0DD\uB428"},r2={placeholder:"\uC120\uD0DD"},o2={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},s2={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"},i2={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C"},l2={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},c2={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},u2={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},d2={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},p2={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30"},h2={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},m2={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},f2={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},C2={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},g2={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},b2={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},y2={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},v2={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},x2={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},_2={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},w2={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"\uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78\uC744 \uB20C\uB7EC \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB9E4\uAE30\uC138\uC694.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"}},k2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},A2={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},N2={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},B2={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},D2={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},S2={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},j2={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C"},T2={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},E2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},M2={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},L2={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
827
+ `),this.name="StorageNotConfiguredError"}};function Nm(e){Am(e)}function Yo(e,n){if(!e)return null;const a=Gn();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Xo(e){if(!e)return null;const n=Gn();if(!n)throw new Zo("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Jo(e){const n=Gn();if(!n)throw new Zo("downloadSound");return n.download(e)}function Bm(){return Gn()?.noiseBaseUrl??"/sounds/noise"}function Qo(){const e=Number(Gn()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}const es="__ihab_core_tts_config__";function Ka(){return globalThis[es]?.urlResolver??null}function Dm(){return globalThis[es]?.fallbackUrlResolver??null}const Sm="__ihab_core_pronunciation_resolver__";function Tm(){return globalThis[Sm]??null}let un=null;const Kn=new WeakMap,Za=new WeakMap,Ya=new WeakMap;let ts=!1;const ns=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function jm(){if(ts||typeof document>"u")return;ts=!0;const e=()=>{try{un&&un.state!=="running"&&un.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function as(){if(un)return un;try{const e=window.AudioContext||window.webkitAudioContext;return e?(un=new e,jm(),un):null}catch{return null}}function Xa(){try{un?.resume()}catch{}}function Ja(e,n){const a=Kn.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),o=e.createGain(),s=e.createAnalyser();s.fftSize=1024,s.smoothingTimeConstant=.6,o.gain.value=ns(Za.get(n)??n.volume),r.connect(o),o.connect(s),o.connect(e.destination);try{n.volume=1}catch{}const l={gain:o,analyser:s};return Kn.set(n,l),l}catch{return null}}function ma(e){if(!e)return Promise.resolve(null);const n=Kn.get(e);if(n)return Promise.resolve(n.analyser);const a=as();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Ja(a,e)?.analyser??null);const r=Ya.get(e);if(r)return r;const o=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Ja(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Ya.delete(e)});return Ya.set(e,o),o}function Em(e){if(!e)return null;const n=Kn.get(e);if(n)return n.analyser;const a=as();return a?a.state==="running"?Ja(a,e)?.analyser??null:(ma(e),null):null}function dn(e,n){const a=ns(n);Za.set(e,a);const r=Kn.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const o=r.gain.gain;try{const s=r.gain.context.currentTime;o.cancelScheduledValues(s),o.setTargetAtTime(a,s,.01)}catch{try{o.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function fa(e){return Za.get(e)??e.volume}function Mm(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const o=n[r];a+=o*o}return Math.sqrt(a/n.length)}const Lm="__ihab_core_image_config__";function En(){return globalThis[Lm]??null}const rs="word_image_existence_map_v1";let _n=null;const Ca=new Map;function $m(){if(_n)return _n;try{const e=typeof localStorage<"u"?localStorage.getItem(rs):null;_n=e?JSON.parse(e):{}}catch{_n={}}return _n}let Qa=null;function Rm(){Qa||(Qa=setTimeout(()=>{Qa=null;try{typeof localStorage<"u"&&_n&&localStorage.setItem(rs,JSON.stringify(_n))}catch{}},200))}function Pm(e,n){return`${e}_${n??1}`}async function os(e,n){const a=$m(),r=Pm(e,n);if(r in a)return a[r];if(Ca.has(r))return Ca.get(r);const o=En();if(!o)return!1;const s=o(e,n);if(!s)return!1;const l=fetch(s,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(c=>c.ok).catch(()=>!1).then(c=>(a[r]=c,Rm(),Ca.delete(r),c));return Ca.set(r,l),l}const ss=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],is=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Im=["","\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 Zn(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function Fm(e){const n=Zn(e[0]||"");return n?ss[n.cho]:""}function Om(e,n){if(!n)return!0;const a=[...n],r=c=>ss.includes(c),o=c=>is.includes(c),s=a.map(c=>r(c)?"cho":o(c)?"jung":Zn(c)?"syl":"other");if(s.includes("other"))return e.toLowerCase().includes(n.toLowerCase());const l=[...e];for(let c=0;c+a.length<=l.length;c++){let u=!0;for(let d=0;d<a.length;d++){const p=l[c+d],h=s[d];if(h==="cho"){if(Fm(p)!==a[d]){u=!1;break}}else if(h==="jung"){const m=Zn(p);if(!m||is[m.jung]!==a[d]){u=!1;break}}else{const m=Zn(a[d]);if(m&&m.jong===0){const y=Zn(p);if(!y||y.cho!==m.cho||y.jung!==m.jung){u=!1;break}}else if(p!==a[d]){u=!1;break}}}if(u)return!0}return!1}const Hm={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(Hm).map(([e,n])=>[n.join(""),Im[Number(e)]]));const Vm="word_pair_index_v2",zm="word_pair_index_sig_v2";let ga=null;function Wm(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Vm),n=localStorage.getItem(zm);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function qm(){if(ga)return ga;const e=Wm();return e?(ga=e.index,e.sig,ga):null}const Um={\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"}},er=/[ㄱ-ㅎ]/,Gm=/[ㅏ-ㅣ]/;function ls(e){for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||er.test(a)||Gm.test(a))return a}return null}function Km(e){const n=ls(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":er.test(n)?"\uC774":"\uAC00"}function Zm(e){return`${e}${Km(e)}`}function Ym(e){const n=ls(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":er.test(n)?"\uC744":"\uB97C"}function Xm(e){return`${e}${Ym(e)}`}function Jm(e,n,a){const r=e.slice(),[o]=r.splice(n,1);return r.splice(a,0,o),r}function Yn(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const o=Math.floor(n()*(r+1));[a[r],a[o]]=[a[o],a[r]]}return a}const Qm=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof Pt?.t=="function"?Pt.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function cs(e,n){if(n===void 0&&(n=Qm()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const e0="__ihab_core_word_pool__";function t0(){return globalThis[e0]??null}const us=globalThis;function ds(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function n0(e){ds("time",()=>us.__ihabTrainingTimeLogger?.(e))}function a0(e){ds("completion",()=>us.__ihabTrainingCompletionLogger?.(e))}function zt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function r0(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function o0(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:zt(r.contextCode)??zt(r.itemId)??zt(r.itemCode)??zt(r.id),question:zt(r.question)??zt(r.sentence)??zt(r.word)??zt(r.targetSyllable),answer:zt(r.answer),selected:zt(r.selectedText)??zt(r.selected),correct:r0(r)}}):[]}const tr=globalThis;async function s0(){try{return await tr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ps(e){const n=a=>{};try{const a=tr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function ba(e){try{tr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function i0(e){if(typeof document<"u"){const n=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}function l0(){return nr(new Date)}function nr(e){if(e==null||e==="")return"";const n=e instanceof Date?e:new Date(e);return isNaN(n.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n)}function hs(e,n){if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const r=Math.max(0,Math.floor((Date.now()-a)/1e3)),o=Math.floor(r/60),s=Math.floor(o/60),l=Math.floor(s/24),c=Math.floor(l/7),u=Math.floor(l/30),d=Math.floor(l/365);return o<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):o<60?n("store.time.minutesAgo",{n:o}):s<24?n("store.time.hoursAgo",{n:s}):l<7?n("store.time.daysAgo",{n:l}):c<5?n("store.time.weeksAgo",{n:c}):l<365?n("store.time.monthsAgo",{n:Math.min(u,11)}):n("store.time.yearsAgo",{n:d})}function ms(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:o=!1,fallback:s="\u2014"}=n;if(!e)return s;const l=nr(e instanceof Date?e:String(e));if(!l)return s;const[c,u,d]=l.split("-"),p=r?u:String(Number(u)),h=r?d:String(Number(d));return`${c}${a}${p}${a}${h}${o?".":""}`}function Xn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function fs(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),o=Number(a[2]),s=a[1].padStart(2,"0");return o===0?n("date.timeH",{h:r,hh:s,mm:a[2]}):n("date.timeHM",{h:r,hh:s,m:o,mm:a[2]})}function ar(e){return(e??0).toLocaleString("ko-KR")}const c0=[{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"}]}],u0=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];function Cs(){return c0}function d0(){return u0}const p0=[],h0=[],m0=[],f0=[];function C0(){return{LISTEN_IN_NOISE:p0,SHORT_STORY:h0,LONG_STORY:m0,ORDERING_SENTENCE:f0}}const g0=[{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."}];let ya=null,gs=null,bs=null;function b0(){const e=t0();if(e&&e.entries.length>0){const n=qm();if(ya&&gs===e&&bs===n)return ya;const a=new Set,r=[];for(const o of e.entries)!o.word||a.has(o.word)||(a.add(o.word),r.push({w:o.word,s:o.syllables,p:n?.[o.word]?[...n[o.word].cho??[],...n[o.word].jung??[],...n[o.word].jong??[]]:[],pron:o.pronunciation||o.word,grade:o.grade}));return ya=r,gs=e,bs=n,ya}return[]}new Proxy([],{get(e,n){const a=b0(),r=a[n];return typeof r=="function"?r.bind(a):r}});const y0="0.134.0";function v0(e){return typeof window>"u"?"":xm.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function x0(e){const[n,a]=i.useState(null),[r,o]=i.useState(null),[s,l]=i.useState(null),[c,u]=i.useState(null);return i.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),o(null),l(null);return}const d=e.split("/").pop();let p=e;d&&(e.startsWith("/")?p=Ga(e):/^(Logo|Symbol)/i.test(d)?p=Ga(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),a(p)},[e]),i.useEffect(()=>{if(!n)return;let d=!1;async function p(){try{let h=await fetch(n);h.ok||(h=await fetch(n));const m=h.headers.get("content-type")||"";if(d)return;if(m.includes("svg")){o("mask");return}if(m.startsWith("image/")){o("img");return}const y=await fetch(n);if(!y.ok)throw new Error("not ok");const f=await y.text();if(d)return;if(/^\s*<svg[\s>]/i.test(f)){const g=v0(f);if(!g){o("none");return}l(g),o("inline");return}o("none")}catch{d||o("none")}}return p(),()=>{d=!0}},[n]),i.useEffect(()=>{let d=!1,p=null;return r==="mask"&&n&&fetch(n).then(h=>{if(!h.ok)throw new Error("fetch failed");return h.blob()}).then(h=>{d||(p=URL.createObjectURL(h),u(p))}).catch(()=>{d||o("img")}),()=>{d=!0,p&&URL.revokeObjectURL(p),u(null)}},[r,n]),{iconToUse:n,mode:r,svgText:s,blobUrl:c}}function Ie(e){const{icon:n,label:a,className:r,imgClassName:o,maskClassName:s,svgClassName:l,wrapperStyle:c,size:u}=e||{},d=r??"iconRenderer-icon",p=o??"iconRenderer-icon-image",h=s??"iconRenderer-icon-mask",m=l??"iconRenderer-icon-svg",y=typeof n=="string"?n:null,f=Oh(y),{iconToUse:g,mode:C,svgText:v,blobUrl:_}=x0(y),k=(N,j={})=>t.jsx("span",{className:d,style:c,...j,children:N}),b=(N,j={})=>t.jsx("img",{src:N,alt:typeof a=="string"?a:a?String(a):"",className:p,...j});if(!n)return null;if(typeof n!="string")return k(n);if(n==="none")return k(t.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 k(i.createElement(f,{className:m,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(g&&g.endsWith(".svg")){if(C==="mask"){const N={"--icon-url":_?`url(${_})`:`url(${g})`,...typeof u=="number"?{"--icon-size":`${u}px`}:null};return k(t.jsx("span",{className:h,style:N}),{"aria-hidden":"true"})}return C==="img"?k(b(g,{onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):C==="inline"?k(t.jsx("span",{className:m,dangerouslySetInnerHTML:v?{__html:v}:void 0}),{"aria-hidden":"true"}):k(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return b(Ga(n),{style:c,onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}});const w=typeof u=="number"?u:20,x=`<svg width="${w}" height="${w}" 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 k(t.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function _0({icon:e,emoji:n,title:a,message:r,hint:o,action:s,compact:l,className:c}){return t.jsxs("div",{className:_e("empty-state",l&&"empty-state--compact",c),children:[n&&t.jsx("span",{className:"empty-state__emoji",children:n}),e&&t.jsx(Ie,{icon:e,className:"empty-state__icon"}),a&&t.jsx("p",{className:"empty-state__title body-2",children:a}),r&&t.jsx("p",{className:"empty-state__message body-3",children:r}),o&&t.jsx("p",{className:"empty-state__hint caption-1",children:o}),s&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:s.onClick,children:[s.icon&&t.jsx(Ie,{icon:s.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s.label})]})]})}function w0({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:o,className:s}){const{t:l}=me.useTranslation();return t.jsxs("div",{className:_e("empty-state","error-state",s),role:"alert",children:[t.jsx(Ie,{icon:a,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"empty-state__hint caption-1",children:n}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:r,children:[t.jsx(Ie,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:o??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function k0({icon:e,title:n,description:a,cta:r,tone:o="main",disabled:s=!1,onClick:l,className:c=""}){const u=()=>{s||l?.()};return t.jsx("section",{role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,"aria-label":n,onClick:u,onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),u())},className:_e("action-card",`action-card--${o}`,s&&"action-card--disabled",c),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ie,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{className:"action-card__title",children:n}),t.jsx("p",{className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ie,{icon:"arrow-right",size:18})})]})]})})}function A0({as:e="div",className:n="",children:a,storage:r,...o}){r&&Nm({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl,noiseFileGain:r.noiseFileGain});const s=_e("ihabdevteam-core-scope",n);return t.jsx(e,{className:s,...o,children:a})}function N0({title:e="",lines:n=[],notices:a=null,children:r,variant:o="default",dismissible:s=!1,className:l=""}){const{t:c}=me.useTranslation(),[u,d]=i.useState(!1),p=i.useCallback(()=>d(!0),[]);if(u)return null;const h=`notice-box notice-box--${o} body-2 ${l}`.trim();if(a&&Array.isArray(a)&&a.length)return t.jsx("div",{className:h,role:"note",children:a.map((y,f)=>t.jsxs("div",{className:"notice-box__inner",children:[y.title?t.jsx("span",{className:"notice-box__title body-3",children:y.title}):null,t.jsx("div",{className:"notice-box__body",children:y.lines&&y.lines.length?t.jsx("div",{children:y.lines.map((g,C)=>t.jsx("span",{className:"notice-box__line body-3",children:g},C))}):y.children??null})]},f))});const m=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((y,f)=>t.jsx("li",{className:"notice-box__line",children:y},f))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{className:h,role:"note",children:[m,s&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:p,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}function rr(e,n=!0){i.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=o=>{if(o.key!=="Tab")return;const s=Array.from(a.querySelectorAll(Jn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!s.length){o.preventDefault();return}const l=s[0],c=s[s.length-1],u=document.activeElement,d=u===a;o.shiftKey&&(u===l||d)?(o.preventDefault(),c.focus()):!o.shiftKey&&u===c&&(o.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const Jn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Mn=[];let va=!1;function ys(e){if(e.key!=="Escape"||e.defaultPrevented)return;const n=Mn[Mn.length-1];n&&(e.stopPropagation(),n())}function wn(e){return Mn.push(e),!va&&typeof document<"u"&&(document.addEventListener("keydown",ys),va=!0),()=>{const n=Mn.lastIndexOf(e);n>=0&&Mn.splice(n,1),Mn.length===0&&va&&typeof document<"u"&&(document.removeEventListener("keydown",ys),va=!1)}}function pn(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:o=20,onClose:s,closeOnOutsideClick:l=!0,className:c="",role:u="dialog",ariaLabel:d="",children:p,backdrop:h=!1,isMobilePopup:m=!1,useBorder:y=!0,header:f}=e||{},g=i.useRef(null),[C,v]=i.useState({position:"fixed",left:0,top:-9999}),[_,k]=i.useState(!1),[b,w]=i.useState("bottom"),[x,N]=i.useState(!1),[j,A]=i.useState(!1),D=!n&&!a,F=i.useCallback((E=!1)=>{if(j&&m)return;const O=a?a.getBoundingClientRect():n;if(!O||!g.current)return;const Q=g.current,{offsetWidth:W,offsetHeight:M}=Q,T=window.innerWidth,$=window.innerHeight,R=T-O.right,G=O.left,I=O.top,U=$-O.bottom;let z=0,ie=0,ce="top";if(I>=M+r)ce="top",ie=O.top-r-M,z=O.left+O.width/2-W/2;else if(U>=M+r)ce="bottom",ie=O.bottom+r,z=O.left+O.width/2-W/2;else if(R>=W+r)ce="right",z=O.right+r,ie=O.top+O.height/2-M/2;else if(G>=W+r)ce="left",z=O.left-r-W,ie=O.top+O.height/2-M/2;else{const Z=Math.max(I,U,R,G);Z===I?(ce="top",ie=O.top-r-M,z=O.left+O.width/2-W/2):Z===U?(ce="bottom",ie=O.bottom+r,z=O.left+O.width/2-W/2):Z===R?(ce="right",z=O.right+r,ie=O.top+O.height/2-M/2):(ce="left",z=O.left-r-W,ie=O.top+O.height/2-M/2)}const be=Number(o)||8;z=Math.min(Math.max(z,be),T-W-be),ie=Math.min(Math.max(ie,be),$-M-be);const ve=Math.round(z),fe=Math.round(ie);E&&g.current?(g.current.style.left=`${ve}px`,g.current.style.top=`${fe}px`,g.current.dataset.placement=ce):(w(ce||b),v({position:"fixed",left:ve,top:fe}),N(!0))},[j,m,a,n,r,o,b]);i.useLayoutEffect(()=>{if(D)return;if(j&&m){v({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),N(!0);return}F();const E=requestAnimationFrame(()=>F());return()=>cancelAnimationFrame(E)},[n,a,r,p,o,D,j,m,F]),i.useEffect(()=>{if(D||j&&m||!g.current||typeof ResizeObserver>"u")return;const E=new ResizeObserver(()=>{n&&F()});return E.observe(g.current),()=>E.disconnect()},[n,p,o,D,j,m,F]),i.useEffect(()=>{if(D||j&&m)return;const E=()=>F(!0);return window.addEventListener("resize",E),document.addEventListener("scroll",E,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",E),document.removeEventListener("scroll",E,{capture:!0})}},[n,r,p,o,D,j,m,F]),i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const E=window.matchMedia("(max-width: 768px)"),O=()=>A(!!E.matches);O();try{E.addEventListener?E.addEventListener("change",O):E.addListener(O)}catch{try{E.addListener(O)}catch{}}return()=>{try{E.removeEventListener?E.removeEventListener("change",O):E.removeListener(O)}catch{}}},[]);const P=i.useRef(!1),S=i.useCallback((E=!1)=>{if(s&&!(_||P.current)){if(P.current=!0,E){k(!0);try{s&&s()}catch{}return}k(!0),setTimeout(()=>{s&&s()},200)}},[_,s,k]);i.useEffect(()=>{if(D)return;const E=W=>{const M=g.current;if(!M)return;const T=W.target;if(T&&!M.contains(T)){try{if(T.closest&&T.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},O=W=>{const M=g.current;if(!M)return;const T=W.target;if(T&&!M.contains(T)){try{if(T.closest&&T.closest("[data-tooltip-ignore]"))return}catch{}l&&S(!0)}},Q=W=>{if(W.key==="Tab"){const M=g.current;if(!M)return;const T=M.querySelectorAll(Jn);if(!T||T.length===0)return;const $=T[0],R=T[T.length-1],G=document.activeElement;W.shiftKey?G===$&&(W.preventDefault(),R.focus()):G===R&&(W.preventDefault(),$.focus())}};return document.addEventListener("pointerdown",E,!0),document.addEventListener("click",O,!0),document.addEventListener("keydown",Q),()=>{document.removeEventListener("pointerdown",E,!0),document.removeEventListener("click",O,!0),document.removeEventListener("keydown",Q)}},[s,l,S,D]);const V=i.useRef(S);i.useEffect(()=>{V.current=S});const L=!!s;i.useEffect(()=>{if(!(D||!L))return wn(()=>V.current())},[D,L]),i.useEffect(()=>{const E=()=>{S(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",E),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",E)}},[S]);const te=t.jsxs("div",{ref:g,className:`tooltip-content ${D?"tooltip-content--inline":""} ${y?"tooltip-content--bordered":""} ${_?"is-closing":""} ${c} ${j&&m?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:D?{}:{...C,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":b,"data-left":D?"":C.left,"data-top":D?"":C.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[f!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:f}),p]});if(D||typeof document>"u")return te;if(h||j&&m){const E=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&S(!0)}}),te]});return It.createPortal(E,document.body)}return It.createPortal(te,document.body)}function hn(e){const{anchorRect:n,text:a,offset:r=8,onClose:o,className:s="",ariaLabel:l}=e||{};return a?t.jsx(pn,{anchorRect:n,offset:r,onClose:o,closeOnOutsideClick:!1,className:`tooltip-info ${s}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function kn(e){const{t:n}=me.useTranslation(),{anchorRect:a,title:r,items:o,activeIndex:s=-1,showIndex:l=!0,onClose:c,offset:u=12,closeOnOutsideClick:d=!0}=e||{},p=(Array.isArray(o)?o:o?[o]:[]).map(h=>typeof h=="string"?{text:h}:h);return!p.length&&!r?null:t.jsx(pn,{anchorRect:a,offset:u,onClose:c,closeOnOutsideClick:d,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:p.map((h,m)=>t.jsxs("li",{className:`tooltip-description__item body-3${m===s?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[m+1,"."]}),h.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:h.color},"aria-hidden":"true"}),t.jsx("span",{children:h.text})]},m))})]})})}function oe(e){const{size:n=48,type:a,htmlType:r,href:o,target:s,rel:l,icon:c,rightIcon:u,label:d,count:p,subLabel:h,children:m,ariaLabel:y,variant:f="default",align:g="center",selected:C,toggleable:v=!1,disabled:_=!1,useLabel:k=!0,useBorder:b=!0,useBG:w=!0,useDisabledCovered:x=!1,useDisabledInvisible:N=!1,width:j,minWidth:A,onClick:D,onDisabledClick:F,showTooltipInfo:P=!1,tooltipInfoText:S=null,tooltipDescription:V=null,iconSize:L="medium",iconColor:te,shape:E="rounded",color:O,className:Q,...W}=e,M=typeof n=="string"&&isNaN(Number(n))?n.toLowerCase():String(Number(n)||48),T=M.match(/^\d+$/)?`button${M}`:`button-${M}`,$=Number(n),R=!isNaN($)&&$<40?"button-2":"button-1",G=d??m,I=_||!!W.disabled,U=I?x?"disabled-covered":N?"disabled-invisibled":"disabled":f,z=U?`button--variant-${U}`:"",ie=g?`button--align-${g}`:"",ce=E?`button--shape-${E}`:"",be=typeof te=="string"&&te.startsWith("--")?`var(${te})`:te,ve={...j?{width:typeof j=="number"?`${j}px`:j}:{},...A?{minWidth:typeof A=="number"?`${A}px`:A}:{},...b?{}:{"--button-border":I?"0":"1px solid transparent"},...be?{"--button-icon-color":be}:{},...O?{"--color-main":O}:{}},fe=k===!1?"":G,Z=Array.isArray(fe)?fe.length>0:!!fe,ue=!!u,J=a??(Z||c||ue?"bar":"dot"),ye=`${T}--${J}`,we=i.useRef(null),de=i.useRef(I),[X,ne]=i.useState(!!C),[Ae,se]=i.useState(!1),[Ne,Be]=i.useState(null),Oe=i.useCallback(()=>se(!1),[]);i.useEffect(()=>{typeof C=="boolean"&&ne(C)},[C]),i.useEffect(()=>{if(de.current&&!I&&we.current){const Te=we.current;Te.blur(),Te.style.pointerEvents="none";const Qe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{we.current&&(we.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Qe)}de.current=I},[I]);const He=typeof C=="boolean"?!!C:X,Me=v||typeof C=="boolean"?He?"true":"false":void 0,Ue=_e("button",T,ye,z,ie,ce,He?"is-selected":null,w?null:"button--no-bg",Q),Ee=`button__icon button__icon--${L}`,Ce=Array.isArray(h)?h:h!==void 0?[h]:[],Le=()=>{if(Array.isArray(fe))return fe.map((Qe,Pe)=>{const Ye=Ce[Pe];return t.jsxs("span",{className:`button__label-text${Ye!==void 0?" button__label-text--has-sub":""}`,children:[Qe,Ye!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Ye})]},Pe)});const Te=h!==void 0;return t.jsxs("span",{className:`button__label-text${Te?" button__label-text--has-sub":""}`,children:[fe,p!=null&&t.jsx("span",{className:"button__count",children:p}),Te&&t.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},Se=Te=>{I||(typeof W.onMouseLeave=="function"&&W.onMouseLeave(Te),typeof C!="boolean"&&ne(!1),Te.currentTarget.blur())},Fe=Te=>{if(I){F?.(Te);return}typeof C!="boolean"&&v&&ne(Qe=>!Qe),D?.(Te)},$e=i.useCallback(()=>{(P||V)&&(se(!0),Be(we.current?.getBoundingClientRect()??null))},[P,V]),Ve=i.useCallback(()=>{(P||V)&&(se(!1),Be(null))},[P,V]),Ke={...W};delete Ke.disabled,delete Ke.className,delete Ke.faded,delete Ke.useFaded,delete Ke.loading,delete Ke.onMouseLeave,delete Ke.onPointerEnter,delete Ke.onPointerLeave,delete Ke.onFocus,delete Ke.onBlur,I&&(Object.keys(Ke).forEach(Te=>{/^on[A-Z]/.test(Te)&&typeof Ke[Te]=="function"&&delete Ke[Te]}),Ke["aria-disabled"]="true");const st=(typeof P=="string"?P:null)??(typeof S=="string"?S:null)??(typeof y=="string"?y:null)??(typeof G=="string"?G:null)??void 0,qe=typeof y=="string"?y:typeof G=="string"?G:st,ze=(Te,Qe)=>t.jsx(Ie,{icon:Te,label:Qe??qe,className:Ee,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),ut=()=>J==="dot"?t.jsxs(t.Fragment,{children:[ze(c),Z&&t.jsx("span",{className:`button__label ${R}`,children:Le()})]}):g==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:ze(c)}),Z&&t.jsx("span",{className:`button__label ${R}`,children:Le()})]}),ue&&t.jsx("span",{className:"button__right",children:ze(u)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:ze(c,y??G)}),Z&&t.jsx("span",{className:`button__label ${R}`,children:Le()}),ue&&t.jsx("span",{className:"button__right",children:ze(u)})]}),nt=!!o&&!I;return t.jsxs(t.Fragment,{children:[t.jsx(nt?"a":"button",{...Ke,ref:we,...nt?{href:o,target:s,rel:l??(s==="_blank"?"noreferrer":void 0)}:{type:r,disabled:I&&!F},className:Ue,"aria-pressed":Me,"aria-label":qe,"aria-disabled":nt&&I?!0:void 0,style:ve,onClick:Fe,onMouseLeave:Se,onPointerEnter:Te=>{$e(),!I&&typeof W.onPointerEnter=="function"&&W.onPointerEnter(Te)},onPointerLeave:Te=>{Ve(),!I&&typeof W.onPointerLeave=="function"&&W.onPointerLeave(Te)},onFocus:Te=>{$e(),!I&&typeof W.onFocus=="function"&&W.onFocus(Te)},onBlur:Te=>{Se(Te),Ve(),!I&&typeof W.onBlur=="function"&&W.onBlur(Te)},children:ut()}),Ae&&V?t.jsx(kn,{anchorRect:Ne,title:V.title,items:V.items,onClose:Oe}):Ae&&st?t.jsx(hn,{anchorRect:Ne,text:st,onClose:Oe}):null]})}function rt(e,n,a){const r=i.useRef(null);return i.useLayoutEffect(()=>{const o=r.current?.parentElement??null;return n(o,e),()=>a(o)},[e,n,a]),r}const Qn={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},or=new WeakMap;function sr(e){if(e)return or.get(e)}function bt(e,n){e&&(e.style.setProperty(Qn.title,n.title),e.style.setProperty(Qn.description,n.description),or.set(e,n))}function yt(e){e&&(e.style.removeProperty(Qn.title),e.style.removeProperty(Qn.description),or.delete(e))}const vs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function xs(){const e=rt(vs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const _s={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function ws(){const e=rt(_s,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const ks={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function As(){const e=rt(ks,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const Ns={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Bs(){const e=rt(Ns,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const Ds={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Ss(){const e=rt(Ds,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const Ts={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function js(){const e=rt(Ts,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const Es={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function Ms(){const e=rt(Es,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const Ls={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function $s(){const e=rt(Ls,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Rs={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function Ps(){const e=rt(Rs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const Is={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Fs(){const e=rt(Is,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const Os={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function Hs(){const e=rt(Os,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:t.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const Vs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function zs(){const e=rt(Vs,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const Ws={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function qs(){const e=rt(Ws,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const Us={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Gs(){const e=rt(Us,bt,yt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const B0=[{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"}],Ks={main:xs,soft:ws,sub:As,deep:Bs,softSub:Ss,warm:js,dark:Ms,radial:$s,diagonal:Ps,dots:Fs,outline:Hs,success:zs,naver:qs,instagram:Gs};function Zs({storageKey:e="fontScale",baseFont:n=20,minScale:a=.8,maxScale:r=1.4,step:o=.1,lineHeightRatio:s=1.4}={}){const l=C=>Math.max(a,Math.min(r,Number(C))),[c,u]=i.useState(()=>{try{const C=localStorage.getItem(e),v=C?Number(C):1;return Number.isFinite(v)?l(v):l(1)}catch{return 1}});i.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const d=C=>{u(typeof C=="function"?v=>l(C(v)):l(C))},p=()=>d(C=>+(C+o).toFixed(6)),h=()=>d(C=>+(C-o).toFixed(6)),m=c<r-Number.EPSILON,y=c>a+Number.EPSILON,f=Math.round(n*c),g=Math.round(f*s);return{scale:c,setScale:d,increase:p,decrease:h,canIncrease:m,canDecrease:y,fontSize:f,lineHeight:g}}const Ys=i.createContext(null);function D0(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Kt(e){const n=i.useContext(Ys),a=s=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(s).matches,[r,o]=i.useState(a(e));return i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const s=window.matchMedia(e),l=u=>o(u.matches),c=s;return c.addEventListener?c.addEventListener("change",l):c.addListener&&c.addListener(l),o(s.matches),()=>{c.removeEventListener?c.removeEventListener("change",l):c.removeListener&&c.removeListener(l)}},[e]),n&&typeof n.mobile=="boolean"&&D0(e)?n.mobile:r}function ir(e){const n=i.useRef(e);return i.useEffect(()=>{n.current=e}),n}function Xs(e,n){const a=ir(n);i.useEffect(()=>{const r=()=>a.current();try{window.addEventListener(e,r)}catch{}return()=>{try{window.removeEventListener(e,r)}catch{}}},[e,a])}const lr=" \xB7 ",Js=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(lr)?e.split(lr).pop()??e:e})(),S0=i.createContext(!1),An=[];let Qs=null;function T0(e){const n=i.useContext(S0);i.useEffect(()=>{if(n||typeof e!="string"||!e)return;An.length===0&&(Qs=document.title);const a={text:Js?`${e}${lr}${Js}`:e};return An.push(a),document.title=a.text,()=>{const r=An.lastIndexOf(a);r>=0&&An.splice(r,1),document.title=An.length?An[An.length-1].text:Qs??document.title}},[e,n])}const ei=[{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 j0(e,n,a){const{t:r}=me.useTranslation(),[o,s]=i.useState(()=>{const f=a?.initialPageSize;return f&&ei.some(g=>g.value===f)?f:"25"}),[l,c]=i.useState(1),[u,d]=i.useState(n);u!==n&&(d(n),l!==1&&c(1));const p=i.useMemo(()=>ei.map(f=>({...f,label:r("visits.showN",{n:f.value})})),[r]),h=i.useCallback(f=>{s(f),c(1)},[]),m=Math.max(1,Math.ceil(e.length/Number(o))),y=Math.min(l,m);return{pageRows:i.useMemo(()=>e.slice((y-1)*Number(o),y*Number(o)),[e,y,o]),pageSizeProps:{options:p,value:o,onChange:h},paginationProps:{page:y,total:m,onChange:c},setPage:c}}function E0(){const[e,n]=i.useState(null),a=i.useCallback(o=>{n(s=>s?.key===o?{key:o,asc:!s.asc}:{key:o,asc:!0})},[]),r=i.useCallback((o,s)=>({label:o,sortDir:e?.key===s?e.asc?"asc":"desc":null,onClick:()=>a(s)}),[e,a]);return{\uC815\uB82C:e,\uCE78:r}}const Zt="\uC804\uCCB4";Object.fromEntries(Object.entries(Um).map(([e,{nucleus:n}])=>[e,n]));const M0={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},L0={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},$0={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function R0(e,n){if("place"in n)return M0[n.place](e);const a=L0[n.vowel](e);return n.glide?`${a} \xB7 ${$0[n.glide](e)}`:a}const P0=(e,{defaultValue:n})=>n,ti=(e,n)=>({jamos:e,phonetic:n,tooltip:R0(P0,n)}),an=(e,n)=>n.map(a=>ti([a],{place:e})),mt=(e,n,a)=>ti([...e],a?{vowel:n,glide:a}:{vowel:n}),cr={cho:[an("labial",["\u3142","\u3143","\u314D","\u3141"]),an("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),an("alveolar",["\u3145","\u3146"]),an("palatal",["\u3148","\u3149","\u314A"]),an("velar",["\u3131","\u3132","\u314B"]),an("glottal",["\u314E"])],jung:[[mt("\u3163","frontHigh"),mt("\u315F","frontHigh","w"),mt("\u3162","frontHigh","velar")],[mt("\u3161","backHighUnrounded")],[mt("\u315C","backHighRounded"),mt("\u3160","backHighRounded","j")],[mt("\u3154\u3150","frontMid"),mt("\u3156\u3152","frontMid","j"),mt("\u3159\u315A\u315E","frontMid","w")],[mt("\u3153","backMidUnrounded"),mt("\u3155","backMidUnrounded","j"),mt("\u315D","backMidUnrounded","w")],[mt("\u3157","backMidRounded"),mt("\u315B","backMidRounded","j")],[mt("\u314F","low"),mt("\u3151","low","j"),mt("\u3158","low","w")]],jong:[an("labial",["\u3142","\u3141"]),an("alveolar",["\u3137","\u3134","\u3139"]),an("velar",["\u3131","\u3147"])]},I0=e=>e===F0?[]:Array.from(e),F0="__NO_CODA__",ur=e=>e.map(n=>n.map(({jamos:a,phonetic:r,tooltip:o})=>({v:a.join(""),phonetic:r,tooltip:o}))),ni={cho:ur(cr.cho),jung:ur(cr.jung),jong:ur(cr.jong)};ni.jung.flat().forEach(({v:e})=>{for(const n of I0(e));}),new Set(ni.cho.flat().map(e=>e.v));function O0(e,n=!0){const a=ir(e);i.useEffect(()=>{if(n)return wn(()=>{a.current?.()})},[n,a])}function xa(){const[e,n]=i.useState(null),a=i.useCallback(s=>n(s.getBoundingClientRect()),[]),r=i.useCallback(()=>n(null),[]),o=i.useCallback(s=>{const l=s.getBoundingClientRect();n(c=>c?null:l)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:r,toggleAt:o}}function ai(e="warning"){const[n,a]=i.useState(""),[r,o]=i.useState(e),[s,l]=i.useState(0),c=i.useCallback((h,m)=>{o(m),a(h),l(y=>y+1)},[]),u=i.useCallback(h=>c(h,"warning"),[c]),d=i.useCallback(h=>c(h,"normal"),[c]),p=i.useCallback(()=>a(""),[]);return{toastMessage:n,toastType:r,toastKey:s,showToast:c,showWarning:u,showNormal:d,clearToast:p}}function ea({computeStyle:e,onScroll:n="close",onResize:a="close",ignoreOutsideClickSelector:r}){const[o,s]=i.useState(!1),[l,c]=i.useState({}),u=i.useRef(null),d=i.useRef(null),p=i.useCallback(()=>{u.current&&c(e(u.current.getBoundingClientRect()))},[e]);i.useEffect(()=>{if(!o)return;p();const y=C=>{const v=C.target;r&&v.closest?.(r)||u.current?.contains(v)||d.current?.contains(v)||s(!1)};document.addEventListener("mousedown",y);const f=C=>{d.current?.contains(C.target)||(n==="reposition"?p():n==="close"&&s(!1))};n!=="ignore"&&window.addEventListener("scroll",f,!0);const g=()=>{a==="reposition"?p():a==="close"&&s(!1)};return a!=="ignore"&&window.addEventListener("resize",g),()=>{document.removeEventListener("mousedown",y),n!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",g)}},[o,p,n,a,r]),i.useEffect(()=>{if(o)return wn(()=>s(!1))},[o]);const h=i.useCallback(()=>s(y=>!y),[]),m=i.useCallback(()=>s(!1),[]);return{open:o,setOpen:s,toggle:h,close:m,style:l,triggerRef:u,menuRef:d}}function H0(e,{mode:n="playback",autoStart:a=!1,onPlaySpeaker:r,onComplete:o,playMs:s=1100,feedbackMs:l=1500}={}){const[c,u]=i.useState([]),[d,p]=i.useState(0),[h,m]=i.useState("idle"),[y,f]=i.useState(null),[g,C]=i.useState([]),[v,_]=i.useState(null),[k,b]=i.useState(0),w=i.useRef(0),x=i.useCallback(W=>{w.current=typeof W=="function"?W(w.current):W,b(w.current)},[]),N=i.useRef(r),j=i.useRef(o);i.useEffect(()=>{N.current=r,j.current=o},[r,o]);const A=i.useRef([]),D=()=>{A.current.forEach(clearTimeout),A.current=[]},F=(W,M)=>{A.current.push(setTimeout(M,W))};i.useEffect(()=>()=>D(),[]);const P=c[d]?.id??null,S=i.useCallback(()=>{D(),m("playing"),C([]),_(null),x(0);let W=0;e.forEach((M,T)=>{F(W,()=>{p(T),f(M.id),N.current?.(M)}),F(W+1e3,()=>{f(null),C($=>[...$,M.id])}),W+=1300}),F(W,()=>{m("done"),j.current?.({score:0,total:e.length})})},[e,x]),V=i.useCallback((W,M)=>{if(M>=W.length){m("done"),j.current?.({score:w.current,total:W.length});return}p(M),_(null),m("playing"),f(W[M].id),N.current?.(W[M]),F(s,()=>{f(null),m("waiting")})},[s]),L=i.useCallback(()=>{D();const W=Yn(e);u(W),x(0),C([]),V(W,0)},[e,V,x]),te=i.useCallback(()=>{n==="playback"?(u(e),S()):L()},[n,e,S,L]),E=i.useCallback(()=>{D(),m("idle"),f(null),C([]),_(null),p(0),x(0),u([])},[x]);i.useEffect(()=>{a?te():E()},[n,e.length,a]);const O=i.useCallback(W=>{h!=="waiting"||n==="playback"||(_(W),W===c[d]?.id&&x(M=>M+1),n==="exam"?(m("playing"),F(400,()=>V(c,d+1))):(m("feedback"),F(l,()=>V(c,d+1))))},[h,n,c,d,V,l,x]),Q=n==="playback"?e.length:c.length;return{bind:{activeSpeakerId:y,playedIds:g,selectedId:v,answerId:P,showFeedback:h==="feedback",clickable:h==="waiting",onSelectSpeaker:O},index:d,total:Q,score:k,phase:h,done:h==="done",start:te,reset:E}}function V0({title:e,description:n,actionLabel:a,onAction:r,bg:o,color:s,size:l="medium",actionVariant:c,titleColor:u,descriptionColor:d,className:p=""}){const h=o??s??"main",m=i.useRef(null),[y,f]=i.useState("main"),g=Kt("(max-width: 767px)"),C=i.useRef({title:!1,description:!1});i.useLayoutEffect(()=>{const k=m.current;if(!k)return;const b=sr(k),w=(x,N,j)=>{if(j!==void 0)k.style.setProperty(N,j),C.current[x]=!0;else if(C.current[x]){const A=b?.[x];A?k.style.setProperty(N,A):k.style.removeProperty(N),C.current[x]=!1}};w("title","--promo-banner-bg-title",u),w("description","--promo-banner-bg-description",d)},[u,d,h]),i.useLayoutEffect(()=>{const k=m.current;if(!k)return;const b=sr(k);f(b?.actionVariant??"main")},[h]);const v=_e("promo-banner",`promo-banner--${l}`,p),_=Ks[h];return t.jsxs("div",{ref:m,className:v,role:"note",children:[t.jsx(_,{}),t.jsxs("div",{className:"promo-banner__text",children:[t.jsx("span",{className:`promo-banner__title ${l==="small"?"body-2":"h2"}`,children:e}),n&&t.jsx("span",{className:"promo-banner__description body-3",children:n})]}),a&&r&&t.jsx(oe,{htmlType:"button",size:40,variant:c??y,shape:"pill",useBorder:!0,onClick:r,ariaLabel:a,...g?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}function z0({children:e,interval:n=5e3,dotTone:a,className:r="","aria-label":o}){const{t:s}=me.useTranslation(),l=o??s("topBanner.ariaLabel","\uBC30\uB108"),c=i.Children.toArray(e),u=c.length,[d,p]=i.useState(0),[h,m]=i.useState(!1),y=u>0?d%u:0;return i.useEffect(()=>{if(u<2||n<=0||h)return;const f=window.setInterval(()=>p(g=>(g+1)%u),n);return()=>window.clearInterval(f)},[u,n,h]),u===0?null:t.jsxs("section",{className:_e("top-banner",r),"aria-label":l,"aria-roledescription":"carousel",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>m(!0),onBlur:()=>m(!1),children:[t.jsx("div",{className:"top-banner__viewport",children:t.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${y*100}%)`},children:c.map((f,g)=>t.jsx("div",{className:"top-banner__slide","aria-hidden":g!==y,...g!==y?{inert:!0}:{},children:f},g))})}),u>1&&t.jsx("div",{className:`top-banner__dots${(a?.[y]??"light")==="dark"?" top-banner__dots--dark":""}`,children:c.map((f,g)=>t.jsx("button",{type:"button",className:`top-banner__dot${g===y?" top-banner__dot--active":""}`,"aria-label":s("topBanner.dotAriaLabel",{count:u,index:g+1,defaultValue:`${u}\uAC1C \uC911 ${g+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":g===y,onClick:()=>p(g)},g))})]})}function W0({title:e,body:n,open:a=!1,onToggle:r,avatar:o,titleClassName:s="body-2",bodyClassName:l="body-2",className:c=""}){const{t:u}=me.useTranslation();return t.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${c}`.trim(),role:"listitem",children:[t.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:r,onKeyDown:d=>{if(d.key==="Enter"||d.key===" ")d.preventDefault(),r?.();else if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault();const p=d.currentTarget.closest('[role="list"]');if(!p)return;const h=Array.from(p.querySelectorAll("[data-accordion-header]")),m=h.indexOf(d.currentTarget);(d.key==="ArrowDown"?h[m+1]:h[m-1])?.focus()}},children:[o&&t.jsx("div",{className:"accordion-item__avatar",children:o}),t.jsx("div",{className:`accordion-item__title ${s}`,children:e}),t.jsx("div",{className:"accordion-item__chevron",children:t.jsx(Ie,{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&&t.jsx("div",{className:`accordion-item__body ${l}`,children:typeof n=="string"?t.jsx("p",{children:n}):n})]})}function q0({items:e=[],defaultOpenIndex:n=0,size:a=72,className:r="",bodyClassName:o}){const[s,l]=i.useState(n);return t.jsx("div",{className:`accordion-group accordion-group--s${a} ${r}`.trim(),role:"list",children:e.map((c,u)=>t.jsx(W0,{title:c.title,body:c.body,avatar:c.avatar,open:u===s,onToggle:()=>l(u===s?-1:u),bodyClassName:o},u))})}function U0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("polyline",{points:"2,6 5,9 10,3"})})}function G0(){return t.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[t.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),t.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function K0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:t.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function ot(e){const{t:n}=me.useTranslation(),{type:a="bar",size:r,className:o="","aria-label":s,"aria-hidden":l}=e;if(a==="dot"){const{icon:w,number:x,position:N="top-right",onClick:j,animate:A=!1}=e,D=w??"check",F=x!==void 0?"number":D,P=typeof r=="number"?r:32,S=_e("circle-badge",`circle-badge--${F}`,`circle-badge--${N}`,`circle-badge--${P}`,A?"circle-badge--animate":"",j?"circle-badge--clickable":"",o),V=x!==void 0?n("badge.nthSelected",{n:x,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:n("badge.selected","\uC120\uD0DD\uB428"),remove:n("badge.remove","\uC81C\uAC70"),minus:n("badge.exclude","\uC81C\uC678")}[D];return t.jsxs("span",{className:S,onClick:j,onKeyDown:j?L=>{L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),L.currentTarget.click())}:void 0,"aria-label":l?void 0:s??V,"aria-hidden":l||void 0,role:j?"button":void 0,tabIndex:j?0:void 0,children:[x!==void 0&&x,x===void 0&&D==="check"&&t.jsx(U0,{}),x===void 0&&D==="remove"&&t.jsx(G0,{}),x===void 0&&D==="minus"&&t.jsx(K0,{})]})}const{label:c,children:u,variant:d="default",fill:p="filled",minWidth:h,iconLeft:m,iconRight:y,color:f}=e,g=typeof r=="number"?"medium":r??"medium",C={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",v={small:12,medium:14,large:16}[g]??14,_=_e("badge",`badge--${d}`,`badge--${g}`,p!=="filled"?`badge--${p}`:"",C,o),k=f?.startsWith("--")?`var(${f})`:f,b=h!==void 0||k?{...h!==void 0?{minWidth:typeof h=="number"?`${h}px`:h}:{},...k?{"--badge-color":k}:{}}:void 0;return t.jsxs("span",{className:_,style:b,"aria-label":l?void 0:s,role:s&&!l?"img":void 0,"aria-hidden":l||void 0,children:[m&&t.jsx(Ie,{icon:m,size:v,className:"badge__icon"}),c??u,y&&t.jsx(Ie,{icon:y,size:v,className:"badge__icon"})]})}function _a({columns:e=[],onClose:n,className:a="",size:r="medium"}){const{t:o}=me.useTranslation(),s=r==="small"?40:48,[l,c]=i.useState([{title:null,columns:e}]),u=l[l.length-1];i.useEffect(()=>{c(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:e}];const g=f.slice(),C=g[0]&&typeof g[0].title<"u"?g[0].title:null;return g[0]={title:C,columns:e},g}catch{return[{title:null,columns:e}]}})},[e]);const d=i.useCallback(()=>c(f=>f.length>1?f.slice(0,f.length-1):f),[]),p=i.useRef(null),h=i.useRef(null),m=l.length;i.useEffect(()=>{h.current||(h.current=document.activeElement);let f=0,g=0;const C=()=>{const v=p.current?.querySelector("button:not([disabled])");if(v&&v.offsetParent){v.focus({preventScroll:!0});return}g++<20&&(f=requestAnimationFrame(C))};return f=requestAnimationFrame(C),()=>cancelAnimationFrame(f)},[m]),i.useEffect(()=>()=>{h.current?.focus?.({preventScroll:!0})},[]);const y=i.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){c(g=>[...g,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof n=="function"&&n()}catch{}}},[n]);return t.jsxs("div",{className:`tooltip-menu tooltip-menu--${r} ${a}`,children:[(l.length>1||u.title)&&t.jsxs("div",{className:"tooltip-menu__header",children:[l.length>1?t.jsx(oe,{htmlType:"button",size:s,type:"dot",icon:"chevron-left",ariaLabel:o("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,t.jsx("div",{className:"tooltip-menu__title button-1",children:u.title})]}),t.jsx("div",{className:"tooltip-menu__columns",ref:p,children:u.columns&&u.columns.map((f,g)=>t.jsxs("div",{className:"tooltip-menu__column",children:[f.title?t.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,t.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((C,v)=>t.jsx(oe,{htmlType:"button",className:"tooltip-menu__item",size:s,type:C.label?"bar":"dot",icon:C.selected?"check":C.icon||"none",rightIcon:Array.isArray(C.children)&&C.children.length?"chevron-right":C.badgeCount?t.jsx(ot,{type:"dot",position:"inline",number:Math.min(C.badgeCount,99),size:24,"aria-hidden":!0}):void 0,label:C.label,ariaLabel:C.label&&C.badgeCount&&C.badgeCount>0?o("nav.badgeLabel",{label:C.label,count:C.badgeCount,defaultValue:"{{label}}, {{count}}\uAC1C"}):C.label,onClick:()=>y(C),selected:C.selected,disabled:C.disabled,showTooltipInfo:C.tooltip||!1,useBorder:!1,align:"left"},v))})]},g))})]})}const Z0=52,ri=10,oi=e=>e&&e>0?e:0;function si({items:e=[],activeKey:n,onChange:a,appMode:r,onAppModeChange:o,moreItems:s=[]}){const{t:l}=me.useTranslation(),c=r==="manager"?"malgwi":"manager",u=r==="manager"?"arrow-left":"arrow-right",d=r==="manager"?l("nav.modeLabelMalgwi","\uB9D0\uADC0"):l("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),p=i.useRef(null),[h,m]=i.useState(0),y=e.length;i.useEffect(()=>{const E=p.current;if(!E||(m(E.clientWidth),typeof ResizeObserver>"u"))return;const O=new ResizeObserver(Q=>m(Q[0].contentRect.width));return O.observe(E),()=>O.disconnect()},[]);const f=h>0?Math.floor((h+ri)/(Z0+ri)):y,g=h>0&&f<y,C=g?f:y,v=e.slice(0,C),_=e.slice(C),k=g||s.length>0,b=i.useCallback(E=>({position:"fixed",bottom:window.innerHeight-E.top+8,right:window.innerWidth-E.right,zIndex:1e4}),[]),w=i.useId(),{open:x,toggle:N,close:j,style:A,triggerRef:D,menuRef:F}=ea({computeStyle:b,onScroll:"ignore",onResize:"ignore"}),P=i.useCallback((E,O)=>O>0?l("nav.badgeLabel",{label:E,count:O,defaultValue:"{{label}}, {{count}}\uAC1C"}):E,[l]),S=i.useCallback(()=>o?.(c),[o,c]),V=i.useMemo(()=>_.find(E=>E.key===n)??s.find(E=>E.selected||E.key&&E.key===n),[_,n,s]),L=i.useMemo(()=>[{items:[..._.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.key===n,closeOnSelect:!0,onClick:()=>{E.key&&a&&a(E.key),j()}})),...s.map(E=>({label:E.label,icon:E.icon,badgeCount:E.badgeCount,selected:E.selected??(!!E.key&&E.key===n),closeOnSelect:!0,onClick:()=>{E.onClick?.(),j()}}))]}],[_,s,n,a,j]),te=[..._,...s].reduce((E,O)=>E+oi(O.badgeCount),0);return t.jsxs("nav",{className:"bottom-nav","aria-label":l("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[o&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__left",children:t.jsx(oe,{htmlType:"button",size:52,type:"dot",icon:u,ariaLabel:d,className:"bottom-nav-item",onClick:S})}),t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),t.jsx("div",{className:"bottom-nav__items",ref:p,children:v.map(E=>{const O=oi(E.badgeCount);return t.jsxs("span",{className:"bottom-nav__slot",children:[t.jsx(oe,{htmlType:"button",size:52,type:"dot",icon:E.icon,ariaLabel:P(E.label,O),selected:E.key===n,disabled:E.state==="disabled",className:"bottom-nav-item",onClick:()=>E.key&&a?.(E.key)}),O>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(ot,{type:"dot",position:"top-right",number:Math.min(O,99),size:24})})]},E.key)})}),k&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),t.jsx("div",{className:"bottom-nav__right",children:t.jsxs("div",{ref:D,className:"bottom-nav__slot",children:[t.jsx(oe,{htmlType:"button",size:52,type:"dot",icon:V?.icon??"ellipsis",ariaLabel:P(V?.label??l("nav.more","\uB354\uBCF4\uAE30"),te),selected:!!V,className:"bottom-nav-item",onClick:N,"aria-expanded":x,"aria-controls":x?w:void 0}),te>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(ot,{type:"dot",position:"top-right",number:Math.min(te,99),size:24})}),x&&It.createPortal(t.jsx("div",{id:w,role:"group","aria-label":l("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:A,ref:F,children:t.jsx(_a,{columns:L,onClose:j})}),document.body)]})})]})]})}function ii(e,n,a){return a&&a>0?e("nav.badgeLabel",{label:n,count:a,defaultValue:"{{label}}, {{count}}\uAC1C"}):n}function Y0(e){const{t:n}=me.useTranslation(),{activeKey:a,unreadCount:r,onDebug:o,onNotification:s,onSetting:l,onHelp:c,onAccount:u}=e||{},d="default";return o||s||l||c||u?t.jsxs("div",{className:"side-nav__footer",children:[o&&t.jsx(oe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"terminal",ariaLabel:n("nav.debug","\uB514\uBC84\uADF8"),onClick:o,selected:a==="debug"}),s&&t.jsxs("span",{className:"side-nav__notification-wrap",children:[t.jsx(oe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"bell",ariaLabel:ii(n,n("nav.notifications","\uC54C\uB9BC"),r),onClick:s,selected:a==="notifications"}),!!r&&r>0&&t.jsx(ot,{type:"dot",number:Math.min(r,99),size:24,"aria-hidden":!0})]}),l&&t.jsx(oe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"settings",ariaLabel:n("nav.settings","\uC124\uC815"),onClick:l,selected:a==="settings"}),c&&t.jsx(oe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"message-circle-question-mark",ariaLabel:n("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:c,selected:a==="help"}),u&&t.jsx(oe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:d,icon:"user-round",ariaLabel:n("nav.account","\uACC4\uC815"),onClick:u,selected:a==="account"})]}):null}function li(e){const{t:n}=me.useTranslation(),{item:a,itemKey:r,label:o,icon:s,active:l,onClick:c,style:u,state:d,labelStyle:p}=e||{},h=a?.key??r??"",m=a?.label??o??"",y=a?.icon??s??"",f=a?.badge??0,g=t.jsx("span",{className:"side-nav__icon-wrap",children:t.jsx(Ie,{icon:y,label:typeof m=="string"?m:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),C=d==="disabled",v=`side-nav__item ${l?"active":""} ${d||""} ${C?"disabled":""} ${a?.child?"side-nav__item--child":""}`,_=i.useCallback(k=>{if(C)return;const b=k.detail>0;if(b)try{k.currentTarget.blur()}catch{}c?.(h,k.currentTarget,b)},[C,h,c]);return t.jsxs("button",{type:"button",className:v,onClick:_,"aria-label":typeof m=="string"?ii(n,m,f):void 0,style:u,"aria-disabled":C,children:[g,t.jsx("span",{className:"side-nav__label button-1 f",style:p,children:m}),f>0&&t.jsx(ot,{type:"dot",position:"inline",number:Math.min(f,99),size:24,"aria-hidden":!0}),d==="loading"&&t.jsx("span",{className:"side-nav__spinner",role:"img","aria-label":n("loader.loading","\uBD88\uB7EC\uC624\uB294 \uC911\u2026")})]})}function ci(e){const{t:n}=me.useTranslation(),{items:a=[],activeKey:r,onChange:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:p,appMode:h,onAppModeChange:m}=e||{},y=i.useCallback(()=>m?.(h==="malgwi"?"manager":"malgwi"),[m,h]);return t.jsxs("nav",{"aria-label":n("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[t.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,g)=>t.jsxs(i.Fragment,{children:[f.divider&&t.jsx("div",{className:"side-nav__separator"}),t.jsx(li,{item:f,active:f.key===r,state:f.disabled?"disabled":void 0,onClick:(C,v,_)=>{if(f.disabled)return;if(f.href){if(window.open(f.href,"_blank","noopener,noreferrer"),_)try{v?.blur()}catch{}return}o?.(f.key);try{const b=document.querySelector(".content-area");b?b.scrollTop=0:window.scrollTo({top:0})}catch{}if(!_)return;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 k=document.querySelector(".header");if(k&&!(typeof k.matches=="function"&&k.matches(":hover"))){k.classList.add("header--force-collapsed");const b=()=>{k.classList.remove("header--force-collapsed"),k.removeEventListener("mouseenter",b)};k.addEventListener("mouseenter",b)}}})]},f.key??`side-nav__item-${g}`)),m&&t.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),m&&t.jsx(li,{item:{key:"__mode-switch__",label:h==="malgwi"?n("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):n("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:h==="malgwi"?"arrow-right":"arrow-left"},onClick:y})]}),t.jsx(Y0,{activeKey:r,unreadCount:s,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:p})]})}var dr='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',pr='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',X0='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';function ui({appMode:e}){const{t:n}=me.useTranslation(),a=e==="manager",r=a?pr:dr,o=X0,s=Kt("(min-width: 768px) and (max-width: 1023px)");return t.jsx("div",{className:"brand-identity__root","aria-label":n("header.biArea","BI \uC601\uC5ED"),children:s?t.jsx("img",{src:o,alt:n("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):t.jsx("img",{src:r,alt:a?n("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):n("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function di({activeKey:e,onChange:n,items:a,malgwiItems:r,managerItems:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:p,appMode:h,onAppModeChange:m}){const{t:y}=me.useTranslation(),f=Kt("(max-width: 767px)"),g=i.useMemo(()=>(a??[]).filter(F=>!F.section&&(F.key||F.label)).map(F=>({key:F.key,label:typeof F.label=="string"?F.label:void 0,icon:F.icon,state:F.disabled?"disabled":void 0,badgeCount:F.badge})),[a]),C=i.useCallback(F=>{const P=a?.find(S=>S.key===F);if(!P?.disabled){if(P?.href){window.open(P.href,"_blank","noopener,noreferrer");return}n?.(F)}},[a,n]),v=i.useMemo(()=>{const F=[];return l&&F.push({key:"debug",icon:"terminal",label:y("nav.debug","\uB514\uBC84\uADF8"),onClick:l}),c&&F.push({key:"notifications",icon:"bell",label:y("nav.notifications","\uC54C\uB9BC"),badgeCount:s,onClick:c}),d&&F.push({key:"settings",icon:"settings",label:y("nav.settings","\uC124\uC815"),onClick:d}),p&&F.push({key:"help",icon:"message-circle-question-mark",label:y("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:p}),u&&F.push({key:"account",icon:"user-round",label:y("nav.account","\uACC4\uC815"),onClick:u}),F},[y,l,c,d,p,u,s]),_=i.useCallback(F=>({position:"fixed",top:F.bottom+8,right:Math.max(8,window.innerWidth-F.right),zIndex:1e4}),[]),k=i.useId(),{open:b,toggle:w,close:x,style:N,triggerRef:j,menuRef:A}=ea({computeStyle:_,onScroll:"ignore",onResize:"ignore"}),D=i.useMemo(()=>[{items:v.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:F.selected??(!!F.key&&F.key===e),closeOnSelect:!0,onClick:()=>{F.onClick?.(),x()}}))}],[v,e,x]);return t.jsxs("aside",{className:`header${h==="manager"?" header--manager":""}`,children:[t.jsxs("div",{className:"header__bi",children:[t.jsx(ui,{appMode:h}),t.jsxs("div",{className:"header__menu-button",ref:j,children:[t.jsx(oe,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:c&&s&&s>0?y("nav.badgeLabel",{label:y("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),count:s,defaultValue:"{{label}}, {{count}}\uAC1C"}):y("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:w,"aria-expanded":b,"aria-controls":b?k:void 0}),!!c&&!!s&&s>0&&t.jsx(ot,{type:"dot",number:Math.min(s,99),size:24,"aria-hidden":!0}),b&&It.createPortal(t.jsx("div",{id:k,role:"group","aria-label":y("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:N,ref:A,children:t.jsx(_a,{columns:D,onClose:x})}),document.body)]})]}),t.jsx(ci,{items:a,activeKey:e??void 0,onChange:n,unreadCount:s,onDebug:l,onNotification:c,onAccount:u,onSetting:d,onHelp:p,appMode:h,onAppModeChange:m}),f&&t.jsx(si,{items:g,activeKey:e??void 0,onChange:C,appMode:h,onAppModeChange:m})]})}const J0=di;var Q0={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"},e2={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704"},t2={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},n2={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},a2={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},r2={selected:"\uC120\uD0DD\uB428"},o2={placeholder:"\uC120\uD0DD"},s2={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},i2={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"},l2={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C"},c2={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},u2={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},d2={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},p2={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},h2={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30"},m2={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},f2={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},C2={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},g2={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},b2={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},y2={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},v2={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},x2={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},_2={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},w2={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},k2={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"\uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78\uC744 \uB20C\uB7EC \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB9E4\uAE30\uC138\uC694.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"}},A2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},N2={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},B2={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},D2={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},S2={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},T2={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},j2={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C"},E2={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},M2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},L2={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},$2={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
828
828
  \uC2E0\uB8B0\uB97C \uC313\uACE0
829
- \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638"},$2={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},R2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},P2={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},I2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},F2={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},O2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},H2={ariaLabel:"\uC120\uD0DD \uD0ED"},V2={ariaLabel:"\uD0ED"},z2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},W2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},q2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},U2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},G2={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},K2={manage:{unit:"\uAC74"}},Z2={cancelLabel:"\uCDE8\uC18C"},Y2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},X2={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},J2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},Q2={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},ef={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},tf={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},nf={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},af={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},rf={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},of={clearSelection:"\uC120\uD0DD \uD574\uC81C"},sf={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},lf={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},cf={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},uf={common:J0,calendar:Q0,passCard:e2,searchField:t2,rating:n2,colorPicker:a2,dropdown:r2,accordion:o2,header:s2,nav:i2,settings:l2,usage:c2,account:u2,help:d2,training:p2,trainingSettings:h2,customers:m2,payment:f2,coupons:C2,visits:g2,company:b2,trainingType:y2,myWordTraining:v2,myWordTable:x2,keyWords:_2,wordTable:w2,wordSearch:k2,wordPrint:A2,topic:N2,accessLinkManager:B2,login:D2,trainingPlanRun:S2,device:j2,manager:T2,wordPairs:E2,game:M2,footer:L2,landing:$2,date:R2,trainingSetPage:P2,wordTrainingPreview:I2,wordData:F2,textField:O2,segmentedControl:H2,tabs:V2,fileUpload:z2,avatar:W2,myHomework:q2,trainingStatus:U2,store:G2,homework:K2,inquiry:Z2,progress:Y2,trainingMiss:X2,table:J2,wordScore:Q2,topBanner:ef,datePicker:tf,report:nf,tooltip:af,phonemeProfile:rf,bulkBar:of,debug:sf,badge:lf,loader:cf},df={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error"},pf={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit"},hf={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},mf={clearAriaLabel:"Clear search"},ff={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},Cf={selected:"selected"},gf={placeholder:"Select"},bf={collapse:"Collapse",expand:"Expand"},yf={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu"},vf={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}"},xf={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},_f={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},wf={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},kf={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},Af={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",n:"{{n}}"},filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",stop:"Stop",preview:"Preview",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",done:"Done",viewResult:"View Results",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen"},Nf={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},Bf={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},Df={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Sf={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},jf={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},Tf={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},Ef={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},Mf={comingSoon:"Word training is coming soon."},Lf={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"},publishedBadge:"Published",sharedBadge:"Shared"},$f={title:"Key Words",empty:"No key words available."},Rf={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap a cell to mark \u25CB \xB7 \u25B3 \xB7 \u2715.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"}},Pf={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},If={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},Ff={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},Of={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},Hf={passwordPlaceholder:"Enter password"},Vf={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove"},zf={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},Wf={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},qf={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},Uf={lead:`IHAB builds trust
829
+ \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638"},R2={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},P2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},I2={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},F2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},O2={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},H2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},V2={ariaLabel:"\uC120\uD0DD \uD0ED"},z2={ariaLabel:"\uD0ED"},W2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},q2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},U2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},G2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},K2={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},Z2={manage:{unit:"\uAC74"}},Y2={cancelLabel:"\uCDE8\uC18C"},X2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},J2={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},Q2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},ef={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},tf={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},nf={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},af={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},rf={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},of={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},sf={clearSelection:"\uC120\uD0DD \uD574\uC81C"},lf={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},cf={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},uf={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},df={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},pf={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},hf={common:Q0,calendar:e2,passCard:t2,searchField:n2,rating:a2,colorPicker:r2,dropdown:o2,accordion:s2,header:i2,nav:l2,settings:c2,usage:u2,account:d2,help:p2,training:h2,trainingSettings:m2,customers:f2,payment:C2,coupons:g2,visits:b2,company:y2,trainingType:v2,myWordTraining:x2,myWordTable:_2,keyWords:w2,wordTable:k2,wordSearch:A2,wordPrint:N2,topic:B2,accessLinkManager:D2,login:S2,trainingPlanRun:T2,device:j2,manager:E2,wordPairs:M2,game:L2,footer:$2,landing:R2,date:P2,trainingSetPage:I2,wordTrainingPreview:F2,wordData:O2,textField:H2,segmentedControl:V2,tabs:z2,fileUpload:W2,avatar:q2,myHomework:U2,trainingStatus:G2,store:K2,homework:Z2,inquiry:Y2,progress:X2,trainingMiss:J2,table:Q2,wordScore:ef,topBanner:tf,datePicker:nf,report:af,tooltip:rf,phonemeProfile:of,bulkBar:sf,debug:lf,badge:cf,loader:uf,soundCompass:df,breadcrumb:pf},mf={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error"},ff={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit"},Cf={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},gf={clearAriaLabel:"Clear search"},bf={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},yf={selected:"selected"},vf={placeholder:"Select"},xf={collapse:"Collapse",expand:"Expand"},_f={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu"},wf={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}"},kf={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},Af={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},Nf={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},Bf={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},Df={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",n:"{{n}}"},filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",stop:"Stop",preview:"Preview",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",done:"Done",viewResult:"View Results",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen"},Sf={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},Tf={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},jf={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Ef={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},Mf={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},Lf={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},$f={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},Rf={comingSoon:"Word training is coming soon."},Pf={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"},publishedBadge:"Published",sharedBadge:"Shared"},If={title:"Key Words",empty:"No key words available."},Ff={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap a cell to mark \u25CB \xB7 \u25B3 \xB7 \u2715.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"}},Of={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},Hf={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},Vf={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},zf={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},Wf={passwordPlaceholder:"Enter password"},qf={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove"},Uf={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},Gf={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},Kf={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},Zf={lead:`IHAB builds trust
830
830
  through sound
831
- and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},Gf={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},Kf={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},Zf={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},Yf={answer:"Answer",distractor:"Distractor"},Xf={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},Jf={clearAriaLabel:"Clear input"},Qf={ariaLabel:"Select tab"},eC={ariaLabel:"Tabs"},tC={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},nC={ariaLabel:"User avatar"},aC={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},rC={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},oC={import:"Add to my trainings",publisher:"Publisher",time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},sC={manage:{unit:"item(s)"}},iC={cancelLabel:"Cancel"},lC={subtitle:"Select a topic to start listening practice."},cC={steps:"Step {{current}} of {{total}}"},uC={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},dC={resetColumns:"Reset column widths"},pC={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},hC={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},mC={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},fC={previewRegion:"Report preview \u2014 scrollable sideways"},CC={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},gC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},bC={clearSelection:"Clear selection"},yC={showResult:"Show {{type}} result"},vC={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},xC={loading:"Loading"},_C={common:df,calendar:pf,passCard:hf,searchField:mf,rating:ff,colorPicker:Cf,dropdown:gf,accordion:bf,header:yf,nav:vf,settings:xf,usage:_f,account:wf,help:kf,training:Af,trainingSettings:Nf,customers:Bf,payment:Df,coupons:Sf,visits:jf,company:Tf,trainingType:Ef,myWordTraining:Mf,myWordTable:Lf,keyWords:$f,wordTable:Rf,wordSearch:Pf,wordPrint:If,topic:Ff,accessLinkManager:Of,login:Hf,device:Vf,manager:zf,wordPairs:Wf,game:qf,footer:Uf,landing:Gf,date:Kf,trainingSetPage:Zf,wordTrainingPreview:Yf,wordData:Xf,textField:Jf,segmentedControl:Qf,tabs:eC,fileUpload:tC,avatar:nC,myHomework:aC,trainingStatus:rC,store:oC,homework:sC,inquiry:iC,trainingPlanRun:lC,progress:cC,trainingMiss:uC,table:dC,wordScore:pC,topBanner:hC,datePicker:mC,report:fC,tooltip:CC,phonemeProfile:gC,bulkBar:bC,debug:yC,badge:vC,loader:xC};const wC=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],pi="ko",kC="ihab_display_language";function hi(){try{const e=localStorage.getItem(kC);if(e&&wC.some(n=>n.code===e))return e}catch{}return pi}function mi(e){try{document.documentElement.lang=e}catch{}}Pt.on("languageChanged",mi),mi(hi()),Pt.use(fe.initReactI18next).init({resources:{ko:{translation:uf},en:{translation:_C}},lng:hi(),fallbackLng:pi,interpolation:{escapeValue:!1},react:{useSuspense:!1}});function fi(e){if(!(e==null||e===""))return Xn(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}function AC(e){const n=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(n)?"manager":"speechear"}function NC(e){if(e.durationDays&&e.durationDays>0){const o=e.durationDays;return o%365===0?`${o/365}\uB144`:`${o}\uC77C`}const n=(e.code??"").match(/(\d+)(d|y)\b/i);if(n)return n[2].toLowerCase()==="y"?`${n[1]}\uB144`:`${n[1]}\uC77C`;const a=e.name??"",r=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);return r?r[1].replace(/\s+/g,""):a||"\uC774\uC6A9\uAD8C"}function BC(e){const n=(e??"").match(/(\d+)(d|y)\b/i);if(!n)return null;const a=Number(n[1]);return n[2].toLowerCase()==="y"?a*365:a}function Ci(e){return{type:e.type??AC(e),plan:NC(e),label:e.label,price:fi(e.price),originalPrice:fi(e.originalPrice),discountLabel:e.discountLabel}}var DC='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',SC='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>',jC='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',TC='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',EC='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>',MC='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',gi='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 An={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},hr=new WeakMap;function LC(e){if(e)return hr.get(e)}function rn(e,n){e&&(e.style.setProperty(An.text,n.text),e.style.setProperty(An.sub,n.sub),n.copyrightColor&&e.style.setProperty(An.copyright,n.copyrightColor),hr.set(e,n))}function on(e){e&&(e.style.removeProperty(An.text),e.style.removeProperty(An.sub),e.style.removeProperty(An.copyright),hr.delete(e))}const bi={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function yi(e={}){const n=rt(bi,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-two-circle__c1"}),t.jsx("div",{className:"pass-card-bg-two-circle__c3"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${gi}")`}})]})}const vi="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 ta='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 $C={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},RC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function xi(e={}){const n=rt($C,rn,on),a="var(--color-main)",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[t.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:RC.map(({scale:i,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${i}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:vi,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const PC={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},IC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function FC(e={}){const n=rt(PC,rn,on),a="#ffffff",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[t.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:IC.map(({scale:i,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${i}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:vi,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${gi}")`}})]})}const OC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function HC(e={}){const n=rt(OC,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const VC={Logo_speechear_kr:{"":dr,_white:DC,_textWhite:SC,_black:jC},Logo_speechearManager_kr:{"":pr,_white:TC,_textWhite:EC,_black:MC}};function zC(e,n){if(e)return VC[e]?.[n??""]??void 0}const WC={speechear:dr,manager:pr},qC={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},_i=10;function UC(e,n){if(e<=0)return n("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return n("passCard.remainingDay",{n:a});const r=Math.floor(e/3600);if(r>0)return n("passCard.remainingHour",{n:r});const o=Math.floor(e/60);return o>0?n("passCard.remainingMinute",{n:o}):n("passCard.remainingSecond",{n:Math.floor(e)})}function GC(e,n,a){if(e==="manager"){const r=/년/.test(n)||/yr|year/i.test(n)||/1년|365/.test(n),o=a==="\uC624\uD508\uD2B9\uAC00"||a===Pt.t("passCard.specialLabel");return r?t.jsx(HC,{}):o?t.jsx(FC,{}):t.jsx(xi,{})}return t.jsx(yi,{})}function wi({product:e,showPrice:n=!1,plan:a,type:r,endDate:o,remainingSeconds:i,state:l="active",bg:c,bgOnly:u=!1,textColor:d,subColor:h,copyrightColor:p,logoSrc:m,label:b,price:f,originalPrice:g,discountLabel:C,onUse:y,onRefund:w,onDelete:_}){const{t:v}=fe.useTranslation(),A=e?Ci(e):void 0,x=r??A?.type??"speechear",k=a??A?.plan??"\uC774\uC6A9\uAD8C",T=b??A?.label,N=f??(n?A?.price:void 0),D=g??(n?A?.originalPrice:void 0),F=C??A?.discountLabel,R=s.useMemo(()=>{if(N)return null;const O=e?.durationDays??BC(e?.code);if(!O||O<=0)return null;const te=O*86400;let ce;if(i!=null)ce=i;else if((l==="active"||l==="expired")&&o){const _e=new Date(o).getTime();if(Number.isNaN(_e))return null;const de=new Date;de.setHours(0,0,0,0);const J=new Date(_e);J.setHours(0,0,0,0);const ne=Math.round((J.getTime()-de.getTime())/864e5);ce=Math.max(0,ne)*86400}else l==="expired"?ce=0:ce=te;const ke=Math.max(0,Math.min(100,Math.floor(Math.min(ce,te)/te*100)));return l==="pending"&&ke>=100?null:{percent:ke,remainingLabel:UC(ce,v)}},[N,l,o,i,e?.durationDays,e?.code,v]),S=s.useRef(null),[z,$]=s.useState({}),[ee,E]=s.useState(null),H=!!(y||w||_),X=s.useRef(!1),q=s.useRef(void 0),[M,j]=s.useState(m);s.useLayoutEffect(()=>{j(m)},[m]),s.useLayoutEffect(()=>{const O=S.current;O&&(d!==void 0&&O.style.setProperty("--pass-card-text",d),h!==void 0&&O.style.setProperty("--pass-card-sub",h),p!==void 0&&O.style.setProperty("--pass-card-copyright",p))},[d,h,p]),s.useLayoutEffect(()=>{const O=S.current;if(!O)return;const te=LC(O);if(!m){const ce=qC[x],ke=l==="expired"?"_black":te?.logoColor??"",_e=zC(ce,ke);j(_e)}},[c,m,x,l]);const L=O=>{const te=S.current;if(!te)return null;const{left:ce,top:ke,width:_e,height:de}=te.getBoundingClientRect(),J=(O.clientX-ce)/_e-.5;return{rotateX:-((O.clientY-ke)/de-.5)*_i,rotateY:J*_i}},P=(O,te)=>{const ce=te*-.7,ke=O*.7+10,_e=20+(Math.abs(O)+Math.abs(te))*.4;return`${ce}px ${ke}px ${_e}px rgba(0, 0, 0, 0.18)`},G=s.useCallback(O=>{X.current=!0,clearTimeout(q.current),q.current=setTimeout(()=>{X.current=!1},200);const te=L(O);te&&$({transform:`perspective(800px) rotateX(${te.rotateX}deg) rotateY(${te.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:P(te.rotateX,te.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)"})},[]),I=s.useCallback(O=>{const te=L(O);if(!te)return;const ce=X.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";$({transform:`perspective(800px) rotateX(${te.rotateX}deg) rotateY(${te.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:P(te.rotateX,te.rotateY),transition:ce})},[]),K=s.useCallback(()=>{clearTimeout(q.current),X.current=!1,$({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)"})},[]),W=s.useCallback(()=>E(null),[]),re=s.useMemo(()=>{const O=k.replace("\uC774\uC6A9\uAD8C","").trim(),te=O.match(/^(.*?)(일|년)$/);return te?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"h0 pass-card__plan-number",children:te[1]}),t.jsx("span",{className:"h5b pass-card__plan-unit",children:te[2]==="\uB144"?v("passCard.unitYear","\uB144"):v("passCard.unitDay","\uC77C")})]}):t.jsx("span",{className:"h0",children:O})},[k,v]),ue=s.useMemo(()=>{const O=Xn(N);if(!O)return null;const te=O.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!te)return t.jsx("span",{className:"h1",children:O});const[,ce,ke,_e]=te;return t.jsxs(t.Fragment,{children:[ce&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:ce}),t.jsx("span",{className:"h1 pass-card__price-amount",children:ke}),_e.trim()&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:_e.trim()})]})},[N]),be=s.useCallback(()=>{H&&E(O=>{if(O)return null;const te=S.current?.getBoundingClientRect();if(!te)return null;const ce=50;return{left:te.left,right:te.right,width:te.width,height:te.height,x:te.x,y:te.y+ce,top:te.top+ce,bottom:te.bottom+ce}})},[H]),ve=s.useCallback(O=>{H&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),be())},[H,be]),Ce=[{items:[...y?[{label:v("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{y(),E(null)},closeOnSelect:!0}]:[],...w?[{label:v("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{w(),E(null)},closeOnSelect:!0}]:[],..._?[{label:v("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),E(null)},closeOnSelect:!0}]:[]]}];return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card-frame",children:t.jsxs("div",{ref:S,className:`pass-card pass-card--${l}${H?" pass-card--clickable":""}`,style:z,onMouseEnter:G,onMouseMove:I,onMouseLeave:K,onClick:be,onKeyDown:H?ve:void 0,role:H?"button":void 0,tabIndex:H?0:void 0,children:[c??GC(x,k,T),!u&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card__top",children:t.jsxs("div",{className:"pass-card__top-left",children:[t.jsx("img",{src:M??WC[x],className:"pass-card__logo",alt:x==="manager"?v("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):v("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),t.jsxs("div",{className:"pass-card__plan",children:[t.jsx("div",{children:re}),t.jsx("span",{className:"h5b pass-card__plan-suffix",children:T?v("passCard.labeledPlan",{label:T}):v("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),N?t.jsxs("div",{className:"pass-card__price-area",children:[F&&t.jsx("span",{className:"pass-card__discount body-3",children:F}),t.jsxs("div",{className:"pass-card__price",children:[D&&t.jsx("span",{className:"pass-card__price-original body-3",children:Xn(D)}),ue]})]}):R?t.jsxs("div",{className:"pass-card__usage",children:[t.jsx("span",{className:"h5b pass-card__usage-remaining",children:R.remainingLabel}),t.jsxs("span",{className:"pass-card__usage-percent",children:[t.jsx("span",{className:"h1 pass-card__usage-value",children:R.percent}),t.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):t.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),ee&&t.jsx(pn,{anchorRect:ee,onClose:W,ariaLabel:v("tooltip.menu","\uBA54\uB274"),children:t.jsx(_a,{columns:Ce,onClose:W,size:"small"})})]})}const KC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function ZC(e={}){const n=`passcard-sound-line-grad-${s.useId()}`,a=rt(KC,rn,on);return t.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[t.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:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"1",y2:"0",children:[t.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),t.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),t.jsx("g",{transform:"translate(25, 45)",children:t.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(#${n})`,strokeWidth:"50",strokeLinecap:"round"})})]}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const YC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function XC(e={}){const n=rt(YC,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}function JC(e,n){if(e){if(n==="manager_pro")return t.jsx(XC,{});if(n==="manager_standard")return t.jsx(ZC,{});if(n==="manager_lite")return t.jsx(xi,{})}}function QC(e){const n=Xn(e);if(!n)return null;const a=n.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return n;const[,r,o,i]=a;return t.jsxs(t.Fragment,{children:[r&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:r}),o,i.trim()&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:i.trim()})]})}function eg(e){const{t:n}=fe.useTranslation(),a=n("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),r=n("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:o,onSelect:i,period:l="monthly",ownedCodes:c}=e||{},u=_=>!!_&&!!c?.includes(_),d=(o.tiers||[]).some(_=>/오픈\s*특가/.test(_.label??"")&&u(_.code)),h=_=>{const v=_.prices?_.prices[l]:_.price;return v?(o.tiers||[]).some(A=>!!A.badge&&A.originals?.[l]===v):!1},p=o.colorToken?`var(--color-${o.colorToken})`:"var(--color-gray)",m=n("payment.plan.freePrice","\uBB34\uB8CC"),b=n("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),f=_=>_.prices?_.prices[l]:_.price,g=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const v=f(_);return v==="\uBB34\uB8CC"||v===m||v==="0\uC6D0"}),C=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const v=f(_);return v==="\uBB38\uC758"||v===b}),y=o.group==="org",w=y?"manager":"speechear";return t.jsxs("div",{className:"payment-plan__card",style:{borderColor:p,"--plan-color":p},children:[o.cardBadge&&t.jsx("div",{className:"payment-plan__card-badge",children:t.jsx(ot,{label:o.cardBadge,variant:"main",size:"medium",fill:"soft"})}),t.jsxs("div",{className:"payment-plan__title",children:[t.jsx("p",{className:"payment-plan__quote body-3b",style:{color:p},children:o.quote||"\xA0"}),t.jsx("h3",{className:"payment-plan__title-heading h1",children:o.tier??o.title}),t.jsx("p",{className:"payment-plan__subtitle body-3",children:o.subtitle})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.recommendedFor||[]).map((_,v)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},v))})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.features||[]).map((_,v)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},v))})]}),t.jsx("div",{className:"payment-plan__card-pricing",children:g?null:C?t.jsx(se,{htmlType:"button",className:"payment-plan__contact-button",label:n("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>o.tiers?.[0]&&i?.({...o.tiers[0],productId:o.id,productTitle:o.title})}):t.jsx(t.Fragment,{children:t.jsx("div",{className:"payment-plan__pricing-list",children:(o.tiers||[]).map(_=>{const v=_.label||a,A=/오픈\s*특가/.test(v),x=A||_.openPromo===!0,k=v.replace(/^오픈\s*특가\s*/,"")||a,T=_.prices?_.prices[l]:_.price,N=_.badge?x?`${r}
832
- ${_.badge}`:_.badge:void 0;if(A&&u(_.code))return null;if(!_.badge&&!d)return h(_)?null:t.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${_.highlight?" payment-plan__pricing-row--highlight":""}`,children:[t.jsx("div",{className:"payment-plan__pricing-row-title",children:t.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:_.label})}),t.jsx("div",{className:"payment-plan__pricing-row-price",children:t.jsx("span",{className:"payment-plan__pricing-current h1",children:QC(T)})})]},_.id);const D=o.tier??(y?o.title:void 0),F=t.jsx(wi,{showPrice:!0,product:{type:w,code:_.code,name:k,label:D,price:T,originalPrice:_.originals?.[l]??void 0,discountLabel:N},bg:JC(y,o.id)}),R=()=>i?.({..._,productId:o.id,productTitle:o.title,preview:F});return t.jsx("div",{className:"payment-plan__pricing-card",onClick:R,onKeyDown:i?S=>{S.target===S.currentTarget&&(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),R())}:void 0,role:i?"button":void 0,tabIndex:i?0:void 0,children:F},_.id)})})})})]})}function tg({variant:e="default"}){return t.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var mr='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 ki={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function ng(){const e=rt(ki,rn,on);return t.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${mr}")`}})})}const Ai={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function ag(e={}){const n=rt(Ai,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),t.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}function Ni({keys:e,anchor:n="top-right",scale:a,className:r=""}){const o=Array.isArray(e)?e:[e];return t.jsx("span",{className:xe("shortcut-badge",`shortcut-badge--${n}`,r),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:o.map((i,l)=>t.jsxs("span",{className:"shortcut-badge__group",children:[l>0&&t.jsx("span",{className:"shortcut-badge__plus",children:"+"}),t.jsx("kbd",{className:"shortcut-badge__key",children:i})]},`${i}-${l}`))})}const na=(e,n,a)=>e+(n-e)*a;function rg({speakers:e,size:n=300,viewT:a=0,activeSpeakerId:r=null,playedIds:o,selectedId:i=null,answerId:l=null,showFeedback:c=!1,pulseSelected:u=!1,pulseSelectedDuration:d,pulseScale:h,clickable:p=!1,onSelectSpeaker:m,buttonSize:b=40,showIcon:f=!0,onCenterClick:g,centerLabel:C,centerDisabled:y=!1,centerAttention:w=!1,shortcutAnchor:_="top-right",shortcutScale:v,scaleShortcut:A=!1}){const x=Math.max(0,Math.min(1,a)),k=n/2,T=110/300,N=.18,D=O=>n*(T+(O-1)*N),F=O=>{const te=D(O.row??1),ce=O.angleDeg*Math.PI/180;return{x:k+te*Math.cos(ce),y:k+te*Math.sin(ce)}},R=Math.max(...e.map(O=>O.row??1),1),S=n*.08,z=n*.1,$=n*.24,ee=n-2*S,E=n-z-$,H=n-$/2,X=s.useMemo(()=>[...new Set(e.map(O=>O.deg))].sort((O,te)=>O-te),[e]),q=X.length,M=Math.max(68,q>1?ee/(q-1):0),j=s.useMemo(()=>new Map(X.map((O,te)=>[O,te])),[X]),L=O=>{const te=j.get(O.deg)??0,ce=k+(te-(q-1)/2)*M,ke=R>1?Math.min(68,E/(R-1)):0,_e=ke*(R-1),de=z+(E-_e)/2,J=R===1?z+E*.4:de+(R-(O.row??1))*ke;return{x:ce,y:J}},P=O=>{const te=F(O),ce=L(O);return{x:na(te.x,ce.x,x),y:na(te.y,ce.y,x)}},G={x:k,y:na(k,H,x)},I=Math.round(b*1.2),K=Math.round(Math.max(16,Math.min(80,b*.7))),W=[],re=new Map;for(const O of e){const te=O.row??1;re.has(te)||re.set(te,[]),re.get(te).push(O)}for(const[O,te]of re.entries()){if(te.length<2)continue;const ce=[...te].sort((Se,Ue)=>Se.deg-Ue.deg),ke=ce.map(Se=>P(Se)),_e=ce.map(Se=>Se.deg),de=_e[_e.length-1]-_e[0],J=de/(_e.length-1),ne=360-de,Ae=ce.length>=3&&J>0&&ne<=J*1.5,le=Math.round(D(O)*1e3)/1e3,Ne=(Se,Ue,We,me)=>{const Le=(Ue.angleDeg-Se.angleDeg+540)%360-180;if(Le===0)return`L ${me.x} ${me.y}`;if(x===0)return`A ${le} ${le} 0 0 ${Le>0?1:0} ${me.x} ${me.y}`;const Te=(Se.angleDeg+Le/2)*Math.PI/180,Fe={x:k+le*Math.cos(Te),y:k+le*Math.sin(Te)},Me={x:(We.x+me.x)/2,y:(We.y+me.y)/2},He={x:na(Fe.x,Me.x,x),y:na(Fe.y,Me.y,x)},Ze={x:2*He.x-Me.x,y:2*He.y-Me.y};return`Q ${Ze.x} ${Ze.y} ${me.x} ${me.y}`},Be=Ae?[...ce,ce[0]]:ce,Re=Ae?[...ke,ke[0]]:ke;let Oe=`M ${Re[0].x} ${Re[0].y}`;for(let Se=1;Se<Re.length;Se++)Oe+=" "+Ne(Be[Se-1],Be[Se],Re[Se-1],Re[Se]);W.push({key:`arc-${O}`,d:Oe})}const ue=s.useMemo(()=>new Set(o??[]),[o]),be=O=>{if(r===O.id)return"active";if(c){if(O.id===l)return"correct";if(O.id===i&&i!==l)return"wrong"}return ue.has(O.id)?"played":"idle"},ve=O=>r===O.id?"loop":c?O.id===l?"loop":null:u&&O.id===i?"once":null,Ce=(O,te)=>{switch(O){case"played":case"correct":return t.jsx(po,{size:te});case"wrong":return t.jsx(_o,{size:te});default:return t.jsx(xo,{size:te})}};return t.jsx("div",{className:"sound-compass",children:t.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:n,height:n},children:[t.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:"sound-compass__svg",children:[x===0&&e.map(O=>{const{x:te,y:ce}=P(O);return t.jsx("line",{x1:G.x,y1:G.y,x2:te,y2:ce,stroke:"#dde3ec",strokeWidth:"1"},O.id)}),W.map(O=>t.jsx("path",{d:O.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},O.key))]}),w&&!y&&t.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:I,height:I,left:G.x-I/2,top:G.y-I/2}}),g?t.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${y?" sound-compass__center--disabled":""}`,style:{width:I,height:I,left:G.x,top:G.y},"aria-label":C,"aria-disabled":y||void 0,tabIndex:y?-1:0,onClick:y?void 0:g,children:t.jsx(Ia,{size:K,color:"currentColor",strokeWidth:1.5})}):t.jsx("div",{className:"sound-compass__center",style:{width:I,height:I,left:G.x,top:G.y},children:t.jsx(Ia,{size:K,color:"currentColor",strokeWidth:1.5})}),e.map((O,te)=>{const{x:ce,y:ke}=P(O),_e=be(O),de=ve(O),J={...v!==void 0||A?{"--shortcut-badge-scale":String(v??Math.max(.75,Math.min(3,b/56)))}:null,pointerEvents:p?"auto":"none",cursor:p?"pointer":"default",zIndex:_e!=="idle"?10:1},ne=b,Ae=Math.round(Math.max(10,Math.min(56,ne*.38))),le=Math.round(Math.max(7,Math.min(18,ne*.2))),Ne=Math.round(Math.max(10,Math.min(56,ne*.4))),Be=f==="answered"&&(_e==="played"||_e==="correct"||_e==="wrong"),Re=f===!0||Be,Oe=!Be;return t.jsxs("div",{className:"sound-compass__speaker-pos",style:{...J,left:ce-ne/2,top:ke-ne/2},children:[de&&t.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${_e}`+(de==="once"?" sound-compass__pulse--once":""),style:{width:ne,height:ne,...de==="once"&&d!==void 0?{"--sc-pulse-duration-once":`${d}ms`}:null,...h!==void 0?{"--sc-pulse-scale":String(h)}:null}}),t.jsxs("button",{type:"button",tabIndex:p?0:-1,"aria-disabled":p?void 0:!0,onClick:p?()=>m?.(O.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${_e}`,style:{width:ne,height:ne},"aria-label":O.label,children:[Re&&Ce(_e,Ae),Oe&&t.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:f===!0?le:Ne},children:te+1})]}),O.shortcut&&t.jsx(Ni,{keys:O.shortcut,anchor:_,className:"sound-compass__speaker-shortcut"})]},O.id)})]})})}function og({children:e,position:n="top-left",size:a=24,className:r=""}){return t.jsx("span",{className:xe("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${n}`,r),children:e})}function sg({orientation:e="horizontal",label:n,className:a=""}){const r=xe("divider",`divider--${e}`,n&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?t.jsx("div",{className:r,role:"separator","aria-orientation":"vertical"}):n?t.jsxs("div",{className:r,role:"separator","aria-orientation":"horizontal",children:[t.jsx("span",{className:"divider__line"}),t.jsx("span",{className:"divider__label caption-1",children:n}),t.jsx("span",{className:"divider__line"})]}):t.jsx("div",{className:r,role:"separator","aria-orientation":"horizontal"})}function Bi({checked:e,onChange:n,name:a,value:r,disabled:o=!1,label:i,className:l=""}){const c=s.useId();return t.jsxs("label",{className:`radio${o?" radio--disabled":""} ${l}`.trim(),htmlFor:c,children:[t.jsx("input",{id:c,type:"radio",name:a,value:r,checked:e,disabled:o,onChange:u=>n?.(u.target.checked)}),t.jsx("span",{className:"radio__dot"}),i&&t.jsx("span",{className:"radio__label body-2",children:i})]})}function ig({options:e,value:n,onChange:a,name:r,disabled:o=!1,direction:i="vertical",className:l="",ariaLabel:c}){const u=s.useId(),d=r??`radio-group-${u}`;return t.jsx("div",{className:`radio-group radio-group--${i} ${l}`.trim(),role:"radiogroup","aria-label":c,children:e.map(h=>t.jsx(Bi,{name:d,value:h.value,checked:n===h.value,disabled:o||h.disabled,label:h.label,onChange:p=>{p&&a?.(h.value)}},h.value))})}const lg={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function cg({tone:e="info",title:n,message:a,children:r,dismissible:o=!1,onDismiss:i,className:l=""}){const{t:c}=fe.useTranslation(),[u,d]=s.useState(!1),h=s.useCallback(()=>{d(!0),i?.()},[i]);if(u)return null;const p=xe("alert",`alert--${e}`,l),m=!!n,b=!!(a||r);return t.jsxs("div",{className:p,role:"alert",children:[t.jsxs("div",{className:"alert__body",children:[t.jsxs("div",{className:"alert__header",children:[t.jsx(Ie,{icon:lg[e],size:20,className:"alert__icon"}),m&&t.jsx("span",{className:"alert__title body-2",children:n}),!m&&b&&t.jsx("div",{className:"alert__message body-3",children:a??r})]}),m&&b&&t.jsx("div",{className:"alert__message alert__message--indented body-3",children:a??r})]}),o&&t.jsx("button",{type:"button",className:"alert__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const ug={ready:"search",guide:"info",error:"circle-alert"};function dg(e,n){const a=n.filter(Boolean);if(a.length===0)return e;const r=[];let o=0,i=0;for(const l of a){const c=e.indexOf(l,o);c<0||(c>o&&r.push(e.slice(o,c)),r.push(t.jsx("strong",{className:"search-summary__em body-2",children:l},i++)),o=c+l.length)}return o<e.length&&r.push(e.slice(o)),r}function pg({status:e="guide",label:n,children:a,emphasis:r,icon:o,className:i=""}){const l=o===!1?null:o??ug[e],c=xe("search-summary",`search-summary--${e}`,i),u=n??a,d=typeof u=="string"&&r&&r.length>0?dg(u,r):u;return t.jsxs("div",{className:c,role:"status","aria-live":"polite",children:[l!=null&&t.jsx(Ie,{icon:l,size:18,className:"search-summary__icon"}),t.jsx("span",{className:"search-summary__text body-2",children:d})]})}function aa({title:e,items:n}){const{t:a}=fe.useTranslation(),{anchorRect:r,openAt:o,close:i}=xa();return t.jsxs(t.Fragment,{children:[t.jsx(se,{htmlType:"button",size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!r,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:l=>o(l.currentTarget),onPointerLeave:i,onFocus:l=>o(l.currentTarget),onBlur:i}),r&&t.jsx(wn,{title:e,items:n,showIndex:n.length>1,anchorRect:r,onClose:i})]})}function hg({items:e=[],value:n,onChange:a,className:r="",size:o=40}){const i=s.useId(),{t:l}=fe.useTranslation(),c=s.useRef(null),u=e.find(g=>!g.disabled)?.key,d=e.some(g=>g.key===n)?n:u??e[0]?.key,h=e.find(g=>g.key===d&&!g.disabled)?.key??u,p=()=>Array.from(c.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),m=(g,C=p())=>{if(C.length===0)return;const y=(g%C.length+C.length)%C.length;C[y]?.focus(),C[y]?.click()},b=g=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(g.key))return;g.preventDefault();const C=p(),y=C.indexOf(g.currentTarget);g.key==="ArrowRight"||g.key==="ArrowDown"?m(y+1,C):g.key==="ArrowLeft"||g.key==="ArrowUp"?m(y-1,C):g.key==="Home"?m(0,C):m(C.length-1,C)},f=e.find(g=>g.key===d);return t.jsxs("div",{className:`tabs ${r}`.trim(),children:[t.jsx("div",{ref:c,className:`tabs__list tabs__list--${o}`,role:"tablist","aria-label":l("tabs.ariaLabel","\uD0ED"),children:e.map(g=>t.jsx("button",{id:`tabs__tab-${i}-${g.key}`,type:"button",role:"tab","aria-selected":g.key===d,"aria-controls":`tabs__panel-${i}-${g.key}`,disabled:g.disabled,tabIndex:g.key===h?0:-1,className:`tabs__tab body-2${g.key===d?" tabs__tab--active":""}`,onClick:()=>a?.(g.key),onKeyDown:b,children:g.label},g.key))}),f&&t.jsx("div",{id:`tabs__panel-${i}-${f.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${i}-${f.key}`,tabIndex:0,className:"tabs__panel",children:f.panel},f.key)]})}const mg={xs:12,sm:16,md:20,lg:28,xl:36};function fg(e){const n=e.trim().split(/\s+/).filter(Boolean);return n.length===0?"":n.length===1?[...n[0]].slice(0,2).join("").toUpperCase():([...n[0]][0]+[...n[n.length-1]][0]).toUpperCase()}function Cg({src:e,name:n,size:a="md",shape:r="circle",className:o=""}){const{t:i}=fe.useTranslation(),[l,c]=s.useState(null),u=!!e&&l===e,d=n?fg(n):"",h=!!e&&!u,p=!h&&!!d,m=n||i("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return t.jsxs("span",{className:`avatar avatar--${a} avatar--${r} ${o}`.trim(),role:"img","aria-label":m,children:[h&&t.jsx("img",{className:"avatar__image",src:e,alt:m,onError:()=>c(e??null)}),!h&&p&&t.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:d}),!h&&!p&&t.jsx(Ie,{icon:"user-round",size:mg[a],className:"avatar__icon"})]})}function gg(e,n){if(!n)return!0;const a=n.split(",").map(i=>i.trim()).filter(Boolean);if(a.length===0)return!0;const r=e.name.toLowerCase(),o=e.type.toLowerCase();return a.some(i=>{const l=i.toLowerCase();return l.startsWith(".")?r.endsWith(l):l.endsWith("/*")?o.startsWith(l.slice(0,-1)):o===l})}function bg({onFilesSelected:e,accept:n,multiple:a=!1,disabled:r=!1,showFileList:o=!0,files:i,onRemove:l,className:c=""}){const{t:u}=fe.useTranslation(),d=s.useRef(null),[h,p]=s.useState(!1),[m,b]=s.useState([]),f=i??m,g=x=>{if(!x||x.length===0)return;const k=Array.from(x).filter(N=>gg(N,n));if(k.length===0)return;const T=a?k:k.slice(0,1);if(i===void 0){const N=a?[...f,...T]:T;b(N),e?.(N)}else e?.(T)},C=x=>{x.preventDefault(),!r&&p(!0)},y=x=>{x.preventDefault(),p(!1)},w=x=>{x.preventDefault(),p(!1),!r&&g(x.dataTransfer.files)},_=x=>{g(x.target.files),x.target.value=""},v=()=>{r||d.current?.click()},A=x=>{if(l?.(x),i===void 0){const k=f.filter((T,N)=>N!==x);b(k),l||e?.(k)}};return t.jsxs("div",{className:`file-upload ${c}`.trim(),children:[t.jsxs("div",{className:xe("file-upload__dropzone",h&&"file-upload__dropzone--dragging",r&&"file-upload__dropzone--disabled"),role:"button",tabIndex:r?-1:0,"aria-disabled":r,onClick:v,onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),v())},onDragOver:C,onDragLeave:y,onDrop:w,children:[t.jsx(Ie,{icon:"upload",size:24,className:"file-upload__icon"}),t.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")}),t.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:r,onClick:x=>{x.stopPropagation(),v()},children:u("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),t.jsx("input",{ref:d,type:"file",className:"file-upload__input",accept:n,multiple:a,disabled:r,onChange:_,tabIndex:-1})]}),o&&f.length>0&&t.jsx("ul",{className:"file-upload__list",children:f.map((x,k)=>t.jsxs("li",{className:"file-upload__list-item body-3",children:[t.jsx("span",{className:"file-upload__file-name body-3",children:x.name}),t.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":u("fileUpload.removeAriaLabel",{name:x.name}),onClick:()=>A(k),children:t.jsx(Ie,{icon:"x",size:14})})]},`${x.name}-${k}`))})]})}function yg({items:e,className:n=""}){return t.jsx("nav",{className:`breadcrumb ${n}`.trim(),"aria-label":"breadcrumb",children:t.jsx("ol",{className:"breadcrumb__list",children:e.map((a,r)=>{const o=r===e.length-1;return t.jsxs("li",{className:"breadcrumb__item",children:[o?t.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:a.label}):t.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:a.onClick,children:a.label}),!o&&t.jsx(Ie,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},r)})})})}const vg={small:14,medium:20,large:28};function xg({value:e,onChange:n,max:a=5,readOnly:r=!1,size:o="medium",ariaLabel:i,className:l=""}){const{t:c}=fe.useTranslation(),u=r||!n,[d,h]=s.useState(null),p=d??e,m=vg[o],b=v=>{u||n?.(v)},f=v=>{u||h(v)},g=s.useRef(null),C=v=>{const A=Math.min(a,Math.max(1,v));n?.(A),Array.from(g.current?.querySelectorAll("[data-star]")??[]).find(x=>x.dataset.star===String(A))?.focus()},y=v=>{if(!u){switch(v.key){case"ArrowRight":case"ArrowUp":C((e||0)+1);break;case"ArrowLeft":case"ArrowDown":C((e||1)-1);break;case"Home":C(1);break;case"End":C(a);break;default:return}v.preventDefault()}},w=e>=1&&e<=a?Math.round(e):1,_=()=>{u||h(null)};return t.jsx("div",{className:`rating rating--${o}${u?" rating--readOnly":""} ${l}`.trim(),ref:g,onKeyDown:y,role:u?"img":"radiogroup","aria-label":u?c("rating.valueLabel",{value:e,max:a}):i??c("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:_,children:Array.from({length:a},(v,A)=>{const x=A+1,k=Math.max(0,Math.min(1,p-A)),T=k>0&&k<1,N=t.jsxs("span",{className:"rating__star-wrap",children:[t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--empty"}),k>0&&t.jsx("span",{className:`rating__star-fill${T?" rating__star-fill--half":""}`,children:t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--filled"})})]});return u?t.jsx("span",{className:"rating__item","aria-hidden":"true",children:N},x):t.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":e===x,"aria-label":c("rating.starLabel",{n:x}),"data-star":x,tabIndex:x===w?0:-1,onClick:()=>b(x),onMouseEnter:()=>f(x),children:N},x)})})}const _g=20,wg=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function kg({value:e,onChange:n,palette:a=wg,size:r=40,className:o="",ariaLabel:i}){const{t:l}=fe.useTranslation();return t.jsx("div",{className:`color-picker ${o}`.trim(),role:"group","aria-label":i,children:a.map(c=>{const u=e?.toLowerCase()===c.toLowerCase();return t.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${r}`,style:{backgroundColor:c},onClick:()=>n(c),"aria-pressed":u,"aria-label":u?`${c} ${l("colorPicker.selected","\uC120\uD0DD\uB428")}`:c,children:u&&t.jsx(Ie,{icon:"check",size:_g,className:"color-picker__check"})},c)})})}function Ag({icon:e,count:n,title:a,className:r="",onClick:o,onMouseEnter:i,onMouseLeave:l}){const c=xe("count-tile",o&&"count-tile--clickable",r);return t.jsxs("div",{className:c,onClick:o,onKeyDown:o?u=>{u.key!=="Enter"&&u.key!==" "||(u.preventDefault(),u.currentTarget.click())}:void 0,onMouseEnter:i,onMouseLeave:l,role:o?"button":"img",tabIndex:o?0:void 0,"aria-label":a?`${a} ${n}`:String(n),children:[t.jsx(Ie,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]})}function Ng(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Bg({open:e,onClose:n,ariaLabel:a,title:r,children:o,size:i="md",closeOnBackdrop:l=!0,closeOnEscape:c=!0,showClose:u=!0,className:d,contentClassName:h}){const{t:p}=fe.useTranslation(),m=s.useId(),b=s.useRef(null),f=s.useCallback(()=>n(),[n]);return s.useEffect(()=>{if(!e)return;const g=document.activeElement,{overflow:C}=document.body.style;return document.body.style.overflow="hidden",b.current?.focus(),()=>{document.body.style.overflow=C,g?.focus?.()}},[e]),s.useEffect(()=>{if(!(!e||!c))return Mn(f)},[e,c,f]),rr(b,e),!e||typeof document>"u"?null:It.createPortal(t.jsx("div",{className:xe("dialog",d),onClick:l?f:void 0,children:t.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?m:void 0,tabIndex:-1,className:xe("dialog__surface",`dialog__surface--${i}`,h),onClick:g=>g.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:m,className:"dialog__title h4b",children:r})}):null,u?t.jsx("button",{type:"button",className:"dialog__close","aria-label":p("common.close","\uB2EB\uAE30"),onClick:f,children:t.jsx(Ng,{})}):null,t.jsx("div",{className:"dialog__body",children:o})]})}),document.body)}function Dg({columns:e,rows:n,rowKey:a,title:r,toolbar:o,empty:i="\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",loading:l,caption:c,className:u=""}){const d=!l&&n.length===0;return t.jsxs("div",{className:xe("board",u),children:[r||o?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),o?t.jsx("div",{className:"board__toolbar",children:o}):null]}):null,t.jsxs("table",{className:"board__table",children:[c?t.jsx("caption",{className:"board__caption",children:c}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(h=>t.jsx("th",{scope:"col",className:xe("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):d?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:i})}):n.map((h,p)=>t.jsx("tr",{className:"board__row",children:e.map(m=>t.jsx("td",{className:xe("board__td",`board__cell--${m.align??"left"}`),children:m.render(h,p)},m.key))},a(h,p)))})]})]})}function Sg({name:e,role:n,photo:a,media:r,credentials:o,size:i=190,className:l=""}){return t.jsxs("div",{className:xe("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,o?.length?t.jsx("ul",{className:"person-card__credentials",children:o.map(c=>t.jsx("li",{children:c},c))}):null]})}function jg({groups:e,className:n=""}){return t.jsx("div",{className:xe("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,o)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((i,l)=>t.jsx("p",{children:i},l))})]},`${r.label??""}-${o}`))})]},a.title))})}function Tg({title:e,kind:n,body:a,badge:r,badgeSrc:o,footer:i,width:l,className:c=""}){const u=r??(o?t.jsx("img",{src:o,alt:""}):null);return t.jsxs("div",{className:xe("publication-card",c),style:l?{width:l,flexShrink:0}:void 0,children:[u?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:u}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),i?t.jsx("div",{className:"publication-card__footer",children:i}):null]})}function Eg({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const o=ir(a);return s.useEffect(()=>{if(!o.current)return;const i=setTimeout(()=>o.current?.(),r);return()=>clearTimeout(i)},[r,o]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function Mg({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:o=2,tone:i="dark",className:l=""}){const c=o===1?"h1":"h2";return t.jsxs("div",{className:xe("section-header",`section-header--${i}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(c,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function Lg({items:e,className:n=""}){return t.jsx("ul",{className:xe("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Di({value:e,onChange:n,suggestions:a,openOnFocus:r=!1}){const o=s.useId(),[i,l]=s.useState(!1),[c,u]=s.useState(-1),d=s.useRef(null),h=s.useMemo(()=>{if(!a.length)return[];const y=e??"";return y?a.filter(w=>w.toLowerCase().includes(y.toLowerCase())):r?a:[]},[a,e,r]);s.useEffect(()=>{i||u(-1)},[i]),s.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]);const p=c<h.length?c:-1,m=s.useCallback(y=>{n?.(y),l(!1)},[n]),b=s.useCallback(()=>l(!0),[]),f=s.useCallback(()=>{l(!0),u(-1)},[]),g=s.useCallback(()=>{d.current=setTimeout(()=>l(!1),120)},[]),C=s.useCallback(y=>{y.key==="ArrowDown"?(y.preventDefault(),l(!0),u(w=>Math.min(h.length-1,(w<h.length?w:-1)+1))):y.key==="ArrowUp"?(y.preventDefault(),u(w=>Math.max(-1,(w<h.length?w:h.length)-1))):y.key==="Enter"?p>=0&&!y.nativeEvent.isComposing&&m(h[p]):y.key==="Escape"&&i&&(y.preventDefault(),l(!1))},[h,p,i,m]);return{listId:o,open:i,activeIdx:p,filtered:h,handleFocus:b,handleBlur:g,handleInput:f,handleKeyDown:C,handleSelect:m}}function Nn(e){const{value:n,defaultValue:a,name:r,inputRef:o,onChange:i,label:l,ariaLabel:c,required:u,placeholder:d,type:h="text",disabled:p=!1,readOnly:m=!1,error:b,helperText:f,maxLength:g,size:C=48,variant:y="input",fullWidth:w=!1,newline:_=!1,multiline:v=!1,rows:A=3,leftIcon:x,rightIcon:k,clearable:T=!1,list:N,showCount:D=!0,className:F="",onFocus:R,onBlur:S,onKeyDown:z,onEnter:$,inputMode:ee,autoComplete:E,autoFocus:H,suggestions:X,openOnFocus:q=!1}=e,{t:M}=fe.useTranslation(),j=s.useId();!l&&!c&&Vn(`TextField:unnamed:${j}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const L=`tf-${j}`,P=`tf-helper-${j}`,G=s.useRef(null),I=Di({value:n??"",onChange:i,suggestions:X??[],openOnFocus:q}),K=!!X&&I.open&&I.filtered.length>0,W=s.useCallback(le=>{G.current=le,typeof o=="function"?o(le):o&&(o.current=le)},[o]),re=n!==void 0,ue=re&&h==="password",[be,ve]=s.useState((a??"").length),Ce=re?(n??"").length:be,O=s.useRef(n);s.useLayoutEffect(()=>{O.current=n}),s.useEffect(()=>{const le=G.current;if(!ue||!le)return;const Ne=n??"";le.value!==Ne&&(le.value=Ne)},[ue,n]),s.useEffect(()=>{if(!_||!G.current)return;const le=G.current;le.style.height="",le.scrollHeight>le.clientHeight&&(le.style.height=`${le.scrollHeight}px`)},[n,be,_]);const te=g!=null&&Ce>g,ce=C===32?16:20,ke=xe("text-field",`text-field--s${C}`,y==="display"?"text-field--display":"",w?"text-field--full-width":"",p?"text-field--disabled":"",m?"text-field--readonly":"",b?"text-field--error":"",x?"text-field--has-left-icon":"",k||T?"text-field--has-right-icon":"",F),_e={id:L,...ue?{}:re?{value:n}:{defaultValue:a},ref:W,placeholder:d,name:r,disabled:p,readOnly:m,autoFocus:H,maxLength:g,list:N,inputMode:ee,autoComplete:E,"aria-label":!l&&c?c:void 0,"aria-required":u,"aria-invalid":!!b,"aria-describedby":f||b?P:void 0,role:X?"combobox":void 0,"aria-autocomplete":X?"list":void 0,"aria-haspopup":X?"listbox":void 0,"aria-expanded":X?I.open:void 0,"aria-controls":K?I.listId:void 0,"aria-activedescendant":K&&I.activeIdx>=0?`${I.listId}-option-${I.activeIdx}`:void 0,onChange:le=>{const Ne=le.target;re||ve(Ne.value.length),i?.(Ne.value),X&&I.handleInput(),ue&&queueMicrotask(()=>{const Be=O.current??"";Ne.value!==Be&&(Ne.value=Be)})},onFocus:(le=>{R?.(le),X&&I.handleFocus()}),onBlur:(le=>{S?.(le),X&&I.handleBlur()}),onKeyDown:(le=>{X&&le.key==="Enter"&&!le.nativeEvent.isComposing&&I.activeIdx>=0?le.preventDefault():$&&le.key==="Enter"&&!le.nativeEvent.isComposing&&(le.preventDefault(),$()),z?.(le),X&&I.handleKeyDown(le)})},de=T&&!p&&!m&&Ce>0,J=()=>_?t.jsx("textarea",{..._e,className:"text-field__input text-field__input--auto body-2",rows:1}):v?t.jsx("textarea",{..._e,className:"text-field__input text-field__input--textarea body-2",rows:A}):t.jsx("input",{..._e,type:h,className:"text-field__input body-2"}),ne=y==="display"&&!_&&!v&&!!d,Ae=()=>t.jsxs(t.Fragment,{children:[J(),ne&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:d})]});return t.jsxs("div",{className:ke,children:[l&&t.jsxs("label",{htmlFor:L,className:"text-field__label caption-1",children:[l,u&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[x&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Ie,{icon:x,label:"",className:"",svgClassName:"text-field__icon-svg",size:ce})}),Ae(),g!=null&&D&&t.jsxs("span",{className:`text-field__count caption-2${te?" text-field__count--over":""}`,children:[Ce,"/",g]}),de&&t.jsx(se,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:M("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:le=>{le.preventDefault()},onClick:()=>{!re&&G.current&&(G.current.value="",ve(0)),i?.("")},tabIndex:-1}),k&&!de&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Ie,{icon:k,label:"",className:"",svgClassName:"text-field__icon-svg",size:ce})})]}),X&&I.open&&I.filtered.length>0&&t.jsx("ul",{id:I.listId,className:"text-field__suggestions",role:"listbox",children:I.filtered.map((le,Ne)=>t.jsx("li",{id:`${I.listId}-option-${Ne}`,role:"option","aria-selected":Ne===I.activeIdx,className:`text-field__suggestion body-2${Ne===I.activeIdx?" is-active":""}`,onMouseDown:Be=>Be.preventDefault(),onClick:()=>{I.handleSelect(le),G.current?.focus()},children:le},`${le}-${Ne}`))}),(f||b)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:P,className:"text-field__helper caption-1",role:b?"alert":void 0,children:b||f})})]})}function Wt({options:e,value:n,onChange:a,placeholder:r,disabled:o=!1,block:i=!1,size:l=48,error:c=!1,className:u="",ariaLabel:d}){const{t:h}=fe.useTranslation(),p=r??h("dropdown.placeholder","\uC120\uD0DD"),m=s.useId(),b=s.useRef(null),f=s.useCallback(S=>{const z=window.innerHeight-S.bottom<260&&S.top>260;return{position:"fixed",left:S.left,minWidth:S.width,...z?{bottom:window.innerHeight-S.top+6}:{top:S.bottom+6},zIndex:9999}},[]),{open:g,setOpen:C,toggle:y,style:w,triggerRef:_,menuRef:v}=ea({computeStyle:f}),[A,x]=s.useState(-1),k=s.useCallback(()=>x(-1),[]),T=e.find(S=>S.value===n);s.useEffect(()=>{if(g){const S=e.findIndex(z=>z.value===n);x(S>=0?S:0),requestAnimationFrame(()=>{const z=v.current;if(!z)return;const $=z.querySelectorAll(".dropdown__option")[S];$&&(z.scrollTop=Math.max(0,$.offsetTop-z.clientHeight/2+$.clientHeight/2))})}},[g]);const N=s.useCallback(()=>{o||y()},[o,y]),D=s.useCallback(S=>{S.disabled||(a?.(S.value),C(!1))},[a,C]),F=s.useCallback(S=>{if(!o){if(!g){(S.key==="Enter"||S.key===" "||S.key==="ArrowDown")&&(S.preventDefault(),C(!0));return}if(S.key==="Escape"){S.preventDefault(),C(!1);return}S.key==="ArrowDown"?(S.preventDefault(),x(z=>{let $=z+1;for(;$<e.length&&e[$].disabled;)$++;return $<e.length?$:z})):S.key==="ArrowUp"?(S.preventDefault(),x(z=>{let $=z-1;for(;$>=0&&e[$].disabled;)$--;return $>=0?$:z})):S.key==="Enter"&&A>=0&&(S.preventDefault(),D(e[A]))}},[o,g,e,A,D,C]),R=g?t.jsx("div",{ref:v,id:m,className:"dropdown__menu",role:"listbox",style:w,onMouseLeave:k,onMouseDown:S=>S.preventDefault(),children:e.map((S,z)=>t.jsxs("button",{id:`${m}-option-${z}`,type:"button",role:"option","aria-selected":S.value===n,className:xe("dropdown__option body-2",S.value===n?"dropdown__option--active":"",z===A?"dropdown__option--active":"",S.disabled?"dropdown__option--disabled":""),onMouseDown:$=>$.preventDefault(),onClick:()=>D(S),onMouseEnter:()=>x(z),disabled:S.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:S.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),S.label]},S.value))}):null;return t.jsxs("div",{ref:b,className:xe("dropdown",`dropdown--s${l}`,g?"dropdown--open":"",i?"dropdown--block":"",c?"dropdown--error":"",u),onKeyDown:F,children:[t.jsxs("button",{ref:_,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":g,"aria-controls":g?m:void 0,"aria-activedescendant":g&&A>=0?`${m}-option-${A}`:void 0,"aria-label":d,"aria-invalid":c||void 0,disabled:o,onClick:N,onBlur:S=>{g&&!v.current?.contains(S.relatedTarget)&&C(!1)},children:[t.jsx("span",{className:`dropdown__trigger-label body-2${T?"":" dropdown__trigger-label--placeholder"}`,children:T?T.label:p}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&It.createPortal(R,b.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function wa({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:o,className:i=""}){const{t:l}=fe.useTranslation(),c=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),u=o??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),d=()=>a(Math.max(1,e-1)),h=()=>a(Math.min(n,e+1));return t.jsxs("div",{className:xe("pagination",i),children:[t.jsx(se,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:d}),t.jsxs("span",{className:"pagination__info body-3",children:[e," / ",n]}),t.jsx(se,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:u,disabled:e>=n,onClick:h})]})}function Bn(e){const{t:n}=fe.useTranslation(),{options:a=[],value:r=a[0]?.key,onChange:o=C=>{},className:i="",size:l=48,shape:c="pill",useBG:u=!0,fullWidth:d=!1,ariaLabel:h}=e||{},p=s.useRef(null),m=a.filter(C=>!C.disabled),b=C=>{if(!m.length)return;const y=Math.max(0,m.findIndex(_=>_.key===r)),w=C==="first"?m[0]:C==="last"?m[m.length-1]:m[(y+C+m.length)%m.length];w&&(o(w.key),Array.from(p.current?.querySelectorAll("[data-segkey]")??[]).find(_=>_.dataset.segkey===w.key)?.focus())},f=C=>{switch(C.key){case"ArrowRight":case"ArrowDown":b(1);break;case"ArrowLeft":case"ArrowUp":b(-1);break;case"Home":b("first");break;case"End":b("last");break;default:return}C.preventDefault()},g=m.some(C=>C.key===r)?r:m[0]?.key;return t.jsx("div",{ref:p,onKeyDown:f,className:xe("segmented-control",`segmented-control--${c}`,`segmented-control--${l}`,d&&"segmented-control--full",!u&&"segmented-control--no-bg",i),role:"radiogroup","aria-label":h??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(C=>t.jsx(se,{htmlType:"button",role:"radio","aria-checked":C.key===r,"data-segkey":C.key,tabIndex:C.key===g?0:-1,label:C.label,count:C.count,disabled:C.disabled,className:C.key===r?"is-selected":"",onClick:()=>{C.disabled||o(C.key)},size:l,shape:c,useBorder:!1,useBG:!1},C.key))})}function fr({count:e,search:n,segment:a,filters:r,pageSize:o,pagination:i,actions:l,className:c}){const{t:u}=fe.useTranslation(),d=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",children:[e.prefix??u("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),h=!!(n||r?.length||o||i||l);return t.jsxs("div",{className:xe("toolbar",c),children:[t.jsxs("div",{className:"toolbar__row",children:[d,a&&(Array.isArray(a)?a:[a]).map((p,m)=>t.jsx(Bn,{size:40,...p},p.ariaLabel??m))]}),h&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(Nn,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??u("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??u("common.search","\uAC80\uC0C9"),clearable:!0}),r?.map((p,m)=>t.jsx(Wt,{size:40,options:p.options,value:p.value,onChange:p.onChange,ariaLabel:p.ariaLabel},m)),o&&t.jsx(Wt,{size:40,options:o.options,value:o.value,onChange:o.onChange,ariaLabel:o.ariaLabel??u("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&t.jsx(wa,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel}),l]})})]})}function Si(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(Si).join(""):""}function $g(e){let n=e.replace(/\r\n/g,`
831
+ and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},Yf={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},Xf={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},Jf={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},Qf={answer:"Answer",distractor:"Distractor"},eC={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},tC={clearAriaLabel:"Clear input"},nC={ariaLabel:"Select tab"},aC={ariaLabel:"Tabs"},rC={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},oC={ariaLabel:"User avatar"},sC={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},iC={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},lC={import:"Add to my trainings",publisher:"Publisher",time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},cC={manage:{unit:"item(s)"}},uC={cancelLabel:"Cancel"},dC={subtitle:"Select a topic to start listening practice."},pC={steps:"Step {{current}} of {{total}}"},hC={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},mC={resetColumns:"Reset column widths"},fC={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},CC={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},gC={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},bC={previewRegion:"Report preview \u2014 scrollable sideways"},yC={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},vC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},xC={clearSelection:"Clear selection"},_C={showResult:"Show {{type}} result"},wC={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},kC={loading:"Loading"},AC={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},NC={ariaLabel:"Breadcrumb"},BC={common:mf,calendar:ff,passCard:Cf,searchField:gf,rating:bf,colorPicker:yf,dropdown:vf,accordion:xf,header:_f,nav:wf,settings:kf,usage:Af,account:Nf,help:Bf,training:Df,trainingSettings:Sf,customers:Tf,payment:jf,coupons:Ef,visits:Mf,company:Lf,trainingType:$f,myWordTraining:Rf,myWordTable:Pf,keyWords:If,wordTable:Ff,wordSearch:Of,wordPrint:Hf,topic:Vf,accessLinkManager:zf,login:Wf,device:qf,manager:Uf,wordPairs:Gf,game:Kf,footer:Zf,landing:Yf,date:Xf,trainingSetPage:Jf,wordTrainingPreview:Qf,wordData:eC,textField:tC,segmentedControl:nC,tabs:aC,fileUpload:rC,avatar:oC,myHomework:sC,trainingStatus:iC,store:lC,homework:cC,inquiry:uC,trainingPlanRun:dC,progress:pC,trainingMiss:hC,table:mC,wordScore:fC,topBanner:CC,datePicker:gC,report:bC,tooltip:yC,phonemeProfile:vC,bulkBar:xC,debug:_C,badge:wC,loader:kC,soundCompass:AC,breadcrumb:NC};const DC=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],pi="ko",SC="ihab_display_language";function hi(){try{const e=localStorage.getItem(SC);if(e&&DC.some(n=>n.code===e))return e}catch{}return pi}function mi(e){try{document.documentElement.lang=e}catch{}}Pt.on("languageChanged",mi),mi(hi()),Pt.use(me.initReactI18next).init({resources:{ko:{translation:hf},en:{translation:BC}},lng:hi(),fallbackLng:pi,interpolation:{escapeValue:!1},react:{useSuspense:!1}});function fi(e){if(!(e==null||e===""))return Xn(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}function TC(e){const n=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(n)?"manager":"speechear"}function jC(e){if(e.durationDays&&e.durationDays>0){const s=e.durationDays;return s%365===0?`${s/365}\uB144`:`${s}\uC77C`}const n=(e.code??"").match(/(\d+)(d|y)\b/i);if(n)return n[2].toLowerCase()==="y"?`${n[1]}\uB144`:`${n[1]}\uC77C`;const a=e.name??"",r=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);if(r)return r[1].replace(/\s+/g,"");const o=a.match(/(\d+)\s*-?\s*(day|year)s?\b/i);return o?o[2].toLowerCase()==="year"?`${o[1]}\uB144`:`${o[1]}\uC77C`:a||"\uC774\uC6A9\uAD8C"}function EC(e){const n=(e??"").match(/(\d+)(d|y)\b/i);if(!n)return null;const a=Number(n[1]);return n[2].toLowerCase()==="y"?a*365:a}function Ci(e){return{type:e.type??TC(e),plan:jC(e),label:e.label,price:fi(e.price),originalPrice:fi(e.originalPrice),discountLabel:e.discountLabel}}var MC='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',LC='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>',$C='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',RC='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',PC='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>',IC='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',gi='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 Nn={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},hr=new WeakMap;function FC(e){if(e)return hr.get(e)}function rn(e,n){e&&(e.style.setProperty(Nn.text,n.text),e.style.setProperty(Nn.sub,n.sub),n.copyrightColor&&e.style.setProperty(Nn.copyright,n.copyrightColor),hr.set(e,n))}function on(e){e&&(e.style.removeProperty(Nn.text),e.style.removeProperty(Nn.sub),e.style.removeProperty(Nn.copyright),hr.delete(e))}const bi={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function yi(e={}){const n=rt(bi,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-two-circle__c1"}),t.jsx("div",{className:"pass-card-bg-two-circle__c3"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${gi}")`}})]})}const vi="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 ta='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 OC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},HC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function xi(e={}){const n=rt(OC,rn,on),a="var(--color-main)",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[t.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:HC.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:vi,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const VC={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},zC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function WC(e={}){const n=rt(VC,rn,on),a="#ffffff",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[t.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:zC.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:vi,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${gi}")`}})]})}const qC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function UC(e={}){const n=rt(qC,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const GC={Logo_speechear_kr:{"":dr,_white:MC,_textWhite:LC,_black:$C},Logo_speechearManager_kr:{"":pr,_white:RC,_textWhite:PC,_black:IC}};function KC(e,n){if(e)return GC[e]?.[n??""]??void 0}const ZC={speechear:dr,manager:pr},YC={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},_i=10;function XC(e,n){if(e<=0)return n("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return n("passCard.remainingDay",{n:a});const r=Math.floor(e/3600);if(r>0)return n("passCard.remainingHour",{n:r});const o=Math.floor(e/60);return o>0?n("passCard.remainingMinute",{n:o}):n("passCard.remainingSecond",{n:Math.floor(e)})}function JC(e,n,a){if(e==="manager"){const r=/년/.test(n)||/yr|year/i.test(n)||/1년|365/.test(n),o=a==="\uC624\uD508\uD2B9\uAC00"||a===Pt.t("passCard.specialLabel");return r?t.jsx(UC,{}):o?t.jsx(WC,{}):t.jsx(xi,{})}return t.jsx(yi,{})}function wi({product:e,showPrice:n=!1,plan:a,type:r,endDate:o,remainingSeconds:s,state:l="active",bg:c,bgOnly:u=!1,textColor:d,subColor:p,copyrightColor:h,logoSrc:m,label:y,price:f,originalPrice:g,discountLabel:C,onUse:v,onRefund:_,onDelete:k}){const{t:b}=me.useTranslation(),w=e?Ci(e):void 0,x=r??w?.type??"speechear",N=a??w?.plan??"\uC774\uC6A9\uAD8C",j=y??w?.label,A=f??(n?w?.price:void 0),D=g??(n?w?.originalPrice:void 0),F=C??w?.discountLabel,P=i.useMemo(()=>{if(A)return null;const Z=e?.durationDays??EC(e?.code);if(!Z||Z<=0)return null;const ue=Z*86400;let J;if(s!=null)J=s;else if((l==="active"||l==="expired")&&o){const we=new Date(o).getTime();if(Number.isNaN(we))return null;const de=new Date;de.setHours(0,0,0,0);const X=new Date(we);X.setHours(0,0,0,0);const ne=Math.round((X.getTime()-de.getTime())/864e5);J=Math.max(0,ne)*86400}else l==="expired"?J=0:J=ue;const ye=Math.max(0,Math.min(100,Math.floor(Math.min(J,ue)/ue*100)));return l==="pending"&&ye>=100?null:{percent:ye,remainingLabel:XC(J,b)}},[A,l,o,s,e?.durationDays,e?.code,b]),S=i.useRef(null),[V,L]=i.useState({}),[te,E]=i.useState(null),O=!!(v||_||k),Q=i.useRef(!1),W=i.useRef(void 0),[M,T]=i.useState(m);i.useLayoutEffect(()=>{T(m)},[m]),i.useLayoutEffect(()=>{const Z=S.current;Z&&(d!==void 0&&Z.style.setProperty("--pass-card-text",d),p!==void 0&&Z.style.setProperty("--pass-card-sub",p),h!==void 0&&Z.style.setProperty("--pass-card-copyright",h))},[d,p,h]),i.useLayoutEffect(()=>{const Z=S.current;if(!Z)return;const ue=FC(Z);if(!m){const J=YC[x],ye=l==="expired"?"_black":ue?.logoColor??"",we=KC(J,ye);T(we)}},[c,m,x,l]);const $=Z=>{const ue=S.current;if(!ue)return null;const{left:J,top:ye,width:we,height:de}=ue.getBoundingClientRect(),X=(Z.clientX-J)/we-.5;return{rotateX:-((Z.clientY-ye)/de-.5)*_i,rotateY:X*_i}},R=(Z,ue)=>{const J=ue*-.7,ye=Z*.7+10,we=20+(Math.abs(Z)+Math.abs(ue))*.4;return`${J}px ${ye}px ${we}px rgba(0, 0, 0, 0.18)`},G=i.useCallback(Z=>{Q.current=!0,clearTimeout(W.current),W.current=setTimeout(()=>{Q.current=!1},200);const ue=$(Z);ue&&L({transform:`perspective(800px) rotateX(${ue.rotateX}deg) rotateY(${ue.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:R(ue.rotateX,ue.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)"})},[]),I=i.useCallback(Z=>{const ue=$(Z);if(!ue)return;const J=Q.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";L({transform:`perspective(800px) rotateX(${ue.rotateX}deg) rotateY(${ue.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:R(ue.rotateX,ue.rotateY),transition:J})},[]),U=i.useCallback(()=>{clearTimeout(W.current),Q.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)"})},[]),z=i.useCallback(()=>E(null),[]),ie=i.useMemo(()=>{const Z=N.replace("\uC774\uC6A9\uAD8C","").trim(),ue=Z.match(/^(.*?)(일|년)$/);return ue?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"h0 pass-card__plan-number",children:ue[1]}),t.jsx("span",{className:"h5b pass-card__plan-unit",children:ue[2]==="\uB144"?b("passCard.unitYear","\uB144"):b("passCard.unitDay","\uC77C")})]}):t.jsx("span",{className:"h0",children:Z})},[N,b]),ce=i.useMemo(()=>{const Z=Xn(A);if(!Z)return null;const ue=Z.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!ue)return t.jsx("span",{className:"h1",children:Z});const[,J,ye,we]=ue;return t.jsxs(t.Fragment,{children:[J&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:J}),t.jsx("span",{className:"h1 pass-card__price-amount",children:ye}),we.trim()&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:we.trim()})]})},[A]),be=i.useCallback(()=>{O&&E(Z=>{if(Z)return null;const ue=S.current?.getBoundingClientRect();if(!ue)return null;const J=50;return{left:ue.left,right:ue.right,width:ue.width,height:ue.height,x:ue.x,y:ue.y+J,top:ue.top+J,bottom:ue.bottom+J}})},[O]),ve=i.useCallback(Z=>{O&&(Z.key==="Enter"||Z.key===" ")&&(Z.preventDefault(),be())},[O,be]),fe=[{items:[...v?[{label:b("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{v(),E(null)},closeOnSelect:!0}]:[],..._?[{label:b("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{_(),E(null)},closeOnSelect:!0}]:[],...k?[{label:b("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{k(),E(null)},closeOnSelect:!0}]:[]]}];return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card-frame",children:t.jsxs("div",{ref:S,className:`pass-card pass-card--${l}${O?" pass-card--clickable":""}`,style:V,onMouseEnter:G,onMouseMove:I,onMouseLeave:U,onClick:be,onKeyDown:O?ve:void 0,role:O?"button":void 0,tabIndex:O?0:void 0,children:[c??JC(x,N,j),!u&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card__top",children:t.jsxs("div",{className:"pass-card__top-left",children:[t.jsx("img",{src:M??ZC[x],className:"pass-card__logo",alt:x==="manager"?b("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):b("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),t.jsxs("div",{className:"pass-card__plan",children:[t.jsx("div",{children:ie}),t.jsx("span",{className:"h5b pass-card__plan-suffix",children:j?b("passCard.labeledPlan",{label:j}):b("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),A?t.jsxs("div",{className:"pass-card__price-area",children:[F&&t.jsx("span",{className:"pass-card__discount body-3",children:F}),t.jsxs("div",{className:"pass-card__price",children:[D&&t.jsx("span",{className:"pass-card__price-original body-3",children:Xn(D)}),ce]})]}):P?t.jsxs("div",{className:"pass-card__usage",children:[t.jsx("span",{className:"h5b pass-card__usage-remaining",children:P.remainingLabel}),t.jsxs("span",{className:"pass-card__usage-percent",children:[t.jsx("span",{className:"h1 pass-card__usage-value",children:P.percent}),t.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):t.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),te&&t.jsx(pn,{anchorRect:te,onClose:z,ariaLabel:b("tooltip.menu","\uBA54\uB274"),children:t.jsx(_a,{columns:fe,onClose:z,size:"small"})})]})}const QC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function eg(e={}){const n=`passcard-sound-line-grad-${i.useId()}`,a=rt(QC,rn,on);return t.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[t.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:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"1",y2:"0",children:[t.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),t.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),t.jsx("g",{transform:"translate(25, 45)",children:t.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(#${n})`,strokeWidth:"50",strokeLinecap:"round"})})]}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}const tg={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function ng(e={}){const n=rt(tg,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}function ag(e,n){if(e){if(n==="manager_pro")return t.jsx(ng,{});if(n==="manager_standard")return t.jsx(eg,{});if(n==="manager_lite")return t.jsx(xi,{})}}function rg(e){const n=Xn(e);if(!n)return null;const a=n.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return n;const[,r,o,s]=a;return t.jsxs(t.Fragment,{children:[r&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:r}),o,s.trim()&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:s.trim()})]})}function og(e){const{t:n}=me.useTranslation(),a=n("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),r=n("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:o,onSelect:s,period:l="monthly",ownedCodes:c}=e||{},u=b=>!!b&&!!c?.includes(b),d=b=>b.onceOnly??/오픈\s*특가/.test(b.label??""),p=(o.tiers||[]).some(b=>d(b)&&u(b.code)),h=b=>{const w=b.prices?b.prices[l]:b.price;return w?(o.tiers||[]).some(x=>!!x.badge&&x.originals?.[l]===w):!1},m=o.colorToken?`var(--color-${o.colorToken})`:"var(--color-gray)",y=n("payment.plan.freePrice","\uBB34\uB8CC"),f=n("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),g=b=>b.prices?b.prices[l]:b.price,C=(o.tiers||[]).length>0&&(o.tiers||[]).every(b=>{const w=g(b);return w==="\uBB34\uB8CC"||w===y||w==="0\uC6D0"||typeof w=="string"&&/\d/.test(w)&&!/[1-9]/.test(w)}),v=(o.tiers||[]).length>0&&(o.tiers||[]).every(b=>{const w=g(b);return w==="\uBB38\uC758"||w===f}),_=o.group==="org",k=_?"manager":"speechear";return t.jsxs("div",{className:"payment-plan__card",style:{borderColor:m,"--plan-color":m},children:[o.cardBadge&&t.jsx("div",{className:"payment-plan__card-badge",children:t.jsx(ot,{label:o.cardBadge,variant:"main",size:"medium",fill:"soft"})}),t.jsxs("div",{className:"payment-plan__title",children:[t.jsx("p",{className:"payment-plan__quote body-3b",style:{color:m},children:o.quote||"\xA0"}),t.jsx("h3",{className:"payment-plan__title-heading h1",children:o.tier??o.title}),t.jsx("p",{className:"payment-plan__subtitle body-3",children:o.subtitle})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.recommendedFor||[]).map((b,w)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:m}}),b]},w))})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.features||[]).map((b,w)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:m}}),b]},w))})]}),t.jsx("div",{className:"payment-plan__card-pricing",children:C?null:v?t.jsx(oe,{htmlType:"button",className:"payment-plan__contact-button",label:n("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>o.tiers?.[0]&&s?.({...o.tiers[0],productId:o.id,productTitle:o.title})}):t.jsx(t.Fragment,{children:t.jsx("div",{className:"payment-plan__pricing-list",children:(o.tiers||[]).map(b=>{const w=b.label||a,x=d(b),N=x||b.openPromo===!0,j=w.replace(/^오픈\s*특가\s*/,"")||a,A=b.prices?b.prices[l]:b.price,D=b.badge?N?`${r}
832
+ ${b.badge}`:b.badge:void 0;if(x&&u(b.code))return null;if(!b.badge&&!p)return h(b)?null:t.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${b.highlight?" payment-plan__pricing-row--highlight":""}`,children:[t.jsx("div",{className:"payment-plan__pricing-row-title",children:t.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:b.label})}),t.jsx("div",{className:"payment-plan__pricing-row-price",children:t.jsx("span",{className:"payment-plan__pricing-current h1",children:rg(A)})})]},b.id);const F=o.tier??(_?o.title:void 0),P=t.jsx(wi,{showPrice:!0,product:{type:k,code:b.code,name:j,label:F,price:A,originalPrice:b.originals?.[l]??void 0,discountLabel:D},bg:ag(_,o.id)}),S=()=>s?.({...b,productId:o.id,productTitle:o.title,preview:P});return t.jsx("div",{className:"payment-plan__pricing-card",onClick:S,onKeyDown:s?V=>{V.target===V.currentTarget&&(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),S())}:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,children:P},b.id)})})})})]})}function sg({variant:e="default"}){return t.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var mr='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 ki={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function ig(){const e=rt(ki,rn,on);return t.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${mr}")`}})})}const Ai={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function lg(e={}){const n=rt(Ai,rn,on);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),t.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${ta}")`}})]})}function Ni({keys:e,anchor:n="top-right",scale:a,className:r=""}){const o=Array.isArray(e)?e:[e];return t.jsx("span",{className:_e("shortcut-badge",`shortcut-badge--${n}`,r),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:o.map((s,l)=>t.jsxs("span",{className:"shortcut-badge__group",children:[l>0&&t.jsx("span",{className:"shortcut-badge__plus",children:"+"}),t.jsx("kbd",{className:"shortcut-badge__key",children:s})]},`${s}-${l}`))})}const na=(e,n,a)=>e+(n-e)*a;function cg({speakers:e,size:n=300,viewT:a=0,activeSpeakerId:r=null,playedIds:o,selectedId:s=null,answerId:l=null,showFeedback:c=!1,pulseSelected:u=!1,pulseSelectedDuration:d,pulseScale:p,clickable:h=!1,onSelectSpeaker:m,buttonSize:y=40,showIcon:f=!0,onCenterClick:g,centerLabel:C,centerDisabled:v=!1,centerAttention:_=!1,shortcutAnchor:k="top-right",shortcutScale:b,scaleShortcut:w=!1}){const{t:x}=me.useTranslation(),N=Math.max(0,Math.min(1,a)),j=n/2,A=110/300,D=.18,F=J=>n*(A+(J-1)*D),P=J=>{const ye=F(J.row??1),we=J.angleDeg*Math.PI/180;return{x:j+ye*Math.cos(we),y:j+ye*Math.sin(we)}},S=Math.max(...e.map(J=>J.row??1),1),V=n*.08,L=n*.1,te=n*.24,E=n-2*V,O=n-L-te,Q=n-te/2,W=i.useMemo(()=>[...new Set(e.map(J=>J.deg))].sort((J,ye)=>J-ye),[e]),M=W.length,T=Math.max(68,M>1?E/(M-1):0),$=i.useMemo(()=>new Map(W.map((J,ye)=>[J,ye])),[W]),R=J=>{const ye=$.get(J.deg)??0,we=j+(ye-(M-1)/2)*T,de=S>1?Math.min(68,O/(S-1)):0,X=de*(S-1),ne=L+(O-X)/2,Ae=S===1?L+O*.4:ne+(S-(J.row??1))*de;return{x:we,y:Ae}},G=J=>{const ye=P(J),we=R(J);return{x:na(ye.x,we.x,N),y:na(ye.y,we.y,N)}},I={x:j,y:na(j,Q,N)},U=Math.round(y*1.2),z=Math.round(Math.max(16,Math.min(80,y*.7))),ie=[],ce=new Map;for(const J of e){const ye=J.row??1;ce.has(ye)||ce.set(ye,[]),ce.get(ye).push(J)}for(const[J,ye]of ce.entries()){if(ye.length<2)continue;const we=[...ye].sort((Ee,Ce)=>Ee.deg-Ce.deg),de=we.map(Ee=>G(Ee)),X=we.map(Ee=>Ee.deg),ne=X[X.length-1]-X[0],Ae=ne/(X.length-1),se=360-ne,Ne=we.length>=3&&Ae>0&&se<=Ae*1.5,Be=Math.round(F(J)*1e3)/1e3,Oe=(Ee,Ce,Le,Se)=>{const Fe=(Ce.angleDeg-Ee.angleDeg+540)%360-180;if(Fe===0)return`L ${Se.x} ${Se.y}`;if(N===0)return`A ${Be} ${Be} 0 0 ${Fe>0?1:0} ${Se.x} ${Se.y}`;const $e=(Ee.angleDeg+Fe/2)*Math.PI/180,Ve={x:j+Be*Math.cos($e),y:j+Be*Math.sin($e)},Ke={x:(Le.x+Se.x)/2,y:(Le.y+Se.y)/2},st={x:na(Ve.x,Ke.x,N),y:na(Ve.y,Ke.y,N)},qe={x:2*st.x-Ke.x,y:2*st.y-Ke.y};return`Q ${qe.x} ${qe.y} ${Se.x} ${Se.y}`},He=Ne?[...we,we[0]]:we,Me=Ne?[...de,de[0]]:de;let Ue=`M ${Me[0].x} ${Me[0].y}`;for(let Ee=1;Ee<Me.length;Ee++)Ue+=" "+Oe(He[Ee-1],He[Ee],Me[Ee-1],Me[Ee]);ie.push({key:`arc-${J}`,d:Ue})}const be=i.useMemo(()=>new Set(o??[]),[o]),ve=J=>({idle:"",active:x("soundCompass.state.active","\uC18C\uB9AC \uB098\uB294 \uC911"),played:x("soundCompass.state.played","\uB4E4\uC74C"),correct:x("soundCompass.state.correct","\uC815\uB2F5"),wrong:x("soundCompass.state.wrong","\uC624\uB2F5")})[J],fe=J=>{if(r===J.id)return"active";if(c){if(J.id===l)return"correct";if(J.id===s&&s!==l)return"wrong"}return be.has(J.id)?"played":"idle"},Z=J=>r===J.id?"loop":c?J.id===l?"loop":null:u&&J.id===s?"once":null,ue=(J,ye)=>{switch(J){case"played":case"correct":return t.jsx(po,{size:ye});case"wrong":return t.jsx(_o,{size:ye});default:return t.jsx(xo,{size:ye})}};return t.jsx("div",{className:"sound-compass",children:t.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:n,height:n},children:[t.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:"sound-compass__svg",children:[N===0&&e.map(J=>{const{x:ye,y:we}=G(J);return t.jsx("line",{x1:I.x,y1:I.y,x2:ye,y2:we,stroke:"#dde3ec",strokeWidth:"1"},J.id)}),ie.map(J=>t.jsx("path",{d:J.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},J.key))]}),_&&!v&&t.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:U,height:U,left:I.x-U/2,top:I.y-U/2}}),g?t.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${v?" sound-compass__center--disabled":""}`,style:{width:U,height:U,left:I.x,top:I.y},"aria-label":C,"aria-disabled":v||void 0,tabIndex:v?-1:0,onClick:v?void 0:g,children:t.jsx(Ia,{size:z,color:"currentColor",strokeWidth:1.5})}):t.jsx("div",{className:"sound-compass__center",style:{width:U,height:U,left:I.x,top:I.y},children:t.jsx(Ia,{size:z,color:"currentColor",strokeWidth:1.5})}),e.map((J,ye)=>{const{x:we,y:de}=G(J),X=fe(J),ne=Z(J),Ae={...b!==void 0||w?{"--shortcut-badge-scale":String(b??Math.max(.75,Math.min(3,y/56)))}:null,pointerEvents:h?"auto":"none",cursor:h?"pointer":"default",zIndex:X!=="idle"?10:1},se=y,Ne=Math.round(Math.max(10,Math.min(56,se*.38))),Be=Math.round(Math.max(7,Math.min(18,se*.2))),Oe=Math.round(Math.max(10,Math.min(56,se*.4))),He=f==="answered"&&(X==="played"||X==="correct"||X==="wrong"),Me=f===!0||He,Ue=!He;return t.jsxs("div",{className:"sound-compass__speaker-pos",style:{...Ae,left:we-se/2,top:de-se/2},children:[ne&&t.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${X}`+(ne==="once"?" sound-compass__pulse--once":""),style:{width:se,height:se,...ne==="once"&&d!==void 0?{"--sc-pulse-duration-once":`${d}ms`}:null,...p!==void 0?{"--sc-pulse-scale":String(p)}:null}}),t.jsxs("button",{type:"button",tabIndex:h?0:-1,"aria-disabled":h?void 0:!0,onClick:h?()=>m?.(J.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${X}`,style:{width:se,height:se},"aria-label":ve(X)?`${J.label}, ${ve(X)}`:J.label,"aria-pressed":s!=null?J.id===s:void 0,children:[Me&&ue(X,Ne),Ue&&t.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:f===!0?Be:Oe},children:ye+1})]}),J.shortcut&&t.jsx(Ni,{keys:J.shortcut,anchor:k,className:"sound-compass__speaker-shortcut"})]},J.id)})]})})}function ug({children:e,position:n="top-left",size:a=24,className:r=""}){return t.jsx("span",{className:_e("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${n}`,r),children:e})}function dg({orientation:e="horizontal",label:n,className:a=""}){const r=_e("divider",`divider--${e}`,n&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?t.jsx("div",{className:r,role:"separator","aria-orientation":"vertical"}):n?t.jsxs("div",{className:r,role:"separator","aria-orientation":"horizontal",children:[t.jsx("span",{className:"divider__line"}),t.jsx("span",{className:"divider__label caption-1",children:n}),t.jsx("span",{className:"divider__line"})]}):t.jsx("div",{className:r,role:"separator","aria-orientation":"horizontal"})}function Bi({checked:e,onChange:n,name:a,value:r,disabled:o=!1,label:s,className:l=""}){const c=i.useId();return t.jsxs("label",{className:`radio${o?" radio--disabled":""} ${l}`.trim(),htmlFor:c,children:[t.jsx("input",{id:c,type:"radio",name:a,value:r,checked:e,disabled:o,onChange:u=>n?.(u.target.checked)}),t.jsx("span",{className:"radio__dot"}),s&&t.jsx("span",{className:"radio__label body-2",children:s})]})}function pg({options:e,value:n,onChange:a,name:r,disabled:o=!1,direction:s="vertical",className:l="",ariaLabel:c}){const u=i.useId(),d=r??`radio-group-${u}`;return t.jsx("div",{className:`radio-group radio-group--${s} ${l}`.trim(),role:"radiogroup","aria-label":c,children:e.map(p=>t.jsx(Bi,{name:d,value:p.value,checked:n===p.value,disabled:o||p.disabled,label:p.label,onChange:h=>{h&&a?.(p.value)}},p.value))})}const hg={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function mg({tone:e="info",title:n,message:a,children:r,dismissible:o=!1,onDismiss:s,className:l=""}){const{t:c}=me.useTranslation(),[u,d]=i.useState(!1),p=i.useCallback(()=>{d(!0),s?.()},[s]);if(u)return null;const h=_e("alert",`alert--${e}`,l),m=!!n,y=!!(a||r);return t.jsxs("div",{className:h,role:"alert",children:[t.jsxs("div",{className:"alert__body",children:[t.jsxs("div",{className:"alert__header",children:[t.jsx(Ie,{icon:hg[e],size:20,className:"alert__icon"}),m&&t.jsx("span",{className:"alert__title body-2",children:n}),!m&&y&&t.jsx("div",{className:"alert__message body-3",children:a??r})]}),m&&y&&t.jsx("div",{className:"alert__message alert__message--indented body-3",children:a??r})]}),o&&t.jsx("button",{type:"button",className:"alert__dismiss",onClick:p,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const fg={ready:"search",guide:"info",error:"circle-alert"};function Cg(e,n){const a=n.filter(Boolean);if(a.length===0)return e;const r=[];let o=0,s=0;for(const l of a){const c=e.indexOf(l,o);c<0||(c>o&&r.push(e.slice(o,c)),r.push(t.jsx("strong",{className:"search-summary__em body-2",children:l},s++)),o=c+l.length)}return o<e.length&&r.push(e.slice(o)),r}function gg({status:e="guide",label:n,children:a,emphasis:r,icon:o,className:s=""}){const l=o===!1?null:o??fg[e],c=_e("search-summary",`search-summary--${e}`,s),u=n??a,d=typeof u=="string"&&r&&r.length>0?Cg(u,r):u;return t.jsxs("div",{className:c,role:"status","aria-live":"polite",children:[l!=null&&t.jsx(Ie,{icon:l,size:18,className:"search-summary__icon"}),t.jsx("span",{className:"search-summary__text body-2",children:d})]})}function aa({title:e,items:n}){const{t:a}=me.useTranslation(),{anchorRect:r,openAt:o,close:s}=xa();return t.jsxs(t.Fragment,{children:[t.jsx(oe,{htmlType:"button",size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!r,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:l=>o(l.currentTarget),onPointerLeave:s,onFocus:l=>o(l.currentTarget),onBlur:s}),r&&t.jsx(kn,{title:e,items:n,showIndex:n.length>1,anchorRect:r,onClose:s})]})}function bg({items:e=[],value:n,onChange:a,className:r="",size:o=40}){const s=i.useId(),{t:l}=me.useTranslation(),c=i.useRef(null),u=e.find(g=>!g.disabled)?.key,d=e.some(g=>g.key===n)?n:u??e[0]?.key,p=e.find(g=>g.key===d&&!g.disabled)?.key??u,h=()=>Array.from(c.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),m=(g,C=h())=>{if(C.length===0)return;const v=(g%C.length+C.length)%C.length;C[v]?.focus(),C[v]?.click()},y=g=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(g.key))return;g.preventDefault();const C=h(),v=C.indexOf(g.currentTarget);g.key==="ArrowRight"||g.key==="ArrowDown"?m(v+1,C):g.key==="ArrowLeft"||g.key==="ArrowUp"?m(v-1,C):g.key==="Home"?m(0,C):m(C.length-1,C)},f=e.find(g=>g.key===d);return t.jsxs("div",{className:`tabs ${r}`.trim(),children:[t.jsx("div",{ref:c,className:`tabs__list tabs__list--${o}`,role:"tablist","aria-label":l("tabs.ariaLabel","\uD0ED"),children:e.map(g=>t.jsx("button",{id:`tabs__tab-${s}-${g.key}`,type:"button",role:"tab","aria-selected":g.key===d,"aria-controls":`tabs__panel-${s}-${g.key}`,disabled:g.disabled,tabIndex:g.key===p?0:-1,className:`tabs__tab body-2${g.key===d?" tabs__tab--active":""}`,onClick:()=>a?.(g.key),onKeyDown:y,children:g.label},g.key))}),f&&t.jsx("div",{id:`tabs__panel-${s}-${f.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${s}-${f.key}`,tabIndex:0,className:"tabs__panel",children:f.panel},f.key)]})}const yg={xs:12,sm:16,md:20,lg:28,xl:36};function vg(e){const n=e.trim().split(/\s+/).filter(Boolean);return n.length===0?"":n.length===1?[...n[0]].slice(0,2).join("").toUpperCase():([...n[0]][0]+[...n[n.length-1]][0]).toUpperCase()}function xg({src:e,name:n,size:a="md",shape:r="circle",className:o=""}){const{t:s}=me.useTranslation(),[l,c]=i.useState(null),u=!!e&&l===e,d=n?vg(n):"",p=!!e&&!u,h=!p&&!!d,m=n||s("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return t.jsxs("span",{className:`avatar avatar--${a} avatar--${r} ${o}`.trim(),role:"img","aria-label":m,children:[p&&t.jsx("img",{className:"avatar__image",src:e,alt:m,onError:()=>c(e??null)}),!p&&h&&t.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:d}),!p&&!h&&t.jsx(Ie,{icon:"user-round",size:yg[a],className:"avatar__icon"})]})}function _g(e,n){if(!n)return!0;const a=n.split(",").map(s=>s.trim()).filter(Boolean);if(a.length===0)return!0;const r=e.name.toLowerCase(),o=e.type.toLowerCase();return a.some(s=>{const l=s.toLowerCase();return l.startsWith(".")?r.endsWith(l):l.endsWith("/*")?o.startsWith(l.slice(0,-1)):o===l})}function wg({onFilesSelected:e,accept:n,multiple:a=!1,disabled:r=!1,showFileList:o=!0,files:s,onRemove:l,className:c=""}){const{t:u}=me.useTranslation(),d=i.useRef(null),[p,h]=i.useState(!1),[m,y]=i.useState([]),f=s??m,g=x=>{if(!x||x.length===0)return;const N=Array.from(x).filter(A=>_g(A,n));if(N.length===0)return;const j=a?N:N.slice(0,1);if(s===void 0){const A=a?[...f,...j]:j;y(A),e?.(A)}else e?.(j)},C=x=>{x.preventDefault(),!r&&h(!0)},v=x=>{x.preventDefault(),h(!1)},_=x=>{x.preventDefault(),h(!1),!r&&g(x.dataTransfer.files)},k=x=>{g(x.target.files),x.target.value=""},b=()=>{r||d.current?.click()},w=x=>{if(l?.(x),s===void 0){const N=f.filter((j,A)=>A!==x);y(N),l||e?.(N)}};return t.jsxs("div",{className:`file-upload ${c}`.trim(),children:[t.jsxs("div",{className:_e("file-upload__dropzone",p&&"file-upload__dropzone--dragging",r&&"file-upload__dropzone--disabled"),role:"button",tabIndex:r?-1:0,"aria-disabled":r,onClick:b,onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),b())},onDragOver:C,onDragLeave:v,onDrop:_,children:[t.jsx(Ie,{icon:"upload",size:24,className:"file-upload__icon"}),t.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")}),t.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:r,onClick:x=>{x.stopPropagation(),b()},children:u("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),t.jsx("input",{ref:d,type:"file",className:"file-upload__input",accept:n,multiple:a,disabled:r,onChange:k,tabIndex:-1})]}),o&&f.length>0&&t.jsx("ul",{className:"file-upload__list",children:f.map((x,N)=>t.jsxs("li",{className:"file-upload__list-item body-3",children:[t.jsx("span",{className:"file-upload__file-name body-3",children:x.name}),t.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":u("fileUpload.removeAriaLabel",{name:x.name}),onClick:()=>w(N),children:t.jsx(Ie,{icon:"x",size:14})})]},`${x.name}-${N}`))})]})}function kg({items:e,className:n=""}){const{t:a}=me.useTranslation();return t.jsx("nav",{className:`breadcrumb ${n}`.trim(),"aria-label":a("breadcrumb.ariaLabel","\uC774\uB3D9 \uACBD\uB85C"),children:t.jsx("ol",{className:"breadcrumb__list",children:e.map((r,o)=>{const s=o===e.length-1;return t.jsxs("li",{className:"breadcrumb__item",children:[s?t.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:r.label}):t.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:r.onClick,children:r.label}),!s&&t.jsx(Ie,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},o)})})})}const Ag={small:14,medium:20,large:28};function Ng({value:e,onChange:n,max:a=5,readOnly:r=!1,size:o="medium",ariaLabel:s,className:l=""}){const{t:c}=me.useTranslation(),u=r||!n,[d,p]=i.useState(null),h=d??e,m=Ag[o],y=b=>{u||n?.(b)},f=b=>{u||p(b)},g=i.useRef(null),C=b=>{const w=Math.min(a,Math.max(1,b));n?.(w),Array.from(g.current?.querySelectorAll("[data-star]")??[]).find(x=>x.dataset.star===String(w))?.focus()},v=b=>{if(!u){switch(b.key){case"ArrowRight":case"ArrowUp":C((e||0)+1);break;case"ArrowLeft":case"ArrowDown":C((e||1)-1);break;case"Home":C(1);break;case"End":C(a);break;default:return}b.preventDefault()}},_=e>=1&&e<=a?Math.round(e):1,k=()=>{u||p(null)};return t.jsx("div",{className:`rating rating--${o}${u?" rating--readOnly":""} ${l}`.trim(),ref:g,onKeyDown:v,role:u?"img":"radiogroup","aria-label":u?c("rating.valueLabel",{value:e,max:a}):s??c("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:k,children:Array.from({length:a},(b,w)=>{const x=w+1,N=Math.max(0,Math.min(1,h-w)),j=N>0&&N<1,A=t.jsxs("span",{className:"rating__star-wrap",children:[t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--empty"}),N>0&&t.jsx("span",{className:`rating__star-fill${j?" rating__star-fill--half":""}`,children:t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--filled"})})]});return u?t.jsx("span",{className:"rating__item","aria-hidden":"true",children:A},x):t.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":e===x,"aria-label":c("rating.starLabel",{n:x}),"data-star":x,tabIndex:x===_?0:-1,onClick:()=>y(x),onMouseEnter:()=>f(x),children:A},x)})})}const Bg=20,Dg=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function Sg({value:e,onChange:n,palette:a=Dg,size:r=40,className:o="",ariaLabel:s}){const{t:l}=me.useTranslation();return t.jsx("div",{className:`color-picker ${o}`.trim(),role:"group","aria-label":s,children:a.map(c=>{const u=e?.toLowerCase()===c.toLowerCase();return t.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${r}`,style:{backgroundColor:c},onClick:()=>n(c),"aria-pressed":u,"aria-label":u?`${c} ${l("colorPicker.selected","\uC120\uD0DD\uB428")}`:c,children:u&&t.jsx(Ie,{icon:"check",size:Bg,className:"color-picker__check"})},c)})})}function Tg({icon:e,count:n,title:a,className:r="",onClick:o,onMouseEnter:s,onMouseLeave:l}){const c=_e("count-tile",o&&"count-tile--clickable",r);return t.jsxs("div",{className:c,onClick:o,onKeyDown:o?u=>{u.key!=="Enter"&&u.key!==" "||(u.preventDefault(),u.currentTarget.click())}:void 0,onMouseEnter:s,onMouseLeave:l,role:o?"button":"img",tabIndex:o?0:void 0,"aria-label":a?`${a} ${n}`:String(n),children:[t.jsx(Ie,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]})}let ra=0,Di="",Si="",oa=0;function Ti(){return ji(!1)}function jg(){return ji(!0)}function ji(e){const n=typeof document<"u";ra===0&&n&&(Di=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(oa===0&&(Si=document.body.style.paddingRight),oa++,document.body.style.paddingRight="0px"),ra++;let a=!1;return()=>{a||(a=!0,ra=Math.max(0,ra-1),e&&n&&(oa=Math.max(0,oa-1),oa===0&&(document.body.style.paddingRight=Si)),ra===0&&n&&(document.body.style.overflow=Di))}}function Eg(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Mg({open:e,onClose:n,ariaLabel:a,title:r,children:o,size:s="md",closeOnBackdrop:l=!0,closeOnEscape:c=!0,showClose:u=!0,className:d,contentClassName:p}){const{t:h}=me.useTranslation(),m=i.useId(),y=i.useRef(null),f=i.useCallback(()=>n(),[n]);i.useEffect(()=>{if(!e)return;const _=document.activeElement,k=Ti(),b=y.current;return b?.focus(),()=>{k();const w=document.activeElement;(!w||w===document.body||b&&b.contains(w))&&_?.focus?.()}},[e]);const g=i.useRef(f),C=i.useRef(c);i.useEffect(()=>{g.current=f,C.current=c}),i.useEffect(()=>{if(e)return wn(()=>{C.current&&g.current()})},[e]);const v=i.useRef(!1);return rr(y,e),!e||typeof document>"u"?null:It.createPortal(t.jsx("div",{className:_e("dialog",d),onPointerDown:l?_=>{v.current=_.target===_.currentTarget}:void 0,onMouseDown:_=>{_.target===_.currentTarget&&_.preventDefault()},onClick:l?_=>{const k=v.current;v.current=!1,k&&_.target===_.currentTarget&&f()}:void 0,children:t.jsxs("div",{ref:y,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?m:void 0,tabIndex:-1,className:_e("dialog__surface",`dialog__surface--${s}`,p),onClick:_=>_.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:m,className:"dialog__title h4b",children:r})}):null,u?t.jsx("button",{type:"button",className:"dialog__close","aria-label":h("common.close","\uB2EB\uAE30"),onClick:f,children:t.jsx(Eg,{})}):null,t.jsx("div",{className:"dialog__body",children:o})]})}),document.body)}function Lg({columns:e,rows:n,rowKey:a,title:r,toolbar:o,empty:s="\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",loading:l,caption:c,className:u=""}){const d=!l&&n.length===0;return t.jsxs("div",{className:_e("board",u),children:[r||o?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),o?t.jsx("div",{className:"board__toolbar",children:o}):null]}):null,t.jsxs("table",{className:"board__table",children:[c?t.jsx("caption",{className:"board__caption",children:c}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(p=>t.jsx("th",{scope:"col",className:_e("board__th",`board__cell--${p.headerAlign??p.align??"left"}`),style:p.width?{width:p.width}:void 0,children:p.header},p.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):d?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:s})}):n.map((p,h)=>t.jsx("tr",{className:"board__row",children:e.map(m=>t.jsx("td",{className:_e("board__td",`board__cell--${m.align??"left"}`),children:m.render(p,h)},m.key))},a(p,h)))})]})]})}function $g({name:e,role:n,photo:a,media:r,credentials:o,size:s=190,className:l=""}){return t.jsxs("div",{className:_e("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:s,height:s},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,o?.length?t.jsx("ul",{className:"person-card__credentials",children:o.map(c=>t.jsx("li",{children:c},c))}):null]})}function Rg({groups:e,className:n=""}){return t.jsx("div",{className:_e("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,o)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((s,l)=>t.jsx("p",{children:s},l))})]},`${r.label??""}-${o}`))})]},a.title))})}function Pg({title:e,kind:n,body:a,badge:r,badgeSrc:o,footer:s,width:l,className:c=""}){const u=r??(o?t.jsx("img",{src:o,alt:""}):null);return t.jsxs("div",{className:_e("publication-card",c),style:l?{width:l,flexShrink:0}:void 0,children:[u?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:u}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),s?t.jsx("div",{className:"publication-card__footer",children:s}):null]})}function Ig({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const o=ir(a);return i.useEffect(()=>{if(!o.current)return;const s=setTimeout(()=>o.current?.(),r);return()=>clearTimeout(s)},[r,o]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function Fg({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:o=2,tone:s="dark",className:l=""}){const c=o===1?"h1":"h2";return t.jsxs("div",{className:_e("section-header",`section-header--${s}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(c,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function Og({items:e,className:n=""}){return t.jsx("ul",{className:_e("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Ei({value:e,onChange:n,suggestions:a,openOnFocus:r=!1}){const o=i.useId(),[s,l]=i.useState(!1),[c,u]=i.useState(-1),d=i.useRef(null),p=i.useMemo(()=>{if(!a.length)return[];const v=e??"";return v?a.filter(_=>_.toLowerCase().includes(v.toLowerCase())):r?a:[]},[a,e,r]);i.useEffect(()=>{s||u(-1)},[s]),i.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]);const h=c<p.length?c:-1,m=i.useCallback(v=>{n?.(v),l(!1)},[n]),y=i.useCallback(()=>l(!0),[]),f=i.useCallback(()=>{l(!0),u(-1)},[]),g=i.useCallback(()=>{d.current=setTimeout(()=>l(!1),120)},[]),C=i.useCallback(v=>{v.key==="ArrowDown"?(v.preventDefault(),l(!0),u(_=>Math.min(p.length-1,(_<p.length?_:-1)+1))):v.key==="ArrowUp"?(v.preventDefault(),u(_=>Math.max(-1,(_<p.length?_:p.length)-1))):v.key==="Enter"?h>=0&&!v.nativeEvent.isComposing&&m(p[h]):v.key==="Escape"&&s&&(v.preventDefault(),l(!1))},[p,h,s,m]);return{listId:o,open:s,activeIdx:h,filtered:p,handleFocus:y,handleBlur:g,handleInput:f,handleKeyDown:C,handleSelect:m}}function Bn(e){const{value:n,defaultValue:a,name:r,inputRef:o,onChange:s,label:l,ariaLabel:c,required:u,placeholder:d,type:p="text",disabled:h=!1,readOnly:m=!1,error:y,helperText:f,maxLength:g,size:C=48,variant:v="input",fullWidth:_=!1,newline:k=!1,multiline:b=!1,rows:w=3,leftIcon:x,rightIcon:N,clearable:j=!1,list:A,showCount:D=!0,className:F="",onFocus:P,onBlur:S,onKeyDown:V,onEnter:L,inputMode:te,autoComplete:E,autoFocus:O,suggestions:Q,openOnFocus:W=!1}=e,{t:M}=me.useTranslation(),T=i.useId();!l&&!c&&Vn(`TextField:unnamed:${T}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const $=`tf-${T}`,R=`tf-helper-${T}`,G=i.useRef(null),I=Ei({value:n??"",onChange:s,suggestions:Q??[],openOnFocus:W}),U=!!Q&&I.open&&I.filtered.length>0,z=i.useCallback(se=>{G.current=se,typeof o=="function"?o(se):o&&(o.current=se)},[o]),ie=n!==void 0,ce=ie&&p==="password",[be,ve]=i.useState((a??"").length),fe=ie?(n??"").length:be,Z=i.useRef(n);i.useLayoutEffect(()=>{Z.current=n}),i.useEffect(()=>{const se=G.current;if(!ce||!se)return;const Ne=n??"";se.value!==Ne&&(se.value=Ne)},[ce,n]),i.useEffect(()=>{if(!k||!G.current)return;const se=G.current;se.style.height="",se.scrollHeight>se.clientHeight&&(se.style.height=`${se.scrollHeight}px`)},[n,be,k]);const ue=g!=null&&fe>g,J=C===32?16:20,ye=_e("text-field",`text-field--s${C}`,v==="display"?"text-field--display":"",_?"text-field--full-width":"",h?"text-field--disabled":"",m?"text-field--readonly":"",y?"text-field--error":"",x?"text-field--has-left-icon":"",N||j?"text-field--has-right-icon":"",F),we={id:$,...ce?{}:ie?{value:n}:{defaultValue:a},ref:z,placeholder:d,name:r,disabled:h,readOnly:m,autoFocus:O,maxLength:g,list:A,inputMode:te,autoComplete:E,"aria-label":!l&&c?c:void 0,"aria-required":u,"aria-invalid":!!y,"aria-describedby":f||y?R:void 0,role:Q?"combobox":void 0,"aria-autocomplete":Q?"list":void 0,"aria-haspopup":Q?"listbox":void 0,"aria-expanded":Q?I.open:void 0,"aria-controls":U?I.listId:void 0,"aria-activedescendant":U&&I.activeIdx>=0?`${I.listId}-option-${I.activeIdx}`:void 0,onChange:se=>{const Ne=se.target;ie||ve(Ne.value.length),s?.(Ne.value),Q&&I.handleInput(),ce&&queueMicrotask(()=>{const Be=Z.current??"";Ne.value!==Be&&(Ne.value=Be)})},onFocus:(se=>{P?.(se),Q&&I.handleFocus()}),onBlur:(se=>{S?.(se),Q&&I.handleBlur()}),onKeyDown:(se=>{Q&&se.key==="Enter"&&!se.nativeEvent.isComposing&&I.activeIdx>=0?se.preventDefault():L&&se.key==="Enter"&&!se.nativeEvent.isComposing&&(se.preventDefault(),L()),V?.(se),Q&&I.handleKeyDown(se)})},de=j&&!h&&!m&&fe>0,X=()=>k?t.jsx("textarea",{...we,className:"text-field__input text-field__input--auto body-2",rows:1}):b?t.jsx("textarea",{...we,className:"text-field__input text-field__input--textarea body-2",rows:w}):t.jsx("input",{...we,type:p,className:"text-field__input body-2"}),ne=v==="display"&&!k&&!b&&!!d,Ae=()=>t.jsxs(t.Fragment,{children:[X(),ne&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:d})]});return t.jsxs("div",{className:ye,children:[l&&t.jsxs("label",{htmlFor:$,className:"text-field__label caption-1",children:[l,u&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[x&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Ie,{icon:x,label:"",className:"",svgClassName:"text-field__icon-svg",size:J})}),Ae(),g!=null&&D&&t.jsxs("span",{className:`text-field__count caption-2${ue?" text-field__count--over":""}`,children:[fe,"/",g]}),de&&t.jsx(oe,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:M("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:se=>{se.preventDefault()},onClick:()=>{!ie&&G.current&&(G.current.value="",ve(0)),s?.("")},tabIndex:-1}),N&&!de&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Ie,{icon:N,label:"",className:"",svgClassName:"text-field__icon-svg",size:J})})]}),Q&&I.open&&I.filtered.length>0&&t.jsx("ul",{id:I.listId,className:"text-field__suggestions",role:"listbox",children:I.filtered.map((se,Ne)=>t.jsx("li",{id:`${I.listId}-option-${Ne}`,role:"option","aria-selected":Ne===I.activeIdx,className:`text-field__suggestion body-2${Ne===I.activeIdx?" is-active":""}`,onMouseDown:Be=>Be.preventDefault(),onClick:()=>{I.handleSelect(se),G.current?.focus()},children:se},`${se}-${Ne}`))}),(f||y)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:R,className:"text-field__helper caption-1",role:y?"alert":void 0,children:y||f})})]})}function Wt({options:e,value:n,onChange:a,placeholder:r,disabled:o=!1,block:s=!1,size:l=48,error:c=!1,className:u="",ariaLabel:d}){const{t:p}=me.useTranslation(),h=r??p("dropdown.placeholder","\uC120\uD0DD"),m=i.useId(),y=i.useRef(null),f=i.useCallback(S=>{const V=window.innerHeight-S.bottom<260&&S.top>260;return{position:"fixed",left:S.left,minWidth:S.width,...V?{bottom:window.innerHeight-S.top+6}:{top:S.bottom+6},zIndex:9999}},[]),{open:g,setOpen:C,toggle:v,style:_,triggerRef:k,menuRef:b}=ea({computeStyle:f}),[w,x]=i.useState(-1),N=i.useCallback(()=>x(-1),[]),j=e.find(S=>S.value===n);i.useEffect(()=>{if(g){const S=e.findIndex(V=>V.value===n);x(S>=0?S:0),requestAnimationFrame(()=>{const V=b.current;if(!V)return;const L=V.querySelectorAll(".dropdown__option")[S];L&&(V.scrollTop=Math.max(0,L.offsetTop-V.clientHeight/2+L.clientHeight/2))})}},[g]);const A=i.useCallback(()=>{o||v()},[o,v]),D=i.useCallback(S=>{S.disabled||(a?.(S.value),C(!1))},[a,C]),F=i.useCallback(S=>{if(!o){if(!g){(S.key==="Enter"||S.key===" "||S.key==="ArrowDown")&&(S.preventDefault(),C(!0));return}if(S.key==="Escape"){S.preventDefault(),C(!1);return}S.key==="ArrowDown"?(S.preventDefault(),x(V=>{let L=V+1;for(;L<e.length&&e[L].disabled;)L++;return L<e.length?L:V})):S.key==="ArrowUp"?(S.preventDefault(),x(V=>{let L=V-1;for(;L>=0&&e[L].disabled;)L--;return L>=0?L:V})):S.key==="Enter"&&w>=0&&(S.preventDefault(),D(e[w]))}},[o,g,e,w,D,C]),P=g?t.jsx("div",{ref:b,id:m,className:"dropdown__menu",role:"listbox",style:_,onMouseLeave:N,onMouseDown:S=>S.preventDefault(),children:e.map((S,V)=>t.jsxs("button",{id:`${m}-option-${V}`,type:"button",role:"option","aria-selected":S.value===n,className:_e("dropdown__option body-2",S.value===n?"dropdown__option--active":"",V===w?"dropdown__option--active":"",S.disabled?"dropdown__option--disabled":""),onMouseDown:L=>L.preventDefault(),onClick:()=>D(S),onMouseEnter:()=>x(V),disabled:S.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:S.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),S.label]},S.value))}):null;return t.jsxs("div",{ref:y,className:_e("dropdown",`dropdown--s${l}`,g?"dropdown--open":"",s?"dropdown--block":"",c?"dropdown--error":"",u),onKeyDown:F,children:[t.jsxs("button",{ref:k,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":g,"aria-controls":g?m:void 0,"aria-activedescendant":g&&w>=0?`${m}-option-${w}`:void 0,"aria-label":d,"aria-invalid":c||void 0,disabled:o,onClick:A,onBlur:S=>{g&&!b.current?.contains(S.relatedTarget)&&C(!1)},children:[t.jsx("span",{className:`dropdown__trigger-label body-2${j?"":" dropdown__trigger-label--placeholder"}`,children:j?j.label:h}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&It.createPortal(P,y.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function wa({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:o,className:s=""}){const{t:l}=me.useTranslation(),c=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),u=o??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),d=Math.max(1,n),p=()=>a(Math.max(1,Math.min(d,e-1))),h=()=>a(Math.min(d,e+1));return t.jsxs("div",{className:_e("pagination",s),children:[t.jsx(oe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:p}),t.jsxs("span",{className:"pagination__info body-3",children:[e," / ",n]}),t.jsx(oe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:u,disabled:e>=n,onClick:h})]})}function Dn(e){const{t:n}=me.useTranslation(),{options:a=[],value:r=a[0]?.key,onChange:o=C=>{},className:s="",size:l=48,shape:c="pill",useBG:u=!0,fullWidth:d=!1,ariaLabel:p}=e||{},h=i.useRef(null),m=a.filter(C=>!C.disabled),y=C=>{if(!m.length)return;const v=Math.max(0,m.findIndex(k=>k.key===r)),_=C==="first"?m[0]:C==="last"?m[m.length-1]:m[(v+C+m.length)%m.length];_&&(o(_.key),Array.from(h.current?.querySelectorAll("[data-segkey]")??[]).find(k=>k.dataset.segkey===_.key)?.focus())},f=C=>{switch(C.key){case"ArrowRight":case"ArrowDown":y(1);break;case"ArrowLeft":case"ArrowUp":y(-1);break;case"Home":y("first");break;case"End":y("last");break;default:return}C.preventDefault()},g=m.some(C=>C.key===r)?r:m[0]?.key;return t.jsx("div",{ref:h,onKeyDown:f,className:_e("segmented-control",`segmented-control--${c}`,`segmented-control--${l}`,d&&"segmented-control--full",!u&&"segmented-control--no-bg",s),role:"radiogroup","aria-label":p??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(C=>t.jsx(oe,{htmlType:"button",role:"radio","aria-checked":C.key===r,"data-segkey":C.key,tabIndex:C.key===g?0:-1,label:C.label,count:C.count,disabled:C.disabled,className:C.key===r?"is-selected":"",onClick:()=>{C.disabled||o(C.key)},size:l,shape:c,useBorder:!1,useBG:!1},C.key))})}function fr({count:e,search:n,segment:a,filters:r,pageSize:o,pagination:s,actions:l,className:c}){const{t:u}=me.useTranslation(),d=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",children:[e.prefix??u("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),p=!!(n||r?.length||o||s||l);return t.jsxs("div",{className:_e("toolbar",c),children:[t.jsxs("div",{className:"toolbar__row",children:[d,a&&(Array.isArray(a)?a:[a]).map((h,m)=>t.jsx(Dn,{size:40,...h},h.ariaLabel??m))]}),p&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(Bn,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??u("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??u("common.search","\uAC80\uC0C9"),clearable:!0}),r?.map((h,m)=>t.jsx(Wt,{size:40,options:h.options,value:h.value,onChange:h.onChange,ariaLabel:h.ariaLabel},m)),o&&t.jsx(Wt,{size:40,options:o.options,value:o.value,onChange:o.onChange,ariaLabel:o.ariaLabel??u("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),s&&t.jsx(wa,{page:s.page,totalPages:s.total,onChange:s.onChange,prevLabel:s.prevLabel,nextLabel:s.nextLabel}),l]})})]})}function Mi(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(Mi).join(""):""}function Hg(e){let n=e.replace(/\r\n/g,`
833
833
  `).replace(/\r/g,`
834
834
  `);n=n.replace(/^\n+/,"").replace(/\n+$/,"");const a=n.split(`
835
- `).map(i=>i.replace(/\t/g," ")),r=a.filter(i=>i.trim().length>0),o=r.length>0?Math.min(...r.map(i=>i.match(/^ */)?.[0].length??0)):0;return a.map(i=>i.slice(o)).join(`
836
- `)}const Rg=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),Pg=/^(?:const|let|var|function|return|if|else|for|while|switch|case|break|import|from|export|class|new|try|catch|finally|throw|await|async|null|true|false|this|typeof|instanceof)\b/;function Ig(e,n){let a=e;const r=[],o=/sh|bash/.test(n.toLowerCase()),i=(l,c)=>r.push({type:l,content:c});for(;a.length>0;){const l=a.match(/^\s+/);if(l){i("whitespace",l[0]),a=a.slice(l[0].length);continue}if(!o&&a.startsWith("//")){const f=a.indexOf(`
837
- `),g=f===-1?a:a.slice(0,f);i("comment",g),a=a.slice(g.length);continue}if(o&&a.startsWith("#")){const f=a.indexOf(`
838
- `),g=f===-1?a:a.slice(0,f);i("comment",g),a=a.slice(g.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){i("comment",c[0]),a=a.slice(c[0].length);continue}const u=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(u){i("string",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){i("number",d[0]),a=a.slice(d[0].length);continue}const h=a.match(Pg);if(h){i("keyword",h[0]),a=a.slice(h[0].length);continue}const p=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(p){const f=p[0];i(o&&Rg.has(f)?"command":"identifier",f),a=a.slice(f.length);continue}const m=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(m){i("operator",m[0]),a=a.slice(m[0].length);continue}const b=a.match(/^[()[\]{};.,]/);if(b){i("punctuation",b[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return r}function Fg({children:e,language:n="bash",title:a="",showCopy:r=!0,size:o="default",className:i=""}){const{t:l}=fe.useTranslation(),[c,u]=s.useState(!1),d=$g(Si(e)),h=s.useRef(null);s.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const p=async()=>{try{if(!await s0(d))return;u(!0),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>u(!1),2e3)}catch{}},m=Ig(d,n),b=o==="small"?"caption-1":"body-3";return t.jsxs("div",{className:xe("code-box",o==="small"?"code-box--small":"",i),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(se,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:p,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:m.map((f,g)=>t.jsx("span",{className:`code-token ${f.type} ${b}`,children:f.content},g))})})]})}function ra(e){const{t:n}=fe.useTranslation(),{variant:a="spinner",size:r=24,progress:o=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const u=Math.max(0,Math.min(100,Number(o)||0));return t.jsx("div",{className:"loader-bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:{width:`${u}%`}})})}const c=typeof r=="number"?`${r}px`:r;return t.jsx("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":l,children:t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})})}function ji({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:o,labelPosition:i="right",className:l="",id:c}){const u=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&u,t.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>n?.(d.target.checked),"aria-label":!r&&o?o:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&u]})}function Ti({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:o,size:i="medium",className:l,title:c,ariaLabel:u}){const d=s.useRef(null),h=s.useId();return s.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)},[r]),t.jsxs("label",{className:xe("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:h,title:c,children:[t.jsx("input",{ref:d,id:h,type:"checkbox",className:"checkbox__input",checked:e,onChange:p=>n?.(p.target.checked),disabled:a,"aria-label":!o&&u?u:void 0}),t.jsx("span",{className:"checkbox__box"}),o&&t.jsx("span",{className:"checkbox__label body-3",children:o})]})}function Og({count:e,actions:n,onClear:a,clearLabel:r,visible:o,content:i,max:l}){const{t:c}=fe.useTranslation(),u=o!==void 0?o:e>0,d=r??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),h=s.useRef(null),[p,m]=s.useState(!1);return s.useEffect(()=>{const b=h.current;if(!b)return;const f=()=>{const C=b.firstElementChild??b,y=Array.from(C.children);if(y.length<2){m(!1);return}const w=y[0].offsetTop;m(y.some(_=>_.offsetTop!==w))};if(f(),typeof ResizeObserver>"u")return;const g=new ResizeObserver(f);return g.observe(b),()=>g.disconnect()},[i,e]),t.jsxs("div",{className:`bulk-bar ${u?"bulk-bar--visible":""}`,inert:!u||void 0,"aria-hidden":u?void 0:!0,children:[t.jsx("span",{ref:h,className:"bulk-bar__count body-2",children:i??t.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(ot,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),t.jsxs("div",{className:`bulk-bar__actions${p?" bulk-bar__actions--stacked":""}`,children:[t.jsx(se,{htmlType:"button",size:40,label:d,onClick:a}),n.map((b,f)=>t.jsx(se,{htmlType:"button",size:40,variant:b.variant??"default",icon:b.icon,label:b.label,onClick:b.onClick},f))]})]})}function Ei(e){const n=()=>{if(e){const[p,m]=e.split("-");return{y:+p,m:+m-1}}const h=new Date;return{y:h.getFullYear(),m:h.getMonth()}},[a,r]=s.useState(()=>n().y),[o,i]=s.useState(()=>n().m),l=s.useRef(e);s.useEffect(()=>{if(e===l.current)return;l.current=e;const h=n();r(h.y),i(h.m)},[e]);const c=s.useCallback(()=>{o===0?(r(h=>h-1),i(11)):i(h=>h-1)},[o]),u=s.useCallback(()=>{o===11?(r(h=>h+1),i(0)):i(h=>h+1)},[o]),d=s.useCallback((h,p)=>{r(h),i(p)},[]);return{viewY:a,viewM:o,prevMonth:c,nextMonth:u,setViewYM:d}}function Cr(e,n){return new Date(e,n+1,0).getDate()}function Hg(e,n){return new Date(e,n,1).getDay()}function Ln(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function Vg(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function zg(e,n,a,r){const o=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let c=o;c<=i;c++)for(let u=0;u<12;u++){const d=`${c}-${String(u+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:n(c,u+1)})}return l}function Wg({value:e,onChange:n,size:a=48,min:r,max:o,disabled:i,placeholder:l,className:c}){const{t:u}=fe.useTranslation(),d=l??u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),h=s.useMemo(()=>u("calendar.dow",{returnObjects:!0}),[u]),p=new Date,{viewY:m,viewM:b,prevMonth:f,nextMonth:g,setViewYM:C}=Ei(e),y=s.useCallback(j=>{const L=window.innerHeight-j.bottom,P=300,G=L<P&&j.top>P;return{position:"fixed",left:j.left,width:j.width,minWidth:260,...G?{bottom:window.innerHeight-j.top+6}:{top:j.bottom+6},zIndex:9999}},[]),{open:w,setOpen:_,toggle:v,style:A,triggerRef:x,menuRef:k}=ea({computeStyle:y,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});s.useEffect(()=>{if(!w)return;const j=k.current;return(j?.querySelector(".date-picker__day--selected:not(:disabled)")??j?.querySelector(".date-picker__day--today:not(:disabled)")??j?.querySelector(".date-picker__day:not(:disabled)")??j?.querySelector(Jn)??j)?.focus?.(),()=>{const L=document.activeElement;(!L||L===document.body)&&x.current?.focus?.()}},[w,k,x]);const[T,N]=s.useState(1),D=s.useRef(null),F=s.useRef(null);s.useEffect(()=>{if(!w)return;const j=Ln(p.getFullYear(),p.getMonth(),p.getDate()),L=e&&e.slice(0,7)===`${m}-${String(b+1).padStart(2,"0")}`?+e.slice(8):j.slice(0,7)===`${m}-${String(b+1).padStart(2,"0")}`?+j.slice(8):1;N(L)},[w]),s.useEffect(()=>{if(F.current==null)return;const j=F.current;F.current=null,D.current?.querySelector(`[data-day="${j}"]`)?.focus()}),s.useEffect(()=>{N(j=>Math.min(j,Cr(m,b)))},[m,b]);const R=s.useCallback(j=>{let L=Ln(j.getFullYear(),j.getMonth(),j.getDate());r&&L<r&&(L=r),o&&L>o&&(L=o);const[P,G,I]=L.split("-").map(Number);(P!==m||G-1!==b)&&C(P,G-1),N(I),F.current=I},[r,o,m,b,C]),S=s.useCallback(j=>{const L=new Date(m,b,T),P=I=>{L.setDate(L.getDate()+I),R(L)},G=I=>{L.setMonth(L.getMonth()+I),R(L)};switch(j.key){case"ArrowLeft":P(-1);break;case"ArrowRight":P(1);break;case"ArrowUp":P(-7);break;case"ArrowDown":P(7);break;case"Home":P(-L.getDay());break;case"End":P(6-L.getDay());break;case"PageUp":j.shiftKey?G(-12):G(-1);break;case"PageDown":j.shiftKey?G(12):G(1);break;default:return}j.preventDefault()},[m,b,T,R]),z=s.useCallback(j=>{n(Ln(m,b,j)),_(!1)},[m,b,n,_]),$=j=>{const L=Ln(m,b,j);return!!(r&&L<r||o&&L>o)},ee=(()=>{const j=Cr(m,b);if(T>=1&&T<=j&&!$(T))return T;for(let L=1;L<=j;L++)if(!$(L))return L;return-1})(),E=[];for(let j=0;j<Hg(m,b);j++)E.push(null);for(let j=1;j<=Cr(m,b);j++)E.push(j);const H=a===64?20:a===40?16:18,X=zg(m,(j,L)=>u("calendar.yearMonth",{year:j,month:L,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,o),q=`${m}-${String(b+1).padStart(2,"0")}`,M=w?It.createPortal(t.jsxs("div",{ref:k,className:"date-picker__dropdown",style:A,role:"dialog","aria-label":u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":u("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ho,{size:16,strokeWidth:2})}),t.jsx(Wt,{className:"date-picker__nav-dropdown",ariaLabel:u("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:X,value:q,onChange:j=>{const[L,P]=j.split("-");C(+L,+P-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":u("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(mo,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:D,onKeyDown:S,children:[h.map(j=>t.jsx("div",{className:"date-picker__dow caption-1",children:j},j)),E.map((j,L)=>{if(j===null)return t.jsx("div",{},`e${L}`);const P=Ln(m,b,j),G=P===e,I=P===Ln(p.getFullYear(),p.getMonth(),p.getDate()),K=$(j),W=L%7;return t.jsx("button",{type:"button",disabled:K,"data-day":j,tabIndex:j===ee?0:-1,"aria-current":I?"date":void 0,onClick:()=>!K&&z(j),className:xe("date-picker__day caption-1",G&&"date-picker__day--selected",I&&!G&&"date-picker__day--today",K&&"date-picker__day--disabled",W===0&&"date-picker__day--sun",W===6&&"date-picker__day--sat"),children:j},j)})]})]}),document.body):null;return t.jsxs("div",{className:xe("date-picker",`date-picker--s${a}`,w&&"date-picker--open",c),children:[t.jsxs("button",{ref:x,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&v(),disabled:i,"aria-haspopup":"true","aria-expanded":w,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?Vg(e):d}),t.jsx(wo,{size:H,className:"date-picker__icon",strokeWidth:1.5})]}),M]})}function gr({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function ka({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function br({title:e,titleClassName:n="h3",headRight:a,subRow:r,className:o,inGrid:i=!1,children:l}){return t.jsxs("section",{className:["manager-section",i&&"manager-section--grid",o].filter(Boolean).join(" "),children:[t.jsxs("div",{className:"manager-section__head",children:[t.jsx("div",{className:n,children:e}),a]}),r&&t.jsx("div",{className:"barchart-sub-row",children:r}),l]})}function mn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function qg(){const e=new Date;let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<mn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const o=Math.floor((r-mn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${o}`}}function Ug(e){const n=new Date,a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(u,d)=>`${u}\uB144 ${d+1}\uC6D4`,o=new Map;o.set(a,[]);for(const u of e){if(isNaN(u.date.getTime()))continue;const d=r(u.date.getFullYear(),u.date.getMonth());o.has(d)||o.set(d,[]),o.get(d).push(u)}const i=new Map;for(const[u,d]of o){const h=u.match(/^(\d+)년 (\d+)월$/);if(!h)continue;const p=Number(h[1]),m=Number(h[2])-1,b=new Date(p,m+1,0).getDate(),f=d.reduce((w,_)=>Math.max(w,_.parts?.length??0),0),g=new Array(b+1).fill(0),C=new Array(b+1).fill(0),y=Array.from({length:b+1},()=>new Array(f).fill(0));for(const w of d){const _=w.date.getDate();if(g[_]+=w.a,C[_]+=w.b,w.parts)for(let v=0;v<f;v++)y[_][v]+=w.parts[v]??0}i.set(u,{year:p,month:m,daysInMonth:b,partsLen:f,dayA:g,dayB:C,dayParts:y})}const l=(u,d,h)=>new Date(u,d,h).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),c={};for(const[u,d]of i){const{year:h,month:p,daysInMonth:m,dayA:b,dayB:f,dayParts:g}=d,C=h===n.getFullYear()&&p===n.getMonth(),y=n.getDate(),w=i.get(r(p===11?h+1:h,(p+1)%12)),_=d.partsLen,v=[];for(let x=1;x<=m;x++){const k=C&&x>y;v.push({label:String(x),a:k&&b[x]===0&&f[x]===0?-1:b[x],b:f[x],..._?{parts:g[x]}:{}})}const A=[];for(let x=mn(h,p);x<=m;x+=7){const k=Math.max(0,x+6-m),T=k&&w?Math.max(_,w.partsLen):_;let N=0,D=0;const F=new Array(T).fill(0);for(let S=x;S<=Math.min(x+6,m);S++){N+=b[S],D+=f[S];for(let z=0;z<_;z++)F[z]+=g[S][z]}if(k&&w)for(let S=1;S<=k&&!l(w.year,w.month,S);S++){N+=w.dayA[S],D+=w.dayB[S];for(let z=0;z<w.partsLen;z++)F[z]+=w.dayParts[S][z]}const R=k?`${(p+1)%12+1}/${k}`:`${x+6}`;A.push({label:`${A.length+1}\uC8FC`,sublabel:`[${x}\uC77C~${R}\uC77C]`,a:N,b:D,...T?{parts:F}:{}})}c[u]={weekly:A,daily:v}}return c}function Gg(){const e=new Date,n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let o=2024;o<=n;o++){const i=o===n?a:12;for(let l=1;l<=i;l++){const c=`${o}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:o,month:l})}}return r.reverse()}const Kg=Gg(),Mi=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Li(e){const{t:n,i18n:a}=fe.useTranslation(),[r,o]=s.useState("week"),i=s.useMemo(()=>Kg.filter(N=>N.value in e),[e]),l=s.useMemo(()=>{const N=[];for(const D of i){const F=new Date(D.year,D.month,0).getDate(),R=mn(D.year,D.month-1),S=Math.ceil((F-R+1)/7);for(let z=S-1;z>=0;z--)N.push({value:`${D.value}#${z}`,monthKey:D.value,year:D.year,month:D.month,week:z})}return N},[i]),c=s.useCallback(N=>{const D=n("calendar.yearMonth",{year:N.year,month:N.month});return a.language?.startsWith("ko")?`${D} ${Mi[N.week]??`${N.week+1}`}\uC8FC`:`${D} Week ${N.week+1}`},[n,a.language]),u=s.useMemo(()=>i.map(N=>({value:N.value,label:n("calendar.yearMonth",{year:N.year,month:N.month})})),[n,i]),d=s.useMemo(()=>l.map(N=>({value:N.value,label:c(N)})),[l,c]),h=s.useMemo(()=>qg(),[]),p=s.useMemo(()=>i.find(N=>N.value===h.monthKey)?.value??i[0]?.value??"",[i,h]),m=s.useMemo(()=>l.find(N=>N.value===h.value)?.value??l[0]?.value??"",[l,h]),[b,f]=s.useState(""),[g,C]=s.useState("");s.useEffect(()=>{i.find(N=>N.value===b)||f(p)},[i,b,p]),s.useEffect(()=>{l.find(N=>N.value===g)||C(m)},[l,g,m]);const y=r==="month"?u:d,w=r==="month"?b:g,_=r==="month"?f:C,v=s.useMemo(()=>{const N=n("calendar.dow",{returnObjects:!0});return Array.isArray(N)?N:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),A=y.findIndex(N=>N.value===w),x=s.useCallback(()=>{const N=y.findIndex(D=>D.value===w);N<y.length-1&&_(y[N+1].value)},[y,w,_]),k=s.useCallback(()=>{const N=y.findIndex(D=>D.value===w);N>0&&_(y[N-1].value)},[y,w,_]),T=s.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:o,range:w,setRange:_,activeOptions:y,activeIdx:A,handlePrev:x,handleNext:k,periodOptions:T,monthRange:b,weekRange:g,weekRanges:l,DOW:v}}const qt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function Zg({data:e,colorA:n,colorB:a,labelA:r,labelB:o,barWidth:i=10,height:l=140,maxOverride:c,tightMax:u,seriesColors:d,seriesLabels:h,rateLabels:p}){const m=!a,b=!!(d&&d.length>0),f=s.useMemo(()=>b?Math.max(0,...e.filter(k=>k.a!==-1).map(k=>(k.parts??[]).reduce((T,N)=>T+Math.max(0,qt(N)),0))):Math.max(0,...e.filter(k=>k.a!==-1).flatMap(k=>m?[qt(k.a)]:[qt(k.a),qt(k.b)])),[e,m,b]),g=s.useMemo(()=>c??(u?f>0?f:10:Math.ceil(f/10)*10||10),[f,c,u]),C=l,y=b||m?1:2,w={"--bar-width":`${s.useMemo(()=>{const k=Math.max(1,e.length);return Math.max(8,Math.min(i,Math.round(120/(k*y)+6)))},[e.length,y,i])}px`},_=s.useMemo(()=>{const k=Math.round(g/2);return k!==g?[g,k,0]:[g,0]},[g]),[v,A]=s.useState(null),x=s.useCallback(()=>A(null),[]);return t.jsxs("div",{className:"manager-bar-chart-wrap",children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:C},children:[_.slice(0,-1).map((k,T)=>t.jsx("div",{className:"manager-bar-chart-gridline",style:{top:T*(C/(_.length-1))},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:k})},T)),e.map((k,T)=>{const N=k.a===-1,D=z=>Math.min(C,Math.max(0,qt(z)/g*C)),F=N?0:D(k.a),R=N?0:D(k.b),S=(k.parts??[]).map(qt);return t.jsx("div",{className:"manager-bar-chart-col",style:{cursor:N?"default":"pointer"},onMouseEnter:N?void 0:z=>{const $=z.currentTarget.getBoundingClientRect(),ee=[k.label,k.sublabel].filter(Boolean).join(" ");let E;if(b){const H=(h??[]).map((q,M)=>({text:`${q}: ${S[M]??0}`,color:(d??[])[M]})),X=H.filter((q,M)=>(S[M]??0)>0);E=X.length?X:H}else p&&!m?E=[{text:`${r} ${qt(k.a)}%`,color:n},{text:`${o} ${qt(k.b)}%`,color:a}]:p&&k.rawB!==void 0?E=[{text:`${p.total} ${k.rawB}`},{text:`${p.done} ${k.rawA??0}`,color:n}]:m?E=[{text:`${r}: ${qt(k.a)}`,color:n}]:E=[{text:`${r}: ${qt(k.a)}`,color:n},{text:`${o}: ${qt(k.b)}`,color:a}];A({rect:{left:$.left,top:$.top,right:$.right,bottom:$.bottom,width:$.width,height:$.height},title:ee,items:E})},onMouseLeave:x,children:!N&&(b?t.jsx("div",{className:"manager-bar-chart-stack",style:w,children:(()=>{const z=S.reduce((ee,E,H)=>E>0?H:ee,-1);let $=C;return S.map((ee,E)=>{if(ee<=0)return null;const H=Math.min($,ee/g*C);return $-=H,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:H,background:(d??[])[E],borderRadius:E===z?"6px 6px 0 0":void 0}},E)})})()}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:F,background:n}}),!m&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:R,background:a}})]}))},T)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((k,T)=>{const N=k.a===-1;return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${N?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[k.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),k.label]}),k.sublabel&&t.jsx("span",{className:"caption-1",children:k.sublabel})]},T)})})]})})}),v&&t.jsx(wn,{anchorRect:v.rect,title:v.title,items:v.items,showIndex:!1,closeOnOutsideClick:!1})]})}function $i({control:e}){const{t:n}=fe.useTranslation(),{activeOptions:a,activeIdx:r,range:o,setRange:i,handlePrev:l,handleNext:c,periodOptions:u,period:d,setPeriod:h}=e,p=d==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),m=d==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(se,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:p,showTooltipInfo:p,disabled:r===a.length-1,onClick:l}),t.jsx(Wt,{value:o,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(se,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:m,showTooltipInfo:m,disabled:r<=0,onClick:c}),t.jsx(Bn,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:u,value:d,onChange:b=>h(b),size:32})]})}function Ri(e,n,a){const r=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(o,i)=>{const l=new Date(n);l.setDate(n.getDate()+i);const c=(e[`${l.getFullYear()}\uB144 ${l.getMonth()+1}\uC6D4`]?.daily??[])[l.getDate()-1],u=c?.a===-1||l>r;return{dt:l,entry:c,isFuture:u}})}function Yg(e,n,a,r){const{period:o,monthRange:i,weekRange:l,weekRanges:c,DOW:u}=n,d=r?.startsWith("ko"),h=new Date,p=h.getFullYear(),m=h.getMonth()+1,b=h.getDate();if(o==="month"){const C=e[i]??{weekly:[],daily:[]},y=i.match(/^(\d+)년 (\d+)월$/),w=y?Number(y[1]):null,_=y?Number(y[2]):null,v=w&&_?mn(w,_-1):1;return C.weekly.map((A,x)=>{const k=x+1;let T=A.label,N=!1,D=!1;if(w&&_){const F=v+x*7,R=new Date(w,_-1,F+6),S=R.getMonth()+1,z=R.getDate(),$=S===_?`${z}`:`${S}/${z}`;T=a("manager.chart.weekRange",{start:F,end:$});const ee=new Date(p,m-1,b).getTime();N=ee>=new Date(w,_-1,F).getTime()&&ee<=R.getTime(),D=w>p||w===p&&(_>m||_===m&&F>b)}return{...A,label:T,sublabel:d?`${Mi[k-1]??k}\uC8FC`:`Week ${k}`,isToday:N,a:D?-1:A.a,b:D?0:A.b}})}const f=c.find(C=>C.value===l);if(!f)return[];const g=new Date(f.year,f.month-1,mn(f.year,f.month-1)+f.week*7);return Ri(e,g,h).map(({dt:C,entry:y,isFuture:w})=>{const _=C.getMonth()+1,v=C.getDate(),A=C.getFullYear();return{label:_===f.month&&A===f.year?`${v}`:`${_}/${v}`,sublabel:u[C.getDay()]??"",a:w?-1:y&&y.a>0?y.a:0,b:w?0:y&&y.b>0?y.b:0,isToday:A===p&&_===m&&v===b,...y?.parts?{parts:w?y.parts.map(()=>0):y.parts}:{}}})}const Xg={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function Jg({size:e="medium",barWidth:n,titleKey:a,data:r,colorA:o,colorB:i,labelAKey:l,labelBKey:c,showTotal:u=!1,totalUnitKey:d,totalLabelKey:h,control:p,hideControls:m=!1,rate:b=!1,tightMax:f=!1,avgMode:g=!1,totalFormat:C,series:y,loading:w=!1,onDetail:_,inGrid:v=!1}){const{t:A,i18n:x}=fe.useTranslation(),k=Xg[e],T=Li(r),N=p??T,D=s.useMemo(()=>Yg(r,N,A,x.language),[r,N,A,x.language]),F=s.useMemo(()=>{if(!b)return D;const $=N.period==="month"?N.monthRange.match(/^(\d+)년 (\d+)월$/):null,ee=new Date;return D.map((E,H)=>{let X=E.a===-1?-1:E.b>0?Math.round(E.a/E.b*100):0;if($&&E.a!==-1){const q=Number($[1]),M=Number($[2])-1,j=Ri(r,new Date(q,M,mn(q,M)+H*7),ee).filter(L=>!L.isFuture);X=j.length?Math.round(j.reduce((L,{entry:P})=>L+(P&&P.b>0?P.a/P.b*100:0),0)/j.length):0}return{...E,a:X,b:E.a===-1?0:c&&E.parts&&E.parts[1]>0?Math.round(E.parts[0]/E.parts[1]*100):0,rawA:E.a===-1?-1:E.a,rawB:E.b}})},[D,b,c,N.period,N.monthRange,r]),R=s.useMemo(()=>{if(b||g){const $=(N.period==="week"?D:r[N.monthRange]?.daily??[]).filter(E=>E.a!==-1);if($.length===0)return 0;const ee=b?$.reduce((E,H)=>E+(H.b>0?H.a/H.b*100:0),0):$.reduce((E,H)=>E+(H.a>0?H.a:0),0);return Math.round(ee/$.length)}return F.reduce(($,ee)=>$+(ee.a>0?ee.a:0)+(c&&ee.b>0?ee.b:0),0)},[F,D,b,g,c,N.period,N.monthRange,r]),S=y&&y.length>0?y.map($=>({color:$.color,label:$.label})):[{color:o,label:A(l)},...c?[{color:i,label:A(c)}]:[]],z=e==="small";return t.jsx(br,{className:z?"manager-section--compact":e==="large"?"manager-section--full":void 0,inGrid:v,title:A(a),titleClassName:z?"h5 chart-section-title--small":void 0,headRight:z?void 0:t.jsxs(t.Fragment,{children:[!m&&t.jsx($i,{control:N}),_&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(se,{htmlType:"button",size:32,type:"dot",icon:"list",ariaLabel:A("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:_})})]}),subRow:t.jsxs(t.Fragment,{children:[u?b||g||h&&C?t.jsx(ka,{label:z?void 0:`${A(N.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${A(h??l)}`,children:C?(C(R).match(/(\d+|[^\d]+)/g)??[]).map(($,ee)=>/\d/.test($)?t.jsx("span",{className:"barchart-total__num h0",children:$},ee):t.jsx("span",{className:"barchart-total__unit h5",children:$},ee)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),d&&t.jsx("span",{className:"barchart-total__unit h5",children:A(d)})]})}):t.jsxs(ka,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),t.jsx("span",{className:"barchart-total__unit h5",children:A(l)}),d&&t.jsx("span",{className:"barchart-total__unit h5",children:A(d)})]}):t.jsx("span",{}),t.jsx(gr,{items:S,className:"caption-1"})]}),children:w?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(ra,{size:32})}):t.jsx(Zg,{data:F,colorA:o,colorB:c?i:void 0,labelA:A(l),labelB:c?A(c):void 0,barWidth:n??k.barWidth,height:k.height,maxOverride:b?100:void 0,tightMax:f,seriesColors:y?.map($=>$.color),seriesLabels:y?.map($=>$.label),rateLabels:b?{total:A("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:A("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0})})}function Qg(e){if(e.period==="month"){const i=e.monthRange.match(/^(\d+)년 (\d+)월$/),l=new Date,c=i?Number(i[1]):l.getFullYear(),u=i?Number(i[2]):l.getMonth()+1;return{from:new Date(c,u-1,1,0,0,0),to:new Date(c,u,0,23,59,59)}}const n=e.weekRanges.find(i=>i.value===e.weekRange);if(!n){const i=new Date;return{from:i,to:i}}const a=mn(n.year,n.month-1),r=new Date(n.year,n.month-1,a+n.week*7,0,0,0),o=new Date(r);return o.setDate(r.getDate()+6),o.setHours(23,59,59),{from:r,to:o}}const Pi={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Ii({done:e,total:n,segments:a,color:r="var(--color-main)",size:o="medium",strokeWidth:i,label:l="%",hideCenter:c=!1,hideLabel:u=!1}){const d=typeof o=="number"?o:Pi[o].diameter,h=i??(typeof o=="number"?12:Pi[o].strokeWidth),p=d/2,m=(d-h)/2,b=2*Math.PI*m;if(a&&a.length>0){const y=a.reduce((w,_)=>{const v=w.length>0?w[w.length-1].acc:0,A=Math.max(0,Math.min(_.ratio,1-v));return w.push({color:_.color,rotate:-90+v*360,dash:b*A,acc:v+A}),w},[]);return t.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),y.map((w,_)=>w.dash>0&&t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:w.color,strokeWidth:h,strokeDasharray:`${w.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${w.rotate} ${p} ${p})`},_))]})})}const f=(n??0)>0?Math.min((e??0)/n,1):0,g=b*f,C=b-g;return t.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),f>0&&t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:r,strokeWidth:h,strokeDasharray:`${g} ${C}`,strokeLinecap:f<.02||f>.98?"butt":"round",transform:`rotate(-90 ${p} ${p})`})]}),!c&&t.jsxs("div",{className:`ring-chart__center${u?"":` ${d<=96?"ring-chart__center--small":o==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Math.round(f*100)}),!u&&t.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||o==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function e4({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:o,legend:i,loading:l,className:c,inGrid:u=!1,...d}){const{t:h}=fe.useTranslation();if(!e)return t.jsx(Ii,{...d});const p=(d.total??0)>0?Math.round(Math.min((d.done??0)/d.total,1)*100):0,m=d.size==="small",b=d.size==="large",f=[c,m?"manager-section--compact":b?"manager-section--full":""].filter(Boolean).join(" ")||void 0,g=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ie,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(br,{className:f,inGrid:u,title:h(e),titleClassName:m?"h5 chart-section-title--small":void 0,headRight:g||(m?void 0:n),subRow:(r||i)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(ka,{label:!m&&o?h(o):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:p}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),i&&t.jsx(gr,{items:i})]}),children:l?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(ra,{size:32})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(Ii,{...d,hideCenter:m||d.hideCenter})})})}function t4({label:e,value:n,change:a,changeType:r,icon:o,tooltip:i,onClick:l}){const c=s.useRef(null),{anchorRect:u,openAt:d,close:h}=xa(),p=s.useCallback(()=>{i&&c.current&&d(c.current)},[i,d]),m=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),b=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=s.useCallback(g=>{l&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:p,onPointerLeave:h,onFocus:p,onBlur:h,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?`${e} ${n}`:void 0,children:[i&&u&&t.jsx(hn,{anchorRect:{left:u.left,top:u.top+21,right:u.right,bottom:u.bottom,width:u.width,height:u.height},text:i}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),o&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ie,{icon:o,className:"manager-stat-card__icon-inner"})})]}),t.jsx("div",{className:"manager-stat-card__content",children:t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),b&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${m??"neutral"} caption-1`,children:b})]})})]})}function Fi({value:e,onChange:n,min:a=0,max:r=100,step:o=1,orientation:i="horizontal",size:l=24,disabled:c=!1,ariaLabel:u,length:d,className:h,label:p,formatValue:m,labelPos:b,labelAlign:f="right",showMinMax:g=!1,minLabel:C,maxLabel:y,showBgTick:w=!1,showFillTick:_=!1,tickStep:v,tickShape:A="dot"}){n&&!u&&Vn("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),k=r>a?(x-a)/(r-a):0,T=i==="vertical",N=!n,D=L=>n?.(Number(L.target.value)),F=typeof d=="number"?`${d}px`:d,R={"--slider-ratio":String(k),"--slider-thumb":`${l}px`,...F?T?{height:F}:{width:F}:{}},S=v??o,z=(w||_)&&S>0&&r>a?Math.floor((r-a)/S+1e-6):0;if(z>0&&z<=100){const L=A!=="dash",P=re=>L?`radial-gradient(circle, ${re} 0.5px, transparent 1px)`:T?`linear-gradient(to bottom, transparent calc(50% - 2px), ${re} calc(50% - 2px), ${re} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${re} calc(50% - 2px), ${re} calc(50% + 2px), transparent calc(50% + 2px))`,G=L?"2px":"4px",I=[],K=[],W=[];for(let re=0;re<=z;re++){const ue=re*S/(r-a);if(ue>1+1e-6)break;const be=`${((T?1-ue:ue)*100).toFixed(4)}%`,ve=ue<=k+1e-6;if(ve?!_:!w)continue;const Ce=ve?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(P(Ce)),K.push(T?`${G} var(--slider-thumb)`:`var(--slider-thumb) ${G}`),W.push(T?`center ${be}`:`${be} center`)}I.push(T?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),K.push("100% 100%"),W.push("0 0"),R.backgroundImage=I.join(", "),R.backgroundSize=K.join(", "),R.backgroundPosition=W.join(", "),R.backgroundRepeat="no-repeat"}const $=t.jsx("input",{type:"range",className:xe("slider",`slider--${i}`,N&&"slider--static",!p&&!g&&h),min:a,max:r,step:o,value:x,disabled:c,readOnly:N,tabIndex:N?-1:void 0,"aria-label":u,"aria-orientation":i,onChange:D,style:R});if(!p&&!g)return $;const ee=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:C??a}),E=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??r}),H=g?t.jsxs("div",{className:xe("slider-track-group",`slider-track-group--${i}`,!p&&h),children:[T?E:ee,$,T?ee:E]}):$;if(!p)return H;const X=b??(T?"bottom":"right"),q=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,M=m?m(x):p==="percent"?q:p==="count"?`${x} / ${r}`:String(x),j=t.jsx("span",{className:"slider-wrap__value body-3b",children:M});return t.jsxs("div",{className:xe("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${X}`,`slider-wrap--align-${f}`,h),children:[H,j]})}const n4=.86,a4=250,yr=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),vr=(e,n,a,r)=>{const o=yr(e,n,a,r);return`${o<0?"-":"+"}${Math.abs(o)} dB`};function xr({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:o,labelPos:i,labelAlign:l="right",floorDb:c=-60,refDb:u=-35,displayMin:d=-5,displayMax:h=25,className:p,ariaLabel:m}){const b=s.useRef(null),f=s.useRef(null),g=s.useRef(null),C=s.useRef(null),[y,w]=s.useState(null);s.useEffect(()=>{const x=ee=>{const E=vr(ee,u,d,h);g.current&&(g.current.textContent=E);const H=b.current;H&&(H.setAttribute("aria-valuenow",String(yr(ee,u,d,h))),H.setAttribute("aria-valuetext",E))},k=e??Tm(n)??(y&&y.el===n?y.node:null),T=f.current;if(!k||!T){T?.style.setProperty("--meter-level","0"),x(c);let ee=!1;return!e&&n&&ma(n).then(E=>{!ee&&E&&w({el:n,node:E})}),()=>{ee=!0}}Xa();const N=new Float32Array(k.fftSize);let D=0,F=0,R=0,S=0,z=null;const $=ee=>{const E=Em(k,N);D=E>D?E:D*n4;const H=D>1e-5?20*Math.log10(D):-1/0,X=Math.max(c,H),q=X-u,M=Math.min(1,Math.max(0,(q-d)/(h-d)));if(T.style.setProperty("--meter-level",M.toFixed(3)),F+=X,R+=1,ee-S>=a4){const j=F/R;z=z==null?j:z*.6+j*.4,x(z),F=0,R=0,S=ee}C.current=requestAnimationFrame($)};return C.current=requestAnimationFrame($),()=>{C.current!=null&&cancelAnimationFrame(C.current),C.current=null}},[e,n,y,c,u,d,h]);const _=typeof r=="number"?`${r}px`:r,v=t.jsx("div",{className:"audio-meter__track",style:_?a==="vertical"?{height:_}:{width:_}:{},children:t.jsx("div",{ref:f,className:"audio-meter__fill"})}),A=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:b,className:xe("audio-meter",`audio-meter--${a}`,o&&`audio-meter--label-${A}`,o&&`audio-meter--align-${l}`,p),role:"meter","aria-label":m,"aria-valuemin":d,"aria-valuemax":h,"aria-valuenow":yr(c,u,d,h),"aria-valuetext":vr(c,u,d,h),children:[v,o&&t.jsx("span",{ref:g,className:"audio-meter__value caption-2",children:vr(c,u,d,h)})]})}const Oi=500;function Hi({message:e,position:n,duration:a,onClose:r}){const[o,i]=s.useState(!1),[l,c]=s.useState(!1),u=s.useRef(l),d=s.useRef(o);s.useEffect(()=>{u.current=l},[l]),s.useEffect(()=>{d.current=o},[o]);const h=s.useRef(null),p=s.useRef(""),m=s.useRef(r);s.useEffect(()=>{m.current=r});const b=a,f=s.useRef(null),g=s.useRef(0),C=s.useRef(0),y=s.useRef(!1),w=s.useRef(null),_=s.useRef(null),v=s.useRef(null),A=s.useRef(null),x=s.useRef(()=>{});x.current=N=>{N<0||(g.current=Date.now(),C.current=N,f.current=setTimeout(()=>{f.current=null,i(!1),w.current=setTimeout(()=>{c(!1);try{m.current()}catch{}},Oi)},N))};const k=s.useCallback(()=>{y.current||!f.current||(y.current=!0,clearTimeout(f.current),f.current=null,C.current=Math.max(0,C.current-(Date.now()-g.current)))},[]),T=s.useCallback(()=>{y.current&&(y.current=!1,x.current(C.current))},[]);return s.useEffect(()=>{if(e!==p.current&&(f.current&&(clearTimeout(f.current),f.current=null),w.current&&(clearTimeout(w.current),w.current=null)),e){if(d.current)return b>0&&!f.current&&(y.current=!1,x.current(b)),p.current=e,()=>{f.current&&(clearTimeout(f.current),f.current=null)};const N=()=>{const D=h.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",n==="top"?D.style.transform="translateX(-50%) translateY(-16px)":D.style.transform="translateX(-50%) translateY(16px)",D.style.opacity="0",D.offsetWidth,D.style.transition="",D.classList.add("is-visible"),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{A.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};u.current?(N(),i(!0)):(c(!0),_.current=requestAnimationFrame(()=>{v.current=requestAnimationFrame(()=>{N(),i(!0)})})),b>0&&(y.current=!1,x.current(b))}else i(!1),w.current=setTimeout(()=>c(!1),Oi);return p.current=e,()=>{f.current&&clearTimeout(f.current),w.current&&clearTimeout(w.current),_.current&&cancelAnimationFrame(_.current),v.current&&cancelAnimationFrame(v.current),A.current&&clearTimeout(A.current),f.current=null,w.current=null,_.current=null,v.current=null,A.current=null}},[e,b,n]),{mounted:l,showing:o,popupRef:h,pause:k,resume:T}}function $n({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:o=2e3}){const{mounted:i,showing:l,popupRef:c,pause:u,resume:d}=Hi({message:e,position:n,duration:o,onClose:r});if(!i)return null;const h=a==="notice"||a==="warning"?a:"normal",p=t.jsx("div",{ref:c,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onMouseEnter:u,onMouseLeave:d,onFocusCapture:u,onBlurCapture:d,children:t.jsx("div",{className:`toast__inner toast__inner--${h} body-2`,children:e})});return typeof document<"u"?It.createPortal(p,document.body):p}const r4=24;function o4({value:e,max:n=100,size:a=8,color:r,trackColor:o,label:i,formatValue:l,labelPos:c,labelAlign:u="right",ariaLabel:d,className:h}){const p=Number.isFinite(n)&&n>0?n:1,m=Math.max(0,Math.min(Number.isFinite(e)?e:0,p)),b=m/p*100,f=c??(a>=r4?"inside":"bottom"),g=f==="center"?"inside":f,C=g==="inside"&&(u==="left"?b>=15:u==="center"?b>=50:b>=85),y={};return r&&(y["--progress-bar-fill"]=r),o&&(y["--progress-bar-track"]=o),t.jsxs("div",{className:xe("progress-bar",`progress-bar--${a}`,`progress-bar--label-${g}`,i&&`progress-bar--align-${u}`,i&&C&&"progress-bar--label-on-fill",h),style:y,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":m,"aria-valuemin":0,"aria-valuemax":p,"aria-label":d,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(m):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(m):`${m} / ${p}`})]})}const s4="rgba(255, 255, 255, 0.16)";function Vi({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:o,variant:i="numbered",announce:l=!1,ariaLabel:c}){const{t:u}=fe.useTranslation(),d=Kt("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const h=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,p=c??u("progress.steps",{current:h+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),m={};return a&&(m["--pi-inactive-bg"]=a),r&&(m["--pi-inactive-color"]=r),o&&(a||(m["--pi-inactive-bg"]=s4),r||(m["--pi-inactive-color"]="var(--color-white)")),i==="dot"?t.jsx("div",{className:"progress-indicator progress-indicator--dot",style:m,role:l?"status":"img","aria-label":p,children:Array.from({length:e}).map((b,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<h?" done":f===h?" active":""}`},f))}):d?t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:m,role:"list","aria-label":p,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[h+1," / ",e]})}):t.jsx("div",{className:"progress-indicator",style:m,role:"list","aria-label":p,children:Array.from({length:e}).map((b,f)=>t.jsx("span",{role:"listitem","aria-current":f===h?"step":void 0,className:`progress-indicator-dot ${f<h?" done":f===h?" active":""} body-3`,children:f+1},f))})}function i4(e){if(!e)return[];const n=[];let a=0,r="";for(const o of e.trim()){if(o==="("?a++:o===")"&&a--,/\s/.test(o)&&a===0){r&&(n.push(r),r="");continue}r+=o}return r&&n.push(r),n}function l4({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function _r({variant:e="default",children:n,className:a,draggable:r,onClick:o,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,expandedContent:d}){const h=s.useCallback(p=>{o&&p.target===p.currentTarget&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},[o]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(ra,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:o,onKeyDown:o?h:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,role:o?"button":void 0,tabIndex:o?0:void 0,children:n}),d&&t.jsx("div",{className:"table-row-expand",children:d})]})}function c4({dir:e}){return t.jsx(e==="asc"?Ao:ko,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function u4({children:e,onClick:n,className:a,sortDir:r,onResizeStart:o}){const i=s.useCallback(l=>{n&&l.target===l.currentTarget&&(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),n())},[n]);return t.jsxs("div",{onClick:n,onKeyDown:n?i:void 0,role:n?"button":void 0,tabIndex:n?0:void 0,"aria-sort":r?r==="asc"?"ascending":"descending":void 0,className:xe("table-field body-3",a,r?"table-field--sorted":"",o?"table-field--resizable":""),children:[e,r&&t.jsx(c4,{dir:r}),o&&t.jsx("span",{className:"table-field__resizer",onPointerDown:o,onClick:l=>l.stopPropagation(),"aria-hidden":"true"})]})}function wr({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:o,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:c,onRowDragStart:u,onRowDragEnd:d,draggingId:h,gridTemplateColumns:p,mobileGridTemplateColumns:m,resizable:b=!1,resizeMode:f="grow",resizeStorageKey:g,size:C="small",title:y,icon:w,count:_,collapsed:v=!1,onToggleCollapse:A,headerActions:x,empty:k,loading:T,dragOver:N=!1,onDragOver:D,onDragLeave:F,onDrop:R,renderExpandedRow:S,expandedId:z}){const{t:$}=fe.useTranslation(),ee=Kt("(max-width: 767px)"),E=m&&ee?m:null,H=b&&!E,X=48,q=g?`table-cols:${g}`:null,M=s.useRef(null),j=s.useRef(()=>!1),L=s.useRef([]),P=s.useRef(null),[G,I]=s.useState(()=>{if(!q||typeof window>"u")return null;try{const J=JSON.parse(window.localStorage.getItem(q)??"null");return Array.isArray(J)&&J.every(ne=>typeof ne=="number")?J:null}catch{return null}}),K=s.useRef(G);s.useEffect(()=>{K.current=G},[G]);const W=s.useCallback(J=>{const ne=P.current;ne&&I(Ae=>{if(!Ae)return Ae;const le=[...Ae];if(ne.next!=null&&ne.startWNext!=null){const Ne=J.clientX-ne.startX,Be=Math.max(X-ne.startW,Math.min(ne.startWNext-X,Ne));le[ne.index]=ne.startW+Be,le[ne.next]=ne.startWNext-Be}else le[ne.index]=Math.max(X,ne.startW+(J.clientX-ne.startX));return le})},[]),re=s.useCallback(()=>{if(P.current=null,window.removeEventListener("pointermove",W),window.removeEventListener("pointerup",re),document.body.style.cursor="",document.body.style.userSelect="",q&&K.current)try{window.localStorage.setItem(q,JSON.stringify(K.current))}catch{}},[W,q]),ue=s.useCallback((J,ne)=>{ne.preventDefault(),ne.stopPropagation();const Ae=M.current;if(!Ae)return;const le=Array.from(Ae.children).map(Be=>Be.getBoundingClientRect().width),Ne=f==="fit"?e.findIndex((Be,Re)=>Re>J&&Be.resizable!==!1):-1;P.current=Ne>=0?{index:J,startX:ne.clientX,startW:le[J],next:Ne,startWNext:le[Ne]}:{index:J,startX:ne.clientX,startW:le[J]},I(le),window.addEventListener("pointermove",W),window.addEventListener("pointerup",re),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[W,re,f,e]),be=s.useCallback(()=>{const J=M.current,ne=J?.closest(".table-wrap");if(!J||!ne)return;const Ae=ne.style.getPropertyValue("--table-grid-cols");ne.style.setProperty("--table-grid-cols",e.map((me,Le)=>j.current(Le)?L.current[Le]:"max-content").join(" "));const le=Array.from(ne.querySelectorAll(".table-row")).filter(me=>!me.classList.contains("table-row--loading")&&!me.classList.contains("table-row--empty")),Ne=e.map((me,Le)=>{let Te=J.children[Le]?.getBoundingClientRect().width??0;for(const Fe of le){const Me=Fe.children[Le];Me&&(Te=Math.max(Te,Me.getBoundingClientRect().width))}return Math.max(X,Math.ceil(Te))}),Be=window.getComputedStyle(J),Re=J.clientWidth-(parseFloat(Be.paddingLeft)||0)-(parseFloat(Be.paddingRight)||0);Ae?ne.style.setProperty("--table-grid-cols",Ae):ne.style.removeProperty("--table-grid-cols");let Oe=Ne;const Se=Ne.reduce((me,Le,Te)=>me+(j.current(Te)?Le:0),0),Ue=Ne.reduce((me,Le,Te)=>me+(j.current(Te)?0:Le),0),We=Re-Se;if(Re>0&&Ue>0&&We>0){const me=We/Ue;Oe=Ne.map((Te,Fe)=>j.current(Fe)?Te:Math.max(X,Math.round(Te*me)));const Le=Math.round(We-Oe.reduce((Te,Fe,Me)=>Te+(j.current(Me)?0:Fe),0));if(Le!==0){let Te=-1;Oe.forEach((Fe,Me)=>{!j.current(Me)&&(Te<0||Fe>Oe[Te])&&(Te=Me)}),Te>=0&&(Oe[Te]=Math.max(X,Oe[Te]+Le))}}if(I(Oe),q)try{window.localStorage.setItem(q,JSON.stringify(Oe))}catch{}},[e,f,q]);s.useEffect(()=>()=>{P.current&&(window.removeEventListener("pointermove",W),window.removeEventListener("pointerup",re),document.body.style.cursor="",document.body.style.userSelect="")},[W,re]);const ve=i4(p),Ce=ve.filter(J=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(J));Ce.length>0&&Vn(`table-content-track:${p}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${Ce.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${p})`);const O=J=>/^\d+(\.\d+)?px$/.test(ve[J]??"");j.current=O,L.current=ve;const te=J=>f==="fit"&&!O(J)?"fr":"px",ce=G&&G.length===e.length&&(f==="fit"||a.length>0),ke=E??(ce?e.map((J,ne)=>J.resizable===!1&&ve[ne]?ve[ne]:`${G[ne]}${te(ne)}`).join(" "):p),_e=ke?{"--table-grid-cols":ke}:void 0,de=y!==void 0;return t.jsx("div",{className:`table-wrap table-wrap--${C}${H?" table-wrap--resizable":""}${N?" table-wrap--dragover":""}${v?" table-wrap--collapsed":""}`,style:_e,onDragOver:D,onDragLeave:F,onDrop:R,children:t.jsxs("div",{className:"table body-2",children:[de&&t.jsxs("div",{className:"table-header",onClick:A,role:A?"button":void 0,tabIndex:A?0:void 0,"aria-expanded":A?!v:void 0,onKeyDown:A?J=>{(J.key==="Enter"||J.key===" ")&&(J.preventDefault(),A())}:void 0,children:[A&&t.jsx(se,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:v?"chevron-right":"chevron-down",ariaLabel:v?$("common.expand","\uD3BC\uCE58\uAE30"):$("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),w&&t.jsx(Ie,{icon:w,label:typeof y=="string"?y:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:y}),_!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:_}),x&&t.jsx("span",{className:"table-header__actions",onClick:J=>J.stopPropagation(),children:x})]}),!v&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((J,ne)=>t.jsx("div",{className:xe("table-field body-3",J.className),style:{gridColumn:`span ${J.span}`},children:J.label},ne))}),t.jsxs("div",{className:xe("table-fields-strip",H&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:M,children:e.map((J,ne)=>t.jsx(u4,{onClick:J.onClick,className:J.className,sortDir:J.sortDir,onResizeStart:H&&ne<e.length-1&&J.resizable!==!1&&(f!=="fit"||e.some((Ae,le)=>le>ne&&Ae.resizable!==!1))?Ae=>ue(ne,Ae):void 0,children:J.label},ne))}),H&&t.jsx(se,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:$("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:$("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:be})]}),t.jsx("div",{className:"table-body",children:T?t.jsx(_r,{variant:"loading"}):a.length===0&&k?t.jsx(_r,{variant:"empty",children:k}):a.map((J,ne)=>{const Ae=h!=null&&J.id===h,le=!!o&&(i?i(J):!0),Ne=z!=null&&(z instanceof Set?z.has(J.id):J.id===z);return t.jsx(_r,{className:`${le?" table-row--clickable":""}${u?" table-row--draggable":""}${Ae?" table-row--dragging":""}`.trim(),draggable:!!u,onClick:le?()=>o(J):void 0,onMouseEnter:l?Be=>l(J,Be):void 0,onMouseLeave:c?Be=>c(J,Be):void 0,onDragStart:u?Be=>u(J,Be):void 0,onDragEnd:d?Be=>d(J,Be):void 0,expandedContent:Ne&&S?S(J):void 0,children:r(J).map((Be,Re)=>t.jsx(l4,{className:Be.className,style:Be.style,children:Be.content},Re))},String(J.id??ne))})})]})]})})}function zi(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}function Wi(e,n){return n!=="wornAt"?String(e[n]??""):e.wornYear?`${e.wornYear}-${e.wornMonth.padStart(2,"0")}-${e.wornDay.padStart(2,"0")}`:""}function d4({rows:e,onSelect:n,onDelete:a,onWear:r,onRelease:o,onAdd:i}){const{t:l}=fe.useTranslation(),c=f=>f==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:d}=T0(),h=s.useMemo(()=>{if(!u)return e;const{key:f,asc:g}=u;return[...e].sort((C,y)=>{const w=f==="worn"?Number(y.worn)-Number(C.worn):Wi(C,f).localeCompare(Wi(y,f),"ko");return g?w:-w})},[e,u]),{pageRows:p,pageSizeProps:m,paginationProps:b}=j0(h,u);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(fr,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:m,pagination:b,actions:i&&t.jsx(se,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:i})}),t.jsx(wr,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...d(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},d(l("device.direction.label","\uBC29\uD5A5"),"side"),d(l("device.deviceType","\uC885\uB958"),"device"),d(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),d(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),d(l("device.productName","\uC81C\uD488\uBA85"),"productName"),d(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:p.map((f,g)=>({id:f.id??`${f.side}-${g}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:g=>g.stopPropagation(),children:t.jsx(Ti,{checked:f.worn,disabled:!r||!o,ariaLabel:f.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:g=>{g?r?.(f):o?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(ot,{size:"small",variant:zi(f.device),fill:"soft",label:f.device}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:f.wornYear?`${f.wornYear}.${f.wornMonth}.${f.wornDay}`:"-"})},...a?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(se,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:g=>{g?.stopPropagation(),a(f)}})})}]:[]],onRowClick:({row:f})=>n(f),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function qi(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a))}}:{}}function p4(e,n){return new Date(e,n+1,0).getDate()}function h4(e,n){return new Date(e,n,1).getDay()}function m4({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r}){const{t:o}=fe.useTranslation(),i=s.useMemo(()=>o("calendar.dow",{returnObjects:!0}),[o]),[l,c]=s.useState(new Date().getFullYear()),[u,d]=s.useState(new Date().getMonth()),[h,p]=s.useState(null),m=s.useRef(null),b=new Date,f=s.useMemo(()=>{const v={};return e.forEach(A=>{v[A.date]||(v[A.date]=[]),v[A.date].push(A)}),v},[e]),g=s.useMemo(()=>{const v=p4(l,u),A=h4(l,u),x=[];for(let k=0;k<A;k++)x.push(null);for(let k=1;k<=v;k++)x.push(k);for(;x.length<35;)x.push(null);return x},[l,u]),C=s.useCallback(()=>{u===0?(c(v=>v-1),d(11)):d(v=>v-1)},[u]),y=s.useCallback(()=>{u===11?(c(v=>v+1),d(0)):d(v=>v+1)},[u]),w=v=>`${l}-${String(u+1).padStart(2,"0")}-${String(v).padStart(2,"0")}`,_=v=>b.getFullYear()===l&&b.getMonth()===u&&b.getDate()===v;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":o("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ie,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5",children:o("calendar.yearMonth",{year:l,month:u+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:y,"aria-label":o("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ie,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[i.map(v=>t.jsx("div",{className:"calendar-day-header body-3",children:v},v)),g.map((v,A)=>{if(v===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${A}`);const x=v,k=w(x),T=f[k]??[],N=h===k;return t.jsxs("div",{className:`calendar-cell${_(x)?" today":""}${N?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?o("calendar.addOnDate",{date:k}):void 0,onClick:r?()=>r(k):void 0,onKeyDown:r?D=>{D.target===D.currentTarget&&(D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),r(k)))}:void 0,onDragOver:a?D=>{D.preventDefault(),p(k)}:void 0,onDragLeave:a?D=>{D.currentTarget.contains(D.relatedTarget)||p(null)}:void 0,onDrop:a?D=>{D.preventDefault(),m.current!=null&&(a(m.current,k),m.current=null),p(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:x}),t.jsx("div",{className:"calendar-cell__badges",children:T.map((D,F)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${D.status==="noVisit"?" calendar-visit-badge--no-visit":D.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?R=>{m.current=D.id,R.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{m.current=null,p(null)}:void 0,onClick:n?R=>{R.stopPropagation(),n(D)}:void 0,...qi(n?()=>n(D):void 0),"aria-label":[D.time?fs(D.time,o):null,D.customer,o(D.status==="noVisit"?"calendar.legend.noVisit":D.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[D.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:fs(D.time,o)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:D.customer}),D.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},D.id??F))})]},x)})]})]})}const f4={page:"h3",pagePopup:"h4",popup:"h5"};function Rn({type:e="page",title:n,headingLevel:a,icon:r,action:o,disc:i,children:l,className:c,style:u}){const d=f4[e],h=n||i,p=a?`h${a}`:"div";return t.jsxs("div",{className:xe("section",`section--${e}`,c),style:u,children:[h&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ie,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(p,{className:`section__title ${d}`,children:n}),i&&t.jsx("div",{className:"section__disc body-3",children:i})]})]}),o&&t.jsx("div",{className:"section__action",children:o})]}),l]})}function Ui({icon:e,label:n,tooltip:a,wrapperStyle:r,color:o,bgColor:i,useHover:l=!0,iconSize:c="medium"}){const u=c==="small",d=xe("category-icon",u?"category-icon--small":""),h=u?16:20,p=s.useRef(null),[m,b]=s.useState(!1),f=s.useMemo(()=>{const x=r&&typeof r=="object"?{...r}:{};return!o&&!i?x:{...x,...o?{color:o,"--t-item-fg":o}:{},...i?{"--t-item-bg":i}:{}}},[r,o,i]),g=a||n,[C,y]=s.useState(null);s.useLayoutEffect(()=>{m&&y(p.current?.getBoundingClientRect()??null)},[m]),s.useEffect(()=>{if(!l&&m)try{b(!1)}catch{}},[l,m]),s.useEffect(()=>{if(!m)return;const x=k=>{const T=p.current;if(!T)return;const N=k.target;N&&!T.contains(N)&&b(!1)};return document.addEventListener("pointerdown",x,!0),()=>document.removeEventListener("pointerdown",x,!0)},[m]);const w=s.useCallback(()=>{l&&b(!0)},[l]),_=s.useCallback(()=>{l&&b(!1)},[l]),v=s.useCallback(()=>b(!1),[]),A=s.useCallback(x=>{if(x.key==="Escape"){b(!1);return}(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),b(k=>!k))},[]);return t.jsxs("span",{ref:p,className:"category-icon__wrap",onPointerEnter:w,onPointerLeave:_,onFocus:w,onBlur:_,onKeyDown:A,role:"button",tabIndex:0,"aria-label":typeof g=="string"?g:void 0,"aria-haspopup":!!g,"aria-expanded":m,"data-tooltip-ignore":!0,children:[t.jsx(Ie,{icon:e,label:n,className:d,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:f,size:h}),m&&g&&t.jsx(hn,{anchorRect:C,text:typeof g=="string"?g:void 0,offset:8,onClose:v,className:"category-icon__tooltip",ariaLabel:typeof g=="string"?g:void 0})]})}function C4(e,n){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(n==="LISTEN_IN_NOISE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}if(n==="SHORT_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"SHORT_S"}}if(n==="LONG_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LONG"}}if(n==="ORDERING_SENTENCE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}const o=a.sentences||a.items||[],i=r(Array.isArray(o)?o:[]);return i.length===0&&(a.contextCode||a.context_code)&&i.push(String(a.contextCode||a.context_code)),{previewCodes:i,previewBucket:null}}function g4(e,n){const[a,r]=s.useState(!1),[o,i]=s.useState(-1),[l,c]=s.useState({key:"",urls:[]}),u=s.useRef(null),d=s.useRef(!1),h=s.useRef(null),[p,m]=s.useState(!1),b=s.useRef([]),{previewCodes:f,previewBucket:g}=C4(e,n),C=`${f.join(",")}|${g??""}`,y=s.useMemo(()=>l.key===C?l.urls:[],[l,C]);s.useEffect(()=>{if(!f.length)return;let _=!1;return(async()=>{const v=[],A=[];for(const x of f)try{const k=Yo(x,g);if(!k){v.push("");continue}let T=null;try{T=await Xo(k)}catch{}if(!T)try{const N=await Jo(k);N&&(T=URL.createObjectURL(N),A.push(T))}catch{}v.push(T??"")}catch{v.push("")}_?A.forEach(x=>{try{URL.revokeObjectURL(x)}catch{}}):(b.current.forEach(x=>{try{URL.revokeObjectURL(x)}catch{}}),b.current=A,c({key:C,urls:v}))})(),()=>{_=!0}},[f.join(","),g]),s.useEffect(()=>()=>{b.current.forEach(_=>{try{URL.revokeObjectURL(_)}catch{}}),b.current=[]},[]);const w=s.useCallback(async _=>{if(_.stopPropagation(),_.preventDefault(),d.current){d.current=!1;try{u.current?.pause()}catch{}r(!1),i(-1);return}if(y.filter(Boolean).length){d.current=!0,r(!0);for(let v=0;v<y.length&&d.current;v++){const A=y[v];if(A){i(v);try{await new Promise((x,k)=>{const T=new Audio(A);u.current=T,T.onended=()=>x(),T.onerror=()=>k(),T.play().catch(k)})}catch{break}}}d.current=!1,r(!1),i(-1)}},[y]);return s.useEffect(()=>()=>{d.current=!1;try{u.current?.pause()}catch{}u.current=null},[]),{playing:a,playingIndex:o,previewUrls:y,previewHover:p,setPreviewHover:m,previewBtnRef:h,handlePreview:w}}const b4=e=>{if(!e)return[];const n=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(n)return[String(n)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(r=>{if(typeof r=="string")return r;if(r&&typeof r=="object"){const o=r;return o.sentence||o.text||o.context||o.question||o.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function kr(e){const{index:n,type:a,trainingData:r,ariaLabel:o,depth:i,renderPopup:l,completed:c,completedIds:u,selectedIds:d,tooltipText:h,useDescriptionTooltip:p=!1,onRemove:m,hideCheckBadge:b=!1,showTypeLabel:f=!1,onComplete:g,onSelect:C,onMore:y,countLabelOverride:w,size:_="square"}=e||{},{t:v}=fe.useTranslation(),[A,x]=s.useState(!1),k=s.useRef(null),[T,N]=s.useState(!1);s.useEffect(()=>{k.current?.matches(":hover")&&N(!0)},[]);const{playing:D,playingIndex:F,previewUrls:R,previewHover:S,setPreviewHover:z,previewBtnRef:$,handlePreview:ee}=g4(r,a?.key),E=s.useCallback(()=>{C?C():x(!0)},[C]),H=s.useCallback(()=>x(!1),[]),X=s.useCallback(()=>N(!0),[]),q=s.useCallback(()=>N(!1),[]),M=s.useCallback(()=>z(!0),[z]),j=s.useCallback(()=>z(!1),[z]),[L,P]=s.useState(null);s.useLayoutEffect(()=>{S&&P($.current?.getBoundingClientRect()??null)},[S,$]);const[G,I]=s.useState(null);s.useLayoutEffect(()=>{T&&!A&&p&&I(k.current?.getBoundingClientRect()??null)},[T,A,p]);const K=s.useCallback(me=>{(me.key==="Enter"||me.key===" ")&&(me.preventDefault(),E())},[E]),W=r||null,re=s.useMemo(()=>{if(!p)return null;const me=h?(Array.isArray(h)?h:[h]).filter(Boolean):null,Le=me&&me.length>0?me:b4(W);return Le&&Le.length>0?Le:null},[p,h,W]),ue=s.useCallback(me=>{me.stopPropagation(),m?.()},[m]),be=s.useCallback(me=>me.stopPropagation(),[]),ve=s.useCallback(me=>{typeof g=="function"&&g(me)},[g]),Ce=c||(u&&r?.id!=null?u.has(String(r.id)):!1),O=!Ce&&(d!=null&&r?.id!=null?d.has(String(r.id)):!1);Xs("speechear.popup.close",H);const te=Cs(),ce=`${a?.label||""} ${n+1}`,ke=W?.title||W?.name||ce;let _e=a?.icon,de,J="",ne="";try{const me=W?.category_0||W?.category_main_code||W?.category_main,Le=W?.category_1||W?.category_sub_code||W?.category_sub,Te=te.find(Fe=>Fe.key===me);Te?.icon&&(_e=Te.icon),!de&&Te?.color&&(de={"--t-item-fg":Te.color}),!de&&W?.iconColor&&(de={"--t-item-fg":W.iconColor}),J=Te?.label||"";try{ne=Te?.subs?.find(Fe=>Fe.key===Le)?.label||""}catch{}}catch{}const Ae=ne?`${J} / ${ne}`:J||a?.label||ke,le=me=>v("training.countQuestions",{n:me}),Ne=me=>v("training.countSentences",{n:me});let Be="";try{if(W)if(a?.key==="LISTEN_IN_NOISE"){let me=0;Array.isArray(W.items)&&W.items.length>0?me=W.items.length:Array.isArray(W.sentences)&&W.sentences.length>0?me=W.sentences.length:W.sentences&&(me=1),Be=Ne(me)}else if(a?.key==="SHORT_STORY"){let me=1;Array.isArray(r?.items)?me=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?me=r.raw.items.length:Array.isArray(W?.questions)?me=W.questions.length:Array.isArray(W?.sentences)&&(me=W.sentences.length),Be=le(me)}else if(a?.key==="LONG_STORY"){let me=1;if(Array.isArray(W.items)&&W.items.length>0){const Le=W.items.reduce((Te,Fe)=>{const Me=Fe.questionItems;return Array.isArray(Me)?Te+Me.length:Array.isArray(Fe.questions)?Te+Fe.questions.length:Te},0);me=Le>0?Le:W.items.length}else Array.isArray(W.questions)&&W.questions.length>0?me=W.questions.length:Array.isArray(W.sentences)&&W.sentences.length>0&&(me=W.sentences.length);Be=le(me)}else if(a?.key==="ORDERING_SENTENCE"){let me=1;Array.isArray(W.items)&&W.items.length>0?me=W.items.length:Array.isArray(W.sentences)&&W.sentences.length>0&&(me=W.sentences.length),Be=Ne(me)}else Array.isArray(W.items)&&(Be=W.items.length>0?le(W.items.length):"")}catch{}const Re=_==="list",Oe=_==="compact",Se=_==="small",Ue=Se&&a?.key?u0().find(me=>me.key===a.key)?.label??"":"",We=!!f&&!!a?.label&&a.label!==String(ke)||Se&&!!Ue&&Ue!==String(ke);return t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:k,className:`training-block-button${Re?" training-block-button--list":""}${Oe?" training-block-button--compact":""}${Se?" training-block-button--small":""}${Ce?" training-block-button--completed":""}${O?" training-block-button--selected":""}${We&&!Se?" training-block-button--withType":""}${Se&&!We?" training-block-button--no-type-label":""}`,onClick:E,onPointerEnter:X,onPointerLeave:q,role:"button",tabIndex:0,onKeyDown:K,"aria-label":typeof o=="string"?o:typeof ke=="string"?ke:void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[f&&a?.label&&a.label!==String(ke)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),Se&&Ue&&Ue!==String(ke)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Ue}),t.jsx(Ui,{icon:_e,label:ke,tooltip:Ae,wrapperStyle:de,iconSize:Se||Oe?"small":"medium"}),!b&&(Ce||O)&&!(m&&T)&&t.jsx(ot,{type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":Ce?v("training.completed","\uD6C8\uB828 \uC644\uB8CC"):v("training.selected","\uC120\uD0DD\uB428")}),m&&T&&t.jsx(ot,{type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":v("common.remove","\uC81C\uAC70"),onClick:ue}),t.jsx("div",{className:`training-block-button__title ${Oe?"body-3":Se?"body-3b":"h3"}`,children:String(ke)}),t.jsxs("div",{className:"training-block-button__description",children:[(()=>{const me=w!==void 0?w:Be;return me?t.jsx("div",{className:`training-block-button__count ${Se?"caption-2":"caption-1"}`,children:me}):null})(),t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Ie,{icon:"chevron-right",label:v("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Se?12:20})})]}),(Re||Se)&&R.length>0&&t.jsx("div",{ref:$,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:be,onPointerEnter:M,onPointerLeave:j,children:t.jsx(se,{htmlType:"button",size:Se?28:32,type:"dot",icon:D?"pause":"play",variant:Se?"transparent-lightGray":"default",useBorder:!1,selected:D,ariaLabel:D?v("training.stop","\uC815\uC9C0"):v("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:ee})})]}),y&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:me=>{me.stopPropagation(),y(me)},children:t.jsx(se,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:v("common.more","\uB354\uBCF4\uAE30")})})]}),S&&t.jsx(hn,{anchorRect:L,text:D?v("training.stop","\uC815\uC9C0"):v("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:j}),T&&!A&&p&&(re?t.jsx(wn,{anchorRect:G,items:re,activeIndex:F,onClose:q}):W?.subTitle?t.jsx(hn,{anchorRect:G,text:W.subTitle,offset:8,onClose:q}):null),A&&l&&l({trainingData:W,typeKey:a?.key??"",onClose:H,onComplete:ve,popupTitle:String(ke),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:_e,popupIconTooltip:String(Ae),popupWrapperStyle:de})]})}const Aa=20;function y4(e){const{t:n}=fe.useTranslation(),{type:a,trainingDatas:r,depth:o,renderPopup:i,completedIds:l,selectedIds:c,onItemComplete:u,size:d,useDescriptionTooltip:h,onRemove:p,onMore:m,sectionType:b="page"}=e||{},[,f]=s.useState(0),g=typeof r<"u"?Array.isArray(r)?r:[]:[],C=g.length,[y,w]=s.useState(Math.min(C,Aa)),_=s.useMemo(()=>Array.isArray(o)?[...o,a?.label].filter(Boolean).join(" \xB7 "):[o||"",a?.label].filter(Boolean).join(" \xB7 "),[o,a?.label]);s.useEffect(()=>{w(Math.min(C,Aa))},[C]),Xs("speechear.data.updated",()=>f(A=>A+1));function v(){w(A=>Math.min(C,A+Aa))}return t.jsxs(Rn,{type:b,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",children:(g||[]).slice(0,y).map((A,x)=>{const k=A;return t.jsx(kr,{index:x,type:a,trainingData:k,depth:_,renderPopup:i,completedIds:l,selectedIds:c,size:d,useDescriptionTooltip:h,onRemove:typeof p=="function"&&c!=null&&k?.id!=null&&c.has(String(k.id))?()=>p(k):void 0,onComplete:typeof u=="function"&&k?.id!=null?()=>u(String(k.id)):void 0,onMore:typeof m=="function"?T=>m(k,T):void 0},k?.id!=null?`${a?.key||"t"}-${String(k.id)}`:`${a?.key||"t"}-${x}`)})}),C>Aa&&y<C&&t.jsx("div",{className:"training-block__more",children:t.jsx(se,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:v,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function Ar(e){const n=s.useRef(null),[a,r]=s.useState(!!e),[o,i]=s.useState(!1);s.useEffect(()=>{i(!1);const u=n.current;r(!!e&&!(u?.complete&&u.naturalWidth>0))},[e]);const l=s.useCallback(()=>r(!1),[]),c=s.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:n,loading:a,failed:o,hasImage:!!e&&!o,onLoad:l,onError:c}}let Pn=null;function v4(e){if(Pn&&Pn!==e)try{Pn()}catch{}return Pn=e,()=>{Pn===e&&(Pn=null)}}var x4='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const _4=x4,Nr=s.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:o=!1,onSelect:i,flipDelay:l=0,hideLabel:c=!1,hideAudio:u=!1,orderRank:d=null},h){const{t:p}=fe.useTranslation(),m=e.word||e.title||"",b=n||!m,f=e.audio??e.sound??e.audioKey,g=e.subLabel||e.pronunciation||"",C=e.colloquialLabel||"",[y,w]=s.useState({label:m,subLabel:g,colloquialLabel:C,homonum:e.homonum});m&&y.label!==m&&w({label:m,subLabel:g,colloquialLabel:C,homonum:e.homonum});const _=s.useRef(null),v=Kt("(max-width: 767px)"),[A,x]=s.useState(!1),k=`${typeof f=="string"?f:f?.src??""}\0${m}`,[T,N]=s.useState({for:"",url:""}),D=T.for===k?T.url:"",F=Tn()?.(y.label,y.homonum)??e.image??"",{imgRef:R,loading:S,hasImage:z,onLoad:$,onError:ee}=Ar(F);s.useEffect(()=>{let L=!1;return(async()=>{if(f){if(typeof f=="string"){if(f.startsWith("http")||f.includes("/")){N({for:k,url:f});return}}else if(typeof f=="object"&&!Array.isArray(f)){const G=f.src;if(G){N({for:k,url:G});return}}}const P=Ka();if(P&&m)try{const G=await Promise.resolve(P(m));!L&&G&&N({for:k,url:G})}catch{}})(),()=>{L=!0}},[f,m,k]),s.useEffect(()=>()=>{try{_.current?.pause()}catch{}_.current=null},[]);const E=s.useCallback(()=>new Promise(L=>{if(typeof window<"u"&&window.speechSynthesis&&m){x(!0),window.speechSynthesis.cancel();const P=new SpeechSynthesisUtterance(m);P.lang="ko-KR",P.onend=()=>{x(!1);try{a?.()}catch{}L()},P.onerror=()=>{x(!1),L()},window.speechSynthesis.speak(P)}else L()}),[m,a]),H=s.useCallback(L=>new Promise(P=>{let G=!1;const I=()=>{G||(G=!0,x(!1),P(!1))};try{const K=new Audio(L);_.current=K,K.onended=()=>{if(!G){G=!0,x(!1);try{a?.()}catch{}P(!0)}},K.onerror=I,K.play().catch(I)}catch{I()}}),[a]),X=s.useCallback(async()=>{if(n)return;const L=v4(()=>{try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)});try{window.speechSynthesis?.cancel()}catch{}try{if(D&&(x(!0),await H(D)))return;const P=Bm();if(P&&m)try{const G=await Promise.resolve(P(m));if(G&&(x(!0),await H(G)))return}catch{}await E()}finally{L()}},[n,D,m,H,E]);s.useImperativeHandle(h,()=>({play:()=>X()}),[X]);const q=L=>L.stopPropagation(),M=s.useCallback(L=>{if(L.stopPropagation(),!n){if(A){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}X()}},[n,A,X]),j=xe("training-word-card",n?"training-word-card--disabled":"",b?"training-word-card--flipped":"",r?"training-word-card--selectable":"",o?"training-word-card--selected":"");return t.jsx("div",{className:j,onClick:r&&!n?i:void 0,role:r?"button":void 0,"aria-pressed":r?o:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?L=>{(L.key==="Enter"||L.key===" "||L.key==="Spacebar")&&(L.preventDefault(),i?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:b?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[o&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:q,children:t.jsx(ot,{type:"dot",size:40,position:"inline",animate:!0,icon:d!=null?void 0:"check",number:d??void 0,"aria-label":d!=null?p("training.nthSelected",{n:d}):p("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:z?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:R,className:"training-word-card__image",src:F,alt:y.label||p("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:$,onError:ee})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!c&&t.jsxs("div",{className:"training-word-card__body",children:[t.jsx("div",{className:"training-word-card__word",children:y.label}),y.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",y.subLabel,"]"]}),y.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",y.colloquialLabel,"]"]})]}),!u&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?q:void 0,children:t.jsx(se,{htmlType:"button",size:v?40:48,type:v?"dot":"bar",icon:A?"pause":"play",label:v?void 0:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:A,onClick:M,disabled:n,ariaLabel:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:_4,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})});let oa=0,Gi="",Ki="",sa=0;function w4(){return Zi(!1)}function k4(){return Zi(!0)}function Zi(e){const n=typeof document<"u";oa===0&&n&&(Gi=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(sa===0&&(Ki=document.body.style.paddingRight),sa++,document.body.style.paddingRight="0px"),oa++;let a=!1;return()=>{a||(a=!0,oa=Math.max(0,oa-1),e&&n&&(sa=Math.max(0,sa-1),sa===0&&(document.body.style.paddingRight=Ki)),oa===0&&n&&(document.body.style.overflow=Gi))}}const A4=260;function fn(e){const{t:n}=fe.useTranslation(),{title:a,subtitle:r,headerActions:o,children:i,buttons:l,footer:c,footerClassName:u="",onClose:d,closeDisabled:h=!1,beforeClose:p,closeOnBackdrop:m=!0,className:b="",ariaLabel:f,useTitle:g=!0,inline:C=!1,size:y,height:w,resetScrollKey:_}=e||{},[v,A]=s.useState(!1),x=s.useRef(!1),k=s.useRef(null),T=s.useId(),N=s.useRef(null);s.useEffect(()=>{},[C,a,f,b]),s.useEffect(()=>{_!==void 0&&N.current&&(N.current.scrollTop=0)},[_]);const[D,F]=s.useState(!1);s.useEffect(()=>{const M=N.current;if(!M)return;const j=()=>F(M.scrollHeight>M.clientHeight+1);if(j(),typeof ResizeObserver>"u")return;const L=new ResizeObserver(j);L.observe(M);const P=M.firstElementChild;return P&&L.observe(P),()=>L.disconnect()},[i,_]),s.useEffect(()=>{if(!C)return w4()},[C]),s.useEffect(()=>{if(C)return;const M=document.activeElement,j=k.current;return j&&!j.contains(document.activeElement)&&(j.querySelector(Jn)??j).focus(),()=>{const L=document.activeElement;(!L||L===document.body||j&&j.contains(L))&&M?.focus?.()}},[C]),rr(k,!C);const R=s.useCallback(M=>{x.current||(x.current=!0,A(!0),setTimeout(()=>{try{M&&M()}catch{}},A4))},[]),S=s.useCallback(()=>{h||p&&p()===!1||R(d)},[R,d,h,p]),z=s.useRef(S);s.useEffect(()=>{z.current=S});const $=!C&&!!d;s.useEffect(()=>{if($)return Mn(()=>z.current())},[$]);const ee=$&&m,E=s.useRef(!1),H=M=>{E.current=M.target===M.currentTarget},X=M=>{const j=E.current;E.current=!1,j&&M.target===M.currentTarget&&S()},q=t.jsx("div",{className:`popup ${C?"popup--inline":""} ${v?"popup--closing":""} ${b}`,onPointerDown:ee?H:void 0,onClick:ee?X:void 0,onMouseDown:C?void 0:M=>{M.target===M.currentTarget&&M.preventDefault()},children:t.jsxs("div",{ref:k,className:`popup-panel${y?` popup-panel--${y}`:""}`,style:w!=null?{height:w}:void 0,tabIndex:-1,role:C?void 0:"dialog","aria-modal":C?void 0:!0,"aria-labelledby":!C&&a?T:void 0,"aria-label":!C&&!a&&f?f:void 0,children:[!g&&(o||d)?t.jsxs("div",{className:"popup-close-float",children:[o,d&&t.jsx(se,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:S,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||o||d?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[t.jsx("span",{id:T,className:"popup-title popup-title--left h2",children:a}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),t.jsxs("div",{className:"popup-header-actions",children:[o,d&&t.jsx(se,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:S,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:N,tabIndex:D?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof i=="function"?i({animateThen:R,closeWithAnimation:S}):i})}),l?.length?t.jsx("div",{className:"popup-footer popup-footer--buttons",children:l.map((M,j)=>t.jsx(se,{htmlType:"button",size:48,variant:M.variant??"default",label:M.label,disabled:M.disabled,onClick:()=>M.onClick?.({animateThen:R,closeWithAnimation:S})},j))}):c?t.jsx("div",{className:`popup-footer${u?` ${u}`:""}`,children:typeof c=="function"?c({animateThen:R,closeWithAnimation:S}):c}):null]})});return C||typeof document>"u"?q:It.createPortal(q,document.body)}function Na(e){return String(e)}const Yi=["o","triangle","x"];function Xi(e,n){return e===n?null:n}const Ji={o:"circle",triangle:"triangle",x:"x"},Qi={o:"main",triangle:"warn",x:"danger"};function N4(e){let n=0,a=0,r=0;for(const i of Object.values(e))i==="o"?n++:i==="triangle"?a++:i==="x"&&r++;const o=n+a+r;return{marked:o,o:n,triangle:a,x:r,rate:o===0?null:(n+a*.5)/o}}function Br(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function el(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function B4(e,n){return!n&&e>0}const In={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function D4(e="landscape"){const{printSize:n,printW:a,printH:r}=In[e],o=document.createElement("style");o.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(o);const i=()=>{document.head.removeChild(o),window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),window.print()}function tl(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let o=0;o<e.length;o+=a)r.push(e.slice(o,o+a));return r}const S4={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function j4(e,n){const a=S4[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),o=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let i,l;return e==="landscape"?(l=o,i=Math.ceil(r/l)):(i=o,l=Math.ceil(r/i)),(e==="landscape"?i<l:l<i)&&([i,l]=[l,i]),{cols:i,rows:l}}const T4={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},nl={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},al={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function Dr(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function rl(e,n,a,r){if(r!=="\uC810\uC120")return{};const o=e%n,i=Math.floor(e/n),l=o<n-1,c=i<a-1;if(!l&&!c)return{};const u="#ddd",d=b=>`repeating-linear-gradient(to ${b}, ${u} 0, ${u} 5px, transparent 5px, transparent 10px)`,h=[],p=[],m=[];return l&&(h.push(d("bottom")),p.push("1px 100%"),m.push("right center")),c&&(h.push(d("right")),p.push("100% 1px"),m.push("center bottom")),{backgroundImage:h.join(", "),backgroundSize:p.join(", "),backgroundPosition:m.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const E4=280,M4=240,L4=280,$4=400,R4=120,P4=280;function ol(e,n){const a=s.useRef(null),[r,o]=s.useState(1),[i,l]=s.useState(0),c=s.useCallback((u,d)=>{const h=u/e,p=n?d/n:1/0,m=Math.min(1,h,p);o(m),l(Math.max(0,(u-e*m)/2))},[e,n]);return s.useEffect(()=>{const u=a.current;if(!u)return;const d=n?u.parentElement??u:u;if(c(d.clientWidth,d.clientHeight),typeof ResizeObserver>"u")return;const h=new ResizeObserver(([p])=>c(p.contentRect.width,p.contentRect.height));return h.observe(d),()=>h.disconnect()},[c,n]),{scalerRef:a,scale:r,offset:i}}let sn=null;function sl({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:o=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:c=!0,buttonSize:u=40,wordInfo:d}){const{t:h}=fe.useTranslation(),p=s.useRef(null),m=s.useRef(null),b=s.useRef(null),[f,g]=s.useState(1),[C,y]=s.useState(!1),[w,_]=s.useState(""),[v,A]=s.useState(null),x=n&&n.length>0?n:Sm()?.(e,r)??"",k=Tn()?.(e,r)??"",{imgRef:T,loading:N,failed:D,onLoad:F,onError:R}=Ar(k),S=s.useCallback(()=>A(m.current?.getBoundingClientRect()??null),[]),z=s.useCallback(()=>A(null),[]),$=s.useMemo(()=>{if(!d)return null;const q=[];return d.grade&&q.push(`\uB09C\uC774\uB3C4: ${d.grade}\uB4F1\uAE09`),d.syllables&&q.push(`\uC74C\uC808 \uC218: ${d.syllables}\uC74C\uC808`),d.pos&&q.push(`\uD488\uC0AC: ${Dr(d.pos,nl)}`),d.wordType&&q.push(`\uC720\uD615: ${Dr(d.wordType,al)}`),q.length?q:null},[d]);s.useEffect(()=>{const q=Ka(),M=x||e;if(!q||!M)return;let j=!1;return Promise.resolve(q(M)).then(L=>{!j&&L&&_(L)}),()=>{j=!0}},[x,e]),s.useEffect(()=>()=>{b.current?.pause(),sn?.audio===b.current&&(sn=null)},[]);const ee=s.useCallback(async q=>{if(q.stopPropagation(),C){b.current?.pause(),y(!1),sn=null;return}if(w){sn?.stop(),y(!0);try{const M=new Audio(w);b.current=M;const j=()=>{y(!1),sn?.audio===M&&(sn=null)};sn={audio:M,stop:()=>{M.pause(),j()}},M.onended=j,M.onerror=j,await M.play()}catch{y(!1),sn?.audio===b.current&&(sn=null)}}},[C,w]),E=i&&!!k&&!D,H=E&&o?E4:E?L4:M4,X=E&&o?$4:E?P4:R4;return s.useEffect(()=>{const q=p.current;if(!q||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([j])=>{const{width:L,height:P}=j.contentRect;g(Math.min(L/H,P/X))});return M.observe(q),()=>M.disconnect()},[H,X]),t.jsxs("div",{ref:p,className:"word-table-cell",children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${f})`},children:[E&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[N&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:T,className:"word-table-cell__image",src:k,alt:e,draggable:!1,style:{opacity:N?0:1},onLoad:F,onError:R})]}),o&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),c&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":w,children:[t.jsx("span",{"data-play-state":"play",style:{display:C?"none":void 0},children:t.jsx(se,{htmlType:"button",size:u,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:h("common.play","\uC7AC\uC0DD"),onClick:ee})}),t.jsx("span",{"data-play-state":"pause",style:{display:C?void 0:"none"},children:t.jsx(se,{htmlType:"button",size:u,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:h("common.pause","\uBA48\uCDA4"),onClick:ee})})]}),d&&t.jsxs("div",{ref:m,className:"word-table-cell__info-button",onPointerEnter:S,onPointerLeave:z,onFocus:S,onBlur:z,children:[t.jsx(se,{htmlType:"button",size:u,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:h("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:q=>q.stopPropagation()}),v&&$&&t.jsx(wn,{anchorRect:v,items:$,showIndex:!1})]})]})}function Fn({title:e,titleIcon:n,disc:a,className:r,orientation:o="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:c=!0,showDivLine:u=!0,items:d,editCells:h,count:p,activeCell:m=null,onActivateCell:b,onRemoveCell:f,onRemoveItem:g,onReorder:C,showFillerAdd:y=!1,contentRef:w,buttonSize:_=40,pageNumber:v,pageNumberPosition:A="right",fitHeight:x=!1,scoring:k=!1,marks:T,onMarkClick:N,scoreIndexOffset:D=0}){const F=s.useCallback((ve,Ce)=>{N?.(D+ve,Ce)},[N,D]),R=(ve,Ce)=>{const O=T?.[Na(D+ve)]??null;return t.jsx("div",{className:xe("word-table-cell__score",O?"word-table-cell__score--marked":""),children:Yi.map(te=>t.jsx("span",{className:xe("word-table-cell__score-slot",O===te?"word-table-cell__score-slot--on":""),children:t.jsx(se,{htmlType:"button",size:_,type:"dot",icon:Ji[te],variant:O===te?Qi[te]:"default",selected:O===te,useBorder:!1,showTooltipInfo:!1,ariaLabel:S(`wordTable.scoring.${te}`,{word:Ce,defaultValue:`${Ce} ${te}`}),onClick:ce=>{ce.stopPropagation(),F(ve,te)}})},te))})},{t:S}=fe.useTranslation(),z=h!==void 0,$=s.useRef(null),[ee,E]=s.useState(null),{width:H,height:X}=In[o],{scalerRef:q,scale:M,offset:j}=ol(H,x?X:void 0),L=z?h?.length??0:d?.length??0,P=Math.max(p??L,1),{cols:G,rows:I}=j4(o,P),K={word:i.length===0||i.includes("\uB2E8\uC5B4"),image:i.length===0||i.includes("\uC774\uBBF8\uC9C0"),pron:i.length===0||i.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:i.length===0||i.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},W=z?(h??[]).some(ve=>ve!==null&&ve.length>1):(d??[]).some(ve=>ve.words.length>1),re=xe("word-table-block__content",T4[l],c&&"word-table-block__content--outline",u&&W&&"word-table-block__content--div-line"),ue={transform:`scale(${1/M})`,transformOrigin:"center center"},be=t.jsx("div",{ref:q,className:"word-table__scaler",style:{height:X*M},children:t.jsx("div",{className:xe("word-table",r),style:{width:H,height:X,transform:`scale(${M})`,transformOrigin:"top left",marginLeft:j},children:t.jsxs("div",{ref:w,className:re,style:{gridTemplateColumns:`repeat(${G}, 1fr)`,gridTemplateRows:`repeat(${I}, 1fr)`},children:[z?t.jsx(t.Fragment,{children:(h??[]).map((ve,Ce)=>t.jsx("div",{className:xe("word-table-block__edit-cell",ve?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",m===Ce?"word-table-block__edit-cell--active":""),style:rl(Ce,G,I,l),children:ve?t.jsxs(t.Fragment,{children:[ve.map((O,te)=>t.jsxs(s.Fragment,{children:[te>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(sl,{label:O.word,subLabel:O.pronunciation,colloquialLabel:O.colloquialPronunciation,homonum:O.homonum,showWord:K.word,showImage:K.image,showPronunciation:K.pron,showColloquial:K.colloq,buttonSize:_})]},te)),k&&R(Ce,ve.map(O=>O.word).join(" / ")),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(se,{htmlType:"button",size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ve.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ve.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(Ce)})})]}):b&&t.jsx("div",{style:ue,children:t.jsx(se,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:S("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b(Ce)})})},Ce))}):t.jsxs(t.Fragment,{children:[(d??[]).map((ve,Ce)=>t.jsxs("div",{className:`word-table-block__card${C?" word-table-block__card--draggable":""}${ee===Ce?" word-table-block__card--drag-over":""}`,style:rl(Ce,G,I,l),draggable:!!C,onDragStart:C?()=>{$.current=Ce}:void 0,onDragOver:C?O=>{O.preventDefault(),E(Ce)}:void 0,onDragLeave:C?()=>E(null):void 0,onDrop:C?O=>{O.preventDefault(),$.current!==null&&$.current!==Ce&&C($.current,Ce),$.current=null,E(null)}:void 0,onDragEnd:C?()=>{$.current=null,E(null)}:void 0,children:[ve.words.map((O,te)=>t.jsxs(s.Fragment,{children:[te>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(sl,{label:O.label,subLabel:O.subLabel,colloquialLabel:O.colloquialLabel,homonum:O.homonum,showWord:K.word,showImage:K.image,showPronunciation:K.pron,showColloquial:K.colloq,buttonSize:_,wordInfo:O.grade||O.syllables!=null||O.pos||O.wordType?{grade:O.grade,syllables:O.syllables,pos:O.pos,wordType:O.wordType}:void 0})]},te)),k&&R(Ce,ve.words.map(O=>O.label).join(" / ")),g&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(se,{htmlType:"button",size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ve.words.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ve.words.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>g(ve.id)})})]},ve.id)),Array.from({length:Math.max(0,G*I-(d?.length??0))}).map((ve,Ce)=>{const O=(d?.length??0)+Ce<P;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:y&&b&&O&&t.jsx("div",{style:ue,children:t.jsx(se,{htmlType:"button",size:_,type:"bar",icon:"plus",label:S("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b((d?.length??0)+Ce)})})},`filler-${Ce}`)})]}),v&&A!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${A}`,children:S("wordTable.filter.pageIndicator",{current:v.current,total:v.total})})]})})});return e!=null||n||a?t.jsx(Rn,{type:"page",icon:n,title:e,disc:a,className:xe("word-table-block",r),children:be}):be}function ln({title:e,headerAction:n,collapsible:a=!1,defaultCollapsed:r=!1,collapsed:o,onCollapsedChange:i,footer:l,sections:c,selected:u={},onSelect:d,align:h,sectionAlign:p,className:m}){const b=(h??(p==="vertical"?"newline":"inline"))==="inline",{t:f}=fe.useTranslation(),[g,C]=s.useState(r),y=o??g,w=()=>{const v=!y;C(v),i?.(v)},_=e||n||a;return t.jsxs("div",{className:xe("filter-panel",a?"filter-panel--collapsible":"",y?"filter-panel--collapsed":"",m),children:[_&&t.jsxs("div",{className:"filter-panel__header",children:[t.jsxs("div",{className:"filter-panel__title-row",children:[a&&t.jsx(se,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:y?"chevron-down":"chevron-up",ariaLabel:y?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!y,onClick:w}),e&&t.jsx("span",{className:"filter-panel__title h4",children:e})]}),t.jsx("div",{className:"filter-panel__header-actions",children:!y&&n})]}),!y&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:xe("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(v=>{const A=u[v.label],x=A===void 0||(Array.isArray(A)?A.length===0:!1),k=(v.items??[]).filter(N=>N!=null);v.allOption&&k.some(N=>(typeof N=="string"?N:N.value)===Zt)&&Vn(`filter-panel-all-value:${v.label}`,`[FilterPanel] '${v.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${Zt}' \uC778 \uBCF4\uAE30\uAC00 \uD568\uAED8 \uC788\uB2E4 \u2014 \uB450 \uC120\uD0DD\uC774 \uAD6C\uBCC4\uB418\uC9C0 \uC54A\uB294\uB2E4. \uBCF4\uAE30 \uAC12\uC744 \uBC14\uAFD4\uB77C.`);const T=N=>{const D=typeof N=="string"?N:N.value,F=typeof N!="string"&&!!N.disabled,R=typeof N!="string"?N.labels:void 0,S=typeof N!="string"?N.displayLabel:void 0,z=typeof N!="string"?N.tooltip:void 0,$=typeof N!="string"?N.descriptionTooltip:void 0,ee=typeof N!="string"?N.shape:void 0,E=Array.isArray(A)?A.includes(D):A===D;return t.jsx(se,{htmlType:"button",size:"keyboard",label:R??S??D,type:v.itemType??(R?"bar":D.length===1?"dot":void 0),selected:E,disabled:F,shape:ee,showTooltipInfo:!!z,tooltipInfoText:z,tooltipDescription:$,onClick:()=>d?.(D,v.label)},D)};return t.jsxs(s.Fragment,{children:[v.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:v.groupLabel}),v.groupAction]}),t.jsxs("div",{className:xe("filter-panel__section",v.layout==="row"?"filter-panel__section--row":"",v.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:v.displayLabel??v.label}),v.labelAction??(v.labelInfo?t.jsx(aa,{...v.labelInfo}):null)]}),v.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:v.content}):v.type==="input"?t.jsx(Nn,{className:"filter-panel__textfield",placeholder:v.placeholder,ariaLabel:v.displayLabel??v.label,value:u[v.label]??"",onChange:N=>d?.(N,v.label),error:v.error}):!v.multiple&&v.display==="segmented"?t.jsx(Bn,{ariaLabel:v.displayLabel??v.label,options:[...v.allOption?[{key:Zt,label:v.allLabel??f("common.all","\uC804\uCCB4")}]:[],...k.map(N=>{const D=typeof N=="string"?N:N.value,F=typeof N!="string"?N.displayLabel:void 0,R=typeof N!="string"?N.disabled:void 0;return{key:D,label:F??D,disabled:R}})],value:x&&v.allOption?Zt:u[v.label]??"",onChange:N=>d?.(N,v.label),size:32}):!v.multiple&&v.display==="dropdown"?t.jsx(Wt,{className:"filter-panel__dropdown",size:40,options:[...v.allOption?[{value:Zt,label:v.allLabel??f("common.all","\uC804\uCCB4")}]:[],...k.map(N=>{const D=typeof N=="string"?N:N.value,F=typeof N!="string"?N.displayLabel:void 0,R=typeof N!="string"?N.disabled:void 0;return{value:D,label:F??D,disabled:R}})],value:x&&v.allOption?Zt:u[v.label],onChange:N=>d?.(N,v.label)}):t.jsxs("div",{className:v.groups?"filter-panel__item-groups":"filter-panel__items",children:[v.allOption&&!v.groups&&t.jsx(se,{htmlType:"button",size:"keyboard",label:v.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:v.allOptionDisabled,onClick:()=>d?.(Zt,v.label)}),v.groups?v.groups.map((N,D)=>t.jsxs("div",{className:"filter-panel__item-group",children:[D===0&&v.allOption&&t.jsx(se,{htmlType:"button",size:"keyboard",label:v.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:v.allOptionDisabled,onClick:()=>d?.(Zt,v.label)}),N.filter(F=>F!=null).map(T)]},D)):k.map(T)]})]})]},v.label)})}),l!=null&&l!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:l})]})]})}const I4=[1,2,3,4,5,6,7,8,9,10,11,12],F4=[8,4,2,1];function il(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function ll(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function cl(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function ul(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function dl(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function pl(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...F4.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function hl(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const ml={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function fl(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Cl(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}}function gl(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===Zt?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(o=>o.includes(n)?o.filter(i=>i!==n):[...o,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):!1}function O4(e){return"sections"in e}function Sr(e){const{t:n}=fe.useTranslation(),{title:a,className:r}=e;if(O4(e))return t.jsx(ln,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,align:"inline"});const{hasImage:o,hasColloquial:i,contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:h,setters:p,showCutLine:m=!1,showDivLine2:b=!1,middleSections:f=[],extraSelected:g={},onExtraSelect:C}=e,y=[il(n,{hasImage:o,hasColloquial:i}),ll(n),...f,cl(n),...m?[ul(n)]:[],...b?[dl(n)]:[]],w={...Cl(n,{contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:h}),...g},_=(v,A)=>{gl(n,v,A,p)||C?.(v,A)};return t.jsx(ln,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:y,selected:w,onSelect:_,sectionAlign:"horizontal"})}function bl(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jr(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}function H4(e,n,a,r="",o=""){if(e.length===0)return;const i=r?jr(r):"";if(i){const u=document.title;document.title=i;const d=()=>{document.title=u,window.removeEventListener("afterprint",d)};window.addEventListener("afterprint",d)}const l=document.createElement("iframe");l.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(l);const c=l.contentDocument;if(!c){l.remove();return}c.open(),c.write(Tr(e,n,a,!0,i,o)),c.close(),l.contentWindow?.addEventListener("afterprint",()=>setTimeout(()=>l.remove(),0))}function Tr(e,n,a,r=!1,o="",i=""){o=o?jr(o):"";const l=Array.from(document.styleSheets).flatMap(h=>{try{return Array.from(h.cssRules).map(p=>p.cssText)}catch{return[]}}).join(`
839
- `),c=document.documentElement.getAttribute("data-theme")||"light",u=i?`<div class="paper-head">${bl(i)}</div>`:"",d=e.map(h=>{const p=h.cloneNode(!0);return p.querySelectorAll('[data-play-state="play"]').forEach(m=>m.style.display=""),p.querySelectorAll('[data-play-state="pause"]').forEach(m=>m.style.display="none"),p.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(m=>m.remove()),`<div class="paper-wrap">${u}${p.outerHTML}</div>`}).join(`
835
+ `).map(s=>s.replace(/\t/g," ")),r=a.filter(s=>s.trim().length>0),o=r.length>0?Math.min(...r.map(s=>s.match(/^ */)?.[0].length??0)):0;return a.map(s=>s.slice(o)).join(`
836
+ `)}const Vg=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),zg=/^(?:const|let|var|function|return|if|else|for|while|switch|case|break|import|from|export|class|new|try|catch|finally|throw|await|async|null|true|false|this|typeof|instanceof)\b/;function Wg(e,n){let a=e;const r=[],o=/sh|bash/.test(n.toLowerCase()),s=(l,c)=>r.push({type:l,content:c});for(;a.length>0;){const l=a.match(/^\s+/);if(l){s("whitespace",l[0]),a=a.slice(l[0].length);continue}if(!o&&a.startsWith("//")){const f=a.indexOf(`
837
+ `),g=f===-1?a:a.slice(0,f);s("comment",g),a=a.slice(g.length);continue}if(o&&a.startsWith("#")){const f=a.indexOf(`
838
+ `),g=f===-1?a:a.slice(0,f);s("comment",g),a=a.slice(g.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){s("comment",c[0]),a=a.slice(c[0].length);continue}const u=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(u){s("string",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){s("number",d[0]),a=a.slice(d[0].length);continue}const p=a.match(zg);if(p){s("keyword",p[0]),a=a.slice(p[0].length);continue}const h=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(h){const f=h[0];s(o&&Vg.has(f)?"command":"identifier",f),a=a.slice(f.length);continue}const m=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(m){s("operator",m[0]),a=a.slice(m[0].length);continue}const y=a.match(/^[()[\]{};.,]/);if(y){s("punctuation",y[0]),a=a.slice(1);continue}s("other",a[0]),a=a.slice(1)}return r}function qg({children:e,language:n="bash",title:a="",showCopy:r=!0,size:o="default",className:s=""}){const{t:l}=me.useTranslation(),[c,u]=i.useState(!1),d=Hg(Mi(e)),p=i.useRef(null);i.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const h=async()=>{try{if(!await i0(d))return;u(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>u(!1),2e3)}catch{}},m=Wg(d,n),y=o==="small"?"caption-1":"body-3";return t.jsxs("div",{className:_e("code-box",o==="small"?"code-box--small":"",s),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(oe,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:h,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:m.map((f,g)=>t.jsx("span",{className:`code-token ${f.type} ${y}`,children:f.content},g))})})]})}function sa(e){const{t:n}=me.useTranslation(),{variant:a="spinner",size:r=24,progress:o=null,label:s}=e||{},l=s||n("loader.loading","Loading");if(a==="bar"){const u=Math.max(0,Math.min(100,Number(o)||0));return t.jsx("div",{className:"loader-bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:{width:`${u}%`}})})}const c=typeof r=="number"?`${r}px`:r;return t.jsx("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":l,children:t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})})}function Li({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:o,labelPosition:s="right",className:l="",id:c}){const u=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[s==="left"&&u,t.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>n?.(d.target.checked),"aria-label":!r&&o?o:void 0}),t.jsx("span",{className:"toggle__slider"}),s==="right"&&u]})}function $i({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:o,size:s="medium",className:l,title:c,ariaLabel:u}){const d=i.useRef(null),p=i.useId();return i.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)},[r]),t.jsxs("label",{className:_e("checkbox",s==="small"&&"checkbox--small",s==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:c,children:[t.jsx("input",{ref:d,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:h=>n?.(h.target.checked),disabled:a,"aria-label":!o&&u?u:void 0}),t.jsx("span",{className:"checkbox__box"}),o&&t.jsx("span",{className:"checkbox__label body-3",children:o})]})}function Ug({count:e,actions:n,onClear:a,clearLabel:r,visible:o,content:s,max:l}){const{t:c}=me.useTranslation(),u=o!==void 0?o:e>0,d=r??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=i.useRef(null),[h,m]=i.useState(!1);return i.useEffect(()=>{const y=p.current;if(!y)return;const f=()=>{const C=y.firstElementChild??y,v=Array.from(C.children);if(v.length<2){m(!1);return}const _=v[0].offsetTop;m(v.some(k=>k.offsetTop!==_))};if(f(),typeof ResizeObserver>"u")return;const g=new ResizeObserver(f);return g.observe(y),()=>g.disconnect()},[s,e]),t.jsxs("div",{className:`bulk-bar ${u?"bulk-bar--visible":""}`,inert:!u||void 0,"aria-hidden":u?void 0:!0,children:[t.jsx("span",{ref:p,className:"bulk-bar__count body-2",children:s??t.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(ot,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),t.jsxs("div",{className:`bulk-bar__actions${h?" bulk-bar__actions--stacked":""}`,children:[t.jsx(oe,{htmlType:"button",size:40,label:d,onClick:a}),n.map((y,f)=>t.jsx(oe,{htmlType:"button",size:40,variant:y.variant??"default",icon:y.icon,label:y.label,onClick:y.onClick},f))]})]})}function Ri(e){const n=()=>{if(e){const[h,m]=e.split("-");return{y:+h,m:+m-1}}const p=new Date;return{y:p.getFullYear(),m:p.getMonth()}},[a,r]=i.useState(()=>n().y),[o,s]=i.useState(()=>n().m),l=i.useRef(e);i.useEffect(()=>{if(e===l.current)return;l.current=e;const p=n();r(p.y),s(p.m)},[e]);const c=i.useCallback(()=>{o===0?(r(p=>p-1),s(11)):s(p=>p-1)},[o]),u=i.useCallback(()=>{o===11?(r(p=>p+1),s(0)):s(p=>p+1)},[o]),d=i.useCallback((p,h)=>{r(p),s(h)},[]);return{viewY:a,viewM:o,prevMonth:c,nextMonth:u,setViewYM:d}}function Cr(e,n){return new Date(e,n+1,0).getDate()}function Gg(e,n){return new Date(e,n,1).getDay()}function Ln(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function Kg(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function Zg(e,n,a,r){const o=a?+a.split("-")[0]:e-10,s=r?+r.split("-")[0]:e+10,l=[];for(let c=o;c<=s;c++)for(let u=0;u<12;u++){const d=`${c}-${String(u+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:n(c,u+1)})}return l}function Yg({value:e,onChange:n,size:a=48,min:r,max:o,disabled:s,placeholder:l,className:c}){const{t:u}=me.useTranslation(),d=l??u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),p=i.useMemo(()=>u("calendar.dow",{returnObjects:!0}),[u]),h=new Date,{viewY:m,viewM:y,prevMonth:f,nextMonth:g,setViewYM:C}=Ri(e),v=i.useCallback(T=>{const $=window.innerHeight-T.bottom,R=300,G=$<R&&T.top>R;return{position:"fixed",left:T.left,width:T.width,minWidth:260,...G?{bottom:window.innerHeight-T.top+6}:{top:T.bottom+6},zIndex:9999}},[]),{open:_,setOpen:k,toggle:b,style:w,triggerRef:x,menuRef:N}=ea({computeStyle:v,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});i.useEffect(()=>{if(!_)return;const T=N.current;return(T?.querySelector(".date-picker__day--selected:not(:disabled)")??T?.querySelector(".date-picker__day--today:not(:disabled)")??T?.querySelector(".date-picker__day:not(:disabled)")??T?.querySelector(Jn)??T)?.focus?.(),()=>{const $=document.activeElement;(!$||$===document.body)&&x.current?.focus?.()}},[_,N,x]);const[j,A]=i.useState(1),D=i.useRef(null),F=i.useRef(null);i.useEffect(()=>{if(!_)return;const T=Ln(h.getFullYear(),h.getMonth(),h.getDate()),$=e&&e.slice(0,7)===`${m}-${String(y+1).padStart(2,"0")}`?+e.slice(8):T.slice(0,7)===`${m}-${String(y+1).padStart(2,"0")}`?+T.slice(8):1;A($)},[_]),i.useEffect(()=>{if(F.current==null)return;const T=F.current;F.current=null,D.current?.querySelector(`[data-day="${T}"]`)?.focus()}),i.useEffect(()=>{A(T=>Math.min(T,Cr(m,y)))},[m,y]);const P=i.useCallback(T=>{let $=Ln(T.getFullYear(),T.getMonth(),T.getDate());r&&$<r&&($=r),o&&$>o&&($=o);const[R,G,I]=$.split("-").map(Number);(R!==m||G-1!==y)&&C(R,G-1),A(I),F.current=I},[r,o,m,y,C]),S=i.useCallback(T=>{const $=new Date(m,y,j),R=I=>{$.setDate($.getDate()+I),P($)},G=I=>{$.setMonth($.getMonth()+I),P($)};switch(T.key){case"ArrowLeft":R(-1);break;case"ArrowRight":R(1);break;case"ArrowUp":R(-7);break;case"ArrowDown":R(7);break;case"Home":R(-$.getDay());break;case"End":R(6-$.getDay());break;case"PageUp":T.shiftKey?G(-12):G(-1);break;case"PageDown":T.shiftKey?G(12):G(1);break;default:return}T.preventDefault()},[m,y,j,P]),V=i.useCallback(T=>{n(Ln(m,y,T)),k(!1)},[m,y,n,k]),L=T=>{const $=Ln(m,y,T);return!!(r&&$<r||o&&$>o)},te=(()=>{const T=Cr(m,y);if(j>=1&&j<=T&&!L(j))return j;for(let $=1;$<=T;$++)if(!L($))return $;return-1})(),E=[];for(let T=0;T<Gg(m,y);T++)E.push(null);for(let T=1;T<=Cr(m,y);T++)E.push(T);const O=a===64?20:a===40?16:18,Q=Zg(m,(T,$)=>u("calendar.yearMonth",{year:T,month:$,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,o),W=`${m}-${String(y+1).padStart(2,"0")}`,M=_?It.createPortal(t.jsxs("div",{ref:N,className:"date-picker__dropdown",style:w,role:"dialog","aria-label":u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":u("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(ho,{size:16,strokeWidth:2})}),t.jsx(Wt,{className:"date-picker__nav-dropdown",ariaLabel:u("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:Q,value:W,onChange:T=>{const[$,R]=T.split("-");C(+$,+R-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":u("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(mo,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:D,onKeyDown:S,children:[p.map(T=>t.jsx("div",{className:"date-picker__dow caption-1",children:T},T)),E.map((T,$)=>{if(T===null)return t.jsx("div",{},`e${$}`);const R=Ln(m,y,T),G=R===e,I=R===Ln(h.getFullYear(),h.getMonth(),h.getDate()),U=L(T),z=$%7;return t.jsx("button",{type:"button",disabled:U,"data-day":T,tabIndex:T===te?0:-1,"aria-current":I?"date":void 0,onClick:()=>!U&&V(T),className:_e("date-picker__day caption-1",G&&"date-picker__day--selected",I&&!G&&"date-picker__day--today",U&&"date-picker__day--disabled",z===0&&"date-picker__day--sun",z===6&&"date-picker__day--sat"),children:T},T)})]})]}),document.body):null;return t.jsxs("div",{className:_e("date-picker",`date-picker--s${a}`,_&&"date-picker--open",c),children:[t.jsxs("button",{ref:x,type:"button",className:"date-picker__trigger body-2",onClick:()=>!s&&b(),disabled:s,"aria-haspopup":"true","aria-expanded":_,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?Kg(e):d}),t.jsx(wo,{size:O,className:"date-picker__icon",strokeWidth:1.5})]}),M]})}function gr({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function ka({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function br({title:e,titleClassName:n="h3",headRight:a,subRow:r,className:o,inGrid:s=!1,children:l}){return t.jsxs("section",{className:["manager-section",s&&"manager-section--grid",o].filter(Boolean).join(" "),children:[t.jsxs("div",{className:"manager-section__head",children:[t.jsx("div",{className:n,children:e}),a]}),r&&t.jsx("div",{className:"barchart-sub-row",children:r}),l]})}function mn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function Xg(){const e=new Date;let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<mn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const o=Math.floor((r-mn(n,a))/7),s=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:s,value:`${s}#${o}`}}function Jg(e){const n=new Date,a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(u,d)=>`${u}\uB144 ${d+1}\uC6D4`,o=new Map;o.set(a,[]);for(const u of e){if(isNaN(u.date.getTime()))continue;const d=r(u.date.getFullYear(),u.date.getMonth());o.has(d)||o.set(d,[]),o.get(d).push(u)}const s=new Map;for(const[u,d]of o){const p=u.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const h=Number(p[1]),m=Number(p[2])-1,y=new Date(h,m+1,0).getDate(),f=d.reduce((_,k)=>Math.max(_,k.parts?.length??0),0),g=new Array(y+1).fill(0),C=new Array(y+1).fill(0),v=Array.from({length:y+1},()=>new Array(f).fill(0));for(const _ of d){const k=_.date.getDate();if(g[k]+=_.a,C[k]+=_.b,_.parts)for(let b=0;b<f;b++)v[k][b]+=_.parts[b]??0}s.set(u,{year:h,month:m,daysInMonth:y,partsLen:f,dayA:g,dayB:C,dayParts:v})}const l=(u,d,p)=>new Date(u,d,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),c={};for(const[u,d]of s){const{year:p,month:h,daysInMonth:m,dayA:y,dayB:f,dayParts:g}=d,C=p===n.getFullYear()&&h===n.getMonth(),v=n.getDate(),_=s.get(r(h===11?p+1:p,(h+1)%12)),k=d.partsLen,b=[];for(let x=1;x<=m;x++){const N=C&&x>v;b.push({label:String(x),a:N&&y[x]===0&&f[x]===0?-1:y[x],b:f[x],...k?{parts:g[x]}:{}})}const w=[];for(let x=mn(p,h);x<=m;x+=7){const N=Math.max(0,x+6-m),j=N&&_?Math.max(k,_.partsLen):k;let A=0,D=0;const F=new Array(j).fill(0);for(let S=x;S<=Math.min(x+6,m);S++){A+=y[S],D+=f[S];for(let V=0;V<k;V++)F[V]+=g[S][V]}if(N&&_)for(let S=1;S<=N&&!l(_.year,_.month,S);S++){A+=_.dayA[S],D+=_.dayB[S];for(let V=0;V<_.partsLen;V++)F[V]+=_.dayParts[S][V]}const P=N?`${(h+1)%12+1}/${N}`:`${x+6}`;w.push({label:`${w.length+1}\uC8FC`,sublabel:`[${x}\uC77C~${P}\uC77C]`,a:A,b:D,...j?{parts:F}:{}})}c[u]={weekly:w,daily:b}}return c}function Qg(){const e=new Date,n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let o=2024;o<=n;o++){const s=o===n?a:12;for(let l=1;l<=s;l++){const c=`${o}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:o,month:l})}}return r.reverse()}const e4=Qg(),Pi=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Ii(e){const{t:n,i18n:a}=me.useTranslation(),[r,o]=i.useState("week"),s=i.useMemo(()=>e4.filter(A=>A.value in e),[e]),l=i.useMemo(()=>{const A=[];for(const D of s){const F=new Date(D.year,D.month,0).getDate(),P=mn(D.year,D.month-1),S=Math.ceil((F-P+1)/7);for(let V=S-1;V>=0;V--)A.push({value:`${D.value}#${V}`,monthKey:D.value,year:D.year,month:D.month,week:V})}return A},[s]),c=i.useCallback(A=>{const D=n("calendar.yearMonth",{year:A.year,month:A.month});return a.language?.startsWith("ko")?`${D} ${Pi[A.week]??`${A.week+1}`}\uC8FC`:`${D} Week ${A.week+1}`},[n,a.language]),u=i.useMemo(()=>s.map(A=>({value:A.value,label:n("calendar.yearMonth",{year:A.year,month:A.month})})),[n,s]),d=i.useMemo(()=>l.map(A=>({value:A.value,label:c(A)})),[l,c]),p=i.useMemo(()=>Xg(),[]),h=i.useMemo(()=>s.find(A=>A.value===p.monthKey)?.value??s[0]?.value??"",[s,p]),m=i.useMemo(()=>l.find(A=>A.value===p.value)?.value??l[0]?.value??"",[l,p]),[y,f]=i.useState(""),[g,C]=i.useState("");i.useEffect(()=>{s.find(A=>A.value===y)||f(h)},[s,y,h]),i.useEffect(()=>{l.find(A=>A.value===g)||C(m)},[l,g,m]);const v=r==="month"?u:d,_=r==="month"?y:g,k=r==="month"?f:C,b=i.useMemo(()=>{const A=n("calendar.dow",{returnObjects:!0});return Array.isArray(A)?A:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),w=v.findIndex(A=>A.value===_),x=i.useCallback(()=>{const A=v.findIndex(D=>D.value===_);A<v.length-1&&k(v[A+1].value)},[v,_,k]),N=i.useCallback(()=>{const A=v.findIndex(D=>D.value===_);A>0&&k(v[A-1].value)},[v,_,k]),j=i.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:o,range:_,setRange:k,activeOptions:v,activeIdx:w,handlePrev:x,handleNext:N,periodOptions:j,monthRange:y,weekRange:g,weekRanges:l,DOW:b}}const qt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function t4({data:e,colorA:n,colorB:a,labelA:r,labelB:o,barWidth:s=10,height:l=140,maxOverride:c,tightMax:u,seriesColors:d,seriesLabels:p,rateLabels:h}){const m=!a,y=!!(d&&d.length>0),f=i.useMemo(()=>y?Math.max(0,...e.filter(N=>N.a!==-1).map(N=>(N.parts??[]).reduce((j,A)=>j+Math.max(0,qt(A)),0))):Math.max(0,...e.filter(N=>N.a!==-1).flatMap(N=>m?[qt(N.a)]:[qt(N.a),qt(N.b)])),[e,m,y]),g=i.useMemo(()=>c??(u?f>0?f:10:Math.ceil(f/10)*10||10),[f,c,u]),C=l,v=y||m?1:2,_={"--bar-width":`${i.useMemo(()=>{const N=Math.max(1,e.length);return Math.max(8,Math.min(s,Math.round(120/(N*v)+6)))},[e.length,v,s])}px`},k=i.useMemo(()=>{const N=Math.round(g/2);return N!==g?[g,N,0]:[g,0]},[g]),[b,w]=i.useState(null),x=i.useCallback(()=>w(null),[]);return t.jsxs("div",{className:"manager-bar-chart-wrap",children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:C},children:[k.slice(0,-1).map((N,j)=>t.jsx("div",{className:"manager-bar-chart-gridline",style:{top:j*(C/(k.length-1))},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:N})},j)),e.map((N,j)=>{const A=N.a===-1,D=V=>Math.min(C,Math.max(0,qt(V)/g*C)),F=A?0:D(N.a),P=A?0:D(N.b),S=(N.parts??[]).map(qt);return t.jsx("div",{className:"manager-bar-chart-col",style:{cursor:A?"default":"pointer"},onMouseEnter:A?void 0:V=>{const L=V.currentTarget.getBoundingClientRect(),te=[N.label,N.sublabel].filter(Boolean).join(" ");let E;if(y){const O=(p??[]).map((W,M)=>({text:`${W}: ${S[M]??0}`,color:(d??[])[M]})),Q=O.filter((W,M)=>(S[M]??0)>0);E=Q.length?Q:O}else h&&!m?E=[{text:`${r} ${qt(N.a)}%`,color:n},{text:`${o} ${qt(N.b)}%`,color:a}]:h&&N.rawB!==void 0?E=[{text:`${h.total} ${N.rawB}`},{text:`${h.done} ${N.rawA??0}`,color:n}]:m?E=[{text:`${r}: ${qt(N.a)}`,color:n}]:E=[{text:`${r}: ${qt(N.a)}`,color:n},{text:`${o}: ${qt(N.b)}`,color:a}];w({rect:{left:L.left,top:L.top,right:L.right,bottom:L.bottom,width:L.width,height:L.height},title:te,items:E})},onMouseLeave:x,children:!A&&(y?t.jsx("div",{className:"manager-bar-chart-stack",style:_,children:(()=>{const V=S.reduce((te,E,O)=>E>0?O:te,-1);let L=C;return S.map((te,E)=>{if(te<=0)return null;const O=Math.min(L,te/g*C);return L-=O,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:O,background:(d??[])[E],borderRadius:E===V?"6px 6px 0 0":void 0}},E)})})()}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{..._,height:F,background:n}}),!m&&t.jsx("div",{className:"manager-bar-chart-bar",style:{..._,height:P,background:a}})]}))},j)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((N,j)=>{const A=N.a===-1;return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${A?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[N.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),N.label]}),N.sublabel&&t.jsx("span",{className:"caption-1",children:N.sublabel})]},j)})})]})})}),b&&t.jsx(kn,{anchorRect:b.rect,title:b.title,items:b.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Fi({control:e}){const{t:n}=me.useTranslation(),{activeOptions:a,activeIdx:r,range:o,setRange:s,handlePrev:l,handleNext:c,periodOptions:u,period:d,setPeriod:p}=e,h=d==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),m=d==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(oe,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:h,showTooltipInfo:h,disabled:r===a.length-1,onClick:l}),t.jsx(Wt,{value:o,onChange:s,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(oe,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:m,showTooltipInfo:m,disabled:r<=0,onClick:c}),t.jsx(Dn,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:u,value:d,onChange:y=>p(y),size:32})]})}function Oi(e,n,a){const r=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(o,s)=>{const l=new Date(n);l.setDate(n.getDate()+s);const c=(e[`${l.getFullYear()}\uB144 ${l.getMonth()+1}\uC6D4`]?.daily??[])[l.getDate()-1],u=c?.a===-1||l>r;return{dt:l,entry:c,isFuture:u}})}function n4(e,n,a,r){const{period:o,monthRange:s,weekRange:l,weekRanges:c,DOW:u}=n,d=r?.startsWith("ko"),p=new Date,h=p.getFullYear(),m=p.getMonth()+1,y=p.getDate();if(o==="month"){const C=e[s]??{weekly:[],daily:[]},v=s.match(/^(\d+)년 (\d+)월$/),_=v?Number(v[1]):null,k=v?Number(v[2]):null,b=_&&k?mn(_,k-1):1;return C.weekly.map((w,x)=>{const N=x+1;let j=w.label,A=!1,D=!1;if(_&&k){const F=b+x*7,P=new Date(_,k-1,F+6),S=P.getMonth()+1,V=P.getDate(),L=S===k?`${V}`:`${S}/${V}`;j=a("manager.chart.weekRange",{start:F,end:L});const te=new Date(h,m-1,y).getTime();A=te>=new Date(_,k-1,F).getTime()&&te<=P.getTime(),D=_>h||_===h&&(k>m||k===m&&F>y)}return{...w,label:j,sublabel:d?`${Pi[N-1]??N}\uC8FC`:`Week ${N}`,isToday:A,a:D?-1:w.a,b:D?0:w.b}})}const f=c.find(C=>C.value===l);if(!f)return[];const g=new Date(f.year,f.month-1,mn(f.year,f.month-1)+f.week*7);return Oi(e,g,p).map(({dt:C,entry:v,isFuture:_})=>{const k=C.getMonth()+1,b=C.getDate(),w=C.getFullYear();return{label:k===f.month&&w===f.year?`${b}`:`${k}/${b}`,sublabel:u[C.getDay()]??"",a:_?-1:v&&v.a>0?v.a:0,b:_?0:v&&v.b>0?v.b:0,isToday:w===h&&k===m&&b===y,...v?.parts?{parts:_?v.parts.map(()=>0):v.parts}:{}}})}const a4={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function r4({size:e="medium",barWidth:n,titleKey:a,data:r,colorA:o,colorB:s,labelAKey:l,labelBKey:c,showTotal:u=!1,totalUnitKey:d,totalLabelKey:p,control:h,hideControls:m=!1,rate:y=!1,tightMax:f=!1,avgMode:g=!1,totalFormat:C,series:v,loading:_=!1,onDetail:k,inGrid:b=!1}){const{t:w,i18n:x}=me.useTranslation(),N=a4[e],j=Ii(r),A=h??j,D=i.useMemo(()=>n4(r,A,w,x.language),[r,A,w,x.language]),F=i.useMemo(()=>{if(!y)return D;const L=A.period==="month"?A.monthRange.match(/^(\d+)년 (\d+)월$/):null,te=new Date;return D.map((E,O)=>{let Q=E.a===-1?-1:E.b>0?Math.round(E.a/E.b*100):0;if(L&&E.a!==-1){const W=Number(L[1]),M=Number(L[2])-1,T=Oi(r,new Date(W,M,mn(W,M)+O*7),te).filter($=>!$.isFuture);Q=T.length?Math.round(T.reduce(($,{entry:R})=>$+(R&&R.b>0?R.a/R.b*100:0),0)/T.length):0}return{...E,a:Q,b:E.a===-1?0:c&&E.parts&&E.parts[1]>0?Math.round(E.parts[0]/E.parts[1]*100):0,rawA:E.a===-1?-1:E.a,rawB:E.b}})},[D,y,c,A.period,A.monthRange,r]),P=i.useMemo(()=>{if(y||g){const L=(A.period==="week"?D:r[A.monthRange]?.daily??[]).filter(E=>E.a!==-1);if(L.length===0)return 0;const te=y?L.reduce((E,O)=>E+(O.b>0?O.a/O.b*100:0),0):L.reduce((E,O)=>E+(O.a>0?O.a:0),0);return Math.round(te/L.length)}return F.reduce((L,te)=>L+(te.a>0?te.a:0)+(c&&te.b>0?te.b:0),0)},[F,D,y,g,c,A.period,A.monthRange,r]),S=v&&v.length>0?v.map(L=>({color:L.color,label:L.label})):[{color:o,label:w(l)},...c?[{color:s,label:w(c)}]:[]],V=e==="small";return t.jsx(br,{className:V?"manager-section--compact":e==="large"?"manager-section--full":void 0,inGrid:b,title:w(a),titleClassName:V?"h5 chart-section-title--small":void 0,headRight:V?void 0:t.jsxs(t.Fragment,{children:[!m&&t.jsx(Fi,{control:A}),k&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(oe,{htmlType:"button",size:32,type:"dot",icon:"list",ariaLabel:w("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:k})})]}),subRow:t.jsxs(t.Fragment,{children:[u?y||g||p&&C?t.jsx(ka,{label:V?void 0:`${w(A.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${w(p??l)}`,children:C?(C(P).match(/(\d+|[^\d]+)/g)??[]).map((L,te)=>/\d/.test(L)?t.jsx("span",{className:"barchart-total__num h0",children:L},te):t.jsx("span",{className:"barchart-total__unit h5",children:L},te)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:P}),d&&t.jsx("span",{className:"barchart-total__unit h5",children:w(d)})]})}):t.jsxs(ka,{children:[t.jsx("span",{className:"barchart-total__num h0",children:P}),t.jsx("span",{className:"barchart-total__unit h5",children:w(l)}),d&&t.jsx("span",{className:"barchart-total__unit h5",children:w(d)})]}):t.jsx("span",{}),t.jsx(gr,{items:S,className:"caption-1"})]}),children:_?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(sa,{size:32})}):t.jsx(t4,{data:F,colorA:o,colorB:c?s:void 0,labelA:w(l),labelB:c?w(c):void 0,barWidth:n??N.barWidth,height:N.height,maxOverride:y?100:void 0,tightMax:f,seriesColors:v?.map(L=>L.color),seriesLabels:v?.map(L=>L.label),rateLabels:y?{total:w("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:w("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0})})}function o4(e){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),l=new Date,c=s?Number(s[1]):l.getFullYear(),u=s?Number(s[2]):l.getMonth()+1;return{from:new Date(c,u-1,1,0,0,0),to:new Date(c,u,0,23,59,59)}}const n=e.weekRanges.find(s=>s.value===e.weekRange);if(!n){const s=new Date;return{from:s,to:s}}const a=mn(n.year,n.month-1),r=new Date(n.year,n.month-1,a+n.week*7,0,0,0),o=new Date(r);return o.setDate(r.getDate()+6),o.setHours(23,59,59),{from:r,to:o}}const Hi={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Vi({done:e,total:n,segments:a,color:r="var(--color-main)",size:o="medium",strokeWidth:s,label:l="%",hideCenter:c=!1,hideLabel:u=!1}){const d=typeof o=="number"?o:Hi[o].diameter,p=s??(typeof o=="number"?12:Hi[o].strokeWidth),h=d/2,m=(d-p)/2,y=2*Math.PI*m;if(a&&a.length>0){const v=a.reduce((_,k)=>{const b=_.length>0?_[_.length-1].acc:0,w=Math.max(0,Math.min(k.ratio,1-b));return _.push({color:k.color,rotate:-90+b*360,dash:y*w,acc:b+w}),_},[]);return t.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),v.map((_,k)=>_.dash>0&&t.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:_.color,strokeWidth:p,strokeDasharray:`${_.dash} ${y}`,strokeLinecap:"round",transform:`rotate(${_.rotate} ${h} ${h})`},k))]})})}const f=(n??0)>0?Math.min((e??0)/n,1):0,g=y*f,C=y-g;return t.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[t.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),f>0&&t.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${g} ${C}`,strokeLinecap:f<.02||f>.98?"butt":"round",transform:`rotate(-90 ${h} ${h})`})]}),!c&&t.jsxs("div",{className:`ring-chart__center${u?"":` ${d<=96?"ring-chart__center--small":o==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Math.round(f*100)}),!u&&t.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||o==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function s4({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:o,legend:s,loading:l,className:c,inGrid:u=!1,...d}){const{t:p}=me.useTranslation();if(!e)return t.jsx(Vi,{...d});const h=(d.total??0)>0?Math.round(Math.min((d.done??0)/d.total,1)*100):0,m=d.size==="small",y=d.size==="large",f=[c,m?"manager-section--compact":y?"manager-section--full":""].filter(Boolean).join(" ")||void 0,g=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ie,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(br,{className:f,inGrid:u,title:p(e),titleClassName:m?"h5 chart-section-title--small":void 0,headRight:g||(m?void 0:n),subRow:(r||s)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(ka,{label:!m&&o?p(o):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:h}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),s&&t.jsx(gr,{items:s})]}),children:l?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(sa,{size:32})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(Vi,{...d,hideCenter:m||d.hideCenter})})})}function i4({label:e,value:n,change:a,changeType:r,icon:o,tooltip:s,onClick:l}){const c=i.useRef(null),{anchorRect:u,openAt:d,close:p}=xa(),h=i.useCallback(()=>{s&&c.current&&d(c.current)},[s,d]),m=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),y=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=i.useCallback(g=>{l&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:h,onPointerLeave:p,onFocus:h,onBlur:p,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?`${e} ${n}`:void 0,children:[s&&u&&t.jsx(hn,{anchorRect:{left:u.left,top:u.top+21,right:u.right,bottom:u.bottom,width:u.width,height:u.height},text:s}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),o&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ie,{icon:o,className:"manager-stat-card__icon-inner"})})]}),t.jsx("div",{className:"manager-stat-card__content",children:t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),y&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${m??"neutral"} caption-1`,children:y})]})})]})}function zi({value:e,onChange:n,min:a=0,max:r=100,step:o=1,orientation:s="horizontal",size:l=24,disabled:c=!1,ariaLabel:u,length:d,className:p,label:h,formatValue:m,labelPos:y,labelAlign:f="right",showMinMax:g=!1,minLabel:C,maxLabel:v,showBgTick:_=!1,showFillTick:k=!1,tickStep:b,tickShape:w="dot"}){n&&!u&&Vn("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),N=r>a?(x-a)/(r-a):0,j=s==="vertical",A=!n,D=$=>n?.(Number($.target.value)),F=typeof d=="number"?`${d}px`:d,P={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...F?j?{height:F}:{width:F}:{}},S=b??o,V=(_||k)&&S>0&&r>a?Math.floor((r-a)/S+1e-6):0;if(V>0&&V<=100){const $=w!=="dash",R=ie=>$?`radial-gradient(circle, ${ie} 0.5px, transparent 1px)`:j?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ie} calc(50% - 2px), ${ie} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ie} calc(50% - 2px), ${ie} calc(50% + 2px), transparent calc(50% + 2px))`,G=$?"2px":"4px",I=[],U=[],z=[];for(let ie=0;ie<=V;ie++){const ce=ie*S/(r-a);if(ce>1+1e-6)break;const be=`${((j?1-ce:ce)*100).toFixed(4)}%`,ve=ce<=N+1e-6;if(ve?!k:!_)continue;const fe=ve?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(R(fe)),U.push(j?`${G} var(--slider-thumb)`:`var(--slider-thumb) ${G}`),z.push(j?`center ${be}`:`${be} center`)}I.push(j?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),U.push("100% 100%"),z.push("0 0"),P.backgroundImage=I.join(", "),P.backgroundSize=U.join(", "),P.backgroundPosition=z.join(", "),P.backgroundRepeat="no-repeat"}const L=t.jsx("input",{type:"range",className:_e("slider",`slider--${s}`,A&&"slider--static",!h&&!g&&p),min:a,max:r,step:o,value:x,disabled:c,readOnly:A,tabIndex:A?-1:void 0,"aria-label":u,"aria-orientation":s,onChange:D,style:P});if(!h&&!g)return L;const te=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:C??a}),E=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:v??r}),O=g?t.jsxs("div",{className:_e("slider-track-group",`slider-track-group--${s}`,!h&&p),children:[j?E:te,L,j?te:E]}):L;if(!h)return O;const Q=y??(j?"bottom":"right"),W=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,M=m?m(x):h==="percent"?W:h==="count"?`${x} / ${r}`:String(x),T=t.jsx("span",{className:"slider-wrap__value body-3b",children:M});return t.jsxs("div",{className:_e("slider-wrap",`slider-wrap--${s}`,`slider-wrap--label-${Q}`,`slider-wrap--align-${f}`,p),children:[O,T]})}const l4=.86,c4=250,yr=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),vr=(e,n,a,r)=>{const o=yr(e,n,a,r);return`${o<0?"-":"+"}${Math.abs(o)} dB`};function xr({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:o,labelPos:s,labelAlign:l="right",floorDb:c=-60,refDb:u=-35,displayMin:d=-5,displayMax:p=25,className:h,ariaLabel:m}){const y=i.useRef(null),f=i.useRef(null),g=i.useRef(null),C=i.useRef(null),[v,_]=i.useState(null);i.useEffect(()=>{const x=te=>{const E=vr(te,u,d,p);g.current&&(g.current.textContent=E);const O=y.current;O&&(O.setAttribute("aria-valuenow",String(yr(te,u,d,p))),O.setAttribute("aria-valuetext",E))},N=e??Em(n)??(v&&v.el===n?v.node:null),j=f.current;if(!N||!j){j?.style.setProperty("--meter-level","0"),x(c);let te=!1;return!e&&n&&ma(n).then(E=>{!te&&E&&_({el:n,node:E})}),()=>{te=!0}}Xa();const A=new Float32Array(N.fftSize);let D=0,F=0,P=0,S=0,V=null;const L=te=>{const E=Mm(N,A);D=E>D?E:D*l4;const O=D>1e-5?20*Math.log10(D):-1/0,Q=Math.max(c,O),W=Q-u,M=Math.min(1,Math.max(0,(W-d)/(p-d)));if(j.style.setProperty("--meter-level",M.toFixed(3)),F+=Q,P+=1,te-S>=c4){const T=F/P;V=V==null?T:V*.6+T*.4,x(V),F=0,P=0,S=te}C.current=requestAnimationFrame(L)};return C.current=requestAnimationFrame(L),()=>{C.current!=null&&cancelAnimationFrame(C.current),C.current=null}},[e,n,v,c,u,d,p]);const k=typeof r=="number"?`${r}px`:r,b=t.jsx("div",{className:"audio-meter__track",style:k?a==="vertical"?{height:k}:{width:k}:{},children:t.jsx("div",{ref:f,className:"audio-meter__fill"})}),w=s??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:y,className:_e("audio-meter",`audio-meter--${a}`,o&&`audio-meter--label-${w}`,o&&`audio-meter--align-${l}`,h),role:"meter","aria-label":m,"aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":yr(c,u,d,p),"aria-valuetext":vr(c,u,d,p),children:[b,o&&t.jsx("span",{ref:g,className:"audio-meter__value caption-2",children:vr(c,u,d,p)})]})}const Wi=500;function qi({message:e,position:n,duration:a,onClose:r}){const[o,s]=i.useState(!1),[l,c]=i.useState(!1),u=i.useRef(l),d=i.useRef(o);i.useEffect(()=>{u.current=l},[l]),i.useEffect(()=>{d.current=o},[o]);const p=i.useRef(null),h=i.useRef(""),m=i.useRef(r);i.useEffect(()=>{m.current=r});const y=a,f=i.useRef(null),g=i.useRef(0),C=i.useRef(0),v=i.useRef(!1),_=i.useRef(null),k=i.useRef(null),b=i.useRef(null),w=i.useRef(null),x=i.useRef(()=>{});x.current=A=>{A<0||(g.current=Date.now(),C.current=A,f.current=setTimeout(()=>{f.current=null,s(!1),_.current=setTimeout(()=>{c(!1);try{m.current()}catch{}},Wi)},A))};const N=i.useCallback(()=>{v.current||!f.current||(v.current=!0,clearTimeout(f.current),f.current=null,C.current=Math.max(0,C.current-(Date.now()-g.current)))},[]),j=i.useCallback(()=>{v.current&&(v.current=!1,x.current(C.current))},[]);return i.useEffect(()=>{if(e!==h.current&&(f.current&&(clearTimeout(f.current),f.current=null),_.current&&(clearTimeout(_.current),_.current=null)),e){if(d.current)return y>0&&!f.current&&(v.current=!1,x.current(y)),h.current=e,()=>{f.current&&(clearTimeout(f.current),f.current=null)};const A=()=>{const D=p.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",n==="top"?D.style.transform="translateX(-50%) translateY(-16px)":D.style.transform="translateX(-50%) translateY(16px)",D.style.opacity="0",D.offsetWidth,D.style.transition="",D.classList.add("is-visible"),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{w.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};u.current?(A(),s(!0)):(c(!0),k.current=requestAnimationFrame(()=>{b.current=requestAnimationFrame(()=>{A(),s(!0)})})),y>0&&(v.current=!1,x.current(y))}else s(!1),_.current=setTimeout(()=>c(!1),Wi);return h.current=e,()=>{f.current&&clearTimeout(f.current),_.current&&clearTimeout(_.current),k.current&&cancelAnimationFrame(k.current),b.current&&cancelAnimationFrame(b.current),w.current&&clearTimeout(w.current),f.current=null,_.current=null,k.current=null,b.current=null,w.current=null}},[e,y,n]),{mounted:l,showing:o,popupRef:p,pause:N,resume:j}}function $n({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:o=2e3}){const{mounted:s,showing:l,popupRef:c,pause:u,resume:d}=qi({message:e,position:n,duration:o,onClose:r});if(!s)return null;const p=a==="notice"||a==="warning"?a:"normal",h=t.jsx("div",{ref:c,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onMouseEnter:u,onMouseLeave:d,onFocusCapture:u,onBlurCapture:d,children:t.jsx("div",{className:`toast__inner toast__inner--${p} body-2`,children:e})});return typeof document<"u"?It.createPortal(h,document.body):h}const u4=24;function d4({value:e,max:n=100,size:a=8,color:r,trackColor:o,label:s,formatValue:l,labelPos:c,labelAlign:u="right",ariaLabel:d,className:p}){const h=Number.isFinite(n)&&n>0?n:1,m=Math.max(0,Math.min(Number.isFinite(e)?e:0,h)),y=m/h*100,f=c??(a>=u4?"inside":"bottom"),g=f==="center"?"inside":f,C=g==="inside"&&(u==="left"?y>=15:u==="center"?y>=50:y>=85),v={};return r&&(v["--progress-bar-fill"]=r),o&&(v["--progress-bar-track"]=o),t.jsxs("div",{className:_e("progress-bar",`progress-bar--${a}`,`progress-bar--label-${g}`,s&&`progress-bar--align-${u}`,s&&C&&"progress-bar--label-on-fill",p),style:v,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":m,"aria-valuemin":0,"aria-valuemax":h,"aria-label":d,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${y}%`}})}),s&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(m):s==="percent"?`${Math.round(y)}%`:s==="raw"?String(m):`${m} / ${h}`})]})}const p4="rgba(255, 255, 255, 0.16)";function Ui({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:o,variant:s="numbered",announce:l=!1,ariaLabel:c}){const{t:u}=me.useTranslation(),d=Kt("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,h=c??u("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),m={};return a&&(m["--pi-inactive-bg"]=a),r&&(m["--pi-inactive-color"]=r),o&&(a||(m["--pi-inactive-bg"]=p4),r||(m["--pi-inactive-color"]="var(--color-white)")),s==="dot"?t.jsx("div",{className:"progress-indicator progress-indicator--dot",style:m,role:l?"status":"img","aria-label":h,children:Array.from({length:e}).map((y,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<p?" done":f===p?" active":""}`},f))}):d?t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:m,role:"list","aria-label":h,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}):t.jsx("div",{className:"progress-indicator",style:m,role:"list","aria-label":h,children:Array.from({length:e}).map((y,f)=>t.jsx("span",{role:"listitem","aria-current":f===p?"step":void 0,className:`progress-indicator-dot ${f<p?" done":f===p?" active":""} body-3`,children:f+1},f))})}function h4(e){if(!e)return[];const n=[];let a=0,r="";for(const o of e.trim()){if(o==="("?a++:o===")"&&a--,/\s/.test(o)&&a===0){r&&(n.push(r),r="");continue}r+=o}return r&&n.push(r),n}function m4({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function _r({variant:e="default",children:n,className:a,draggable:r,onClick:o,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:u,expandedContent:d}){const p=i.useCallback(h=>{o&&h.target===h.currentTarget&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),o())},[o]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(sa,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:o,onKeyDown:o?p:void 0,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:u,role:o?"button":void 0,tabIndex:o?0:void 0,children:n}),d&&t.jsx("div",{className:"table-row-expand",children:d})]})}function f4({dir:e}){return t.jsx(e==="asc"?Ao:ko,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function C4({children:e,onClick:n,className:a,sortDir:r,onResizeStart:o}){const s=i.useCallback(l=>{n&&l.target===l.currentTarget&&(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),n())},[n]);return t.jsxs("div",{onClick:n,onKeyDown:n?s:void 0,role:n?"button":void 0,tabIndex:n?0:void 0,"aria-sort":r?r==="asc"?"ascending":"descending":void 0,className:_e("table-field body-3",a,r?"table-field--sorted":"",o?"table-field--resizable":""),children:[e,r&&t.jsx(f4,{dir:r}),o&&t.jsx("span",{className:"table-field__resizer",onPointerDown:o,onClick:l=>l.stopPropagation(),"aria-hidden":"true"})]})}function wr({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:o,isRowClickable:s,onRowMouseEnter:l,onRowMouseLeave:c,onRowDragStart:u,onRowDragEnd:d,draggingId:p,gridTemplateColumns:h,mobileGridTemplateColumns:m,resizable:y=!1,resizeMode:f="grow",resizeStorageKey:g,size:C="small",title:v,icon:_,count:k,collapsed:b=!1,onToggleCollapse:w,headerActions:x,empty:N,loading:j,dragOver:A=!1,onDragOver:D,onDragLeave:F,onDrop:P,renderExpandedRow:S,expandedId:V}){const{t:L}=me.useTranslation(),te=Kt("(max-width: 767px)"),E=m&&te?m:null,O=y&&!E,Q=48,W=g?`table-cols:${g}`:null,M=i.useRef(null),T=i.useRef(()=>!1),$=i.useRef([]),R=i.useRef(null),[G,I]=i.useState(()=>{if(!W||typeof window>"u")return null;try{const X=JSON.parse(window.localStorage.getItem(W)??"null");return Array.isArray(X)&&X.every(ne=>typeof ne=="number")?X:null}catch{return null}}),U=i.useRef(G);i.useEffect(()=>{U.current=G},[G]);const z=i.useCallback(X=>{const ne=R.current;ne&&I(Ae=>{if(!Ae)return Ae;const se=[...Ae];if(ne.next!=null&&ne.startWNext!=null){const Ne=X.clientX-ne.startX,Be=Math.max(Q-ne.startW,Math.min(ne.startWNext-Q,Ne));se[ne.index]=ne.startW+Be,se[ne.next]=ne.startWNext-Be}else se[ne.index]=Math.max(Q,ne.startW+(X.clientX-ne.startX));return se})},[]),ie=i.useCallback(()=>{if(R.current=null,window.removeEventListener("pointermove",z),window.removeEventListener("pointerup",ie),document.body.style.cursor="",document.body.style.userSelect="",W&&U.current)try{window.localStorage.setItem(W,JSON.stringify(U.current))}catch{}},[z,W]),ce=i.useCallback((X,ne)=>{ne.preventDefault(),ne.stopPropagation();const Ae=M.current;if(!Ae)return;const se=Array.from(Ae.children).map(Be=>Be.getBoundingClientRect().width),Ne=f==="fit"?e.findIndex((Be,Oe)=>Oe>X&&Be.resizable!==!1):-1;R.current=Ne>=0?{index:X,startX:ne.clientX,startW:se[X],next:Ne,startWNext:se[Ne]}:{index:X,startX:ne.clientX,startW:se[X]},I(se),window.addEventListener("pointermove",z),window.addEventListener("pointerup",ie),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[z,ie,f,e]),be=i.useCallback(()=>{const X=M.current,ne=X?.closest(".table-wrap");if(!X||!ne)return;const Ae=ne.style.getPropertyValue("--table-grid-cols");ne.style.setProperty("--table-grid-cols",e.map((Ce,Le)=>T.current(Le)?$.current[Le]:"max-content").join(" "));const se=Array.from(ne.querySelectorAll(".table-row")).filter(Ce=>!Ce.classList.contains("table-row--loading")&&!Ce.classList.contains("table-row--empty")),Ne=e.map((Ce,Le)=>{let Se=X.children[Le]?.getBoundingClientRect().width??0;for(const Fe of se){const $e=Fe.children[Le];$e&&(Se=Math.max(Se,$e.getBoundingClientRect().width))}return Math.max(Q,Math.ceil(Se))}),Be=window.getComputedStyle(X),Oe=X.clientWidth-(parseFloat(Be.paddingLeft)||0)-(parseFloat(Be.paddingRight)||0);Ae?ne.style.setProperty("--table-grid-cols",Ae):ne.style.removeProperty("--table-grid-cols");let He=Ne;const Me=Ne.reduce((Ce,Le,Se)=>Ce+(T.current(Se)?Le:0),0),Ue=Ne.reduce((Ce,Le,Se)=>Ce+(T.current(Se)?0:Le),0),Ee=Oe-Me;if(Oe>0&&Ue>0&&Ee>0){const Ce=Ee/Ue;He=Ne.map((Se,Fe)=>T.current(Fe)?Se:Math.max(Q,Math.round(Se*Ce)));const Le=Math.round(Ee-He.reduce((Se,Fe,$e)=>Se+(T.current($e)?0:Fe),0));if(Le!==0){let Se=-1;He.forEach((Fe,$e)=>{!T.current($e)&&(Se<0||Fe>He[Se])&&(Se=$e)}),Se>=0&&(He[Se]=Math.max(Q,He[Se]+Le))}}if(I(He),W)try{window.localStorage.setItem(W,JSON.stringify(He))}catch{}},[e,f,W]);i.useEffect(()=>()=>{R.current&&(window.removeEventListener("pointermove",z),window.removeEventListener("pointerup",ie),document.body.style.cursor="",document.body.style.userSelect="")},[z,ie]);const ve=h4(h),fe=ve.filter(X=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(X));fe.length>0&&Vn(`table-content-track:${h}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${fe.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${h})`);const Z=X=>/^\d+(\.\d+)?px$/.test(ve[X]??"");T.current=Z,$.current=ve;const ue=X=>f==="fit"&&!Z(X)?"fr":"px",J=G&&G.length===e.length&&(f==="fit"||a.length>0),ye=E??(J?e.map((X,ne)=>X.resizable===!1&&ve[ne]?ve[ne]:`${G[ne]}${ue(ne)}`).join(" "):h),we=ye?{"--table-grid-cols":ye}:void 0,de=v!==void 0;return t.jsx("div",{className:`table-wrap table-wrap--${C}${O?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${b?" table-wrap--collapsed":""}`,style:we,onDragOver:D,onDragLeave:F,onDrop:P,children:t.jsxs("div",{className:"table body-2",children:[de&&t.jsxs("div",{className:"table-header",onClick:w,role:w?"button":void 0,tabIndex:w?0:void 0,"aria-expanded":w?!b:void 0,onKeyDown:w?X=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),w())}:void 0,children:[w&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:b?"chevron-right":"chevron-down",ariaLabel:b?L("common.expand","\uD3BC\uCE58\uAE30"):L("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),_&&t.jsx(Ie,{icon:_,label:typeof v=="string"?v:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:v}),k!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:k}),x&&t.jsx("span",{className:"table-header__actions",onClick:X=>X.stopPropagation(),children:x})]}),!b&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((X,ne)=>t.jsx("div",{className:_e("table-field body-3",X.className),style:{gridColumn:`span ${X.span}`},children:X.label},ne))}),t.jsxs("div",{className:_e("table-fields-strip",O&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:M,children:e.map((X,ne)=>t.jsx(C4,{onClick:X.onClick,className:X.className,sortDir:X.sortDir,onResizeStart:O&&ne<e.length-1&&X.resizable!==!1&&(f!=="fit"||e.some((Ae,se)=>se>ne&&Ae.resizable!==!1))?Ae=>ce(ne,Ae):void 0,children:X.label},ne))}),O&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:L("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:L("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:be})]}),t.jsx("div",{className:"table-body",children:j?t.jsx(_r,{variant:"loading"}):a.length===0&&N?t.jsx(_r,{variant:"empty",children:N}):a.map((X,ne)=>{const Ae=p!=null&&X.id===p,se=!!o&&(s?s(X):!0),Ne=V!=null&&(V instanceof Set?V.has(X.id):X.id===V);return t.jsx(_r,{className:`${se?" table-row--clickable":""}${u?" table-row--draggable":""}${Ae?" table-row--dragging":""}`.trim(),draggable:!!u,onClick:se?()=>o(X):void 0,onMouseEnter:l?Be=>l(X,Be):void 0,onMouseLeave:c?Be=>c(X,Be):void 0,onDragStart:u?Be=>u(X,Be):void 0,onDragEnd:d?Be=>d(X,Be):void 0,expandedContent:Ne&&S?S(X):void 0,children:r(X).map((Be,Oe)=>t.jsx(m4,{className:Be.className,style:Be.style,children:Be.content},Oe))},String(X.id??ne))})})]})]})})}function Gi(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}function Ki(e,n){return n!=="wornAt"?String(e[n]??""):e.wornYear?`${e.wornYear}-${e.wornMonth.padStart(2,"0")}-${e.wornDay.padStart(2,"0")}`:""}function g4({rows:e,onSelect:n,onDelete:a,onWear:r,onRelease:o,onAdd:s}){const{t:l}=me.useTranslation(),c=f=>f==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:d}=E0(),p=i.useMemo(()=>{if(!u)return e;const{key:f,asc:g}=u;return[...e].sort((C,v)=>{const _=f==="worn"?Number(v.worn)-Number(C.worn):Ki(C,f).localeCompare(Ki(v,f),"ko");return g?_:-_})},[e,u]),{pageRows:h,pageSizeProps:m,paginationProps:y}=j0(p,u);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(fr,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:m,pagination:y,actions:s&&t.jsx(oe,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:s})}),t.jsx(wr,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...d(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},d(l("device.direction.label","\uBC29\uD5A5"),"side"),d(l("device.deviceType","\uC885\uB958"),"device"),d(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),d(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),d(l("device.productName","\uC81C\uD488\uBA85"),"productName"),d(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:h.map((f,g)=>({id:f.id??`${f.side}-${g}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:g=>g.stopPropagation(),children:t.jsx($i,{checked:f.worn,disabled:!r||!o,ariaLabel:f.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:g=>{g?r?.(f):o?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(ot,{size:"small",variant:Gi(f.device),fill:"soft",label:f.device}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:f.wornYear?`${f.wornYear}.${f.wornMonth}.${f.wornDay}`:"-"})},...a?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(oe,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:g=>{g?.stopPropagation(),a(f)}})})}]:[]],onRowClick:({row:f})=>n(f),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function Zi(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function b4(e,n){return new Date(e,n+1,0).getDate()}function y4(e,n){return new Date(e,n,1).getDay()}function v4({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r}){const{t:o}=me.useTranslation(),s=i.useMemo(()=>o("calendar.dow",{returnObjects:!0}),[o]),[l,c]=i.useState(new Date().getFullYear()),[u,d]=i.useState(new Date().getMonth()),[p,h]=i.useState(null),m=i.useRef(null),y=new Date,f=i.useMemo(()=>{const b={};return e.forEach(w=>{b[w.date]||(b[w.date]=[]),b[w.date].push(w)}),b},[e]),g=i.useMemo(()=>{const b=b4(l,u),w=y4(l,u),x=[];for(let N=0;N<w;N++)x.push(null);for(let N=1;N<=b;N++)x.push(N);for(;x.length<35;)x.push(null);return x},[l,u]),C=i.useCallback(()=>{u===0?(c(b=>b-1),d(11)):d(b=>b-1)},[u]),v=i.useCallback(()=>{u===11?(c(b=>b+1),d(0)):d(b=>b+1)},[u]),_=b=>`${l}-${String(u+1).padStart(2,"0")}-${String(b).padStart(2,"0")}`,k=b=>y.getFullYear()===l&&y.getMonth()===u&&y.getDate()===b;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":o("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ie,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5",children:o("calendar.yearMonth",{year:l,month:u+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:v,"aria-label":o("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ie,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[s.map(b=>t.jsx("div",{className:"calendar-day-header body-3",children:b},b)),g.map((b,w)=>{if(b===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${w}`);const x=b,N=_(x),j=f[N]??[],A=p===N;return t.jsxs("div",{className:`calendar-cell${k(x)?" today":""}${A?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?o("calendar.addOnDate",{date:N}):void 0,onClick:r?()=>r(N):void 0,onKeyDown:r?D=>{D.target===D.currentTarget&&(D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),r(N)))}:void 0,onDragOver:a?D=>{D.preventDefault(),h(N)}:void 0,onDragLeave:a?D=>{D.currentTarget.contains(D.relatedTarget)||h(null)}:void 0,onDrop:a?D=>{D.preventDefault(),m.current!=null&&(a(m.current,N),m.current=null),h(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:x}),t.jsx("div",{className:"calendar-cell__badges",children:j.map((D,F)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${D.status==="noVisit"?" calendar-visit-badge--no-visit":D.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?P=>{m.current=D.id,P.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{m.current=null,h(null)}:void 0,onClick:n?P=>{P.stopPropagation(),n(D)}:void 0,...Zi(n?()=>n(D):void 0),"aria-label":[D.time?fs(D.time,o):null,D.customer,o(D.status==="noVisit"?"calendar.legend.noVisit":D.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[D.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:fs(D.time,o)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:D.customer}),D.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},D.id??F))})]},x)})]})]})}const x4={page:"h3",pagePopup:"h4",popup:"h5"};function Rn({type:e="page",title:n,headingLevel:a,icon:r,action:o,disc:s,children:l,className:c,style:u}){const d=x4[e],p=n||s,h=a?`h${a}`:"div";return t.jsxs("div",{className:_e("section",`section--${e}`,c),style:u,children:[p&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ie,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(h,{className:`section__title ${d}`,children:n}),s&&t.jsx("div",{className:"section__disc body-3",children:s})]})]}),o&&t.jsx("div",{className:"section__action",children:o})]}),l]})}function Yi({icon:e,label:n,tooltip:a,wrapperStyle:r,color:o,bgColor:s,useHover:l=!0,iconSize:c="medium"}){const u=c==="small",d=_e("category-icon",u?"category-icon--small":""),p=u?16:20,h=i.useRef(null),[m,y]=i.useState(!1),f=i.useMemo(()=>{const x=r&&typeof r=="object"?{...r}:{};return!o&&!s?x:{...x,...o?{color:o,"--t-item-fg":o}:{},...s?{"--t-item-bg":s}:{}}},[r,o,s]),g=a||n,[C,v]=i.useState(null);i.useLayoutEffect(()=>{m&&v(h.current?.getBoundingClientRect()??null)},[m]),i.useEffect(()=>{if(!l&&m)try{y(!1)}catch{}},[l,m]),i.useEffect(()=>{if(!m)return;const x=N=>{const j=h.current;if(!j)return;const A=N.target;A&&!j.contains(A)&&y(!1)};return document.addEventListener("pointerdown",x,!0),()=>document.removeEventListener("pointerdown",x,!0)},[m]);const _=i.useCallback(()=>{l&&y(!0)},[l]),k=i.useCallback(()=>{l&&y(!1)},[l]),b=i.useCallback(()=>y(!1),[]),w=i.useCallback(x=>{if(x.key==="Escape"){y(!1);return}(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),y(N=>!N))},[]);return t.jsxs("span",{ref:h,className:"category-icon__wrap",onPointerEnter:_,onPointerLeave:k,onFocus:_,onBlur:k,onKeyDown:w,role:"button",tabIndex:0,"aria-label":typeof g=="string"?g:void 0,"aria-haspopup":!!g,"aria-expanded":m,"data-tooltip-ignore":!0,children:[t.jsx(Ie,{icon:e,label:n,className:d,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:f,size:p}),m&&g&&t.jsx(hn,{anchorRect:C,text:typeof g=="string"?g:void 0,offset:8,onClose:b,className:"category-icon__tooltip",ariaLabel:typeof g=="string"?g:void 0})]})}function _4(e,n){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(n==="LISTEN_IN_NOISE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}if(n==="SHORT_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"SHORT_S"}}if(n==="LONG_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LONG"}}if(n==="ORDERING_SENTENCE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}const o=a.sentences||a.items||[],s=r(Array.isArray(o)?o:[]);return s.length===0&&(a.contextCode||a.context_code)&&s.push(String(a.contextCode||a.context_code)),{previewCodes:s,previewBucket:null}}function w4(e,n){const[a,r]=i.useState(!1),[o,s]=i.useState(-1),[l,c]=i.useState({key:"",urls:[]}),u=i.useRef(null),d=i.useRef(!1),p=i.useRef(null),[h,m]=i.useState(!1),y=i.useRef([]),{previewCodes:f,previewBucket:g}=_4(e,n),C=`${f.join(",")}|${g??""}`,v=i.useMemo(()=>l.key===C?l.urls:[],[l,C]);i.useEffect(()=>{if(!f.length)return;let k=!1;return(async()=>{const b=[],w=[];for(const x of f)try{const N=Yo(x,g);if(!N){b.push("");continue}let j=null;try{j=await Xo(N)}catch{}if(!j)try{const A=await Jo(N);A&&(j=URL.createObjectURL(A),w.push(j))}catch{}b.push(j??"")}catch{b.push("")}k?w.forEach(x=>{try{URL.revokeObjectURL(x)}catch{}}):(y.current.forEach(x=>{try{URL.revokeObjectURL(x)}catch{}}),y.current=w,c({key:C,urls:b}))})(),()=>{k=!0}},[f.join(","),g]),i.useEffect(()=>()=>{y.current.forEach(k=>{try{URL.revokeObjectURL(k)}catch{}}),y.current=[]},[]);const _=i.useCallback(async k=>{if(k.stopPropagation(),k.preventDefault(),d.current){d.current=!1;try{u.current?.pause()}catch{}r(!1),s(-1);return}if(v.filter(Boolean).length){d.current=!0,r(!0);for(let b=0;b<v.length&&d.current;b++){const w=v[b];if(w){s(b);try{await new Promise((x,N)=>{const j=new Audio(w);u.current=j,j.onended=()=>x(),j.onerror=()=>N(),j.play().catch(N)})}catch{break}}}d.current=!1,r(!1),s(-1)}},[v]);return i.useEffect(()=>()=>{d.current=!1;try{u.current?.pause()}catch{}u.current=null},[]),{playing:a,playingIndex:o,previewUrls:v,previewHover:h,setPreviewHover:m,previewBtnRef:p,handlePreview:_}}const k4=e=>{if(!e)return[];const n=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(n)return[String(n)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(r=>{if(typeof r=="string")return r;if(r&&typeof r=="object"){const o=r;return o.sentence||o.text||o.context||o.question||o.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function kr(e){const{index:n,type:a,trainingData:r,ariaLabel:o,depth:s,renderPopup:l,completed:c,completedIds:u,selectedIds:d,tooltipText:p,useDescriptionTooltip:h=!1,onRemove:m,hideCheckBadge:y=!1,showTypeLabel:f=!1,onComplete:g,onSelect:C,onMore:v,countLabelOverride:_,size:k="square"}=e||{},{t:b}=me.useTranslation(),[w,x]=i.useState(!1),N=i.useRef(null),[j,A]=i.useState(!1);i.useEffect(()=>{N.current?.matches(":hover")&&A(!0)},[]);const{playing:D,playingIndex:F,previewUrls:P,previewHover:S,setPreviewHover:V,previewBtnRef:L,handlePreview:te}=w4(r,a?.key),E=i.useCallback(()=>{C?C():x(!0)},[C]),O=i.useCallback(()=>x(!1),[]),Q=i.useCallback(()=>A(!0),[]),W=i.useCallback(()=>A(!1),[]),M=i.useCallback(()=>V(!0),[V]),T=i.useCallback(()=>V(!1),[V]),[$,R]=i.useState(null);i.useLayoutEffect(()=>{S&&R(L.current?.getBoundingClientRect()??null)},[S,L]);const[G,I]=i.useState(null);i.useLayoutEffect(()=>{j&&!w&&h&&I(N.current?.getBoundingClientRect()??null)},[j,w,h]);const U=i.useCallback(Ce=>{(Ce.key==="Enter"||Ce.key===" ")&&(Ce.preventDefault(),E())},[E]),z=r||null,ie=i.useMemo(()=>{if(!h)return null;const Ce=p?(Array.isArray(p)?p:[p]).filter(Boolean):null,Le=Ce&&Ce.length>0?Ce:k4(z);return Le&&Le.length>0?Le:null},[h,p,z]),ce=i.useCallback(Ce=>{Ce.stopPropagation(),m?.()},[m]),be=i.useCallback(Ce=>Ce.stopPropagation(),[]),ve=i.useCallback(Ce=>{typeof g=="function"&&g(Ce)},[g]),fe=c||(u&&r?.id!=null?u.has(String(r.id)):!1),Z=!fe&&(d!=null&&r?.id!=null?d.has(String(r.id)):!1);Xs("speechear.popup.close",O);const ue=Cs(),J=`${a?.label||""} ${n+1}`,ye=z?.title||z?.name||J;let we=a?.icon,de,X="",ne="";try{const Ce=z?.category_0||z?.category_main_code||z?.category_main,Le=z?.category_1||z?.category_sub_code||z?.category_sub,Se=ue.find(Fe=>Fe.key===Ce);Se?.icon&&(we=Se.icon),!de&&Se?.color&&(de={"--t-item-fg":Se.color}),!de&&z?.iconColor&&(de={"--t-item-fg":z.iconColor}),X=Se?.label||"";try{ne=Se?.subs?.find(Fe=>Fe.key===Le)?.label||""}catch{}}catch{}const Ae=ne?`${X} / ${ne}`:X||a?.label||ye,se=Ce=>b("training.countQuestions",{n:Ce}),Ne=Ce=>b("training.countSentences",{n:Ce});let Be="";try{if(z)if(a?.key==="LISTEN_IN_NOISE"){let Ce=0;Array.isArray(z.items)&&z.items.length>0?Ce=z.items.length:Array.isArray(z.sentences)&&z.sentences.length>0?Ce=z.sentences.length:z.sentences&&(Ce=1),Be=Ne(Ce)}else if(a?.key==="SHORT_STORY"){let Ce=1;Array.isArray(r?.items)?Ce=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?Ce=r.raw.items.length:Array.isArray(z?.questions)?Ce=z.questions.length:Array.isArray(z?.sentences)&&(Ce=z.sentences.length),Be=se(Ce)}else if(a?.key==="LONG_STORY"){let Ce=1;if(Array.isArray(z.items)&&z.items.length>0){const Le=z.items.reduce((Se,Fe)=>{const $e=Fe.questionItems;return Array.isArray($e)?Se+$e.length:Array.isArray(Fe.questions)?Se+Fe.questions.length:Se},0);Ce=Le>0?Le:z.items.length}else Array.isArray(z.questions)&&z.questions.length>0?Ce=z.questions.length:Array.isArray(z.sentences)&&z.sentences.length>0&&(Ce=z.sentences.length);Be=se(Ce)}else if(a?.key==="ORDERING_SENTENCE"){let Ce=1;Array.isArray(z.items)&&z.items.length>0?Ce=z.items.length:Array.isArray(z.sentences)&&z.sentences.length>0&&(Ce=z.sentences.length),Be=Ne(Ce)}else Array.isArray(z.items)&&(Be=z.items.length>0?se(z.items.length):"")}catch{}const Oe=k==="list",He=k==="compact",Me=k==="small",Ue=Me&&a?.key?d0().find(Ce=>Ce.key===a.key)?.label??"":"",Ee=!!f&&!!a?.label&&a.label!==String(ye)||Me&&!!Ue&&Ue!==String(ye);return t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:N,className:`training-block-button${Oe?" training-block-button--list":""}${He?" training-block-button--compact":""}${Me?" training-block-button--small":""}${fe?" training-block-button--completed":""}${Z?" training-block-button--selected":""}${Ee&&!Me?" training-block-button--withType":""}${Me&&!Ee?" training-block-button--no-type-label":""}`,onClick:E,onPointerEnter:Q,onPointerLeave:W,role:"button",tabIndex:0,onKeyDown:U,"aria-label":typeof o=="string"?o:typeof ye=="string"?ye:void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[f&&a?.label&&a.label!==String(ye)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),Me&&Ue&&Ue!==String(ye)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Ue}),t.jsx(Yi,{icon:we,label:ye,tooltip:Ae,wrapperStyle:de,iconSize:Me||He?"small":"medium"}),!y&&(fe||Z)&&!(m&&j)&&t.jsx(ot,{type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":fe?b("training.completed","\uD6C8\uB828 \uC644\uB8CC"):b("training.selected","\uC120\uD0DD\uB428")}),m&&j&&t.jsx(ot,{type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":b("common.remove","\uC81C\uAC70"),onClick:ce}),t.jsx("div",{className:`training-block-button__title ${He?"body-3":Me?"body-3b":"h3"}`,children:String(ye)}),t.jsxs("div",{className:"training-block-button__description",children:[(()=>{const Ce=_!==void 0?_:Be;return Ce?t.jsx("div",{className:`training-block-button__count ${Me?"caption-2":"caption-1"}`,children:Ce}):null})(),t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Ie,{icon:"chevron-right",label:b("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Me?12:20})})]}),(Oe||Me)&&P.length>0&&t.jsx("div",{ref:L,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:be,onPointerEnter:M,onPointerLeave:T,children:t.jsx(oe,{htmlType:"button",size:Me?28:32,type:"dot",icon:D?"pause":"play",variant:Me?"transparent-lightGray":"default",useBorder:!1,selected:D,ariaLabel:D?b("training.stop","\uC815\uC9C0"):b("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:te})})]}),v&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:Ce=>{Ce.stopPropagation(),v(Ce)},children:t.jsx(oe,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:b("common.more","\uB354\uBCF4\uAE30")})})]}),S&&t.jsx(hn,{anchorRect:$,text:D?b("training.stop","\uC815\uC9C0"):b("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:T}),j&&!w&&h&&(ie?t.jsx(kn,{anchorRect:G,items:ie,activeIndex:F,onClose:W}):z?.subTitle?t.jsx(hn,{anchorRect:G,text:z.subTitle,offset:8,onClose:W}):null),w&&l&&l({trainingData:z,typeKey:a?.key??"",onClose:O,onComplete:ve,popupTitle:String(ye),popupSubTitle:a?.subTitle,depth:s!=null?String(s):void 0,popupIcon:we,popupIconTooltip:String(Ae),popupWrapperStyle:de})]})}const Aa=20;function A4(e){const{t:n}=me.useTranslation(),{type:a,trainingDatas:r,depth:o,renderPopup:s,completedIds:l,selectedIds:c,onItemComplete:u,size:d,useDescriptionTooltip:p,onRemove:h,onMore:m,sectionType:y="page"}=e||{},[,f]=i.useState(0),g=typeof r<"u"?Array.isArray(r)?r:[]:[],C=g.length,[v,_]=i.useState(Math.min(C,Aa)),k=i.useMemo(()=>Array.isArray(o)?[...o,a?.label].filter(Boolean).join(" \xB7 "):[o||"",a?.label].filter(Boolean).join(" \xB7 "),[o,a?.label]);i.useEffect(()=>{_(Math.min(C,Aa))},[C]),Xs("speechear.data.updated",()=>f(w=>w+1));function b(){_(w=>Math.min(C,w+Aa))}return t.jsxs(Rn,{type:y,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",children:(g||[]).slice(0,v).map((w,x)=>{const N=w;return t.jsx(kr,{index:x,type:a,trainingData:N,depth:k,renderPopup:s,completedIds:l,selectedIds:c,size:d,useDescriptionTooltip:p,onRemove:typeof h=="function"&&c!=null&&N?.id!=null&&c.has(String(N.id))?()=>h(N):void 0,onComplete:typeof u=="function"&&N?.id!=null?()=>u(String(N.id)):void 0,onMore:typeof m=="function"?j=>m(N,j):void 0},N?.id!=null?`${a?.key||"t"}-${String(N.id)}`:`${a?.key||"t"}-${x}`)})}),C>Aa&&v<C&&t.jsx("div",{className:"training-block__more",children:t.jsx(oe,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:b,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function Ar(e){const n=i.useRef(null),[a,r]=i.useState(!!e),[o,s]=i.useState(!1);i.useEffect(()=>{s(!1);const u=n.current;r(!!e&&!(u?.complete&&u.naturalWidth>0))},[e]);const l=i.useCallback(()=>r(!1),[]),c=i.useCallback(()=>{r(!1),s(!0)},[]);return{imgRef:n,loading:a,failed:o,hasImage:!!e&&!o,onLoad:l,onError:c}}let Pn=null;function N4(e){if(Pn&&Pn!==e)try{Pn()}catch{}return Pn=e,()=>{Pn===e&&(Pn=null)}}var B4='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const D4=B4,Nr=i.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:o=!1,onSelect:s,flipDelay:l=0,hideLabel:c=!1,hideAudio:u=!1,orderRank:d=null},p){const{t:h}=me.useTranslation(),m=e.word||e.title||"",y=n||!m,f=e.audio??e.sound??e.audioKey,g=e.subLabel||e.pronunciation||"",C=e.colloquialLabel||"",[v,_]=i.useState({label:m,subLabel:g,colloquialLabel:C,homonum:e.homonum});m&&v.label!==m&&_({label:m,subLabel:g,colloquialLabel:C,homonum:e.homonum});const k=i.useRef(null),b=Kt("(max-width: 767px)"),[w,x]=i.useState(!1),N=`${typeof f=="string"?f:f?.src??""}\0${m}`,[j,A]=i.useState({for:"",url:""}),D=j.for===N?j.url:"",F=En()?.(v.label,v.homonum)??e.image??"",{imgRef:P,loading:S,hasImage:V,onLoad:L,onError:te}=Ar(F);i.useEffect(()=>{let $=!1;return(async()=>{if(f){if(typeof f=="string"){if(f.startsWith("http")||f.includes("/")){A({for:N,url:f});return}}else if(typeof f=="object"&&!Array.isArray(f)){const G=f.src;if(G){A({for:N,url:G});return}}}const R=Ka();if(R&&m)try{const G=await Promise.resolve(R(m));!$&&G&&A({for:N,url:G})}catch{}})(),()=>{$=!0}},[f,m,N]),i.useEffect(()=>()=>{try{k.current?.pause()}catch{}k.current=null},[]);const E=i.useCallback(()=>new Promise($=>{if(typeof window<"u"&&window.speechSynthesis&&m){x(!0),window.speechSynthesis.cancel();const R=new SpeechSynthesisUtterance(m);R.lang="ko-KR",R.onend=()=>{x(!1);try{a?.()}catch{}$()},R.onerror=()=>{x(!1),$()},window.speechSynthesis.speak(R)}else $()}),[m,a]),O=i.useCallback($=>new Promise(R=>{let G=!1;const I=()=>{G||(G=!0,x(!1),R(!1))};try{const U=new Audio($);k.current=U,U.onended=()=>{if(!G){G=!0,x(!1);try{a?.()}catch{}R(!0)}},U.onerror=I,U.play().catch(I)}catch{I()}}),[a]),Q=i.useCallback(async()=>{if(n)return;const $=N4(()=>{try{k.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)});try{window.speechSynthesis?.cancel()}catch{}try{if(D&&(x(!0),await O(D)))return;const R=Dm();if(R&&m)try{const G=await Promise.resolve(R(m));if(G&&(x(!0),await O(G)))return}catch{}await E()}finally{$()}},[n,D,m,O,E]);i.useImperativeHandle(p,()=>({play:()=>Q()}),[Q]);const W=$=>$.stopPropagation(),M=i.useCallback($=>{if($.stopPropagation(),!n){if(w){try{k.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}Q()}},[n,w,Q]),T=_e("training-word-card",n?"training-word-card--disabled":"",y?"training-word-card--flipped":"",r?"training-word-card--selectable":"",o?"training-word-card--selected":"");return t.jsx("div",{className:T,onClick:r&&!n?s:void 0,role:r?"button":void 0,"aria-pressed":r?o:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?$=>{($.key==="Enter"||$.key===" "||$.key==="Spacebar")&&($.preventDefault(),s?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:y?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[o&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:W,children:t.jsx(ot,{type:"dot",size:40,position:"inline",animate:!0,icon:d!=null?void 0:"check",number:d??void 0,"aria-label":d!=null?h("training.nthSelected",{n:d}):h("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:V?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:P,className:"training-word-card__image",src:F,alt:v.label||h("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:L,onError:te})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!c&&t.jsxs("div",{className:"training-word-card__body",children:[t.jsx("div",{className:"training-word-card__word",children:v.label}),v.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",v.subLabel,"]"]}),v.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",v.colloquialLabel,"]"]})]}),!u&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?W:void 0,children:t.jsx(oe,{htmlType:"button",size:b?40:48,type:b?"dot":"bar",icon:w?"pause":"play",label:b?void 0:h("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:w,onClick:M,disabled:n,ariaLabel:h("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:D4,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),S4=260;function fn(e){const{t:n}=me.useTranslation(),{title:a,subtitle:r,headerActions:o,children:s,buttons:l,footer:c,footerClassName:u="",onClose:d,closeDisabled:p=!1,beforeClose:h,closeOnBackdrop:m=!0,className:y="",ariaLabel:f,useTitle:g=!0,inline:C=!1,size:v,height:_,resetScrollKey:k}=e||{},[b,w]=i.useState(!1),x=i.useRef(!1),N=i.useRef(null),j=i.useId(),A=i.useRef(null);i.useEffect(()=>{},[C,a,f,y]),i.useEffect(()=>{k!==void 0&&A.current&&(A.current.scrollTop=0)},[k]);const[D,F]=i.useState(!1);i.useEffect(()=>{const M=A.current;if(!M)return;const T=()=>F(M.scrollHeight>M.clientHeight+1);if(T(),typeof ResizeObserver>"u")return;const $=new ResizeObserver(T);$.observe(M);const R=M.firstElementChild;return R&&$.observe(R),()=>$.disconnect()},[s,k]),i.useEffect(()=>{if(!C)return Ti()},[C]),i.useEffect(()=>{if(C)return;const M=document.activeElement,T=N.current;return T&&!T.contains(document.activeElement)&&(T.querySelector(Jn)??T).focus(),()=>{const $=document.activeElement;(!$||$===document.body||T&&T.contains($))&&M?.focus?.()}},[C]),rr(N,!C);const P=i.useCallback(M=>{x.current||(x.current=!0,w(!0),setTimeout(()=>{try{M&&M()}catch{}},S4))},[]),S=i.useCallback(()=>{p||h&&h()===!1||P(d)},[P,d,p,h]),V=i.useRef(S);i.useEffect(()=>{V.current=S});const L=!C&&!!d;i.useEffect(()=>{if(L)return wn(()=>V.current())},[L]);const te=L&&m,E=i.useRef(!1),O=M=>{E.current=M.target===M.currentTarget},Q=M=>{const T=E.current;E.current=!1,T&&M.target===M.currentTarget&&S()},W=t.jsx("div",{className:`popup ${C?"popup--inline":""} ${b?"popup--closing":""} ${y}`,onPointerDown:te?O:void 0,onClick:te?Q:void 0,onMouseDown:C?void 0:M=>{M.target===M.currentTarget&&M.preventDefault()},children:t.jsxs("div",{ref:N,className:`popup-panel${v?` popup-panel--${v}`:""}`,style:_!=null?{height:_}:void 0,tabIndex:-1,role:C?void 0:"dialog","aria-modal":C?void 0:!0,"aria-labelledby":!C&&a?j:void 0,"aria-label":!C&&!a&&f?f:void 0,children:[!g&&(o||d)?t.jsxs("div",{className:"popup-close-float",children:[o,d&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:S,disabled:p,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||o||d?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[t.jsx("span",{id:j,className:"popup-title popup-title--left h2",children:a}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),t.jsxs("div",{className:"popup-header-actions",children:[o,d&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:S,disabled:p,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:A,tabIndex:D?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof s=="function"?s({animateThen:P,closeWithAnimation:S}):s})}),l?.length?t.jsx("div",{className:"popup-footer popup-footer--buttons",children:l.map((M,T)=>t.jsx(oe,{htmlType:"button",size:48,variant:M.variant??"default",label:M.label,disabled:M.disabled,onClick:()=>M.onClick?.({animateThen:P,closeWithAnimation:S})},T))}):c?t.jsx("div",{className:`popup-footer${u?` ${u}`:""}`,children:typeof c=="function"?c({animateThen:P,closeWithAnimation:S}):c}):null]})});return C||typeof document>"u"?W:It.createPortal(W,document.body)}function Na(e){return String(e)}const Xi=["o","triangle","x"];function Ji(e,n){return e===n?null:n}const Qi={o:"circle",triangle:"triangle",x:"x"},el={o:"main",triangle:"warn",x:"danger"};function T4(e){let n=0,a=0,r=0;for(const s of Object.values(e))s==="o"?n++:s==="triangle"?a++:s==="x"&&r++;const o=n+a+r;return{marked:o,o:n,triangle:a,x:r,rate:o===0?null:(n+a*.5)/o}}function Br(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function tl(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function j4(e,n){return!n&&e>0}const In={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function E4(e="landscape"){const{printSize:n,printW:a,printH:r}=In[e],o=document.createElement("style");o.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(o);const s=()=>{document.head.removeChild(o),window.removeEventListener("afterprint",s)};window.addEventListener("afterprint",s),window.print()}function nl(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let o=0;o<e.length;o+=a)r.push(e.slice(o,o+a));return r}const M4={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function L4(e,n){const a=M4[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),o=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let s,l;return e==="landscape"?(l=o,s=Math.ceil(r/l)):(s=o,l=Math.ceil(r/s)),(e==="landscape"?s<l:l<s)&&([s,l]=[l,s]),{cols:s,rows:l}}const $4={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},al={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},rl={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function Dr(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function ol(e,n,a,r){if(r!=="\uC810\uC120")return{};const o=e%n,s=Math.floor(e/n),l=o<n-1,c=s<a-1;if(!l&&!c)return{};const u="#ddd",d=y=>`repeating-linear-gradient(to ${y}, ${u} 0, ${u} 5px, transparent 5px, transparent 10px)`,p=[],h=[],m=[];return l&&(p.push(d("bottom")),h.push("1px 100%"),m.push("right center")),c&&(p.push(d("right")),h.push("100% 1px"),m.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:h.join(", "),backgroundPosition:m.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const R4=280,P4=240,I4=280,F4=400,O4=120,H4=280;function sl(e,n){const a=i.useRef(null),[r,o]=i.useState(1),[s,l]=i.useState(0),c=i.useCallback((u,d)=>{const p=u/e,h=n?d/n:1/0,m=Math.min(1,p,h);o(m),l(Math.max(0,(u-e*m)/2))},[e,n]);return i.useEffect(()=>{const u=a.current;if(!u)return;const d=n?u.parentElement??u:u;if(c(d.clientWidth,d.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([h])=>c(h.contentRect.width,h.contentRect.height));return p.observe(d),()=>p.disconnect()},[c,n]),{scalerRef:a,scale:r,offset:s}}let sn=null;function il({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:o=!0,showImage:s=!0,showPronunciation:l=!0,showColloquial:c=!0,buttonSize:u=40,wordInfo:d}){const{t:p}=me.useTranslation(),h=i.useRef(null),m=i.useRef(null),y=i.useRef(null),[f,g]=i.useState(1),[C,v]=i.useState(!1),[_,k]=i.useState(""),[b,w]=i.useState(null),x=n&&n.length>0?n:Tm()?.(e,r)??"",N=En()?.(e,r)??"",{imgRef:j,loading:A,failed:D,onLoad:F,onError:P}=Ar(N),S=i.useCallback(()=>w(m.current?.getBoundingClientRect()??null),[]),V=i.useCallback(()=>w(null),[]),L=i.useMemo(()=>{if(!d)return null;const W=[];return d.grade&&W.push(`\uB09C\uC774\uB3C4: ${d.grade}\uB4F1\uAE09`),d.syllables&&W.push(`\uC74C\uC808 \uC218: ${d.syllables}\uC74C\uC808`),d.pos&&W.push(`\uD488\uC0AC: ${Dr(d.pos,al)}`),d.wordType&&W.push(`\uC720\uD615: ${Dr(d.wordType,rl)}`),W.length?W:null},[d]);i.useEffect(()=>{const W=Ka(),M=x||e;if(!W||!M)return;let T=!1;return Promise.resolve(W(M)).then($=>{!T&&$&&k($)}),()=>{T=!0}},[x,e]),i.useEffect(()=>()=>{y.current?.pause(),sn?.audio===y.current&&(sn=null)},[]);const te=i.useCallback(async W=>{if(W.stopPropagation(),C){y.current?.pause(),v(!1),sn=null;return}if(_){sn?.stop(),v(!0);try{const M=new Audio(_);y.current=M;const T=()=>{v(!1),sn?.audio===M&&(sn=null)};sn={audio:M,stop:()=>{M.pause(),T()}},M.onended=T,M.onerror=T,await M.play()}catch{v(!1),sn?.audio===y.current&&(sn=null)}}},[C,_]),E=s&&!!N&&!D,O=E&&o?R4:E?I4:P4,Q=E&&o?F4:E?H4:O4;return i.useEffect(()=>{const W=h.current;if(!W||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([T])=>{const{width:$,height:R}=T.contentRect;g(Math.min($/O,R/Q))});return M.observe(W),()=>M.disconnect()},[O,Q]),t.jsxs("div",{ref:h,className:"word-table-cell",children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${f})`},children:[E&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[A&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:j,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:A?0:1},onLoad:F,onError:P})]}),o&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),c&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":_,children:[t.jsx("span",{"data-play-state":"play",style:{display:C?"none":void 0},children:t.jsx(oe,{htmlType:"button",size:u,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),onClick:te})}),t.jsx("span",{"data-play-state":"pause",style:{display:C?void 0:"none"},children:t.jsx(oe,{htmlType:"button",size:u,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),onClick:te})})]}),d&&t.jsxs("div",{ref:m,className:"word-table-cell__info-button",onPointerEnter:S,onPointerLeave:V,onFocus:S,onBlur:V,children:[t.jsx(oe,{htmlType:"button",size:u,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:W=>W.stopPropagation()}),b&&L&&t.jsx(kn,{anchorRect:b,items:L,showIndex:!1})]})]})}function Fn({title:e,titleIcon:n,disc:a,className:r,orientation:o="landscape",contentTypes:s=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:c=!0,showDivLine:u=!0,items:d,editCells:p,count:h,activeCell:m=null,onActivateCell:y,onRemoveCell:f,onRemoveItem:g,onReorder:C,showFillerAdd:v=!1,contentRef:_,buttonSize:k=40,pageNumber:b,pageNumberPosition:w="right",fitHeight:x=!1,scoring:N=!1,marks:j,onMarkClick:A,scoreIndexOffset:D=0}){const F=i.useCallback((ve,fe)=>{A?.(D+ve,fe)},[A,D]),P=(ve,fe)=>{const Z=j?.[Na(D+ve)]??null;return t.jsx("div",{className:_e("word-table-cell__score",Z?"word-table-cell__score--marked":""),children:Xi.map(ue=>t.jsx("span",{className:_e("word-table-cell__score-slot",Z===ue?"word-table-cell__score-slot--on":""),children:t.jsx(oe,{htmlType:"button",size:k,type:"dot",icon:Qi[ue],variant:Z===ue?el[ue]:"default",selected:Z===ue,useBorder:!1,showTooltipInfo:!1,ariaLabel:S(`wordTable.scoring.${ue}`,{word:fe,defaultValue:`${fe} ${ue}`}),onClick:J=>{J.stopPropagation(),F(ve,ue)}})},ue))})},{t:S}=me.useTranslation(),V=p!==void 0,L=i.useRef(null),[te,E]=i.useState(null),{width:O,height:Q}=In[o],{scalerRef:W,scale:M,offset:T}=sl(O,x?Q:void 0),$=V?p?.length??0:d?.length??0,R=Math.max(h??$,1),{cols:G,rows:I}=L4(o,R),U={word:s.length===0||s.includes("\uB2E8\uC5B4"),image:s.length===0||s.includes("\uC774\uBBF8\uC9C0"),pron:s.length===0||s.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:s.length===0||s.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},z=V?(p??[]).some(ve=>ve!==null&&ve.length>1):(d??[]).some(ve=>ve.words.length>1),ie=_e("word-table-block__content",$4[l],c&&"word-table-block__content--outline",u&&z&&"word-table-block__content--div-line"),ce={transform:`scale(${1/M})`,transformOrigin:"center center"},be=t.jsx("div",{ref:W,className:"word-table__scaler",style:{height:Q*M},children:t.jsx("div",{className:_e("word-table",r),style:{width:O,height:Q,transform:`scale(${M})`,transformOrigin:"top left",marginLeft:T},children:t.jsxs("div",{ref:_,className:ie,style:{gridTemplateColumns:`repeat(${G}, 1fr)`,gridTemplateRows:`repeat(${I}, 1fr)`},children:[V?t.jsx(t.Fragment,{children:(p??[]).map((ve,fe)=>t.jsx("div",{className:_e("word-table-block__edit-cell",ve?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",m===fe?"word-table-block__edit-cell--active":""),style:ol(fe,G,I,l),children:ve?t.jsxs(t.Fragment,{children:[ve.map((Z,ue)=>t.jsxs(i.Fragment,{children:[ue>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(il,{label:Z.word,subLabel:Z.pronunciation,colloquialLabel:Z.colloquialPronunciation,homonum:Z.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:k})]},ue)),N&&P(fe,ve.map(Z=>Z.word).join(" / ")),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(oe,{htmlType:"button",size:k,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ve.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ve.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(fe)})})]}):y&&t.jsx("div",{style:ce,children:t.jsx(oe,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:S("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>y(fe)})})},fe))}):t.jsxs(t.Fragment,{children:[(d??[]).map((ve,fe)=>t.jsxs("div",{className:`word-table-block__card${C?" word-table-block__card--draggable":""}${te===fe?" word-table-block__card--drag-over":""}`,style:ol(fe,G,I,l),draggable:!!C,onDragStart:C?()=>{L.current=fe}:void 0,onDragOver:C?Z=>{Z.preventDefault(),E(fe)}:void 0,onDragLeave:C?()=>E(null):void 0,onDrop:C?Z=>{Z.preventDefault(),L.current!==null&&L.current!==fe&&C(L.current,fe),L.current=null,E(null)}:void 0,onDragEnd:C?()=>{L.current=null,E(null)}:void 0,children:[ve.words.map((Z,ue)=>t.jsxs(i.Fragment,{children:[ue>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(il,{label:Z.label,subLabel:Z.subLabel,colloquialLabel:Z.colloquialLabel,homonum:Z.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:k,wordInfo:Z.grade||Z.syllables!=null||Z.pos||Z.wordType?{grade:Z.grade,syllables:Z.syllables,pos:Z.pos,wordType:Z.wordType}:void 0})]},ue)),N&&P(fe,ve.words.map(Z=>Z.label).join(" / ")),g&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(oe,{htmlType:"button",size:k,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ve.words.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ve.words.length>1?S("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):S("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>g(ve.id)})})]},ve.id)),Array.from({length:Math.max(0,G*I-(d?.length??0))}).map((ve,fe)=>{const Z=(d?.length??0)+fe<R;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:v&&y&&Z&&t.jsx("div",{style:ce,children:t.jsx(oe,{htmlType:"button",size:k,type:"bar",icon:"plus",label:S("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>y((d?.length??0)+fe)})})},`filler-${fe}`)})]}),b&&w!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${w}`,children:S("wordTable.filter.pageIndicator",{current:b.current,total:b.total})})]})})});return e!=null||n||a?t.jsx(Rn,{type:"page",icon:n,title:e,disc:a,className:_e("word-table-block",r),children:be}):be}function ln({title:e,headerAction:n,collapsible:a=!1,defaultCollapsed:r=!1,collapsed:o,onCollapsedChange:s,footer:l,sections:c,selected:u={},onSelect:d,align:p,sectionAlign:h,className:m}){const y=(p??(h==="vertical"?"newline":"inline"))==="inline",{t:f}=me.useTranslation(),[g,C]=i.useState(r),v=o??g,_=()=>{const b=!v;C(b),s?.(b)},k=e||n||a;return t.jsxs("div",{className:_e("filter-panel",a?"filter-panel--collapsible":"",v?"filter-panel--collapsed":"",m),children:[k&&t.jsxs("div",{className:"filter-panel__header",children:[t.jsxs("div",{className:"filter-panel__title-row",children:[a&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:v?"chevron-down":"chevron-up",ariaLabel:v?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!v,onClick:_}),e&&t.jsx("span",{className:"filter-panel__title h4",children:e})]}),t.jsx("div",{className:"filter-panel__header-actions",children:!v&&n})]}),!v&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:_e("filter-panel__sections",y?"filter-panel__sections--row":""),children:c.map(b=>{const w=u[b.label],x=w===void 0||(Array.isArray(w)?w.length===0:!1),N=(b.items??[]).filter(A=>A!=null);b.allOption&&N.some(A=>(typeof A=="string"?A:A.value)===Zt)&&Vn(`filter-panel-all-value:${b.label}`,`[FilterPanel] '${b.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${Zt}' \uC778 \uBCF4\uAE30\uAC00 \uD568\uAED8 \uC788\uB2E4 \u2014 \uB450 \uC120\uD0DD\uC774 \uAD6C\uBCC4\uB418\uC9C0 \uC54A\uB294\uB2E4. \uBCF4\uAE30 \uAC12\uC744 \uBC14\uAFD4\uB77C.`);const j=A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"&&!!A.disabled,P=typeof A!="string"?A.labels:void 0,S=typeof A!="string"?A.displayLabel:void 0,V=typeof A!="string"?A.tooltip:void 0,L=typeof A!="string"?A.descriptionTooltip:void 0,te=typeof A!="string"?A.shape:void 0,E=Array.isArray(w)?w.includes(D):w===D;return t.jsx(oe,{htmlType:"button",size:"keyboard",label:P??S??D,type:b.itemType??(P?"bar":D.length===1?"dot":void 0),selected:E,disabled:F,shape:te,showTooltipInfo:!!V,tooltipInfoText:V,tooltipDescription:L,onClick:()=>d?.(D,b.label)},D)};return t.jsxs(i.Fragment,{children:[b.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:b.groupLabel}),b.groupAction]}),t.jsxs("div",{className:_e("filter-panel__section",b.layout==="row"?"filter-panel__section--row":"",b.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:b.displayLabel??b.label}),b.labelAction??(b.labelInfo?t.jsx(aa,{...b.labelInfo}):null)]}),b.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:b.content}):b.type==="input"?t.jsx(Bn,{className:"filter-panel__textfield",placeholder:b.placeholder,ariaLabel:b.displayLabel??b.label,value:u[b.label]??"",onChange:A=>d?.(A,b.label),error:b.error}):!b.multiple&&b.display==="segmented"?t.jsx(Dn,{ariaLabel:b.displayLabel??b.label,options:[...b.allOption?[{key:Zt,label:b.allLabel??f("common.all","\uC804\uCCB4")}]:[],...N.map(A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"?A.displayLabel:void 0,P=typeof A!="string"?A.disabled:void 0;return{key:D,label:F??D,disabled:P}})],value:x&&b.allOption?Zt:u[b.label]??"",onChange:A=>d?.(A,b.label),size:32}):!b.multiple&&b.display==="dropdown"?t.jsx(Wt,{className:"filter-panel__dropdown",size:40,options:[...b.allOption?[{value:Zt,label:b.allLabel??f("common.all","\uC804\uCCB4")}]:[],...N.map(A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"?A.displayLabel:void 0,P=typeof A!="string"?A.disabled:void 0;return{value:D,label:F??D,disabled:P}})],value:x&&b.allOption?Zt:u[b.label],onChange:A=>d?.(A,b.label)}):t.jsxs("div",{className:b.groups?"filter-panel__item-groups":"filter-panel__items",children:[b.allOption&&!b.groups&&t.jsx(oe,{htmlType:"button",size:"keyboard",label:b.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:b.allOptionDisabled,onClick:()=>d?.(Zt,b.label)}),b.groups?b.groups.map((A,D)=>t.jsxs("div",{className:"filter-panel__item-group",children:[D===0&&b.allOption&&t.jsx(oe,{htmlType:"button",size:"keyboard",label:b.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:b.allOptionDisabled,onClick:()=>d?.(Zt,b.label)}),A.filter(F=>F!=null).map(j)]},D)):N.map(j)]})]})]},b.label)})}),l!=null&&l!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:l})]})]})}const V4=[1,2,3,4,5,6,7,8,9,10,11,12],z4=[8,4,2,1];function ll(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function cl(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function ul(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function dl(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function pl(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function hl(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...z4.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function ml(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const fl={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Cl(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function gl(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}}function bl(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===Zt?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(o=>o.includes(n)?o.filter(s=>s!==n):[...o,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):!1}function W4(e){return"sections"in e}function Sr(e){const{t:n}=me.useTranslation(),{title:a,className:r}=e;if(W4(e))return t.jsx(ln,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,align:"inline"});const{hasImage:o,hasColloquial:s,contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:p,setters:h,showCutLine:m=!1,showDivLine2:y=!1,middleSections:f=[],extraSelected:g={},onExtraSelect:C}=e,v=[ll(n,{hasImage:o,hasColloquial:s}),cl(n),...f,ul(n),...m?[dl(n)]:[],...y?[pl(n)]:[]],_={...gl(n,{contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:p}),...g},k=(b,w)=>{bl(n,b,w,h)||C?.(b,w)};return t.jsx(ln,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:v,selected:_,onSelect:k,sectionAlign:"horizontal"})}function yl(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Tr(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}function q4(e,n,a,r="",o=""){if(e.length===0)return;const s=r?Tr(r):"";if(s){const u=document.title;document.title=s;const d=()=>{document.title=u,window.removeEventListener("afterprint",d)};window.addEventListener("afterprint",d)}const l=document.createElement("iframe");l.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(l);const c=l.contentDocument;if(!c){l.remove();return}c.open(),c.write(jr(e,n,a,!0,s,o)),c.close(),l.contentWindow?.addEventListener("afterprint",()=>setTimeout(()=>l.remove(),0))}function jr(e,n,a,r=!1,o="",s=""){o=o?Tr(o):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(h=>h.cssText)}catch{return[]}}).join(`
839
+ `),c=document.documentElement.getAttribute("data-theme")||"light",u=s?`<div class="paper-head">${yl(s)}</div>`:"",d=e.map(p=>{const h=p.cloneNode(!0);return h.querySelectorAll('[data-play-state="play"]').forEach(m=>m.style.display=""),h.querySelectorAll('[data-play-state="pause"]').forEach(m=>m.style.display="none"),h.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(m=>m.remove()),`<div class="paper-wrap">${u}${h.outerHTML}</div>`}).join(`
840
840
  `);return`<!DOCTYPE html>
841
841
  <html data-theme="${c}">
842
842
  <head>
843
843
  <meta charset="utf-8">
844
- ${o?`<title>${bl(o)}</title>`:""}
844
+ ${o?`<title>${yl(o)}</title>`:""}
845
845
  <style>${l}</style>
846
846
  <style>
847
847
  * { box-sizing: border-box; }
@@ -962,17 +962,17 @@ ${_.badge}`:_.badge:void 0;if(A&&u(_.code))return null;if(!_.badge&&!d)return h(
962
962
  `:""}
963
963
  <\/script>
964
964
  </body>
965
- </html>`}function Er({getElements:e,paperW:n,paperH:a,fileName:r="",onPopupBlocked:o,header:i=""}){const l=s.useCallback(()=>{H4(e(),n,a,r,i)},[e,n,a,r,i]),c=s.useCallback(()=>{const d=e();if(d.length===0)return;const h=window.open("","_blank");if(!h){o?.();return}h.document.write(Tr(d,n,a,!1,r,i)),h.document.close()},[e,n,a,r,o,i]),u=s.useCallback(()=>{const d=e();if(d.length===0)return;const h=Tr(d,n,a,!1,r,i),p=new Blob([h],{type:"text/html;charset=utf-8"}),m=URL.createObjectURL(p),b=r&&jr(r),f=Object.assign(document.createElement("a"),{href:m,download:`${b}.html`});document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(m)},[e,n,a,r,i]);return{print:l,openNewWindow:c,downloadHtml:u}}function yl(e){const{t:n}=fe.useTranslation(),[a,r]=s.useState("landscape"),[o,i]=s.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[l,c]=s.useState("\uD45C\uC2DC"),[u,d]=s.useState(!0),[h,p]=s.useState(!0),[m,b]=s.useState(8),[f,g]=s.useState("right"),C=e.length,y=e.some(R=>R.words.length>1),w=e.some(R=>R.words.some(S=>!!S.colloquialLabel)),_=Math.min(m,Math.max(C,1)),v=s.useMemo(()=>tl(e,_),[e,_]),A=v.length>1,x=_,[k,T]=s.useState(!1);s.useEffect(()=>{let R=!1;if(!Tn()){T(!1);return}return Promise.all(e.flatMap(S=>S.words.map(z=>os(z.label,z.homonum)))).then(S=>{R||T(S.some(Boolean))}),()=>{R=!0}},[e]);const N=s.useMemo(()=>[il(n,{hasImage:k,hasColloquial:w}),ll(n),...C>0?[pl(n,{hasPairs:y,itemCount:C})]:[],...A?[hl(n)]:[],cl(n),...x>1?[ul(n)]:[],...y?[dl(n)]:[]],[n,k,w,C,y,A,x]),D={...Cl(n,{contentTypes:o,orientation:a,showOutline:u,cutLine:l,showDivLine:h}),...C>0?{[n(y?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${_}\uAC1C`}:{},...A?{[n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:ml[f]}:{}},F=s.useCallback((R,S)=>{gl(n,R,S,{setContentTypes:i,setOrientation:r,setShowOutline:d,setCutLine:c,setShowDivLine:p})||(S===n("wordTable.filter.itemsPerPagePair","\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218")||S===n("wordTable.filter.itemsPerPageWord","\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218")?b(parseInt(R)):S===n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&g(fl(R)))},[n]);return{settings:{orientation:a,contentTypes:o,cutLine:l,showOutline:u,showDivLine:h,count:x},filterSections:N,filterSelected:D,handleSelect:F,pages:v,isPaginated:A,pageNumberPosition:f}}function V4({items:e,words:n,title:a,subtitle:r,emptyText:o,buttons:i,renderButtons:l,renderFooter:c,footerClassName:u,printFileName:d,showSettings:h,autoPrint:p,className:m,onClose:b,scoring:f=!1,onScoreChange:g,printHeader:C,beforeClose:y}){const{t:w}=fe.useTranslation(),_=s.useMemo(()=>Array.isArray(e)?e:(Array.isArray(n)?n:[]).filter(re=>typeof re=="string"&&re.length>0).map((re,ue)=>({id:`${re}-${ue}`,words:[{label:re}]})),[e,n]),{settings:v,filterSections:A,filterSelected:x,handleSelect:k,pages:T,isPaginated:N,pageNumberPosition:D}=yl(_),F=s.useMemo(()=>el(T.map(re=>re.length)),[T]),[R,S]=s.useState({}),z=s.useCallback((re,ue)=>{S(be=>({...be,[Na(re)]:Xi(be[Na(re)]??null,ue)}))},[]),$=s.useRef(g);s.useEffect(()=>{$.current=g}),s.useEffect(()=>{$.current?.(Br(R))},[R]);const ee=s.useMemo(()=>Br(R),[R]),E=s.useRef(null),{toastMessage:H,toastKey:X,showWarning:q,clearToast:M}=ai("warning"),j=s.useRef([]),L=s.useCallback(()=>N?j.current.filter(re=>re!==null):E.current?[E.current]:[],[N]),{print:P,openNewWindow:G}=Er({getElements:L,paperW:In[v.orientation].width,paperH:In[v.orientation].height,fileName:d??"",header:C??"",onPopupBlocked:()=>q(w("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}),I=s.useMemo(()=>c?void 0:l?l({print:P,openNewWindow:G}):d?[{label:w("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),variant:"default",onClick:()=>G()},{label:w("wordTable.print","\uC778\uC1C4\uD558\uAE30"),variant:"default",onClick:()=>P()},...i??[]]:i,[c,l,d,i,w,P,G]),K=s.useMemo(()=>c?c({print:P,openNewWindow:G}):void 0,[c,P,G]),W=s.useRef(!1);return s.useEffect(()=>{if(!p||W.current)return;W.current=!0;const re=window.setTimeout(()=>P(),100);return()=>window.clearTimeout(re)},[p,P]),t.jsxs(fn,{title:a??w("keyWords.title","\uC8FC\uC694 \uB2E8\uC5B4"),subtitle:r,size:"large",className:xe("word-table-popup",m),buttons:I,footer:K,footerClassName:u,beforeClose:y,onClose:b,children:[_.length>0?t.jsxs("div",{className:"word-table-popup__body",children:[h&&t.jsx(Sr,{sections:A,selected:x,onSelect:k}),N?t.jsx("div",{className:"word-table-popup__pages",children:T.map((re,ue)=>t.jsx(Fn,{items:re,orientation:v.orientation,contentTypes:v.contentTypes,cutLine:v.cutLine,showOutline:v.showOutline,showDivLine:v.showDivLine,count:v.count,contentRef:be=>{j.current[ue]=be},pageNumber:{current:ue+1,total:T.length},pageNumberPosition:D,scoring:f,scoreIndexOffset:F[ue],marks:ee,onMarkClick:z},ue))}):t.jsx("div",{className:"word-table-popup__table",children:t.jsx(Fn,{items:_,orientation:v.orientation,contentTypes:v.contentTypes,cutLine:v.cutLine,showOutline:v.showOutline,showDivLine:v.showDivLine,count:v.count,contentRef:E,fitHeight:!0,scoring:f,marks:ee,onMarkClick:z})})]}):t.jsx("p",{className:"word-table-popup__empty body-3",children:o??w("keyWords.empty","\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),t.jsx($n,{message:H,position:"top",onClose:M},X)]})}const z4=new Set(["x","triangle"]);function W4(e,n){const a=[];for(let r=0;r<e.length;r++){const o=n[String(r)];o&&z4.has(o)&&a.push(e[r])}return a}function q4(e,n){const[,a,r]=nr(n).split("-"),o=`${a}.${r}`,i=/\s*(?:(\d+)차\s*)?복습\s*\d{2}\.\d{2}$/;let l=e.trim(),c=1;for(;;){const d=i.exec(l);if(!d)break;c=Math.max(c,(d[1]?Number(d[1]):1)+1),l=l.slice(0,d.index).trim()}const u=c>=2?`${c}\uCC28 `:"";return`${l||"\uB2E8\uC5B4\uD45C"} ${u}\uBCF5\uC2B5 ${o}`}function U4(e,n){const a={};for(const[r,o]of Object.entries(n)){if(o!=="o"&&o!=="triangle"&&o!=="x")continue;const i=Number(r),l=e[i];l&&(a[r]=l)}return a}function G4(e){return e.map(n=>n.label).join(" / ")}function K4(e,n,a){const r=ms(a);return[e.trim(),r,n.trim()].filter(Boolean).join(" \xB7 ")}const Z4=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function Ba(e,n){return Z4().compare(e,n)}const Y4=/^-?\d+(\.\d+)?$/;function X4(e,n){const a=i=>typeof i=="number"&&!Number.isNaN(i)?i:typeof i=="string"&&Y4.test(i.trim())?Number(i):null,r=a(e),o=a(n);return r!==null&&o!==null?r-o:Ba(e==null?"":String(e),n==null?"":String(n))}function vl(e,n,a){return a===0?0:(e+n*.5)/a}function J4(e){const n=new Map,a=[...e].sort((o,i)=>o.scoredAt.localeCompare(i.scoredAt));for(const o of a)for(const[i,l]of Object.entries(o.marks)){const c=o.labels?.[i];if(!c)continue;const u=n.get(c)??{o:0,triangle:0,x:0,latest:l,latestAt:o.scoredAt};if(l==="o")u.o++;else if(l==="triangle")u.triangle++;else if(l==="x")u.x++;else continue;u.latest=l,u.latestAt=o.scoredAt,n.set(c,u)}const r=[];for(const[o,i]of n){const l=i.o+i.triangle+i.x;r.push({label:o,tried:l,o:i.o,triangle:i.triangle,x:i.x,rate:vl(i.o,i.triangle,l),latest:i.latest,latestAt:i.latestAt})}return r.sort((o,i)=>o.rate-i.rate||i.tried-o.tried||Ba(o.label,i.label)),r}function Q4(e){const n=new Map;for(const r of e){const o=r.tableId??`name:${r.tableName}`,i=n.get(o)??{tableName:r.tableName,tableId:r.tableId,rows:[]};i.rows.push(r),n.set(o,i)}const a=[];for(const r of n.values()){const o=[...r.rows].sort((l,c)=>l.scoredAt.localeCompare(c.scoredAt)),i=o.map(l=>{const c=Object.values(l.marks),u=c.filter(h=>h==="o").length,d=c.filter(h=>h==="triangle").length;return vl(u,d,c.filter(h=>h==="o"||h==="triangle"||h==="x").length)});a.push({tableName:r.tableName,tableId:r.tableId,rates:i,times:o.map(l=>l.scoredAt),delta:i.length>=2?i[i.length-1]-i[0]:null})}return a.sort((r,o)=>(o.times[o.times.length-1]??"").localeCompare(r.times[r.times.length-1]??"")),a}function eb(e,n=8){return e.filter(a=>a.latest!=="o").slice(0,n)}function tb(e){const n=new Map;let a=0,r=0;const o=[...e].sort((l,c)=>l.answeredAt.localeCompare(c.answeredAt));for(const l of o){if(l.isCorrect==null)continue;const c=l.itemTitle?.trim();if(!c){r++;continue}a++;const u=l.itemId?.trim()||c,d=`${l.trainingType}|${u}`,h=n.get(d)??{trainingType:l.trainingType,itemId:u,title:c,tried:0,wrong:0,latestCorrect:l.isCorrect,latestAt:l.answeredAt,lastSelected:l.selected,setIds:[]};h.tried++,l.isCorrect||h.wrong++,h.title=c,h.latestCorrect=l.isCorrect,h.latestAt=l.answeredAt,h.lastSelected=l.selected,l.setId&&!h.setIds.includes(l.setId)&&h.setIds.unshift(l.setId),n.set(d,h)}const i=[...n.entries()].map(([l,c])=>({key:l,trainingType:c.trainingType,itemId:c.itemId,title:c.title,tried:c.tried,wrong:c.wrong,rate:c.tried===0?0:(c.tried-c.wrong)/c.tried,latestCorrect:c.latestCorrect,latestAt:c.latestAt,lastSelected:c.lastSelected,setIds:c.setIds}));return i.sort((l,c)=>l.rate-c.rate||c.tried-l.tried||Ba(l.title,c.title)),{items:i,counted:a,skippedNoTitle:r}}function nb(e,n=8){return e.filter(a=>!a.latestCorrect).slice(0,n)}function ab(e){const n=new Map;for(const r of e){const o=n.get(r.trainingType)??[];o.push(r),n.set(r.trainingType,o)}const a=[...n.entries()].map(([r,o])=>({trainingType:r,items:o,pending:o.filter(i=>!i.latestCorrect).length}));return a.sort((r,o)=>o.pending-r.pending||r.trainingType.localeCompare(o.trainingType)),a}const Mr=["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"];function rb(e){const n=new Map;let a=0;for(const i of e){if(i.latestCorrect)continue;const l=i.setIds[0];if(!l){a++;continue}const c=`${i.trainingType}|${l}`,u=n.get(c)??{setId:l,trainingType:i.trainingType,pending:0};u.pending++,n.set(c,u)}const r=(i,l)=>l.pending-i.pending||i.trainingType.localeCompare(l.trainingType)||i.setId.localeCompare(l.setId),o=[...n.values()];return{sentence:o.filter(i=>Mr.includes(i.trainingType)).sort(r),word:o.filter(i=>!Mr.includes(i.trainingType)).sort(r),noSet:a}}function ob(e,n,a=5){const r=new Set(n);if(r.size===0)return[];const o=[];for(const i of e){const l=new Set,c=[];for(const u of i.cellLabels)r.has(u)&&!l.has(u)&&(l.add(u),c.push(u));c.length!==0&&o.push({id:i.id,name:i.name,kind:i.kind,covered:c,totalCells:i.cellLabels.length})}return o.sort((i,l)=>l.covered.length-i.covered.length||i.totalCells-l.totalCells||Ba(i.name,l.name)),o.slice(0,Math.max(0,a))}function sb(e,n){const a=new Set(e.flatMap(r=>r.covered));return n.filter(r=>!a.has(r))}function ib(e,n){const a=new Map;for(const o of e)for(const i of o.cells){const l=o.labelOf(i);a.has(l)||a.set(l,i)}const r=[];for(const o of n){const i=a.get(o);i!==void 0&&r.push(i)}return r}function Lr(e,n,a){return typeof e=="string"&&e?e:n.replace(/\{\{(\w+)\}\}/g,(r,o)=>String(a[o]))}function lb(e,n){if(!e||e<=0)return"-";const a=Math.floor(e/60),r=e%60;return n?n(a,r):a>0&&r>0?Lr(Pt.t("customers.duration.minSec",{m:a,s:r,defaultValue:"{{m}}\uBD84 {{s}}\uCD08"}),"{{m}}\uBD84 {{s}}\uCD08",{m:a,s:r}):a>0?Lr(Pt.t("customers.duration.min",{m:a,defaultValue:"{{m}}\uBD84"}),"{{m}}\uBD84",{m:a}):Lr(Pt.t("customers.duration.sec",{s:r,defaultValue:"{{s}}\uCD08"}),"{{s}}\uCD08",{s:r})}function cb(e,n){const a=[],r=new Set;for(const o of e){const i=n(o);r.has(i)||(r.add(i),a.push({key:i,value:o,pinned:!1}))}return a}function ub(e,n){return e.map(a=>a.key===n?{...a,pinned:!a.pinned}:a)}function db(e,n){return e.filter(a=>a.key!==n)}function pb(e,n,a){const r=e.filter(d=>d.pinned),o=new Set(r.map(d=>d.key)),i=e.length-r.length,l=[],c=new Set(o);for(const d of n){if(l.length>=i)break;const h=a(d);c.has(h)||(c.add(h),l.push({key:h,value:d,pinned:!1}))}const u=[...l];return e.map(d=>d.pinned?d:u.shift()).filter(d=>d!==void 0)}function hb(e){return e.map(n=>n.value)}function mb(e){const{category:n={},isSelected:a=!1,onClick:r}=e||{},o=n?.key?` icon-grid-menu__button--${n.key}`:"",i=s.useId();return t.jsxs("div",{className:`icon-grid-menu__button-wrapper${o}`,children:[t.jsx("button",{className:`icon-grid-menu__button${a?" icon-grid-menu__button--selected":""}`,"data-key":n?.key,type:"button",onClick:a?void 0:r,"aria-pressed":a,"aria-labelledby":i,children:t.jsx(Ie,{icon:n.icon,label:n.label,className:"icon-grid-menu__button-icon",imgClassName:"icon-grid-menu__button-icon-image",maskClassName:"icon-grid-menu__button-icon-mask",svgClassName:"icon-grid-menu__button-icon-svg"})}),t.jsx("span",{id:i,className:"icon-grid-menu__button-label button-1",children:n.label})]})}function fb(e){const{categories:n=[],selected:a,onSelect:r,size:o="medium"}=e||{},i=a!==void 0?a:(n&&n[0]?.key)??null,[l,c]=s.useState(i??null);s.useEffect(()=>{a!==void 0&&c(a)},[a]);const u=s.useRef(r),d=s.useRef(l),h=s.useRef(a!==void 0);s.useEffect(()=>{!h.current&&d.current&&typeof u.current=="function"&&u.current(d.current)},[]);const p=s.useCallback(m=>{const b=l===m?null:m;c(b),r?.(b)},[l,r]);return t.jsx("div",{className:`icon-grid-menu icon-grid-menu--${o}`,children:(n||[]).map(m=>t.jsx(mb,{category:m,isSelected:l===m.key,onClick:()=>p(m.key)},m.key))})}function Cb({subs:e=[],selected:n,onSelect:a,size:r="medium"}){const o=r==="small"?32:40;return t.jsx("div",{className:`choice-chips choice-chips--${r}`,children:t.jsx("div",{className:"choice-chips__list",children:e.map(i=>t.jsx(se,{htmlType:"button",size:o,type:"bar",label:i.label,selected:n===i.key,className:"choice-chips__button",onClick:()=>a?.(i.key)},i.key))})})}function gb({onTermsClick:e,onPrivacyClick:n,contact:a}={}){const r=a?.email??"support@ihab.co.kr",o=a?.tel??"031-380-3724",{t:i}=fe.useTranslation();return t.jsx("footer",{className:"site-footer",children:t.jsxs("div",{className:"safearea",children:[t.jsxs("div",{className:"site-footer__top",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("div",{className:"site-footer__lead h3",children:i("footer.lead",`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
965
+ </html>`}function Er({getElements:e,paperW:n,paperH:a,fileName:r="",onPopupBlocked:o,header:s=""}){const l=i.useCallback(()=>{q4(e(),n,a,r,s)},[e,n,a,r,s]),c=i.useCallback(()=>{const d=e();if(d.length===0)return;const p=window.open("","_blank");if(!p){o?.();return}p.document.write(jr(d,n,a,!1,r,s)),p.document.close()},[e,n,a,r,o,s]),u=i.useCallback(()=>{const d=e();if(d.length===0)return;const p=jr(d,n,a,!1,r,s),h=new Blob([p],{type:"text/html;charset=utf-8"}),m=URL.createObjectURL(h),y=r&&Tr(r),f=Object.assign(document.createElement("a"),{href:m,download:`${y}.html`});document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(m)},[e,n,a,r,s]);return{print:l,openNewWindow:c,downloadHtml:u}}function vl(e){const{t:n}=me.useTranslation(),[a,r]=i.useState("landscape"),[o,s]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[l,c]=i.useState("\uD45C\uC2DC"),[u,d]=i.useState(!0),[p,h]=i.useState(!0),[m,y]=i.useState(8),[f,g]=i.useState("right"),C=e.length,v=e.some(P=>P.words.length>1),_=e.some(P=>P.words.some(S=>!!S.colloquialLabel)),k=Math.min(m,Math.max(C,1)),b=i.useMemo(()=>nl(e,k),[e,k]),w=b.length>1,x=k,[N,j]=i.useState(!1);i.useEffect(()=>{let P=!1;if(!En()){j(!1);return}return Promise.all(e.flatMap(S=>S.words.map(V=>os(V.label,V.homonum)))).then(S=>{P||j(S.some(Boolean))}),()=>{P=!0}},[e]);const A=i.useMemo(()=>[ll(n,{hasImage:N,hasColloquial:_}),cl(n),...C>0?[hl(n,{hasPairs:v,itemCount:C})]:[],...w?[ml(n)]:[],ul(n),...x>1?[dl(n)]:[],...v?[pl(n)]:[]],[n,N,_,C,v,w,x]),D={...gl(n,{contentTypes:o,orientation:a,showOutline:u,cutLine:l,showDivLine:p}),...C>0?{[n(v?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${k}\uAC1C`}:{},...w?{[n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:fl[f]}:{}},F=i.useCallback((P,S)=>{bl(n,P,S,{setContentTypes:s,setOrientation:r,setShowOutline:d,setCutLine:c,setShowDivLine:h})||(S===n("wordTable.filter.itemsPerPagePair","\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218")||S===n("wordTable.filter.itemsPerPageWord","\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218")?y(parseInt(P)):S===n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&g(Cl(P)))},[n]);return{settings:{orientation:a,contentTypes:o,cutLine:l,showOutline:u,showDivLine:p,count:x},filterSections:A,filterSelected:D,handleSelect:F,pages:b,isPaginated:w,pageNumberPosition:f}}function U4({items:e,words:n,title:a,subtitle:r,emptyText:o,buttons:s,renderButtons:l,renderFooter:c,footerClassName:u,printFileName:d,showSettings:p,autoPrint:h,className:m,onClose:y,scoring:f=!1,onScoreChange:g,printHeader:C,beforeClose:v}){const{t:_}=me.useTranslation(),k=i.useMemo(()=>Array.isArray(e)?e:(Array.isArray(n)?n:[]).filter(ie=>typeof ie=="string"&&ie.length>0).map((ie,ce)=>({id:`${ie}-${ce}`,words:[{label:ie}]})),[e,n]),{settings:b,filterSections:w,filterSelected:x,handleSelect:N,pages:j,isPaginated:A,pageNumberPosition:D}=vl(k),F=i.useMemo(()=>tl(j.map(ie=>ie.length)),[j]),[P,S]=i.useState({}),V=i.useCallback((ie,ce)=>{S(be=>({...be,[Na(ie)]:Ji(be[Na(ie)]??null,ce)}))},[]),L=i.useRef(g);i.useEffect(()=>{L.current=g}),i.useEffect(()=>{L.current?.(Br(P))},[P]);const te=i.useMemo(()=>Br(P),[P]),E=i.useRef(null),{toastMessage:O,toastKey:Q,showWarning:W,clearToast:M}=ai("warning"),T=i.useRef([]),$=i.useCallback(()=>A?T.current.filter(ie=>ie!==null):E.current?[E.current]:[],[A]),{print:R,openNewWindow:G}=Er({getElements:$,paperW:In[b.orientation].width,paperH:In[b.orientation].height,fileName:d??"",header:C??"",onPopupBlocked:()=>W(_("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}),I=i.useMemo(()=>c?void 0:l?l({print:R,openNewWindow:G}):d?[{label:_("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),variant:"default",onClick:()=>G()},{label:_("wordTable.print","\uC778\uC1C4\uD558\uAE30"),variant:"default",onClick:()=>R()},...s??[]]:s,[c,l,d,s,_,R,G]),U=i.useMemo(()=>c?c({print:R,openNewWindow:G}):void 0,[c,R,G]),z=i.useRef(!1);return i.useEffect(()=>{if(!h||z.current)return;z.current=!0;const ie=window.setTimeout(()=>R(),100);return()=>window.clearTimeout(ie)},[h,R]),t.jsxs(fn,{title:a??_("keyWords.title","\uC8FC\uC694 \uB2E8\uC5B4"),subtitle:r,size:"large",className:_e("word-table-popup",m),buttons:I,footer:U,footerClassName:u,beforeClose:v,onClose:y,children:[k.length>0?t.jsxs("div",{className:"word-table-popup__body",children:[p&&t.jsx(Sr,{sections:w,selected:x,onSelect:N}),A?t.jsx("div",{className:"word-table-popup__pages",children:j.map((ie,ce)=>t.jsx(Fn,{items:ie,orientation:b.orientation,contentTypes:b.contentTypes,cutLine:b.cutLine,showOutline:b.showOutline,showDivLine:b.showDivLine,count:b.count,contentRef:be=>{T.current[ce]=be},pageNumber:{current:ce+1,total:j.length},pageNumberPosition:D,scoring:f,scoreIndexOffset:F[ce],marks:te,onMarkClick:V},ce))}):t.jsx("div",{className:"word-table-popup__table",children:t.jsx(Fn,{items:k,orientation:b.orientation,contentTypes:b.contentTypes,cutLine:b.cutLine,showOutline:b.showOutline,showDivLine:b.showDivLine,count:b.count,contentRef:E,fitHeight:!0,scoring:f,marks:te,onMarkClick:V})})]}):t.jsx("p",{className:"word-table-popup__empty body-3",children:o??_("keyWords.empty","\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),t.jsx($n,{message:O,position:"top",onClose:M},Q)]})}const G4=new Set(["x","triangle"]);function K4(e,n){const a=[];for(let r=0;r<e.length;r++){const o=n[String(r)];o&&G4.has(o)&&a.push(e[r])}return a}function Z4(e,n){const[,a,r]=nr(n).split("-"),o=`${a}.${r}`,s=/\s*(?:(\d+)차\s*)?복습\s*\d{2}\.\d{2}$/;let l=e.trim(),c=1;for(;;){const d=s.exec(l);if(!d)break;c=Math.max(c,(d[1]?Number(d[1]):1)+1),l=l.slice(0,d.index).trim()}const u=c>=2?`${c}\uCC28 `:"";return`${l||"\uB2E8\uC5B4\uD45C"} ${u}\uBCF5\uC2B5 ${o}`}function Y4(e,n){const a={};for(const[r,o]of Object.entries(n)){if(o!=="o"&&o!=="triangle"&&o!=="x")continue;const s=Number(r),l=e[s];l&&(a[r]=l)}return a}function X4(e){return e.map(n=>n.label).join(" / ")}function J4(e,n,a){const r=ms(a);return[e.trim(),r,n.trim()].filter(Boolean).join(" \xB7 ")}const Q4=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function Ba(e,n){return Q4().compare(e,n)}const eb=/^-?\d+(\.\d+)?$/;function tb(e,n){const a=s=>typeof s=="number"&&!Number.isNaN(s)?s:typeof s=="string"&&eb.test(s.trim())?Number(s):null,r=a(e),o=a(n);return r!==null&&o!==null?r-o:Ba(e==null?"":String(e),n==null?"":String(n))}function xl(e,n,a){return a===0?0:(e+n*.5)/a}function nb(e){const n=new Map,a=[...e].sort((o,s)=>o.scoredAt.localeCompare(s.scoredAt));for(const o of a)for(const[s,l]of Object.entries(o.marks)){const c=o.labels?.[s];if(!c)continue;const u=n.get(c)??{o:0,triangle:0,x:0,latest:l,latestAt:o.scoredAt};if(l==="o")u.o++;else if(l==="triangle")u.triangle++;else if(l==="x")u.x++;else continue;u.latest=l,u.latestAt=o.scoredAt,n.set(c,u)}const r=[];for(const[o,s]of n){const l=s.o+s.triangle+s.x;r.push({label:o,tried:l,o:s.o,triangle:s.triangle,x:s.x,rate:xl(s.o,s.triangle,l),latest:s.latest,latestAt:s.latestAt})}return r.sort((o,s)=>o.rate-s.rate||s.tried-o.tried||Ba(o.label,s.label)),r}function ab(e){const n=new Map;for(const r of e){const o=r.tableId??`name:${r.tableName}`,s=n.get(o)??{tableName:r.tableName,tableId:r.tableId,rows:[]};s.rows.push(r),n.set(o,s)}const a=[];for(const r of n.values()){const o=[...r.rows].sort((l,c)=>l.scoredAt.localeCompare(c.scoredAt)),s=o.map(l=>{const c=Object.values(l.marks),u=c.filter(p=>p==="o").length,d=c.filter(p=>p==="triangle").length;return xl(u,d,c.filter(p=>p==="o"||p==="triangle"||p==="x").length)});a.push({tableName:r.tableName,tableId:r.tableId,rates:s,times:o.map(l=>l.scoredAt),delta:s.length>=2?s[s.length-1]-s[0]:null})}return a.sort((r,o)=>(o.times[o.times.length-1]??"").localeCompare(r.times[r.times.length-1]??"")),a}function rb(e,n=8){return e.filter(a=>a.latest!=="o").slice(0,n)}function ob(e){const n=new Map;let a=0,r=0;const o=[...e].sort((l,c)=>l.answeredAt.localeCompare(c.answeredAt));for(const l of o){if(l.isCorrect==null)continue;const c=l.itemTitle?.trim();if(!c){r++;continue}a++;const u=l.itemId?.trim()||c,d=`${l.trainingType}|${u}`,p=n.get(d)??{trainingType:l.trainingType,itemId:u,title:c,tried:0,wrong:0,latestCorrect:l.isCorrect,latestAt:l.answeredAt,lastSelected:l.selected,setIds:[]};p.tried++,l.isCorrect||p.wrong++,p.title=c,p.latestCorrect=l.isCorrect,p.latestAt=l.answeredAt,p.lastSelected=l.selected,l.setId&&!p.setIds.includes(l.setId)&&p.setIds.unshift(l.setId),n.set(d,p)}const s=[...n.entries()].map(([l,c])=>({key:l,trainingType:c.trainingType,itemId:c.itemId,title:c.title,tried:c.tried,wrong:c.wrong,rate:c.tried===0?0:(c.tried-c.wrong)/c.tried,latestCorrect:c.latestCorrect,latestAt:c.latestAt,lastSelected:c.lastSelected,setIds:c.setIds}));return s.sort((l,c)=>l.rate-c.rate||c.tried-l.tried||Ba(l.title,c.title)),{items:s,counted:a,skippedNoTitle:r}}function sb(e,n=8){return e.filter(a=>!a.latestCorrect).slice(0,n)}function ib(e){const n=new Map;for(const r of e){const o=n.get(r.trainingType)??[];o.push(r),n.set(r.trainingType,o)}const a=[...n.entries()].map(([r,o])=>({trainingType:r,items:o,pending:o.filter(s=>!s.latestCorrect).length}));return a.sort((r,o)=>o.pending-r.pending||r.trainingType.localeCompare(o.trainingType)),a}const Mr=["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"];function lb(e){const n=new Map;let a=0;for(const s of e){if(s.latestCorrect)continue;const l=s.setIds[0];if(!l){a++;continue}const c=`${s.trainingType}|${l}`,u=n.get(c)??{setId:l,trainingType:s.trainingType,pending:0};u.pending++,n.set(c,u)}const r=(s,l)=>l.pending-s.pending||s.trainingType.localeCompare(l.trainingType)||s.setId.localeCompare(l.setId),o=[...n.values()];return{sentence:o.filter(s=>Mr.includes(s.trainingType)).sort(r),word:o.filter(s=>!Mr.includes(s.trainingType)).sort(r),noSet:a}}function cb(e,n,a=5){const r=new Set(n);if(r.size===0)return[];const o=[];for(const s of e){const l=new Set,c=[];for(const u of s.cellLabels)r.has(u)&&!l.has(u)&&(l.add(u),c.push(u));c.length!==0&&o.push({id:s.id,name:s.name,kind:s.kind,covered:c,totalCells:s.cellLabels.length})}return o.sort((s,l)=>l.covered.length-s.covered.length||s.totalCells-l.totalCells||Ba(s.name,l.name)),o.slice(0,Math.max(0,a))}function ub(e,n){const a=new Set(e.flatMap(r=>r.covered));return n.filter(r=>!a.has(r))}function db(e,n){const a=new Map;for(const o of e)for(const s of o.cells){const l=o.labelOf(s);a.has(l)||a.set(l,s)}const r=[];for(const o of n){const s=a.get(o);s!==void 0&&r.push(s)}return r}function Lr(e,n,a){return typeof e=="string"&&e?e:n.replace(/\{\{(\w+)\}\}/g,(r,o)=>String(a[o]))}function pb(e,n){if(!e||e<=0)return"-";const a=Math.floor(e/60),r=e%60;return n?n(a,r):a>0&&r>0?Lr(Pt.t("customers.duration.minSec",{m:a,s:r,defaultValue:"{{m}}\uBD84 {{s}}\uCD08"}),"{{m}}\uBD84 {{s}}\uCD08",{m:a,s:r}):a>0?Lr(Pt.t("customers.duration.min",{m:a,defaultValue:"{{m}}\uBD84"}),"{{m}}\uBD84",{m:a}):Lr(Pt.t("customers.duration.sec",{s:r,defaultValue:"{{s}}\uCD08"}),"{{s}}\uCD08",{s:r})}function hb(e,n){const a=[],r=new Set;for(const o of e){const s=n(o);r.has(s)||(r.add(s),a.push({key:s,value:o,pinned:!1}))}return a}function mb(e,n){return e.map(a=>a.key===n?{...a,pinned:!a.pinned}:a)}function fb(e,n){return e.filter(a=>a.key!==n)}function Cb(e,n,a){const r=e.filter(d=>d.pinned),o=new Set(r.map(d=>d.key)),s=e.length-r.length,l=[],c=new Set(o);for(const d of n){if(l.length>=s)break;const p=a(d);c.has(p)||(c.add(p),l.push({key:p,value:d,pinned:!1}))}const u=[...l];return e.map(d=>d.pinned?d:u.shift()).filter(d=>d!==void 0)}function gb(e){return e.map(n=>n.value)}function bb(e){const{category:n={},isSelected:a=!1,onClick:r}=e||{},o=n?.key?` icon-grid-menu__button--${n.key}`:"",s=i.useId();return t.jsxs("div",{className:`icon-grid-menu__button-wrapper${o}`,children:[t.jsx("button",{className:`icon-grid-menu__button${a?" icon-grid-menu__button--selected":""}`,"data-key":n?.key,type:"button",onClick:a?void 0:r,"aria-pressed":a,"aria-labelledby":s,children:t.jsx(Ie,{icon:n.icon,label:n.label,className:"icon-grid-menu__button-icon",imgClassName:"icon-grid-menu__button-icon-image",maskClassName:"icon-grid-menu__button-icon-mask",svgClassName:"icon-grid-menu__button-icon-svg"})}),t.jsx("span",{id:s,className:"icon-grid-menu__button-label button-1",children:n.label})]})}function yb(e){const{categories:n=[],selected:a,onSelect:r,size:o="medium"}=e||{},s=a!==void 0?a:(n&&n[0]?.key)??null,[l,c]=i.useState(s??null);i.useEffect(()=>{a!==void 0&&c(a)},[a]);const u=i.useRef(r),d=i.useRef(l),p=i.useRef(a!==void 0);i.useEffect(()=>{!p.current&&d.current&&typeof u.current=="function"&&u.current(d.current)},[]);const h=i.useCallback(m=>{const y=l===m?null:m;c(y),r?.(y)},[l,r]);return t.jsx("div",{className:`icon-grid-menu icon-grid-menu--${o}`,children:(n||[]).map(m=>t.jsx(bb,{category:m,isSelected:l===m.key,onClick:()=>h(m.key)},m.key))})}function vb({subs:e=[],selected:n,onSelect:a,size:r="medium"}){const o=r==="small"?32:40;return t.jsx("div",{className:`choice-chips choice-chips--${r}`,children:t.jsx("div",{className:"choice-chips__list",children:e.map(s=>t.jsx(oe,{htmlType:"button",size:o,type:"bar",label:s.label,selected:n===s.key,className:"choice-chips__button",onClick:()=>a?.(s.key)},s.key))})})}function xb({onTermsClick:e,onPrivacyClick:n,contact:a}={}){const r=a?.email??"support@ihab.co.kr",o=a?.tel??"031-380-3724",{t:s}=me.useTranslation();return t.jsx("footer",{className:"site-footer",children:t.jsxs("div",{className:"safearea",children:[t.jsxs("div",{className:"site-footer__top",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("div",{className:"site-footer__lead h3",children:s("footer.lead",`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
966
966
  \uC2E0\uB8B0\uB97C \uC313\uACE0
967
967
  \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`).split(`
968
- `).map((l,c,u)=>t.jsxs(s.Fragment,{children:[l,c<u.length-1&&t.jsx("br",{})]},c))})}),t.jsxs("div",{className:"site-footer__links",children:[t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.site.title","\uC0AC\uC774\uD2B8")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.malgwi","\uB9D0\uADC0")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/sound-localization",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.soundDirection","\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/vr-sound-localization",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.vrSoundDirection","VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/hearing-test-pro",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.hearingTest","\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C")})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.sns.title","SNS")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://blog.naver.com/ihab_official",target:"_blank",rel:"noopener noreferrer",children:i("footer.sns.naverBlog","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.youtube.com/@%EC%95%84%EC%9D%B4%ED%95%B4%EB%B8%8C-%EA%B3%B5%EC%8B%9D%EC%B1%84%EB%84%90",target:"_blank",rel:"noopener noreferrer",children:"Youtube"})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.policy.title","\uC815\uCC45")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{e&&(l.preventDefault(),e())},children:i("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{n&&(l.preventDefault(),n())},children:i("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),t.jsx("hr",{className:"site-footer__rule"}),t.jsxs("div",{className:"site-footer__bottom",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("img",{src:mr,alt:"IHAB",className:"site-footer__logo"})}),t.jsxs("div",{className:"site-footer__meta",children:[t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:i("footer.ceo","\uB300\uD45C")}),t.jsx("span",{className:"footer-meta caption-1",children:i("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:i("footer.address","\uC8FC\uC18C")}),t.jsx("span",{className:"footer-meta caption-1",children:i("footer.addressValue","\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:i("footer.support","\uACE0\uAC1D\uC13C\uD130")}),t.jsxs("span",{className:"footer-meta caption-1",children:[r," \xA0 ",o]})]})]})]}),t.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}function bb({logo:e,logoAlt:n="",logoHref:a,links:r=[],actions:o,className:i,containerClassName:l,renderLink:c,menuLabel:u={open:"\uBA54\uB274 \uC5F4\uAE30",close:"\uBA54\uB274 \uB2EB\uAE30"}}){const[d,h]=s.useState(!1),p=s.useId(),m=l?`${l} landing-header__inner`:"landing-header__inner",b=(f,g)=>c?c(f,{onClick:g}):t.jsx("a",{href:f.href,onClick:g,"aria-current":f.current?"page":void 0,children:f.label});return t.jsxs("header",{className:i?`landing-header ${i}`:"landing-header",children:[t.jsxs("div",{className:m,children:[e!=null&&(()=>{const f=typeof e=="string"?t.jsx("img",{src:e,alt:n,className:"landing-header__logo"}):e;return a?t.jsx("a",{href:a,className:"landing-header__brand",children:f}):t.jsx("div",{className:"landing-header__brand",children:f})})(),r.length>0&&t.jsx("nav",{className:"landing-header__links",children:r.map(f=>t.jsx("span",{children:b(f)},f.href))}),t.jsxs("div",{className:"landing-header__actions",children:[o,r.length>0&&t.jsx("button",{type:"button",onClick:()=>h(f=>!f),"aria-expanded":d,"aria-controls":p,"aria-label":d?u.close:u.open,className:d?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:t.jsxs("span",{className:"landing-header__burger",children:[t.jsx("span",{}),t.jsx("span",{}),t.jsx("span",{})]})})]})]}),r.length>0&&t.jsx("nav",{id:p,hidden:!d,className:"landing-header__drawer",children:t.jsx("div",{className:l??void 0,children:r.map(f=>t.jsx("span",{className:"landing-header__drawer-item",children:b(f,()=>h(!1))},f.href))})})]})}function yb({children:e,action:n,onClick:a,className:r}){const o=a?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return t.jsx("div",{className:r?`bottom-sticky ${r}`:"bottom-sticky",children:t.jsxs("div",{className:o,onClick:a,...qi(a),children:[t.jsx("div",{className:"bottom-sticky__content",children:e}),n]})})}const On=9,vb=e=>Math.round(Math.min(On,Math.max(0,e))/On*100),xb=e=>e/100*On,Da=2,xl=.1,_l=e=>Math.min(Da,Math.max(0,e)),_b=e=>Math.round(e*10)/10;function ia(e){const{noiseRatio:n}=e;if(typeof n=="number"&&Number.isFinite(n))return _l(n);const a=Math.min(On,Math.max(0,Number(e.level)||0))/On,r=Number(e.mainVolume);return r>0?_b(_l(a/r)):1}const wl=e=>Math.min(1,Math.max(0,Number(e.mainVolume)||0));function kl(e){return wl(e)}function $r(e){return wl(e)*ia(e)}function Rr(e,n=Qo()){const a=Number.isFinite(n)&&n>0?n:1;return Math.min(1,$r(e)/a)}function la(e,n){const a={...e,...n??{}};return n&&"level"in n&&typeof n.noiseRatio!="number"&&(a.noiseRatio=ia({level:a.level,mainVolume:a.mainVolume})),a}const ca={enabled:!0,type:"defaultNoise",level:4.5,noiseRatio:1,speed:1,mainVolume:1,mainSpeed:1},Pr=s.createContext(null);function Sa(){return s.useContext(Pr)}const Ir=e=>`${Nm()}/${e}`,Al=e=>Array.from({length:10},(n,a)=>Ir(`${e}-${String(a+1).padStart(2,"0")}.mp3`)),ja={get defaultNoise(){return Ir("noise1.mp3")},get street(){return Al("noise2")},get restaurant(){return Al("noise3")},get buzz(){return Ir("noise4.mp3")}};function wb(e){const n=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return ja.defaultNoise;case"street":return ja.street[n];case"restaurant":return ja.restaurant[n];case"buzz":return ja.buzz;default:return null}}function kb({noisePlayer:e,audioRef:n,playbackStateRef:a}){const r=s.useRef(e?.registerAnalyser);r.current=e?.registerAnalyser;const o=s.useRef(null),[i,l]=s.useState(null),c=s.useRef(null),u=s.useRef(null),d=s.useRef(null),h=s.useRef(0),p=s.useRef(null),m=s.useCallback(()=>{d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),p.current!==null&&(clearTimeout(p.current),p.current=null)},[]),b=s.useCallback((y,w=250)=>{const _=o.current;if(!_||!_.src)return;h.current+=1,m();try{Xa(),ma(_).then(k=>{try{r.current?.("noise",k)}catch{}})}catch{}const v=_.paused?0:fa(_);_.paused&&dn(_,0),_.play().catch(()=>{});const A=performance.now(),x=()=>{const k=Math.min(1,(performance.now()-A)/w);try{dn(_,v+(y-v)*k)}catch{}k<1?d.current=requestAnimationFrame(x):d.current=null};d.current=requestAnimationFrame(x)},[m]),f=s.useCallback((y=250,w)=>{const _=o.current;if(!_||_.paused){w?.();return}const v=++h.current;m();const A=performance.now(),x=fa(_),k=()=>{const T=Math.min(1,(performance.now()-A)/y);try{dn(_,x*(1-T))}catch{}if(T<1)d.current=requestAnimationFrame(k);else{d.current=null,p.current!==null&&(clearTimeout(p.current),p.current=null);try{_.pause()}catch{}w?.()}};d.current=requestAnimationFrame(k),p.current=setTimeout(()=>{if(p.current=null,h.current===v){d.current!==null&&(cancelAnimationFrame(d.current),d.current=null);try{_.paused||(dn(_,0),_.pause(),w?.())}catch{}}},y+150)},[m]);s.useEffect(()=>{const y=document.createElement("audio");return y.loop=!0,y.crossOrigin="anonymous",o.current=y,()=>{m();try{y.pause(),y.src=""}catch{}o.current=null}},[m]);const g=e?Rr(e.settings):0,C=!!e?.settings.enabled&&g>0;return s.useEffect(()=>{if(!C)return;let y=0;const w=setInterval(()=>{const _=o.current;if(!_||_.paused){y=0;return}const v=n.current;if(v&&!v.paused&&!v.ended||a.current==="playing"){y=0;return}y+=1,y>=2&&(y=0,f())},400);return()=>clearInterval(w)},[f,C,n,a]),s.useEffect(()=>{const y=()=>{if(!document.hidden)return;const w=o.current;if(w&&!w.paused){m();try{w.pause()}catch{}}};return document.addEventListener("visibilitychange",y),()=>document.removeEventListener("visibilitychange",y)},[m]),s.useEffect(()=>{u.current=e?{enabled:e.settings.enabled,volume:g,type:e.settings.type}:null},[e,e?.settings.enabled,g,e?.settings.type]),s.useEffect(()=>{const y=e?.settings,w=o.current;if(!w)return;const _=y?Rr(y):0;if(!y||!y.enabled||_===0){f();return}if(c.current!==y.type){const v=wb(y.type);v&&(c.current=y.type,l(v),f(150,()=>{w.src=v,w.load();const A=n.current;A&&!A.paused&&w.addEventListener("canplay",function x(){w.removeEventListener("canplay",x);const k=n.current;k&&!k.paused&&!k.ended&&b(_)})}))}else{const v=n.current,A=!!v&&!v.paused&&!v.ended;if(A&&w.paused&&w.src)b(_);else if(!w.paused)if(!A)f();else{m();const x=fa(w),k=performance.now(),T=()=>{const N=Math.min(1,(performance.now()-k)/150);try{dn(w,x+(_-x)*N)}catch{}N<1?d.current=requestAnimationFrame(T):d.current=null};d.current=requestAnimationFrame(T)}}},[e?.settings,e?.settings.enabled,g,e?.settings.type,m,b,f,n]),s.useEffect(()=>{const y=o.current;if(y)try{y.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:o,activeNoiseUrl:i,noiseSettingsRef:u,cancelNoiseFade:m,fadeInNoise:b,fadeOutNoise:f}}function Ab({ttsText:e,playbackRate:n,mainVolume:a,fillRef:r,waveProgressRef:o,setProgress:i,setPlaybackState:l,setStateLocal:c,fadeInNoise:u,fadeOutNoise:d,noiseSettingsRef:h,onDoneRef:p,handleEndRef:m}){const b=s.useRef(null),f=s.useRef(0),g=s.useRef(null);s.useEffect(()=>()=>{try{if(g.current&&(cancelAnimationFrame(g.current),g.current=null),window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}}catch{}},[]);const C=(_,v=1)=>{try{const A=(_||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(_||"").length);return Math.max(700,Math.round(A*300/Math.max(.25,v)))}catch{return 1200}},y=s.useCallback(_=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof p.current=="function"&&p.current(!0)}catch{}return}const v=window.speechSynthesis;try{try{v.cancel()}catch{}const A=_??e,x=(Array.isArray(A)?A[0]??"":A)||"",k=new SpeechSynthesisUtterance(x);try{k.rate=Math.max(.3,Math.min(3,n))}catch{}try{k.volume=Math.max(0,Math.min(1,a))}catch{}f.current=C(x,k.rate||1),b.current=performance.now(),i(0),l("playing"),c("playMode");const T=h.current;T?.enabled&&(T?.volume??0)>0&&u(T.volume);const N=()=>{try{const D=b.current||performance.now(),F=performance.now()-D,R=f.current||1200,S=Math.min(1,F/R);i(S);try{r.current&&(r.current.style.left=`${S*100}%`),o.current&&o.current.style.setProperty("--progress",String(S))}catch{}S<1&&(g.current=requestAnimationFrame(N))}catch{}};k.onend=()=>{try{g.current&&(cancelAnimationFrame(g.current),g.current=null),i(1),l("stopped");try{m.current?.()}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{}},k.onstart=()=>{try{g.current&&(cancelAnimationFrame(g.current),g.current=null),g.current=requestAnimationFrame(N)}catch{}};try{v.speak(k)}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}},[e,n,a,u,r,o,i,l,c,h,p,m]),w=s.useCallback(()=>{try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}g.current&&(cancelAnimationFrame(g.current),g.current=null),d(),b.current=null}catch{}l("stopped"),c("active"),i(0)},[d,l,c,i]);return{startTTS:y,stopTTS:w}}async function Nb(e,n,a){let r=null;try{const o=window.AudioContext||window.webkitAudioContext;r=new o;const i=await r.decodeAudioData(e.slice(0)),l=i.numberOfChannels>0?i.getChannelData(0):null;if(!l)return null;const c=a&&a>0?Math.min(l.length,Math.floor(a*i.sampleRate)):l.length,u=Math.max(n,c),d=Math.floor(u/n)||1;return new Array(n).fill(0).map((h,p)=>{const m=p*d,b=Math.min(m+d,u);let f=0;for(let g=m;g<b;g++){const C=Math.abs(l[g]);C>f&&(f=C)}return f})}catch{return null}finally{try{r?.close?.()}catch{}}}async function Nl(e,n,a){try{const r=await fetch(e);if(r.ok===!1)return null;const o=await r.arrayBuffer();return await Nb(o,n,a)}catch(r){try{const o=cs(r)}catch{}return null}}const Bl=45,Bb=74,Db=2;function ua(e){const n=Math.min(2,Math.max(0,Number(e)||0));return n<=1?n*45:45+(n-1)*29}function Fr(e){return ua(e)/45}const Dl=4;function Sb(e){const{src:n,segments:a,progress:r=0,waveProgressRef:o,noiseSrc:i,noiseRatio:l=0,noiseSpeed:c=1,totalDuration:u=0,mainVolume:d=1,onReadyChange:h,showSoundWaveForm:p=!0}=e,m=s.useRef(null),b=s.useRef(null),[f,g]=s.useState(null),[C,y]=s.useState(!1),[w,_]=s.useState(null),[v,A]=s.useState(2),[x,k]=s.useState(0),[T,N]=s.useState(null),[D,F]=s.useState(!1),R=3,S=3,z=1,$=300,ee=s.useRef(0),E=s.useCallback(async(ue,be)=>{const ve=++ee.current,Ce=()=>ee.current===ve;try{if(y(!1),!ue){Ce()&&g(null);return}let O=be;if(!O)try{for(let Ne=0;Ne<4&&!(m.current||b.current);Ne++)await new Promise(Be=>requestAnimationFrame(Be));await new Promise(Ne=>requestAnimationFrame(Ne));const ce=m.current,ke=b&&b.current?b.current:ce?ce.closest(".audio-player__wave"):null,_e=ke?ke.getBoundingClientRect():ce?ce.getBoundingClientRect():null,de=_e?Math.max(100,_e.width):320,J=_e?_e.height:0;J>0&&k(J),O=Math.max(z,Math.min($,Math.floor((de+S)/(R+S))));const ne=O*R,Ae=Math.max(0,O-1),le=Ae>0?(de-ne)/Ae:S;A(Math.max(0,le))}catch{O=120}const te=await Nl(ue,O);if(!Ce())return;if(!te){g(null),y(!1);return}g(te),_(O),y(!0)}catch{if(!Ce())return;g(null),y(!1)}},[y,g,k,A,_]);s.useEffect(()=>{const ue=a&&a[0]&&a[0].src||n||a&&a.length===1&&a[0]&&a[0].src;E(typeof ue=="string"?ue:void 0).catch(()=>{}),F(!1)},[n,a,E]),s.useEffect(()=>{let ue=!1;if(!i||!w){N(null);return}const be=u>0?u*(c||1):void 0;return Nl(i,w,be).then(ve=>{ue||N(ve)}).catch(()=>{ue||N(null)}),()=>{ue=!0}},[i,w,u,c]);const H=Math.max(0,Math.min(1,d)),X=s.useMemo(()=>f&&f.length&&Math.max(...f)||1,[f]),q=w||40,M=s.useMemo(()=>Array.from({length:q}).map((ue,be)=>{const ve=f&&f[be]!=null?f[be]:null,Ce=ve==null?null:Math.min(1,ve/X*H),O=Ce!=null&&x>0&&ua(Ce)<=Dl,te=Ce==null?.15:O?0:Fr(Ce),ce=q>1?be/(q-1):0;return t.jsx("div",{className:O?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":te,"--i":be,"--mix":ce}},be)}),[q,f,X,H,x]),j={"--progress":String(Math.max(0,Math.min(1,r)))},L=i?Math.max(1,l):1,P={"--bar-gap":`${v}px`,"--wave-h":`${ua(L)}px`,"--wave-h1":`${Bl}px`},G=H*Math.max(0,l)/Qo(),I=C&&(i?!!T:!0);s.useEffect(()=>{I&&F(!0)},[I]);const K=D?C:I;s.useEffect(()=>{h?.(K)},[K,h]);const W=w||40,re=s.useMemo(()=>Array.from({length:W}).map((ue,be)=>{const ve=T&&T[be]!=null?T[be]:null,Ce=ve==null?0:ve/X*G,O=x>0&&ua(Ce)<=Dl,te=O?0:Fr(Ce),ce=W>1?be/(W-1):0;return t.jsx("div",{className:O?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":te,"--i":be,"--mix":ce}},be)}),[W,T,X,G,x]);return t.jsxs("div",{className:"audio-player__wave",ref:b,style:P,children:[i&&t.jsx("div",{className:`audio-player__wave-noise ${I?"is-ready":""}`,"aria-hidden":"true",children:re}),p&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${K?"is-ready":""}`,ref:m,children:M}),t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${K?"is-ready":""}`,ref:o,style:j,children:M})]})]})}const jb={idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"};function Or(e,n){return new Promise((a,r)=>{const o=document.createElement("audio");let i=!1;const l=()=>{try{o.src=""}catch{}},c=()=>{if(i)return;i=!0;const d=isFinite(o.duration)&&o.duration||0;l(),a(d)},u=d=>{i||(i=!0,l(),n.rejectOnError?r(new Error(d)):a(0))};o.addEventListener("loadedmetadata",c),o.addEventListener("error",()=>u("audio load failed")),setTimeout(()=>u("audio load timeout"),n.timeoutMs),o.src=e})}const Tb=2e3;function Sl(e,n=Tb){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.addEventListener("canplay",o,{once:!0}),e.addEventListener("error",o,{once:!0}),setTimeout(o,n)})}function Eb({showSoundWaveForm:e,showNoiseWaveForm:n,timeoutMs:a=2500}){const r=s.useRef(!1),o=s.useRef([]),i=s.useCallback(u=>{if(r.current=u,!u||!o.current.length)return;const d=o.current;o.current=[];for(const h of d)h()},[]),l=s.useCallback(()=>{r.current=!1},[]),c=s.useCallback(()=>!e&&!n||r.current?Promise.resolve():new Promise(u=>{const d=setTimeout(u,a);o.current.push(()=>{clearTimeout(d),u()})}),[e,n,a]);return s.useEffect(()=>()=>{const u=o.current;o.current=[];for(const d of u)d()},[]),{onReadyChange:i,waitForReady:c,markNotReady:l}}function Mb(){const e=s.useRef([]),n=s.useCallback(o=>(e.current.push(o),o),[]),a=s.useCallback(o=>{const i=new Set([...o].filter(Boolean));e.current=e.current.filter(l=>{if(i.has(l))return!0;try{URL.revokeObjectURL(l)}catch{}return!1})},[]),r=s.useCallback(()=>{a([])},[a]);return s.useEffect(()=>()=>{for(const o of e.current)try{URL.revokeObjectURL(o)}catch{}e.current=[]},[]),{track:n,keepOnly:a,revokeAll:r}}function Lb({offsetY:e=8}={}){const n=s.useRef(null),[a,r]=s.useState(null),o=s.useCallback(()=>r(null),[]),i=s.useCallback(()=>{try{const l=n.current?.getBoundingClientRect();if(!l)return;r({left:l.left,right:l.right,width:l.width,height:l.height,x:l.x,top:l.top+e,bottom:l.bottom+e,y:l.y+e,toJSON:l.toJSON.bind(l)})}catch{}},[e]);return s.useEffect(()=>{if(a)return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[a,o]),{ref:n,rect:a,show:i,hide:o}}function $b({currentTime:e,sources:n,index:a,audioDuration:r}){const o=a||0,i=Array.isArray(n)&&n.length>0?n[o]:void 0,l=i?i.duration||r||0:r||0;if(!(l>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/l))}function Rb(e,n){if(!Array.isArray(e))return null;const a=n||0;return a<e.length-1?a+1:null}function Pb({ended:e,completedByEnd:n}){return!!e||!!n}function Ib(e){return e.map((n,a)=>({src:n.src,label:String(a+1),color:void 0,duration:n.duration||0}))}function Fb(e){return e.reduce((n,a)=>n+(a.duration||0),0)}function Ob(e,n,a){const r=Array.isArray(e)?e:e?[e]:[],o=[];for(const i of r)if(i){if(typeof i=="object"&&i!==null&&"src"in i&&i.src){const l=i;o.push({code:l.code??null,src:l.src});continue}if(typeof i=="string"&&(i.startsWith("http")||i.includes("/"))){o.push({code:null,src:i});continue}if(typeof i=="string"||typeof i=="number"){const l=String(i),c=a(l,n);c&&o.push({code:l,resolvedPath:c})}}return o}function Hb({audioRef:e,fillRef:n,waveProgressRef:a,sourcesRef:r,currentIndexRef:o}){const i=s.useRef(null),l=s.useCallback(()=>{i.current!==null&&(cancelAnimationFrame(i.current),i.current=null)},[]),c=s.useCallback(()=>{if(i.current!==null)return;const d=()=>{try{const h=e.current,p=$b({currentTime:h&&typeof h.currentTime=="number"?h.currentTime:0,sources:r.current,index:o.current,audioDuration:h&&h.duration?h.duration:0});try{n.current&&(n.current.style.left=`${p*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(p))}catch{}}catch{}i.current=requestAnimationFrame(d)};i.current=requestAnimationFrame(d)},[e,n,a,r,o]),u=s.useCallback(d=>{l();try{n.current&&(n.current.style.left=`${d*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(d))}catch{}},[l,n,a]);return s.useEffect(()=>l,[l]),{start:c,stop:l,settleTo:u}}function Hr({btnLabel:e,soundSrc:n,bucketPath:a,onDone:r,disabled:o=!1,ttsText:i=null,className:l,showSoundWaveForm:c=!0,showNoiseWaveForm:u=!0}){const{t:d}=fe.useTranslation(),h=e,p=Sa(),m=s.useRef(p?.registerAnalyser);s.useEffect(()=>{m.current=p?.registerAnalyser});const b=s.useRef(null),f=s.useRef(null),g=s.useRef(null),C=Mb(),y=s.useRef(null),w=s.useRef(!1),_=s.useRef(0),v=s.useRef(null),{ref:A,rect:x,show:k,hide:T}=Lb();s.useEffect(()=>()=>{m.current?.("main",null),m.current?.("noise",null)},[]);const[N,D]=s.useState(!1),[F,R]=s.useState("idle"),[S,z]=s.useState("stopped"),$=s.useRef("stopped");s.useEffect(()=>{$.current=S},[S]);const[ee,E]=s.useState(0),[H,X]=s.useState("active"),[q,M]=s.useState(null),[j,L]=s.useState(null),[P,G]=s.useState(0),[I,K]=s.useState(!1),[W,re]=s.useState(0),ue=p?.playbackRate??1,be=p?.mainVolume??1,ve=p?$r(p.settings):0,Ce=p?kl(p.settings):be,[O,te]=s.useState("idle"),[ce,ke]=s.useState(""),[_e]=s.useState("top"),de=s.useRef(null),J=s.useRef(0),ne=s.useRef(null),{start:Ae,stop:le,settleTo:Ne}=Hb({audioRef:b,fillRef:f,waveProgressRef:ne,sourcesRef:de,currentIndexRef:J}),{onReadyChange:Be,waitForReady:Re,markNotReady:Oe}=Eb({showSoundWaveForm:c,showNoiseWaveForm:u}),Se=s.useRef(null),Ue=s.useRef(o),We=s.useRef(r),me=s.useRef(null),Le=s.useRef(!1),[Te,Fe]=s.useState(!1),Me=s.useCallback(V=>{Le.current=V,Fe(V)},[]),He=s.useRef(null),{activeNoiseUrl:Ze,noiseSettingsRef:pt,fadeInNoise:Ke,fadeOutNoise:Ve}=kb({noisePlayer:p,audioRef:b,playbackStateRef:$}),{startTTS:ct,stopTTS:nt}=Ab({ttsText:i,playbackRate:ue,mainVolume:Ce,fillRef:f,waveProgressRef:ne,setProgress:E,setPlaybackState:z,setStateLocal:X,fadeInNoise:Ke,fadeOutNoise:Ve,noiseSettingsRef:pt,onDoneRef:We,handleEndRef:He}),je=Array.isArray(n)?n.filter(Boolean):n?[n]:[],Qe=(!je||je.length===0)&&!!i,Pe=Array.isArray(q)&&q.length>0?q:Array.isArray(j)&&j.length>0?j:null,Ye=Math.max(Array.isArray(Pe)?Pe.length:0,je.length),ut=s.useRef(!0);s.useEffect(()=>(ut.current=!0,()=>{ut.current=!1}),[]);const et=s.useCallback(async(V,Q=3,he=50)=>{for(let ye=0;ye<Q;ye++){if(!ut.current)return!1;try{return await V.play(),!0}catch(Y){if((Y instanceof Error||typeof Y=="object"&&Y&&"name"in Y?Y.name:void 0)==="AbortError"){await new Promise(ae=>setTimeout(ae,he));continue}try{ke(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}}try{ke(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[d]),it=s.useCallback(()=>{const V=b.current;if(!V)return;const Q=()=>{z("playing"),X("playMode"),K(!0),Ae();try{Xa(),ma(V).then(ae=>{try{m.current?.("main",ae)}catch{}})}catch{}const Y=pt.current;Y?.enabled&&(Y?.volume??0)>0&&Ke(Y.volume)},he=()=>{Pb({ended:!!V?.ended,completedByEnd:Le.current})||(z("paused"),le(),Ve())},ye=()=>{try{const Y=de.current,ae=Rb(Y,J.current);if(ae!==null){J.current=ae,G(ae),K(!0);const $e=Y?.[ae]&&Y[ae].src;if($e&&V){V.src=$e,V.load(),et(V).catch(()=>{});return}}}catch{}z("stopped"),E(1);try{if(V)try{V.currentTime=0}catch{}}catch{}le(),K(!1),Ve();try{!Ue.current&&He.current&&He.current()}catch{}};return V.addEventListener("play",Q),V.addEventListener("pause",he),V.addEventListener("ended",ye),()=>{try{V.removeEventListener("play",Q),V.removeEventListener("pause",he),V.removeEventListener("ended",ye),le()}catch{}}},[Ke,Ve,et,pt,Ae,le]);s.useEffect(()=>it(),[it]),s.useEffect(()=>{Ue.current=o},[o]),s.useEffect(()=>{We.current=r},[r]),s.useEffect(()=>{if(o||H!=="active")return;const V=v.current;if(!V)return;let Q=null;const he=requestAnimationFrame(()=>{try{const ye=V.getTotalLength();if(!ye)return;const Y=ye*.2;V.style.strokeDasharray=`${ye-Y} ${Y}`;const ae="triFlow_"+Math.random().toString(36).slice(2);Q=document.createElement("style"),Q.textContent=`@keyframes ${ae}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${ye}}}`,document.head.appendChild(Q),V.style.animation=`${ae} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(he),Q?.remove()}},[H,o]),s.useEffect(()=>{de.current=q},[q]),s.useEffect(()=>{J.current=P},[P]),s.useEffect(()=>{const V=g.current,Q=y.current;if(!V||!Q)return;let he=null;const ye=32,Y=60,ae=()=>{try{const Xe=Array.from(V.querySelectorAll(":scope > .button"));let Ge=0;Xe.forEach($t=>{if($t===Q)return;const Rt=$t.getBoundingClientRect();Ge+=Rt.width});const ht=V.getBoundingClientRect().width,_t=Math.max(0,Math.floor(ht-Ge-8)),St=Ye;if(!St||_t<=0){Array.from(Q.children).forEach($t=>{try{$t.style.width=""}catch{}});return}let wt=Math.floor(_t/St);wt>Y&&(wt=Y),wt<ye&&(wt=Math.max(ye,Math.floor(_t/St))),Array.from(Q.querySelectorAll(".button")).forEach($t=>{try{$t.style.width=`${wt}px`}catch{}})}catch{}},$e=requestAnimationFrame(ae);try{he=new ResizeObserver(()=>{requestAnimationFrame(ae)}),he.observe(V),he.observe(Q),window.addEventListener("resize",ae)}catch{}return()=>{try{cancelAnimationFrame($e)}catch{}try{he&&(he.disconnect(),he=null)}catch{}try{window.removeEventListener("resize",ae)}catch{}}},[q,j,Ye]),s.useEffect(()=>()=>{try{Se.current&&(clearTimeout(Se.current),Se.current=null),me.current&&(clearTimeout(me.current),me.current=null)}catch{}},[]);const tt=(V,Q)=>{M(V),re(Q),Oe(),L(Ib(V)),de.current=V},Bt=async(V,Q)=>{Me(!1),w.current=!1,V.src=Q,V.load(),await Sl(V),await Re(),D(!1),await et(V),X("playMode"),G(0),K(!0)},Yt=async(V,Q=!1)=>{const he=b.current;D(!0),R("measuring_duration");try{const ye=await Or(V,{timeoutMs:1e4,rejectOnError:!0});tt([{src:V,objectUrl:null,duration:ye}],ye),R("ready"),Q&&he&&await Bt(he,V)}finally{w.current=!1,D(!1)}},ft=async(V,Q=!1)=>{const he=b.current;D(!0),R("measuring_duration");try{const ye=await Promise.all(V.map(ae=>Or(ae,{timeoutMs:1e4}))),Y=V.map((ae,$e)=>({src:ae,objectUrl:null,duration:ye[$e]||0}));tt(Y,Fb(Y)),R("ready"),Q&&he&&Y.length>0&&await Bt(he,Y[0].src)}finally{w.current=!1,D(!1)}},Xt=async(V=!1,Q=!0)=>{const he=b.current,ye=n?Array.isArray(n)?n:[n]:[];if(!ye||ye.length===0||!ye.some(Boolean))return!1;if(w.current)return null;w.current=!0,Q&&D(!0),R("resolving");try{const Y=Ob(n,a,Yo),ae=[];let $e=0;for(const Xe of Y){let Ge=Xe.src??null,ht=null;if(!Ge&&Xe.resolvedPath){try{R("getting_signed_url"),Ge=await Xo(Xe.resolvedPath)}catch{Ge=null}if(!Ge)try{R("downloading");const St=await Jo(Xe.resolvedPath);if(St){const wt=St instanceof Blob?St:new Blob([St]);ht=C.track(URL.createObjectURL(wt)),Ge=ht}}catch{R("error");try{ke(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),X("active")}catch{}}}if(!Ge)continue;let _t=0;try{R("measuring_duration"),_t=await Or(Ge,{timeoutMs:3e3})}catch{_t=0}$e+=_t||0,ae.push({...Xe,src:Ge,objectUrl:ht,duration:_t})}if(tt(ae,$e),ae.length>0&&V&&he){const Xe=ae[0];Me(!1);try{C.keepOnly(ae.map(Ge=>Ge.objectUrl))}catch{}if(R("ready"),w.current=!1,Xe.src&&he)try{he.src=Xe.src,he.load(),await Sl(he),await Re(),Q&&D(!1),he&&await et(he)}catch{Q&&D(!1)}else Q&&D(!1);X("playMode"),G(0),K(!0)}return ae.length>0}finally{w.current=!1,Q&&D(!1),R(Y=>Y==="ready"?"ready":"idle")}},Et=async()=>{const V=b.current;if(!(!V&&!Qe)){if(Qe){const Q=window.speechSynthesis;if(H==="active"){const he=Ka(),ye=Array.isArray(i)?i.filter(Boolean):i?[i]:[];if(he&&ye.length>0){X("load"),D(!0),R("resolving"),w.current=!0;try{const Y=await Promise.all(ye.map(ae=>Promise.resolve(he(ae))));Y.length>1?await ft(Y,!0):await Yt(Y[0],!0)}catch{w.current=!1,D(!1),X("active"),ct(ye[0]||void 0)}return}ct(ye[0]||void 0);return}if(H==="playMode"){if(V){if(V.paused){if(Le.current){await Mt();return}await et(V),z("playing")}else V.pause(),z("paused");return}try{if(Q&&Q.paused)try{Q.resume(),z("playing")}catch{}else try{Q.pause(),z("paused")}catch{}}catch{}}return}if(H==="active"){if(o&&Array.isArray(de.current)&&de.current.length>0){const Q=de.current[0];try{if(Q.src&&V)try{V.src=Q.src,V.load(),V&&await et(V)}catch{}X("playMode"),G(0),K(!0);return}catch{}}if(X("load"),await Xt(!0)===!1&&ut.current){try{ke(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}X("active")}return}if(H!=="load"&&(H==="playMode"||H==="active"))try{if(V&&V.paused){if(Le.current){await Mt();return}V&&await et(V),z("playing")}else V&&(V.pause(),z("paused"))}catch(Q){(Q instanceof Error||typeof Q=="object"&&Q&&"name"in Q)&&Q.name}}},Mt=async()=>{const V=b.current;if(V)try{const Q=de.current;if(Array.isArray(Q)&&Q.length>1){await qe(0);return}Me(!1);try{V.currentTime=0}catch{}V&&await et(V),z("playing"),X("playMode")}catch{}},Jt=()=>{if(Qe){nt();return}const V=b.current;try{if(V){try{V.pause()}catch{}try{V.currentTime=0}catch{}}}catch{}Ve(),z("stopped"),X("active"),E(0),K(!1)},vt=async(V,{sameSegment:Q=!1}={})=>{const he=++_.current,ye=b.current,Y=de.current?.[V]?.src;try{if(Me(!1),G(V),K(!0),J.current=V,!Y||!ye||(Q||Oe(),ye.src=Y,ye.load(),Q||await Re(),he!==_.current)||(await et(ye),he!==_.current))return;z("playing"),X("playMode")}catch{}},bn=async()=>{const V=de.current,Q=J.current||0;if(!V||Q<=0){await Mt();return}await vt(Q-1)},Ft=async()=>{const V=de.current,Q=J.current||0;if(!V||Q>=V.length-1){Jt();return}await vt(Q+1)},Ut=()=>{if(Le.current)return;const V=200,Q=340;Me(!0);try{E(1)}catch{}Ne(1);try{te("hold")}catch{}try{const he=b.current,ye=Qe&&!!he?.src;if(!Qe||ye){if(he){he.pause();try{he.currentTime=0}catch{}}}else nt();Ve()}catch{}try{z("stopped")}catch{}if(K(!1),!Ue.current)try{me.current&&(clearTimeout(me.current),me.current=null),me.current=setTimeout(()=>{try{te("out")}catch{}me.current=setTimeout(()=>{try{typeof We.current=="function"&&We.current(!0)}catch{}try{te("idle")}catch{}me.current=null},Q)},V)}catch{}};s.useEffect(()=>{He.current=Ut});const yn=s.useCallback(()=>ke(""),[]),qe=async V=>{(de.current||[])[V]&&await vt(V,{sameSegment:V===J.current})},xt=S==="playing",Dt=s.useMemo(()=>{if(!j||j.length<=1)return j;const V=j[P];return V?[V]:j},[j,P]),Qt=o===!0;s.useEffect(()=>{try{const V=b.current;V&&typeof V.playbackRate=="number"&&(V.playbackRate=ue||1)}catch{}},[ue]);const en=s.useRef({raf:null,timer:null});s.useEffect(()=>{const V=b.current;if(!V)return;const Q=Math.max(0,Math.min(1,Ce)),he=en.current,ye=()=>{he.raf!==null&&(cancelAnimationFrame(he.raf),he.raf=null),he.timer!==null&&(clearTimeout(he.timer),he.timer=null)};ye();const Y=fa(V);if(V.paused||Math.abs(Y-Q)<.001||typeof requestAnimationFrame!="function"){try{dn(V,Q)}catch{}return}const ae=performance.now(),$e=()=>{const Xe=Math.min(1,(performance.now()-ae)/150);try{dn(V,Y+(Q-Y)*Xe)}catch{}he.raf=Xe<1?requestAnimationFrame($e):null};return he.raf=requestAnimationFrame($e),he.timer=setTimeout(()=>{ye();try{dn(V,Q)}catch{}},200),ye},[Ce]);const Lt=O==="hold",Ot=O==="out",tn=H==="playMode"&&!N&&!Te||Lt||Ot,Ht=S!=="stopped"||Lt||Ot,Gt=S==="paused",oe=Math.max(0,Math.min(100,(ee||0)*100)),ge=xe("audio-player__fill",tn?"is-visible":"",Ht?"is-expanded":"",Gt?"is-paused":"",Ot?"is-out":"");return t.jsxs("div",{className:`audio-player ${Qt?"is-disabled":""}${l?` ${l}`:""}`,role:"group","aria-label":typeof h=="string"?h:void 0,children:[t.jsxs("div",{className:`audio-player__panel ${xt?"is-playing":""} ${N?"is-loading":""} ${H!=="default"?"is-revealed":""}`,children:[N?t.jsxs("div",{className:"audio-player__loading",role:"status","aria-live":"polite",children:[t.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),t.jsx("span",{className:"audio-player__loading-text",children:jb[F]})]}):null,H==="active"?t.jsx("button",{className:"audio-player__button",type:"button",onClick:()=>{T(),Et()},"aria-label":typeof h=="string"?h:d("training.listen","\uB4E3\uAE30"),onMouseEnter:k,onMouseLeave:T,onFocus:k,onBlur:T,children:t.jsx("span",{ref:A,className:"audio-player__button-triangle-wrap",children:t.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{ref:v,d:"M13.2 7.7 L16.5 9.85 Q20.2 12 16.5 14.15 L10 18.3 Q7 19.7 7 16.3 L7 7.7 Q7 4.3 10 5.7 L13.2 7.7"})})})}):null,x&&t.jsx(hn,{anchorRect:x,text:typeof h=="string"&&h?h:d("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),t.jsxs("div",{className:`audio-player__play ${H==="playMode"||xt?"is-visible":""}`,children:[t.jsxs("div",{ref:g,className:"audio-player__buttons",children:[t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:bn,ariaLabel:d("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:H!=="playMode"}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:xt?"pause":"play",onClick:Et,ariaLabel:d("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),width:"60px",variant:"transparent-white",disabled:H!=="playMode"}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Jt,ariaLabel:d("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:H!=="playMode"}),Ye>1?t.jsx("div",{ref:y,className:"audio-player__source-buttons",children:Array.from({length:Ye}).map((V,Q)=>t.jsx(se,{htmlType:"button",size:32,type:"dot",shape:"pill",useBorder:!1,label:String(Q+1),onClick:()=>{try{qe(Q)}catch{}},ariaLabel:d("training.sourcePlay",{n:Q+1}),variant:"transparent-white",selected:I&&P===Q,disabled:H!=="playMode"||!(Array.isArray(q)&&q[Q]),showTooltipInfo:!0},Q))}):null,!Array.isArray(q)||q.length<=1?t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Mt,ariaLabel:d("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:H!=="playMode"}):null,t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:Ft,ariaLabel:d("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:H!=="playMode"}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:Ut,ariaLabel:d("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:H!=="playMode"})]}),t.jsxs("div",{className:"audio-player__slider",children:[t.jsx("div",{className:ge,ref:f,style:{left:`${oe}%`},"aria-hidden":"true"}),(c||u)&&t.jsx(Sb,{segments:Dt,progress:ee,totalDuration:W,onSegmentClick:qe,waveProgressRef:ne,showSoundWaveForm:c,noiseSrc:u&&p?.settings.enabled&&ve>0?Ze:null,noiseRatio:p?ia(p.settings):0,noiseSpeed:p?.settings.speed??1,mainVolume:be,onReadyChange:Be})]})]}),t.jsx("audio",{ref:b,crossOrigin:"anonymous",preload:"auto"})]}),!c&&t.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[t.jsx(Ie,{icon:"triangle-alert",size:14}),d("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),t.jsx($n,{message:ce,position:_e,onClose:yn})]})}function Ta(e){const{t:n}=fe.useTranslation(),{text:a,label:r,anchorRect:o=null,onClose:i,closeOnOutsideClick:l=!0,isMobilePopup:c=!1}=e||{},[u,d]=s.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});s.useEffect(()=>{try{localStorage.setItem("tooltip-theme",u)}catch{}},[u]);const{increase:h,decrease:p,canIncrease:m,canDecrease:b,fontSize:f,lineHeight:g}=Zs({storageKey:"tooltip-fontScale"}),C=s.useCallback(()=>d(A=>A==="dark"?"light":"dark"),[]),y=s.useCallback(A=>{try{A.stopPropagation()}catch{}try{typeof i=="function"&&i()}catch{}},[i]),w=Array.isArray(a)?a:typeof a>"u"||a===null?[]:[a],_={fontSize:`${f}px`,lineHeight:`${g}px`,"--tt-line-height":`${g}px`,"--tt-marker-size":"28px"},v=t.jsxs("div",{className:`tooltip-textbox__root ${u==="dark"?"is-dark":""}`,children:[t.jsxs("div",{className:"tooltip-textbox__box",children:[r&&t.jsx("div",{className:"tooltip-textbox__label body-2b",children:r}),t.jsx("div",{className:"tooltip-textbox__text body-1",style:_,children:w.map((A,x)=>t.jsxs("div",{className:"tooltip-textbox__line",children:[w.length>1?t.jsx("div",{className:"tooltip-textbox__marker",children:t.jsx("span",{className:"tooltip-textbox__line-number button-1",children:x+1})}):null,t.jsx("span",{className:"tooltip-textbox__line-text",children:A})]},x))})]}),t.jsxs("div",{className:"tooltip-textbox__buttons",children:[t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:p,ariaLabel:n("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!b}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:h,ariaLabel:n("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!m}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:u==="dark"?"moon":"sun-medium",onClick:C,ariaLabel:n("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:u==="dark"?"transparent-white":"transparent-gray"}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:y,ariaLabel:n("common.close","\uB2EB\uAE30"),variant:u==="dark"?"transparent-white":"transparent-gray"})]})]});return o?t.jsx(pn,{anchorRect:o,className:`tooltip-textbox ${u==="dark"?"is-dark":""}`,onClose:i,closeOnOutsideClick:l,isMobilePopup:c,ariaLabel:r||n("tooltip.textbox","\uBCF8\uBB38"),children:v}):t.jsx("div",{className:`tooltip-textbox ${u==="dark"?"is-dark":""}`,children:v})}function jl({state:e="disabled"}){const{t:n}=fe.useTranslation();return t.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[t.jsx("div",{className:"bullet__dot",children:t.jsx(Ie,{icon:"chevron-right",label:n("training.next","\uB2E4\uC74C"),className:"bullet__icon",imgClassName:"bullet__icon-img",maskClassName:"bullet__icon-mask",svgClassName:"bullet__icon-svg",wrapperStyle:{},size:20})}),t.jsx("div",{className:"ts-bullet__line"})]})}function Tl({title:e,children:n,className:a="",state:r="disabled",usePreviewTextBtn:o=!1,onPreviewTextBtn:i,previewText:l=null,useFaded:c,usePlayAllBtn:u=!1,onPlayAll:d,playAllActive:h=!1}){const{t:p}=fe.useTranslation(),m=Kt("(max-width: 767px)"),b=`training-step__title h4 ${c&&r==="disabled"?"training-step__title--faded":""} ${a}`.trim(),f=`training-step__title-row training-step__title-row--${r}`.trim(),g=s.useRef(null),[C,y]=s.useState(!1),[w,_]=s.useState(null),[v,A]=s.useState(null),x=s.useRef(i);s.useEffect(()=>{x.current=i});const k=s.useMemo(()=>l==null?"":typeof l=="string"||typeof l=="number"?String(l):Array.isArray(l)&&l.every(D=>typeof D=="string"||typeof D=="number")?l.join(""):"",[l]),T=s.useCallback(()=>{y(!1),_(null),A(null)},[]);s.useEffect(()=>{if(!C)return;let D;try{typeof x.current=="function"&&(D=x.current())}catch{}if(D===!1){T();return}A(typeof D<"u"&&D!==null?D:null)},[k]);const N=s.useCallback(()=>{let D;try{typeof i=="function"&&(D=i())}catch{}if(D!==!1){if(A(typeof D<"u"&&D!==null?D:l),!g.current){y(F=>!F);return}if(C)y(!1),_(null),A(null);else{const F=g.current.getBoundingClientRect();_(F),y(!0)}}},[i,l,C]);return t.jsxs("div",{className:f,children:[t.jsx("p",{className:b,children:t.jsx("span",{className:"training-step__title-text",children:e??n})}),o||u?t.jsxs("div",{className:"title-controls",children:[t.jsxs("div",{className:"title-buttons",children:[u&&t.jsx(se,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"play-circle",label:m?void 0:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:h,onClick:d,variant:r==="disabled"?"disabled":"default",disabled:r==="disabled"||h}),o&&t.jsx("div",{ref:g,children:t.jsx(se,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"eye",label:m?void 0:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),selected:C,onClick:N,variant:r==="disabled"?"disabled":"default",disabled:!l&&typeof i!="function"})})]}),C&&t.jsx(Ta,{text:v??l,label:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:w,onClose:T,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function Vr(e,n){return typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled"}function Dn({index:e,stepIndex:n,isLast:a=!1,title:r="",titleProps:o={},children:i,className:l="",onDone:c=void 0,useTitleFaded:u=void 0}){const{t:d}=fe.useTranslation(),[h,p]=s.useState(()=>Vr(e,n));s.useEffect(()=>{const A=Vr(e,n);if(A!==h){const x=setTimeout(()=>p(A),0);return()=>clearTimeout(x)}},[e,n,h]);const m=s.useCallback((...A)=>{Vr(e,n)==="done"||h==="done"||typeof c=="function"&&c(...A)},[e,n,h,c]),[b,f]=s.useState(!1),[g,C]=s.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),y=s.useCallback(A=>{if(!A)return null;try{const x=A;if(typeof A=="object"&&(x.currentTarget||x.target)&&(x.nativeEvent||x.type)){const N=x.currentTarget??x.target;if(N&&typeof N.getBoundingClientRect=="function")return N.getBoundingClientRect()}if(A instanceof DOMRect)return A;const k=A;if(k&&typeof k.getBoundingClientRect=="function")return k.getBoundingClientRect();const T=A?.current;return T&&typeof T.getBoundingClientRect=="function"?T.getBoundingClientRect():null}catch{return null}},[]),w=s.useCallback((A,{text:x="",label:k="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:T=!1,alignX:N="center",alignY:D="top"}={})=>{const F=y(A);C({text:x,label:k,anchorRect:F,backdrop:T,alignX:N,alignY:D}),f(!0)},[y]),_=s.useCallback(()=>{f(!1),C(A=>({...A,anchorRect:null}))},[]),v=s.Children.map(i,A=>{if(s.isValidElement(A)){const x=A;if(typeof x.type=="string")return x;const k=x.props??{},T=typeof k.onDone=="function"?k.onDone:m,N=typeof k.disabled=="boolean";let D=h==="disabled";return N&&(D=!!k.disabled),s.cloneElement(x,{onDone:T,disabled:D,showTooltip:w,hideTooltip:_})}return A});return t.jsxs("div",{className:`training-step training-step--${h} ${a?"training-step--last":""} ${l}`,"aria-current":h==="active",children:[t.jsx(jl,{state:h}),t.jsxs("div",{className:"training-step__content",children:[t.jsx(Tl,{state:h,title:r,...o,useFaded:u}),v]}),b?t.jsx(pn,{anchorRect:g.anchorRect,backdrop:g.backdrop,onClose:_,ariaLabel:d("tooltip.textbox","\uBCF8\uBB38"),children:t.jsx(Ta,{text:g.text,onClose:_})}):null]})}function El({context:e,state:n="disabled",theme:a="light"}){const{t:r}=fe.useTranslation(),[o,i]=s.useState("disabled"),[l,c]=s.useState(()=>{try{return localStorage.getItem("tooltip-theme")||a}catch{return a}});s.useEffect(()=>{try{localStorage.setItem("tooltip-theme",l)}catch{}},[l]);const u=()=>c(N=>N==="dark"?"light":"dark"),{increase:d,decrease:h,canIncrease:p,canDecrease:m,fontSize:b,lineHeight:f}=Zs({storageKey:"textbox_fontScale"}),[g,C]=s.useState(""),y=s.useCallback(()=>i("active"),[]),w=s.useCallback(()=>C(""),[]),_=N=>{try{C(N)}catch{}},v=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");s.useEffect(()=>{if(n!=="disabled"){const N=setTimeout(()=>i(n),0);return()=>clearTimeout(N)}},[n]);const A=s.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]);s.useEffect(()=>{const N=setTimeout(()=>i("disabled"),0);return()=>clearTimeout(N)},[A]);const x=n==="disabled"?o:n,k=x==="disabled"?"training-text-box--disabled":x==="active"?"training-text-box--active":x==="done"?"training-text-box--done":"",T=s.useMemo(()=>({fontSize:`${b}px`,lineHeight:`${f}px`}),[b,f]);return t.jsxs("div",{className:`training-text-box ${k} ${x!=="disabled"&&l==="dark"?"is-dark":""}`,children:[x==="disabled"&&t.jsx("div",{className:"training-text-box__preview",children:t.jsx(se,{htmlType:"button",size:48,type:"bar",onClick:y,icon:"eye",ariaLabel:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),t.jsx("div",{className:"training-text-box__area","aria-hidden":x==="disabled",children:t.jsx("span",{className:"training-text-box__inner h3",style:T,children:A})}),x!=="disabled"&&t.jsxs("div",{className:"training-text-box__buttons","aria-hidden":x==="disabled",children:[t.jsx(se,{size:32,type:"dot",onClick:h,onDisabledClick:()=>_(r("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!m,useBorder:!1,showTooltipInfo:!0,...!v&&{width:"60px"}}),t.jsx(se,{size:32,type:"dot",onClick:d,onDisabledClick:()=>_(r("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!p,useBorder:!1,showTooltipInfo:!0,...!v&&{width:"60px"}}),t.jsx(se,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:l==="dark"?"moon":"sun-medium",onClick:u,ariaLabel:r("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:l==="dark"?"transparent-white":"transparent-gray"})]}),t.jsx($n,{message:g,position:"top",onClose:w})]})}function zr({index:e,stepIndex:n,isLast:a=!1,title:r,useTitleFaded:o,onDone:i,onChange:l,answer:c,wrongAnswers:u,choices:d,multiSelect:h=!1,correctCount:p=0,useDisabledCovered:m=!1,choiceIcons:b,shuffleChoices:f=!0}){const{t:g}=fe.useTranslation(),C=r??g("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),y=typeof e=="number"?e:-1,w=typeof n!="number"?"disabled":y<n?"done":y===n?"active":"disabled",_=Array.isArray(d)&&d.length?d:typeof c<"u"?[c].concat(Array.isArray(u)?u:[]):void 0,v=u?u.join("||"):"",A=d?d.join("||"):"",[x,k]=s.useState(()=>Array.isArray(_)?f?Yn(_):_.slice():void 0);s.useEffect(()=>{Array.isArray(_)&&_.length?k(f?Yn(_):_.slice()):k(void 0)},[c,v,A,f]);const[T,N]=s.useState(null),[D,F]=s.useState(()=>new Set);s.useEffect(()=>{N(null),F(new Set)},[A]);const R=s.useRef(void 0);s.useEffect(()=>{const $=R.current;typeof $=="number"&&typeof n=="number"&&typeof e=="number"&&$>=e&&n<e&&(N(null),F(new Set)),R.current=n},[n,e]);const S=s.useCallback($=>{if(w!=="active")return;const ee=x?.[$];if(ee==null)return;const E=ee,H=w==="active"||w==="done";if(h){const X=new Set(D),q=X.has(E);q?X.delete(E):X.add(E),F(X),typeof l=="function"&&l({selectedValues:[...X],__ts:Date.now()}),H&&(typeof p=="number"&&p>0?X.size>=p:!q)&&typeof i=="function"&&w==="active"&&i({selectedValues:[...X],__ts:Date.now()})}else N(E),typeof l=="function"&&l({selectedIndex:$,selectedValue:E,__ts:Date.now()}),H&&typeof i=="function"&&w==="active"&&i({selectedIndex:$,selectedValue:E,__ts:Date.now()})},[x,w,h,l,i,p,D]),z=`training-step__buttons${Array.isArray(x)&&x.length>3?" training-step__buttons--wrap-3":""}`;return t.jsx(Dn,{index:e,stepIndex:n,isLast:a,title:C,useTitleFaded:o,children:t.jsx("div",{className:z,children:Array.isArray(x)&&x.length>0?x.map(($,ee)=>t.jsx(se,{htmlType:"button",size:56,type:"bar",onClick:()=>S(ee),ariaLabel:String($),label:$,useLabel:!0,icon:b?b[String($)]:void 0,variant:"default",disabled:w==="disabled",selected:h?D.has($):T===$,useDisabledCovered:m,minWidth:0},String($))):null})})}function Wr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:i,context:l,demoSelected:c}){const{t:u}=fe.useTranslation(),d=r??u("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),h=typeof e=="number"?e:-1,p=typeof n!="number"?"disabled":h<n?"done":h===n?"active":"disabled",m=l&&typeof l=="object"?l.sentence||"":typeof l=="string"?l:"",b=l&&typeof l=="object"?l.choices:void 0,[f,g]=s.useState(c??null),[C,y]=s.useState(m);C!==m&&(y(m),c==null&&g(null));const w=s.useCallback(A=>{const x=typeof A=="object"&&A!==null?Object.assign({},A,{__ts:Date.now()}):{value:A,__ts:Date.now()};typeof i=="function"&&i(x),p==="active"&&typeof o=="function"&&o(x)},[i,p,o]),_=s.useCallback(()=>{p==="active"&&(g(!1),w(!1))},[w,p]),v=s.useCallback(()=>{p==="active"&&(g(!0),w(!0))},[w,p]);return t.jsxs(Dn,{index:e,stepIndex:n,isLast:a,title:d,onDone:o,useTitleFaded:!1,children:[t.jsx(El,{context:l,state:p}),t.jsx("div",{className:"training-step__buttons",children:Array.isArray(b)&&b.length>0?b.slice(0,6).map((A,x)=>t.jsx(se,{htmlType:"button",size:56,type:"bar",onClick:()=>{p==="active"&&(g(x),w&&w(x))},disabled:p==="disabled",ariaLabel:String(A),label:A,variant:p,selected:f===x},x)):t.jsxs(t.Fragment,{children:[t.jsx(se,{htmlType:"button",size:56,type:"bar",onClick:_,disabled:p==="disabled",icon:"x",ariaLabel:u("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:u("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!1}),t.jsx(se,{htmlType:"button",size:56,type:"bar",onClick:v,disabled:p==="disabled",icon:"circle",ariaLabel:u("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:u("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!0})]})})]})}function qr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,btnLabel:i,soundSrc:l,bucketPath:c,usePreviewTextBtn:u,previewText:d=null,onPreviewTextBtn:h,disabled:p,_pageIndex:m,showSoundWaveForm:b,showNoiseWaveForm:f}){const{t:g}=fe.useTranslation(),C=r??g("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),y=p??(typeof n=="number"&&typeof e=="number"?e>n:!1);return t.jsx(Dn,{index:e,stepIndex:n,isLast:a,title:C,onDone:o,titleProps:{usePreviewTextBtn:u,previewText:d,onPreviewTextBtn:h},children:t.jsx(Hr,{soundSrc:l,ttsText:l?null:d??C,bucketPath:c,btnLabel:i||g("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:y,className:"training-step__listen-sticky",showSoundWaveForm:b,showNoiseWaveForm:f},`audio-p${m??0}-s${e}`)})}function Ur({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:i,context:l=[]}){const{t:c}=fe.useTranslation(),u=r??c("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),d=M=>typeof M=="string"?M:M&&(M.context||M.sentence||M.question||"")||"",[h,p]=s.useState(Array.isArray(l)?l:[]),[m,b]=s.useState(()=>(h||[]).map((M,j)=>({id:j,text:d(M)}))),f=s.useMemo(()=>typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled",[n,e]);s.useEffect(()=>{const M=Array.isArray(l)?l:[];p(M);const j=(L=>{const P=(L||[]).map((W,re)=>({id:re,text:d(W)}));if(P.length<=1)return P;const G=(W,re)=>{if(W.length!==re.length)return!1;for(let ue=0;ue<W.length;ue++)if(W[ue].text!==re[ue].text)return!1;return!0};let I=Yn(P),K=0;for(;G(I,P)&&K<20;)I=Yn(P),K+=1;return I})(M);b(j);try{if(typeof i=="function"){const L=j.filter((P,G)=>P.text===d(M[G])).length;i({shuffled:j,score:L,total:(M||[]).length,initial:!0,__ts:Date.now()})}if(typeof o=="function"&&f==="active"){const L=j.filter((P,G)=>P.text===d(M[G])).length;o({shuffled:j,score:L,total:(M||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[l]);const g=(M,j)=>{const L=[...m],P=M+j;if(P<0||P>=L.length)return;const G=L[P];L[P]=L[M],L[M]=G,z(L);try{if(typeof o=="function"&&f==="active"){const I=L.filter((K,W)=>K.text===d(h[W])).length;o({shuffled:L,score:I,total:(h||[]).length,__ts:Date.now()})}}catch{}},[C,y]=s.useState(null),w=s.useRef(null),_=s.useRef(null),v=s.useRef(null),A=s.useRef(null),x=s.useRef(null),k=s.useRef({x:0,y:0}),T=s.useRef(null),N=s.useRef({dx:0,dy:0}),D=()=>{if(T.current!==null)return;const M=()=>{T.current=requestAnimationFrame(M);const j=k.current,L=N.current||{dx:0,dy:0};w.current&&(w.current.style.transform=`translate3d(${j.x-L.dx}px, ${j.y-L.dy}px, 0)`)};T.current=requestAnimationFrame(M)},F=s.useRef(new Map),R=s.useRef(new Map),S=()=>{const M=new Map;return F.current.forEach((j,L)=>{j&&j.getBoundingClientRect&&M.set(L,j.getBoundingClientRect())}),M},z=M=>{const j=S();b(M);try{if(typeof i=="function"){const L=M.filter((P,G)=>P.text===d(h[G])).length;i({shuffled:M,score:L,total:(h||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const L=S();M.forEach(P=>{const G=j.get(P.id),I=L.get(P.id),K=F.current.get(P.id);if(!K||!G||!I)return;const W=G.top-I.top;W&&(K.style.transition="none",K.style.transform=`translateY(${W}px)`,requestAnimationFrame(()=>{K.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",K.style.transform="";const re=()=>{K.style.transition="",K.removeEventListener("transitionend",re)};K.addEventListener("transitionend",re)}))})})},$=(M,j)=>{try{try{j.dataTransfer?.setData("text/plain",String(M))}catch{}try{j.dataTransfer&&(j.dataTransfer.effectAllowed="move")}catch{}try{const L=document.createElement("div");L.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(L),j.dataTransfer?.setDragImage(L,0,0),requestAnimationFrame(()=>{try{document.body.removeChild(L)}catch{}})}catch{}}catch{}y(M);try{const L=m[M],P=document.createElement("div");P.className="order-list__dragging-object order-list__dragging-object--visible",P.textContent=L&&L.text?L.text:"",document.body.appendChild(P),w.current=P;const G=F.current.get(L.id);let I=j.clientX||0,K=j.clientY||0;try{if(G&&G.getBoundingClientRect){const Ce=G.getBoundingClientRect();I=Ce.left+Ce.width/2,K=Ce.top+Ce.height/2}}catch{}const W=P.getBoundingClientRect(),re=W.width/2,ue=W.height/2;N.current={dx:re,dy:ue},P.style.transition="none",k.current={x:I,y:K},P.style.transform=`translate3d(${I-re}px, ${K-ue}px, 0)`,requestAnimationFrame(()=>{try{P.style.transition=""}catch{}D()});const be=Ce=>{const O=Ce;k.current={x:O.clientX,y:O.clientY},D()};v.current=be,document.addEventListener("mousemove",be);const ve=Ce=>{const O=Ce;k.current={x:O.clientX,y:O.clientY},D()};_.current=ve,document.addEventListener("dragover",ve);try{j.dataTransfer?.setData("text/plain",String(M));try{j.dataTransfer?.setData("application/json",JSON.stringify({idx:M}))}catch{}}catch{}}catch{}},ee=(M,j)=>{j.preventDefault();try{j.dataTransfer&&(j.dataTransfer.dropEffect="move")}catch{}try{x.current!==null&&(clearTimeout(x.current),x.current=null);const L=j.currentTarget&&j.currentTarget.closest?j.currentTarget.closest(".order-list__item"):null;if(L&&A.current!==L){if(A.current)try{A.current.classList.remove("drag-over")}catch{}try{L.classList.add("drag-over")}catch{}A.current=L}}catch{}},E=(M,j)=>{j.preventDefault();const L=j.dataTransfer?.getData("text/plain")||"",P=L?parseInt(L,10):C,G=M;if(typeof P!="number"||isNaN(P)||P===G){y(null),q(),H();return}const I=Xm(m,P,G);z(I),y(null),H();try{if(typeof o=="function"&&f==="active"){const K=I.filter((W,re)=>W.text===d(h[re])).length;o({shuffled:I,score:K,total:(h||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const K=document.querySelectorAll(".order-list .order-list__item")[G];if(!K)return;const W=K.querySelector(".order-list__slot")||K;try{W.classList.add("pulse"),W.offsetHeight,W.classList.add("to-dark");const re=()=>{W.classList.remove("pulse","to-dark"),W.removeEventListener("transitionend",re)};W.addEventListener("transitionend",re)}catch{}})}catch{}q()},H=()=>{if(w.current){try{document.body.removeChild(w.current)}catch{}w.current=null}_.current&&(document.removeEventListener("dragover",_.current),_.current=null),v.current&&(document.removeEventListener("mousemove",v.current),v.current=null),T.current!==null&&(cancelAnimationFrame(T.current),T.current=null)},X=()=>{y(null),q(),H()};s.useEffect(()=>()=>H(),[]);const q=()=>{try{if(x.current!==null&&(clearTimeout(x.current),x.current=null),A.current){try{A.current.classList.remove("drag-over")}catch{}A.current=null}document.querySelectorAll(".order-list .order-list__item").forEach(M=>M.classList.remove("drag-over"))}catch{}};return s.useEffect(()=>{try{const M=Math.max(1,(m||[]).length);m.forEach((j,L)=>{const P=R.current.get(j.id);if(!P)return;let G=50;M>1&&(G=Math.round(L/(M-1)*100));try{P.style.setProperty("--marker-pos",G+"%")}catch{}})}catch{}},[m]),s.useEffect(()=>()=>{H(),x.current!==null&&(clearTimeout(x.current),x.current=null)},[]),t.jsx(Dn,{index:e,stepIndex:n,isLast:a,title:u,children:t.jsx("div",{className:"order-list",children:m.map((M,j)=>{const L=Math.max(1,(m||[]).length),P=L>1?Math.round(j/(L-1)*100):50;return t.jsx("div",{className:"order-list__item",children:t.jsxs("div",{className:"order-list__slot","data-disabled":f==="disabled","aria-disabled":f==="disabled",children:[f!=="disabled"?t.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":P+"%"},ref:G=>{const I=R.current;G?I.set(M.id,G):I.delete(M.id)},children:t.jsx("span",{className:"order-list__slot-number button-1",children:j+1})}):null,t.jsxs("div",{ref:G=>{const I=F.current;G?I.set(M.id,G):I.delete(M.id)},className:`order-list__draggable ${C===j?"dragging":""}`,"data-disabled":f==="disabled","aria-disabled":f==="disabled",tabIndex:f==="disabled"?-1:0,draggable:f==="active",onDragStart:f==="active"?G=>$(j,G):void 0,onDragEnter:f==="active"?G=>ee(j,G):void 0,onDragOver:f==="active"?G=>ee(j,G):void 0,onDragLeave:f==="active"?()=>{try{x.current!==null&&clearTimeout(x.current),x.current=setTimeout(()=>{try{const G=document.querySelectorAll(".order-list .order-list__item");G&&G[j]&&(G[j].classList.remove("drag-over"),A.current===G[j]&&(A.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f==="active"?G=>E(j,G):void 0,onDragEnd:f==="active"?X:void 0,children:[t.jsx("span",{className:"order-list__item-text body-2",children:M.text}),f==="active"?t.jsxs("span",{className:"order-list__item-buttons",children:[t.jsx(se,{htmlType:"button",size:32,type:"dot",onClick:()=>g(j,-1),ariaLabel:c("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:j===0,useBorder:!1,useDisabledInvisible:!0}),t.jsx(se,{htmlType:"button",size:32,type:"dot",onClick:()=>g(j,1),ariaLabel:c("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:j===m.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},M.id)})})})}const Vb=8e3;function zb(e,n){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.then(o,o),setTimeout(o,n)})}function Ml({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:i,context:l=[],selectable:c=!1,hideLabel:u=!1,hideAudio:d=!1,maxCards:h}){const{t:p}=fe.useTranslation(),m=r??p("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),b=s.useMemo(()=>Array.isArray(l)?l:l&&l.items||[],[l]),f=h??3,g=(b||[]).slice(0,f);(b||[]).length>f&&console.warn(`TrainingStepCard: ${b.length} items passed but only ${f} shown`);const C=typeof e=="number"?e:-1,y=typeof n!="number"?"disabled":C<n?"done":C===n?"active":"disabled",[w,_]=s.useState(null),v=s.useRef([]),[A,x]=s.useState(!1),k=s.useMemo(()=>b.map(F=>F?.id??F?.word??"").join("|"),[b]);s.useEffect(()=>{_(null),v.current=[]},[k]);const T=s.useCallback((F,R)=>{if(c)return;const S={item:F,index:R,__ts:Date.now()};try{typeof i=="function"&&i(S)}catch{}if(y==="active"&&typeof o=="function")try{o(S)}catch{}},[c,i,y,o]),N=s.useCallback(async()=>{if(!(A||y==="disabled")){x(!0);try{for(const F of v.current)F&&await zb(F.play(),Vb)}finally{x(!1)}}},[A,y]),D=s.useCallback((F,R)=>{if(y!=="active")return;_(R);const S={selectedValue:F.word||F.title||"",selectedIndex:R,item:F,__ts:Date.now()};try{typeof i=="function"&&i(S)}catch{}if(y==="active"&&typeof o=="function")try{o(S)}catch{}},[i,y,o]);return t.jsx(Dn,{index:e,stepIndex:n,isLast:a,title:m,onDone:o,titleProps:{usePlayAllBtn:!d&&g.length>0,onPlayAll:N,playAllActive:A},children:t.jsx("div",{className:"training-step__cards",children:g.length===0?t.jsx("div",{className:"training-step__empty",children:p("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):g.map((F,R)=>t.jsx(Nr,{ref:S=>{v.current[R]=S},item:F,disabled:y==="disabled",onPlayDone:()=>T(F,R),selectable:c,selected:c&&w===R,onSelect:c?()=>D(F,R):void 0,flipDelay:R*120,hideLabel:u,hideAudio:d},F&&F.id||R))})})}const Wb=160,Ll=()=>{};function Cn(e){const n=s.useId();if(!("variant"in e)){const{label:C,sub:y,onClick:w,children:_,align:v="horizontal",icon:A}=e,x=k=>{w&&k.target===k.currentTarget&&(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),w())};return t.jsxs("div",{className:xe("panel-row",v==="vertical"?"panel-row--vertical":"",w?"panel-row--clickable":""),onClick:w,onKeyDown:w?x:void 0,role:w?"button":void 0,tabIndex:w?0:void 0,children:[A!=null&&t.jsx("div",{className:"panel-row__icon",children:A}),C!=null&&t.jsxs("div",{className:"panel-row__left",children:[t.jsx("div",{className:"panel-row__label body-3",children:C}),y&&t.jsx("div",{className:"panel-row__sub caption-1",children:y})]}),t.jsx("div",{className:"panel-row__right",children:_})]})}if(e.variant==="description")return t.jsx("div",{className:"panel-row panel-row--block",children:t.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return t.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return t.jsx("div",{className:"panel-row panel-row--loading",children:t.jsx(ra,{size:28})});if(e.variant==="custom"&&!e.label)return t.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:r,sub:o,onClick:i,required:l,error:c,align:u="horizontal",useFullWidth:d=!1,icon:h}=e,p=a==="button"?void 0:i;let m=null;const b=a==="toggle"?`panel-toggle-${n}`:void 0;if(a==="toggle"){const C=e;m=t.jsx(ji,{checked:C.checked,onChange:C.onChange,id:b})}else if(a==="segmented"){const C=e;m=t.jsx(Bn,{options:C.options,value:C.value,onChange:C.onChange,size:C.size??40,ariaLabel:r})}else if(a==="dropdown"){const C=e,y=C.dropdowns?.length?t.jsx("div",{className:`panel-row__dropdown-group${d?" panel-row__dropdown-group--full":""}`,children:C.dropdowns.map((w,_)=>t.jsx("div",{className:d?"panel-row__dropdown-item--full":void 0,children:t.jsx(Wt,{options:w.options,value:w.value,onChange:w.onChange,placeholder:w.placeholder,block:d,error:!!c,ariaLabel:w.ariaLabel??([r,w.placeholder].filter(Boolean).join(" ")||void 0)})},_))}):t.jsx(Wt,{options:C.options??[],value:C.value??"",onChange:C.onChange??Ll,block:d,error:!!c,ariaLabel:r});m=c?t.jsxs("div",{className:`panel-row__dropdown-error-wrap${d?" panel-row__dropdown-error-wrap--full":""}`,children:[y,t.jsx("span",{className:"caption-1 panel-row__error",role:"alert",children:c})]}):y}else if(a==="button"){const C=e;C.buttons?.length?m=t.jsx("div",{className:"panel-row__button-group",children:C.buttons.map((y,w)=>t.jsx(se,{htmlType:"button",size:y.btnSize??40,variant:y.btnVariant??"default",disabled:y.disabled,onClick:y.onClick,children:y.label},w))}):m=t.jsx(se,{htmlType:"button",size:C.btnSize??40,variant:C.btnVariant??"default",disabled:C.disabled,onClick:C.onClick,children:C.buttonLabel})}else if(a==="text"){const C=e;m=t.jsx("span",{className:`panel-row__text body-2${d?" panel-row__text--full":""}`,style:C.valueColor?{color:C.valueColor}:void 0,children:C.value})}else if(a==="input"){const C=e;m=t.jsxs("div",{className:`panel-row__input-wrap${d?" panel-row__input-wrap--full":""}`,children:[t.jsx(Nn,{value:C.value,onChange:C.onChange??Ll,onKeyDown:C.onKeyDown,onEnter:C.onEnter,placeholder:C.placeholder,inputMode:C.inputMode,readOnly:C.readOnly,disabled:C.disabled,type:C.type,autoComplete:C.autoComplete,maxLength:C.maxLength,showCount:C.showCount,multiline:C.multiline,rows:C.rows,fullWidth:d,error:c,ariaLabel:r,required:l}),C.helperText&&t.jsx("div",{className:"panel-row__helper caption-1",children:C.helperText})]})}else a==="custom"&&(m=e.children);const f=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&d,g=C=>{p&&C.target===C.currentTarget&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),p())};return t.jsxs("div",{className:xe("panel-row",u==="vertical"?"panel-row--vertical":"",f?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",p?"panel-row--clickable":""),onClick:p,onKeyDown:p?g:void 0,role:p?"button":void 0,tabIndex:p?0:void 0,children:[h!=null&&t.jsx("div",{className:"panel-row__icon",children:h}),t.jsxs("div",{className:"panel-row__left",children:[b?t.jsxs("label",{htmlFor:b,className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}):t.jsxs("div",{className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}),o&&t.jsx("div",{className:"panel-row__sub caption-1",children:o})]}),t.jsx("div",{className:"panel-row__right",children:m})]})}function $l(e){const n=e.productName||e.brand,a=[e.brand,e.fitType].filter(r=>!!r&&r!==n);return[...new Set(a)].join(" \xB7 ")}function qb({devices:e,onRelease:n,emptyLabel:a}){const{t:r}=fe.useTranslation();return t.jsx("div",{className:"panel-row panel-row--device",children:["\uC88C","\uC6B0"].map(o=>{const i=e[o],l=o==="\uC88C"?r("device.direction.left","\uC88C"):r("device.direction.right","\uC6B0");return t.jsxs("div",{className:"panel-row__device-column",children:[t.jsxs("div",{className:"panel-row__device-head",children:[t.jsx("span",{className:"panel-row__device-side body-2b",children:l}),i&&n&&t.jsx(se,{htmlType:"button",size:32,type:"dot",icon:"x",ariaLabel:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),showTooltipInfo:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>n(o)})]}),i?t.jsxs("div",{className:"panel-row__device-info",children:[t.jsxs("span",{className:"panel-row__device-kind",children:[i.device&&t.jsx(ot,{size:"small",variant:zi(i.device),fill:"soft",label:i.device}),$l(i)&&t.jsx("span",{className:"panel-row__device-detail body-3",children:$l(i)})]}),t.jsx("span",{className:"panel-row__device-name body-2b",children:i.productName||i.brand}),t.jsx("span",{className:"panel-row__device-date caption-1",children:r("customers.device.wornSince",{date:`${i.wornYear}.${i.wornMonth}.${i.wornDay}`})})]}):t.jsx("span",{className:"panel-row__device-empty body-3",children:a??r("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},o)})})}function Ea({title:e,icon:n,disc:a,actions:r,size:o="medium",minHeight:i,maxWidth:l,className:c,scrollable:u,useBorder:d=!0,useBg:h=!0,useRowBorder:p=!0,labelWidth:m,form:b=!1,loading:f,empty:g,children:C}){const y=xe("panel",`panel--${o}`,b?"panel--form":"",i!==void 0?"panel--fill":"",d?"":"panel--no-border",h?"":"panel--no-bg",p?"":"panel--no-row-border",c),w={};return i!==void 0&&(w.minHeight=i),l!==void 0&&(w.maxWidth=typeof l=="number"?`${l}px`:l),m!==void 0&&(w["--panel-label-width"]=typeof m=="number"?`${m}px`:m),t.jsxs("div",{className:y,style:Object.keys(w).length?w:void 0,children:[(e!=null||a!=null)&&t.jsxs("div",{className:xe("panel__header",a!=null?"panel__header--with-disc":""),children:[n&&t.jsx(Ie,{icon:n,label:typeof e=="string"?e:void 0,className:"panel__icon"}),t.jsxs("div",{className:"panel__title-group",children:[e!=null&&t.jsx("h2",{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&t.jsx("p",{className:"panel__disc caption-1",children:a})]}),r&&t.jsx("div",{className:"panel__actions",children:r})]}),f?t.jsx(Cn,{variant:"loading"}):g!=null&&(C==null||Array.isArray(C)&&C.length===0)?t.jsx(Cn,{variant:"empty",children:g}):u?t.jsx("div",{className:"panel__body--scroll",children:C}):C]})}function Ub({cols:e=2,children:n}){return t.jsx("div",{className:"panel-grid",style:{"--panel-grid-cols":e},children:n})}function Gb(e){return[{label:e("training.noise.level.none","\uC5C6\uC74C"),value:0},{label:e("training.noise.level.weak","\uC57D\uD568"),value:1},{label:e("training.noise.level.medium","\uBCF4\uD1B5"),value:2},{label:e("training.noise.level.strong","\uAC15\uD568"),value:3},{label:e("training.noise.level.veryStrong","\uB9E4\uC6B0 \uAC15\uD568"),value:4}]}function Rl(e){return[{label:e("training.noise.type.default","\uAE30\uBCF8"),value:"defaultNoise",icon:"party-popper"},{label:e("training.noise.type.street","\uAE38\uAC70\uB9AC"),value:"street",icon:"car"},{label:e("training.noise.type.buzz","\uC640\uAE00\uC640\uAE00"),value:"buzz",icon:"message-square-more"},{label:e("training.noise.type.restaurant","\uC2DD\uB2F9"),value:"restaurant",icon:"coffee"}]}Gb(Pt.t.bind(Pt)),Rl(Pt.t.bind(Pt));const Gr="none",Kb=.5,Zb=1.5,Yb=.25;function Kr({title:e,valueLabel:n,value:a,min:r,max:o,step:i,tickStep:l,size:c,onChange:u}){return t.jsxs(Cn,{variant:"custom",label:e,useFullWidth:!0,children:[t.jsx(Fi,{value:a,onChange:u,min:r,max:o,step:i,size:c,showBgTick:!0,tickStep:l,ariaLabel:e,className:"noise-settings__slider-input"}),t.jsx("div",{className:"noise-settings__value button-1",children:n})]})}function Pl({anchorRect:e,onClose:n}){const{t:a}=fe.useTranslation(),r=Kt("(max-width: 767px)")?40:24,o=Sa(),i=ia(o?.settings??ca),l=o?.settings.type??"defaultNoise",c=o?.settings.enabled??!0,u=o?.playbackRate??1,d=o?.mainVolume??1,h=Math.round(d*100),p=s.useCallback(g=>{try{o?.setMainVolume(Math.max(0,Math.min(1,g/100)))}catch{}},[o]),m=s.useCallback(g=>{try{o?.setPlaybackRate(g)}catch{}},[o]),b=s.useCallback(g=>{const C=Math.min(Da,Math.max(0,Math.round(g*10)/10));try{o?.setSettings({noiseRatio:C})}catch{}},[o]),f=s.useCallback(g=>{try{g===Gr?o?.setSettings({enabled:!1}):o?.setSettings({type:g,enabled:!0})}catch{}},[o]);return t.jsx(pn,{anchorRect:e,offset:12,onClose:n,ariaLabel:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:t.jsxs("div",{className:"noise-settings__header",children:[t.jsx("span",{children:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),t.jsx(se,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:a("common.close","\uB2EB\uAE30"),onClick:n})]}),children:t.jsxs(Ea,{className:"noise-settings",useBorder:!1,labelWidth:72,children:[t.jsx(Kr,{title:a("training.playVolumeTitle","\uC804\uCCB4 \uC18C\uB9AC"),valueLabel:`${h}%`,value:h,min:0,max:100,step:10,size:r,onChange:p}),t.jsx(Kr,{title:a("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${u.toFixed(2)}x`,value:u,min:Kb,max:Zb,step:Yb,size:r,onChange:m}),t.jsx(Cn,{variant:"custom",label:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:t.jsx(Bn,{ariaLabel:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:[{key:Gr,label:a("training.noise.type.none","\uC5C6\uC74C")},...Rl(a).map(g=>({key:g.value,label:g.label}))],value:c?l:Gr,onChange:f})}),t.jsx(Kr,{title:a("training.noiseRatioTitle","\uC18C\uC74C \uBE44\uC728"),valueLabel:a("training.noiseRatioValue","{{ratio}}\uBC30",{ratio:i.toFixed(1)}),value:i,min:0,max:Da,step:xl,size:r,onChange:b})]})})}function Il({useNoiseSettingBtn:e=!1,onSettings:n,onNext:a,onResult:r,stepIndex:o=0,stepCount:i=0,pageIndex:l=0,pageCount:c=1}){const{t:u}=fe.useTranslation(),[d,h]=s.useState(!1),[p,m]=s.useState(null),[b,f]=s.useState(!1),g=s.useRef(null),C=s.useRef(null),y=Sa(),w=l<c-1,_=l===c-1,v=o===Math.max(0,i);s.useEffect(()=>{e||(h(!1),m(null))},[e]);const A=s.useCallback(()=>{h(!1),m(null)},[]),x=s.useCallback(()=>{if(d){h(!1),m(null);return}const N=g?.current?.getBoundingClientRect();N&&m(N),n?.(),h(!0)},[d,n]),k=s.useCallback(()=>{if(d){h(!1),m(null);return}const N=C?.current?.getBoundingClientRect();N&&m(N),n?.(),h(!0)},[d,n]),T=s.useCallback(()=>f(N=>!N),[]);return t.jsxs("div",{className:"pp-bottom",children:[t.jsxs("div",{className:"pp-bottom__left",children:[e?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pp-bottom__settings--desktop",children:t.jsx("div",{ref:g,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(se,{htmlType:"button",size:56,type:"bar",icon:"settings",onClick:x,selected:d,ariaLabel:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),t.jsx("div",{className:"pp-bottom__settings--mobile",children:t.jsx("div",{ref:C,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(se,{htmlType:"button",size:56,type:"dot",icon:"settings",onClick:k,selected:d,ariaLabel:u("training.settings","\uC124\uC815"),minWidth:52})})})]}):null,e&&t.jsx(se,{htmlType:"button",size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:T,selected:b,ariaLabel:u("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")}),e&&b&&t.jsxs("div",{className:"pp-bottom__meters",children:[t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.sentence","\uC7AC\uC0DD")}),t.jsx(xr,{analyser:y?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.sentence","\uC7AC\uC0DD")})]}),t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.noise","\uC18C\uC74C")}),t.jsx(xr,{analyser:y?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.noise","\uC18C\uC74C")})]})]})]}),t.jsxs("div",{className:"pp-bottom__right",children:[_&&t.jsx(se,{htmlType:"button",size:56,type:"bar",icon:"check",onClick:typeof r=="function"?r:a,ariaLabel:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!v}),w&&t.jsx(se,{htmlType:"button",size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:a,ariaLabel:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!v})]}),e&&d&&t.jsx(Pl,{anchorRect:p,onClose:A})]})}function Fl({title:e,subtitle:n,desc:a,depth:r,icon:o,wrapperStyle:i,iconTooltip:l,pageIndex:c,pageCount:u,progressMax:d,progressIndex:h,onBack:p,onClose:m}){const{t:b}=fe.useTranslation(),f=Kt("(max-width: 767px)"),g=Number.isInteger(h)?h:c||0,C=Number.isInteger(d)?d:u||0,y=p||m,w=Array.isArray(r)?f?r[r.length-1]:r.join(" / "):r,_=typeof e=="string"?e.trim():e,v=typeof n=="string"?n.trim():n,A=!!(_||v),x=A?_||v:b("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),k=w||n,T=f&&typeof k=="string"&&(k.includes(" \xB7 ")||k.includes(" / "))?k.split(/\s[·/]\s/).pop():k,N=s.useMemo(()=>{const D=i&&typeof i=="object"?{...i}:{};return!("width"in D)&&!("height"in D)&&(D.width="40px",D.height="40px"),D},[i]);return t.jsxs("header",{className:"pp-title training-popup-title",children:[t.jsxs("div",{className:"pp-title__left",children:[y?t.jsx(se,{htmlType:"button",size:48,type:"dot",icon:"chevron-left",ariaLabel:b("common.back","\uB4A4\uB85C"),onClick:y,useBorder:!1,iconSize:"large",iconColor:"--color-black",variant:"transparent-gray"}):null,t.jsx("div",{children:o?t.jsx(Ui,{icon:o,label:e,tooltip:l,wrapperStyle:N}):null}),t.jsxs("div",{className:"pp-title__text",children:[T?t.jsx("span",{className:"pp-title__depth caption-1",children:T}):null,t.jsx("span",{className:`pp-title__title h2${A?"":" pp-title__title--empty"}`,children:x}),a?t.jsx("span",{className:"pp-title__description caption-1",children:a}):null]})]}),t.jsx(Vi,{max:Math.max(0,C??0),index:Math.max(0,g??0)})]})}function Xb(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function Jb(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(n=>typeof n=="string"?n.split("|").map(a=>a.trim()).filter(Boolean):n||n===0?[String(n)]:[]):typeof e=="string"?e.split("|").map(n=>n.trim()).filter(Boolean):[String(e)]}function Ol(e,n,a){const r=e,o=r?.title||r?.name||(Array.isArray(n)?n[n.length-1]:void 0)||a||"\uD6C8\uB828",i=Cs().find(c=>c.key===(r?.category_0||r?.category_main_code)),l=i?.subs?.find(c=>c.key===(r?.category_1||r?.category_sub_code));return{title:o,label:r?.title||o,depth:n,icon:i?.icon,wrapperStyle:i?.color?{"--t-item-fg":i.color}:void 0,iconTooltip:[i?.label,l?.label].filter(Boolean).join(" / ")||void 0}}function Zr(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function Qb(e){const n=e;return Array.isArray(n?.items)?n.items:Array.isArray(e)?e:e?[e]:[]}function e5({idPrefix:e,trainingData:n,depth:a,fallbackTitle:r="\uD6C8\uB828",pages:o=[],emptyMessage:i,buildResults:l,metaPatch:c}){const u=Ol(n,a,r),d=typeof c=="function"?c(u)||{}:c||{},h=n?.id||n?.title||o.length;return{id:`${e}:${h}`,meta:{...u,...d},pages:o,emptyMessage:i,buildResults:l}}function t5(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const n=e;return n.context||n.sentence||n.question||""||""}return""}function n5(e){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return n.selectedValues;if(n.selectedValue!==void 0)return n.selectedValue;if(n.selectedIndex!==void 0)return n.selectedIndex;if(n.value!==void 0)return n.value}return e}function a5(e,n=[]){if(Array.isArray(e))return e.join(", ");if(typeof e=="number"&&Array.isArray(n))return String(n[e]??"");if(typeof e=="string")return e}function Hl(e,n){if(!(!e||typeof e!="object"))return e[`step-${n}`]}function r5(e,n,a,r){return Hl(e,n*a+r)}function o5({payload:e,selected:n,choices:a=[],correctAnswers:r=[]}){if(e&&typeof e=="object"){const o=e;if(Array.isArray(o.selectedValues))return r.every(i=>o.selectedValues.includes(i))&&o.selectedValues.every(i=>r.includes(i));if(typeof o.correct=="boolean")return o.correct}if(r.length){if(typeof n=="number"&&Array.isArray(a)&&a.length)return r.some(o=>String(o)===String(a[n]));if(typeof n<"u")return r.some(o=>String(o)===String(n))}}function s5(e){return e?Array.isArray(e.items)?e.items.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.context||a.sentence||"",contextCode:a.contextCode||a.context_code}}):Array.isArray(e.sentences)?e.sentences.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.sentence||a.context||"",contextCode:a.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const Vl=s.createContext(null);function i5(){const e=s.useContext(Vl);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function l5({index:e,stepIndex:n,isLast:a=!1,title:r="\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",choices:o=[],onDone:i,onChange:l}){const c=typeof e=="number"?e:-1,u=typeof n!="number"?"disabled":c<n?"done":c===n?"active":"disabled",[d,h]=s.useState(()=>o.map(()=>null)),p=o.join("|");s.useEffect(()=>{h(p?p.split("|").map(()=>null):[])},[p]);const m=s.useMemo(()=>d.filter(f=>f!==null).length+1,[d]),b=s.useCallback(f=>{u==="active"&&h(g=>{const C=[...g];if(C[f]!==null){const w=C[f];return C.map(_=>_!==null&&_>=w?null:_)}C[f]=m;const y={selectedOrder:C,words:o,__ts:Date.now()};try{typeof l=="function"&&l(y)}catch{}if(C.every(w=>w!==null))try{typeof i=="function"&&i(y)}catch{}return C})},[u,m,l,i,o]);return t.jsx(Dn,{index:e,stepIndex:n,isLast:a,title:r,onDone:i,children:t.jsx("div",{className:"training-step__cards",children:o.map((f,g)=>t.jsx(Nr,{item:{word:f},disabled:u==="disabled",selectable:!0,selected:d[g]!==null,orderRank:d[g],onSelect:()=>b(g),flipDelay:g*120,hideLabel:!1,hideAudio:!0},`${f}-${g}`))})})}function Ma(e){return null}Ma.__isTrainingPage=!0;function Hn(e,n){const a=i5();return{ctx:a,index:e,stepIndex:a.currentStepIndex,isLast:typeof e=="number"&&typeof n=="number"?e===n-1:!1,onDone:r=>a.handleStepDone(r,e),onChange:r=>a.handleStepChange(r,e)}}function zl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l}=Hn(e,n);return t.jsx(qr,{...a,index:r,stepIndex:o,isLast:i,onDone:l})}function Wl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l,onChange:c}=Hn(e,n);return t.jsx(zr,{...a,index:r,stepIndex:o,isLast:i,onDone:l,onChange:c})}function ql({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Wr,{...a,index:r,stepIndex:o,isLast:i,onDone:l,onChange:c})}function Ul({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Ur,{...a,index:r,stepIndex:o,isLast:i,onDone:l,onChange:c})}function Gl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Ml,{...a,index:r,stepIndex:o,isLast:i,onDone:l,onChange:c})}function c5({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:i,onDone:l,onChange:c}=Hn(e,n);return t.jsx(l5,{...a,index:r,stepIndex:o,isLast:i,onDone:l,onChange:c})}function Yr(...e){for(const n of e)if(typeof n=="string"){const a=n.trim();if(a.length)return a}else{if(typeof n=="number"||typeof n=="boolean")return String(n);if(Array.isArray(n)&&n.length)return n.join(", ");if(n&&typeof n=="object"){const a=n,r=[a.text,a.label,a.value];for(const o of r){if(typeof o=="string"&&o.trim().length)return o.trim();if(typeof o=="number"||typeof o=="boolean")return String(o)}}}return null}function u5(e){return Yr(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function Kl(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const n=Yr(e?.status,e?.result,e?.judge,e?.note);if(n){const a=n.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>a.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>a.includes(r)))return!1}}function Zl(e){const{score:n,contextsLength:a,results:r=[],subtitle:o,onReplay:i,onClose:l,inline:c=!1}=e||{},{t:u}=fe.useTranslation();s.useEffect(()=>{const g=a??0;n!=null&&g>0&&n/g>.5&&window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},[n,a]);const d=s.useCallback(g=>{const C=Kl(g),y=Yr(g?.wording,g?.label);return C===!0?{variant:"main",label:y??u("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:C===!1?{variant:"danger",label:y??u("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:y??u("training.result.notJudged","\uBBF8\uD310\uC815")}},[u]),h=a??0,p=n??0,m=s.useMemo(()=>Array.isArray(r)?r:[],[r]),b=s.useMemo(()=>m.map(g=>{const C=g??{},y=u5(C)||u("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:w,label:_}=d(C),v=Array.isArray(C.corrects)?C.corrects:[],A=v.length?v.join(", "):C.answer!=null&&C.answer!==""?String(C.answer):null,x=typeof C.selectedText=="string"?C.selectedText:null,k=Kl(C)===!0;return{problem:y,variant:w,label:_,answer:A,selectedText:x,isCorrect:k}}),[m,d,u]),f=s.useMemo(()=>b.some(g=>g.answer!==null||g.selectedText!==null),[b]);return t.jsx(fn,{onClose:l,inline:c,ariaLabel:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",footerClassName:"trp-result__foot",footer:({animateThen:g,closeWithAnimation:C})=>t.jsxs("div",{className:"trp-actions",children:[t.jsx(se,{htmlType:"button",size:56,type:"bar",label:u("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>g(i)}),t.jsx(se,{htmlType:"button",size:56,type:"bar",label:u("training.result.done","\uC644\uB8CC"),variant:"main",onClick:C})]}),children:()=>t.jsxs("div",{className:"trp-result is-on",children:[t.jsxs("header",{className:"trp-result__head",children:[t.jsx("p",{className:"trp-result__eyebrow caption-1",children:u("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),t.jsx("h1",{className:"trp-result__title h2",children:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),o&&t.jsx("p",{className:"trp-result__subtitle body-3",children:o}),t.jsx("div",{className:"trp-score",children:t.jsxs("div",{className:"trp-score__figure","aria-label":u("training.result.scoreAria",{correct:p,total:h}),children:[t.jsx("span",{className:"trp-score__big",children:p}),t.jsx("span",{className:"trp-score__sep",children:"/"}),t.jsx("span",{className:"trp-score__total",children:h})]})})]}),b.length>0&&t.jsx("section",{className:"trp-result__body",children:t.jsxs("div",{className:`result-table${f?" result-table--answer":""}`,role:"table","aria-label":u("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[t.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[t.jsx("span",{role:"columnheader",children:u("common.col.problem","\uBB38\uC81C")}),f&&t.jsx("span",{role:"columnheader",children:u("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),t.jsx("span",{className:"col-right",role:"columnheader",children:u("training.result.colJudge","\uD310\uC815")})]}),b.map((g,C)=>t.jsxs("div",{className:"result-table__row",role:"row",children:[t.jsxs("div",{className:"trp-row__problem",children:[t.jsx("span",{className:"trp-row__no caption-1",children:String(C+1).padStart(2,"0")}),t.jsx("div",{className:"trp-row__q body-2",children:g.problem})]}),f&&t.jsxs("div",{className:"trp-row__answers",children:[g.answer!==null&&t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:u("training.result.colAnswer","\uC815\uB2F5")}),t.jsx("span",{className:"trp-row__answer-value body-2",children:g.answer})]}),t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${g.isCorrect?"is-correct":"is-wrong"}`,children:u("training.result.colSelected","\uC120\uD0DD")}),t.jsx("span",{className:`trp-row__answer-value body-2 ${g.isCorrect?"is-correct":"is-wrong"}`,children:g.selectedText??"\u2014"})]})]}),t.jsx("div",{className:"trp-row__judge",children:t.jsx(ot,{variant:g.variant,label:g.label,fill:"soft",minWidth:80})})]},C))]})})]})})}function d5(e){s.useEffect(()=>{if(!e)return;const n=new Date;return()=>{const a=new Date;a.getTime()-n.getTime()<5e3||t0({trainingType:e,startedAt:n.toISOString(),endedAt:a.toISOString()})}},[e])}function Xr(e,n){return e&&e.id||`page-${n??0}`}function Jr(e,n){return e&&e.key||`step-${n??0}`}function La(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function p5(e,n){return typeof e?.props=="function"?e.props(n)||{}:e?.props||{}}const Yl=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]),h5=e=>t.jsx(Zl,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose});function m5(e){const{scenario:n,title:a,subTitle:r,depth:o,icon:i,wrapperStyle:l,iconTooltip:c,pageIndex:u,pageCount:d,stepIndex:h,stepCount:p,onBack:m,onComplete:b,onNext:f,onSettings:g,useNoiseSetting:C=!0,children:y,ariaLabel:w,label:_,buildResults:v,onResult:A,typeKey:x,entryPoint:k,dailyTotal:T,itemRef:N,renderResultPopup:D,noiseOverride:F}=e;d5(x&&!Yl.has(x)?x:"");const R=s.useRef(0);s.useEffect(()=>{R.current=Date.now()},[]);const{t:S}=fe.useTranslation(),z=A,$=!!n,ee=n?.id||null,E=n?.meta||{},H=Array.isArray(n?.pages)?n.pages:[],X=Array.isArray(y)||s.isValidElement(y)&&typeof y!="function"?s.Children.toArray(y).filter(s.isValidElement):[],q=X.length>0,M=oe=>oe===Ma||oe?.__isTrainingPage===!0,j=q&&X.some(oe=>M(oe.type)),L=j?X.filter(oe=>M(oe.type)).map((oe,ge)=>{const V=oe.props||{};return{id:`children-page-${ge}`,steps:s.Children.toArray(V.children).filter(s.isValidElement),pageTop:V.pageTop||V.top||null,pageBottom:V.pageBottom||V.bottom||null}}):[{id:"children-page-0",steps:X}],P=q&&!$&&typeof y!="function",G=P?Math.max(1,L.length):0;s.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),s.useEffect(()=>{if(typeof document>"u"||!document.body)return;const oe=document.body;return oe.dataset.ihabTrainingPopupCount=String(Number(oe.dataset.ihabTrainingPopupCount||"0")+1),oe.classList.add("ihab-training-popup-open"),()=>{const ge=Number(oe.dataset.ihabTrainingPopupCount||"1")-1;ge>0?oe.dataset.ihabTrainingPopupCount=String(ge):(delete oe.dataset.ihabTrainingPopupCount,oe.classList.remove("ihab-training-popup-open"))}},[]),s.useEffect(()=>{if(!(typeof document>"u"||!document.body))return k4()},[]);const[I,K]=s.useState({...ca,enabled:!1}),W=s.useRef(I);s.useEffect(()=>{W.current=I},[I]);const re=s.useRef(F),ue=s.useRef(!1),be=s.useRef(null);s.useEffect(()=>{let oe=!1;const ge=V=>{if(oe)return;ue.current=!0;const Q=V?la({...ca,enabled:!1},V):{...ca},he=be.current;be.current=null;const ye=he?la(Q,he):Q;W.current=ye,K(ye),he&&!re.current&&ps(ye),ba(ye);const Y=re.current;if(Y){const ae=typeof Y=="function"?Y(ye):Y,$e=la(ye,ae);W.current=$e,K($e),ba($e)}};return o0().then(ge),()=>{oe=!0}},[]);const[ve,Ce]=s.useState(null),[O,te]=s.useState(null),ce=s.useCallback((oe,ge)=>{oe==="main"?Ce(ge):te(ge)},[]),ke=s.useCallback(oe=>{const ge=la(W.current,oe);if(W.current=ge,K(ge),!ue.current){be.current={...be.current??{},...oe},ba(ge);return}re.current||ps(ge),ba(ge)},[]),_e=I.mainSpeed,de=I.mainVolume,J=s.useCallback(oe=>ke({mainSpeed:oe}),[ke]),ne=s.useCallback(oe=>ke({mainVolume:oe}),[ke]),Ae=s.useMemo(()=>({settings:I,setSettings:ke,registerAnalyser:ce,mainAnalyser:ve,noiseAnalyser:O,playbackRate:_e,setPlaybackRate:J,mainVolume:de,setMainVolume:ne}),[I,ke,ce,ve,O,_e,J,de,ne]),le=s.useRef(null),[Ne,Be]=s.useState("center"),[Re,Oe]=s.useState(!1),Se=s.useRef(!1),Ue=s.useRef(null),We=s.useCallback(oe=>{Se.current||(Se.current=!0,Oe(!0),Ue.current=setTimeout(oe,Wb))},[]);s.useEffect(()=>()=>{Ue.current&&clearTimeout(Ue.current)},[]);const me=s.useRef(m);s.useEffect(()=>{me.current=m}),s.useEffect(()=>{const oe=le.current,ge=document.activeElement;if(oe){const V=Array.from(oe.querySelectorAll(Jn)).filter(Q=>!Q.closest('[aria-hidden="true"]'))[0];if(V)try{V.focus()}catch{}}return()=>{const V=document.activeElement;if(!V||V===document.body||oe&&oe.contains(V))try{ge?.focus?.()}catch{}}},[]),s.useEffect(()=>Mn(()=>We(()=>{const oe=me.current;typeof oe=="function"&&oe()})),[We]),rr(le,!0);const[Le,Te]=s.useState(!1),Fe=s.useRef(!1),[Me,He]=s.useState(null),[Ze,pt]=s.useState(""),[Ke,Ve]=s.useState(()=>La()),ct=s.useRef(typeof u=="number"?u:null);s.useEffect(()=>{!$&&!P||(Ve(La()),He(null))},[$,ee,P]),s.useEffect(()=>{P&&Ve(oe=>{const ge=Math.max(0,Math.min(oe.pageIndex,Math.max(0,G-1)));return ge!==oe.pageIndex?{...oe,pageIndex:ge,stepIndex:0}:oe})},[P,G]);const nt=P?Math.max(0,Math.min(Ke.pageIndex,G-1)):0,je=P?L[nt]:null,Qe=P&&je&&Array.isArray(je.steps)?je.steps:[],Pe=$?Ke.pageIndex:P?nt:typeof u=="number"?u:0,Ye=$?H[Math.max(0,Math.min(Ke.pageIndex,Math.max(0,H.length-1)))]:null,ut=$&&Ye&&Array.isArray(Ye.steps)?Ye.steps:[],et=$?ut.length:P?Qe.length:typeof p=="number"?p:0,it=$||P?Math.max(0,Math.min(Ke.stepIndex,Math.max(0,et))):typeof h=="number"?h:0,tt=$?H.length:P?G:typeof d=="number"?d:0;s.useLayoutEffect(()=>{const oe=ct.current;if(typeof Pe=="number"&&oe!==null&&Pe!==oe&&Pe>oe)try{pt(S("training.problemNotice",{n:Pe+1}))}catch{}ct.current=typeof Pe=="number"?Pe:ct.current},[Pe,u,S]),s.useLayoutEffect(()=>{const oe=le.current;if(!oe)return;const ge=()=>oe.querySelector(".page-popup__scroll");let V=null,Q=null,he=null;const ye=Ge=>{const ht=ge();if(!ht)return;const _t=ht.scrollHeight<=ht.clientHeight;if(Be(_t?"center":"top"),Ge&&!Fe.current){Fe.current=!0;try{Te(!0)}catch{}try{$e.disconnect()}catch{}}},Y=()=>{V!==null&&cancelAnimationFrame(V),V=requestAnimationFrame(()=>{Q!==null&&clearTimeout(Q),Q=setTimeout(()=>ye(!0),60)})},ae=()=>{he!==null&&cancelAnimationFrame(he),he=requestAnimationFrame(()=>ye(!1))};Y(),window.addEventListener("resize",ae);const $e=new MutationObserver(Y);$e.observe(oe,{childList:!0,subtree:!0,attributes:!0});const Xe=setTimeout(()=>{Fe.current||ye(!0)},400);return()=>{window.removeEventListener("resize",ae),V!==null&&cancelAnimationFrame(V),Q!==null&&clearTimeout(Q),he!==null&&cancelAnimationFrame(he),clearTimeout(Xe);try{$e.disconnect()}catch{}}},[le]);const Bt=s.useCallback(oe=>{le.current&&(le.current._childOnNext=oe)},[]),Yt=s.useCallback(oe=>{le.current&&(le.current._childOnResult=oe)},[]),ft=s.useCallback((oe,ge,V)=>{Ve(Q=>{const he=Q.answersByPage[oe]||{},ye=he[ge],Y=Zr(V),ae=Zr(ye);return ye&&ae>Y?Q:{...Q,answersByPage:{...Q.answersByPage,[oe]:{...he,[ge]:V}}}})},[Ve]),Xt=s.useCallback((oe,ge,V)=>{const Q=Xr(Ye,Pe),he=Jr(oe,ge);ft(Q,he,V)},[Ye,Pe,ft]),Et=s.useCallback((oe,ge,V)=>{const Q=Xr(Ye,Pe),he=Jr(oe,ge);ft(Q,he,V),!V?.allowChange&&oe?.autoAdvance!==!1&&Ve(ye=>({...ye,stepIndex:Math.max(ye.stepIndex,ge+1)}))},[Ye,Pe,ft,Ve]),Mt=s.useCallback((oe,ge)=>{const V=je?.id||`children-page-${Pe??0}`,Q=typeof ge=="number"?ge:it??0,he=`step-${Q}`;ft(V,he,oe),oe?.allowChange||Ve(ye=>({...ye,stepIndex:Math.max(ye.stepIndex,Q+1)}))},[je,Pe,it,ft,Ve]),Jt=s.useCallback((oe,ge)=>{const V=je?.id||`children-page-${Pe??0}`,Q=`step-${typeof ge=="number"?ge:it??0}`;ft(V,Q,oe)},[je,Pe,it,ft]),vt=P?{currentPageIndex:Pe??0,currentStepIndex:it??0,totalStepsInPage:Qe.length,handleStepDone:Mt,handleStepChange:Jt}:null,bn=async()=>{const oe=typeof n?.buildResults=="function"?await Promise.resolve(n.buildResults({scenario:n,pages:H,flowState:Ke,answersByPage:Ke.answersByPage})):null;return typeof z=="function"&&await Promise.resolve(z(oe))||oe},Ft=async()=>{const oe=je?.id||`children-page-${Ke.pageIndex}`,ge=Ke.answersByPage[oe]||{},V=j?(()=>{const ye={};let Y=0;return L.forEach(ae=>{const $e=Ke.answersByPage[ae.id]||{},Xe=Array.isArray(ae.steps)?ae.steps.length:0;for(let Ge=0;Ge<Xe;Ge+=1){const ht=$e[`step-${Ge}`];typeof ht<"u"&&(ye[`step-${Y+Ge}`]=ht)}Y+=Xe}),ye})():ge;if(typeof v=="function"){const ye=await Promise.resolve(v(V,{pageAnswers:ge,answersByPage:Ke.answersByPage,pages:L,currentPageId:oe}));return typeof z=="function"&&await Promise.resolve(z(ye))||ye}const Q=Object.entries(ge).map(([ye,Y],ae)=>({index:ae,key:ye,payload:Y})),he={results:Q,answers:Q,score:0};return typeof z=="function"&&await Promise.resolve(z(he))||he},Ut=()=>{try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if($){const V=bn();He({});const Q=V;Promise.resolve(Q).then(he=>{He(he||{isEmpty:!0})}).catch(he=>{He({isEmpty:!0})});return}if(P){const V=Ft();He({});const Q=V;Promise.resolve(Q).then(he=>{He(he||{isEmpty:!0})}).catch(he=>{He({isEmpty:!0})});return}const oe=le.current&&le.current._childOnResult,ge=V=>{try{return V?V():void 0}catch{return}};if(typeof oe=="function"){const V=ge(oe);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}V&&typeof V.then!="function"?He(V):He(V&&typeof V.then=="function"?{}:{}),Promise.resolve(V).then(Q=>{Q&&He(Q)}).catch(Q=>{});return}if(typeof z=="function"){const V=ge(z);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}V&&typeof V.then!="function"?He(V):He(V&&typeof V.then=="function"?{}:{}),Promise.resolve(V).then(Q=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}Q&&He(Q)}).catch(Q=>{console.error("viewResults external handler failed",Q)});return}},yn=()=>{if($){if(typeof Pe=="number"&&typeof tt=="number"&&Pe<tt-1){Ve(ge=>({...ge,pageIndex:ge.pageIndex+1,stepIndex:0}));return}return Ut()}if(P){const ge=Qe.length;if(typeof it=="number"&&it<ge-1){Ve(V=>({...V,stepIndex:V.stepIndex+1}));return}if(typeof Pe=="number"&&typeof tt=="number"&&Pe<tt-1){Ve(V=>({...V,pageIndex:V.pageIndex+1,stepIndex:0}));return}return Ut()}if(typeof f=="function"){try{f()}catch{}return}const oe=le.current&&le.current._childOnNext;if(typeof oe=="function"){try{oe()}catch{}return}},qe=$?E.title||E.label||w||S("common.popup","\uD31D\uC5C5"):a||_||(Array.isArray(o)?o[o.length-1]:void 0)||w||S("common.popup","\uD31D\uC5C5"),xt=$?E.title??E.label??qe:a??_??qe,Dt=(oe,ge)=>{const V=Xr(Ye,Pe),Q=Jr(oe,ge),he=Ke.answersByPage[V]?.[Q],ye=p5(oe,{page:Ye,pageIndex:Pe,step:oe,stepIndex:ge,storedPayload:he,answersByPage:Ke.answersByPage,flowState:Ke}),Y={key:Q,index:ge,stepIndex:it,isLast:ge===ut.length-1};switch(oe?.type){case"listen":return t.jsx(qr,{...Y,...ye,onDone:ae=>Et(oe,ge,ae)});case"confirm":return t.jsx(zr,{...Y,...ye,onDone:ae=>Et(oe,ge,ae),onChange:ae=>Xt(oe,ge,ae)});case"confirmWithText":return t.jsx(Wr,{...Y,...ye,onDone:ae=>Et(oe,ge,ae),onChange:ae=>Xt(oe,ge,ae)});case"orderList":return t.jsx(Ur,{...Y,...ye,onDone:ae=>Et(oe,ge,ae),onChange:ae=>Xt(oe,ge,ae)});default:return null}},Qt=$?H.length>0?t.jsx("div",{className:"training-steps",children:ut.map((oe,ge)=>Dt(oe,ge))}):t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"pp-empty",children:n?.emptyMessage||S("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,en=P?t.jsxs(Vl.Provider,{value:vt,children:[je?.pageTop?t.jsx("div",{className:"training-page-top",children:je.pageTop}):null,t.jsx("div",{className:"training-steps",children:Qe.map((oe,ge)=>{const V=oe;return s.cloneElement(V,{...V.props,_stepIndex:ge,_totalSteps:Qe.length,_stepKey:`step-${ge}`,_pageIndex:Pe})})}),je?.pageBottom?t.jsx("div",{className:"training-page-bottom",children:je.pageBottom}):null]}):null,Lt=s.useCallback(()=>{let oe;if(x){const ge=Me,V=ge?.results||ge?.answers||[],Q=Array.isArray(V)&&V.length>0?V.length:null,he=Array.isArray(V)?V.filter(Y=>Y?.correct===!0||Y?.isCorrect===!0||Y?.score===1||Y?.heard===!0||Y?.judgement===!0).length:null,ye=Q!=null?he:null;n0({items:r0(V),category:Yl.has(x)?"sentence":"word",trainingType:x,entryPoint:k??"sentence",itemRef:N??null,correct:ye,total:Q,score:typeof ge?.score=="number"?ge.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-R.current)/1e3)),dailyTotal:T??null}),oe={correct:ye,total:Q}}He(null),We(()=>{typeof b=="function"&&b(oe),typeof m=="function"&&m()})},[b,m,x,k,T,N,Me,He,We]),Ot=s.useCallback(()=>pt(""),[pt]),tn=s.useCallback(()=>{We(()=>{typeof m=="function"&&m()})},[m,We]),Ht=t.jsxs("div",{className:`page-popup${Re?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":qe,children:[t.jsxs("div",{ref:le,className:`page-popup__panel ${Le?"":"page-popup__panel--measuring"} ${Ne==="center"?"page-popup__panel--center":Ne==="top"?"page-popup__panel--top":""}`,children:[t.jsx(Fl,{title:xt,subtitle:$?E.subtitle||E.label:Array.isArray(o)?o.join(" / "):void 0,desc:$?void 0:r,depth:$?E.depth:o,icon:$?E.icon:i,wrapperStyle:$?E.wrapperStyle:l,iconTooltip:$?E.iconTooltip:c,progressMax:tt,progressIndex:Pe,pageIndex:Pe,pageCount:tt,onBack:tn,onClose:tn}),t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:`page-popup__content ${Ne==="center"?"page-popup__content--center":"page-popup__content--top"}`,children:P?en:$?Qt:typeof y=="function"?y({registerOnNext:Bt,registerOnResult:Yt,panelRef:le,setResultOverlay:He}):y})}),t.jsx(Il,{onSettings:g,onNext:yn,onResult:Ut,useNoiseSettingBtn:!!($?E.useNoiseSetting??!0:C),stepIndex:it,stepCount:et,pageIndex:Pe,pageCount:tt})]}),Me&&!Me.isEmpty&&(D??h5)({score:Me.score,results:Me.results||Me.answers||[],contextsLength:Me.results?Me.results.length:Me.answers?Me.answers.length:0,onReplay:()=>{if(He(null),$){if(Ve(La()),typeof n?.onReplay=="function")try{n.onReplay()}catch{}return}if(P){Ve(La());return}try{const oe=le.current&&le.current._childOnResult;typeof oe=="function"&&oe({replay:!0})}catch{}},onClose:Lt}),Me?.isEmpty&&t.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":S("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:t.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"page-popup__empty",children:S("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),t.jsx("div",{className:"page-popup__bottom",children:t.jsx(se,{htmlType:"button",variant:"main",size:48,onClick:Lt,label:S("training.result.done","\uC644\uB8CC")})})]})}),t.jsx($n,{message:Ze,position:"top",onClose:Ot})]}),Gt=t.jsx(Pr.Provider,{value:Ae,children:Ht});return typeof document<"u"&&document.body?It.createPortal(Gt,document.body):Gt}const gn=m5;gn.Page=Ma,gn.ListenStep=zl,gn.ConfirmStep=Wl,gn.ConfirmWithTextStep=ql,gn.OrderListStep=Ul,gn.CardStep=Gl,gn.CardOrderStep=c5;function f5({label:e,homonum:n}){const a=Tn()?.(e,n)??"",{imgRef:r,loading:o,hasImage:i,onLoad:l,onError:c}=Ar(a);return i?t.jsxs("div",{className:"tooltip-word-image__cell",children:[o&&t.jsx("div",{className:"tooltip-word-image__spinner"}),t.jsx("img",{ref:r,src:a,alt:e,draggable:!1,style:{opacity:o?0:1},onLoad:l,onError:c})]}):t.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:t.jsx("span",{children:e})})}function Xl({words:e,anchorRect:n}){const a=s.useRef(null),[r,o]=s.useState(null);return s.useLayoutEffect(()=>{if(!n||!a.current)return;const{offsetWidth:i,offsetHeight:l}=a.current,c=window.innerWidth;let u=n.left+n.width/2-i/2,d=n.top-l-8;d<8&&(d=n.bottom+8),u=Math.max(8,Math.min(u,c-i-8)),o({left:u,top:d})},[n]),!n||e.length===0?null:It.createPortal(t.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:t.jsx("div",{className:"tooltip-word-image__cells",children:e.map(i=>t.jsx(f5,{label:i.label,homonum:i.homonum},`${i.label}_${i.homonum??1}`))})}),document.body)}function C5({titleIcon:e,resultCount:n,resultUnit:a,searchQuery:r,items:o,groups:i,selected:l=[],onSelect:c,maxSelect:u,onClearSelection:d,onPrint:h,onPrintEmpty:p,className:m,emptyHint:b,sectionType:f="page",disc:g,notice:C}){const{t:y,i18n:w}=fe.useTranslation(),_=w.language?.startsWith("ko")??!1,{anchorRect:v,openAt:A,close:x}=xa(),[k,T]=s.useState(null),N=s.useCallback(()=>{x(),T(null)},[x]);F0(N,!!k);const D=(r??"").trim(),F=/^[^,[\]\s]+$/.test(D)?D:"",R=F.length>0,[S,z]=s.useState(()=>R?"match":"ganada"),[$,ee]=s.useState("50"),[E,H]=s.useState(1),[X,q]=s.useState(R);X!==R&&(q(R),z(R?"match":"ganada"));const M=S==="match"&&!R?"ganada":S,j=s.useMemo(()=>[...R?[{value:"match",label:y("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],{value:"ganada",label:y("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:y("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:y("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:y("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:y("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:y("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[y,R]),L=s.useMemo(()=>["10","25","50","100"].map(de=>({value:de,label:y("wordSearch.pageSize",{count:Number(de),defaultValue:`${de}\uAC1C\uC529 \uBCF4\uAE30`})})),[y]),P=de=>de.words[0],G=s.useCallback((de,J)=>{const ne=Ne=>P(Ne)?.label??"",Ae=Ne=>P(Ne)?.syllables??[...ne(Ne)].length,le=Ne=>{const Be=parseInt(P(Ne)?.grade??"",10);return Number.isFinite(Be)?Be:999};switch(M){case"match":{const Ne=[...F].length,Be=Re=>Fm(ne(Re).slice(0,Ne),F)?0:1;return Be(de)-Be(J)||ne(de).localeCompare(ne(J),"ko")}case"ganada":return ne(de).localeCompare(ne(J),"ko");case"ganada_desc":return ne(J).localeCompare(ne(de),"ko");case"syllable":return Ae(de)-Ae(J)||ne(de).localeCompare(ne(J),"ko");case"syllable_desc":return Ae(J)-Ae(de)||ne(de).localeCompare(ne(J),"ko");case"grade":return le(de)-le(J)||ne(de).localeCompare(ne(J),"ko");case"grade_desc":return le(J)-le(de)||ne(de).localeCompare(ne(J),"ko");default:return 0}},[M,F]),I=s.useMemo(()=>o.slice().sort(G),[o,G]),K=Number($)||10,W=s.useMemo(()=>(i??[]).flatMap(de=>de.items.slice().sort(G).map(J=>({item:J,label:de.label}))),[i,G]),re=i?W.length:I.length,ue=Math.max(1,Math.ceil(re/K)),be=Math.min(E,ue),ve=s.useMemo(()=>I.slice((be-1)*K,be*K),[I,be,K]),Ce=s.useMemo(()=>{if(!i)return null;const de=W.slice((be-1)*K,be*K),J=new Map;for(const{item:ne,label:Ae}of de)J.has(Ae)||J.set(Ae,[]),J.get(Ae).push(ne);return[...J.entries()].map(([ne,Ae])=>({label:ne,items:Ae}))},[i,W,be,K]);s.useEffect(()=>{H(1)},[S,$,re]);const O=re>0?t.jsxs("div",{className:"word-search-result-block__toolbar",children:[t.jsx(Wt,{size:40,options:j,value:M,onChange:z,ariaLabel:y("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),t.jsx(Wt,{size:40,options:L,value:$,onChange:ee,ariaLabel:y("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),t.jsx(wa,{page:be,totalPages:ue,onChange:H})]}):void 0,te=de=>{c&&c(de)},ce=n!==void 0&&a?t.jsxs(t.Fragment,{children:[y("wordSearch.resultTitlePrefix","\uCD1D "),t.jsx("span",{style:{color:"var(--color-main)"},children:n}),y("wordSearch.resultTitleSuffix",{unit:_?Km(a):a})]}):void 0,ke=n!==void 0&&n>0&&u!==void 0&&a?y("wordSearch.resultDisc",{unit:_?Ym(a):a,max:u,selected:l.length}):void 0,_e=g??(C?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"word-search-result-block__notice",children:C}),ke?t.jsx("span",{className:"word-search-result-block__disc",children:ke}):null]}):ke);return t.jsxs(Rn,{type:f,icon:e,title:ce,action:O,disc:_e,className:xe("word-search-result-block",m),children:[t.jsxs("div",{className:"word-search-result-block__inner",children:[(i?i.length===0:o.length===0)&&t.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[t.jsx("p",{className:"word-search-result-block__empty body-3",children:y("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),b&&t.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:b})]}),i?(Ce??[]).map(de=>t.jsx("div",{className:"word-search-result-block__group",children:t.jsx("div",{className:"word-search-result-block__items",children:de.items.map(J=>{const ne=l.includes(J.id);return t.jsx("div",{onMouseEnter:Ae=>{A(Ae.currentTarget),T(J.words)},onMouseLeave:N,children:t.jsx(se,{htmlType:"button",size:"word",align:"grid",label:J.words.map(Ae=>Ae.label),subLabel:J.words.map(Ae=>Ae.subLabel).filter(Boolean).length>0?J.words.map(Ae=>Ae.subLabel):void 0,selected:ne,onClick:()=>te(J.id),minWidth:200})},J.id)})})},de.label)):t.jsx("div",{className:"word-search-result-block__items",children:ve.map(de=>{const J=l.includes(de.id);return t.jsx("div",{onMouseEnter:ne=>{A(ne.currentTarget),T(de.words)},onMouseLeave:N,children:t.jsx(se,{htmlType:"button",size:"word",align:"grid",label:de.words.map(ne=>ne.label),subLabel:de.words.map(ne=>ne.subLabel).filter(Boolean).length>0?de.words.map(ne=>ne.subLabel):void 0,selected:J,onClick:()=>te(de.id),minWidth:200})},de.id)})}),k&&v&&t.jsx(Xl,{words:k,anchorRect:v})]}),ue>1&&t.jsx("div",{className:"word-search-result-block__pagination-bottom",children:t.jsx(wa,{page:be,totalPages:ue,onChange:H})}),(d||h)&&t.jsxs("div",{className:"word-search-result-block__actions",children:[d&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",label:y("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:d}),h&&t.jsx("div",{onClick:l.length===0?p:void 0,children:t.jsx(se,{htmlType:"button",size:"56",type:"bar",variant:"main",label:y("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:h})})]})]})}function g5(e,n){return n.map(a=>{const r=typeof a=="string"?a:a.label,o=typeof a=="string"?void 0:a.displayLabel;return{label:r,value:e[r]??"",displayLabel:o}})}function b5({sections:e,selectedList:n,count:a,onCountChange:r,maxCount:o=4,minCount:i=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:u,placeholder:d="-",className:h,title:p,titleIcon:m,disc:b,showInfoButton:f=!1,onClearPhoneme:g,onSearch:C,onSearchEmpty:y,searchDisabled:w=!1,searchLabel:_,searchChecking:v=!1,pairMode:A=!1,sectionType:x="page",beforeSearchContent:k,beforeContent:T,afterContent:N,hideCountControl:D=!1,ordinal:F=!1}){const{t:R}=fe.useTranslation(),S=s.useMemo(()=>R("wordPairs.infoNotes",{returnObjects:!0}),[R]),z=s.useMemo(()=>Array.from({length:o-i+1},(I,K)=>{const W=i+K;return{key:String(W),label:R("wordPairs.count",{n:W})}}),[R,o,i]),$=s.useMemo(()=>R("wordPairs.ordinals",{returnObjects:!0}),[R]),ee=s.useCallback(I=>F?R("wordPairs.phonemeOrdinalLabel",{ordinal:$[I-1]??I}):a===1?R("wordPairs.phonemeSingleLabel","\uC74C\uC808"):R("wordPairs.phonemeN",{n:I}),[F,$,a,R]),E=s.useCallback(I=>F?R("wordPairs.phonemeContrastOrdinalLabel",{ordinal:$[I-1]??I}):a===1?R("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):R("wordPairs.phonemeContrast",{n:I}),[F,$,a,R]),H=s.useCallback((I,K)=>K?t.jsxs(t.Fragment,{children:[I,t.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):I,[]),{anchorRect:X,toggleAt:q,close:M}=xa(),j=s.useCallback(I=>r(Number(I)),[r]),L=Kt("(max-width: 767px)"),P=s.useCallback(I=>g5(I,e).map(({label:K,value:W,displayLabel:re})=>{const ue=!!W&&W!=="\uC5C6\uC74C";return t.jsxs("span",{className:xe("phoneme-select-block__cell-jamo-part",W?"":"phoneme-select-block__cell-jamo-part--empty",ue?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[t.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${W==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:W==="\uC5C6\uC74C"?"x":W||d}),ue&&t.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:re??K})]},K)}),[e,d]),G=t.jsxs(t.Fragment,{children:[t.jsx("div",{"data-tooltip-ignore":!0,children:t.jsx(se,{htmlType:"button",size:40,type:L?"dot":void 0,icon:"info",label:L?void 0:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),selected:!!X,onClick:I=>q(I.currentTarget)})}),X&&t.jsx(wn,{title:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:S,anchorRect:X,onClose:M})]});return t.jsxs(Rn,{type:x,title:p,icon:m,disc:b,action:G,className:xe("phoneme-select-block",h),children:[T,(!D||f&&!(p||b))&&t.jsxs("div",{className:"phoneme-select-block__controls",children:[!D&&t.jsx(Bn,{options:z,value:String(a),onChange:j,size:40,className:"phoneme-select-block__count-control"}),f&&!(p||b)&&G]}),t.jsx("div",{className:"phoneme-select-block__cells",children:A?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,K)=>{const W=n[K*2]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:P(W)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:ee(K+1)})]},K)})}),t.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:R("wordPairs.phonemeSelect.vs","\uB300")}),t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,K)=>{const W=n[K*2+1]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:P(W)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:E(K+1)})]},K)})})]}):n.map((I,K)=>t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:P(I)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:ee(K+1)})]},K))}),(l||c)&&t.jsx("div",{className:"phoneme-select-block__panels",children:t.jsx("div",{className:"phoneme-select-block__detail",children:A?t.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,K)=>{const W=n[K*2]??{};return t.jsx(ln,{title:H(ee(K+1),K===0),sections:c?c(W,K*2):l,selected:W,onSelect:u?.(K*2),align:"newline"},K)})}),t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,K)=>{const W=n[K*2+1]??{};return t.jsx(ln,{title:E(K+1),sections:c?c(W,K*2+1):l,selected:W,onSelect:u?.(K*2+1),align:"newline"},K)})})]}):n.map((I,K)=>t.jsx(ln,{title:H(ee(K+1),K===0),sections:c?c(I,K):l,selected:I,onSelect:u?.(K),align:"newline"},K))})}),k&&t.jsx("div",{className:"phoneme-select-block__before-search",children:k}),(g||C||v)&&(()=>{const I=n.every(K=>Object.entries(K).every(([W,re])=>!re||W==="\uC885\uC131"&&re==="\uC5C6\uC74C"));return t.jsxs("div",{className:"phoneme-select-block__search-row",onClick:I?y:void 0,children:[g&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",label:R("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:I,onClick:I?void 0:g}),v?t.jsxs("div",{className:"phoneme-select-block__checking",children:[t.jsx("div",{className:"phoneme-select-block__spinner"}),t.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):C&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",variant:"main",label:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:I||w,onClick:I||w?void 0:C})]})})(),N]})}function y5({title:e,sections:n,selected:a,onSelect:r,className:o}){const{t:i}=fe.useTranslation();return t.jsx(ln,{className:o,title:e??i("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:n,selected:a,onSelect:r,align:"inline"})}function v5({title:e,headerAction:n,sections:a,selected:r,onSelect:o,className:i}){const{t:l}=fe.useTranslation();return a.length===0?null:t.jsx(ln,{className:i,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:n,sections:a,selected:r,onSelect:o,align:"newline"})}function x5({title:e,mode:n,onModeChange:a,matchMode:r,onMatchModeChange:o,positionCount:i,onPositionCountChange:l,inputMode:c,onInputModeChange:u,className:d}){const{t:h}=fe.useTranslation(),p={searchMode:h("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:h("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:h("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:h("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:h("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:h("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:h("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:h("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:h("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:h("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:h("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=C=>h("wordPairs.count",{n:C}),b=[{label:p.searchMode,items:[p.include,p.pick,p.explicit],display:"segmented",labelAction:t.jsx(aa,{title:h("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[h("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),h("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),h("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:p.phonemeOrder,items:[p.orderAny,p.orderMatch],display:"segmented",labelAction:t.jsx(aa,{items:h("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:p.count,items:[m(1),m(2)],display:"segmented"},{label:p.inputMode,items:[p.charInput,p.pronInput],display:"segmented",labelAction:t.jsx(aa,{title:h("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[h("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),h("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],f={[p.searchMode]:n==="explicit"?p.explicit:n==="pick"?p.pick:p.include,[p.phonemeOrder]:r==="ordered"?p.orderMatch:p.orderAny,[p.count]:m(i),[p.inputMode]:c==="phoneme"?p.pronInput:p.charInput},g=(C,y)=>{y===p.searchMode?a(C===p.explicit?"explicit":C===p.pick?"pick":"include"):y===p.phonemeOrder?o(C===p.orderMatch?"ordered":"unordered"):y===p.count?l(C===m(2)?2:1):y===p.inputMode&&u(C===p.pronInput?"phoneme":"word")};return t.jsx(ln,{className:d,title:e??h("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:b,selected:f,onSelect:g,align:"inline"})}function _5(e){const{title:n,items:a,columns:r,gridTemplateColumns:o,searchPlaceholder:i,searchFn:l,defaultSortKey:c,defaultSortAsc:u=!0,selectedId:d,selectedIds:h,onSelect:p,onClose:m,pageSizeOptions:b=[10,25,50,100],initialPageSize:f,emptyText:g,countLabel:C,topContent:y,className:w=""}=e,{t:_}=fe.useTranslation(),v=i??_("common.search","\uAC80\uC0C9"),A=g??_("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[x,k]=s.useState(""),[T,N]=s.useState(c??r[0]?.key??""),[D,F]=s.useState(u),[R,S]=s.useState(String(f??b[0]??10)),[z,$]=s.useState(1);s.useEffect(()=>{$(1)},[x,R]);const ee=l!==null,E=s.useCallback((I,K)=>{if(!K)return!0;const W=K.toLowerCase();return r.some(re=>{const ue=I[re.key];return ue==null?!1:String(ue).toLowerCase().includes(W)})},[r]),H=l??E,X=s.useMemo(()=>{const I=ee?a.filter(K=>H(K,x)):a;return T?[...I].sort((K,W)=>{const re=K[T]??"",ue=W[T]??"";if(re===ue)return 0;const be=X4(re,ue);return D?be:-be}):I},[a,x,T,D,ee,H]),q=Math.max(1,Math.ceil(X.length/Number(R))),M=X.slice((z-1)*Number(R),z*Number(R)),j=s.useCallback(I=>{T===I?F(K=>!K):(N(I),F(!0))},[T]),L=s.useMemo(()=>{if(typeof C=="function"){const I=X.length,K=C(I);if(typeof K=="string"){const W=K.lastIndexOf(String(I));if(W>=0)return{prefix:K.slice(0,W),suffix:K.slice(W+String(I).length)}}return{label:K}}if(typeof C=="string"&&C.includes("{n}")){const[I,K]=C.split("{n}");return{prefix:I,suffix:K}}return{prefix:_("common.totalCountPrefix","\uCD1D "),suffix:_("common.totalCountSuffix","\uAC1C")}},[C,X.length,_]),P=s.useMemo(()=>r.map(I=>({label:I.label,onClick:I.sortable!==!1?()=>j(I.key):void 0,className:I.className,sortDir:I.sortable!==!1&&T===I.key?D?"asc":"desc":null})),[r,T,D,j]),G=s.useMemo(()=>b.map(I=>({value:String(I),label:_("common.pageSizeLabel",{n:I})})),[b,_]);return t.jsxs(fn,{className:`popup-list ${w}`,title:n,onClose:m,children:[y,"label"in L&&t.jsx("p",{className:"toolbar__count body-1",children:L.label}),t.jsx(fr,{count:"label"in L?void 0:{value:X.length,prefix:L.prefix,suffix:L.suffix},search:ee?{value:x,onChange:k,placeholder:v}:void 0,pageSize:{options:G,value:R,onChange:S},pagination:{page:z,total:q,onChange:$}}),t.jsx(wr,{size:"medium",gridTemplateColumns:o,resizable:!0,fields:P,items:M,onRowClick:p,renderRow:I=>{const K=h!=null?I.id!=null&&h.has(I.id):d!=null&&I.id===d;return r.map(W=>({content:W.render?W.render(I):I[W.key]??"",className:K?"popup-list__row--selected":W.className}))},empty:A})]})}function w5(e){const{title:n,message:a,topContent:r,details:o,children:i,confirmLabel:l,cancelLabel:c,hideCancel:u=!1,extraAction:d,confirmVariant:h="main",confirmDisabled:p=!1,onConfirm:m,closeOnConfirm:b=!0,onClose:f,inline:g,size:C="small",className:y}=e,{t:w}=fe.useTranslation(),_=s.useRef(!1),[v,A]=s.useState(!1);return t.jsxs(fn,{title:n,onClose:f,closeDisabled:v,inline:g,size:C,className:xe("confirm-popup",y),buttons:[...d?[{label:d.label,variant:d.variant??"default",disabled:d.disabled||v,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,A(!0);try{await d.onClick(x),(d.closeOnClick??!0)&&x()}finally{_.current=!1,A(!1)}}}}]:[],...u?[]:[{label:c??w("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:v,onClick:({closeWithAnimation:x})=>x()}],{label:l??w("common.confirm","\uD655\uC778"),variant:h,disabled:p||v,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,A(!0);try{await m(x),b&&x()}finally{_.current=!1,A(!1)}}}}],children:[r!=null&&t.jsx("div",{className:"confirm-popup__top",children:r}),o&&o.length>0&&t.jsx(Ea,{children:o.map((x,k)=>t.jsx(Cn,{label:x.label,children:t.jsx("span",{className:"panel-row__text body-2",children:x.value})},k))}),t.jsx("p",{className:"body-2 confirm-popup__message",children:a}),i]})}function k5({onApply:e,onCancel:n}){const{t:a}=fe.useTranslation(),[r,o]=s.useState(""),[i,l]=s.useState(!1),[c,u]=s.useState(null),d=s.useRef(null);s.useEffect(()=>{d.current?.focus()},[]);const h=s.useCallback(async b=>{const f=r.trim();if(f){l(!0),u(null);try{await e(f),b()}catch(g){u(cs(g)),l(!1)}}},[r,e]),p=s.useCallback((b,f)=>{b.key==="Enter"&&h(f)},[h]),m=b=>{o(b.target.value),u(null)};return t.jsx(fn,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:n,closeDisabled:i,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:i,onClick:({closeWithAnimation:b})=>b()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||i,onClick:({closeWithAnimation:b})=>{h(b)}}],children:({closeWithAnimation:b})=>t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:d,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:m,onKeyDown:f=>p(f,b),disabled:i,autoComplete:"off",spellCheck:!1}),c&&t.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}const A5=200;function N5(e){return e.itemId?(f0()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function B5({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:o}=fe.useTranslation(),i=s.useMemo(()=>C0.map(c=>({type:c,items:(e.items??[]).filter(u=>u.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items]);if(i.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:i.flatMap(({type:c,items:u},d)=>[d>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),t.jsx("div",{className:"tooltip-training__items",children:u.map((h,p)=>{const m=N5(h);return m?t.jsx(kr,{index:p,type:c,trainingData:m,size:"compact",hideCheckBadge:!0},h.itemId??p):null})})]},c.key)])})});return n?t.jsx(pn,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:o("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const Jl=["var(--color-main)","var(--color-sub)"],D5=2e3;function S5(e,n){if(!n.startsWith("var("))return n;try{const a=n.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(a).trim()||null}catch{return null}}function Ql({active:e=!1,count:n=40,duration:a=2e3,strength:r=1,onComplete:o,trigger:i=0}){const l=s.useMemo(()=>{const g=Math.floor(n/2),C=n-g,y=(w,_)=>Array.from({length:w}).map((v,A)=>{const x=6+Math.random()*12,k=Math.round(Math.min(18,x*Math.min(1.5,1+r*.4))),T=Jl[Math.floor(Math.random()*Jl.length)],N=Math.random()*300,D=(360+Math.random()*260)*r*1.2,F=(_==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,R=Math.cos(F)*D,S=Math.sin(F)*D*1.35,z=Math.random()*720-360,$=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),ee=Math.random()>.7?"50%":"3px";return{id:`${_}-${A}`,side:_,size:k,color:T,delay:N,vx:R,vy:S,angularVel:z,life:$,borderRadius:ee}});return[...y(g,"left"),...y(C,"right")]},[n,r]),c=s.useRef(null),u=s.useRef({}),d=s.useRef(null),h=s.useRef(o);s.useEffect(()=>{h.current=o},[o]);const p=s.useRef(null),m=s.useRef(null),b=()=>{if(typeof document>"u")return null;let g=document.querySelector("[data-ihab-effect-root]");return g||(g=document.createElement("div"),g.className="app-effect",g.dataset.ihabEffectRoot="",g.style.position="fixed",g.style.inset="0",g.style.pointerEvents="none",g.style.zIndex="99998",document.body.appendChild(g)),g};if(typeof document<"u"&&m.current==null&&(m.current=b()),s.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){h.current?.();return}const g=1200,C=performance.now(),y=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,w=Math.max(60,(window.innerHeight||800)*.05),_=M=>Math.max(40,(M||window.innerWidth)*.02),v=y?.width||window.innerWidth||375,A=y?.height||window.innerHeight||812,x=M=>{const j=[...M].sort((L,P)=>L-P);return j[Math.floor(j.length/2)]||1},k=x(l.map(M=>Math.abs(M.vy))),T=x(l.map(M=>Math.abs(M.vx))),N=Math.sqrt(2*g*(A*.72+w))/k,D=k*N/g,F=v*.5/(T*D),R=(M,j,L)=>Math.min(L,Math.max(j,M)),S=R(N,.8,2.4),z=R(F,.7,2.2),$=a>0?a/D5:1,ee=l.map(M=>({...M,life:M.life*$,vx:M.vx*z,vy:M.vy*S,startTime:C+M.delay,ended:!1})),E=y?{x:y.left-_(y.width),y:y.top+y.height+w}:{x:-_(window.innerWidth),y:window.innerHeight+w},H=y?{x:y.left+y.width+_(y.width),y:y.top+y.height+w}:{x:window.innerWidth+_(window.innerWidth),y:window.innerHeight+w},X=M=>{let j=!1;for(const L of ee){const P=u.current[L.id];if(!P||!P)continue;if(M<L.startTime){P.style.display="none";continue}if(!L._inited){const O=L.side==="left"?E.x:H.x,te=L.side==="left"?E.y:H.y;P.style.left=`${O}px`,P.style.top=`${te}px`,P.style.transform="translate3d(0px, 0px, 0)",P.style.display="block",P.style.zIndex="100000",typeof L.color=="string"&&L.color.startsWith("var(")&&(P.style.background=S5(P,L.color)??"#FF0060"),L._inited=!0}const G=(M-L.startTime)/1e3;if(G<0)continue;const I=L.life/1e3;if(G>=I){P.style.opacity="0",P.style.display="none",L.ended=!0;continue}j=!0;const K=L.side==="left"?E.x:H.x,W=L.side==="left"?E.y:H.y,re=K+L.vx*G,ue=W+L.vy*G+.5*g*G*G,be=(L.angularVel||0)*G,ve=re-K,Ce=ue-W;P.style.transform=`translate3d(${ve}px, ${Ce}px, 0) rotate(${be}deg)`,P.style.opacity=`${Math.max(0,1-G/I)}`}j?d.current=requestAnimationFrame(X):h.current?.()};d.current=requestAnimationFrame(X);const q=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const M=document.createElement("div");M.className="party-container",M.style.position="fixed",M.style.inset="0",M.style.pointerEvents="none",M.style.overflow="visible",M.style.zIndex="2147483647";for(const j of l){const L=document.createElement("span");L.className=`confetti confetti--${j.side}`,L.setAttribute("aria-hidden","true"),L.style.display="none",L.style.position="fixed",L.style.left="0px",L.style.top="0px",L.style.width=`${j.size}px`,L.style.height=`${Math.max(4,j.size*.6)}px`,L.style.background=j.color,L.style.borderRadius=j.borderRadius,L.style.transform="translate3d(0,0,0)",L.style.opacity="0",M.appendChild(L),u.current[j.id]=L}(document.body||m.current).appendChild(M),p.current=M}}catch{}},300);return()=>{if(d.current&&cancelAnimationFrame(d.current),clearTimeout(q),p.current){try{p.current.remove()}catch{}p.current=null}}},[e,a,i,l]),!e)return null;const f=t.jsx("div",{className:"party-container",ref:c,children:l.map(g=>t.jsx("span",{"aria-hidden":!0,ref:C=>{u.current[g.id]=C},className:`confetti confetti--${g.side}`,style:{width:`${g.size}px`,height:`${Math.max(4,g.size*.6)}px`,background:g.color,borderRadius:g.borderRadius}},`${g.id}-${i}`))});return typeof document<"u"?It.createPortal(f,m.current||document.body):f}function j5({trigger:e=0,active:n=!1}){const a=s.useRef(0);return s.useEffect(()=>{a.current=e},[e]),t.jsx(Ql,{active:n,trigger:e})}function T5({title:e,sub:n,rightAction:a,titleAction:r,badge:o,badgeVariant:i="default",documentTitle:l,onBack:c,backLabel:u,wrap:d=!1}){const{t:h}=fe.useTranslation();S0(typeof e=="string"?e:l??null);const p=u??h("common.back","\uB4A4\uB85C");return t.jsxs("div",{className:d?"page-title page-title--wrap":"page-title",children:[t.jsxs("div",{className:"page-title__main",children:[t.jsxs("div",{className:"page-title__title-row",children:[c&&t.jsx(se,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:p,showTooltipInfo:p,onClick:c}),t.jsx("h1",{className:"page-title__title h1",children:e}),o&&t.jsx("div",{className:"page-title__badge",children:t.jsx(ot,{label:o,size:"small",variant:i,fill:"outline"})}),r?t.jsx("div",{className:"page-title__title-action",children:r}):null]}),n&&t.jsx("p",{className:"page-title__sub body-2",children:n})]}),a?t.jsx("div",{className:"page-title__action",children:a}):null]})}function E5(e){return e??""}const ec=s.createContext({words:[],loading:!1});function M5(){return s.useContext(ec)}function L5({words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u,children:d}){return t.jsx(ec.Provider,{value:{words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u},children:d})}function $5({items:e,actions:n,columns:a,flat:r=!1,className:o,style:i}){const l=a??e.length;return t.jsx("section",{className:xe("summary-strip",r&&"summary-strip--flat",o),style:{"--summary-strip-cols":String(l),...i},children:t.jsxs("div",{className:"summary-strip__row",children:[t.jsx("div",{className:"summary-strip__items",children:e.map((c,u)=>t.jsxs("div",{className:"summary-strip__item",children:[t.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),t.jsx("p",{className:"summary-strip__value body-3b",children:c.value})]},u))}),n&&t.jsx("div",{className:"summary-strip__actions",children:n})]})})}const R5=(e,n)=>`${e} / ${n}`;function P5({blocks:e,sectionTitles:n,logo:a,footer:r,pageLabel:o=R5,pageWidth:i,pageHeight:l,margin:c,className:u,style:d}){const{t:h}=fe.useTranslation(),p=s.useRef(null),m=s.useRef(null),b=s.useRef(null),f=s.useRef(null),[g,C]=s.useState(null),[y,w]=s.useState(!1);s.useEffect(()=>{const D=p.current;if(!D)return;const F=()=>w(D.scrollWidth>D.clientWidth+1);if(F(),typeof ResizeObserver>"u")return;const R=new ResizeObserver(F);return R.observe(D),()=>R.disconnect()},[g]);const _=e.map(D=>`${D.id}\0${D.section??""}\0${D.group??""}`).join("");s.useLayoutEffect(()=>{const D=m.current,F=f.current;if(!D||!F)return;const R=b.current?.offsetHeight??0,S=F.offsetHeight-R,z=Array.from(D.children).map(q=>q.offsetHeight),$=[];e.forEach((q,M)=>{const j=$[$.length-1],L=j?e[j[0]]:void 0;L&&q.group!=null&&L.group===q.group?j.push(M):$.push([M])});const ee=[];let E=[],H=0;const X=()=>{E.length&&ee.push(E),E=[],H=0};$.forEach(q=>{const M=q.reduce((j,L)=>j+z[L],0);E.length&&e[E[0]].section!==e[q[0]].section&&X(),E.length&&H+M>S&&X(),M>S?q.forEach(j=>{E.length&&H+z[j]>S&&X(),E.push(j),H+=z[j]}):(q.forEach(j=>E.push(j)),H+=M)}),X(),C(ee)},[_]);const v=mr,A=v,x=r??t.jsxs(t.Fragment,{children:[t.jsx("img",{src:A,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),k=(D,F,R)=>({header:t.jsxs("div",{className:"report-doc__header",children:[t.jsx("h2",{className:"report-doc__title h3b",children:R!=null&&n?.[R]||null}),a]}),footer:t.jsxs("div",{className:"report-doc__footer caption-1",children:[t.jsx("span",{className:"report-doc__footer-left",children:x}),t.jsx("span",{className:"report-doc__page-no",children:o(D,F)})]})}),T=k(1,1,e[0]?.section),N={...i?{"--report-page-w":i}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...d};return t.jsxs("div",{ref:p,className:xe("report-doc",u),style:N,tabIndex:y?0:void 0,role:y?"group":void 0,"aria-label":y?h("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[t.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[t.jsx("div",{ref:f,className:"report-doc__ruler"}),t.jsxs("div",{ref:b,children:[T.header,T.footer]}),t.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(D=>t.jsx("div",{children:D.content},D.id))})]}),g&&t.jsx("div",{className:"report-doc__pages",children:g.map((D,F)=>{const{header:R,footer:S}=k(F+1,g.length,e[D[0]].section);return t.jsxs("section",{className:"report-doc__page",children:[R,D.map(z=>t.jsx("div",{children:e[z].content},e[z].id)),S]},F)})})]})}function I5({title:e,fields:n,columns:a=4,className:r,style:o}){return t.jsxs("div",{className:xe("report-info",r),style:{"--report-info-cols":String(a),...o},children:[e&&t.jsx("p",{className:"report-info__title h5b",children:e}),t.jsx("div",{className:"report-info__grid",children:n.map((i,l)=>t.jsxs("div",{className:"report-info__field body-2",children:[t.jsx("span",{className:"report-info__label body-3",children:i.label}),t.jsx("span",{className:"report-info__value",children:i.value})]},l))})]})}function F5({title:e,message:n,actionLabel:a,onAction:r,icon:o,onClose:i,className:l=""}){const{t:c}=fe.useTranslation(),u=a??c("common.update","\uC5C5\uB370\uC774\uD2B8");return t.jsxs("div",{className:xe("update-alert",l),role:"alert",children:[i&&t.jsx("button",{type:"button",className:"update-alert__close",onClick:i,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),t.jsxs("div",{className:"update-alert__top",children:[t.jsx("div",{className:"update-alert__icon",children:o??t.jsx(Co,{size:20,strokeWidth:2})}),t.jsxs("div",{className:"update-alert__body",children:[t.jsx("div",{className:"update-alert__title h4",children:e}),t.jsx("div",{className:"update-alert__message body-3",children:n})]})]}),r&&t.jsx(se,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:u})]})}function O5({title:e,description:n,topActions:a,children:r,footerLeft:o,footerRight:i,onClick:l,draggable:c,onDragStart:u,onDragEnd:d,className:h}){const p=o!=null||i!=null,m=r!=null&&r!==!1,b=s.useCallback(f=>{l&&f.target===f.currentTarget&&(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),l())},[l]);return t.jsxs("div",{className:xe("training-card",l?"training-card--clickable":"",h),onClick:l,onKeyDown:l?b:void 0,role:l?"button":void 0,tabIndex:l?0:void 0,draggable:c,onDragStart:u,onDragEnd:d,children:[t.jsxs("div",{className:"training-card__header",children:[t.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?t.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&t.jsx("div",{className:"training-card__top-actions",onClick:f=>f.stopPropagation(),children:a})]}),n!=null?typeof n=="string"?t.jsx("p",{className:"training-card__description body-3",children:n}):n:t.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),m&&t.jsx("div",{className:"training-card__body",children:r}),p&&t.jsxs("div",{className:"training-card__footer",children:[o!=null&&t.jsx("div",{className:"training-card__footer-left",children:o}),i!=null&&t.jsx("div",{className:"training-card__meta",children:i})]})]})}function H5({title:e,count:n,collapsed:a=!1,onToggle:r,sort:o,actions:i,empty:l=!1,emptyContent:c,dragOver:u=!1,onDragOver:d,onDragLeave:h,onDrop:p,children:m,className:b}){const{t:f}=fe.useTranslation(),g=r!=null,C=xe("training-card-group",u&&"training-card-group--dragover",a&&"training-card-group--collapsed",g&&"training-card-group--collapsible",b);return t.jsxs("div",{className:C,onDragOver:d,onDragLeave:h,onDrop:p,children:[t.jsxs("header",{className:"training-card-group__header",children:[g&&t.jsx(se,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron",onClick:r}),typeof e=="string"?t.jsx("span",{className:"training-card-group__title h5b",children:e}):e,n!==void 0&&t.jsx("span",{className:"training-card-group__count body-3b",children:n}),(o||i!=null)&&t.jsxs("span",{className:"training-card-group__actions",onClick:y=>y.stopPropagation(),children:[o&&t.jsx(Wt,{size:40,options:o.options,value:o.value,placeholder:o.placeholder,onChange:o.onChange}),i]})]}),!a&&(l?t.jsx("div",{className:"training-card-group__empty body-3",children:c}):t.jsx("div",{className:"training-card-group__grid",children:m}))]})}const V5="speechear:saved_word_tables";function z5(e){if(typeof e!="object"||e===null)return!1;const n=e;return typeof n.id=="string"&&typeof n.name=="string"&&Array.isArray(n.items)}function W5(){try{const e=localStorage.getItem(V5);if(!e)return[];const n=JSON.parse(e);return Array.isArray(n)?n.filter(z5):[]}catch{return[]}}function q5({title:e,titleIcon:n,disc:a,items:r,onSaveComplete:o,onLoad:i,onRemoveItem:l,onReset:c,resetLabel:u,saveButtonLabel:d,secondarySaveButtonLabel:h,onReorder:p,showCellCount:m,onAddItem:b,className:f,renderSavePopup:g,renderWordSearch:C,hideControls:y,saveOnly:w,tableName:_,nameValue:v,onNameChange:A,descriptionValue:x,onDescriptionChange:k,namePlaceholder:T,descriptionPlaceholder:N,existingNames:D,editingName:F,onCancel:R}){const{t:S}=fe.useTranslation(),z=u??S("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),$=r===void 0,ee=!!A,[E,H]=s.useState([]),X=(v??"").trim(),q=X||(T??"").trim(),M=(x??"").trim()||(N??"").trim(),j=(D??[]).map(Y=>Y.trim().toLowerCase()),L=[F?.trim().toLowerCase(),...E].filter(Y=>!!Y),P=[...j];for(const Y of L){const ae=P.indexOf(Y);ae!==-1&&P.splice(ae,1)}const G=X!==""&&P.includes(X.toLowerCase()),[I,K]=s.useState(Array(4).fill(null)),[W,re]=s.useState(4),[ue,be]=s.useState(null),[ve,Ce]=s.useState("landscape"),[O,te]=s.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[ce,ke]=s.useState("\uD45C\uC2DC"),[_e,de]=s.useState(!0),[J,ne]=s.useState(!0),Ae=s.useRef(null),le=s.useRef([]),[Ne,Be]=s.useState(8),[Re,Oe]=s.useState("right"),[Se,Ue]=s.useState(!1),[We,me]=s.useState(!1),{toastMessage:Le,toastType:Te,showWarning:Fe,clearToast:Me}=ai("warning"),He=s.useCallback(()=>be(null),[be]);b&&!$&&!m&&Vn("word-table-block-add-without-cell-count",'[WordTableBlock] \uD45C\uC2DC \uBAA8\uB4DC\uC5D0\uC11C onAddItem \uC740 showCellCount \uC640 \uD568\uAED8 \uC918\uC57C "\uCD94\uAC00\uD558\uAE30" \uCE78\uC774 \uC0DD\uAE34\uB2E4.');const[Ze,pt]=s.useState(()=>Math.max(r?.length??1,1));s.useEffect(()=>{$||pt(Y=>Math.max(Y,r?.length??1))},[r?.length,$]);const Ke=$?W:m?Math.max(Ze,r?.length??1):Math.max(r?.length??0,1),{width:Ve,height:ct}=In[ve],nt=!$&&!m,je=r?.length??0,Qe=Math.min(Ne,Math.max(je,1)),Pe=nt?Qe:Ke,Ye=nt?tl(r??[],Pe):null,ut=!!Ye&&Ye.length>1,et=$?I.some(Y=>Y!==null&&Y.length>1):(r??[]).some(Y=>Y.words.length>1),it=_?.trim()||`${ms(i0())} ${et?S("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):S("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,tt=s.useCallback(()=>ut?le.current.filter(Y=>Y!==null):Ae.current?[Ae.current]:[],[ut]),{print:Bt,openNewWindow:Yt,downloadHtml:ft}=Er({getElements:tt,paperW:Ve,paperH:ct,fileName:it,onPopupBlocked:()=>{Fe(S("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),Xt=Y=>{re(Y),K(ae=>{const $e=Array(Y).fill(null);return ae.slice(0,Y).forEach((Xe,Ge)=>{$e[Ge]=Xe}),$e}),be(null)},Et=Y=>{K(ae=>{const $e=[...ae];return $e[Y]=null,$e}),ue===Y&&be(null)},Mt=Y=>{if(ue===null)return;const ae=ue;K(Xe=>{const Ge=[...Xe];return Ge[ae]=Y,Ge});const $e=I.findIndex((Xe,Ge)=>Ge>ae&&Xe===null);be($e!==-1?$e:null)},Jt=$?I.some(Y=>Y?.some(ae=>!!ae.colloquialPronunciation)):(r??[]).some(Y=>Y.words.some(ae=>!!ae.colloquialLabel)),vt=s.useMemo(()=>Tn()?$?I.flatMap(Y=>(Y??[]).map(ae=>[ae.word,ae.homonum])):(r??[]).flatMap(Y=>Y.words.map(ae=>[ae.label,ae.homonum])):[],[$,I,r]),[bn,Ft]=s.useState(!1);s.useEffect(()=>{if(vt.length===0)return;let Y=!1;return Promise.all(vt.map(([ae,$e])=>os(ae,$e))).then(ae=>{Y||Ft(ae.some(Boolean))}),()=>{Y=!0}},[vt]);const Ut=vt.length>0&&bn,yn=s.useMemo(()=>[...$||m?[{label:S("wordTable.filter.columns","\uCE78 \uC218"),items:I4.map(Y=>({value:`${Y}\uCE78`,displayLabel:S("wordTable.filter.column",{count:Y})})),display:"segmented"}]:[],...nt&&(r?.length??0)>0?[pl(S,{hasPairs:et,itemCount:je})]:[],...ut?[hl(S)]:[]],[S,$,m,nt,r?.length,et,je,ut]),qe={...$||m?{[S("wordTable.filter.columns","\uCE78 \uC218")]:`${$?W:Ze}\uCE78`}:{},...nt&&(r?.length??0)>0?{[S(et?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${Qe}\uAC1C`}:{},...ut?{[S("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:ml[Re]}:{}},xt=(Y,ae)=>{ae===S("wordTable.filter.columns","\uCE78 \uC218")?$?Xt(parseInt(Y)):pt(parseInt(Y)):ae===S(et?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?Be(parseInt(Y)):ae===S("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&Oe(fl(Y))},Dt=$?I.filter(Y=>Y!==null).map(Y=>({id:Y[0].word,words:Y.map(ae=>({label:ae.word,subLabel:ae.pronunciation,homonum:ae.homonum}))})):r??[],Qt=(Y=!1)=>{if(me(Y),ee&&o){const ae=q.trim().toLowerCase();ae&&H($e=>$e.includes(ae)?$e:[...$e,ae]),o(q,Dt,M||void 0,Y);return}if(w&&o){o("",Dt,void 0,Y);return}if(o){Ue(!0);return}ft()},[en,Lt]=s.useState(!1),[Ot,tn]=s.useState(""),Ht=Ot.trim(),Gt=Ht!==""&&j.includes(Ht.toLowerCase()),oe=()=>{tn(q?`${q} (\uBCF5\uC0AC)`:""),Lt(!0)},ge=()=>{!Ht||Gt||!o||(o(Ht,Dt,M||void 0,!0),Lt(!1))},V=Dt.length===0,Q=V||ee&&(q===""||G),he=()=>{if(V){Fe(S("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(ee&&q===""){Fe(S("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}ee&&G&&Fe(S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},ye=t.jsx(Fn,{items:Dt,orientation:ve,contentTypes:O,cutLine:ce,showOutline:_e,showDivLine:J,count:Ke});return t.jsxs(t.Fragment,{children:[t.jsxs(Rn,{type:"page",icon:n,title:e,disc:a,className:xe("word-table-block",f),children:[en&&t.jsx(fn,{size:"small",title:h??S("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>Lt(!1),footer:({closeWithAnimation:Y})=>t.jsxs(t.Fragment,{children:[t.jsx(se,{htmlType:"button",size:48,type:"bar",label:S("common.cancel","\uCDE8\uC18C"),onClick:Y}),t.jsx(se,{htmlType:"button",size:48,type:"bar",variant:"main",label:S("common.save","\uC800\uC7A5"),disabled:!Ht||Gt,onClick:ge})]}),children:t.jsx(Nn,{label:S("wordTable.save.nameLabel","\uC774\uB984"),value:Ot,onChange:tn,placeholder:S("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:ge,error:Gt?S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),Se&&o&&g?.({defaultName:typeof e=="string"?e:S("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:ye,previewW:Ve,previewH:ct,items:Dt,existingNames:W5().map(Y=>Y.name),saveAsNew:We,onSave:(Y,ae)=>{o(Y,Dt,ae,We),Ue(!1)},onCancel:()=>Ue(!1)}),($||b)&&ue!==null&&C?.({cellIndex:ue,onConfirm:$?Mt:Y=>{if(b){const ae=Y[0];ae&&b({id:ae.word,words:[{label:ae.word,subLabel:ae.pronunciation,homonum:ae.homonum}]})}be(null)},onClose:He}),!y&&t.jsx(Sr,{hasImage:Ut,hasColloquial:Jt,contentTypes:O,orientation:ve,showOutline:_e,cutLine:ce,showDivLine:J,setters:{setContentTypes:te,setOrientation:Ce,setShowOutline:de,setCutLine:ke,setShowDivLine:ne},showCutLine:(nt?Pe:Ke)>1,showDivLine2:et,middleSections:yn,extraSelected:qe,onExtraSelect:xt}),ut&&Ye?t.jsx("div",{className:"word-table-block__pages",children:Ye.map((Y,ae)=>t.jsx(Fn,{orientation:ve,contentTypes:O,cutLine:ce,showOutline:_e,showDivLine:J,count:Pe,items:Y,onRemoveItem:l,contentRef:$e=>{le.current[ae]=$e},pageNumber:{current:ae+1,total:Ye.length},pageNumberPosition:Re},ae))}):t.jsx(Fn,{orientation:ve,contentTypes:O,cutLine:ce,showOutline:_e,showDivLine:J,count:Ke,items:$?void 0:r??[],editCells:$?I:void 0,activeCell:ue,onActivateCell:$||b?be:void 0,onRemoveCell:$?Et:void 0,onRemoveItem:$?void 0:l,onReorder:$?void 0:p,showFillerAdd:!!b,contentRef:Ae}),ee&&!y&&t.jsxs(Ea,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[t.jsx(Cn,{variant:"custom",label:S("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:t.jsx(Nn,{required:!0,value:v??"",onChange:A,placeholder:T?T+S("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):S("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:S("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:G?S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:Y=>{(Y.key==="Tab"&&!Y.shiftKey||Y.key===" ")&&!(v??"").trim()&&(T??"").trim()&&(Y.preventDefault(),A?.(T??""))}})}),t.jsx(Cn,{variant:"custom",label:S("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:t.jsx(Nn,{value:x??"",onChange:k,placeholder:N?N+S("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):S("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:S("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:Y=>{(Y.key==="Tab"&&!Y.shiftKey||Y.key===" ")&&!(x??"").trim()&&(N??"").trim()&&(Y.preventDefault(),k?.(N??""))}})})]})]}),!y&&t.jsxs("div",{className:"word-table-block__actions",children:[t.jsxs("div",{className:"word-table-block__actions-left",children:[!w&&c&&t.jsx(se,{htmlType:"button",size:40,type:"bar",label:z,onClick:c}),!w&&i&&t.jsx(se,{htmlType:"button",size:40,type:"bar",label:S("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:i}),!w&&t.jsx(se,{htmlType:"button",size:40,type:"bar",label:S("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:Yt})]}),t.jsxs("div",{className:"word-table-block__actions-right",children:[R&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",label:S("common.cancel","\uCDE8\uC18C"),onClick:R}),!w&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",label:S("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Bt}),h&&t.jsx(se,{htmlType:"button",size:"56",type:"bar",label:h,onClick:()=>ee?oe():Qt(!0),disabled:V,onDisabledClick:()=>{Fe(S("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),t.jsx(se,{htmlType:"button",size:"56",type:"bar",variant:"main",label:d??S("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>Qt(!1),disabled:Q,onDisabledClick:he})]})]}),t.jsx($n,{message:Le,type:Te,onClose:Me})]})}function tc({items:e,className:n}){const a=e.length,r=a<=3?1:2,o=Math.ceil(a/r)||1,i=r*o;return t.jsx("div",{className:xe("word-table-thumb",n),style:{gridTemplateColumns:`repeat(${r}, 1fr)`},children:Array.from({length:i},(l,c)=>{const u=e[c];return u?t.jsx("div",{className:"word-table-thumb__cell",children:(u.words.length?u.words:[{label:u.id}]).map((d,h)=>t.jsxs(s.Fragment,{children:[h>0&&t.jsx("span",{className:"word-table-thumb__divider"}),t.jsx("span",{className:"word-table-thumb__word body-3",children:d.label})]},h))},c):t.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}function U5({items:e,name:n,description:a,createdAt:r,published:o,publishedLabel:i,shared:l,sharedLabel:c,isNew:u,publisherName:d,publishedAt:h,likeCount:p,downloadCount:m,onPublisherClick:b,selected:f,onClick:g,onMore:C,titleNode:y,className:w}){const{t:_}=fe.useTranslation(),v=y!=null,A=d!=null||h!=null||p!=null||m!=null,x=k=>{!v&&(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),g?.())};return t.jsxs("div",{className:xe("word-table-button",f?"word-table-button--selected":"",A?"":"word-table-button--no-footer",w),role:"button",tabIndex:0,"aria-label":n,onClick:v?void 0:g,onKeyDown:x,children:[u&&t.jsx("span",{className:"word-table-button__new-dot","aria-label":_("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),t.jsx(tc,{items:e,className:"word-table-button__thumb"}),t.jsxs("div",{className:"word-table-button__info",children:[t.jsxs("div",{className:"word-table-button__info-text",children:[y??t.jsx("div",{className:"word-table-button__title h4",children:n}),a&&t.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),C&&!v&&t.jsx(se,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:_("common.moreFor",{name:n}),onClick:k=>{k.stopPropagation(),C(k)}})]}),(r||o||l)&&t.jsxs("div",{className:"word-table-button__meta-row",children:[t.jsx("span",{className:"word-table-button__meta caption-1",children:r?hs(r,_):""}),t.jsxs("span",{className:"word-table-button__badges",children:[o&&t.jsx(ot,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:i??_("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),l&&t.jsx(ot,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:c??_("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]})]}),A&&t.jsxs("div",{className:"word-table-button__footer",children:[t.jsxs("span",{className:"word-table-button__store-by",children:[d&&t.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:k=>{k.stopPropagation(),b?.()},children:d}),h&&t.jsx("span",{className:"training-card__date body-4",children:hs(h,_)})]}),t.jsxs("span",{className:"word-table-button__store-stats",children:[p!=null&&t.jsx(ot,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(p)}),m!=null&&t.jsx(ot,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(m)})]})]})]})}/**
968
+ `).map((l,c,u)=>t.jsxs(i.Fragment,{children:[l,c<u.length-1&&t.jsx("br",{})]},c))})}),t.jsxs("div",{className:"site-footer__links",children:[t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.site.title","\uC0AC\uC774\uD2B8")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.malgwi","\uB9D0\uADC0")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.soundDirection","\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/vr-sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.vrSoundDirection","VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/hearing-test-pro",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.hearingTest","\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C")})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.sns.title","SNS")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://blog.naver.com/ihab_official",target:"_blank",rel:"noopener noreferrer",children:s("footer.sns.naverBlog","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.youtube.com/@%EC%95%84%EC%9D%B4%ED%95%B4%EB%B8%8C-%EA%B3%B5%EC%8B%9D%EC%B1%84%EB%84%90",target:"_blank",rel:"noopener noreferrer",children:"Youtube"})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.policy.title","\uC815\uCC45")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{e&&(l.preventDefault(),e())},children:s("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{n&&(l.preventDefault(),n())},children:s("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),t.jsx("hr",{className:"site-footer__rule"}),t.jsxs("div",{className:"site-footer__bottom",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("img",{src:mr,alt:"IHAB",className:"site-footer__logo"})}),t.jsxs("div",{className:"site-footer__meta",children:[t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.ceo","\uB300\uD45C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.address","\uC8FC\uC18C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.addressValue","\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.support","\uACE0\uAC1D\uC13C\uD130")}),t.jsxs("span",{className:"footer-meta caption-1",children:[r," \xA0 ",o]})]})]})]}),t.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}function _b({logo:e,logoAlt:n="",logoHref:a,links:r=[],actions:o,className:s,containerClassName:l,renderLink:c,menuLabel:u={open:"\uBA54\uB274 \uC5F4\uAE30",close:"\uBA54\uB274 \uB2EB\uAE30"}}){const[d,p]=i.useState(!1),h=i.useId();i.useEffect(()=>{if(!d)return;const f=wn(()=>p(!1)),g=typeof window<"u"&&window.matchMedia?window.matchMedia("(min-width: 961px)"):null,C=v=>{v.matches&&p(!1)};return g&&(g.matches&&p(!1),g.addEventListener?.("change",C)),()=>{f(),g?.removeEventListener?.("change",C)}},[d]);const m=l?`${l} landing-header__inner`:"landing-header__inner",y=(f,g)=>c?c(f,{onClick:g}):t.jsx("a",{href:f.href,onClick:g,"aria-current":f.current?"page":void 0,children:f.label});return t.jsxs("header",{className:s?`landing-header ${s}`:"landing-header",children:[t.jsxs("div",{className:m,children:[e!=null&&(()=>{const f=typeof e=="string"?t.jsx("img",{src:e,alt:n,className:"landing-header__logo"}):e;return a?t.jsx("a",{href:a,className:"landing-header__brand",children:f}):t.jsx("div",{className:"landing-header__brand",children:f})})(),r.length>0&&t.jsx("nav",{className:"landing-header__links",children:r.map(f=>t.jsx("span",{children:y(f)},f.href))}),t.jsxs("div",{className:"landing-header__actions",children:[o,r.length>0&&t.jsx("button",{type:"button",onClick:()=>p(f=>!f),"aria-expanded":d,"aria-controls":h,"aria-label":d?u.close:u.open,className:d?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:t.jsxs("span",{className:"landing-header__burger",children:[t.jsx("span",{}),t.jsx("span",{}),t.jsx("span",{})]})})]})]}),r.length>0&&t.jsx("nav",{id:h,hidden:!d,className:"landing-header__drawer",children:t.jsx("div",{className:l??void 0,children:r.map(f=>t.jsx("span",{className:"landing-header__drawer-item",children:y(f,()=>p(!1))},f.href))})})]})}function wb({children:e,action:n,onClick:a,className:r}){const o=a?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return t.jsx("div",{className:r?`bottom-sticky ${r}`:"bottom-sticky",children:t.jsxs("div",{className:o,onClick:a,...Zi(a),children:[t.jsx("div",{className:"bottom-sticky__content",children:e}),n]})})}const On=9,kb=e=>Math.round(Math.min(On,Math.max(0,e))/On*100),Ab=e=>e/100*On,Da=2,_l=.1,wl=e=>Math.min(Da,Math.max(0,e)),Nb=e=>Math.round(e*10)/10;function ia(e){const{noiseRatio:n}=e;if(typeof n=="number"&&Number.isFinite(n))return wl(n);const a=Math.min(On,Math.max(0,Number(e.level)||0))/On,r=Number(e.mainVolume);return r>0?Nb(wl(a/r)):1}const kl=e=>Math.min(1,Math.max(0,Number(e.mainVolume)||0));function Al(e){return kl(e)}function $r(e){return kl(e)*ia(e)}function Rr(e,n=Qo()){const a=Number.isFinite(n)&&n>0?n:1;return Math.min(1,$r(e)/a)}function la(e,n){const a={...e,...n??{}};return n&&"level"in n&&typeof n.noiseRatio!="number"&&(a.noiseRatio=ia({level:a.level,mainVolume:a.mainVolume})),a}const ca={enabled:!0,type:"defaultNoise",level:4.5,noiseRatio:1,speed:1,mainVolume:1,mainSpeed:1},Pr=i.createContext(null);function Sa(){return i.useContext(Pr)}const Ir=e=>`${Bm()}/${e}`,Nl=e=>Array.from({length:10},(n,a)=>Ir(`${e}-${String(a+1).padStart(2,"0")}.mp3`)),Ta={get defaultNoise(){return Ir("noise1.mp3")},get street(){return Nl("noise2")},get restaurant(){return Nl("noise3")},get buzz(){return Ir("noise4.mp3")}};function Bb(e){const n=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return Ta.defaultNoise;case"street":return Ta.street[n];case"restaurant":return Ta.restaurant[n];case"buzz":return Ta.buzz;default:return null}}function Db({noisePlayer:e,audioRef:n,playbackStateRef:a}){const r=i.useRef(e?.registerAnalyser);r.current=e?.registerAnalyser;const o=i.useRef(null),[s,l]=i.useState(null),c=i.useRef(null),u=i.useRef(null),d=i.useRef(null),p=i.useRef(null),h=i.useRef(0),m=i.useRef(null),y=i.useCallback(()=>{p.current!==null&&(cancelAnimationFrame(p.current),p.current=null),m.current!==null&&(clearTimeout(m.current),m.current=null)},[]),f=i.useCallback((_,k=250)=>{const b=o.current;if(!b)return;const w=u.current;if(w){u.current=null;try{b.pause()}catch{}b.src=w,b.load()}if(!b.src)return;h.current+=1,y();try{Xa(),ma(b).then(A=>{try{r.current?.("noise",A)}catch{}})}catch{}const x=b.paused?0:fa(b);b.paused&&dn(b,0),b.play().catch(()=>{});const N=performance.now(),j=()=>{const A=Math.min(1,(performance.now()-N)/k);try{dn(b,x+(_-x)*A)}catch{}A<1?p.current=requestAnimationFrame(j):p.current=null};p.current=requestAnimationFrame(j)},[y]),g=i.useCallback((_=250,k)=>{const b=o.current;if(!b||b.paused){k?.();return}const w=++h.current;y();const x=performance.now(),N=fa(b),j=()=>{const A=Math.min(1,(performance.now()-x)/_);try{dn(b,N*(1-A))}catch{}if(A<1)p.current=requestAnimationFrame(j);else{p.current=null,m.current!==null&&(clearTimeout(m.current),m.current=null);try{b.pause()}catch{}k?.()}};p.current=requestAnimationFrame(j),m.current=setTimeout(()=>{if(m.current=null,h.current===w){p.current!==null&&(cancelAnimationFrame(p.current),p.current=null);try{b.paused||(dn(b,0),b.pause(),k?.())}catch{}}},_+150)},[y]);i.useEffect(()=>{const _=document.createElement("audio");return _.loop=!0,_.crossOrigin="anonymous",o.current=_,()=>{y();try{_.pause(),_.src=""}catch{}o.current=null}},[y]);const C=e?Rr(e.settings):0,v=!!e?.settings.enabled&&C>0;return i.useEffect(()=>{if(!v)return;let _=0;const k=setInterval(()=>{const b=o.current;if(!b||b.paused){_=0;return}const w=n.current;if(w&&!w.paused&&!w.ended||a.current==="playing"){_=0;return}_+=1,_>=2&&(_=0,g())},400);return()=>clearInterval(k)},[g,v,n,a]),i.useEffect(()=>{const _=()=>{if(!document.hidden)return;const k=o.current;if(k&&!k.paused){y();try{k.pause()}catch{}}};return document.addEventListener("visibilitychange",_),()=>document.removeEventListener("visibilitychange",_)},[y]),i.useEffect(()=>{d.current=e?{enabled:e.settings.enabled,volume:C,type:e.settings.type}:null},[e,e?.settings.enabled,C,e?.settings.type]),i.useEffect(()=>{const _=e?.settings,k=o.current;if(!k)return;const b=_?Rr(_):0;if(!_||!_.enabled||b===0){g();return}if(c.current!==_.type){const w=Bb(_.type);w&&(c.current=_.type,l(w),u.current=w,g(150,()=>{if(u.current!==w)return;u.current=null,k.src=w,k.load();const x=n.current;x&&!x.paused&&k.addEventListener("canplay",function N(){k.removeEventListener("canplay",N);const j=n.current;j&&!j.paused&&!j.ended&&f(b)})}))}else{const w=n.current,x=!!w&&!w.paused&&!w.ended;if(x&&k.paused&&k.src)f(b);else if(!k.paused)if(!x)g();else{y();const N=fa(k),j=performance.now(),A=()=>{const D=Math.min(1,(performance.now()-j)/150);try{dn(k,N+(b-N)*D)}catch{}D<1?p.current=requestAnimationFrame(A):p.current=null};p.current=requestAnimationFrame(A)}}},[e?.settings,e?.settings.enabled,C,e?.settings.type,y,f,g,n]),i.useEffect(()=>{const _=o.current;if(_)try{_.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:o,activeNoiseUrl:s,noiseSettingsRef:d,cancelNoiseFade:y,fadeInNoise:f,fadeOutNoise:g}}function Sb({ttsText:e,playbackRate:n,mainVolume:a,fillRef:r,waveProgressRef:o,setProgress:s,setPlaybackState:l,setStateLocal:c,fadeInNoise:u,fadeOutNoise:d,noiseSettingsRef:p,onDoneRef:h,handleEndRef:m}){const y=i.useRef(null),f=i.useRef(0),g=i.useRef(null),C=i.useRef(0);i.useEffect(()=>()=>{C.current++;try{if(g.current&&(cancelAnimationFrame(g.current),g.current=null),window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}}catch{}},[]);const v=(b,w=1)=>{try{const x=(b||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(b||"").length);return Math.max(700,Math.round(x*300/Math.max(.25,w)))}catch{return 1200}},_=i.useCallback(b=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof h.current=="function"&&h.current(!0)}catch{}return}const w=window.speechSynthesis,x=++C.current;try{try{w.cancel()}catch{}const N=b??e,j=(Array.isArray(N)?N[0]??"":N)||"",A=new SpeechSynthesisUtterance(j);try{A.rate=Math.max(.3,Math.min(3,n))}catch{}try{A.volume=Math.max(0,Math.min(1,a))}catch{}f.current=v(j,A.rate||1),y.current=performance.now(),s(0),l("playing"),c("playMode");const D=p.current;D?.enabled&&(D?.volume??0)>0&&u(D.volume);const F=()=>{try{const P=y.current||performance.now(),S=performance.now()-P,V=f.current||1200,L=Math.min(1,S/V);s(L);try{r.current&&(r.current.style.left=`${L*100}%`),o.current&&o.current.style.setProperty("--progress",String(L))}catch{}L<1&&(g.current=requestAnimationFrame(F))}catch{}};A.onend=()=>{if(x===C.current)try{g.current&&(cancelAnimationFrame(g.current),g.current=null),s(1),l("stopped");try{m.current?.()}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}}catch{}},A.onstart=()=>{try{g.current&&(cancelAnimationFrame(g.current),g.current=null),g.current=requestAnimationFrame(F)}catch{}};try{w.speak(A)}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}},[e,n,a,u,r,o,s,l,c,p,h,m]),k=i.useCallback(()=>{C.current++;try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}g.current&&(cancelAnimationFrame(g.current),g.current=null),d(),y.current=null}catch{}l("stopped"),c("active"),s(0)},[d,l,c,s]);return{startTTS:_,stopTTS:k}}async function Tb(e,n,a){let r=null;try{const o=window.AudioContext||window.webkitAudioContext;r=new o;const s=await r.decodeAudioData(e.slice(0)),l=s.numberOfChannels>0?s.getChannelData(0):null;if(!l)return null;const c=a&&a>0?Math.min(l.length,Math.floor(a*s.sampleRate)):l.length,u=Math.max(n,c),d=Math.floor(u/n)||1;return new Array(n).fill(0).map((p,h)=>{const m=h*d,y=Math.min(m+d,u);let f=0;for(let g=m;g<y;g++){const C=Math.abs(l[g]);C>f&&(f=C)}return f})}catch{return null}finally{try{r?.close?.()}catch{}}}async function Bl(e,n,a){try{const r=await fetch(e);if(r.ok===!1)return null;const o=await r.arrayBuffer();return await Tb(o,n,a)}catch(r){try{const o=cs(r)}catch{}return null}}const Dl=45,jb=74,Eb=2;function ua(e){const n=Math.min(2,Math.max(0,Number(e)||0));return n<=1?n*45:45+(n-1)*29}function Fr(e){return ua(e)/45}const Sl=4;function Mb(e){const{src:n,segments:a,progress:r=0,waveProgressRef:o,noiseSrc:s,noiseRatio:l=0,noiseSpeed:c=1,totalDuration:u=0,mainVolume:d=1,onReadyChange:p,showSoundWaveForm:h=!0}=e,m=i.useRef(null),y=i.useRef(null),[f,g]=i.useState(null),[C,v]=i.useState(!1),[_,k]=i.useState(null),[b,w]=i.useState(2),[x,N]=i.useState(0),[j,A]=i.useState(null),[D,F]=i.useState(!1),P=3,S=3,V=1,L=300,te=i.useRef(0),E=i.useCallback(async(ce,be)=>{const ve=++te.current,fe=()=>te.current===ve;try{if(v(!1),!ce){fe()&&g(null);return}let Z=be;if(!Z)try{for(let Ne=0;Ne<4&&!(m.current||y.current);Ne++)await new Promise(Be=>requestAnimationFrame(Be));await new Promise(Ne=>requestAnimationFrame(Ne));const J=m.current,ye=y&&y.current?y.current:J?J.closest(".audio-player__wave"):null,we=ye?ye.getBoundingClientRect():J?J.getBoundingClientRect():null,de=we?Math.max(100,we.width):320,X=we?we.height:0;X>0&&N(X),Z=Math.max(V,Math.min(L,Math.floor((de+S)/(P+S))));const ne=Z*P,Ae=Math.max(0,Z-1),se=Ae>0?(de-ne)/Ae:S;w(Math.max(0,se))}catch{Z=120}const ue=await Bl(ce,Z);if(!fe())return;if(!ue){g(null),v(!1);return}g(ue),k(Z),v(!0)}catch{if(!fe())return;g(null),v(!1)}},[v,g,N,w,k]);i.useEffect(()=>{const ce=a&&a[0]&&a[0].src||n||a&&a.length===1&&a[0]&&a[0].src;E(typeof ce=="string"?ce:void 0).catch(()=>{}),F(!1)},[n,a,E]),i.useEffect(()=>{let ce=!1;if(!s||!_){A(null);return}const be=u>0?u*(c||1):void 0;return Bl(s,_,be).then(ve=>{ce||A(ve)}).catch(()=>{ce||A(null)}),()=>{ce=!0}},[s,_,u,c]);const O=Math.max(0,Math.min(1,d)),Q=i.useMemo(()=>f&&f.length&&Math.max(...f)||1,[f]),W=_||40,M=i.useMemo(()=>Array.from({length:W}).map((ce,be)=>{const ve=f&&f[be]!=null?f[be]:null,fe=ve==null?null:Math.min(1,ve/Q*O),Z=fe!=null&&x>0&&ua(fe)<=Sl,ue=fe==null?.15:Z?0:Fr(fe),J=W>1?be/(W-1):0;return t.jsx("div",{className:Z?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":ue,"--i":be,"--mix":J}},be)}),[W,f,Q,O,x]),T={"--progress":String(Math.max(0,Math.min(1,r)))},$=s?Math.max(1,l):1,R={"--bar-gap":`${b}px`,"--wave-h":`${ua($)}px`,"--wave-h1":`${Dl}px`},G=O*Math.max(0,l)/Qo(),I=C&&(s?!!j:!0);i.useEffect(()=>{I&&F(!0)},[I]);const U=D?C:I;i.useEffect(()=>{p?.(U)},[U,p]);const z=_||40,ie=i.useMemo(()=>Array.from({length:z}).map((ce,be)=>{const ve=j&&j[be]!=null?j[be]:null,fe=ve==null?0:ve/Q*G,Z=x>0&&ua(fe)<=Sl,ue=Z?0:Fr(fe),J=z>1?be/(z-1):0;return t.jsx("div",{className:Z?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":ue,"--i":be,"--mix":J}},be)}),[z,j,Q,G,x]);return t.jsxs("div",{className:"audio-player__wave",ref:y,style:R,children:[s&&t.jsx("div",{className:`audio-player__wave-noise ${I?"is-ready":""}`,"aria-hidden":"true",children:ie}),h&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${U?"is-ready":""}`,ref:m,children:M}),t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${U?"is-ready":""}`,ref:o,style:T,children:M})]})]})}const Lb={idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"};function Or(e,n){return new Promise((a,r)=>{const o=document.createElement("audio");let s=!1;const l=()=>{try{o.src=""}catch{}},c=()=>{if(s)return;s=!0;const d=isFinite(o.duration)&&o.duration||0;l(),a(d)},u=d=>{s||(s=!0,l(),n.rejectOnError?r(new Error(d)):a(0))};o.addEventListener("loadedmetadata",c),o.addEventListener("error",()=>u("audio load failed")),setTimeout(()=>u("audio load timeout"),n.timeoutMs),o.src=e})}const $b=2e3;function Tl(e,n=$b){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.addEventListener("canplay",o,{once:!0}),e.addEventListener("error",o,{once:!0}),setTimeout(o,n)})}function Rb({showSoundWaveForm:e,showNoiseWaveForm:n,timeoutMs:a=2500}){const r=i.useRef(!1),o=i.useRef([]),s=i.useCallback(u=>{if(r.current=u,!u||!o.current.length)return;const d=o.current;o.current=[];for(const p of d)p()},[]),l=i.useCallback(()=>{r.current=!1},[]),c=i.useCallback(()=>!e&&!n||r.current?Promise.resolve():new Promise(u=>{const d=setTimeout(u,a);o.current.push(()=>{clearTimeout(d),u()})}),[e,n,a]);return i.useEffect(()=>()=>{const u=o.current;o.current=[];for(const d of u)d()},[]),{onReadyChange:s,waitForReady:c,markNotReady:l}}function Pb(){const e=i.useRef([]),n=i.useCallback(o=>(e.current.push(o),o),[]),a=i.useCallback(o=>{const s=new Set([...o].filter(Boolean));e.current=e.current.filter(l=>{if(s.has(l))return!0;try{URL.revokeObjectURL(l)}catch{}return!1})},[]),r=i.useCallback(()=>{a([])},[a]);return i.useEffect(()=>()=>{for(const o of e.current)try{URL.revokeObjectURL(o)}catch{}e.current=[]},[]),{track:n,keepOnly:a,revokeAll:r}}function Ib({offsetY:e=8}={}){const n=i.useRef(null),[a,r]=i.useState(null),o=i.useCallback(()=>r(null),[]),s=i.useCallback(()=>{try{const l=n.current?.getBoundingClientRect();if(!l)return;r({left:l.left,right:l.right,width:l.width,height:l.height,x:l.x,top:l.top+e,bottom:l.bottom+e,y:l.y+e,toJSON:l.toJSON.bind(l)})}catch{}},[e]);return i.useEffect(()=>{if(a)return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[a,o]),{ref:n,rect:a,show:s,hide:o}}function Fb({currentTime:e,sources:n,index:a,audioDuration:r}){const o=a||0,s=Array.isArray(n)&&n.length>0?n[o]:void 0,l=s?s.duration||r||0:r||0;if(!(l>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/l))}function Ob(e,n){if(!Array.isArray(e))return null;const a=n||0;return a<e.length-1?a+1:null}function Hb({ended:e,completedByEnd:n}){return!!e||!!n}function Vb(e){return e.map((n,a)=>({src:n.src,label:String(a+1),color:void 0,duration:n.duration||0}))}function zb(e){return e.reduce((n,a)=>n+(a.duration||0),0)}function Wb(e,n,a){const r=Array.isArray(e)?e:e?[e]:[],o=[];for(const s of r)if(s){if(typeof s=="object"&&s!==null&&"src"in s&&s.src){const l=s;o.push({code:l.code??null,src:l.src});continue}if(typeof s=="string"&&(s.startsWith("http")||s.includes("/"))){o.push({code:null,src:s});continue}if(typeof s=="string"||typeof s=="number"){const l=String(s),c=a(l,n);c&&o.push({code:l,resolvedPath:c})}}return o}function qb({audioRef:e,fillRef:n,waveProgressRef:a,sourcesRef:r,currentIndexRef:o}){const s=i.useRef(null),l=i.useCallback(()=>{s.current!==null&&(cancelAnimationFrame(s.current),s.current=null)},[]),c=i.useCallback(()=>{if(s.current!==null)return;const d=()=>{try{const p=e.current,h=Fb({currentTime:p&&typeof p.currentTime=="number"?p.currentTime:0,sources:r.current,index:o.current,audioDuration:p&&p.duration?p.duration:0});try{n.current&&(n.current.style.left=`${h*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(h))}catch{}}catch{}s.current=requestAnimationFrame(d)};s.current=requestAnimationFrame(d)},[e,n,a,r,o]),u=i.useCallback(d=>{l();try{n.current&&(n.current.style.left=`${d*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(d))}catch{}},[l,n,a]);return i.useEffect(()=>l,[l]),{start:c,stop:l,settleTo:u}}function Hr({btnLabel:e,soundSrc:n,bucketPath:a,onDone:r,disabled:o=!1,ttsText:s=null,className:l,showSoundWaveForm:c=!0,showNoiseWaveForm:u=!0}){const{t:d}=me.useTranslation(),p=e,h=Sa(),m=i.useRef(h?.registerAnalyser);i.useEffect(()=>{m.current=h?.registerAnalyser});const y=i.useRef(null),f=i.useRef(null),g=i.useRef(null),C=Pb(),v=i.useRef(null),_=i.useRef(!1),k=i.useRef(0),b=i.useRef(null),{ref:w,rect:x,show:N,hide:j}=Ib();i.useEffect(()=>()=>{m.current?.("main",null),m.current?.("noise",null)},[]);const[A,D]=i.useState(!1),[F,P]=i.useState("idle"),[S,V]=i.useState("stopped"),L=i.useRef("stopped");i.useEffect(()=>{L.current=S},[S]);const[te,E]=i.useState(0),[O,Q]=i.useState("active"),[W,M]=i.useState(null),[T,$]=i.useState(null),[R,G]=i.useState(0),[I,U]=i.useState(!1),[z,ie]=i.useState(0),ce=h?.playbackRate??1,be=h?.mainVolume??1,ve=h?$r(h.settings):0,fe=h?Al(h.settings):be,[Z,ue]=i.useState("idle"),[J,ye]=i.useState(""),[we]=i.useState("top"),de=i.useRef(null),X=i.useRef(0),ne=i.useRef(null),{start:Ae,stop:se,settleTo:Ne}=qb({audioRef:y,fillRef:f,waveProgressRef:ne,sourcesRef:de,currentIndexRef:X}),{onReadyChange:Be,waitForReady:Oe,markNotReady:He}=Rb({showSoundWaveForm:c,showNoiseWaveForm:u}),Me=i.useRef(null),Ue=i.useRef(o),Ee=i.useRef(r),Ce=i.useRef(null),Le=i.useRef(!1),[Se,Fe]=i.useState(!1),$e=i.useCallback(H=>{Le.current=H,Fe(H)},[]),Ve=i.useRef(null),{activeNoiseUrl:Ke,noiseSettingsRef:st,fadeInNoise:qe,fadeOutNoise:ze}=Db({noisePlayer:h,audioRef:y,playbackStateRef:L}),{startTTS:ut,stopTTS:nt}=Sb({ttsText:s,playbackRate:ce,mainVolume:fe,fillRef:f,waveProgressRef:ne,setProgress:E,setPlaybackState:V,setStateLocal:Q,fadeInNoise:qe,fadeOutNoise:ze,noiseSettingsRef:st,onDoneRef:Ee,handleEndRef:Ve}),Te=Array.isArray(n)?n.filter(Boolean):n?[n]:[],Qe=(!Te||Te.length===0)&&!!s,Pe=Array.isArray(W)&&W.length>0?W:Array.isArray(T)&&T.length>0?T:null,Ye=Math.max(Array.isArray(Pe)?Pe.length:0,Te.length),dt=i.useRef(!0);i.useEffect(()=>(dt.current=!0,()=>{dt.current=!1}),[]);const et=i.useCallback(async(H,ee=3,he=50)=>{for(let xe=0;xe<ee;xe++){if(!dt.current)return!1;try{return await H.play(),!0}catch(Y){if((Y instanceof Error||typeof Y=="object"&&Y&&"name"in Y?Y.name:void 0)==="AbortError"){await new Promise(ae=>setTimeout(ae,he));continue}try{ye(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}}try{ye(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[d]),lt=i.useCallback(()=>{const H=y.current;if(!H)return;const ee=()=>{V("playing"),Q("playMode"),U(!0),Ae();try{Xa(),ma(H).then(ae=>{try{m.current?.("main",ae)}catch{}})}catch{}const Y=st.current;Y?.enabled&&(Y?.volume??0)>0&&qe(Y.volume)},he=()=>{Hb({ended:!!H?.ended,completedByEnd:Le.current})||(V("paused"),se(),ze())},xe=()=>{try{const Y=de.current,ae=Ob(Y,X.current);if(ae!==null){X.current=ae,G(ae),U(!0);const Re=Y?.[ae]&&Y[ae].src;if(Re&&H){H.src=Re,H.load(),et(H).catch(()=>{});return}}}catch{}V("stopped"),E(1);try{if(H)try{H.currentTime=0}catch{}}catch{}se(),U(!1),ze();try{!Ue.current&&Ve.current&&Ve.current()}catch{}};return H.addEventListener("play",ee),H.addEventListener("pause",he),H.addEventListener("ended",xe),()=>{try{H.removeEventListener("play",ee),H.removeEventListener("pause",he),H.removeEventListener("ended",xe),se()}catch{}}},[qe,ze,et,st,Ae,se]);i.useEffect(()=>lt(),[lt]),i.useEffect(()=>{Ue.current=o},[o]),i.useEffect(()=>{Ee.current=r},[r]),i.useEffect(()=>{if(o||O!=="active")return;const H=b.current;if(!H)return;let ee=null;const he=requestAnimationFrame(()=>{try{const xe=H.getTotalLength();if(!xe)return;const Y=xe*.2;H.style.strokeDasharray=`${xe-Y} ${Y}`;const ae="triFlow_"+Math.random().toString(36).slice(2);ee=document.createElement("style"),ee.textContent=`@keyframes ${ae}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${xe}}}`,document.head.appendChild(ee),H.style.animation=`${ae} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(he),ee?.remove()}},[O,o]),i.useEffect(()=>{de.current=W},[W]),i.useEffect(()=>{X.current=R},[R]),i.useEffect(()=>{const H=g.current,ee=v.current;if(!H||!ee)return;let he=null;const xe=32,Y=60,ae=()=>{try{const Xe=Array.from(H.querySelectorAll(":scope > .button"));let Ze=0;Xe.forEach($t=>{if($t===ee)return;const Rt=$t.getBoundingClientRect();Ze+=Rt.width});const ht=H.getBoundingClientRect().width,_t=Math.max(0,Math.floor(ht-Ze-8)),St=Ye;if(!St||_t<=0){Array.from(ee.children).forEach($t=>{try{$t.style.width=""}catch{}});return}let wt=Math.floor(_t/St);wt>Y&&(wt=Y),wt<xe&&(wt=Math.max(xe,Math.floor(_t/St))),Array.from(ee.querySelectorAll(".button")).forEach($t=>{try{$t.style.width=`${wt}px`}catch{}})}catch{}},Re=requestAnimationFrame(ae);try{he=new ResizeObserver(()=>{requestAnimationFrame(ae)}),he.observe(H),he.observe(ee),window.addEventListener("resize",ae)}catch{}return()=>{try{cancelAnimationFrame(Re)}catch{}try{he&&(he.disconnect(),he=null)}catch{}try{window.removeEventListener("resize",ae)}catch{}}},[W,T,Ye]),i.useEffect(()=>()=>{try{Me.current&&(clearTimeout(Me.current),Me.current=null),Ce.current&&(clearTimeout(Ce.current),Ce.current=null)}catch{}},[]);const tt=(H,ee)=>{M(H),ie(ee),He(),$(Vb(H)),de.current=H},Bt=async(H,ee)=>{$e(!1),_.current=!1,H.src=ee,H.load(),await Tl(H),await Oe(),D(!1),await et(H),Q("playMode"),G(0),U(!0)},Yt=async(H,ee=!1)=>{const he=y.current;D(!0),P("measuring_duration");try{const xe=await Or(H,{timeoutMs:1e4,rejectOnError:!0});tt([{src:H,objectUrl:null,duration:xe}],xe),P("ready"),ee&&he&&await Bt(he,H)}finally{_.current=!1,D(!1)}},ft=async(H,ee=!1)=>{const he=y.current;D(!0),P("measuring_duration");try{const xe=await Promise.all(H.map(ae=>Or(ae,{timeoutMs:1e4}))),Y=H.map((ae,Re)=>({src:ae,objectUrl:null,duration:xe[Re]||0}));tt(Y,zb(Y)),P("ready"),ee&&he&&Y.length>0&&await Bt(he,Y[0].src)}finally{_.current=!1,D(!1)}},Xt=async(H=!1,ee=!0)=>{const he=y.current,xe=n?Array.isArray(n)?n:[n]:[];if(!xe||xe.length===0||!xe.some(Boolean))return!1;if(_.current)return null;_.current=!0,ee&&D(!0),P("resolving");try{const Y=Wb(n,a,Yo),ae=[];let Re=0;for(const Xe of Y){let Ze=Xe.src??null,ht=null;if(!Ze&&Xe.resolvedPath){try{P("getting_signed_url"),Ze=await Xo(Xe.resolvedPath)}catch{Ze=null}if(!Ze)try{P("downloading");const St=await Jo(Xe.resolvedPath);if(St){const wt=St instanceof Blob?St:new Blob([St]);ht=C.track(URL.createObjectURL(wt)),Ze=ht}}catch{P("error");try{ye(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),Q("active")}catch{}}}if(!Ze)continue;let _t=0;try{P("measuring_duration"),_t=await Or(Ze,{timeoutMs:3e3})}catch{_t=0}Re+=_t||0,ae.push({...Xe,src:Ze,objectUrl:ht,duration:_t})}if(tt(ae,Re),ae.length>0&&H&&he){const Xe=ae[0];$e(!1);try{C.keepOnly(ae.map(Ze=>Ze.objectUrl))}catch{}if(P("ready"),_.current=!1,Xe.src&&he)try{he.src=Xe.src,he.load(),await Tl(he),await Oe(),ee&&D(!1),he&&await et(he)}catch{ee&&D(!1)}else ee&&D(!1);Q("playMode"),G(0),U(!0)}return ae.length>0}finally{_.current=!1,ee&&D(!1),P(Y=>Y==="ready"?"ready":"idle")}},Et=async()=>{const H=y.current;if(!(!H&&!Qe)){if(Qe){const ee=window.speechSynthesis;if(O==="active"){const he=Ka(),xe=Array.isArray(s)?s.filter(Boolean):s?[s]:[];if(he&&xe.length>0){Q("load"),D(!0),P("resolving"),_.current=!0;try{const Y=await Promise.all(xe.map(ae=>Promise.resolve(he(ae))));Y.length>1?await ft(Y,!0):await Yt(Y[0],!0)}catch{_.current=!1,D(!1),Q("active"),ut(xe[0]||void 0)}return}ut(xe[0]||void 0);return}if(O==="playMode"){if(H){if(H.paused){if(Le.current){await Mt();return}await et(H),V("playing")}else H.pause(),V("paused");return}try{if(ee&&ee.paused)try{ee.resume(),V("playing")}catch{}else try{ee.pause(),V("paused")}catch{}}catch{}}return}if(O==="active"){if(o&&Array.isArray(de.current)&&de.current.length>0){const ee=de.current[0];try{if(ee.src&&H)try{H.src=ee.src,H.load(),H&&await et(H)}catch{}Q("playMode"),G(0),U(!0);return}catch{}}if(Q("load"),await Xt(!0)===!1&&dt.current){try{ye(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}Q("active")}return}if(O!=="load"&&(O==="playMode"||O==="active"))try{if(H&&H.paused){if(Le.current){await Mt();return}H&&await et(H),V("playing")}else H&&(H.pause(),V("paused"))}catch(ee){(ee instanceof Error||typeof ee=="object"&&ee&&"name"in ee)&&ee.name}}},Mt=async()=>{const H=y.current;if(H)try{const ee=de.current;if(Array.isArray(ee)&&ee.length>1){await Ge(0);return}$e(!1);try{H.currentTime=0}catch{}H&&await et(H),V("playing"),Q("playMode")}catch{}},Jt=()=>{if(Qe){nt();return}const H=y.current;try{if(H){try{H.pause()}catch{}try{H.currentTime=0}catch{}}}catch{}ze(),V("stopped"),Q("active"),E(0),U(!1)},vt=async(H,{sameSegment:ee=!1}={})=>{const he=++k.current,xe=y.current,Y=de.current?.[H]?.src;try{if($e(!1),G(H),U(!0),X.current=H,!Y||!xe||(ee||He(),xe.src=Y,xe.load(),ee||await Oe(),he!==k.current)||(await et(xe),he!==k.current))return;V("playing"),Q("playMode")}catch{}},bn=async()=>{const H=de.current,ee=X.current||0;if(!H||ee<=0){await Mt();return}await vt(ee-1)},Ft=async()=>{const H=de.current,ee=X.current||0;if(!H||ee>=H.length-1){Jt();return}await vt(ee+1)},Ut=()=>{if(Le.current)return;const H=200,ee=340;$e(!0);try{E(1)}catch{}Ne(1);try{ue("hold")}catch{}try{const he=y.current,xe=Qe&&!!he?.src;if(!Qe||xe){if(he){he.pause();try{he.currentTime=0}catch{}}}else nt();ze()}catch{}try{V("stopped")}catch{}if(U(!1),!Ue.current)try{Ce.current&&(clearTimeout(Ce.current),Ce.current=null),Ce.current=setTimeout(()=>{try{ue("out")}catch{}Ce.current=setTimeout(()=>{try{typeof Ee.current=="function"&&Ee.current(!0)}catch{}try{ue("idle")}catch{}Ce.current=null},ee)},H)}catch{}};i.useEffect(()=>{Ve.current=Ut});const yn=i.useCallback(()=>ye(""),[]),Ge=async H=>{(de.current||[])[H]&&await vt(H,{sameSegment:H===X.current})},xt=S==="playing",Dt=i.useMemo(()=>{if(!T||T.length<=1)return T;const H=T[R];return H?[H]:T},[T,R]),Qt=o===!0;i.useEffect(()=>{try{const H=y.current;H&&typeof H.playbackRate=="number"&&(H.playbackRate=ce||1)}catch{}},[ce]);const en=i.useRef({raf:null,timer:null});i.useEffect(()=>{const H=y.current;if(!H)return;const ee=Math.max(0,Math.min(1,fe)),he=en.current,xe=()=>{he.raf!==null&&(cancelAnimationFrame(he.raf),he.raf=null),he.timer!==null&&(clearTimeout(he.timer),he.timer=null)};xe();const Y=fa(H);if(H.paused||Math.abs(Y-ee)<.001||typeof requestAnimationFrame!="function"){try{dn(H,ee)}catch{}return}const ae=performance.now(),Re=()=>{const Xe=Math.min(1,(performance.now()-ae)/150);try{dn(H,Y+(ee-Y)*Xe)}catch{}he.raf=Xe<1?requestAnimationFrame(Re):null};return he.raf=requestAnimationFrame(Re),he.timer=setTimeout(()=>{xe();try{dn(H,ee)}catch{}},200),xe},[fe]);const Lt=Z==="hold",Ot=Z==="out",tn=O==="playMode"&&!A&&!Se||Lt||Ot,Ht=S!=="stopped"||Lt||Ot,Gt=S==="paused",re=Math.max(0,Math.min(100,(te||0)*100)),ge=_e("audio-player__fill",tn?"is-visible":"",Ht?"is-expanded":"",Gt?"is-paused":"",Ot?"is-out":"");return t.jsxs("div",{className:`audio-player ${Qt?"is-disabled":""}${l?` ${l}`:""}`,role:"group","aria-label":typeof p=="string"?p:void 0,children:[t.jsxs("div",{className:`audio-player__panel ${xt?"is-playing":""} ${A?"is-loading":""} ${O!=="default"?"is-revealed":""}`,children:[A?t.jsxs("div",{className:"audio-player__loading",role:"status","aria-live":"polite",children:[t.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),t.jsx("span",{className:"audio-player__loading-text",children:Lb[F]})]}):null,O==="active"?t.jsx("button",{className:"audio-player__button",type:"button",onClick:()=>{j(),Et()},"aria-label":typeof p=="string"?p:d("training.listen","\uB4E3\uAE30"),onMouseEnter:N,onMouseLeave:j,onFocus:N,onBlur:j,children:t.jsx("span",{ref:w,className:"audio-player__button-triangle-wrap",children:t.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{ref:b,d:"M13.2 7.7 L16.5 9.85 Q20.2 12 16.5 14.15 L10 18.3 Q7 19.7 7 16.3 L7 7.7 Q7 4.3 10 5.7 L13.2 7.7"})})})}):null,x&&t.jsx(hn,{anchorRect:x,text:typeof p=="string"&&p?p:d("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),t.jsxs("div",{className:`audio-player__play ${O==="playMode"||xt?"is-visible":""}`,children:[t.jsxs("div",{ref:g,className:"audio-player__buttons",children:[t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:bn,ariaLabel:d("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:O!=="playMode"}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:xt?"pause":"play",onClick:Et,ariaLabel:d("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),width:"60px",variant:"transparent-white",disabled:O!=="playMode"}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Jt,ariaLabel:d("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:O!=="playMode"}),Ye>1?t.jsx("div",{ref:v,className:"audio-player__source-buttons",children:Array.from({length:Ye}).map((H,ee)=>t.jsx(oe,{htmlType:"button",size:32,type:"dot",shape:"pill",useBorder:!1,label:String(ee+1),onClick:()=>{try{Ge(ee)}catch{}},ariaLabel:d("training.sourcePlay",{n:ee+1}),variant:"transparent-white",selected:I&&R===ee,disabled:O!=="playMode"||!(Array.isArray(W)&&W[ee]),showTooltipInfo:!0},ee))}):null,!Array.isArray(W)||W.length<=1?t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Mt,ariaLabel:d("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:O!=="playMode"}):null,t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:Ft,ariaLabel:d("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:O!=="playMode"}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:Ut,ariaLabel:d("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:O!=="playMode"})]}),t.jsxs("div",{className:"audio-player__slider",children:[t.jsx("div",{className:ge,ref:f,style:{left:`${re}%`},"aria-hidden":"true"}),(c||u)&&t.jsx(Mb,{segments:Dt,progress:te,totalDuration:z,onSegmentClick:Ge,waveProgressRef:ne,showSoundWaveForm:c,noiseSrc:u&&h?.settings.enabled&&ve>0?Ke:null,noiseRatio:h?ia(h.settings):0,noiseSpeed:h?.settings.speed??1,mainVolume:be,onReadyChange:Be})]})]}),t.jsx("audio",{ref:y,crossOrigin:"anonymous",preload:"auto"})]}),!c&&t.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[t.jsx(Ie,{icon:"triangle-alert",size:14}),d("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),t.jsx($n,{message:J,position:we,onClose:yn})]})}function ja(e){const{t:n}=me.useTranslation(),{text:a,label:r,anchorRect:o=null,onClose:s,closeOnOutsideClick:l=!0,isMobilePopup:c=!1}=e||{},[u,d]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",u)}catch{}},[u]);const{increase:p,decrease:h,canIncrease:m,canDecrease:y,fontSize:f,lineHeight:g}=Zs({storageKey:"tooltip-fontScale"}),C=i.useCallback(()=>d(w=>w==="dark"?"light":"dark"),[]),v=i.useCallback(w=>{try{w.stopPropagation()}catch{}try{typeof s=="function"&&s()}catch{}},[s]),_=Array.isArray(a)?a:typeof a>"u"||a===null?[]:[a],k={fontSize:`${f}px`,lineHeight:`${g}px`,"--tt-line-height":`${g}px`,"--tt-marker-size":"28px"},b=t.jsxs("div",{className:`tooltip-textbox__root ${u==="dark"?"is-dark":""}`,children:[t.jsxs("div",{className:"tooltip-textbox__box",children:[r&&t.jsx("div",{className:"tooltip-textbox__label body-2b",children:r}),t.jsx("div",{className:"tooltip-textbox__text body-1",style:k,children:_.map((w,x)=>t.jsxs("div",{className:"tooltip-textbox__line",children:[_.length>1?t.jsx("div",{className:"tooltip-textbox__marker",children:t.jsx("span",{className:"tooltip-textbox__line-number button-1",children:x+1})}):null,t.jsx("span",{className:"tooltip-textbox__line-text",children:w})]},x))})]}),t.jsxs("div",{className:"tooltip-textbox__buttons",children:[t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:h,ariaLabel:n("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!y}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:p,ariaLabel:n("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!m}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:u==="dark"?"moon":"sun-medium",onClick:C,ariaLabel:n("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:u==="dark"?"transparent-white":"transparent-gray"}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:v,ariaLabel:n("common.close","\uB2EB\uAE30"),variant:u==="dark"?"transparent-white":"transparent-gray"})]})]});return o?t.jsx(pn,{anchorRect:o,className:`tooltip-textbox ${u==="dark"?"is-dark":""}`,onClose:s,closeOnOutsideClick:l,isMobilePopup:c,ariaLabel:r||n("tooltip.textbox","\uBCF8\uBB38"),children:b}):t.jsx("div",{className:`tooltip-textbox ${u==="dark"?"is-dark":""}`,children:b})}function jl({state:e="disabled"}){const{t:n}=me.useTranslation();return t.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[t.jsx("div",{className:"bullet__dot",children:t.jsx(Ie,{icon:"chevron-right",label:n("training.next","\uB2E4\uC74C"),className:"bullet__icon",imgClassName:"bullet__icon-img",maskClassName:"bullet__icon-mask",svgClassName:"bullet__icon-svg",wrapperStyle:{},size:20})}),t.jsx("div",{className:"ts-bullet__line"})]})}function El({title:e,children:n,className:a="",state:r="disabled",usePreviewTextBtn:o=!1,onPreviewTextBtn:s,previewText:l=null,useFaded:c,usePlayAllBtn:u=!1,onPlayAll:d,playAllActive:p=!1}){const{t:h}=me.useTranslation(),m=Kt("(max-width: 767px)"),y=`training-step__title h4 ${c&&r==="disabled"?"training-step__title--faded":""} ${a}`.trim(),f=`training-step__title-row training-step__title-row--${r}`.trim(),g=i.useRef(null),[C,v]=i.useState(!1),[_,k]=i.useState(null),[b,w]=i.useState(null),x=i.useRef(s);i.useEffect(()=>{x.current=s});const N=i.useMemo(()=>l==null?"":typeof l=="string"||typeof l=="number"?String(l):Array.isArray(l)&&l.every(D=>typeof D=="string"||typeof D=="number")?l.join(""):"",[l]),j=i.useCallback(()=>{v(!1),k(null),w(null)},[]);i.useEffect(()=>{if(!C)return;let D;try{typeof x.current=="function"&&(D=x.current())}catch{}if(D===!1){j();return}w(typeof D<"u"&&D!==null?D:null)},[N]);const A=i.useCallback(()=>{let D;try{typeof s=="function"&&(D=s())}catch{}if(D!==!1){if(w(typeof D<"u"&&D!==null?D:l),!g.current){v(F=>!F);return}if(C)v(!1),k(null),w(null);else{const F=g.current.getBoundingClientRect();k(F),v(!0)}}},[s,l,C]);return t.jsxs("div",{className:f,children:[t.jsx("p",{className:y,children:t.jsx("span",{className:"training-step__title-text",children:e??n})}),o||u?t.jsxs("div",{className:"title-controls",children:[t.jsxs("div",{className:"title-buttons",children:[u&&t.jsx(oe,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"play-circle",label:m?void 0:h("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:h("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:p,onClick:d,variant:r==="disabled"?"disabled":"default",disabled:r==="disabled"||p}),o&&t.jsx("div",{ref:g,children:t.jsx(oe,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"eye",label:m?void 0:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),selected:C,onClick:A,variant:r==="disabled"?"disabled":"default",disabled:!l&&typeof s!="function"})})]}),C&&t.jsx(ja,{text:b??l,label:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:_,onClose:j,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function Vr(e,n){return typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled"}function Sn({index:e,stepIndex:n,isLast:a=!1,title:r="",titleProps:o={},children:s,className:l="",onDone:c=void 0,useTitleFaded:u=void 0}){const{t:d}=me.useTranslation(),[p,h]=i.useState(()=>Vr(e,n));i.useEffect(()=>{const w=Vr(e,n);if(w!==p){const x=setTimeout(()=>h(w),0);return()=>clearTimeout(x)}},[e,n,p]);const m=i.useCallback((...w)=>{Vr(e,n)==="done"||p==="done"||typeof c=="function"&&c(...w)},[e,n,p,c]),[y,f]=i.useState(!1),[g,C]=i.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),v=i.useCallback(w=>{if(!w)return null;try{const x=w;if(typeof w=="object"&&(x.currentTarget||x.target)&&(x.nativeEvent||x.type)){const A=x.currentTarget??x.target;if(A&&typeof A.getBoundingClientRect=="function")return A.getBoundingClientRect()}if(w instanceof DOMRect)return w;const N=w;if(N&&typeof N.getBoundingClientRect=="function")return N.getBoundingClientRect();const j=w?.current;return j&&typeof j.getBoundingClientRect=="function"?j.getBoundingClientRect():null}catch{return null}},[]),_=i.useCallback((w,{text:x="",label:N="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:j=!1,alignX:A="center",alignY:D="top"}={})=>{const F=v(w);C({text:x,label:N,anchorRect:F,backdrop:j,alignX:A,alignY:D}),f(!0)},[v]),k=i.useCallback(()=>{f(!1),C(w=>({...w,anchorRect:null}))},[]),b=i.Children.map(s,w=>{if(i.isValidElement(w)){const x=w;if(typeof x.type=="string")return x;const N=x.props??{},j=typeof N.onDone=="function"?N.onDone:m,A=typeof N.disabled=="boolean";let D=p==="disabled";return A&&(D=!!N.disabled),i.cloneElement(x,{onDone:j,disabled:D,showTooltip:_,hideTooltip:k})}return w});return t.jsxs("div",{className:`training-step training-step--${p} ${a?"training-step--last":""} ${l}`,"aria-current":p==="active",children:[t.jsx(jl,{state:p}),t.jsxs("div",{className:"training-step__content",children:[t.jsx(El,{state:p,title:r,...o,useFaded:u}),b]}),y?t.jsx(pn,{anchorRect:g.anchorRect,backdrop:g.backdrop,onClose:k,ariaLabel:d("tooltip.textbox","\uBCF8\uBB38"),children:t.jsx(ja,{text:g.text,onClose:k})}):null]})}function Ml({context:e,state:n="disabled",theme:a="light"}){const{t:r}=me.useTranslation(),[o,s]=i.useState("disabled"),[l,c]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||a}catch{return a}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",l)}catch{}},[l]);const u=()=>c(A=>A==="dark"?"light":"dark"),{increase:d,decrease:p,canIncrease:h,canDecrease:m,fontSize:y,lineHeight:f}=Zs({storageKey:"textbox_fontScale"}),[g,C]=i.useState(""),v=i.useCallback(()=>s("active"),[]),_=i.useCallback(()=>C(""),[]),k=A=>{try{C(A)}catch{}},b=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");i.useEffect(()=>{if(n!=="disabled"){const A=setTimeout(()=>s(n),0);return()=>clearTimeout(A)}},[n]);const w=i.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]);i.useEffect(()=>{const A=setTimeout(()=>s("disabled"),0);return()=>clearTimeout(A)},[w]);const x=n==="disabled"?o:n,N=x==="disabled"?"training-text-box--disabled":x==="active"?"training-text-box--active":x==="done"?"training-text-box--done":"",j=i.useMemo(()=>({fontSize:`${y}px`,lineHeight:`${f}px`}),[y,f]);return t.jsxs("div",{className:`training-text-box ${N} ${x!=="disabled"&&l==="dark"?"is-dark":""}`,children:[x==="disabled"&&t.jsx("div",{className:"training-text-box__preview",children:t.jsx(oe,{htmlType:"button",size:48,type:"bar",onClick:v,icon:"eye",ariaLabel:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),t.jsx("div",{className:"training-text-box__area","aria-hidden":x==="disabled",children:t.jsx("span",{className:"training-text-box__inner h3",style:j,children:w})}),x!=="disabled"&&t.jsxs("div",{className:"training-text-box__buttons","aria-hidden":x==="disabled",children:[t.jsx(oe,{htmlType:"button",size:32,type:"dot",onClick:p,onDisabledClick:()=>k(r("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!m,useBorder:!1,showTooltipInfo:!0,...!b&&{width:"60px"}}),t.jsx(oe,{htmlType:"button",size:32,type:"dot",onClick:d,onDisabledClick:()=>k(r("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!h,useBorder:!1,showTooltipInfo:!0,...!b&&{width:"60px"}}),t.jsx(oe,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:l==="dark"?"moon":"sun-medium",onClick:u,ariaLabel:r("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:l==="dark"?"transparent-white":"transparent-gray"})]}),t.jsx($n,{message:g,position:"top",onClose:_})]})}function zr({index:e,stepIndex:n,isLast:a=!1,title:r,useTitleFaded:o,onDone:s,onChange:l,answer:c,wrongAnswers:u,choices:d,multiSelect:p=!1,correctCount:h=0,useDisabledCovered:m=!1,choiceIcons:y,shuffleChoices:f=!0}){const{t:g}=me.useTranslation(),C=r??g("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),v=typeof e=="number"?e:-1,_=typeof n!="number"?"disabled":v<n?"done":v===n?"active":"disabled",k=Array.isArray(d)&&d.length?d:typeof c<"u"?[c].concat(Array.isArray(u)?u:[]):void 0,b=u?u.join("||"):"",w=d?d.join("||"):"",[x,N]=i.useState(()=>Array.isArray(k)?f?Yn(k):k.slice():void 0);i.useEffect(()=>{Array.isArray(k)&&k.length?N(f?Yn(k):k.slice()):N(void 0)},[c,b,w,f]);const[j,A]=i.useState(null),[D,F]=i.useState(()=>new Set);i.useEffect(()=>{A(null),F(new Set)},[w]);const P=i.useRef(void 0);i.useEffect(()=>{const L=P.current;typeof L=="number"&&typeof n=="number"&&typeof e=="number"&&L>=e&&n<e&&(A(null),F(new Set)),P.current=n},[n,e]);const S=i.useCallback(L=>{if(_!=="active")return;const te=x?.[L];if(te==null)return;const E=te,O=_==="active"||_==="done";if(p){const Q=new Set(D),W=Q.has(E);W?Q.delete(E):Q.add(E),F(Q),typeof l=="function"&&l({selectedValues:[...Q],__ts:Date.now()}),O&&(typeof h=="number"&&h>0?Q.size>=h:!W)&&typeof s=="function"&&_==="active"&&s({selectedValues:[...Q],__ts:Date.now()})}else A(E),typeof l=="function"&&l({selectedIndex:L,selectedValue:E,__ts:Date.now()}),O&&typeof s=="function"&&_==="active"&&s({selectedIndex:L,selectedValue:E,__ts:Date.now()})},[x,_,p,l,s,h,D]),V=`training-step__buttons${Array.isArray(x)&&x.length>3?" training-step__buttons--wrap-3":""}`;return t.jsx(Sn,{index:e,stepIndex:n,isLast:a,title:C,useTitleFaded:o,children:t.jsx("div",{className:V,children:Array.isArray(x)&&x.length>0?x.map((L,te)=>t.jsx(oe,{htmlType:"button",size:56,type:"bar",onClick:()=>S(te),ariaLabel:String(L),label:L,useLabel:!0,icon:y?y[String(L)]:void 0,variant:"default",disabled:_==="disabled",selected:p?D.has(L):j===L,useDisabledCovered:m,minWidth:0},String(L))):null})})}function Wr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l,demoSelected:c}){const{t:u}=me.useTranslation(),d=r??u("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),p=typeof e=="number"?e:-1,h=typeof n!="number"?"disabled":p<n?"done":p===n?"active":"disabled",m=l&&typeof l=="object"?l.sentence||"":typeof l=="string"?l:"",y=l&&typeof l=="object"?l.choices:void 0,[f,g]=i.useState(c??null),[C,v]=i.useState(m);C!==m&&(v(m),c==null&&g(null));const _=i.useCallback(w=>{const x=typeof w=="object"&&w!==null?Object.assign({},w,{__ts:Date.now()}):{value:w,__ts:Date.now()};typeof s=="function"&&s(x),h==="active"&&typeof o=="function"&&o(x)},[s,h,o]),k=i.useCallback(()=>{h==="active"&&(g(!1),_(!1))},[_,h]),b=i.useCallback(()=>{h==="active"&&(g(!0),_(!0))},[_,h]);return t.jsxs(Sn,{index:e,stepIndex:n,isLast:a,title:d,onDone:o,useTitleFaded:!1,children:[t.jsx(Ml,{context:l,state:h}),t.jsx("div",{className:"training-step__buttons",children:Array.isArray(y)&&y.length>0?y.slice(0,6).map((w,x)=>t.jsx(oe,{htmlType:"button",size:56,type:"bar",onClick:()=>{h==="active"&&(g(x),_&&_(x))},disabled:h==="disabled",ariaLabel:String(w),label:w,variant:h,selected:f===x},x)):t.jsxs(t.Fragment,{children:[t.jsx(oe,{htmlType:"button",size:56,type:"bar",onClick:k,disabled:h==="disabled",icon:"x",ariaLabel:u("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:u("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!1}),t.jsx(oe,{htmlType:"button",size:56,type:"bar",onClick:b,disabled:h==="disabled",icon:"circle",ariaLabel:u("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:u("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!0})]})})]})}function qr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,btnLabel:s,soundSrc:l,bucketPath:c,usePreviewTextBtn:u,previewText:d=null,onPreviewTextBtn:p,disabled:h,_pageIndex:m,showSoundWaveForm:y,showNoiseWaveForm:f}){const{t:g}=me.useTranslation(),C=r??g("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),v=h??(typeof n=="number"&&typeof e=="number"?e>n:!1);return t.jsx(Sn,{index:e,stepIndex:n,isLast:a,title:C,onDone:o,titleProps:{usePreviewTextBtn:u,previewText:d,onPreviewTextBtn:p},children:t.jsx(Hr,{soundSrc:l,ttsText:l?null:d??C,bucketPath:c,btnLabel:s||g("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:v,className:"training-step__listen-sticky",showSoundWaveForm:y,showNoiseWaveForm:f},`audio-p${m??0}-s${e}`)})}function Ur({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[]}){const{t:c}=me.useTranslation(),u=r??c("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),d=M=>typeof M=="string"?M:M&&(M.context||M.sentence||M.question||"")||"",[p,h]=i.useState(Array.isArray(l)?l:[]),[m,y]=i.useState(()=>(p||[]).map((M,T)=>({id:T,text:d(M)}))),f=i.useMemo(()=>typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled",[n,e]);i.useEffect(()=>{const M=Array.isArray(l)?l:[];h(M);const T=($=>{const R=($||[]).map((z,ie)=>({id:ie,text:d(z)}));if(R.length<=1)return R;const G=(z,ie)=>{if(z.length!==ie.length)return!1;for(let ce=0;ce<z.length;ce++)if(z[ce].text!==ie[ce].text)return!1;return!0};let I=Yn(R),U=0;for(;G(I,R)&&U<20;)I=Yn(R),U+=1;return I})(M);y(T);try{if(typeof s=="function"){const $=T.filter((R,G)=>R.text===d(M[G])).length;s({shuffled:T,score:$,total:(M||[]).length,initial:!0,__ts:Date.now()})}if(typeof o=="function"&&f==="active"){const $=T.filter((R,G)=>R.text===d(M[G])).length;o({shuffled:T,score:$,total:(M||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[l]);const g=(M,T)=>{const $=[...m],R=M+T;if(R<0||R>=$.length)return;const G=$[R];$[R]=$[M],$[M]=G,V($);try{if(typeof o=="function"&&f==="active"){const I=$.filter((U,z)=>U.text===d(p[z])).length;o({shuffled:$,score:I,total:(p||[]).length,__ts:Date.now()})}}catch{}},[C,v]=i.useState(null),_=i.useRef(null),k=i.useRef(null),b=i.useRef(null),w=i.useRef(null),x=i.useRef(null),N=i.useRef({x:0,y:0}),j=i.useRef(null),A=i.useRef({dx:0,dy:0}),D=()=>{if(j.current!==null)return;const M=()=>{j.current=requestAnimationFrame(M);const T=N.current,$=A.current||{dx:0,dy:0};_.current&&(_.current.style.transform=`translate3d(${T.x-$.dx}px, ${T.y-$.dy}px, 0)`)};j.current=requestAnimationFrame(M)},F=i.useRef(new Map),P=i.useRef(new Map),S=()=>{const M=new Map;return F.current.forEach((T,$)=>{T&&T.getBoundingClientRect&&M.set($,T.getBoundingClientRect())}),M},V=M=>{const T=S();y(M);try{if(typeof s=="function"){const $=M.filter((R,G)=>R.text===d(p[G])).length;s({shuffled:M,score:$,total:(p||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const $=S();M.forEach(R=>{const G=T.get(R.id),I=$.get(R.id),U=F.current.get(R.id);if(!U||!G||!I)return;const z=G.top-I.top;z&&(U.style.transition="none",U.style.transform=`translateY(${z}px)`,requestAnimationFrame(()=>{U.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",U.style.transform="";const ie=()=>{U.style.transition="",U.removeEventListener("transitionend",ie)};U.addEventListener("transitionend",ie)}))})})},L=(M,T)=>{try{try{T.dataTransfer?.setData("text/plain",String(M))}catch{}try{T.dataTransfer&&(T.dataTransfer.effectAllowed="move")}catch{}try{const $=document.createElement("div");$.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild($),T.dataTransfer?.setDragImage($,0,0),requestAnimationFrame(()=>{try{document.body.removeChild($)}catch{}})}catch{}}catch{}v(M);try{const $=m[M],R=document.createElement("div");R.className="order-list__dragging-object order-list__dragging-object--visible",R.textContent=$&&$.text?$.text:"",document.body.appendChild(R),_.current=R;const G=F.current.get($.id);let I=T.clientX||0,U=T.clientY||0;try{if(G&&G.getBoundingClientRect){const fe=G.getBoundingClientRect();I=fe.left+fe.width/2,U=fe.top+fe.height/2}}catch{}const z=R.getBoundingClientRect(),ie=z.width/2,ce=z.height/2;A.current={dx:ie,dy:ce},R.style.transition="none",N.current={x:I,y:U},R.style.transform=`translate3d(${I-ie}px, ${U-ce}px, 0)`,requestAnimationFrame(()=>{try{R.style.transition=""}catch{}D()});const be=fe=>{const Z=fe;N.current={x:Z.clientX,y:Z.clientY},D()};b.current=be,document.addEventListener("mousemove",be);const ve=fe=>{const Z=fe;N.current={x:Z.clientX,y:Z.clientY},D()};k.current=ve,document.addEventListener("dragover",ve);try{T.dataTransfer?.setData("text/plain",String(M));try{T.dataTransfer?.setData("application/json",JSON.stringify({idx:M}))}catch{}}catch{}}catch{}},te=(M,T)=>{T.preventDefault();try{T.dataTransfer&&(T.dataTransfer.dropEffect="move")}catch{}try{x.current!==null&&(clearTimeout(x.current),x.current=null);const $=T.currentTarget&&T.currentTarget.closest?T.currentTarget.closest(".order-list__item"):null;if($&&w.current!==$){if(w.current)try{w.current.classList.remove("drag-over")}catch{}try{$.classList.add("drag-over")}catch{}w.current=$}}catch{}},E=(M,T)=>{T.preventDefault();const $=T.dataTransfer?.getData("text/plain")||"",R=$?parseInt($,10):C,G=M;if(typeof R!="number"||isNaN(R)||R===G){v(null),W(),O();return}const I=Jm(m,R,G);V(I),v(null),O();try{if(typeof o=="function"&&f==="active"){const U=I.filter((z,ie)=>z.text===d(p[ie])).length;o({shuffled:I,score:U,total:(p||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const U=document.querySelectorAll(".order-list .order-list__item")[G];if(!U)return;const z=U.querySelector(".order-list__slot")||U;try{z.classList.add("pulse"),z.offsetHeight,z.classList.add("to-dark");const ie=()=>{z.classList.remove("pulse","to-dark"),z.removeEventListener("transitionend",ie)};z.addEventListener("transitionend",ie)}catch{}})}catch{}W()},O=()=>{if(_.current){try{document.body.removeChild(_.current)}catch{}_.current=null}k.current&&(document.removeEventListener("dragover",k.current),k.current=null),b.current&&(document.removeEventListener("mousemove",b.current),b.current=null),j.current!==null&&(cancelAnimationFrame(j.current),j.current=null)},Q=()=>{v(null),W(),O()};i.useEffect(()=>()=>O(),[]);const W=()=>{try{if(x.current!==null&&(clearTimeout(x.current),x.current=null),w.current){try{w.current.classList.remove("drag-over")}catch{}w.current=null}document.querySelectorAll(".order-list .order-list__item").forEach(M=>M.classList.remove("drag-over"))}catch{}};return i.useEffect(()=>{try{const M=Math.max(1,(m||[]).length);m.forEach((T,$)=>{const R=P.current.get(T.id);if(!R)return;let G=50;M>1&&(G=Math.round($/(M-1)*100));try{R.style.setProperty("--marker-pos",G+"%")}catch{}})}catch{}},[m]),i.useEffect(()=>()=>{O(),x.current!==null&&(clearTimeout(x.current),x.current=null)},[]),t.jsx(Sn,{index:e,stepIndex:n,isLast:a,title:u,children:t.jsx("div",{className:"order-list",children:m.map((M,T)=>{const $=Math.max(1,(m||[]).length),R=$>1?Math.round(T/($-1)*100):50;return t.jsx("div",{className:"order-list__item",children:t.jsxs("div",{className:"order-list__slot","data-disabled":f==="disabled","aria-disabled":f==="disabled",children:[f!=="disabled"?t.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":R+"%"},ref:G=>{const I=P.current;G?I.set(M.id,G):I.delete(M.id)},children:t.jsx("span",{className:"order-list__slot-number button-1",children:T+1})}):null,t.jsxs("div",{ref:G=>{const I=F.current;G?I.set(M.id,G):I.delete(M.id)},className:`order-list__draggable ${C===T?"dragging":""}`,"data-disabled":f==="disabled","aria-disabled":f==="disabled",tabIndex:f==="disabled"?-1:0,draggable:f==="active",onDragStart:f==="active"?G=>L(T,G):void 0,onDragEnter:f==="active"?G=>te(T,G):void 0,onDragOver:f==="active"?G=>te(T,G):void 0,onDragLeave:f==="active"?()=>{try{x.current!==null&&clearTimeout(x.current),x.current=setTimeout(()=>{try{const G=document.querySelectorAll(".order-list .order-list__item");G&&G[T]&&(G[T].classList.remove("drag-over"),w.current===G[T]&&(w.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f==="active"?G=>E(T,G):void 0,onDragEnd:f==="active"?Q:void 0,children:[t.jsx("span",{className:"order-list__item-text body-2",children:M.text}),f==="active"?t.jsxs("span",{className:"order-list__item-buttons",children:[t.jsx(oe,{htmlType:"button",size:32,type:"dot",onClick:()=>g(T,-1),ariaLabel:c("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:T===0,useBorder:!1,useDisabledInvisible:!0}),t.jsx(oe,{htmlType:"button",size:32,type:"dot",onClick:()=>g(T,1),ariaLabel:c("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:T===m.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},M.id)})})})}const Ub=8e3;function Gb(e,n){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.then(o,o),setTimeout(o,n)})}function Ll({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[],selectable:c=!1,hideLabel:u=!1,hideAudio:d=!1,maxCards:p}){const{t:h}=me.useTranslation(),m=r??h("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),y=i.useMemo(()=>Array.isArray(l)?l:l&&l.items||[],[l]),f=p??3,g=(y||[]).slice(0,f);(y||[]).length>f&&console.warn(`TrainingStepCard: ${y.length} items passed but only ${f} shown`);const C=typeof e=="number"?e:-1,v=typeof n!="number"?"disabled":C<n?"done":C===n?"active":"disabled",[_,k]=i.useState(null),b=i.useRef([]),[w,x]=i.useState(!1),N=i.useMemo(()=>y.map(F=>F?.id??F?.word??"").join("|"),[y]);i.useEffect(()=>{k(null),b.current=[]},[N]);const j=i.useCallback((F,P)=>{if(c)return;const S={item:F,index:P,__ts:Date.now()};try{typeof s=="function"&&s(S)}catch{}if(v==="active"&&typeof o=="function")try{o(S)}catch{}},[c,s,v,o]),A=i.useCallback(async()=>{if(!(w||v==="disabled")){x(!0);try{for(const F of b.current)F&&await Gb(F.play(),Ub)}finally{x(!1)}}},[w,v]),D=i.useCallback((F,P)=>{if(v!=="active")return;k(P);const S={selectedValue:F.word||F.title||"",selectedIndex:P,item:F,__ts:Date.now()};try{typeof s=="function"&&s(S)}catch{}if(v==="active"&&typeof o=="function")try{o(S)}catch{}},[s,v,o]);return t.jsx(Sn,{index:e,stepIndex:n,isLast:a,title:m,onDone:o,titleProps:{usePlayAllBtn:!d&&g.length>0,onPlayAll:A,playAllActive:w},children:t.jsx("div",{className:"training-step__cards",children:g.length===0?t.jsx("div",{className:"training-step__empty",children:h("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):g.map((F,P)=>t.jsx(Nr,{ref:S=>{b.current[P]=S},item:F,disabled:v==="disabled",onPlayDone:()=>j(F,P),selectable:c,selected:c&&_===P,onSelect:c?()=>D(F,P):void 0,flipDelay:P*120,hideLabel:u,hideAudio:d},F&&F.id||P))})})}const Kb=160,$l=()=>{};function Cn(e){const n=i.useId();if(!("variant"in e)){const{label:C,sub:v,onClick:_,children:k,align:b="horizontal",icon:w}=e,x=N=>{_&&N.target===N.currentTarget&&(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),_())};return t.jsxs("div",{className:_e("panel-row",b==="vertical"?"panel-row--vertical":"",_?"panel-row--clickable":""),onClick:_,onKeyDown:_?x:void 0,role:_?"button":void 0,tabIndex:_?0:void 0,children:[w!=null&&t.jsx("div",{className:"panel-row__icon",children:w}),C!=null&&t.jsxs("div",{className:"panel-row__left",children:[t.jsx("div",{className:"panel-row__label body-3",children:C}),v&&t.jsx("div",{className:"panel-row__sub caption-1",children:v})]}),t.jsx("div",{className:"panel-row__right",children:k})]})}if(e.variant==="description")return t.jsx("div",{className:"panel-row panel-row--block",children:t.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return t.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return t.jsx("div",{className:"panel-row panel-row--loading",children:t.jsx(sa,{size:28})});if(e.variant==="custom"&&!e.label)return t.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:r,sub:o,onClick:s,required:l,error:c,align:u="horizontal",useFullWidth:d=!1,icon:p}=e,h=a==="button"?void 0:s;let m=null;const y=a==="toggle"?`panel-toggle-${n}`:void 0;if(a==="toggle"){const C=e;m=t.jsx(Li,{checked:C.checked,onChange:C.onChange,id:y})}else if(a==="segmented"){const C=e;m=t.jsx(Dn,{options:C.options,value:C.value,onChange:C.onChange,size:C.size??40,ariaLabel:r})}else if(a==="dropdown"){const C=e,v=C.dropdowns?.length?t.jsx("div",{className:`panel-row__dropdown-group${d?" panel-row__dropdown-group--full":""}`,children:C.dropdowns.map((_,k)=>t.jsx("div",{className:d?"panel-row__dropdown-item--full":void 0,children:t.jsx(Wt,{options:_.options,value:_.value,onChange:_.onChange,placeholder:_.placeholder,block:d,error:!!c,ariaLabel:_.ariaLabel??([r,_.placeholder].filter(Boolean).join(" ")||void 0)})},k))}):t.jsx(Wt,{options:C.options??[],value:C.value??"",onChange:C.onChange??$l,block:d,error:!!c,ariaLabel:r});m=c?t.jsxs("div",{className:`panel-row__dropdown-error-wrap${d?" panel-row__dropdown-error-wrap--full":""}`,children:[v,t.jsx("span",{className:"caption-1 panel-row__error",role:"alert",children:c})]}):v}else if(a==="button"){const C=e;C.buttons?.length?m=t.jsx("div",{className:"panel-row__button-group",children:C.buttons.map((v,_)=>t.jsx(oe,{htmlType:"button",size:v.btnSize??40,variant:v.btnVariant??"default",disabled:v.disabled,onClick:v.onClick,children:v.label},_))}):m=t.jsx(oe,{htmlType:"button",size:C.btnSize??40,variant:C.btnVariant??"default",disabled:C.disabled,onClick:C.onClick,children:C.buttonLabel})}else if(a==="text"){const C=e;m=t.jsx("span",{className:`panel-row__text body-2${d?" panel-row__text--full":""}`,style:C.valueColor?{color:C.valueColor}:void 0,children:C.value})}else if(a==="input"){const C=e;m=t.jsxs("div",{className:`panel-row__input-wrap${d?" panel-row__input-wrap--full":""}`,children:[t.jsx(Bn,{value:C.value,onChange:C.onChange??$l,onKeyDown:C.onKeyDown,onEnter:C.onEnter,placeholder:C.placeholder,inputMode:C.inputMode,readOnly:C.readOnly,disabled:C.disabled,type:C.type,autoComplete:C.autoComplete,maxLength:C.maxLength,showCount:C.showCount,multiline:C.multiline,rows:C.rows,fullWidth:d,error:c,ariaLabel:r,required:l}),C.helperText&&t.jsx("div",{className:"panel-row__helper caption-1",children:C.helperText})]})}else a==="custom"&&(m=e.children);const f=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&d,g=C=>{h&&C.target===C.currentTarget&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),h())};return t.jsxs("div",{className:_e("panel-row",u==="vertical"?"panel-row--vertical":"",f?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",h?"panel-row--clickable":""),onClick:h,onKeyDown:h?g:void 0,role:h?"button":void 0,tabIndex:h?0:void 0,children:[p!=null&&t.jsx("div",{className:"panel-row__icon",children:p}),t.jsxs("div",{className:"panel-row__left",children:[y?t.jsxs("label",{htmlFor:y,className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}):t.jsxs("div",{className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}),o&&t.jsx("div",{className:"panel-row__sub caption-1",children:o})]}),t.jsx("div",{className:"panel-row__right",children:m})]})}function Rl(e){const n=e.productName||e.brand,a=[e.brand,e.fitType].filter(r=>!!r&&r!==n);return[...new Set(a)].join(" \xB7 ")}function Zb({devices:e,onRelease:n,emptyLabel:a}){const{t:r}=me.useTranslation();return t.jsx("div",{className:"panel-row panel-row--device",children:["\uC88C","\uC6B0"].map(o=>{const s=e[o],l=o==="\uC88C"?r("device.direction.left","\uC88C"):r("device.direction.right","\uC6B0");return t.jsxs("div",{className:"panel-row__device-column",children:[t.jsxs("div",{className:"panel-row__device-head",children:[t.jsx("span",{className:"panel-row__device-side body-2b",children:l}),s&&n&&t.jsx(oe,{htmlType:"button",size:32,type:"dot",icon:"x",ariaLabel:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),showTooltipInfo:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>n(o)})]}),s?t.jsxs("div",{className:"panel-row__device-info",children:[t.jsxs("span",{className:"panel-row__device-kind",children:[s.device&&t.jsx(ot,{size:"small",variant:Gi(s.device),fill:"soft",label:s.device}),Rl(s)&&t.jsx("span",{className:"panel-row__device-detail body-3",children:Rl(s)})]}),t.jsx("span",{className:"panel-row__device-name body-2b",children:s.productName||s.brand}),t.jsx("span",{className:"panel-row__device-date caption-1",children:r("customers.device.wornSince",{date:`${s.wornYear}.${s.wornMonth}.${s.wornDay}`})})]}):t.jsx("span",{className:"panel-row__device-empty body-3",children:a??r("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},o)})})}function Ea({title:e,icon:n,disc:a,actions:r,size:o="medium",minHeight:s,maxWidth:l,className:c,scrollable:u,useBorder:d=!0,useBg:p=!0,useRowBorder:h=!0,labelWidth:m,form:y=!1,loading:f,empty:g,children:C}){const v=_e("panel",`panel--${o}`,y?"panel--form":"",s!==void 0?"panel--fill":"",d?"":"panel--no-border",p?"":"panel--no-bg",h?"":"panel--no-row-border",c),_={};return s!==void 0&&(_.minHeight=s),l!==void 0&&(_.maxWidth=typeof l=="number"?`${l}px`:l),m!==void 0&&(_["--panel-label-width"]=typeof m=="number"?`${m}px`:m),t.jsxs("div",{className:v,style:Object.keys(_).length?_:void 0,children:[(e!=null||a!=null)&&t.jsxs("div",{className:_e("panel__header",a!=null?"panel__header--with-disc":""),children:[n&&t.jsx(Ie,{icon:n,label:typeof e=="string"?e:void 0,className:"panel__icon"}),t.jsxs("div",{className:"panel__title-group",children:[e!=null&&t.jsx("h2",{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&t.jsx("p",{className:"panel__disc caption-1",children:a})]}),r&&t.jsx("div",{className:"panel__actions",children:r})]}),f?t.jsx(Cn,{variant:"loading"}):g!=null&&i.Children.toArray(C).length===0?t.jsx(Cn,{variant:"empty",children:g}):u?t.jsx("div",{className:"panel__body--scroll",children:C}):C]})}function Yb({cols:e=2,children:n}){return t.jsx("div",{className:"panel-grid",style:{"--panel-grid-cols":e},children:n})}function Xb(e){return[{label:e("training.noise.level.none","\uC5C6\uC74C"),value:0},{label:e("training.noise.level.weak","\uC57D\uD568"),value:1},{label:e("training.noise.level.medium","\uBCF4\uD1B5"),value:2},{label:e("training.noise.level.strong","\uAC15\uD568"),value:3},{label:e("training.noise.level.veryStrong","\uB9E4\uC6B0 \uAC15\uD568"),value:4}]}function Pl(e){return[{label:e("training.noise.type.default","\uAE30\uBCF8"),value:"defaultNoise",icon:"party-popper"},{label:e("training.noise.type.street","\uAE38\uAC70\uB9AC"),value:"street",icon:"car"},{label:e("training.noise.type.buzz","\uC640\uAE00\uC640\uAE00"),value:"buzz",icon:"message-square-more"},{label:e("training.noise.type.restaurant","\uC2DD\uB2F9"),value:"restaurant",icon:"coffee"}]}Xb(Pt.t.bind(Pt)),Pl(Pt.t.bind(Pt));const Gr="none",Jb=.5,Qb=1.5,e5=.25;function Kr({title:e,valueLabel:n,value:a,min:r,max:o,step:s,tickStep:l,size:c,onChange:u}){return t.jsxs(Cn,{variant:"custom",label:e,useFullWidth:!0,children:[t.jsx(zi,{value:a,onChange:u,min:r,max:o,step:s,size:c,showBgTick:!0,tickStep:l,ariaLabel:e,className:"noise-settings__slider-input"}),t.jsx("div",{className:"noise-settings__value button-1",children:n})]})}function Il({anchorRect:e,onClose:n}){const{t:a}=me.useTranslation(),r=Kt("(max-width: 767px)")?40:24,o=Sa(),s=ia(o?.settings??ca),l=o?.settings.type??"defaultNoise",c=o?.settings.enabled??!0,u=o?.playbackRate??1,d=o?.mainVolume??1,p=Math.round(d*100),h=i.useCallback(g=>{try{o?.setMainVolume(Math.max(0,Math.min(1,g/100)))}catch{}},[o]),m=i.useCallback(g=>{try{o?.setPlaybackRate(g)}catch{}},[o]),y=i.useCallback(g=>{const C=Math.min(Da,Math.max(0,Math.round(g*10)/10));try{o?.setSettings({noiseRatio:C})}catch{}},[o]),f=i.useCallback(g=>{try{g===Gr?o?.setSettings({enabled:!1}):o?.setSettings({type:g,enabled:!0})}catch{}},[o]);return t.jsx(pn,{anchorRect:e,offset:12,onClose:n,ariaLabel:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:t.jsxs("div",{className:"noise-settings__header",children:[t.jsx("span",{children:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),t.jsx(oe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:a("common.close","\uB2EB\uAE30"),onClick:n})]}),children:t.jsxs(Ea,{className:"noise-settings",useBorder:!1,labelWidth:72,children:[t.jsx(Kr,{title:a("training.playVolumeTitle","\uC804\uCCB4 \uC18C\uB9AC"),valueLabel:`${p}%`,value:p,min:0,max:100,step:10,size:r,onChange:h}),t.jsx(Kr,{title:a("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${u.toFixed(2)}x`,value:u,min:Jb,max:Qb,step:e5,size:r,onChange:m}),t.jsx(Cn,{variant:"custom",label:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:t.jsx(Dn,{ariaLabel:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:[{key:Gr,label:a("training.noise.type.none","\uC5C6\uC74C")},...Pl(a).map(g=>({key:g.value,label:g.label}))],value:c?l:Gr,onChange:f})}),t.jsx(Kr,{title:a("training.noiseRatioTitle","\uC18C\uC74C \uBE44\uC728"),valueLabel:a("training.noiseRatioValue","{{ratio}}\uBC30",{ratio:s.toFixed(1)}),value:s,min:0,max:Da,step:_l,size:r,onChange:y})]})})}function Fl({useNoiseSettingBtn:e=!1,onSettings:n,onNext:a,onResult:r,stepIndex:o=0,stepCount:s=0,pageIndex:l=0,pageCount:c=1}){const{t:u}=me.useTranslation(),[d,p]=i.useState(!1),[h,m]=i.useState(null),[y,f]=i.useState(!1),g=i.useRef(null),C=i.useRef(null),v=Sa(),_=l<c-1,k=l===c-1,b=o===Math.max(0,s);i.useEffect(()=>{e||(p(!1),m(null))},[e]);const w=i.useCallback(()=>{p(!1),m(null)},[]),x=i.useCallback(()=>{if(d){p(!1),m(null);return}const A=g?.current?.getBoundingClientRect();A&&m(A),n?.(),p(!0)},[d,n]),N=i.useCallback(()=>{if(d){p(!1),m(null);return}const A=C?.current?.getBoundingClientRect();A&&m(A),n?.(),p(!0)},[d,n]),j=i.useCallback(()=>f(A=>!A),[]);return t.jsxs("div",{className:"pp-bottom",children:[t.jsxs("div",{className:"pp-bottom__left",children:[e?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pp-bottom__settings--desktop",children:t.jsx("div",{ref:g,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(oe,{htmlType:"button",size:56,type:"bar",icon:"settings",onClick:x,selected:d,ariaLabel:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),t.jsx("div",{className:"pp-bottom__settings--mobile",children:t.jsx("div",{ref:C,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(oe,{htmlType:"button",size:56,type:"dot",icon:"settings",onClick:N,selected:d,ariaLabel:u("training.settings","\uC124\uC815"),minWidth:52})})})]}):null,e&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:j,selected:y,ariaLabel:u("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")}),e&&y&&t.jsxs("div",{className:"pp-bottom__meters",children:[t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.sentence","\uC7AC\uC0DD")}),t.jsx(xr,{analyser:v?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.sentence","\uC7AC\uC0DD")})]}),t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.noise","\uC18C\uC74C")}),t.jsx(xr,{analyser:v?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.noise","\uC18C\uC74C")})]})]})]}),t.jsxs("div",{className:"pp-bottom__right",children:[k&&t.jsx(oe,{htmlType:"button",size:56,type:"bar",icon:"check",onClick:typeof r=="function"?r:a,ariaLabel:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!b}),_&&t.jsx(oe,{htmlType:"button",size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:a,ariaLabel:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!b})]}),e&&d&&t.jsx(Il,{anchorRect:h,onClose:w})]})}function Ol({title:e,subtitle:n,desc:a,depth:r,icon:o,wrapperStyle:s,iconTooltip:l,pageIndex:c,pageCount:u,progressMax:d,progressIndex:p,onBack:h,onClose:m}){const{t:y}=me.useTranslation(),f=Kt("(max-width: 767px)"),g=Number.isInteger(p)?p:c||0,C=Number.isInteger(d)?d:u||0,v=h||m,_=Array.isArray(r)?f?r[r.length-1]:r.join(" / "):r,k=typeof e=="string"?e.trim():e,b=typeof n=="string"?n.trim():n,w=!!(k||b),x=w?k||b:y("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),N=_||n,j=f&&typeof N=="string"&&(N.includes(" \xB7 ")||N.includes(" / "))?N.split(/\s[·/]\s/).pop():N,A=i.useMemo(()=>{const D=s&&typeof s=="object"?{...s}:{};return!("width"in D)&&!("height"in D)&&(D.width="40px",D.height="40px"),D},[s]);return t.jsxs("header",{className:"pp-title training-popup-title",children:[t.jsxs("div",{className:"pp-title__left",children:[v?t.jsx(oe,{htmlType:"button",size:48,type:"dot",icon:"chevron-left",ariaLabel:y("common.back","\uB4A4\uB85C"),onClick:v,useBorder:!1,iconSize:"large",iconColor:"--color-black",variant:"transparent-gray"}):null,t.jsx("div",{children:o?t.jsx(Yi,{icon:o,label:e,tooltip:l,wrapperStyle:A}):null}),t.jsxs("div",{className:"pp-title__text",children:[j?t.jsx("span",{className:"pp-title__depth caption-1",children:j}):null,t.jsx("span",{className:`pp-title__title h2${w?"":" pp-title__title--empty"}`,children:x}),a?t.jsx("span",{className:"pp-title__description caption-1",children:a}):null]})]}),t.jsx(Ui,{max:Math.max(0,C??0),index:Math.max(0,g??0)})]})}function t5(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function n5(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(n=>typeof n=="string"?n.split("|").map(a=>a.trim()).filter(Boolean):n||n===0?[String(n)]:[]):typeof e=="string"?e.split("|").map(n=>n.trim()).filter(Boolean):[String(e)]}function Hl(e,n,a){const r=e,o=r?.title||r?.name||(Array.isArray(n)?n[n.length-1]:void 0)||a||"\uD6C8\uB828",s=Cs().find(c=>c.key===(r?.category_0||r?.category_main_code)),l=s?.subs?.find(c=>c.key===(r?.category_1||r?.category_sub_code));return{title:o,label:r?.title||o,depth:n,icon:s?.icon,wrapperStyle:s?.color?{"--t-item-fg":s.color}:void 0,iconTooltip:[s?.label,l?.label].filter(Boolean).join(" / ")||void 0}}function Zr(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function a5(e){const n=e;return Array.isArray(n?.items)?n.items:Array.isArray(e)?e:e?[e]:[]}function r5({idPrefix:e,trainingData:n,depth:a,fallbackTitle:r="\uD6C8\uB828",pages:o=[],emptyMessage:s,buildResults:l,metaPatch:c}){const u=Hl(n,a,r),d=typeof c=="function"?c(u)||{}:c||{},p=n?.id||n?.title||o.length;return{id:`${e}:${p}`,meta:{...u,...d},pages:o,emptyMessage:s,buildResults:l}}function o5(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const n=e;return n.context||n.sentence||n.question||""||""}return""}function s5(e){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return n.selectedValues;if(n.selectedValue!==void 0)return n.selectedValue;if(n.selectedIndex!==void 0)return n.selectedIndex;if(n.value!==void 0)return n.value}return e}function i5(e,n=[]){if(Array.isArray(e))return e.join(", ");if(typeof e=="number"&&Array.isArray(n))return String(n[e]??"");if(typeof e=="string")return e}function Vl(e,n){if(!(!e||typeof e!="object"))return e[`step-${n}`]}function l5(e,n,a,r){return Vl(e,n*a+r)}function c5({payload:e,selected:n,choices:a=[],correctAnswers:r=[]}){if(e&&typeof e=="object"){const o=e;if(Array.isArray(o.selectedValues))return r.every(s=>o.selectedValues.includes(s))&&o.selectedValues.every(s=>r.includes(s));if(typeof o.correct=="boolean")return o.correct}if(r.length){if(typeof n=="number"&&Array.isArray(a)&&a.length)return r.some(o=>String(o)===String(a[n]));if(typeof n<"u")return r.some(o=>String(o)===String(n))}}function u5(e){return e?Array.isArray(e.items)?e.items.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.context||a.sentence||"",contextCode:a.contextCode||a.context_code}}):Array.isArray(e.sentences)?e.sentences.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.sentence||a.context||"",contextCode:a.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const zl=i.createContext(null);function d5(){const e=i.useContext(zl);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function p5({index:e,stepIndex:n,isLast:a=!1,title:r="\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",choices:o=[],onDone:s,onChange:l}){const c=typeof e=="number"?e:-1,u=typeof n!="number"?"disabled":c<n?"done":c===n?"active":"disabled",[d,p]=i.useState(()=>o.map(()=>null)),h=o.join("|");i.useEffect(()=>{p(h?h.split("|").map(()=>null):[])},[h]);const m=i.useMemo(()=>d.filter(f=>f!==null).length+1,[d]),y=i.useCallback(f=>{u==="active"&&p(g=>{const C=[...g];if(C[f]!==null){const _=C[f];return C.map(k=>k!==null&&k>=_?null:k)}C[f]=m;const v={selectedOrder:C,words:o,__ts:Date.now()};try{typeof l=="function"&&l(v)}catch{}if(C.every(_=>_!==null))try{typeof s=="function"&&s(v)}catch{}return C})},[u,m,l,s,o]);return t.jsx(Sn,{index:e,stepIndex:n,isLast:a,title:r,onDone:s,children:t.jsx("div",{className:"training-step__cards",children:o.map((f,g)=>t.jsx(Nr,{item:{word:f},disabled:u==="disabled",selectable:!0,selected:d[g]!==null,orderRank:d[g],onSelect:()=>y(g),flipDelay:g*120,hideLabel:!1,hideAudio:!0},`${f}-${g}`))})})}function Ma(e){return null}Ma.__isTrainingPage=!0;function Hn(e,n){const a=d5();return{ctx:a,index:e,stepIndex:a.currentStepIndex,isLast:typeof e=="number"&&typeof n=="number"?e===n-1:!1,onDone:r=>a.handleStepDone(r,e),onChange:r=>a.handleStepChange(r,e)}}function Wl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l}=Hn(e,n);return t.jsx(qr,{...a,index:r,stepIndex:o,isLast:s,onDone:l})}function ql({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Hn(e,n);return t.jsx(zr,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Ul({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Wr,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Gl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Ur,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Kl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Hn(e,n);return t.jsx(Ll,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function h5({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Hn(e,n);return t.jsx(p5,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Yr(...e){for(const n of e)if(typeof n=="string"){const a=n.trim();if(a.length)return a}else{if(typeof n=="number"||typeof n=="boolean")return String(n);if(Array.isArray(n)&&n.length)return n.join(", ");if(n&&typeof n=="object"){const a=n,r=[a.text,a.label,a.value];for(const o of r){if(typeof o=="string"&&o.trim().length)return o.trim();if(typeof o=="number"||typeof o=="boolean")return String(o)}}}return null}function m5(e){return Yr(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function Zl(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const n=Yr(e?.status,e?.result,e?.judge,e?.note);if(n){const a=n.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>a.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>a.includes(r)))return!1}}function Yl(e){const{score:n,contextsLength:a,results:r=[],subtitle:o,onReplay:s,onClose:l,inline:c=!1}=e||{},{t:u}=me.useTranslation();i.useEffect(()=>{const g=a??0;n!=null&&g>0&&n/g>.5&&window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},[n,a]);const d=i.useCallback(g=>{const C=Zl(g),v=Yr(g?.wording,g?.label);return C===!0?{variant:"main",label:v??u("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:C===!1?{variant:"danger",label:v??u("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:v??u("training.result.notJudged","\uBBF8\uD310\uC815")}},[u]),p=a??0,h=n??0,m=i.useMemo(()=>Array.isArray(r)?r:[],[r]),y=i.useMemo(()=>m.map(g=>{const C=g??{},v=m5(C)||u("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:_,label:k}=d(C),b=Array.isArray(C.corrects)?C.corrects:[],w=b.length?b.join(", "):C.answer!=null&&C.answer!==""?String(C.answer):null,x=typeof C.selectedText=="string"?C.selectedText:null,N=Zl(C)===!0;return{problem:v,variant:_,label:k,answer:w,selectedText:x,isCorrect:N}}),[m,d,u]),f=i.useMemo(()=>y.some(g=>g.answer!==null||g.selectedText!==null),[y]);return t.jsx(fn,{onClose:l,inline:c,ariaLabel:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",footerClassName:"trp-result__foot",footer:({animateThen:g,closeWithAnimation:C})=>t.jsxs("div",{className:"trp-actions",children:[t.jsx(oe,{htmlType:"button",size:56,type:"bar",label:u("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>g(s)}),t.jsx(oe,{htmlType:"button",size:56,type:"bar",label:u("training.result.done","\uC644\uB8CC"),variant:"main",onClick:C})]}),children:()=>t.jsxs("div",{className:"trp-result is-on",children:[t.jsxs("header",{className:"trp-result__head",children:[t.jsx("p",{className:"trp-result__eyebrow caption-1",children:u("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),t.jsx("h1",{className:"trp-result__title h2",children:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),o&&t.jsx("p",{className:"trp-result__subtitle body-3",children:o}),t.jsx("div",{className:"trp-score",children:t.jsxs("div",{className:"trp-score__figure","aria-label":u("training.result.scoreAria",{correct:h,total:p}),children:[t.jsx("span",{className:"trp-score__big",children:h}),t.jsx("span",{className:"trp-score__sep",children:"/"}),t.jsx("span",{className:"trp-score__total",children:p})]})})]}),y.length>0&&t.jsx("section",{className:"trp-result__body",children:t.jsxs("div",{className:`result-table${f?" result-table--answer":""}`,role:"table","aria-label":u("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[t.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[t.jsx("span",{role:"columnheader",children:u("common.col.problem","\uBB38\uC81C")}),f&&t.jsx("span",{role:"columnheader",children:u("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),t.jsx("span",{className:"col-right",role:"columnheader",children:u("training.result.colJudge","\uD310\uC815")})]}),y.map((g,C)=>t.jsxs("div",{className:"result-table__row",role:"row",children:[t.jsxs("div",{className:"trp-row__problem",children:[t.jsx("span",{className:"trp-row__no caption-1",children:String(C+1).padStart(2,"0")}),t.jsx("div",{className:"trp-row__q body-2",children:g.problem})]}),f&&t.jsxs("div",{className:"trp-row__answers",children:[g.answer!==null&&t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:u("training.result.colAnswer","\uC815\uB2F5")}),t.jsx("span",{className:"trp-row__answer-value body-2",children:g.answer})]}),t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${g.isCorrect?"is-correct":"is-wrong"}`,children:u("training.result.colSelected","\uC120\uD0DD")}),t.jsx("span",{className:`trp-row__answer-value body-2 ${g.isCorrect?"is-correct":"is-wrong"}`,children:g.selectedText??"\u2014"})]})]}),t.jsx("div",{className:"trp-row__judge",children:t.jsx(ot,{variant:g.variant,label:g.label,fill:"soft",minWidth:80})})]},C))]})})]})})}function f5(e){i.useEffect(()=>{if(!e)return;const n=new Date;return()=>{const a=new Date;a.getTime()-n.getTime()<5e3||n0({trainingType:e,startedAt:n.toISOString(),endedAt:a.toISOString()})}},[e])}function Xr(e,n){return e&&e.id||`page-${n??0}`}function Jr(e,n){return e&&e.key||`step-${n??0}`}function La(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function C5(e,n){return typeof e?.props=="function"?e.props(n)||{}:e?.props||{}}const Xl=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]),g5=e=>t.jsx(Yl,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose});function b5(e){const{scenario:n,title:a,subTitle:r,depth:o,icon:s,wrapperStyle:l,iconTooltip:c,pageIndex:u,pageCount:d,stepIndex:p,stepCount:h,onBack:m,onComplete:y,onNext:f,onSettings:g,useNoiseSetting:C=!0,children:v,ariaLabel:_,label:k,buildResults:b,onResult:w,typeKey:x,entryPoint:N,dailyTotal:j,itemRef:A,renderResultPopup:D,noiseOverride:F}=e;f5(x&&!Xl.has(x)?x:"");const P=i.useRef(0);i.useEffect(()=>{P.current=Date.now()},[]);const{t:S}=me.useTranslation(),V=w,L=!!n,te=n?.id||null,E=n?.meta||{},O=Array.isArray(n?.pages)?n.pages:[],Q=Array.isArray(v)||i.isValidElement(v)&&typeof v!="function"?i.Children.toArray(v).filter(i.isValidElement):[],W=Q.length>0,M=re=>re===Ma||re?.__isTrainingPage===!0,T=W&&Q.some(re=>M(re.type)),$=T?Q.filter(re=>M(re.type)).map((re,ge)=>{const H=re.props||{};return{id:`children-page-${ge}`,steps:i.Children.toArray(H.children).filter(i.isValidElement),pageTop:H.pageTop||H.top||null,pageBottom:H.pageBottom||H.bottom||null}}):[{id:"children-page-0",steps:Q}],R=W&&!L&&typeof v!="function",G=R?Math.max(1,$.length):0;i.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),i.useEffect(()=>{if(typeof document>"u"||!document.body)return;const re=document.body;return re.dataset.ihabTrainingPopupCount=String(Number(re.dataset.ihabTrainingPopupCount||"0")+1),re.classList.add("ihab-training-popup-open"),()=>{const ge=Number(re.dataset.ihabTrainingPopupCount||"1")-1;ge>0?re.dataset.ihabTrainingPopupCount=String(ge):(delete re.dataset.ihabTrainingPopupCount,re.classList.remove("ihab-training-popup-open"))}},[]),i.useEffect(()=>{if(!(typeof document>"u"||!document.body))return jg()},[]);const[I,U]=i.useState({...ca,enabled:!1}),z=i.useRef(I);i.useEffect(()=>{z.current=I},[I]);const ie=i.useRef(F),ce=i.useRef(!1),be=i.useRef(null);i.useEffect(()=>{let re=!1;const ge=H=>{if(re)return;ce.current=!0;const ee=H?la({...ca,enabled:!1},H):{...ca},he=be.current;be.current=null;const xe=he?la(ee,he):ee;z.current=xe,U(xe),he&&!ie.current&&ps(xe),ba(xe);const Y=ie.current;if(Y){const ae=typeof Y=="function"?Y(xe):Y,Re=la(xe,ae);z.current=Re,U(Re),ba(Re)}};return s0().then(ge),()=>{re=!0}},[]);const[ve,fe]=i.useState(null),[Z,ue]=i.useState(null),J=i.useCallback((re,ge)=>{re==="main"?fe(ge):ue(ge)},[]),ye=i.useCallback(re=>{const ge=la(z.current,re);if(z.current=ge,U(ge),!ce.current){be.current={...be.current??{},...re},ba(ge);return}ie.current||ps(ge),ba(ge)},[]),we=I.mainSpeed,de=I.mainVolume,X=i.useCallback(re=>ye({mainSpeed:re}),[ye]),ne=i.useCallback(re=>ye({mainVolume:re}),[ye]),Ae=i.useMemo(()=>({settings:I,setSettings:ye,registerAnalyser:J,mainAnalyser:ve,noiseAnalyser:Z,playbackRate:we,setPlaybackRate:X,mainVolume:de,setMainVolume:ne}),[I,ye,J,ve,Z,we,X,de,ne]),se=i.useRef(null),[Ne,Be]=i.useState("center"),[Oe,He]=i.useState(!1),Me=i.useRef(!1),Ue=i.useRef(null),Ee=i.useCallback(re=>{Me.current||(Me.current=!0,He(!0),Ue.current=setTimeout(re,Kb))},[]);i.useEffect(()=>()=>{Ue.current&&clearTimeout(Ue.current)},[]);const Ce=i.useRef(m);i.useEffect(()=>{Ce.current=m}),i.useEffect(()=>{const re=se.current,ge=document.activeElement;if(re){const H=Array.from(re.querySelectorAll(Jn)).filter(ee=>!ee.closest('[aria-hidden="true"]'))[0];if(H)try{H.focus()}catch{}}return()=>{const H=document.activeElement;if(!H||H===document.body||re&&re.contains(H))try{ge?.focus?.()}catch{}}},[]),i.useEffect(()=>wn(()=>Ee(()=>{const re=Ce.current;typeof re=="function"&&re()})),[Ee]),rr(se,!0);const[Le,Se]=i.useState(!1),Fe=i.useRef(!1),[$e,Ve]=i.useState(null),[Ke,st]=i.useState(""),[qe,ze]=i.useState(()=>La()),ut=i.useRef(typeof u=="number"?u:null);i.useEffect(()=>{!L&&!R||(ze(La()),Ve(null))},[L,te,R]),i.useEffect(()=>{R&&ze(re=>{const ge=Math.max(0,Math.min(re.pageIndex,Math.max(0,G-1)));return ge!==re.pageIndex?{...re,pageIndex:ge,stepIndex:0}:re})},[R,G]);const nt=R?Math.max(0,Math.min(qe.pageIndex,G-1)):0,Te=R?$[nt]:null,Qe=R&&Te&&Array.isArray(Te.steps)?Te.steps:[],Pe=L?qe.pageIndex:R?nt:typeof u=="number"?u:0,Ye=L?O[Math.max(0,Math.min(qe.pageIndex,Math.max(0,O.length-1)))]:null,dt=L&&Ye&&Array.isArray(Ye.steps)?Ye.steps:[],et=L?dt.length:R?Qe.length:typeof h=="number"?h:0,lt=L||R?Math.max(0,Math.min(qe.stepIndex,Math.max(0,et))):typeof p=="number"?p:0,tt=L?O.length:R?G:typeof d=="number"?d:0;i.useLayoutEffect(()=>{const re=ut.current;if(typeof Pe=="number"&&re!==null&&Pe!==re&&Pe>re)try{st(S("training.problemNotice",{n:Pe+1}))}catch{}ut.current=typeof Pe=="number"?Pe:ut.current},[Pe,u,S]),i.useLayoutEffect(()=>{const re=se.current;if(!re)return;const ge=()=>re.querySelector(".page-popup__scroll");let H=null,ee=null,he=null;const xe=Ze=>{const ht=ge();if(!ht)return;const _t=ht.scrollHeight<=ht.clientHeight;if(Be(_t?"center":"top"),Ze&&!Fe.current){Fe.current=!0;try{Se(!0)}catch{}try{Re.disconnect()}catch{}}},Y=()=>{H!==null&&cancelAnimationFrame(H),H=requestAnimationFrame(()=>{ee!==null&&clearTimeout(ee),ee=setTimeout(()=>xe(!0),60)})},ae=()=>{he!==null&&cancelAnimationFrame(he),he=requestAnimationFrame(()=>xe(!1))};Y(),window.addEventListener("resize",ae);const Re=new MutationObserver(Y);Re.observe(re,{childList:!0,subtree:!0,attributes:!0});const Xe=setTimeout(()=>{Fe.current||xe(!0)},400);return()=>{window.removeEventListener("resize",ae),H!==null&&cancelAnimationFrame(H),ee!==null&&clearTimeout(ee),he!==null&&cancelAnimationFrame(he),clearTimeout(Xe);try{Re.disconnect()}catch{}}},[se]);const Bt=i.useCallback(re=>{se.current&&(se.current._childOnNext=re)},[]),Yt=i.useCallback(re=>{se.current&&(se.current._childOnResult=re)},[]),ft=i.useCallback((re,ge,H)=>{ze(ee=>{const he=ee.answersByPage[re]||{},xe=he[ge],Y=Zr(H),ae=Zr(xe);return xe&&ae>Y?ee:{...ee,answersByPage:{...ee.answersByPage,[re]:{...he,[ge]:H}}}})},[ze]),Xt=i.useCallback((re,ge,H)=>{const ee=Xr(Ye,Pe),he=Jr(re,ge);ft(ee,he,H)},[Ye,Pe,ft]),Et=i.useCallback((re,ge,H)=>{const ee=Xr(Ye,Pe),he=Jr(re,ge);ft(ee,he,H),!H?.allowChange&&re?.autoAdvance!==!1&&ze(xe=>({...xe,stepIndex:Math.max(xe.stepIndex,ge+1)}))},[Ye,Pe,ft,ze]),Mt=i.useCallback((re,ge)=>{const H=Te?.id||`children-page-${Pe??0}`,ee=typeof ge=="number"?ge:lt??0,he=`step-${ee}`;ft(H,he,re),re?.allowChange||ze(xe=>({...xe,stepIndex:Math.max(xe.stepIndex,ee+1)}))},[Te,Pe,lt,ft,ze]),Jt=i.useCallback((re,ge)=>{const H=Te?.id||`children-page-${Pe??0}`,ee=`step-${typeof ge=="number"?ge:lt??0}`;ft(H,ee,re)},[Te,Pe,lt,ft]),vt=R?{currentPageIndex:Pe??0,currentStepIndex:lt??0,totalStepsInPage:Qe.length,handleStepDone:Mt,handleStepChange:Jt}:null,bn=async()=>{const re=typeof n?.buildResults=="function"?await Promise.resolve(n.buildResults({scenario:n,pages:O,flowState:qe,answersByPage:qe.answersByPage})):null;return typeof V=="function"&&await Promise.resolve(V(re))||re},Ft=async()=>{const re=Te?.id||`children-page-${qe.pageIndex}`,ge=qe.answersByPage[re]||{},H=T?(()=>{const xe={};let Y=0;return $.forEach(ae=>{const Re=qe.answersByPage[ae.id]||{},Xe=Array.isArray(ae.steps)?ae.steps.length:0;for(let Ze=0;Ze<Xe;Ze+=1){const ht=Re[`step-${Ze}`];typeof ht<"u"&&(xe[`step-${Y+Ze}`]=ht)}Y+=Xe}),xe})():ge;if(typeof b=="function"){const xe=await Promise.resolve(b(H,{pageAnswers:ge,answersByPage:qe.answersByPage,pages:$,currentPageId:re}));return typeof V=="function"&&await Promise.resolve(V(xe))||xe}const ee=Object.entries(ge).map(([xe,Y],ae)=>({index:ae,key:xe,payload:Y})),he={results:ee,answers:ee,score:0};return typeof V=="function"&&await Promise.resolve(V(he))||he},Ut=()=>{try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if(L){const H=bn();Ve({});const ee=H;Promise.resolve(ee).then(he=>{Ve(he||{isEmpty:!0})}).catch(he=>{Ve({isEmpty:!0})});return}if(R){const H=Ft();Ve({});const ee=H;Promise.resolve(ee).then(he=>{Ve(he||{isEmpty:!0})}).catch(he=>{Ve({isEmpty:!0})});return}const re=se.current&&se.current._childOnResult,ge=H=>{try{return H?H():void 0}catch{return}};if(typeof re=="function"){const H=ge(re);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}H&&typeof H.then!="function"?Ve(H):Ve(H&&typeof H.then=="function"?{}:{}),Promise.resolve(H).then(ee=>{ee&&Ve(ee)}).catch(ee=>{});return}if(typeof V=="function"){const H=ge(V);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}H&&typeof H.then!="function"?Ve(H):Ve(H&&typeof H.then=="function"?{}:{}),Promise.resolve(H).then(ee=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:nn&&nn.tagName.toUpperCase()==="SCRIPT"&&nn.src||new URL("components.cjs.js",document.baseURI).href}catch{}ee&&Ve(ee)}).catch(ee=>{console.error("viewResults external handler failed",ee)});return}},yn=()=>{if(L){if(typeof Pe=="number"&&typeof tt=="number"&&Pe<tt-1){ze(ge=>({...ge,pageIndex:ge.pageIndex+1,stepIndex:0}));return}return Ut()}if(R){const ge=Qe.length;if(typeof lt=="number"&&lt<ge-1){ze(H=>({...H,stepIndex:H.stepIndex+1}));return}if(typeof Pe=="number"&&typeof tt=="number"&&Pe<tt-1){ze(H=>({...H,pageIndex:H.pageIndex+1,stepIndex:0}));return}return Ut()}if(typeof f=="function"){try{f()}catch{}return}const re=se.current&&se.current._childOnNext;if(typeof re=="function"){try{re()}catch{}return}},Ge=L?E.title||E.label||_||S("common.popup","\uD31D\uC5C5"):a||k||(Array.isArray(o)?o[o.length-1]:void 0)||_||S("common.popup","\uD31D\uC5C5"),xt=L?E.title??E.label??Ge:a??k??Ge,Dt=(re,ge)=>{const H=Xr(Ye,Pe),ee=Jr(re,ge),he=qe.answersByPage[H]?.[ee],xe=C5(re,{page:Ye,pageIndex:Pe,step:re,stepIndex:ge,storedPayload:he,answersByPage:qe.answersByPage,flowState:qe}),Y={key:ee,index:ge,stepIndex:lt,isLast:ge===dt.length-1};switch(re?.type){case"listen":return t.jsx(qr,{...Y,...xe,onDone:ae=>Et(re,ge,ae)});case"confirm":return t.jsx(zr,{...Y,...xe,onDone:ae=>Et(re,ge,ae),onChange:ae=>Xt(re,ge,ae)});case"confirmWithText":return t.jsx(Wr,{...Y,...xe,onDone:ae=>Et(re,ge,ae),onChange:ae=>Xt(re,ge,ae)});case"orderList":return t.jsx(Ur,{...Y,...xe,onDone:ae=>Et(re,ge,ae),onChange:ae=>Xt(re,ge,ae)});default:return null}},Qt=L?O.length>0?t.jsx("div",{className:"training-steps",children:dt.map((re,ge)=>Dt(re,ge))}):t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"pp-empty",children:n?.emptyMessage||S("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,en=R?t.jsxs(zl.Provider,{value:vt,children:[Te?.pageTop?t.jsx("div",{className:"training-page-top",children:Te.pageTop}):null,t.jsx("div",{className:"training-steps",children:Qe.map((re,ge)=>{const H=re;return i.cloneElement(H,{...H.props,_stepIndex:ge,_totalSteps:Qe.length,_stepKey:`step-${ge}`,_pageIndex:Pe})})}),Te?.pageBottom?t.jsx("div",{className:"training-page-bottom",children:Te.pageBottom}):null]}):null,Lt=i.useCallback(()=>{let re;if(x){const ge=$e,H=ge?.results||ge?.answers||[],ee=Array.isArray(H)&&H.length>0?H.length:null,he=Array.isArray(H)?H.filter(Y=>Y?.correct===!0||Y?.isCorrect===!0||Y?.score===1||Y?.heard===!0||Y?.judgement===!0).length:null,xe=ee!=null?he:null;a0({items:o0(H),category:Xl.has(x)?"sentence":"word",trainingType:x,entryPoint:N??"sentence",itemRef:A??null,correct:xe,total:ee,score:typeof ge?.score=="number"?ge.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-P.current)/1e3)),dailyTotal:j??null}),re={correct:xe,total:ee}}Ve(null),Ee(()=>{typeof y=="function"&&y(re),typeof m=="function"&&m()})},[y,m,x,N,j,A,$e,Ve,Ee]),Ot=i.useCallback(()=>st(""),[st]),tn=i.useCallback(()=>{Ee(()=>{typeof m=="function"&&m()})},[m,Ee]),Ht=t.jsxs("div",{className:`page-popup${Oe?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":Ge,children:[t.jsxs("div",{ref:se,className:`page-popup__panel ${Le?"":"page-popup__panel--measuring"} ${Ne==="center"?"page-popup__panel--center":Ne==="top"?"page-popup__panel--top":""}`,children:[t.jsx(Ol,{title:xt,subtitle:L?E.subtitle||E.label:Array.isArray(o)?o.join(" / "):void 0,desc:L?void 0:r,depth:L?E.depth:o,icon:L?E.icon:s,wrapperStyle:L?E.wrapperStyle:l,iconTooltip:L?E.iconTooltip:c,progressMax:tt,progressIndex:Pe,pageIndex:Pe,pageCount:tt,onBack:tn,onClose:tn}),t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:`page-popup__content ${Ne==="center"?"page-popup__content--center":"page-popup__content--top"}`,children:R?en:L?Qt:typeof v=="function"?v({registerOnNext:Bt,registerOnResult:Yt,panelRef:se,setResultOverlay:Ve}):v})}),t.jsx(Fl,{onSettings:g,onNext:yn,onResult:Ut,useNoiseSettingBtn:!!(L?E.useNoiseSetting??!0:C),stepIndex:lt,stepCount:et,pageIndex:Pe,pageCount:tt})]}),$e&&!$e.isEmpty&&(D??g5)({score:$e.score,results:$e.results||$e.answers||[],contextsLength:$e.results?$e.results.length:$e.answers?$e.answers.length:0,onReplay:()=>{if(Ve(null),L){if(ze(La()),typeof n?.onReplay=="function")try{n.onReplay()}catch{}return}if(R){ze(La());return}try{const re=se.current&&se.current._childOnResult;typeof re=="function"&&re({replay:!0})}catch{}},onClose:Lt}),$e?.isEmpty&&t.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":S("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:t.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"page-popup__empty",children:S("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),t.jsx("div",{className:"page-popup__bottom",children:t.jsx(oe,{htmlType:"button",variant:"main",size:48,onClick:Lt,label:S("training.result.done","\uC644\uB8CC")})})]})}),t.jsx($n,{message:Ke,position:"top",onClose:Ot})]}),Gt=t.jsx(Pr.Provider,{value:Ae,children:Ht});return typeof document<"u"&&document.body?It.createPortal(Gt,document.body):Gt}const gn=b5;gn.Page=Ma,gn.ListenStep=Wl,gn.ConfirmStep=ql,gn.ConfirmWithTextStep=Ul,gn.OrderListStep=Gl,gn.CardStep=Kl,gn.CardOrderStep=h5;function y5({label:e,homonum:n}){const a=En()?.(e,n)??"",{imgRef:r,loading:o,hasImage:s,onLoad:l,onError:c}=Ar(a);return s?t.jsxs("div",{className:"tooltip-word-image__cell",children:[o&&t.jsx("div",{className:"tooltip-word-image__spinner"}),t.jsx("img",{ref:r,src:a,alt:e,draggable:!1,style:{opacity:o?0:1},onLoad:l,onError:c})]}):t.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:t.jsx("span",{children:e})})}function Jl({words:e,anchorRect:n}){const a=i.useRef(null),[r,o]=i.useState(null);return i.useLayoutEffect(()=>{if(!n||!a.current)return;const{offsetWidth:s,offsetHeight:l}=a.current,c=window.innerWidth;let u=n.left+n.width/2-s/2,d=n.top-l-8;d<8&&(d=n.bottom+8),u=Math.max(8,Math.min(u,c-s-8)),o({left:u,top:d})},[n]),!n||e.length===0?null:It.createPortal(t.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:t.jsx("div",{className:"tooltip-word-image__cells",children:e.map(s=>t.jsx(y5,{label:s.label,homonum:s.homonum},`${s.label}_${s.homonum??1}`))})}),document.body)}function v5({titleIcon:e,resultCount:n,resultUnit:a,searchQuery:r,items:o,groups:s,selected:l=[],onSelect:c,maxSelect:u,onClearSelection:d,onPrint:p,onPrintEmpty:h,className:m,emptyHint:y,sectionType:f="page",disc:g,notice:C}){const{t:v,i18n:_}=me.useTranslation(),k=_.language?.startsWith("ko")??!1,{anchorRect:b,openAt:w,close:x}=xa(),[N,j]=i.useState(null),A=i.useCallback(()=>{x(),j(null)},[x]);O0(A,!!N);const D=(r??"").trim(),F=/^[^,[\]\s]+$/.test(D)?D:"",P=F.length>0,[S,V]=i.useState(()=>P?"match":"ganada"),[L,te]=i.useState("50"),[E,O]=i.useState(1),[Q,W]=i.useState(P);Q!==P&&(W(P),V(P?"match":"ganada"));const M=S==="match"&&!P?"ganada":S,T=i.useMemo(()=>[...P?[{value:"match",label:v("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],{value:"ganada",label:v("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:v("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:v("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:v("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:v("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:v("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[v,P]),$=i.useMemo(()=>["10","25","50","100"].map(de=>({value:de,label:v("wordSearch.pageSize",{count:Number(de),defaultValue:`${de}\uAC1C\uC529 \uBCF4\uAE30`})})),[v]),R=de=>de.words[0],G=i.useCallback((de,X)=>{const ne=Ne=>R(Ne)?.label??"",Ae=Ne=>R(Ne)?.syllables??[...ne(Ne)].length,se=Ne=>{const Be=parseInt(R(Ne)?.grade??"",10);return Number.isFinite(Be)?Be:999};switch(M){case"match":{const Ne=[...F].length,Be=Oe=>Om(ne(Oe).slice(0,Ne),F)?0:1;return Be(de)-Be(X)||ne(de).localeCompare(ne(X),"ko")}case"ganada":return ne(de).localeCompare(ne(X),"ko");case"ganada_desc":return ne(X).localeCompare(ne(de),"ko");case"syllable":return Ae(de)-Ae(X)||ne(de).localeCompare(ne(X),"ko");case"syllable_desc":return Ae(X)-Ae(de)||ne(de).localeCompare(ne(X),"ko");case"grade":return se(de)-se(X)||ne(de).localeCompare(ne(X),"ko");case"grade_desc":return se(X)-se(de)||ne(de).localeCompare(ne(X),"ko");default:return 0}},[M,F]),I=i.useMemo(()=>o.slice().sort(G),[o,G]),U=Number(L)||10,z=i.useMemo(()=>(s??[]).flatMap(de=>de.items.slice().sort(G).map(X=>({item:X,label:de.label}))),[s,G]),ie=s?z.length:I.length,ce=Math.max(1,Math.ceil(ie/U)),be=Math.min(E,ce),ve=i.useMemo(()=>I.slice((be-1)*U,be*U),[I,be,U]),fe=i.useMemo(()=>{if(!s)return null;const de=z.slice((be-1)*U,be*U),X=new Map;for(const{item:ne,label:Ae}of de)X.has(Ae)||X.set(Ae,[]),X.get(Ae).push(ne);return[...X.entries()].map(([ne,Ae])=>({label:ne,items:Ae}))},[s,z,be,U]);i.useEffect(()=>{O(1)},[S,L,ie,r]);const Z=ie>0?t.jsxs("div",{className:"word-search-result-block__toolbar",children:[t.jsx(Wt,{size:40,options:T,value:M,onChange:V,ariaLabel:v("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),t.jsx(Wt,{size:40,options:$,value:L,onChange:te,ariaLabel:v("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),t.jsx(wa,{page:be,totalPages:ce,onChange:O})]}):void 0,ue=de=>{c&&c(de)},J=n!==void 0&&a?t.jsxs(t.Fragment,{children:[v("wordSearch.resultTitlePrefix","\uCD1D "),t.jsx("span",{style:{color:"var(--color-main)"},children:n}),v("wordSearch.resultTitleSuffix",{unit:k?Zm(a):a})]}):void 0,ye=n!==void 0&&n>0&&u!==void 0&&a?v("wordSearch.resultDisc",{unit:k?Xm(a):a,max:u,selected:l.length}):void 0,we=g??(C?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"word-search-result-block__notice",children:C}),ye?t.jsx("span",{className:"word-search-result-block__disc",children:ye}):null]}):ye);return t.jsxs(Rn,{type:f,icon:e,title:J,action:Z,disc:we,className:_e("word-search-result-block",m),children:[t.jsxs("div",{className:"word-search-result-block__inner",children:[(s?s.length===0:o.length===0)&&t.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[t.jsx("p",{className:"word-search-result-block__empty body-3",children:v("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),y&&t.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:y})]}),s?(fe??[]).map(de=>t.jsx("div",{className:"word-search-result-block__group",children:t.jsx("div",{className:"word-search-result-block__items",children:de.items.map(X=>{const ne=l.includes(X.id);return t.jsx("div",{onMouseEnter:Ae=>{w(Ae.currentTarget),j(X.words)},onMouseLeave:A,children:t.jsx(oe,{htmlType:"button",size:"word",align:"grid",label:X.words.map(Ae=>Ae.label),subLabel:X.words.map(Ae=>Ae.subLabel).filter(Boolean).length>0?X.words.map(Ae=>Ae.subLabel):void 0,selected:ne,onClick:()=>ue(X.id),minWidth:200})},X.id)})})},de.label)):t.jsx("div",{className:"word-search-result-block__items",children:ve.map(de=>{const X=l.includes(de.id);return t.jsx("div",{onMouseEnter:ne=>{w(ne.currentTarget),j(de.words)},onMouseLeave:A,children:t.jsx(oe,{htmlType:"button",size:"word",align:"grid",label:de.words.map(ne=>ne.label),subLabel:de.words.map(ne=>ne.subLabel).filter(Boolean).length>0?de.words.map(ne=>ne.subLabel):void 0,selected:X,onClick:()=>ue(de.id),minWidth:200})},de.id)})}),N&&b&&t.jsx(Jl,{words:N,anchorRect:b})]}),ce>1&&t.jsx("div",{className:"word-search-result-block__pagination-bottom",children:t.jsx(wa,{page:be,totalPages:ce,onChange:O})}),(d||p)&&t.jsxs("div",{className:"word-search-result-block__actions",children:[d&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",label:v("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:d}),p&&t.jsx("div",{onClick:l.length===0?h:void 0,children:t.jsx(oe,{htmlType:"button",size:"56",type:"bar",variant:"main",label:v("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:p})})]})]})}function x5(e,n){return n.map(a=>{const r=typeof a=="string"?a:a.label,o=typeof a=="string"?void 0:a.displayLabel;return{label:r,value:e[r]??"",displayLabel:o}})}function _5({sections:e,selectedList:n,count:a,onCountChange:r,maxCount:o=4,minCount:s=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:u,placeholder:d="-",className:p,title:h,titleIcon:m,disc:y,showInfoButton:f=!1,onClearPhoneme:g,onSearch:C,onSearchEmpty:v,searchDisabled:_=!1,searchLabel:k,searchChecking:b=!1,pairMode:w=!1,sectionType:x="page",beforeSearchContent:N,beforeContent:j,afterContent:A,hideCountControl:D=!1,ordinal:F=!1}){const{t:P}=me.useTranslation(),S=i.useMemo(()=>P("wordPairs.infoNotes",{returnObjects:!0}),[P]),V=i.useMemo(()=>Array.from({length:o-s+1},(I,U)=>{const z=s+U;return{key:String(z),label:P("wordPairs.count",{n:z})}}),[P,o,s]),L=i.useMemo(()=>P("wordPairs.ordinals",{returnObjects:!0}),[P]),te=i.useCallback(I=>F?P("wordPairs.phonemeOrdinalLabel",{ordinal:L[I-1]??I}):a===1?P("wordPairs.phonemeSingleLabel","\uC74C\uC808"):P("wordPairs.phonemeN",{n:I}),[F,L,a,P]),E=i.useCallback(I=>F?P("wordPairs.phonemeContrastOrdinalLabel",{ordinal:L[I-1]??I}):a===1?P("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):P("wordPairs.phonemeContrast",{n:I}),[F,L,a,P]),O=i.useCallback((I,U)=>U?t.jsxs(t.Fragment,{children:[I,t.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):I,[]),{anchorRect:Q,toggleAt:W,close:M}=xa(),T=i.useCallback(I=>r(Number(I)),[r]),$=Kt("(max-width: 767px)"),R=i.useCallback(I=>x5(I,e).map(({label:U,value:z,displayLabel:ie})=>{const ce=!!z&&z!=="\uC5C6\uC74C";return t.jsxs("span",{className:_e("phoneme-select-block__cell-jamo-part",z?"":"phoneme-select-block__cell-jamo-part--empty",ce?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[t.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${z==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:z==="\uC5C6\uC74C"?"x":z||d}),ce&&t.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:ie??U})]},U)}),[e,d]),G=t.jsxs(t.Fragment,{children:[t.jsx("div",{"data-tooltip-ignore":!0,children:t.jsx(oe,{htmlType:"button",size:40,type:$?"dot":void 0,icon:"info",label:$?void 0:P("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),selected:!!Q,onClick:I=>W(I.currentTarget)})}),Q&&t.jsx(kn,{title:P("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:S,anchorRect:Q,onClose:M})]});return t.jsxs(Rn,{type:x,title:h,icon:m,disc:y,action:G,className:_e("phoneme-select-block",p),children:[j,(!D||f&&!(h||y))&&t.jsxs("div",{className:"phoneme-select-block__controls",children:[!D&&t.jsx(Dn,{options:V,value:String(a),onChange:T,size:40,className:"phoneme-select-block__count-control"}),f&&!(h||y)&&G]}),t.jsx("div",{className:"phoneme-select-block__cells",children:w?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const z=n[U*2]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:R(z)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:te(U+1)})]},U)})}),t.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:P("wordPairs.phonemeSelect.vs","\uB300")}),t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const z=n[U*2+1]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:R(z)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:E(U+1)})]},U)})})]}):n.map((I,U)=>t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:R(I)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:te(U+1)})]},U))}),(l||c)&&t.jsx("div",{className:"phoneme-select-block__panels",children:t.jsx("div",{className:"phoneme-select-block__detail",children:w?t.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const z=n[U*2]??{};return t.jsx(ln,{title:O(te(U+1),U===0),sections:c?c(z,U*2):l,selected:z,onSelect:u?.(U*2),align:"newline"},U)})}),t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const z=n[U*2+1]??{};return t.jsx(ln,{title:E(U+1),sections:c?c(z,U*2+1):l,selected:z,onSelect:u?.(U*2+1),align:"newline"},U)})})]}):n.map((I,U)=>t.jsx(ln,{title:O(te(U+1),U===0),sections:c?c(I,U):l,selected:I,onSelect:u?.(U),align:"newline"},U))})}),N&&t.jsx("div",{className:"phoneme-select-block__before-search",children:N}),(g||C||b)&&(()=>{const I=n.every(U=>Object.entries(U).every(([z,ie])=>!ie||z==="\uC885\uC131"&&ie==="\uC5C6\uC74C"));return t.jsxs("div",{className:"phoneme-select-block__search-row",onClick:I?v:void 0,children:[g&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",label:P("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:I,onClick:I?void 0:g}),b?t.jsxs("div",{className:"phoneme-select-block__checking",children:[t.jsx("div",{className:"phoneme-select-block__spinner"}),t.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:k??P("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):C&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",variant:"main",label:k??P("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:I||_,onClick:I||_?void 0:C})]})})(),A]})}function w5({title:e,sections:n,selected:a,onSelect:r,className:o}){const{t:s}=me.useTranslation();return t.jsx(ln,{className:o,title:e??s("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:n,selected:a,onSelect:r,align:"inline"})}function k5({title:e,headerAction:n,sections:a,selected:r,onSelect:o,className:s}){const{t:l}=me.useTranslation();return a.length===0?null:t.jsx(ln,{className:s,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:n,sections:a,selected:r,onSelect:o,align:"newline"})}function A5({title:e,mode:n,onModeChange:a,matchMode:r,onMatchModeChange:o,positionCount:s,onPositionCountChange:l,inputMode:c,onInputModeChange:u,className:d}){const{t:p}=me.useTranslation(),h={searchMode:p("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:p("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:p("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:p("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:p("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:p("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:p("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:p("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:p("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:p("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:p("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=C=>p("wordPairs.count",{n:C}),y=[{label:h.searchMode,items:[h.include,h.pick,h.explicit],display:"segmented",labelAction:t.jsx(aa,{title:p("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[p("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),p("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),p("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:h.phonemeOrder,items:[h.orderAny,h.orderMatch],display:"segmented",labelAction:t.jsx(aa,{items:p("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:h.count,items:[m(1),m(2)],display:"segmented"},{label:h.inputMode,items:[h.charInput,h.pronInput],display:"segmented",labelAction:t.jsx(aa,{title:p("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[p("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),p("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],f={[h.searchMode]:n==="explicit"?h.explicit:n==="pick"?h.pick:h.include,[h.phonemeOrder]:r==="ordered"?h.orderMatch:h.orderAny,[h.count]:m(s),[h.inputMode]:c==="phoneme"?h.pronInput:h.charInput},g=(C,v)=>{v===h.searchMode?a(C===h.explicit?"explicit":C===h.pick?"pick":"include"):v===h.phonemeOrder?o(C===h.orderMatch?"ordered":"unordered"):v===h.count?l(C===m(2)?2:1):v===h.inputMode&&u(C===h.pronInput?"phoneme":"word")};return t.jsx(ln,{className:d,title:e??p("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:y,selected:f,onSelect:g,align:"inline"})}function N5(e){const{title:n,items:a,columns:r,gridTemplateColumns:o,searchPlaceholder:s,searchFn:l,defaultSortKey:c,defaultSortAsc:u=!0,selectedId:d,selectedIds:p,onSelect:h,onClose:m,pageSizeOptions:y=[10,25,50,100],initialPageSize:f,emptyText:g,countLabel:C,topContent:v,className:_=""}=e,{t:k}=me.useTranslation(),b=s??k("common.search","\uAC80\uC0C9"),w=g??k("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[x,N]=i.useState(""),[j,A]=i.useState(c??r[0]?.key??""),[D,F]=i.useState(u),[P,S]=i.useState(String(f??y[0]??10)),[V,L]=i.useState(1);i.useEffect(()=>{L(1)},[x,P]);const te=l!==null,E=i.useCallback((I,U)=>{if(!U)return!0;const z=U.toLowerCase();return r.some(ie=>{const ce=I[ie.key];return ce==null?!1:String(ce).toLowerCase().includes(z)})},[r]),O=l??E,Q=i.useMemo(()=>{const I=te?a.filter(U=>O(U,x)):a;return j?[...I].sort((U,z)=>{const ie=U[j]??"",ce=z[j]??"";if(ie===ce)return 0;const be=tb(ie,ce);return D?be:-be}):I},[a,x,j,D,te,O]),W=Math.max(1,Math.ceil(Q.length/Number(P))),M=Q.slice((V-1)*Number(P),V*Number(P)),T=i.useCallback(I=>{j===I?F(U=>!U):(A(I),F(!0))},[j]),$=i.useMemo(()=>{if(typeof C=="function"){const I=Q.length,U=C(I);if(typeof U=="string"){const z=U.lastIndexOf(String(I));if(z>=0)return{prefix:U.slice(0,z),suffix:U.slice(z+String(I).length)}}return{label:U}}if(typeof C=="string"&&C.includes("{n}")){const[I,U]=C.split("{n}");return{prefix:I,suffix:U}}return{prefix:k("common.totalCountPrefix","\uCD1D "),suffix:k("common.totalCountSuffix","\uAC1C")}},[C,Q.length,k]),R=i.useMemo(()=>r.map(I=>({label:I.label,onClick:I.sortable!==!1?()=>T(I.key):void 0,className:I.className,sortDir:I.sortable!==!1&&j===I.key?D?"asc":"desc":null})),[r,j,D,T]),G=i.useMemo(()=>y.map(I=>({value:String(I),label:k("common.pageSizeLabel",{n:I})})),[y,k]);return t.jsxs(fn,{className:`popup-list ${_}`,title:n,onClose:m,children:[v,"label"in $&&t.jsx("p",{className:"toolbar__count body-1",children:$.label}),t.jsx(fr,{count:"label"in $?void 0:{value:Q.length,prefix:$.prefix,suffix:$.suffix},search:te?{value:x,onChange:N,placeholder:b}:void 0,pageSize:{options:G,value:P,onChange:S},pagination:{page:V,total:W,onChange:L}}),t.jsx(wr,{size:"medium",gridTemplateColumns:o,resizable:!0,fields:R,items:M,onRowClick:h,renderRow:I=>{const U=p!=null?I.id!=null&&p.has(I.id):d!=null&&I.id===d;return r.map(z=>({content:z.render?z.render(I):I[z.key]??"",className:U?"popup-list__row--selected":z.className}))},empty:w})]})}function B5(e){const{title:n,message:a,topContent:r,details:o,children:s,confirmLabel:l,cancelLabel:c,hideCancel:u=!1,extraAction:d,confirmVariant:p="main",confirmDisabled:h=!1,onConfirm:m,closeOnConfirm:y=!0,onClose:f,inline:g,size:C="small",className:v}=e,{t:_}=me.useTranslation(),k=i.useRef(!1),[b,w]=i.useState(!1);return t.jsxs(fn,{title:n,onClose:f,closeDisabled:b,inline:g,size:C,className:_e("confirm-popup",v),buttons:[...d?[{label:d.label,variant:d.variant??"default",disabled:d.disabled||b,onClick:async({closeWithAnimation:x})=>{if(!k.current){k.current=!0,w(!0);try{await d.onClick(x),(d.closeOnClick??!0)&&x()}finally{k.current=!1,w(!1)}}}}]:[],...u?[]:[{label:c??_("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:b,onClick:({closeWithAnimation:x})=>x()}],{label:l??_("common.confirm","\uD655\uC778"),variant:p,disabled:h||b,onClick:async({closeWithAnimation:x})=>{if(!k.current){k.current=!0,w(!0);try{await m(x),y&&x()}finally{k.current=!1,w(!1)}}}}],children:[r!=null&&t.jsx("div",{className:"confirm-popup__top",children:r}),o&&o.length>0&&t.jsx(Ea,{children:o.map((x,N)=>t.jsx(Cn,{label:x.label,children:t.jsx("span",{className:"panel-row__text body-2",children:x.value})},N))}),t.jsx("p",{className:"body-2 confirm-popup__message",children:a}),s]})}function D5({onApply:e,onCancel:n}){const{t:a}=me.useTranslation(),[r,o]=i.useState(""),[s,l]=i.useState(!1),[c,u]=i.useState(null),d=i.useRef(null);i.useEffect(()=>{d.current?.focus()},[]);const p=i.useCallback(async y=>{const f=r.trim();if(f){l(!0),u(null);try{await e(f),y()}catch(g){u(cs(g)),l(!1)}}},[r,e]),h=i.useCallback((y,f)=>{y.key==="Enter"&&p(f)},[p]),m=y=>{o(y.target.value),u(null)};return t.jsx(fn,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:n,closeDisabled:s,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:s,onClick:({closeWithAnimation:y})=>y()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||s,onClick:({closeWithAnimation:y})=>{p(y)}}],children:({closeWithAnimation:y})=>t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:d,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:m,onKeyDown:f=>h(f,y),disabled:s,autoComplete:"off",spellCheck:!1}),c&&t.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}const S5=200;function T5(e){return e.itemId?(C0()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function j5({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:o}=me.useTranslation(),s=i.useMemo(()=>g0.map(c=>({type:c,items:(e.items??[]).filter(u=>u.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items]);if(s.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:s.flatMap(({type:c,items:u},d)=>[d>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),t.jsx("div",{className:"tooltip-training__items",children:u.map((p,h)=>{const m=T5(p);return m?t.jsx(kr,{index:h,type:c,trainingData:m,size:"compact",hideCheckBadge:!0},p.itemId??h):null})})]},c.key)])})});return n?t.jsx(pn,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:o("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const Ql=["var(--color-main)","var(--color-sub)"],E5=2e3;function M5(e,n){if(!n.startsWith("var("))return n;try{const a=n.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(a).trim()||null}catch{return null}}function ec({active:e=!1,count:n=40,duration:a=2e3,strength:r=1,onComplete:o,trigger:s=0}){const l=i.useMemo(()=>{const g=Math.floor(n/2),C=n-g,v=(_,k)=>Array.from({length:_}).map((b,w)=>{const x=6+Math.random()*12,N=Math.round(Math.min(18,x*Math.min(1.5,1+r*.4))),j=Ql[Math.floor(Math.random()*Ql.length)],A=Math.random()*300,D=(360+Math.random()*260)*r*1.2,F=(k==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,P=Math.cos(F)*D,S=Math.sin(F)*D*1.35,V=Math.random()*720-360,L=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),te=Math.random()>.7?"50%":"3px";return{id:`${k}-${w}`,side:k,size:N,color:j,delay:A,vx:P,vy:S,angularVel:V,life:L,borderRadius:te}});return[...v(g,"left"),...v(C,"right")]},[n,r]),c=i.useRef(null),u=i.useRef({}),d=i.useRef(null),p=i.useRef(o);i.useEffect(()=>{p.current=o},[o]);const h=i.useRef(null),m=i.useRef(null),y=()=>{if(typeof document>"u")return null;let g=document.querySelector("[data-ihab-effect-root]");return g||(g=document.createElement("div"),g.className="app-effect",g.dataset.ihabEffectRoot="",g.style.position="fixed",g.style.inset="0",g.style.pointerEvents="none",g.style.zIndex="99998",document.body.appendChild(g)),g};if(typeof document<"u"&&m.current==null&&(m.current=y()),i.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){p.current?.();return}const g=1200,C=performance.now(),v=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,_=Math.max(60,(window.innerHeight||800)*.05),k=M=>Math.max(40,(M||window.innerWidth)*.02),b=v?.width||window.innerWidth||375,w=v?.height||window.innerHeight||812,x=M=>{const T=[...M].sort(($,R)=>$-R);return T[Math.floor(T.length/2)]||1},N=x(l.map(M=>Math.abs(M.vy))),j=x(l.map(M=>Math.abs(M.vx))),A=Math.sqrt(2*g*(w*.72+_))/N,D=N*A/g,F=b*.5/(j*D),P=(M,T,$)=>Math.min($,Math.max(T,M)),S=P(A,.8,2.4),V=P(F,.7,2.2),L=a>0?a/E5:1,te=l.map(M=>({...M,life:M.life*L,vx:M.vx*V,vy:M.vy*S,startTime:C+M.delay,ended:!1})),E=v?{x:v.left-k(v.width),y:v.top+v.height+_}:{x:-k(window.innerWidth),y:window.innerHeight+_},O=v?{x:v.left+v.width+k(v.width),y:v.top+v.height+_}:{x:window.innerWidth+k(window.innerWidth),y:window.innerHeight+_},Q=M=>{let T=!1;for(const $ of te){const R=u.current[$.id];if(!R||!R)continue;if(M<$.startTime){R.style.display="none";continue}if(!$._inited){const Z=$.side==="left"?E.x:O.x,ue=$.side==="left"?E.y:O.y;R.style.left=`${Z}px`,R.style.top=`${ue}px`,R.style.transform="translate3d(0px, 0px, 0)",R.style.display="block",R.style.zIndex="100000",typeof $.color=="string"&&$.color.startsWith("var(")&&(R.style.background=M5(R,$.color)??"#FF0060"),$._inited=!0}const G=(M-$.startTime)/1e3;if(G<0)continue;const I=$.life/1e3;if(G>=I){R.style.opacity="0",R.style.display="none",$.ended=!0;continue}T=!0;const U=$.side==="left"?E.x:O.x,z=$.side==="left"?E.y:O.y,ie=U+$.vx*G,ce=z+$.vy*G+.5*g*G*G,be=($.angularVel||0)*G,ve=ie-U,fe=ce-z;R.style.transform=`translate3d(${ve}px, ${fe}px, 0) rotate(${be}deg)`,R.style.opacity=`${Math.max(0,1-G/I)}`}T?d.current=requestAnimationFrame(Q):p.current?.()};d.current=requestAnimationFrame(Q);const W=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const M=document.createElement("div");M.className="party-container",M.style.position="fixed",M.style.inset="0",M.style.pointerEvents="none",M.style.overflow="visible",M.style.zIndex="2147483647";for(const T of l){const $=document.createElement("span");$.className=`confetti confetti--${T.side}`,$.setAttribute("aria-hidden","true"),$.style.display="none",$.style.position="fixed",$.style.left="0px",$.style.top="0px",$.style.width=`${T.size}px`,$.style.height=`${Math.max(4,T.size*.6)}px`,$.style.background=T.color,$.style.borderRadius=T.borderRadius,$.style.transform="translate3d(0,0,0)",$.style.opacity="0",M.appendChild($),u.current[T.id]=$}(document.body||m.current).appendChild(M),h.current=M}}catch{}},300);return()=>{if(d.current&&cancelAnimationFrame(d.current),clearTimeout(W),h.current){try{h.current.remove()}catch{}h.current=null}}},[e,a,s,l]),!e)return null;const f=t.jsx("div",{className:"party-container",ref:c,children:l.map(g=>t.jsx("span",{"aria-hidden":!0,ref:C=>{u.current[g.id]=C},className:`confetti confetti--${g.side}`,style:{width:`${g.size}px`,height:`${Math.max(4,g.size*.6)}px`,background:g.color,borderRadius:g.borderRadius}},`${g.id}-${s}`))});return typeof document<"u"?It.createPortal(f,m.current||document.body):f}function L5({trigger:e=0,active:n=!1}){const a=i.useRef(0);return i.useEffect(()=>{a.current=e},[e]),t.jsx(ec,{active:n,trigger:e})}function $5({title:e,sub:n,rightAction:a,titleAction:r,badge:o,badgeVariant:s="default",documentTitle:l,onBack:c,backLabel:u,wrap:d=!1}){const{t:p}=me.useTranslation();T0(typeof e=="string"?e:l??null);const h=u??p("common.back","\uB4A4\uB85C");return t.jsxs("div",{className:d?"page-title page-title--wrap":"page-title",children:[t.jsxs("div",{className:"page-title__main",children:[t.jsxs("div",{className:"page-title__title-row",children:[c&&t.jsx(oe,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:h,showTooltipInfo:h,onClick:c}),t.jsx("h1",{className:"page-title__title h1",children:e}),o&&t.jsx("div",{className:"page-title__badge",children:t.jsx(ot,{label:o,size:"small",variant:s,fill:"outline"})}),r?t.jsx("div",{className:"page-title__title-action",children:r}):null]}),n&&t.jsx("p",{className:"page-title__sub body-2",children:n})]}),a?t.jsx("div",{className:"page-title__action",children:a}):null]})}function R5(e){return e??""}const tc=i.createContext({words:[],loading:!1});function P5(){return i.useContext(tc)}function I5({words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:u,children:d}){return t.jsx(tc.Provider,{value:{words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:u},children:d})}function F5({items:e,actions:n,columns:a,flat:r=!1,className:o,style:s}){const l=a??e.length;return t.jsx("section",{className:_e("summary-strip",r&&"summary-strip--flat",o),style:{"--summary-strip-cols":String(l),...s},children:t.jsxs("div",{className:"summary-strip__row",children:[t.jsx("div",{className:"summary-strip__items",children:e.map((c,u)=>t.jsxs("div",{className:"summary-strip__item",children:[t.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),t.jsx("p",{className:"summary-strip__value body-3b",children:c.value})]},u))}),n&&t.jsx("div",{className:"summary-strip__actions",children:n})]})})}const O5=(e,n)=>`${e} / ${n}`;function H5({blocks:e,sectionTitles:n,logo:a,footer:r,pageLabel:o=O5,pageWidth:s,pageHeight:l,margin:c,className:u,style:d}){const{t:p}=me.useTranslation(),h=i.useRef(null),m=i.useRef(null),y=i.useRef(null),f=i.useRef(null),[g,C]=i.useState(null),[v,_]=i.useState(!1);i.useEffect(()=>{const D=h.current;if(!D)return;const F=()=>_(D.scrollWidth>D.clientWidth+1);if(F(),typeof ResizeObserver>"u")return;const P=new ResizeObserver(F);return P.observe(D),()=>P.disconnect()},[g]);const k=e.map(D=>`${D.id}\0${D.section??""}\0${D.group??""}`).join("");i.useLayoutEffect(()=>{const D=m.current,F=f.current;if(!D||!F)return;const P=y.current?.offsetHeight??0,S=F.offsetHeight-P,V=Array.from(D.children).map(W=>W.offsetHeight),L=[];e.forEach((W,M)=>{const T=L[L.length-1],$=T?e[T[0]]:void 0;$&&W.group!=null&&$.group===W.group?T.push(M):L.push([M])});const te=[];let E=[],O=0;const Q=()=>{E.length&&te.push(E),E=[],O=0};L.forEach(W=>{const M=W.reduce((T,$)=>T+V[$],0);E.length&&e[E[0]].section!==e[W[0]].section&&Q(),E.length&&O+M>S&&Q(),M>S?W.forEach(T=>{E.length&&O+V[T]>S&&Q(),E.push(T),O+=V[T]}):(W.forEach(T=>E.push(T)),O+=M)}),Q(),C(te)},[k]);const b=mr,w=b,x=r??t.jsxs(t.Fragment,{children:[t.jsx("img",{src:w,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),N=(D,F,P)=>({header:t.jsxs("div",{className:"report-doc__header",children:[t.jsx("h2",{className:"report-doc__title h3b",children:P!=null&&n?.[P]||null}),a]}),footer:t.jsxs("div",{className:"report-doc__footer caption-1",children:[t.jsx("span",{className:"report-doc__footer-left",children:x}),t.jsx("span",{className:"report-doc__page-no",children:o(D,F)})]})}),j=N(1,1,e[0]?.section),A={...s?{"--report-page-w":s}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...d};return t.jsxs("div",{ref:h,className:_e("report-doc",u),style:A,tabIndex:v?0:void 0,role:v?"group":void 0,"aria-label":v?p("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[t.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[t.jsx("div",{ref:f,className:"report-doc__ruler"}),t.jsxs("div",{ref:y,children:[j.header,j.footer]}),t.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(D=>t.jsx("div",{children:D.content},D.id))})]}),g&&t.jsx("div",{className:"report-doc__pages",children:g.map((D,F)=>{const{header:P,footer:S}=N(F+1,g.length,e[D[0]].section);return t.jsxs("section",{className:"report-doc__page",children:[P,D.map(V=>t.jsx("div",{children:e[V].content},e[V].id)),S]},F)})})]})}function V5({title:e,fields:n,columns:a=4,className:r,style:o}){return t.jsxs("div",{className:_e("report-info",r),style:{"--report-info-cols":String(a),...o},children:[e&&t.jsx("p",{className:"report-info__title h5b",children:e}),t.jsx("div",{className:"report-info__grid",children:n.map((s,l)=>t.jsxs("div",{className:"report-info__field body-2",children:[t.jsx("span",{className:"report-info__label body-3",children:s.label}),t.jsx("span",{className:"report-info__value",children:s.value})]},l))})]})}function z5({title:e,message:n,actionLabel:a,onAction:r,icon:o,onClose:s,className:l=""}){const{t:c}=me.useTranslation(),u=a??c("common.update","\uC5C5\uB370\uC774\uD2B8");return t.jsxs("div",{className:_e("update-alert",l),role:"alert",children:[s&&t.jsx("button",{type:"button",className:"update-alert__close",onClick:s,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),t.jsxs("div",{className:"update-alert__top",children:[t.jsx("div",{className:"update-alert__icon",children:o??t.jsx(Co,{size:20,strokeWidth:2})}),t.jsxs("div",{className:"update-alert__body",children:[t.jsx("div",{className:"update-alert__title h4",children:e}),t.jsx("div",{className:"update-alert__message body-3",children:n})]})]}),r&&t.jsx(oe,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:u})]})}function W5({title:e,description:n,topActions:a,children:r,footerLeft:o,footerRight:s,onClick:l,draggable:c,onDragStart:u,onDragEnd:d,className:p}){const h=o!=null||s!=null,m=r!=null&&r!==!1,y=i.useCallback(f=>{l&&f.target===f.currentTarget&&(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),l())},[l]);return t.jsxs("div",{className:_e("training-card",l?"training-card--clickable":"",p),onClick:l,onKeyDown:l?y:void 0,role:l?"button":void 0,tabIndex:l?0:void 0,draggable:c,onDragStart:u,onDragEnd:d,children:[t.jsxs("div",{className:"training-card__header",children:[t.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?t.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&t.jsx("div",{className:"training-card__top-actions",onClick:f=>f.stopPropagation(),children:a})]}),n!=null?typeof n=="string"?t.jsx("p",{className:"training-card__description body-3",children:n}):n:t.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),m&&t.jsx("div",{className:"training-card__body",children:r}),h&&t.jsxs("div",{className:"training-card__footer",children:[o!=null&&t.jsx("div",{className:"training-card__footer-left",children:o}),s!=null&&t.jsx("div",{className:"training-card__meta",children:s})]})]})}function q5({title:e,count:n,collapsed:a=!1,onToggle:r,sort:o,actions:s,empty:l=!1,emptyContent:c,dragOver:u=!1,onDragOver:d,onDragLeave:p,onDrop:h,children:m,className:y}){const{t:f}=me.useTranslation(),g=r!=null,C=_e("training-card-group",u&&"training-card-group--dragover",a&&"training-card-group--collapsed",g&&"training-card-group--collapsible",y);return t.jsxs("div",{className:C,onDragOver:d,onDragLeave:p,onDrop:h,children:[t.jsxs("header",{className:"training-card-group__header",children:[g&&t.jsx(oe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron",onClick:r}),typeof e=="string"?t.jsx("span",{className:"training-card-group__title h5b",children:e}):e,n!==void 0&&t.jsx("span",{className:"training-card-group__count body-3b",children:n}),(o||s!=null)&&t.jsxs("span",{className:"training-card-group__actions",onClick:v=>v.stopPropagation(),children:[o&&t.jsx(Wt,{size:40,options:o.options,value:o.value,placeholder:o.placeholder,onChange:o.onChange}),s]})]}),!a&&(l?t.jsx("div",{className:"training-card-group__empty body-3",children:c}):t.jsx("div",{className:"training-card-group__grid",children:m}))]})}const U5="speechear:saved_word_tables";function G5(e){if(typeof e!="object"||e===null)return!1;const n=e;return typeof n.id=="string"&&typeof n.name=="string"&&Array.isArray(n.items)}function K5(){try{const e=localStorage.getItem(U5);if(!e)return[];const n=JSON.parse(e);return Array.isArray(n)?n.filter(G5):[]}catch{return[]}}function Z5({title:e,titleIcon:n,disc:a,items:r,onSaveComplete:o,onLoad:s,onRemoveItem:l,onReset:c,resetLabel:u,saveButtonLabel:d,secondarySaveButtonLabel:p,onReorder:h,showCellCount:m,onAddItem:y,className:f,renderSavePopup:g,renderWordSearch:C,hideControls:v,saveOnly:_,tableName:k,nameValue:b,onNameChange:w,descriptionValue:x,onDescriptionChange:N,namePlaceholder:j,descriptionPlaceholder:A,existingNames:D,editingName:F,onCancel:P}){const{t:S}=me.useTranslation(),V=u??S("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),L=r===void 0,te=!!w,[E,O]=i.useState([]),Q=(b??"").trim(),W=Q||(j??"").trim(),M=(x??"").trim()||(A??"").trim(),T=(D??[]).map(Y=>Y.trim().toLowerCase()),$=[F?.trim().toLowerCase(),...E].filter(Y=>!!Y),R=[...T];for(const Y of $){const ae=R.indexOf(Y);ae!==-1&&R.splice(ae,1)}const G=Q!==""&&R.includes(Q.toLowerCase()),[I,U]=i.useState(Array(4).fill(null)),[z,ie]=i.useState(4),[ce,be]=i.useState(null),[ve,fe]=i.useState("landscape"),[Z,ue]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[J,ye]=i.useState("\uD45C\uC2DC"),[we,de]=i.useState(!0),[X,ne]=i.useState(!0),Ae=i.useRef(null),se=i.useRef([]),[Ne,Be]=i.useState(8),[Oe,He]=i.useState("right"),[Me,Ue]=i.useState(!1),[Ee,Ce]=i.useState(!1),{toastMessage:Le,toastType:Se,showWarning:Fe,clearToast:$e}=ai("warning"),Ve=i.useCallback(()=>be(null),[be]);y&&!L&&!m&&Vn("word-table-block-add-without-cell-count",'[WordTableBlock] \uD45C\uC2DC \uBAA8\uB4DC\uC5D0\uC11C onAddItem \uC740 showCellCount \uC640 \uD568\uAED8 \uC918\uC57C "\uCD94\uAC00\uD558\uAE30" \uCE78\uC774 \uC0DD\uAE34\uB2E4.');const[Ke,st]=i.useState(()=>Math.max(r?.length??1,1));i.useEffect(()=>{L||st(Y=>Math.max(Y,r?.length??1))},[r?.length,L]);const qe=L?z:m?Math.max(Ke,r?.length??1):Math.max(r?.length??0,1),{width:ze,height:ut}=In[ve],nt=!L&&!m,Te=r?.length??0,Qe=Math.min(Ne,Math.max(Te,1)),Pe=nt?Qe:qe,Ye=nt?nl(r??[],Pe):null,dt=!!Ye&&Ye.length>1,et=L?I.some(Y=>Y!==null&&Y.length>1):(r??[]).some(Y=>Y.words.length>1),lt=k?.trim()||`${ms(l0())} ${et?S("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):S("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,tt=i.useCallback(()=>dt?se.current.filter(Y=>Y!==null):Ae.current?[Ae.current]:[],[dt]),{print:Bt,openNewWindow:Yt,downloadHtml:ft}=Er({getElements:tt,paperW:ze,paperH:ut,fileName:lt,onPopupBlocked:()=>{Fe(S("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),Xt=Y=>{ie(Y),U(ae=>{const Re=Array(Y).fill(null);return ae.slice(0,Y).forEach((Xe,Ze)=>{Re[Ze]=Xe}),Re}),be(null)},Et=Y=>{U(ae=>{const Re=[...ae];return Re[Y]=null,Re}),ce===Y&&be(null)},Mt=Y=>{if(ce===null)return;const ae=ce;U(Xe=>{const Ze=[...Xe];return Ze[ae]=Y,Ze});const Re=I.findIndex((Xe,Ze)=>Ze>ae&&Xe===null);be(Re!==-1?Re:null)},Jt=L?I.some(Y=>Y?.some(ae=>!!ae.colloquialPronunciation)):(r??[]).some(Y=>Y.words.some(ae=>!!ae.colloquialLabel)),vt=i.useMemo(()=>En()?L?I.flatMap(Y=>(Y??[]).map(ae=>[ae.word,ae.homonum])):(r??[]).flatMap(Y=>Y.words.map(ae=>[ae.label,ae.homonum])):[],[L,I,r]),[bn,Ft]=i.useState(!1);i.useEffect(()=>{if(vt.length===0)return;let Y=!1;return Promise.all(vt.map(([ae,Re])=>os(ae,Re))).then(ae=>{Y||Ft(ae.some(Boolean))}),()=>{Y=!0}},[vt]);const Ut=vt.length>0&&bn,yn=i.useMemo(()=>[...L||m?[{label:S("wordTable.filter.columns","\uCE78 \uC218"),items:V4.map(Y=>({value:`${Y}\uCE78`,displayLabel:S("wordTable.filter.column",{count:Y})})),display:"segmented"}]:[],...nt&&(r?.length??0)>0?[hl(S,{hasPairs:et,itemCount:Te})]:[],...dt?[ml(S)]:[]],[S,L,m,nt,r?.length,et,Te,dt]),Ge={...L||m?{[S("wordTable.filter.columns","\uCE78 \uC218")]:`${L?z:Ke}\uCE78`}:{},...nt&&(r?.length??0)>0?{[S(et?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${Qe}\uAC1C`}:{},...dt?{[S("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:fl[Oe]}:{}},xt=(Y,ae)=>{ae===S("wordTable.filter.columns","\uCE78 \uC218")?L?Xt(parseInt(Y)):st(parseInt(Y)):ae===S(et?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?Be(parseInt(Y)):ae===S("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&He(Cl(Y))},Dt=L?I.filter(Y=>Y!==null).map(Y=>({id:Y[0].word,words:Y.map(ae=>({label:ae.word,subLabel:ae.pronunciation,homonum:ae.homonum}))})):r??[],Qt=(Y=!1)=>{if(Ce(Y),te&&o){const ae=W.trim().toLowerCase();ae&&O(Re=>Re.includes(ae)?Re:[...Re,ae]),o(W,Dt,M||void 0,Y);return}if(_&&o){o("",Dt,void 0,Y);return}if(o){Ue(!0);return}ft()},[en,Lt]=i.useState(!1),[Ot,tn]=i.useState(""),Ht=Ot.trim(),Gt=Ht!==""&&T.includes(Ht.toLowerCase()),re=()=>{tn(W?`${W} (\uBCF5\uC0AC)`:""),Lt(!0)},ge=()=>{!Ht||Gt||!o||(o(Ht,Dt,M||void 0,!0),Lt(!1))},H=Dt.length===0,ee=H||te&&(W===""||G),he=()=>{if(H){Fe(S("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(te&&W===""){Fe(S("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}te&&G&&Fe(S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},xe=t.jsx(Fn,{items:Dt,orientation:ve,contentTypes:Z,cutLine:J,showOutline:we,showDivLine:X,count:qe});return t.jsxs(t.Fragment,{children:[t.jsxs(Rn,{type:"page",icon:n,title:e,disc:a,className:_e("word-table-block",f),children:[en&&t.jsx(fn,{size:"small",title:p??S("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>Lt(!1),footer:({closeWithAnimation:Y})=>t.jsxs(t.Fragment,{children:[t.jsx(oe,{htmlType:"button",size:48,type:"bar",label:S("common.cancel","\uCDE8\uC18C"),onClick:Y}),t.jsx(oe,{htmlType:"button",size:48,type:"bar",variant:"main",label:S("common.save","\uC800\uC7A5"),disabled:!Ht||Gt,onClick:ge})]}),children:t.jsx(Bn,{label:S("wordTable.save.nameLabel","\uC774\uB984"),value:Ot,onChange:tn,placeholder:S("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:ge,error:Gt?S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),Me&&o&&g?.({defaultName:typeof e=="string"?e:S("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:xe,previewW:ze,previewH:ut,items:Dt,existingNames:K5().map(Y=>Y.name),saveAsNew:Ee,onSave:(Y,ae)=>{o(Y,Dt,ae,Ee),Ue(!1)},onCancel:()=>Ue(!1)}),(L||y)&&ce!==null&&C?.({cellIndex:ce,onConfirm:L?Mt:Y=>{if(y){const ae=Y[0];ae&&y({id:ae.word,words:[{label:ae.word,subLabel:ae.pronunciation,homonum:ae.homonum}]})}be(null)},onClose:Ve}),!v&&t.jsx(Sr,{hasImage:Ut,hasColloquial:Jt,contentTypes:Z,orientation:ve,showOutline:we,cutLine:J,showDivLine:X,setters:{setContentTypes:ue,setOrientation:fe,setShowOutline:de,setCutLine:ye,setShowDivLine:ne},showCutLine:(nt?Pe:qe)>1,showDivLine2:et,middleSections:yn,extraSelected:Ge,onExtraSelect:xt}),dt&&Ye?t.jsx("div",{className:"word-table-block__pages",children:Ye.map((Y,ae)=>t.jsx(Fn,{orientation:ve,contentTypes:Z,cutLine:J,showOutline:we,showDivLine:X,count:Pe,items:Y,onRemoveItem:l,contentRef:Re=>{se.current[ae]=Re},pageNumber:{current:ae+1,total:Ye.length},pageNumberPosition:Oe},ae))}):t.jsx(Fn,{orientation:ve,contentTypes:Z,cutLine:J,showOutline:we,showDivLine:X,count:qe,items:L?void 0:r??[],editCells:L?I:void 0,activeCell:ce,onActivateCell:L||y?be:void 0,onRemoveCell:L?Et:void 0,onRemoveItem:L?void 0:l,onReorder:L?void 0:h,showFillerAdd:!!y,contentRef:Ae}),te&&!v&&t.jsxs(Ea,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[t.jsx(Cn,{variant:"custom",label:S("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:t.jsx(Bn,{required:!0,value:b??"",onChange:w,placeholder:j?j+S("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):S("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:S("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:G?S("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:Y=>{(Y.key==="Tab"&&!Y.shiftKey||Y.key===" ")&&!(b??"").trim()&&(j??"").trim()&&(Y.preventDefault(),w?.(j??""))}})}),t.jsx(Cn,{variant:"custom",label:S("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:t.jsx(Bn,{value:x??"",onChange:N,placeholder:A?A+S("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):S("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:S("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:Y=>{(Y.key==="Tab"&&!Y.shiftKey||Y.key===" ")&&!(x??"").trim()&&(A??"").trim()&&(Y.preventDefault(),N?.(A??""))}})})]})]}),!v&&t.jsxs("div",{className:"word-table-block__actions",children:[t.jsxs("div",{className:"word-table-block__actions-left",children:[!_&&c&&t.jsx(oe,{htmlType:"button",size:40,type:"bar",label:V,onClick:c}),!_&&s&&t.jsx(oe,{htmlType:"button",size:40,type:"bar",label:S("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:s}),!_&&t.jsx(oe,{htmlType:"button",size:40,type:"bar",label:S("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:Yt})]}),t.jsxs("div",{className:"word-table-block__actions-right",children:[P&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",label:S("common.cancel","\uCDE8\uC18C"),onClick:P}),!_&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",label:S("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Bt}),p&&t.jsx(oe,{htmlType:"button",size:"56",type:"bar",label:p,onClick:()=>te?re():Qt(!0),disabled:H,onDisabledClick:()=>{Fe(S("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),t.jsx(oe,{htmlType:"button",size:"56",type:"bar",variant:"main",label:d??S("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>Qt(!1),disabled:ee,onDisabledClick:he})]})]}),t.jsx($n,{message:Le,type:Se,onClose:$e})]})}function nc({items:e,className:n}){const a=e.length,r=a<=3?1:2,o=Math.ceil(a/r)||1,s=r*o;return t.jsx("div",{className:_e("word-table-thumb",n),style:{gridTemplateColumns:`repeat(${r}, 1fr)`},children:Array.from({length:s},(l,c)=>{const u=e[c];return u?t.jsx("div",{className:"word-table-thumb__cell",children:(u.words.length?u.words:[{label:u.id}]).map((d,p)=>t.jsxs(i.Fragment,{children:[p>0&&t.jsx("span",{className:"word-table-thumb__divider"}),t.jsx("span",{className:"word-table-thumb__word body-3",children:d.label})]},p))},c):t.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}function Y5({items:e,name:n,description:a,createdAt:r,published:o,publishedLabel:s,shared:l,sharedLabel:c,isNew:u,publisherName:d,publishedAt:p,likeCount:h,downloadCount:m,onPublisherClick:y,selected:f,onClick:g,onMore:C,titleNode:v,className:_}){const{t:k}=me.useTranslation(),b=v!=null,w=d!=null||p!=null||h!=null||m!=null,x=N=>{!b&&(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),g?.())};return t.jsxs("div",{className:_e("word-table-button",f?"word-table-button--selected":"",w?"":"word-table-button--no-footer",_),role:"button",tabIndex:0,"aria-label":n,onClick:b?void 0:g,onKeyDown:x,children:[u&&t.jsx("span",{className:"word-table-button__new-dot","aria-label":k("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),t.jsx(nc,{items:e,className:"word-table-button__thumb"}),t.jsxs("div",{className:"word-table-button__info",children:[t.jsxs("div",{className:"word-table-button__info-text",children:[v??t.jsx("div",{className:"word-table-button__title h4",children:n}),a&&t.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),C&&!b&&t.jsx(oe,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:k("common.moreFor",{name:n}),onClick:N=>{N.stopPropagation(),C(N)}})]}),(r||o||l)&&t.jsxs("div",{className:"word-table-button__meta-row",children:[t.jsx("span",{className:"word-table-button__meta caption-1",children:r?hs(r,k):""}),t.jsxs("span",{className:"word-table-button__badges",children:[o&&t.jsx(ot,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:s??k("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),l&&t.jsx(ot,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:c??k("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]})]}),w&&t.jsxs("div",{className:"word-table-button__footer",children:[t.jsxs("span",{className:"word-table-button__store-by",children:[d&&t.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:N=>{N.stopPropagation(),y?.()},children:d}),p&&t.jsx("span",{className:"training-card__date body-4",children:hs(p,k)})]}),t.jsxs("span",{className:"word-table-button__store-stats",children:[h!=null&&t.jsx(ot,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(h)}),m!=null&&t.jsx(ot,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(m)})]})]})]})}/**
969
969
  * @license lucide-react v1.38.0 - ISC
970
970
  *
971
971
  * This source code is licensed under the ISC license.
972
972
  * See the LICENSE file in the root directory of this source tree.
973
- */const G5=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],K5=Z("image",G5);/**
973
+ */const X5=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],J5=K("image",X5);/**
974
974
  * @license lucide-react v1.38.0 - ISC
975
975
  *
976
976
  * This source code is licensed under the ISC license.
977
977
  * See the LICENSE file in the root directory of this source tree.
978
- */const Z5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Y5=Z("circle-x",Z5);function X5(e){return{idle:0,"word-download":1,"image-list":2,"image-match":2,"pair-build":3,done:4}[e]??0}function Qr({icon:e,label:n,state:a,pct:r,subText:o}){const{t:i}=fe.useTranslation(),l=a==="done",c=a==="pending",u=a==="error",d=l?100:r??0;return t.jsxs("div",{className:"wdup-phase-card",children:[t.jsx("div",{className:`wdup-phase-card__icon${l?" wdup-phase-card__icon--done":u?" wdup-phase-card__icon--error":""}`,children:l?t.jsx(vo,{size:22,color:"white",strokeWidth:2.5}):u?t.jsx(Y5,{size:22,color:"white",strokeWidth:2.5}):t.jsx("span",{className:`wdup-phase-card__icon-inner${c?" wdup-phase-card__icon-inner--pending":""}`,children:e})}),t.jsxs("div",{className:"wdup-phase-card__body",children:[t.jsxs("div",{className:"wdup-phase-card__top",children:[t.jsx("span",{className:`wdup-phase-card__label body-2${c?" wdup-phase-card__label--pending":""}`,children:n}),l?t.jsx(ot,{variant:"sub",fill:"soft",size:"small",label:i("common.done","\uC644\uB8CC")}):u?t.jsx(ot,{variant:"danger",fill:"soft",size:"small",label:i("common.failed","\uC2E4\uD328")}):(o||r!==void 0)&&t.jsxs("span",{className:"wdup-phase-card__sub body-3",children:[o,o&&r!==void 0?` \xB7 ${r}%`:r!==void 0?`${r}%`:""]})]}),!c&&t.jsx("div",{className:"wdup-bar",children:t.jsx("div",{className:`wdup-bar__fill${l?" wdup-bar__fill--done":u?" wdup-bar__fill--error":""}${a==="active"&&r===void 0?" wdup-bar__fill--indeterminate":""}`,style:{width:r!==void 0||l||u?`${u?100:d}%`:void 0}})})]})]})}function J5({title:e,progress:n,onDone:a,onRetry:r,onClose:o,inline:i}){const{t:l}=fe.useTranslation(),{phase:c,error:u,wordCount:d,imagePage:h,imageDone:p,imageTotal:m,pairPercent:b}=n,f=X5(c),g=c==="done",C=!!u;function y(k){return C&&f===k?"error":f>k?"done":f===k?"active":"pending"}const w=y(1),_=y(2),v=y(3),A=c==="image-match"&&m?Math.round((p??0)/m*100):void 0,x=s.useMemo(()=>{if(_!=="done"){if(c==="image-list")return l("wordData.checkingPage",{page:h??1});if(c==="image-match"&&m)return l("wordData.imageCount",{done:ar(p),total:ar(m)})}},[_,c,h,m,p,l]);return t.jsx(fn,{inline:i,className:"popup--word-data-update",title:e,footer:C&&r?t.jsx(se,{htmlType:"button",size:56,variant:"main",onClick:r,children:l("common.retry","\uB2E4\uC2DC \uC2DC\uB3C4")}):C?t.jsx(se,{htmlType:"button",size:56,variant:"main",onClick:o??a,children:l("common.close","\uB2EB\uAE30")}):t.jsx(se,{htmlType:"button",size:56,variant:"main",disabled:!g,onClick:a,children:l("common.done","\uC644\uB8CC")}),children:t.jsxs("div",{className:"wdup-cards",children:[t.jsx(Qr,{icon:t.jsx(fo,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phaseWordDownload","\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC"),state:w,subText:w==="active"?l("wordData.downloadingCount",{n:ar(d)}):void 0}),t.jsx(Qr,{icon:t.jsx(K5,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phaseImageCheck","\uC774\uBBF8\uC9C0 \uD655\uC778"),state:_,pct:A,subText:x}),t.jsx(Qr,{icon:t.jsx(bo,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phasePairAnalysis","\uB2E8\uC5B4\uC30D \uBD84\uC11D"),state:v,pct:v==="active"?b??0:void 0,subText:void 0})]})})}function Q5({enabled:e=!1,renderResultPopup:n}={}){const{t:a}=fe.useTranslation(),[r,o]=s.useState(null),[i,l]=s.useState(null),c=b=>{let f=null;b==="noise"?f={score:3,contextsLength:5,results:[{sentence:"\uBB38\uC7A5 A",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 B",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 C",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 D",judgement:null,wording:"\uC548 \uD568",useAnswer:!1},{sentence:"\uBB38\uC7A5 E",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1}]}:b==="short"?f={score:2,contextsLength:3,results:[{sentence:"\uBE44\uBE54\uBC25 \uC124\uBA85",answer:"\uBE44\uBE54\uBC25",selected:"\uBE44\uBE54\uBC25",selectedText:"\uBE44\uBE54\uBC25",correct:!0},{sentence:"\uBCF4\uC308 \uC124\uBA85",answer:"\uBCF4\uC308",selected:"\uC871\uBC1C",selectedText:"\uC871\uBC1C",correct:!1},{sentence:"\uCE7C\uAD6D\uC218 \uC124\uBA85",answer:"\uCE7C\uAD6D\uC218",selected:void 0,selectedText:void 0,correct:void 0}]}:b==="long"?f={score:4,contextsLength:4,results:[{sentence:"\uAE34 \uC774\uC57C\uAE30 1",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",correct:!0},{sentence:"\uAE34 \uC774\uC57C\uAE30 2",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 2",selectedText:"\uC120\uD0DD \uD14D\uC2A4\uD2B8 2",correct:!1},{sentence:"\uAE34 \uC774\uC57C\uAE30 3",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 3",selectedText:void 0,correct:void 0},{sentence:"\uAE34 \uC774\uC57C\uAE30 4",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",correct:!0}]}:b==="order"&&(f={score:1,contextsLength:2,results:[{sentence:"\uC21C\uC11C \uBB38\uC81C 1",answer:"1,2,3",selectedText:"1,2,3",correct:!0},{sentence:"\uC21C\uC11C \uBB38\uC81C 2",answer:"A,B,C",selectedText:"B,A,C",correct:!1}]}),l(f),o(b)},u=s.useCallback(()=>{o(null),l(null)},[]),d=s.useCallback(()=>c("noise"),[]),h=s.useCallback(()=>c("short"),[]),p=s.useCallback(()=>c("long"),[]),m=s.useCallback(()=>c("order"),[]);return e?t.jsxs("div",{className:"debug-result-launcher",children:[t.jsxs("div",{className:"debug-buttons",children:[t.jsx("button",{type:"button",className:"debug-button",onClick:d,children:a("debug.showResult",{type:"Noise",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:h,children:a("debug.showResult",{type:"ShortStory",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:p,children:a("debug.showResult",{type:"LongStory",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:m,children:a("debug.showResult",{type:"Order",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})})]}),r&&i?n?.({score:i.score,contextsLength:i.contextsLength,results:i.results,onReplay:u,onClose:u}):null]}):null}exports.Accordion=W0,exports.ActionCard=w0,exports.Alert=cg,exports.AppHeader=X0,exports.AudioMeter=xr,exports.AudioPlayer=Hr,exports.Avatar=Cg,exports.Badge=ot,exports.BarChart=Jg,exports.BarChartControls=$i,exports.Board=Dg,exports.BottomNav=si,exports.BrandIdentity=ui,exports.Breadcrumb=yg,exports.BulkBar=Og,exports.Button=se,exports.CORE_VERSION=b0,exports.Calendar=m4,exports.CardStep=Gl,exports.ChartLegend=gr,exports.ChartSection=br,exports.ChartTotal=ka,exports.Checkbox=Ti,exports.ChoiceChips=Cb,exports.CircleBadge=og,exports.CodeBox=Fg,exports.ColorPicker=kg,exports.CompanyMeta=Lg,exports.ConfirmPopup=w5,exports.ConfirmStep=Wl,exports.ConfirmWithTextStep=ql,exports.ContrastFilterPanel=x5,exports.CoreScope=k0,exports.CountTile=Ag,exports.CouponInputPopup=k5,exports.DEFAULT_NOISE_SETTINGS=ca,exports.DatePicker=Wg,exports.DebugResultLauncher=Q5,exports.DescriptionTooltip=wn,exports.DeviceSideTable=d4,exports.Dialog=Bg,exports.Divider=sg,exports.Dropdown=Wt,exports.EffectPartyPopper=Ql,exports.EffectPartyPopperHost=j5,exports.EmptyState=x0,exports.ErrorState=_0,exports.FILTER_ALL_VALUE=Zt,exports.FileUpload=bg,exports.FilterPanel=ln,exports.FilterSectionInfo=aa,exports.Footer=gb,exports.Header=di,exports.Icon=Ie,exports.IconGridMenu=fb,exports.IconRenderer=Ie,exports.InfoTooltip=hn,exports.LEVEL_MAX=On,exports.LandingBottomSticky=yb,exports.LandingHeader=bb,exports.ListPopup=_5,exports.ListenStep=zl,exports.Loader=ra,exports.MARKS=Yi,exports.MARK_ICON=Ji,exports.MARK_VARIANT=Qi,exports.MediaQueryOverrideContext=Ys,exports.MenuTooltip=_a,exports.NOISE_RATIO_MAX=Da,exports.NOISE_RATIO_STEP=xl,exports.NoisePlayerContext=Pr,exports.NoiseSettingsTooltip=Pl,exports.NoticeBox=A0,exports.OrderListStep=Ul,exports.PASS_CARD_BG_VARS=An,exports.POS_LABEL=nl,exports.PROMO_BANNER_BG_COMPONENTS=Ks,exports.PROMO_BANNER_BG_OPTIONS=N0,exports.PROMO_BANNER_BG_VARS=Qn,exports.Page=Ma,exports.PageTitle=T5,exports.Pagination=wa,exports.Panel=Ea,exports.PanelGrid=Ub,exports.PanelRow=Cn,exports.PanelRowDevice=qb,exports.PassCard=wi,exports.PassCardBg=tg,exports.PassCardBgIHAB=ng,exports.PassCardBgLeftColorGrid=ag,exports.PassCardBgTwoCircle=yi,exports.PaymentPlan=eg,exports.PersonCard=Sg,exports.PhonemeFilterPanel=v5,exports.PhonemeSelectBlock=b5,exports.Popup=fn,exports.ProgressBar=o4,exports.ProgressIndicator=Vi,exports.PromoBanner=H0,exports.PromoBannerBgDark=Ms,exports.PromoBannerBgDeep=Bs,exports.PromoBannerBgDiagonal=Ps,exports.PromoBannerBgDots=Fs,exports.PromoBannerBgInstagram=Gs,exports.PromoBannerBgMain=xs,exports.PromoBannerBgNaver=qs,exports.PromoBannerBgOutline=Hs,exports.PromoBannerBgRadial=$s,exports.PromoBannerBgSoft=ws,exports.PromoBannerBgSoftSub=Ss,exports.PromoBannerBgSub=As,exports.PromoBannerBgSuccess=zs,exports.PromoBannerBgWarm=Ts,exports.PublicationCard=Tg,exports.Radio=Bi,exports.RadioGroup=ig,exports.Rating=xg,exports.ReportDocument=P5,exports.ReportInfoPanel=I5,exports.RingChart=e4,exports.SENTENCE_TRAINING_TYPES=Mr,exports.SearchSummary=pg,exports.Section=Rn,exports.SectionHeader=Mg,exports.SegmentedControl=Bn,exports.ShortcutBadge=Ni,exports.SideNav=ci,exports.Slider=Fi,exports.SoundCompass=rg,exports.SplashLogo=Eg,exports.StatChart=t4,exports.SummaryStrip=$5,exports.TRAINING_TOOLTIP_HOVER_DELAY_MS=A5,exports.Table=wr,exports.TableFilterPanel=Sr,exports.Tabs=hg,exports.TextBoxTooltip=Ta,exports.TextField=Nn,exports.Timeline=jg,exports.Toast=$n,exports.Toggle=ji,exports.Toolbar=fr,exports.Tooltip=pn,exports.TooltipInfo=hn,exports.TooltipTextBox=Ta,exports.TopBanner=V0,exports.TrainingBlock=y4,exports.TrainingBlockButton=kr,exports.TrainingCard=O5,exports.TrainingCardGroup=H5,exports.TrainingPagePopup=gn,exports.TrainingPagePopupBottom=Il,exports.TrainingPagePopupTitle=Fl,exports.TrainingResultPopup=Zl,exports.TrainingStep=Dn,exports.TrainingStepAudioPlayer=Hr,exports.TrainingStepBullet=jl,exports.TrainingStepCard=Ml,exports.TrainingStepConfirm=zr,exports.TrainingStepConfirmWithText=Wr,exports.TrainingStepListen=qr,exports.TrainingStepOrderList=Ur,exports.TrainingStepTextBox=El,exports.TrainingStepTitle=Tl,exports.TrainingTooltip=B5,exports.TrainingWordCard=Nr,exports.UpdateAlert=F5,exports.WAVE_A_MAX=Db,exports.WAVE_H1_PX=Bl,exports.WAVE_HMAX_PX=Bb,exports.WORD_TABLE_PAPER=In,exports.WORD_TYPE_LABEL=al,exports.WordDataProvider=L5,exports.WordDataUpdatePopup=J5,exports.WordImageTooltip=Xl,exports.WordSearchFilterPanel=y5,exports.WordSearchResultBlock=C5,exports.WordTable=Fn,exports.WordTableBlock=q5,exports.WordTableButton=U5,exports.WordTablePopup=V4,exports.WordTableThumbnail=tc,exports.buildMonthChartData=Ug,exports.cellLabel=G4,exports.cellsForLabels=ib,exports.clearPassCardBgTheme=on,exports.clearPromoBannerBgTheme=yt,exports.closeTrainingPopup=Xb,exports.companyTypeLabel=E5,exports.createTrainingScenario=e5,exports.cx=xe,exports.deriveNoiseContexts=s5,exports.derivePassCard=Ci,exports.draftValues=hb,exports.effectiveNoiseVolume=$r,exports.effectiveSpeechVolume=kl,exports.expandSlashLabel=Dr,exports.formatDuration=lb,exports.getControlDateRange=Qg,exports.getPayloadTimestamp=Zr,exports.getPromoBannerBgTheme=sr,exports.getSelectedFromPayload=n5,exports.getSelectedText=a5,exports.getStepPayload=Hl,exports.getSteppedPayload=r5,exports.injectPassCardBgTheme=rn,exports.injectPromoBannerBgTheme=bt,exports.isSelectionCorrect=o5,exports.labelsForSave=U4,exports.levelToPct=vb,exports.markAfterClick=Xi,exports.marksForSave=Br,exports.mergeNoiseSettings=la,exports.missesByType=ab,exports.nextFocus=eb,exports.nextMisses=nb,exports.noiseElementVolume=Rr,exports.noiseRatioOf=ia,exports.pageStartIndexes=el,exports.passCardBgIhabTheme=ki,exports.passCardBgLeftColorGridTheme=Ai,exports.passCardBgTwoCircleTheme=bi,exports.pctToLevel=xb,exports.printWordTable=D4,exports.promoBannerBgDarkTheme=Es,exports.promoBannerBgDeepTheme=Ns,exports.promoBannerBgDiagonalTheme=Rs,exports.promoBannerBgDotsTheme=Is,exports.promoBannerBgInstagramTheme=Us,exports.promoBannerBgMainTheme=vs,exports.promoBannerBgNaverTheme=Ws,exports.promoBannerBgOutlineTheme=Os,exports.promoBannerBgRadialTheme=Ls,exports.promoBannerBgSoftSubTheme=Ds,exports.promoBannerBgSoftTheme=_s,exports.promoBannerBgSubTheme=ks,exports.promoBannerBgSuccessTheme=Vs,exports.promoBannerBgWarmTheme=js,exports.recommendTables=ob,exports.regenerateUnpinned=pb,exports.removeItem=db,exports.resolveTrainingItems=Qb,exports.resolveTrainingPopupMeta=Ol,exports.reviewCells=W4,exports.reviewSetPlan=rb,exports.reviewTableName=q4,exports.scoreKey=Na,exports.scoreSheetHeader=K4,exports.shouldConfirmDiscard=B4,exports.splitTrainingVariants=Jb,exports.summarize=N4,exports.summarizeMisses=tb,exports.tableTrends=Q4,exports.toDraft=cb,exports.toTrainingText=t5,exports.togglePin=ub,exports.uncoveredLabels=sb,exports.useAnchoredMenu=ea,exports.useBarChartControl=Li,exports.useCalendarMonth=Ei,exports.useComboboxSuggestions=Di,exports.useFitScale=ol,exports.useNoisePlayer=Sa,exports.useSoundCompassExam=O0,exports.useToastLifecycle=Hi,exports.useWordData=M5,exports.useWordTableDisplaySettings=yl,exports.useWordTablePrint=Er,exports.waveBarPx=ua,exports.waveBarVal=Fr,exports.weakItems=J4;
978
+ */const Q5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ey=K("circle-x",Q5);function ty(e){return{idle:0,"word-download":1,"image-list":2,"image-match":2,"pair-build":3,done:4}[e]??0}function Qr({icon:e,label:n,state:a,pct:r,subText:o}){const{t:s}=me.useTranslation(),l=a==="done",c=a==="pending",u=a==="error",d=l?100:r??0;return t.jsxs("div",{className:"wdup-phase-card",children:[t.jsx("div",{className:`wdup-phase-card__icon${l?" wdup-phase-card__icon--done":u?" wdup-phase-card__icon--error":""}`,children:l?t.jsx(vo,{size:22,color:"white",strokeWidth:2.5}):u?t.jsx(ey,{size:22,color:"white",strokeWidth:2.5}):t.jsx("span",{className:`wdup-phase-card__icon-inner${c?" wdup-phase-card__icon-inner--pending":""}`,children:e})}),t.jsxs("div",{className:"wdup-phase-card__body",children:[t.jsxs("div",{className:"wdup-phase-card__top",children:[t.jsx("span",{className:`wdup-phase-card__label body-2${c?" wdup-phase-card__label--pending":""}`,children:n}),l?t.jsx(ot,{variant:"sub",fill:"soft",size:"small",label:s("common.done","\uC644\uB8CC")}):u?t.jsx(ot,{variant:"danger",fill:"soft",size:"small",label:s("common.failed","\uC2E4\uD328")}):(o||r!==void 0)&&t.jsxs("span",{className:"wdup-phase-card__sub body-3",children:[o,o&&r!==void 0?` \xB7 ${r}%`:r!==void 0?`${r}%`:""]})]}),!c&&t.jsx("div",{className:"wdup-bar",children:t.jsx("div",{className:`wdup-bar__fill${l?" wdup-bar__fill--done":u?" wdup-bar__fill--error":""}${a==="active"&&r===void 0?" wdup-bar__fill--indeterminate":""}`,style:{width:r!==void 0||l||u?`${u?100:d}%`:void 0}})})]})]})}function ny({title:e,progress:n,onDone:a,onRetry:r,onClose:o,inline:s}){const{t:l}=me.useTranslation(),{phase:c,error:u,wordCount:d,imagePage:p,imageDone:h,imageTotal:m,pairPercent:y}=n,f=ty(c),g=c==="done",C=!!u;function v(N){return C&&f===N?"error":f>N?"done":f===N?"active":"pending"}const _=v(1),k=v(2),b=v(3),w=c==="image-match"&&m?Math.round((h??0)/m*100):void 0,x=i.useMemo(()=>{if(k!=="done"){if(c==="image-list")return l("wordData.checkingPage",{page:p??1});if(c==="image-match"&&m)return l("wordData.imageCount",{done:ar(h),total:ar(m)})}},[k,c,p,m,h,l]);return t.jsx(fn,{inline:s,className:"popup--word-data-update",title:e,footer:C&&r?t.jsx(oe,{htmlType:"button",size:56,variant:"main",onClick:r,children:l("common.retry","\uB2E4\uC2DC \uC2DC\uB3C4")}):C?t.jsx(oe,{htmlType:"button",size:56,variant:"main",onClick:o??a,children:l("common.close","\uB2EB\uAE30")}):t.jsx(oe,{htmlType:"button",size:56,variant:"main",disabled:!g,onClick:a,children:l("common.done","\uC644\uB8CC")}),children:t.jsxs("div",{className:"wdup-cards",children:[t.jsx(Qr,{icon:t.jsx(fo,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phaseWordDownload","\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC"),state:_,subText:_==="active"?l("wordData.downloadingCount",{n:ar(d)}):void 0}),t.jsx(Qr,{icon:t.jsx(J5,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phaseImageCheck","\uC774\uBBF8\uC9C0 \uD655\uC778"),state:k,pct:w,subText:x}),t.jsx(Qr,{icon:t.jsx(bo,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:l("wordData.phasePairAnalysis","\uB2E8\uC5B4\uC30D \uBD84\uC11D"),state:b,pct:b==="active"?y??0:void 0,subText:void 0})]})})}function ay({enabled:e=!1,renderResultPopup:n}={}){const{t:a}=me.useTranslation(),[r,o]=i.useState(null),[s,l]=i.useState(null),c=y=>{let f=null;y==="noise"?f={score:3,contextsLength:5,results:[{sentence:"\uBB38\uC7A5 A",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 B",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 C",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 D",judgement:null,wording:"\uC548 \uD568",useAnswer:!1},{sentence:"\uBB38\uC7A5 E",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1}]}:y==="short"?f={score:2,contextsLength:3,results:[{sentence:"\uBE44\uBE54\uBC25 \uC124\uBA85",answer:"\uBE44\uBE54\uBC25",selected:"\uBE44\uBE54\uBC25",selectedText:"\uBE44\uBE54\uBC25",correct:!0},{sentence:"\uBCF4\uC308 \uC124\uBA85",answer:"\uBCF4\uC308",selected:"\uC871\uBC1C",selectedText:"\uC871\uBC1C",correct:!1},{sentence:"\uCE7C\uAD6D\uC218 \uC124\uBA85",answer:"\uCE7C\uAD6D\uC218",selected:void 0,selectedText:void 0,correct:void 0}]}:y==="long"?f={score:4,contextsLength:4,results:[{sentence:"\uAE34 \uC774\uC57C\uAE30 1",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",correct:!0},{sentence:"\uAE34 \uC774\uC57C\uAE30 2",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 2",selectedText:"\uC120\uD0DD \uD14D\uC2A4\uD2B8 2",correct:!1},{sentence:"\uAE34 \uC774\uC57C\uAE30 3",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 3",selectedText:void 0,correct:void 0},{sentence:"\uAE34 \uC774\uC57C\uAE30 4",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",correct:!0}]}:y==="order"&&(f={score:1,contextsLength:2,results:[{sentence:"\uC21C\uC11C \uBB38\uC81C 1",answer:"1,2,3",selectedText:"1,2,3",correct:!0},{sentence:"\uC21C\uC11C \uBB38\uC81C 2",answer:"A,B,C",selectedText:"B,A,C",correct:!1}]}),l(f),o(y)},u=i.useCallback(()=>{o(null),l(null)},[]),d=i.useCallback(()=>c("noise"),[]),p=i.useCallback(()=>c("short"),[]),h=i.useCallback(()=>c("long"),[]),m=i.useCallback(()=>c("order"),[]);return e?t.jsxs("div",{className:"debug-result-launcher",children:[t.jsxs("div",{className:"debug-buttons",children:[t.jsx("button",{type:"button",className:"debug-button",onClick:d,children:a("debug.showResult",{type:"Noise",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:p,children:a("debug.showResult",{type:"ShortStory",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:h,children:a("debug.showResult",{type:"LongStory",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})}),t.jsx("button",{type:"button",className:"debug-button",onClick:m,children:a("debug.showResult",{type:"Order",defaultValue:"{{type}} \uACB0\uACFC\uBCF4\uAE30"})})]}),r&&s?n?.({score:s.score,contextsLength:s.contextsLength,results:s.results,onReplay:u,onClose:u}):null]}):null}exports.Accordion=q0,exports.ActionCard=k0,exports.Alert=mg,exports.AppHeader=J0,exports.AudioMeter=xr,exports.AudioPlayer=Hr,exports.Avatar=xg,exports.Badge=ot,exports.BarChart=r4,exports.BarChartControls=Fi,exports.Board=Lg,exports.BottomNav=si,exports.BrandIdentity=ui,exports.Breadcrumb=kg,exports.BulkBar=Ug,exports.Button=oe,exports.CORE_VERSION=y0,exports.Calendar=v4,exports.CardStep=Kl,exports.ChartLegend=gr,exports.ChartSection=br,exports.ChartTotal=ka,exports.Checkbox=$i,exports.ChoiceChips=vb,exports.CircleBadge=ug,exports.CodeBox=qg,exports.ColorPicker=Sg,exports.CompanyMeta=Og,exports.ConfirmPopup=B5,exports.ConfirmStep=ql,exports.ConfirmWithTextStep=Ul,exports.ContrastFilterPanel=A5,exports.CoreScope=A0,exports.CountTile=Tg,exports.CouponInputPopup=D5,exports.DEFAULT_NOISE_SETTINGS=ca,exports.DatePicker=Yg,exports.DebugResultLauncher=ay,exports.DescriptionTooltip=kn,exports.DeviceSideTable=g4,exports.Dialog=Mg,exports.Divider=dg,exports.Dropdown=Wt,exports.EffectPartyPopper=ec,exports.EffectPartyPopperHost=L5,exports.EmptyState=_0,exports.ErrorState=w0,exports.FILTER_ALL_VALUE=Zt,exports.FileUpload=wg,exports.FilterPanel=ln,exports.FilterSectionInfo=aa,exports.Footer=xb,exports.Header=di,exports.Icon=Ie,exports.IconGridMenu=yb,exports.IconRenderer=Ie,exports.InfoTooltip=hn,exports.LEVEL_MAX=On,exports.LandingBottomSticky=wb,exports.LandingHeader=_b,exports.ListPopup=N5,exports.ListenStep=Wl,exports.Loader=sa,exports.MARKS=Xi,exports.MARK_ICON=Qi,exports.MARK_VARIANT=el,exports.MediaQueryOverrideContext=Ys,exports.MenuTooltip=_a,exports.NOISE_RATIO_MAX=Da,exports.NOISE_RATIO_STEP=_l,exports.NoisePlayerContext=Pr,exports.NoiseSettingsTooltip=Il,exports.NoticeBox=N0,exports.OrderListStep=Gl,exports.PASS_CARD_BG_VARS=Nn,exports.POS_LABEL=al,exports.PROMO_BANNER_BG_COMPONENTS=Ks,exports.PROMO_BANNER_BG_OPTIONS=B0,exports.PROMO_BANNER_BG_VARS=Qn,exports.Page=Ma,exports.PageTitle=$5,exports.Pagination=wa,exports.Panel=Ea,exports.PanelGrid=Yb,exports.PanelRow=Cn,exports.PanelRowDevice=Zb,exports.PassCard=wi,exports.PassCardBg=sg,exports.PassCardBgIHAB=ig,exports.PassCardBgLeftColorGrid=lg,exports.PassCardBgTwoCircle=yi,exports.PaymentPlan=og,exports.PersonCard=$g,exports.PhonemeFilterPanel=k5,exports.PhonemeSelectBlock=_5,exports.Popup=fn,exports.ProgressBar=d4,exports.ProgressIndicator=Ui,exports.PromoBanner=V0,exports.PromoBannerBgDark=Ms,exports.PromoBannerBgDeep=Bs,exports.PromoBannerBgDiagonal=Ps,exports.PromoBannerBgDots=Fs,exports.PromoBannerBgInstagram=Gs,exports.PromoBannerBgMain=xs,exports.PromoBannerBgNaver=qs,exports.PromoBannerBgOutline=Hs,exports.PromoBannerBgRadial=$s,exports.PromoBannerBgSoft=ws,exports.PromoBannerBgSoftSub=Ss,exports.PromoBannerBgSub=As,exports.PromoBannerBgSuccess=zs,exports.PromoBannerBgWarm=js,exports.PublicationCard=Pg,exports.Radio=Bi,exports.RadioGroup=pg,exports.Rating=Ng,exports.ReportDocument=H5,exports.ReportInfoPanel=V5,exports.RingChart=s4,exports.SENTENCE_TRAINING_TYPES=Mr,exports.SearchSummary=gg,exports.Section=Rn,exports.SectionHeader=Fg,exports.SegmentedControl=Dn,exports.ShortcutBadge=Ni,exports.SideNav=ci,exports.Slider=zi,exports.SoundCompass=cg,exports.SplashLogo=Ig,exports.StatChart=i4,exports.SummaryStrip=F5,exports.TRAINING_TOOLTIP_HOVER_DELAY_MS=S5,exports.Table=wr,exports.TableFilterPanel=Sr,exports.Tabs=bg,exports.TextBoxTooltip=ja,exports.TextField=Bn,exports.Timeline=Rg,exports.Toast=$n,exports.Toggle=Li,exports.Toolbar=fr,exports.Tooltip=pn,exports.TooltipInfo=hn,exports.TooltipTextBox=ja,exports.TopBanner=z0,exports.TrainingBlock=A4,exports.TrainingBlockButton=kr,exports.TrainingCard=W5,exports.TrainingCardGroup=q5,exports.TrainingPagePopup=gn,exports.TrainingPagePopupBottom=Fl,exports.TrainingPagePopupTitle=Ol,exports.TrainingResultPopup=Yl,exports.TrainingStep=Sn,exports.TrainingStepAudioPlayer=Hr,exports.TrainingStepBullet=jl,exports.TrainingStepCard=Ll,exports.TrainingStepConfirm=zr,exports.TrainingStepConfirmWithText=Wr,exports.TrainingStepListen=qr,exports.TrainingStepOrderList=Ur,exports.TrainingStepTextBox=Ml,exports.TrainingStepTitle=El,exports.TrainingTooltip=j5,exports.TrainingWordCard=Nr,exports.UpdateAlert=z5,exports.WAVE_A_MAX=Eb,exports.WAVE_H1_PX=Dl,exports.WAVE_HMAX_PX=jb,exports.WORD_TABLE_PAPER=In,exports.WORD_TYPE_LABEL=rl,exports.WordDataProvider=I5,exports.WordDataUpdatePopup=ny,exports.WordImageTooltip=Jl,exports.WordSearchFilterPanel=w5,exports.WordSearchResultBlock=v5,exports.WordTable=Fn,exports.WordTableBlock=Z5,exports.WordTableButton=Y5,exports.WordTablePopup=U4,exports.WordTableThumbnail=nc,exports.buildMonthChartData=Jg,exports.cellLabel=X4,exports.cellsForLabels=db,exports.clearPassCardBgTheme=on,exports.clearPromoBannerBgTheme=yt,exports.closeTrainingPopup=t5,exports.companyTypeLabel=R5,exports.createTrainingScenario=r5,exports.cx=_e,exports.deriveNoiseContexts=u5,exports.derivePassCard=Ci,exports.draftValues=gb,exports.effectiveNoiseVolume=$r,exports.effectiveSpeechVolume=Al,exports.expandSlashLabel=Dr,exports.formatDuration=pb,exports.getControlDateRange=o4,exports.getPayloadTimestamp=Zr,exports.getPromoBannerBgTheme=sr,exports.getSelectedFromPayload=s5,exports.getSelectedText=i5,exports.getStepPayload=Vl,exports.getSteppedPayload=l5,exports.injectPassCardBgTheme=rn,exports.injectPromoBannerBgTheme=bt,exports.isSelectionCorrect=c5,exports.labelsForSave=Y4,exports.levelToPct=kb,exports.markAfterClick=Ji,exports.marksForSave=Br,exports.mergeNoiseSettings=la,exports.missesByType=ib,exports.nextFocus=rb,exports.nextMisses=sb,exports.noiseElementVolume=Rr,exports.noiseRatioOf=ia,exports.pageStartIndexes=tl,exports.passCardBgIhabTheme=ki,exports.passCardBgLeftColorGridTheme=Ai,exports.passCardBgTwoCircleTheme=bi,exports.pctToLevel=Ab,exports.printWordTable=E4,exports.promoBannerBgDarkTheme=Es,exports.promoBannerBgDeepTheme=Ns,exports.promoBannerBgDiagonalTheme=Rs,exports.promoBannerBgDotsTheme=Is,exports.promoBannerBgInstagramTheme=Us,exports.promoBannerBgMainTheme=vs,exports.promoBannerBgNaverTheme=Ws,exports.promoBannerBgOutlineTheme=Os,exports.promoBannerBgRadialTheme=Ls,exports.promoBannerBgSoftSubTheme=Ds,exports.promoBannerBgSoftTheme=_s,exports.promoBannerBgSubTheme=ks,exports.promoBannerBgSuccessTheme=Vs,exports.promoBannerBgWarmTheme=Ts,exports.recommendTables=cb,exports.regenerateUnpinned=Cb,exports.removeItem=fb,exports.resolveTrainingItems=a5,exports.resolveTrainingPopupMeta=Hl,exports.reviewCells=K4,exports.reviewSetPlan=lb,exports.reviewTableName=Z4,exports.scoreKey=Na,exports.scoreSheetHeader=J4,exports.shouldConfirmDiscard=j4,exports.splitTrainingVariants=n5,exports.summarize=T4,exports.summarizeMisses=ob,exports.tableTrends=ab,exports.toDraft=hb,exports.toTrainingText=o5,exports.togglePin=mb,exports.uncoveredLabels=ub,exports.useAnchoredMenu=ea,exports.useBarChartControl=Ii,exports.useCalendarMonth=Ri,exports.useComboboxSuggestions=Ei,exports.useFitScale=sl,exports.useNoisePlayer=Sa,exports.useSoundCompassExam=H0,exports.useToastLifecycle=qi,exports.useWordData=P5,exports.useWordTableDisplaySettings=vl,exports.useWordTablePrint=Er,exports.waveBarPx=ua,exports.waveBarVal=Fr,exports.weakItems=nb;