@ihabdevteam/core 0.383.0 → 0.384.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/dist/components.cjs.js +13 -13
- package/dist/components.esm.css +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +19 -19
- package/dist/ihabdevteam-core.d.ts +18 -2
- package/dist/packages/core/src/components/Table.css +27 -1
- package/dist/packages/core/src/components/Table.js +44 -21
- package/dist/packages/core/src/components/Word/WordTableBlock.js +4 -0
- package/dist/packages/core/src/components/WordTable.d.ts +17 -1
- package/dist/packages/core/src/components/WordTable.js +24 -10
- package/dist/packages/core/src/components/tableFitWidths.d.ts +46 -0
- package/dist/packages/core/src/components/tableFitWidths.js +55 -0
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
|
@@ -1787,7 +1787,7 @@ export declare function copyText(text: string): Promise<boolean>;
|
|
|
1787
1787
|
*
|
|
1788
1788
|
* 값은 손으로 적고 `test/coreVersion.test.ts` 가 package.json 과 어긋나면 운다.
|
|
1789
1789
|
*/
|
|
1790
|
-
export declare const CORE_VERSION = "0.
|
|
1790
|
+
export declare const CORE_VERSION = "0.384.0";
|
|
1791
1791
|
|
|
1792
1792
|
/** @public */
|
|
1793
1793
|
declare const coreDefault: Record<string, unknown>;
|
|
@@ -11530,7 +11530,7 @@ export declare interface WordSearchResultWord {
|
|
|
11530
11530
|
* 표시(items)·편집(editCells) 두 모드를 지원한다.
|
|
11531
11531
|
* @public
|
|
11532
11532
|
*/
|
|
11533
|
-
export declare function WordTable({ title, titleIcon, disc, className, orientation, contentTypes, baseItem, baseContentTypes, cutLine, showOutline, showDivLine, items, editCells, count, activeCell, onActivateCell, onRemoveCell, onRemoveItem, onReorder, renderCellAction, showFillerAdd, addableCount, contentRef, buttonSize, brand, code, pageNumber, pageNumberPosition, fitHeight, scoring, marks, onMarkClick, scoreIndexOffset, }: WordTableProps): JSX.Element;
|
|
11533
|
+
export declare function WordTable({ title, titleIcon, disc, className, orientation, contentTypes, baseItem, baseContentTypes, cutLine, showOutline, showDivLine, items, editCells, count, activeCell, onActivateCell, onRemoveCell, onRemoveItem, onReorder, indexOffset, totalCount, renderCellAction, showFillerAdd, addableCount, contentRef, buttonSize, brand, code, pageNumber, pageNumberPosition, fitHeight, scoring, marks, onMarkClick, scoreIndexOffset, }: WordTableProps): JSX.Element;
|
|
11534
11534
|
|
|
11535
11535
|
export declare function WordTableBlock({ title, titleIcon, disc, filterTitle, filterCollapsible, filterDefaultCollapsed, filterCollapsed, onFilterCollapsedChange, filterHeaderSummary, brand, code, baseItem, baseContentTypes, cellCapacity, maxItemsPerPage, items, onSaveComplete, onLoad, onRemoveItem, onReset, resetLabel, saveButtonLabel, secondarySaveButtonLabel, onReorder, showCellCount, onAddItem, className, renderSavePopup, renderWordSearch, hideControls, saveOnly, tableName, nameValue, onNameChange, descriptionValue, onDescriptionChange, namePlaceholder, descriptionPlaceholder, existingNames, editingName, onCancel, initialItemsPerPage, renderCellAction, actionsLeftExtra }: WordTableBlockProps): JSX.Element;
|
|
11536
11536
|
|
|
@@ -11959,6 +11959,22 @@ export declare interface WordTableProps {
|
|
|
11959
11959
|
* 키보드로 옮기면 초점이 그 칸을 따라가고 바뀐 자리를 `role="status"` 로 알린다.
|
|
11960
11960
|
*/
|
|
11961
11961
|
onReorder?: (fromIndex: number, toIndex: number) => void;
|
|
11962
|
+
/**
|
|
11963
|
+
* 이 표의 첫 칸이 **전체 목록에서 몇 번째**인가 — 쪽으로 나뉜 표에서 `WordTableBlock` 이 준다
|
|
11964
|
+
* (말귀 청 (338), 2026-10-28).
|
|
11965
|
+
*
|
|
11966
|
+
* 쪽마다 `WordTable` 이 따로 서면 `index` 는 **쪽 안의 번호**다. 그래서 `Alt`+`→` 가 쪽의
|
|
11967
|
+
* 마지막 칸에서, `Alt`+`←` 가 쪽의 첫 칸에서 **돌아섰다** — 활용표는 스무 칸이 두 쪽이라
|
|
11968
|
+
* 쪽 경계가 늘 가운데에 있고, 거기 선 칸은 영영 못 옮겼다(말귀 실측: 눌러도 아무 칸도
|
|
11969
|
+
* 안 움직인다).
|
|
11970
|
+
*
|
|
11971
|
+
* `onReorder` 로 올라가는 번호는 **그대로 쪽 안의 번호**다(쪽을 넘을 때는 `-1` 이나
|
|
11972
|
+
* `count` 가 된다) — 부르는 쪽이 이미 `+ 쪽번호 × 쪽당` 을 얹으므로 그 합이 곧 전체
|
|
11973
|
+
* 번호가 된다. 부르는 쪽은 고칠 것이 없다.
|
|
11974
|
+
*/
|
|
11975
|
+
indexOffset?: number;
|
|
11976
|
+
/** 전체 칸 수 — 쪽으로 나뉜 표에서 양 끝을 전체 기준으로 가른다(`indexOffset` 과 한 짝) */
|
|
11977
|
+
totalCount?: number;
|
|
11962
11978
|
/** 표시 모드에서 `count` 안의 빈칸(항목 수 뒤 ~ count)에 '추가' 버튼 노출. count 가 항목 수와 같으면 그런 칸이 없다. `onActivateCell` 필요. */
|
|
11963
11979
|
showFillerAdd?: boolean;
|
|
11964
11980
|
/**
|
|
@@ -79,7 +79,9 @@
|
|
|
79
79
|
/* 필드 라벨 행 — 정렬 클릭 가능한 컬럼 헤더. 높이는 size 스케일을 따름 */
|
|
80
80
|
/* 되돌리기 단추를 얹을 겉. **`.table-fields` 안에 넣으면 안 된다** — 그 자식은
|
|
81
81
|
곧 열이라 칸이 하나 늘어 몸통 줄과 어긋난다. 겉에서 자리를 안 차지하게 얹는다. */
|
|
82
|
-
.table-fields-strip { position: relative; }
|
|
82
|
+
.table-fields-strip { position: relative; display: flex; align-items: stretch; }
|
|
83
|
+
/* 격자는 **줄어들지 않는다** — `min-width: 0` 을 주면 열 폭 합보다 좁아져 넘침이 사라진다 */
|
|
84
|
+
.table-fields-strip > .table-fields { flex: 1 0 auto; }
|
|
83
85
|
|
|
84
86
|
/* 단추가 설 자리를 비운다. **머리와 몸통에 똑같이** 줘야 한다 — 한쪽만 주면
|
|
85
87
|
그쪽 격자만 좁아져 열이 어긋난다.
|
|
@@ -92,14 +94,38 @@
|
|
|
92
94
|
.table-wrap--resizable .table-fields,
|
|
93
95
|
.table-wrap--resizable .table-row { padding-right: var(--table-reset-gutter, 40px); }
|
|
94
96
|
|
|
97
|
+
/* **단추 받침 — 보이는 오른쪽 끝에 붙박인다**(말귀 청 (216), 2026-10-28).
|
|
98
|
+
|
|
99
|
+
단추가 띠의 `right: 0` 에 그냥 얹혀 있던 때는, 열이 넘쳐 안쪽 상자가 열 폭만큼
|
|
100
|
+
넓어지면 그 자리가 **스크롤 끝**이었다 — 오른쪽 끝까지 밀어야 단추가 나왔고,
|
|
101
|
+
칸이 넘치는 그때가 바로 누르고 싶은 때였다(말귀 실측: 단추는 `visible`,
|
|
102
|
+
스크롤러는 `.table-wrap` 의 `overflow-x: auto`).
|
|
103
|
+
|
|
104
|
+
`sticky right: 0` 이 스크롤러의 **보이는** 오른쪽 끝에 붙여 둔다. 폭을 0 으로 두어
|
|
105
|
+
열 셈에는 아무것도 더하지 않는다(빈자리는 `--table-reset-gutter` 가 따로 비운다). */
|
|
106
|
+
.table-fields__reset-dock {
|
|
107
|
+
position: sticky;
|
|
108
|
+
right: 0;
|
|
109
|
+
flex: 0 0 0;
|
|
110
|
+
width: 0;
|
|
111
|
+
align-self: center;
|
|
112
|
+
/* 받침은 폭이 0 이라 단추가 밖으로 나와야 보인다 */
|
|
113
|
+
overflow: visible;
|
|
114
|
+
}
|
|
115
|
+
|
|
95
116
|
.table-fields__reset {
|
|
96
117
|
position: absolute;
|
|
97
118
|
/* **빈자리(40px)에 딱 맞춘다** — `right: 2px` 이던 때는 40px 단추가 42px 을 차지해 마지막
|
|
98
119
|
머리의 안쪽 여백을 2px 물고 있었다(2026-10-26 실측: 단추 1482~1522, 마지막 머리 끝 1484).
|
|
99
120
|
눈에는 안 띄는 겹침이지만 머리·본문에 비운 자리와 수가 어긋난다. */
|
|
121
|
+
/* 받침의 오른쪽 끝에서 왼쪽으로 — 받침이 폭 0 이므로 단추 전체가 왼쪽에 걸린다 */
|
|
100
122
|
right: 0;
|
|
101
123
|
top: 50%;
|
|
102
124
|
transform: translateY(-50%);
|
|
125
|
+
/* 넘쳐서 열 위에 겹쳐 설 때 **글자가 비쳐 읽히지 않게** 바탕을 깐다 —
|
|
126
|
+
붙박이가 된 뒤에 생긴 일이다(전에는 빈자리에만 섰다). */
|
|
127
|
+
background: var(--color-white);
|
|
128
|
+
border-radius: var(--radius-card);
|
|
103
129
|
}
|
|
104
130
|
|
|
105
131
|
.table-fields {
|
|
@@ -13,6 +13,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
13
13
|
import './Table.css';
|
|
14
14
|
import './TableCell.css';
|
|
15
15
|
import { widestPerColumn, spanFromGridStyle } from './tableSpanMeasure';
|
|
16
|
+
import { fitFluidWidths, columnFloors } from './tableFitWidths';
|
|
16
17
|
import './TableField.css';
|
|
17
18
|
import { useState, useRef, useCallback, useEffect, useId, useMemo } from 'react';
|
|
18
19
|
import ChevronUp from 'lucide-react/dist/esm/icons/chevron-up.mjs';
|
|
@@ -542,7 +543,30 @@ export default function Table({ fields: rawFields = [], sort: sortBinding, sorta
|
|
|
542
543
|
return { width: c.getBoundingClientRect().width, span: spanFromGridStyle(cs.gridColumnStart, cs.gridColumnEnd) };
|
|
543
544
|
});
|
|
544
545
|
const columnGap = parseFloat(window.getComputedStyle(el).columnGap) || 0;
|
|
545
|
-
const
|
|
546
|
+
const bodyCells = rows.map(cellsOf);
|
|
547
|
+
const headCells = cellsOf(el);
|
|
548
|
+
const widest = widestPerColumn([headCells, ...bodyCells], fields.length, columnGap);
|
|
549
|
+
/**
|
|
550
|
+
* **머리글자가 드는 폭은 바닥이다**(말귀 청 (217), 2026-10-28,
|
|
551
|
+
* 사장님 *"value 길이만 계산하고 있는건가? tablefield의 이름 길이도 고려할 수 있나?"*).
|
|
552
|
+
*
|
|
553
|
+
* 머리 칸은 **재고 있었다** — 위 `headCells` 가 그것이다. **잰 뒤 줄일 때 잊었다.**
|
|
554
|
+
* 비율로 줄이는 자리의 바닥이 `declaredMinWidth` 뿐이라, 그 칸에 `minmax(…px,…)` 가
|
|
555
|
+
* 없으면 `MIN_COL_W`(48px) 한 값으로 떨어졌다. 그래서 `성별` 이 `성ᅧ` 로 잘렸다
|
|
556
|
+
* (말귀 실측: 단추 칸 머리는 118px 이 드는데 70px 로 줄었다).
|
|
557
|
+
*
|
|
558
|
+
* **화살표 자리를 정렬 가능한 칸 모두에 얹는다.** 화살표는 *지금 고른* 칸에만 서므로
|
|
559
|
+
* (실측: 고른 칸 16px, 나머지 0), 지금 폭만 보고 바닥을 잡으면 **다른 칸을 고르는
|
|
560
|
+
* 순간 그 칸만 잘린다.**
|
|
561
|
+
*/
|
|
562
|
+
const floors = columnFloors(fields.map((f, i) => ({
|
|
563
|
+
declaredMin: minWidthRef.current(i),
|
|
564
|
+
headWidth: headCells[i]?.width ?? 0,
|
|
565
|
+
sortable: f.sortDir !== undefined || !!f.onClick,
|
|
566
|
+
sorted: !!f.sortDir,
|
|
567
|
+
})));
|
|
568
|
+
/** 줄일 때의 바닥 — 선언된 밑값과 머리글자가 드는 폭 가운데 넓은 쪽 */
|
|
569
|
+
const floorOf = (i) => floors[i] ?? minWidthRef.current(i);
|
|
546
570
|
const measured = fields.map((_, i) => {
|
|
547
571
|
const w = widest[i];
|
|
548
572
|
/* 고정 px 열은 정해 둔 값 그대로 — 최소 폭(MIN_COL_W)으로 올린 값을 고정 합에 넣으면 격자에는 원래 값(40px)으로 나가
|
|
@@ -579,25 +603,12 @@ export default function Table({ fields: rawFields = [], sort: sortBinding, sorta
|
|
|
579
603
|
|
|
580
604
|
`fit` 은 이 값이 fr 가중치가 되어 어차피 비율로 채우지만, 저장되는 숫자도
|
|
581
605
|
같은 뜻이 되게 함께 맞춘다. */
|
|
582
|
-
|
|
583
|
-
const
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
finalWidths = measured.map((w, i) => (isFixedPxRef.current(i) ? w : Math.max(minWidthRef.current(i), Math.round(w * ratio))));
|
|
589
|
-
/* 반올림으로 남은 몇 px 은 가장 넓은 유동 열에 얹는다 — 안 그러면 늘 몇 px 이
|
|
590
|
-
비거나 넘친다. 최소 폭에 걸린 열이 있으면 넘칠 수 있는데, 그건 담을 수
|
|
591
|
-
없을 만큼 좁다는 뜻이라 가로 스크롤로 두는 편이 맞다. */
|
|
592
|
-
const diff = Math.round(available - finalWidths.reduce((a, w, i) => a + (isFixedPxRef.current(i) ? 0 : w), 0));
|
|
593
|
-
if (diff !== 0) {
|
|
594
|
-
let widestIndex = -1;
|
|
595
|
-
finalWidths.forEach((w, i) => { if (!isFixedPxRef.current(i) && (widestIndex < 0 || w > finalWidths[widestIndex]))
|
|
596
|
-
widestIndex = i; });
|
|
597
|
-
if (widestIndex >= 0)
|
|
598
|
-
finalWidths[widestIndex] = Math.max(minWidthRef.current(widestIndex), finalWidths[widestIndex] + diff);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
606
|
+
/* 규칙은 `tableFitWidths.ts` 가 든다 — 줄일 때의 **바닥**이 그 머리말의 핵이다(청 (217)). */
|
|
607
|
+
const finalWidths = fitFluidWidths(measured, {
|
|
608
|
+
isFixed: i => isFixedPxRef.current(i),
|
|
609
|
+
floorOf,
|
|
610
|
+
containerWidth,
|
|
611
|
+
});
|
|
601
612
|
/* **쓰지도 저장하지도 않는다 — 잰 값을 돌려줄 뿐이다.** 자동 모드에서는 저장하면
|
|
602
613
|
안 된다(저장소에 값이 있으면 손 모드이므로, 저장하는 순간 자동으로 돌아갈 길이
|
|
603
614
|
사라진다). 쓰는 것은 부르는 쪽이 한다. */
|
|
@@ -878,7 +889,19 @@ export default function Table({ fields: rawFields = [], sort: sortBinding, sorta
|
|
|
878
889
|
손잡이를 두지 않는다 — 두면 그 컬럼만 grow처럼 넓어져 표가 밀린다. */
|
|
879
890
|
onResizeStart: canResize && i < fields.length - 1 && f.resizable !== false
|
|
880
891
|
&& (resizeMode !== 'fit' || fields.some((g, j) => j > i && g.resizable !== false))
|
|
881
|
-
? (e) => startResize(i, e) : undefined, children: f.label }, i))) }), canResize && (
|
|
892
|
+
? (e) => startResize(i, e) : undefined, children: f.label }, i))) }), canResize && (
|
|
893
|
+
/* **보이는 오른쪽 끝에 붙박는다**(말귀 청 (216), 2026-10-28,
|
|
894
|
+
사장님 *"칸 너비 초기화 버튼이 사라지면 안되지"*).
|
|
895
|
+
|
|
896
|
+
전에는 단추가 이 띠의 `right: 0` 에 그냥 얹혀 있었다. 띠는 `.table-wrap`
|
|
897
|
+
(= 가로 스크롤러) 안이고, 열이 넘칠 때는 안쪽 상자가 **열 폭만큼** 넓어지므로
|
|
898
|
+
(`measureOverflow`) 그 `right: 0` 은 **스크롤 끝**이다 — 오른쪽 끝까지 밀어야
|
|
899
|
+
단추가 나왔다. **칸이 넘치는 그때가 바로 누르고 싶은 때**인데 그때 손이 안 닿았다.
|
|
900
|
+
|
|
901
|
+
그래서 자리를 안 차지하는 `sticky` 받침에 담는다. 넘치지 않을 때는 띠 끝의
|
|
902
|
+
빈자리(`--table-reset-gutter`)에 그대로 서고, 넘칠 때는 보이는 오른쪽 끝에
|
|
903
|
+
붙어 선다. 받침이 폭 0 이라 열 셈에는 아무것도 더하지 않는다. */
|
|
904
|
+
_jsx("div", { className: "table-fields__reset-dock", children: _jsx(Button, { htmlType: "button", size: 40, type: "dot", variant: "transparent-gray", useBorder: false, icon: "chevrons-left-right-ellipsis", ariaLabel: t('table.resetColumns', '칸 너비 초기화'), showTooltipInfo: t('table.resetColumns', '칸 너비 초기화'), className: "table-fields__reset", onClick: resetColumns }) }))] }), _jsx("div", { role: "rowgroup", className: "table-body", children: loading ? (_jsx(TableRow, { variant: "loading", colSpan: fields.length || undefined })) : items.length === 0 && empty ? (_jsx(TableRow, { variant: "empty", colSpan: fields.length || undefined, children: empty })) : items.map((item, idx) => {
|
|
882
905
|
const isDragging = draggingId != null && item.id === draggingId;
|
|
883
906
|
const clickable = !!onRowClick && (isRowClickable ? isRowClickable(item) : true);
|
|
884
907
|
/* 글자로 견준다 — URL·폼에서 온 '5' 와 자료의 5 가 같은 줄인데 `===` 로는 안 펴졌다 */
|
|
@@ -386,6 +386,10 @@ export default function WordTableBlock({ title, titleIcon, disc, filterTitle, fi
|
|
|
386
386
|
/* 쪽이 나뉘면 끌어 옮기기가 통째로 꺼졌다(말귀 단어 찾기: 9개부터). 쪽 안의 자리를 전체 자리로 옮겨 넘긴다 —
|
|
387
387
|
쪽을 넘는 이동은 하지 않는다. */
|
|
388
388
|
onReorder: onReorder && ((from, to) => onReorder(from + i * itemsPerPage, to + i * itemsPerPage)),
|
|
389
|
+
/* 쪽 경계에 선 칸도 옮길 수 있게 — 양 끝을 **전체 기준**으로 가르고, 옮긴 칸에
|
|
390
|
+
초점이 옆 쪽까지 따라간다(말귀 청 (338)). 위 `onReorder` 의 셈은 그대로다:
|
|
391
|
+
쪽을 넘을 때 안쪽 표가 주는 `-1`·`쪽당` 에 이 쪽의 몫이 얹혀 전체 번호가 된다. */
|
|
392
|
+
indexOffset: i * itemsPerPage, totalCount: items?.length ?? 0,
|
|
389
393
|
/* 안쪽 표는 제 쪽 안의 번호를 준다 — 부르는 쪽에는 **표 전체 기준**으로 넘긴다
|
|
390
394
|
(위 `onReorder` 와 같은 셈이다. 쪽이 몇으로 나뉘었는지는 부르는 쪽 일이 아니다). */
|
|
391
395
|
renderCellAction: renderCellAction && ((n, item) => renderCellAction(n + i * itemsPerPage, item)),
|
|
@@ -50,6 +50,22 @@ export interface WordTableProps {
|
|
|
50
50
|
* 키보드로 옮기면 초점이 그 칸을 따라가고 바뀐 자리를 `role="status"` 로 알린다.
|
|
51
51
|
*/
|
|
52
52
|
onReorder?: (fromIndex: number, toIndex: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* 이 표의 첫 칸이 **전체 목록에서 몇 번째**인가 — 쪽으로 나뉜 표에서 `WordTableBlock` 이 준다
|
|
55
|
+
* (말귀 청 (338), 2026-10-28).
|
|
56
|
+
*
|
|
57
|
+
* 쪽마다 `WordTable` 이 따로 서면 `index` 는 **쪽 안의 번호**다. 그래서 `Alt`+`→` 가 쪽의
|
|
58
|
+
* 마지막 칸에서, `Alt`+`←` 가 쪽의 첫 칸에서 **돌아섰다** — 활용표는 스무 칸이 두 쪽이라
|
|
59
|
+
* 쪽 경계가 늘 가운데에 있고, 거기 선 칸은 영영 못 옮겼다(말귀 실측: 눌러도 아무 칸도
|
|
60
|
+
* 안 움직인다).
|
|
61
|
+
*
|
|
62
|
+
* `onReorder` 로 올라가는 번호는 **그대로 쪽 안의 번호**다(쪽을 넘을 때는 `-1` 이나
|
|
63
|
+
* `count` 가 된다) — 부르는 쪽이 이미 `+ 쪽번호 × 쪽당` 을 얹으므로 그 합이 곧 전체
|
|
64
|
+
* 번호가 된다. 부르는 쪽은 고칠 것이 없다.
|
|
65
|
+
*/
|
|
66
|
+
indexOffset?: number;
|
|
67
|
+
/** 전체 칸 수 — 쪽으로 나뉜 표에서 양 끝을 전체 기준으로 가른다(`indexOffset` 과 한 짝) */
|
|
68
|
+
totalCount?: number;
|
|
53
69
|
/** 표시 모드에서 `count` 안의 빈칸(항목 수 뒤 ~ count)에 '추가' 버튼 노출. count 가 항목 수와 같으면 그런 칸이 없다. `onActivateCell` 필요. */
|
|
54
70
|
showFillerAdd?: boolean;
|
|
55
71
|
/**
|
|
@@ -211,4 +227,4 @@ export interface WordTableProps {
|
|
|
211
227
|
* 표시(items)·편집(editCells) 두 모드를 지원한다.
|
|
212
228
|
* @public
|
|
213
229
|
*/
|
|
214
|
-
export default function WordTable({ title, titleIcon, disc, className, orientation, contentTypes, baseItem, baseContentTypes, cutLine, showOutline, showDivLine, items, editCells, count, activeCell, onActivateCell, onRemoveCell, onRemoveItem, onReorder, renderCellAction, showFillerAdd, addableCount, contentRef, buttonSize, brand, code, pageNumber, pageNumberPosition, fitHeight, scoring, marks, onMarkClick, scoreIndexOffset, }: WordTableProps): import("react").JSX.Element;
|
|
230
|
+
export default function WordTable({ title, titleIcon, disc, className, orientation, contentTypes, baseItem, baseContentTypes, cutLine, showOutline, showDivLine, items, editCells, count, activeCell, onActivateCell, onRemoveCell, onRemoveItem, onReorder, indexOffset, totalCount, renderCellAction, showFillerAdd, addableCount, contentRef, buttonSize, brand, code, pageNumber, pageNumberPosition, fitHeight, scoring, marks, onMarkClick, scoreIndexOffset, }: WordTableProps): import("react").JSX.Element;
|
|
@@ -277,7 +277,7 @@ function WordCell({ label, subLabel, colloquialLabel, captionLabel, captionBadge
|
|
|
277
277
|
* 표시(items)·편집(editCells) 두 모드를 지원한다.
|
|
278
278
|
* @public
|
|
279
279
|
*/
|
|
280
|
-
export default function WordTable({ title, titleIcon, disc, className, orientation = 'landscape', contentTypes = ['image', 'word', 'standardPron'], baseItem, baseContentTypes, cutLine = 'show', showOutline = true, showDivLine = true, items, editCells, count, activeCell = null, onActivateCell, onRemoveCell, onRemoveItem, onReorder, renderCellAction, showFillerAdd = false, addableCount, contentRef, buttonSize = 40, brand, code, pageNumber, pageNumberPosition = 'right', fitHeight = false, scoring = false, marks, onMarkClick, scoreIndexOffset = 0, }) {
|
|
280
|
+
export default function WordTable({ title, titleIcon, disc, className, orientation = 'landscape', contentTypes = ['image', 'word', 'standardPron'], baseItem, baseContentTypes, cutLine = 'show', showOutline = true, showDivLine = true, items, editCells, count, activeCell = null, onActivateCell, onRemoveCell, onRemoveItem, onReorder, indexOffset = 0, totalCount, renderCellAction, showFillerAdd = false, addableCount, contentRef, buttonSize = 40, brand, code, pageNumber, pageNumberPosition = 'right', fitHeight = false, scoring = false, marks, onMarkClick, scoreIndexOffset = 0, }) {
|
|
281
281
|
const clickMark = useCallback((cellIndex, clicked) => {
|
|
282
282
|
onMarkClick?.(scoreIndexOffset + cellIndex, clicked);
|
|
283
283
|
}, [onMarkClick, scoreIndexOffset]);
|
|
@@ -326,6 +326,8 @@ export default function WordTable({ title, titleIcon, disc, className, orientati
|
|
|
326
326
|
굴러가지도 않아 손가락으로도 못 바꿨다. 표를 만드는 화면의 핵심 조작인데
|
|
327
327
|
마우스 있는 사람만 쓸 수 있었다. 마우스 끌기는 그대로 두고 두 길을 더한다. */
|
|
328
328
|
const wordCount = items?.length ?? 0;
|
|
329
|
+
/* 쪽으로 나뉜 표에서는 **전체** 칸 수로 양 끝을 가른다(청 (338)) — 안 주면 이 표가 전부다 */
|
|
330
|
+
const reorderTotal = totalCount ?? wordCount;
|
|
329
331
|
/** 지금 손가락에 끌려가는 칸 */
|
|
330
332
|
const [dragging, setDragging] = useState(null);
|
|
331
333
|
/** 낭독기에 바뀐 자리를 알리는 글. 처음에는 비워 둔다 — 열자마자 뜬금없이 읽지 않게. */
|
|
@@ -347,12 +349,16 @@ export default function WordTable({ title, titleIcon, disc, className, orientati
|
|
|
347
349
|
contentRef.current = el;
|
|
348
350
|
}, [contentRef]);
|
|
349
351
|
const move = useCallback((from, to) => {
|
|
350
|
-
|
|
352
|
+
/* **초점 갈 곳은 전체 번호로 둔다** — 쪽을 넘는 이동에서는 그 칸이 **옆 쪽의 표**에
|
|
353
|
+
서므로, 이 표 안의 번호로는 찾을 수 없다(청 (338)). */
|
|
354
|
+
focusTarget.current = indexOffset + to;
|
|
351
355
|
onReorder?.(from, to);
|
|
356
|
+
/* 낭독기에 이르는 수도 전체 기준이다 — 쪽 안의 번호를 읽으면 "20칸 가운데 1번째" 가
|
|
357
|
+
두 번 나와 어디로 갔는지 알 수 없다 */
|
|
352
358
|
setMoveAnnounce(t('wordTable.reorder.moved', {
|
|
353
|
-
n: to + 1, total:
|
|
359
|
+
n: indexOffset + to + 1, total: reorderTotal, defaultValue: '{{total}}칸 가운데 {{n}}번째로 옮김',
|
|
354
360
|
}));
|
|
355
|
-
}, [onReorder, t,
|
|
361
|
+
}, [onReorder, t, reorderTotal, indexOffset]);
|
|
356
362
|
/* 옮긴 칸을 초점이 따라간다. 자리를 잃으면 다음 Alt+화살표가 엉뚱한 칸을 민다 —
|
|
357
363
|
아예 문서 처음으로 튀어 어디였는지도 알 수 없다. 의존성 배열 없이 매 렌더 뒤에
|
|
358
364
|
보되 `초점갈곳` 이 비어 있으면 곧바로 돌아온다(거의 언제나 그렇다). */
|
|
@@ -361,8 +367,12 @@ export default function WordTable({ title, titleIcon, disc, className, orientati
|
|
|
361
367
|
if (to == null)
|
|
362
368
|
return;
|
|
363
369
|
focusTarget.current = null;
|
|
364
|
-
|
|
365
|
-
|
|
370
|
+
/* **쪽을 넘어 찾는다**(청 (338)). 쪽으로 나뉜 표는 쪽마다 `WordTable` 이 따로 서므로,
|
|
371
|
+
옆 쪽으로 옮긴 칸은 **이 표 안에 없다.** 쪽들을 담은 상자까지 올라가 전체 번호로 찾는다
|
|
372
|
+
— 그 상자가 없으면(쪽이 안 나뉜 표) 이 표 안에서만 찾는다. 상자까지 올라가는 것이
|
|
373
|
+
`document` 전체를 뒤지는 것보다 좁다: 한 화면에 표가 둘이면 번호가 겹친다. */
|
|
374
|
+
const scope = gridRef.current?.closest('.word-table-block__pages') ?? gridRef.current;
|
|
375
|
+
scope?.querySelector(`[data-wordtable-index="${to}"] .word-table__card-handle button`)?.focus();
|
|
366
376
|
});
|
|
367
377
|
/* 떠날 때 걸어 둔 것을 푼다 — 길게 누르는 중에 팝업이 닫히면 window 리스너와
|
|
368
378
|
타이머가 남아 사라진 화면의 상태를 건드린다(표의 폭 조절에서 겪은 것과 같다). */
|
|
@@ -383,10 +393,14 @@ export default function WordTable({ title, titleIcon, disc, className, orientati
|
|
|
383
393
|
return;
|
|
384
394
|
e.preventDefault();
|
|
385
395
|
const to = index + (forward ? 1 : -1);
|
|
386
|
-
|
|
387
|
-
|
|
396
|
+
/* **전체 기준으로 가른다**(청 (338)). 쪽 안의 번호로 가르면 쪽의 첫 칸(`to = -1`)과
|
|
397
|
+
마지막 칸(`to = 쪽당`)에서 돌아서, 쪽 경계에 선 칸을 영영 못 옮긴다. 넘기는 번호는
|
|
398
|
+
그대로 쪽 안의 것이라(`-1`·`count`) 부르는 쪽이 얹는 쪽 몫과 합쳐 전체 번호가 된다. */
|
|
399
|
+
const globalTo = indexOffset + to;
|
|
400
|
+
if (globalTo < 0 || globalTo >= reorderTotal)
|
|
401
|
+
return; // 전체의 양 끝 — 아무 일도 하지 않는다
|
|
388
402
|
move(index, to);
|
|
389
|
-
}, [onReorder,
|
|
403
|
+
}, [onReorder, reorderTotal, indexOffset, move]);
|
|
390
404
|
/**
|
|
391
405
|
* **손가락으로 옮긴다** — 길게 누르면(400ms) 끌기가 시작되고 손가락 밑의 칸으로 떨어진다.
|
|
392
406
|
*
|
|
@@ -616,7 +630,7 @@ export default function WordTable({ title, titleIcon, disc, className, orientati
|
|
|
616
630
|
gridRow: `1 / span ${half.rows}`,
|
|
617
631
|
/* 머리 칸과 나머지 절반을 가르는 점선 — 가로면 오른쪽, 세로면 아래쪽 */
|
|
618
632
|
...dotDashStyle(0, orientation === 'landscape' ? 2 : 1, orientation === 'landscape' ? 1 : 2, cutLine),
|
|
619
|
-
}, children: (baseItem.words ?? []).map((w, wi) => (_jsxs(Fragment, { children: [wi > 0 && _jsx("div", { className: withLegacy("word-table__pair-divider") }), _jsx(WordCell, { outerScale: scale, label: w.label, subLabel: w.subLabel, colloquialLabel: w.colloquialLabel, captionLabel: w.captionLabel, captionBadge: w.captionBadge, homonum: w.homonum, showWord: baseShow.word, showImage: baseShow.image, showPronunciation: baseShow.pron, showColloquial: baseShow.colloq, showCaption: baseShow.caption, buttonSize: buttonSize, wordInfo: (w.grade || w.syllables != null || w.pos || w.wordType) ? { grade: w.grade, syllables: w.syllables, pos: w.pos, wordType: w.wordType } : undefined })] }, wi))) })), (items ?? []).map((item, index) => (_jsxs("div", { "data-wordtable-cell": onReorder ? index : undefined, className: withLegacy(`word-table__card${onReorder ? ' word-table__card--draggable' : ''}${dragOver === index ? ' word-table__card--drag-over' : ''}${dragging === index ? ' word-table__card--dragging' : ''}`), style: dotDashStyle(index, itemCols, itemRows, cutLine), draggable: !!onReorder, onPointerDown: onReorder ? (e) => longPressDrag(e, index) : undefined, onKeyDown: onReorder ? (e) => moveByKey(e, index) : undefined, onDragStart: onReorder ? () => { dragIndex.current = index; } : undefined, onDragOver: onReorder ? (e) => { e.preventDefault(); setDragOver(index); } : undefined, onDragLeave: onReorder ? () => setDragOver(null) : undefined, onDrop: onReorder ? (e) => { e.preventDefault(); if (dragIndex.current !== null && dragIndex.current !== index) {
|
|
633
|
+
}, children: (baseItem.words ?? []).map((w, wi) => (_jsxs(Fragment, { children: [wi > 0 && _jsx("div", { className: withLegacy("word-table__pair-divider") }), _jsx(WordCell, { outerScale: scale, label: w.label, subLabel: w.subLabel, colloquialLabel: w.colloquialLabel, captionLabel: w.captionLabel, captionBadge: w.captionBadge, homonum: w.homonum, showWord: baseShow.word, showImage: baseShow.image, showPronunciation: baseShow.pron, showColloquial: baseShow.colloq, showCaption: baseShow.caption, buttonSize: buttonSize, wordInfo: (w.grade || w.syllables != null || w.pos || w.wordType) ? { grade: w.grade, syllables: w.syllables, pos: w.pos, wordType: w.wordType } : undefined })] }, wi))) })), (items ?? []).map((item, index) => (_jsxs("div", { "data-wordtable-cell": onReorder ? index : undefined, "data-wordtable-index": onReorder ? indexOffset + index : undefined, className: withLegacy(`word-table__card${onReorder ? ' word-table__card--draggable' : ''}${dragOver === index ? ' word-table__card--drag-over' : ''}${dragging === index ? ' word-table__card--dragging' : ''}`), style: dotDashStyle(index, itemCols, itemRows, cutLine), draggable: !!onReorder, onPointerDown: onReorder ? (e) => longPressDrag(e, index) : undefined, onKeyDown: onReorder ? (e) => moveByKey(e, index) : undefined, onDragStart: onReorder ? () => { dragIndex.current = index; } : undefined, onDragOver: onReorder ? (e) => { e.preventDefault(); setDragOver(index); } : undefined, onDragLeave: onReorder ? () => setDragOver(null) : undefined, onDrop: onReorder ? (e) => { e.preventDefault(); if (dragIndex.current !== null && dragIndex.current !== index) {
|
|
620
634
|
onReorder(dragIndex.current, index);
|
|
621
635
|
} ; dragIndex.current = null; setDragOver(null); } : undefined, onDragEnd: onReorder ? () => { dragIndex.current = null; setDragOver(null); } : undefined, children: [(item.words ?? []).map((w, i) => (_jsxs(Fragment, { children: [i > 0 && _jsx("div", { className: withLegacy("word-table__pair-divider") }), _jsx(WordCell, { outerScale: scale, label: w.label, subLabel: w.subLabel, colloquialLabel: w.colloquialLabel, captionLabel: w.captionLabel, captionBadge: w.captionBadge, homonum: w.homonum, showWord: show.word, showImage: show.image, showPronunciation: show.pron, showColloquial: show.colloq, showCaption: show.caption, buttonSize: buttonSize, wordInfo: (w.grade || w.syllables != null || w.pos || w.wordType) ? { grade: w.grade, syllables: w.syllables, pos: w.pos, wordType: w.wordType } : undefined })] }, i))), scoring && renderScore(index, (item.words ?? []).map(w => w.label).join(' / ')), (renderCellAction || onRemoveItem || onReorder) && (
|
|
622
636
|
/* **오른쪽 기둥** — 빼기 → 부르는 쪽이 얹은 것 → 옮기기 손잡이 차례로 쌓인다
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **잰 열 폭을 그릇에 맞춘다** — 남는 자리는 비율대로 나누고, 좁으면 비율대로 줄인다.
|
|
3
|
+
*
|
|
4
|
+
* 잰 값을 그대로 쓰면 칸이 제 글자만큼만 차지해 표 오른쪽에 빈 자리가 남는다(다 왼쪽에
|
|
5
|
+
* 붙어 보인다). 그래서 고정 px 열을 뺀 나머지를 **잰 크기의 비율대로** 늘리거나 줄여 그릇을
|
|
6
|
+
* 꽉 채운다 — 좁으면 줄고 넓으면 는다. 한 식으로 둘 다 된다.
|
|
7
|
+
*
|
|
8
|
+
* **줄일 때의 바닥이 이 함수의 핵이다**(말귀 청 (217), 2026-10-28). 바닥이 선언된 밑값
|
|
9
|
+
* 하나뿐이던 때는, 그 칸에 `minmax(…px,…)` 가 없으면 `MIN_COL_W`(48px) 한 값으로 떨어져
|
|
10
|
+
* **머리글자가 잘렸다** — 사장님이 화면에서 `성별` 이 `성ᅧ` 로 잘린 것을 짚으셨다(말귀 실측:
|
|
11
|
+
* 단추 칸 머리는 118px 이 드는데 70px 로 줄었다). 머리 폭은 이미 재고 있었고 **줄일 때만
|
|
12
|
+
* 잊었다.** 그래서 바닥을 부르는 쪽이 넘긴다 — 선언된 밑값과 머리글자가 드는 폭 가운데
|
|
13
|
+
* 넓은 쪽이다.
|
|
14
|
+
*
|
|
15
|
+
* 바닥에 걸린 열이 있으면 합이 그릇을 넘을 수 있다. 그것은 **담을 수 없을 만큼 좁다는 뜻**
|
|
16
|
+
* 이라 가로 스크롤로 두는 편이 맞다 — 잘려 안 보이는 것보다 밀어서 보는 편이 낫다.
|
|
17
|
+
*/
|
|
18
|
+
export interface FitWidthsOptions {
|
|
19
|
+
/** 이 열이 고정 px 인가 — 고정 열은 비율에 안 든다(정해 둔 크기를 잃지 않게) */
|
|
20
|
+
isFixed: (index: number) => boolean;
|
|
21
|
+
/** 이 열이 줄어들 수 있는 바닥 */
|
|
22
|
+
floorOf: (index: number) => number;
|
|
23
|
+
/** 열들이 채울 그릇의 안쪽 폭 */
|
|
24
|
+
containerWidth: number;
|
|
25
|
+
}
|
|
26
|
+
export declare function fitFluidWidths(measured: readonly number[], opts: FitWidthsOptions): number[];
|
|
27
|
+
/** 정렬 화살표가 드는 폭 — `SortArrow` 의 `size={16}` 과 같아야 한다(어긋나면 머리가 잘린다) */
|
|
28
|
+
export declare const SORT_ARROW_W = 16;
|
|
29
|
+
export interface ColumnFloorInput {
|
|
30
|
+
/** 선언된 밑값 — `minmax(…px,…)` 의 밑값, 없으면 `MIN_COL_W` */
|
|
31
|
+
declaredMin: number;
|
|
32
|
+
/** 그 칸 **머리글자**가 드는 폭(`max-content` 로 재 둔 값) */
|
|
33
|
+
headWidth: number;
|
|
34
|
+
/** 이 칸을 눌러 정렬할 수 있나 */
|
|
35
|
+
sortable: boolean;
|
|
36
|
+
/** 지금 이 칸으로 정렬돼 있나 — 그때만 화살표가 서 있다 */
|
|
37
|
+
sorted: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* **열이 줄어들 수 있는 바닥** — 선언된 밑값과 머리글자가 드는 폭 가운데 넓은 쪽(청 (217)).
|
|
41
|
+
*
|
|
42
|
+
* **화살표 자리를 정렬 가능한 칸 모두에 얹는다.** 화살표는 *지금 고른* 칸에만 서므로
|
|
43
|
+
* (말귀 실측: 고른 칸 16px, 나머지 0), 지금 폭만 보고 바닥을 잡으면 **다른 칸을 고르는
|
|
44
|
+
* 순간 그 칸만 잘린다.** 이미 선 칸에는 그 16px 이 `headWidth` 에 들어 있으니 또 얹지 않는다.
|
|
45
|
+
*/
|
|
46
|
+
export declare function columnFloors(cols: readonly ColumnFloorInput[], arrowWidth?: number): number[];
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **잰 열 폭을 그릇에 맞춘다** — 남는 자리는 비율대로 나누고, 좁으면 비율대로 줄인다.
|
|
3
|
+
*
|
|
4
|
+
* 잰 값을 그대로 쓰면 칸이 제 글자만큼만 차지해 표 오른쪽에 빈 자리가 남는다(다 왼쪽에
|
|
5
|
+
* 붙어 보인다). 그래서 고정 px 열을 뺀 나머지를 **잰 크기의 비율대로** 늘리거나 줄여 그릇을
|
|
6
|
+
* 꽉 채운다 — 좁으면 줄고 넓으면 는다. 한 식으로 둘 다 된다.
|
|
7
|
+
*
|
|
8
|
+
* **줄일 때의 바닥이 이 함수의 핵이다**(말귀 청 (217), 2026-10-28). 바닥이 선언된 밑값
|
|
9
|
+
* 하나뿐이던 때는, 그 칸에 `minmax(…px,…)` 가 없으면 `MIN_COL_W`(48px) 한 값으로 떨어져
|
|
10
|
+
* **머리글자가 잘렸다** — 사장님이 화면에서 `성별` 이 `성ᅧ` 로 잘린 것을 짚으셨다(말귀 실측:
|
|
11
|
+
* 단추 칸 머리는 118px 이 드는데 70px 로 줄었다). 머리 폭은 이미 재고 있었고 **줄일 때만
|
|
12
|
+
* 잊었다.** 그래서 바닥을 부르는 쪽이 넘긴다 — 선언된 밑값과 머리글자가 드는 폭 가운데
|
|
13
|
+
* 넓은 쪽이다.
|
|
14
|
+
*
|
|
15
|
+
* 바닥에 걸린 열이 있으면 합이 그릇을 넘을 수 있다. 그것은 **담을 수 없을 만큼 좁다는 뜻**
|
|
16
|
+
* 이라 가로 스크롤로 두는 편이 맞다 — 잘려 안 보이는 것보다 밀어서 보는 편이 낫다.
|
|
17
|
+
*/
|
|
18
|
+
export function fitFluidWidths(measured, opts) {
|
|
19
|
+
const { isFixed, floorOf, containerWidth } = opts;
|
|
20
|
+
const fixedTotal = measured.reduce((a, w, i) => a + (isFixed(i) ? w : 0), 0);
|
|
21
|
+
const fluidTotal = measured.reduce((a, w, i) => a + (isFixed(i) ? 0 : w), 0);
|
|
22
|
+
const available = containerWidth - fixedTotal;
|
|
23
|
+
/* 맞출 수 없는 자리에서는 **잰 값을 그대로 둔다** — 그릇을 아직 모르거나(0), 유동 열이
|
|
24
|
+
없거나, 고정 열만으로 이미 그릇을 넘었을 때다. */
|
|
25
|
+
if (!(containerWidth > 0 && fluidTotal > 0 && available > 0))
|
|
26
|
+
return [...measured];
|
|
27
|
+
const ratio = available / fluidTotal;
|
|
28
|
+
const out = measured.map((w, i) => (isFixed(i) ? w : Math.max(floorOf(i), Math.round(w * ratio))));
|
|
29
|
+
/* 반올림으로 남은 몇 px 은 **가장 넓은 유동 열**에 얹는다 — 안 그러면 늘 몇 px 이 비거나
|
|
30
|
+
넘친다. 바닥에 걸린 열이 있으면 넘칠 수 있는데, 위 머리말에 적은 그 자리다. */
|
|
31
|
+
const diff = Math.round(available - out.reduce((a, w, i) => a + (isFixed(i) ? 0 : w), 0));
|
|
32
|
+
if (diff !== 0) {
|
|
33
|
+
let widestIndex = -1;
|
|
34
|
+
out.forEach((w, i) => { if (!isFixed(i) && (widestIndex < 0 || w > out[widestIndex]))
|
|
35
|
+
widestIndex = i; });
|
|
36
|
+
if (widestIndex >= 0)
|
|
37
|
+
out[widestIndex] = Math.max(floorOf(widestIndex), out[widestIndex] + diff);
|
|
38
|
+
}
|
|
39
|
+
return out;
|
|
40
|
+
}
|
|
41
|
+
/** 정렬 화살표가 드는 폭 — `SortArrow` 의 `size={16}` 과 같아야 한다(어긋나면 머리가 잘린다) */
|
|
42
|
+
export const SORT_ARROW_W = 16;
|
|
43
|
+
/**
|
|
44
|
+
* **열이 줄어들 수 있는 바닥** — 선언된 밑값과 머리글자가 드는 폭 가운데 넓은 쪽(청 (217)).
|
|
45
|
+
*
|
|
46
|
+
* **화살표 자리를 정렬 가능한 칸 모두에 얹는다.** 화살표는 *지금 고른* 칸에만 서므로
|
|
47
|
+
* (말귀 실측: 고른 칸 16px, 나머지 0), 지금 폭만 보고 바닥을 잡으면 **다른 칸을 고르는
|
|
48
|
+
* 순간 그 칸만 잘린다.** 이미 선 칸에는 그 16px 이 `headWidth` 에 들어 있으니 또 얹지 않는다.
|
|
49
|
+
*/
|
|
50
|
+
export function columnFloors(cols, arrowWidth = SORT_ARROW_W) {
|
|
51
|
+
return cols.map(c => {
|
|
52
|
+
const needsArrowRoom = c.sortable && !c.sorted;
|
|
53
|
+
return Math.max(c.declaredMin, Math.ceil(c.headWidth + (needsArrowRoom ? arrowWidth : 0)));
|
|
54
|
+
});
|
|
55
|
+
}
|
package/dist/utils.cjs.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
23
23
|
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},ss={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},ls={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"},us={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},cs={ariaLabel:"\uC120\uD0DD \uD0ED"},ds={ariaLabel:"\uD0ED"},hs={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},gs={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},ps={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},ys={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},ms={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"}},Cs={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},fs={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},ks={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},Ss={viewWords:"\uB0B1\uB9D0"},bs={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},ws={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},_s={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},vs={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},Ts={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},Es={clearSelection:"\uC120\uD0DD \uD574\uC81C"},As={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},Ms={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},Ns={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},Ds={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},Ls={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Bs={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},xs={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},Rs={common:xi,calendar:Ri,passCard:Pi,rating:$i,colorPicker:Oi,dropdown:ji,accordion:Ii,header:Fi,nav:Hi,settings:Gi,usage:Wi,account:zi,training:Vi,customers:Ki,payment:Yi,coupons:qi,visits:Ui,trainingType:Ji,myWordTable:Zi,keyWords:Qi,wordTable:Xi,wordSearch:es,wordPrint:ts,topic:os,device:ns,manager:as,wordPairs:rs,footer:is,date:ss,wordData:ls,textField:us,segmentedControl:cs,tabs:ds,fileUpload:hs,avatar:gs,myHomework:ps,trainingStatus:ys,store:ms,progress:Cs,trainingMiss:fs,table:ks,wordScore:Ss,topBanner:bs,datePicker:ws,report:_s,tooltip:vs,phonemeProfile:Ts,bulkBar:Es,debug:As,badge:Ms,loader:Ns,soundCompass:Ds,breadcrumb:Ls,board:Bs,promoBannerBg:xs},Ps={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount_one:"{{count}} like",likeCount_other:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount_one:"{{count}} download",downloadCount_other:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",loading:"Loading",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},$s={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekLabel:"Week {{ord}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount_one:"{{count}} visit",visitCount_other:"{{count}} visits",statusCount:"{{count}} {{label}}",weekOrdinal:["1","2","3","4","5","6","7"]},Os={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",expired:"Expired",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},js={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},Is={selected:"selected"},Fs={placeholder:"Select"},Hs={collapse:"Collapse",expand:"Expand"},Gs={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},Ws={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel_one:"{{label}}, {{count}} notification inside",badgeInsideLabel_other:"{{label}}, {{count}} notifications inside"},zs={cache:{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"}}}},Vs={couponButton:"Enter Coupon"},Ks={security:{password:{currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."}}},Ys={settings:"Settings",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_one:"{{n}} question",countQuestions_other:"{{n}} questions",countSentences_one:"{{n}} sentence",countSentences_other:"{{n}} sentences",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",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",replaySound:"Replay item {{no}}",replaySoundStop:"Stop item {{no}}",done:"Done",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{synthesizing:"Preparing the sound\u2026",preparing:"Preparing sound\u2026"}},qs={totalCount:" customers",loadError:"Failed to load list",device:{title:"Hearing Devices",addButton:"Add device",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",historyTitle:"Hearing device history"},schedule:{registerTitle:" Register Schedule"},visitHistory:{empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},Us={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Js={input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply"},Zs={showN:"Show {{n}}"},Qs={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."}},Xs={newBadge:"Newly created",publishedBadge:"Published",sharedBadge:"Shared"},el={title:"Key Words",empty:"No key words available."},tl={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",caption:"Form",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount_one:"{{count}} word",itemCount_other:"{{count}} words",deleteAriaLabel:"Delete {{name}}",viewLabel:"View as",sortLabel:"Sort by",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},publisherFilter:"Show only tables by {{name}}",groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved_one:"Saved {{count}} mark for {{name}}.",saved_other:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage_one:"Builds a new table from the {{count}} cell {{name}} got wrong or partial. Correct ones are left out.",reviewMessage_other:"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_one:"Created \u201C{{name}}\u201D \u2014 {{count}} cell.",reviewCreated_other:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage_one:"You marked {{count}} cell but have not saved. Leaving discards it.",discardMessage_other:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"},thumbMore:"+{{count}}"},ol={filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size"},nl={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},al={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"}},rl={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant",other:"Other"}},il={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"}},sl={phonemeSelect:{vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:["Level 1 \u2014 everyday vocabulary acquired before school age and used for life","Level 2 \u2014 difficulty of grades 1\u20132","Level 3 \u2014 difficulty of grades 3\u20134","Level 4 \u2014 difficulty of grades 5\u20136","No level \u2014 frequent everyday words outside the national standard list, plus coinages and loanwords"],selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},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."]},ll={lead:`IHAB builds trust
|
|
24
24
|
through sound
|
|
25
|
-
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"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},ul={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},cl={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},dl={clearAriaLabel:"Clear input"},hl={ariaLabel:"Select tab"},gl={ariaLabel:"Tabs"},pl={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},yl={ariaLabel:"User avatar"},ml={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},Cl={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},fl={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"}},kl={steps:"Step {{current}} of {{total}}"},Sl={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},bl={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},wl={viewWords:"Words"},_l={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},vl={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},Tl={previewRegion:"Report preview \u2014 scrollable sideways"},El={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Al={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},Ml={clearSelection:"Clear selection"},Nl={showResult:"Show {{type}} result"},Dl={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},Ll={loading:"Loading"},Bl={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},xl={ariaLabel:"Breadcrumb"},Rl={empty:"No items yet."},Pl={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},$l={common:Ps,calendar:$s,passCard:Os,rating:js,colorPicker:Is,dropdown:Fs,accordion:Hs,header:Gs,nav:Ws,settings:zs,usage:Vs,account:Ks,training:Ys,customers:qs,payment:Us,coupons:Js,visits:Zs,trainingType:Qs,myWordTable:Xs,keyWords:el,wordTable:tl,wordSearch:ol,wordPrint:nl,topic:al,device:rl,manager:il,wordPairs:sl,footer:ll,date:ul,wordData:cl,textField:dl,segmentedControl:hl,tabs:gl,fileUpload:pl,avatar:yl,myHomework:ml,trainingStatus:Cl,store:fl,progress:kl,trainingMiss:Sl,table:bl,wordScore:wl,topBanner:_l,datePicker:vl,report:Tl,tooltip:El,phonemeProfile:Al,bulkBar:Ml,debug:Nl,badge:Dl,loader:Ll,soundCompass:Bl,breadcrumb:xl,board:Rl,promoBannerBg:Pl};const Ol="0.383.0",jl=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Bt="ko",Il="ihab_display_language";function qo(){if(typeof window>"u")return Bt;try{const e=localStorage.getItem(Il);if(e&&jl.some(t=>t.code===e))return e}catch{}return Bt}function Uo(e){try{document.documentElement.lang=e}catch{}}Q.on("languageChanged",Uo),Uo(qo()),Q.use(un.initReactI18next).init({resources:{ko:{translation:Rs},en:{translation:$l}},lng:qo(),fallbackLng:Bt,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Fl=new Map;try{Q.store?.on?.("added",()=>Fl.clear())}catch{}let Ze=null,Jo=null,Zo=null;function Hl(){const e=No();if(e&&e.entries.length>0){const t=so();if(Ze&&Jo===e&&Zo===t)return Ze;const o=new Set,n=[];for(const a of e.entries)!a.word||o.has(a.word)||(o.add(a.word),n.push({w:a.word,s:a.syllables,p:t?.[a.word]?[...t[a.word].cho??[],...t[a.word].jung??[],...t[a.word].jong??[]]:[],pron:a.pronunciation||a.word,grade:a.grade}));return Ze=n,Jo=e,Zo=t,Ze}return[]}new Proxy([],{get(e,t){const o=Hl(),n=o[t];return typeof n=="function"?n.bind(o):n}});const Gl={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},Wl={none:0,free:1,personal_standard:2,mgr_free:10,lite_word:11,lite_sentence:11,lite:12,standard:13,pro:14,enterprise:15},zl=new Set(["mgr_free","lite_word","lite_sentence","lite","standard","pro","enterprise"]);function Vl(e){return zl.has(e)}const Kl={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function Yl(e){const t=(e??"").toLowerCase();return t==="speechear_free"||t==="free"?"free":t.startsWith("manager_free")||t.startsWith("mgr_free")?"mgr_free":t.startsWith("manager_enterprise")?"enterprise":t.startsWith("manager_pro")?"pro":t.startsWith("manager_standard")?"standard":t.startsWith("manager_lite_word")?"lite_word":t.startsWith("manager_lite_sentence")?"lite_sentence":t.startsWith("manager_lite")||t.startsWith("mgr_lite")?"lite":t.startsWith("mgr_standard")?"standard":t.startsWith("mgr_pro")?"pro":t.startsWith("content_")||t.startsWith("speechear_")||t.startsWith("light_")||t==="light"?"personal_standard":"none"}const ql=5,Ul=5;function Jl({rank:e,voteCount:t,quota:o=5}){return e<o&&t>0}const Zl={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"},Qo="chunk-reload-ts",Xo=1e4;function en(){try{return Number(sessionStorage.getItem(Qo)||0)}catch{return 0}}function tn(e=Date.now()){if(e-en()<=Xo)return!1;try{sessionStorage.setItem(Qo,String(e))}catch{}return window.location.reload(),!0}function on(e=Date.now()){const t=en();return t>0&&e-t<=Xo}function Ql(){if(typeof window>"u")return()=>{};let e=!1;const t=()=>{const a=tn();return a&&(e=!0),a},o=a=>{(t()||e)&&a.preventDefault()},n=a=>{const i=a.target;i instanceof HTMLLinkElement&&i.rel==="stylesheet"&&t()};return window.addEventListener("vite:preloadError",o),window.addEventListener("error",n,!0),()=>{window.removeEventListener("vite:preloadError",o),window.removeEventListener("error",n,!0)}}function Xl(e){return e==null?!1:eu.test(Eo(e))}const eu=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;/**
|
|
25
|
+
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"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},ul={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},cl={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},dl={clearAriaLabel:"Clear input"},hl={ariaLabel:"Select tab"},gl={ariaLabel:"Tabs"},pl={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},yl={ariaLabel:"User avatar"},ml={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},Cl={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},fl={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"}},kl={steps:"Step {{current}} of {{total}}"},Sl={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},bl={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},wl={viewWords:"Words"},_l={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},vl={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},Tl={previewRegion:"Report preview \u2014 scrollable sideways"},El={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Al={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},Ml={clearSelection:"Clear selection"},Nl={showResult:"Show {{type}} result"},Dl={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},Ll={loading:"Loading"},Bl={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},xl={ariaLabel:"Breadcrumb"},Rl={empty:"No items yet."},Pl={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},$l={common:Ps,calendar:$s,passCard:Os,rating:js,colorPicker:Is,dropdown:Fs,accordion:Hs,header:Gs,nav:Ws,settings:zs,usage:Vs,account:Ks,training:Ys,customers:qs,payment:Us,coupons:Js,visits:Zs,trainingType:Qs,myWordTable:Xs,keyWords:el,wordTable:tl,wordSearch:ol,wordPrint:nl,topic:al,device:rl,manager:il,wordPairs:sl,footer:ll,date:ul,wordData:cl,textField:dl,segmentedControl:hl,tabs:gl,fileUpload:pl,avatar:yl,myHomework:ml,trainingStatus:Cl,store:fl,progress:kl,trainingMiss:Sl,table:bl,wordScore:wl,topBanner:_l,datePicker:vl,report:Tl,tooltip:El,phonemeProfile:Al,bulkBar:Ml,debug:Nl,badge:Dl,loader:Ll,soundCompass:Bl,breadcrumb:xl,board:Rl,promoBannerBg:Pl};const Ol="0.384.0",jl=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Bt="ko",Il="ihab_display_language";function qo(){if(typeof window>"u")return Bt;try{const e=localStorage.getItem(Il);if(e&&jl.some(t=>t.code===e))return e}catch{}return Bt}function Uo(e){try{document.documentElement.lang=e}catch{}}Q.on("languageChanged",Uo),Uo(qo()),Q.use(un.initReactI18next).init({resources:{ko:{translation:Rs},en:{translation:$l}},lng:qo(),fallbackLng:Bt,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Fl=new Map;try{Q.store?.on?.("added",()=>Fl.clear())}catch{}let Ze=null,Jo=null,Zo=null;function Hl(){const e=No();if(e&&e.entries.length>0){const t=so();if(Ze&&Jo===e&&Zo===t)return Ze;const o=new Set,n=[];for(const a of e.entries)!a.word||o.has(a.word)||(o.add(a.word),n.push({w:a.word,s:a.syllables,p:t?.[a.word]?[...t[a.word].cho??[],...t[a.word].jung??[],...t[a.word].jong??[]]:[],pron:a.pronunciation||a.word,grade:a.grade}));return Ze=n,Jo=e,Zo=t,Ze}return[]}new Proxy([],{get(e,t){const o=Hl(),n=o[t];return typeof n=="function"?n.bind(o):n}});const Gl={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},Wl={none:0,free:1,personal_standard:2,mgr_free:10,lite_word:11,lite_sentence:11,lite:12,standard:13,pro:14,enterprise:15},zl=new Set(["mgr_free","lite_word","lite_sentence","lite","standard","pro","enterprise"]);function Vl(e){return zl.has(e)}const Kl={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function Yl(e){const t=(e??"").toLowerCase();return t==="speechear_free"||t==="free"?"free":t.startsWith("manager_free")||t.startsWith("mgr_free")?"mgr_free":t.startsWith("manager_enterprise")?"enterprise":t.startsWith("manager_pro")?"pro":t.startsWith("manager_standard")?"standard":t.startsWith("manager_lite_word")?"lite_word":t.startsWith("manager_lite_sentence")?"lite_sentence":t.startsWith("manager_lite")||t.startsWith("mgr_lite")?"lite":t.startsWith("mgr_standard")?"standard":t.startsWith("mgr_pro")?"pro":t.startsWith("content_")||t.startsWith("speechear_")||t.startsWith("light_")||t==="light"?"personal_standard":"none"}const ql=5,Ul=5;function Jl({rank:e,voteCount:t,quota:o=5}){return e<o&&t>0}const Zl={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"},Qo="chunk-reload-ts",Xo=1e4;function en(){try{return Number(sessionStorage.getItem(Qo)||0)}catch{return 0}}function tn(e=Date.now()){if(e-en()<=Xo)return!1;try{sessionStorage.setItem(Qo,String(e))}catch{}return window.location.reload(),!0}function on(e=Date.now()){const t=en();return t>0&&e-t<=Xo}function Ql(){if(typeof window>"u")return()=>{};let e=!1;const t=()=>{const a=tn();return a&&(e=!0),a},o=a=>{(t()||e)&&a.preventDefault()},n=a=>{const i=a.target;i instanceof HTMLLinkElement&&i.rel==="stylesheet"&&t()};return window.addEventListener("vite:preloadError",o),window.addEventListener("error",n,!0),()=>{window.removeEventListener("vite:preloadError",o),window.removeEventListener("error",n,!0)}}function Xl(e){return e==null?!1:eu.test(Eo(e))}const eu=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;/**
|
|
26
26
|
* @license lucide-react v1.38.0 - ISC
|
|
27
27
|
*
|
|
28
28
|
* This source code is licensed under the ISC license.
|