lido-player 0.0.2-alpha-50-dev → 0.0.2-alpha-51-dev
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/LICENSE +21 -21
- package/dist/cjs/{index-6a69c33a.js → index-baff5c15.js} +48 -14
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{lido-avatar_21.cjs.entry.js → lido-avatar_22.cjs.entry.js} +3043 -162
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-079a5e7d.js → utils-dc02d753.js} +150 -95
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/calculator/lido-calculator.css +87 -87
- package/dist/collection/components/calculator/lido-calculator.js +14 -8
- package/dist/collection/components/canvas/lido-canvas.css +38 -0
- package/dist/collection/components/canvas/lido-canvas.js +220 -0
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +10 -10
- package/dist/collection/components/container/lido-container.js +70 -8
- package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
- package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +278 -278
- package/dist/collection/components/home/lido-home.js +92 -12
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +56 -2
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +42 -6
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/lido-balance.css +145 -114
- package/dist/collection/components/scale/lido-balance.js +17 -17
- package/dist/collection/components/shape/lido-shape.css +96 -96
- package/dist/collection/components/shape/lido-shape.js +5 -5
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +6 -5
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +2 -2
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +194 -194
- package/dist/collection/css/index.css +277 -277
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +60 -60
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +55 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +29 -29
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +42 -42
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +37 -31
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +48 -0
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +28 -22
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +37 -37
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +54 -54
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +23 -23
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +32 -28
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +56 -54
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +56 -45
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +38 -38
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +131 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +53 -49
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +44 -40
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +96 -96
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +47 -45
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +62 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +52 -48
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +65 -61
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -58
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +111 -107
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +46 -46
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +51 -47
- package/dist/collection/stories/Templates/total/total.stories.js +27 -27
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +35 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +62 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -40
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +36 -32
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +37 -33
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +43 -6
- package/dist/collection/utils/constants.js +1 -0
- package/dist/collection/utils/i18n.js +36 -0
- package/dist/collection/utils/utils.js +36 -29
- package/dist/collection/utils/utilsHandlers/clickHandler.js +5 -1
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +17 -9
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +2 -2
- package/dist/collection/utils/utilsHandlers/lidoCalculatorHandler.js +9 -9
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.d.ts +11 -0
- package/dist/components/lido-canvas.js +6 -0
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +49 -25
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-73e31a86.js → p-04e904b5.js} +8 -8
- package/dist/components/p-0fbeb3a1.js +2700 -0
- package/dist/components/{p-1fbdb431.js → p-12432f23.js} +2 -2
- package/dist/components/p-1c84cf65.js +123 -0
- package/dist/components/{p-74849cdd.js → p-1f3c2783.js} +4 -4
- package/dist/components/{p-e4e42677.js → p-4fd6b588.js} +2 -2
- package/dist/components/{p-e36ddcc1.js → p-56c8f3da.js} +14 -11
- package/dist/components/{p-cbac3cbc.js → p-62d2a5b3.js} +2 -2
- package/dist/components/{p-44808985.js → p-6ba0f1af.js} +7 -7
- package/dist/components/{p-52844fa4.js → p-6be6c5eb.js} +2 -2
- package/dist/components/{p-08d0deab.js → p-74b90a9c.js} +9 -3
- package/dist/components/{p-d37ab4dc.js → p-988477ad.js} +2 -2
- package/dist/components/{p-7f7e5672.js → p-a8724f06.js} +2 -2
- package/dist/components/{p-3f406017.js → p-b7efadad.js} +2 -2
- package/dist/components/{p-15971ede.js → p-b89371ac.js} +1 -1
- package/dist/components/{p-904711c8.js → p-bb907e43.js} +2 -2
- package/dist/components/{p-afbc196f.js → p-bef96764.js} +3 -2
- package/dist/components/{p-322acda6.js → p-c8815e84.js} +67 -31
- package/dist/components/{p-835b973d.js → p-caa05d1e.js} +2 -2
- package/dist/components/{p-bed94c37.js → p-d0131159.js} +187 -105
- package/dist/components/{p-29bdd953.js → p-d3f7d561.js} +2 -2
- package/dist/components/{p-90465904.js → p-d7693f47.js} +2 -2
- package/dist/components/{p-9be56729.js → p-e9548986.js} +46 -2
- package/dist/esm/{index-170e58c7.js → index-37c2ad2d.js} +48 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/{lido-avatar_21.entry.js → lido-avatar_22.entry.js} +3043 -163
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-5df09162.js → utils-b5eb2360.js} +150 -95
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-9a9d5339.js +2 -0
- package/dist/lido-player/{p-7556e652.js → p-9fd87d44.js} +2 -2
- package/dist/lido-player/p-e1a9c26f.entry.js +1 -0
- package/dist/types/components/canvas/lido-canvas.d.ts +27 -0
- package/dist/types/components/container/lido-container.d.ts +6 -0
- package/dist/types/components/home/lido-home.d.ts +8 -0
- package/dist/types/components/mathMatrix/lido-math-matrix.d.ts +3 -0
- package/dist/types/components/root/lido-root.d.ts +5 -0
- package/dist/types/components.d.ts +71 -0
- package/dist/types/stories/Templates/RocketGame/rocketGame.stories.d.ts +1 -0
- package/dist/types/stories/Templates/calculator/calculator.stories.d.ts +4 -0
- package/dist/types/stories/Templates/multiplyBeeds/multiplyBeeds.stories.d.ts +1 -0
- package/dist/types/stories/Templates/openwindow/openwindow.stories.d.ts +1 -0
- package/dist/types/stories/Templates/openwindow/openwindow2.stories.d.ts +1 -0
- package/dist/types/stories/Templates/questionBoard/questionBoard.stories.d.ts +1 -0
- package/dist/types/stories/Templates/sequenceBox/sequenceBox1.stories.d.ts +1 -0
- package/dist/types/stories/Templates/sequenceBox/sequenceBox2.stories.d.ts +1 -0
- package/dist/types/stories/Templates/shapePair/shape-pair.stories.d.ts +1 -1
- package/dist/types/stories/Templates/sumTogether/sumTogether.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeCard/writeCard.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeLetter/writeLetter.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeNumber/writeNumber.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeWord/writeWord.stories.d.ts +1 -0
- package/dist/types/types/json.d.ts +4 -0
- package/dist/types/utils/audioPlayer.d.ts +2 -0
- package/dist/types/utils/constants.d.ts +1 -0
- package/dist/types/utils/i18n.d.ts +5 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +71 -69
- package/readme.md +113 -113
- package/dist/lido-player/p-137c99ce.js +0 -2
- package/dist/lido-player/p-eb956325.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAssetPath } from './index-
|
|
1
|
+
import { g as getAssetPath } from './index-37c2ad2d.js';
|
|
2
2
|
|
|
3
3
|
const DragMapKey = 'lidoDragMap';
|
|
4
4
|
const SelectedValuesKey = 'lidoSelectedValues';
|
|
@@ -114,34 +114,34 @@ function highlightSpeakingElement(element) {
|
|
|
114
114
|
if (!document.querySelector(styleId)) {
|
|
115
115
|
const style = document.createElement('style');
|
|
116
116
|
style.id = styleId;
|
|
117
|
-
style.innerHTML = `
|
|
118
|
-
.speaking-highlight {
|
|
119
|
-
--base-transform: ${element.style.transform};
|
|
120
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
121
|
-
// border: 3px solid green !important;
|
|
122
|
-
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
123
|
-
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
124
|
-
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@keyframes pulseEffect {
|
|
129
|
-
0% {
|
|
130
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
131
|
-
// transform: var(--base-transform) scale(1.05);
|
|
132
|
-
// background-color: #FFFF0B;
|
|
133
|
-
}
|
|
134
|
-
50% {
|
|
135
|
-
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
136
|
-
// transform: var(--base-transform) scale(1.1);
|
|
137
|
-
// background-color: #FFFF0B;
|
|
138
|
-
}
|
|
139
|
-
100% {
|
|
140
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
141
|
-
// transform: var(--base-transform) scale(1.05);
|
|
142
|
-
// background-color: #FFFF0B;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
117
|
+
style.innerHTML = `
|
|
118
|
+
.speaking-highlight {
|
|
119
|
+
--base-transform: ${element.style.transform};
|
|
120
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
121
|
+
// border: 3px solid green !important;
|
|
122
|
+
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
123
|
+
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
124
|
+
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@keyframes pulseEffect {
|
|
129
|
+
0% {
|
|
130
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
131
|
+
// transform: var(--base-transform) scale(1.05);
|
|
132
|
+
// background-color: #FFFF0B;
|
|
133
|
+
}
|
|
134
|
+
50% {
|
|
135
|
+
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
136
|
+
// transform: var(--base-transform) scale(1.1);
|
|
137
|
+
// background-color: #FFFF0B;
|
|
138
|
+
}
|
|
139
|
+
100% {
|
|
140
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
141
|
+
// transform: var(--base-transform) scale(1.05);
|
|
142
|
+
// background-color: #FFFF0B;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
145
|
`;
|
|
146
146
|
document.head.appendChild(style);
|
|
147
147
|
}
|
|
@@ -213,8 +213,8 @@ function balanceResult(container, objectiveString) {
|
|
|
213
213
|
return false;
|
|
214
214
|
const leftVal = Number((_c = (_a = balanceEl.leftVal) !== null && _a !== void 0 ? _a : (_b = balanceEl.dataset) === null || _b === void 0 ? void 0 : _b.leftVal) !== null && _c !== void 0 ? _c : 0);
|
|
215
215
|
const rightVal = Number((_f = (_d = balanceEl.rightVal) !== null && _d !== void 0 ? _d : (_e = balanceEl.dataset) === null || _e === void 0 ? void 0 : _e.rightVal) !== null && _f !== void 0 ? _f : 0);
|
|
216
|
-
const hasLeft = !isNaN(leftVal)
|
|
217
|
-
const hasRight = !isNaN(rightVal)
|
|
216
|
+
const hasLeft = !isNaN(leftVal);
|
|
217
|
+
const hasRight = !isNaN(rightVal);
|
|
218
218
|
if (!hasLeft || !hasRight) {
|
|
219
219
|
return false;
|
|
220
220
|
}
|
|
@@ -264,6 +264,7 @@ function enableOptionArea(element) {
|
|
|
264
264
|
}
|
|
265
265
|
let isDraggingDisabled = false;
|
|
266
266
|
const setDraggingDisabled = (disabled) => {
|
|
267
|
+
console.log("Setting dragging disabled to:", disabled);
|
|
267
268
|
isDraggingDisabled = disabled;
|
|
268
269
|
};
|
|
269
270
|
function enableDraggingWithScaling(element) {
|
|
@@ -746,6 +747,9 @@ async function onElementDropComplete(dragElement, dropElement) {
|
|
|
746
747
|
if (!isCorrect) {
|
|
747
748
|
dragElement.style.transition = 'transform 0.5s ease';
|
|
748
749
|
animateDragToTarget(dragElement, dropElement, container);
|
|
750
|
+
const onInCorrect = dropElement.getAttribute('onInCorrect');
|
|
751
|
+
console.log("onincorrectttt", onInCorrect);
|
|
752
|
+
await executeActions(onInCorrect, dropElement, dragElement);
|
|
749
753
|
setTimeout(() => {
|
|
750
754
|
dragElement.style.transform = 'translate(0, 0)';
|
|
751
755
|
// const oldDropIndex = dragToDropMap[dragElement.getAttribute('data-id')];
|
|
@@ -1014,14 +1018,14 @@ async function onClickDropOrDragElement(element, type) {
|
|
|
1014
1018
|
if (!document.querySelector('#dynamic-highlight-style')) {
|
|
1015
1019
|
const style = document.createElement('style');
|
|
1016
1020
|
style.id = 'dynamic-highlight-style';
|
|
1017
|
-
style.innerHTML = `
|
|
1018
|
-
.highlight {
|
|
1019
|
-
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1020
|
-
// border-radius: 12px; /* Larger rounded corners */
|
|
1021
|
-
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1022
|
-
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1023
|
-
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1024
|
-
}
|
|
1021
|
+
style.innerHTML = `
|
|
1022
|
+
.highlight {
|
|
1023
|
+
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1024
|
+
// border-radius: 12px; /* Larger rounded corners */
|
|
1025
|
+
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1026
|
+
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1027
|
+
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1028
|
+
}
|
|
1025
1029
|
`;
|
|
1026
1030
|
document.head.appendChild(style);
|
|
1027
1031
|
}
|
|
@@ -1063,7 +1067,11 @@ async function onClickDropOrDragElement(element, type) {
|
|
|
1063
1067
|
}
|
|
1064
1068
|
const dragToDropMap = new Map();
|
|
1065
1069
|
async function onClickDragElement(element) {
|
|
1066
|
-
|
|
1070
|
+
const audioAttr = element.getAttribute('audio');
|
|
1071
|
+
const hasValidAudio = audioAttr && audioAttr.trim().length > 0;
|
|
1072
|
+
if (hasValidAudio) {
|
|
1073
|
+
AudioPlayer.getI().stop();
|
|
1074
|
+
}
|
|
1067
1075
|
const dropElements = buildDropHasDragFromDOM();
|
|
1068
1076
|
const dragEl = element;
|
|
1069
1077
|
if (!dragEl) {
|
|
@@ -1138,6 +1146,7 @@ class AudioPlayer {
|
|
|
1138
1146
|
this.audioElement = document.createElement('audio');
|
|
1139
1147
|
this.audioElement.id = 'audio';
|
|
1140
1148
|
document.body.appendChild(this.audioElement);
|
|
1149
|
+
this.registerGlobalStopEvents();
|
|
1141
1150
|
}
|
|
1142
1151
|
static getI() {
|
|
1143
1152
|
if (!AudioPlayer.instance) {
|
|
@@ -1163,13 +1172,23 @@ class AudioPlayer {
|
|
|
1163
1172
|
}
|
|
1164
1173
|
}
|
|
1165
1174
|
async play(targetElement) {
|
|
1175
|
+
// Stop any currently playing audio first if target element has audio given
|
|
1176
|
+
try {
|
|
1177
|
+
await AudioPlayer.getI().stop();
|
|
1178
|
+
}
|
|
1179
|
+
catch (e) {
|
|
1180
|
+
console.error('Error stopping audio before speak action:', e);
|
|
1181
|
+
}
|
|
1182
|
+
// then play the target element audio.
|
|
1166
1183
|
let audioUrl = targetElement.getAttribute('audio') || '';
|
|
1184
|
+
// If no direct audio attribute, check childrens for audio
|
|
1167
1185
|
if (!audioUrl) {
|
|
1168
1186
|
const childElements = targetElement.children;
|
|
1169
1187
|
for (let i = 0; i < childElements.length; i++) {
|
|
1170
1188
|
const childAudioUrl = childElements[i].getAttribute('audio');
|
|
1171
1189
|
if (childAudioUrl) {
|
|
1172
1190
|
audioUrl = childAudioUrl;
|
|
1191
|
+
break;
|
|
1173
1192
|
}
|
|
1174
1193
|
}
|
|
1175
1194
|
}
|
|
@@ -1179,18 +1198,21 @@ class AudioPlayer {
|
|
|
1179
1198
|
console.log('🚀 Playing audio:', this.audioElement.src);
|
|
1180
1199
|
try {
|
|
1181
1200
|
setDraggingDisabled(true);
|
|
1182
|
-
await this.audioElement.play();
|
|
1183
1201
|
highlightSpeakingElement(targetElement);
|
|
1202
|
+
await this.audioElement.play();
|
|
1184
1203
|
await new Promise(resolve => {
|
|
1185
1204
|
this.audioElement.onended = () => {
|
|
1186
|
-
stopHighlightForSpeakingElement(targetElement);
|
|
1187
1205
|
resolve();
|
|
1188
|
-
setDraggingDisabled(false);
|
|
1189
1206
|
};
|
|
1190
1207
|
});
|
|
1191
1208
|
}
|
|
1192
1209
|
catch (error) {
|
|
1193
|
-
console.log('
|
|
1210
|
+
console.log('🎧 Audio play error:', error);
|
|
1211
|
+
}
|
|
1212
|
+
finally {
|
|
1213
|
+
this.audioElement.onended = null; // cleanup
|
|
1214
|
+
setDraggingDisabled(false);
|
|
1215
|
+
stopHighlightForSpeakingElement(targetElement);
|
|
1194
1216
|
}
|
|
1195
1217
|
}
|
|
1196
1218
|
// If no audio, use text-to-speech
|
|
@@ -1200,13 +1222,35 @@ class AudioPlayer {
|
|
|
1200
1222
|
await speakText(targetElement.textContent, targetElement);
|
|
1201
1223
|
const highlightedElements = document.querySelectorAll('.speaking-highlight');
|
|
1202
1224
|
highlightedElements.forEach(element => stopHighlightForSpeakingElement(element));
|
|
1203
|
-
setDraggingDisabled(false);
|
|
1204
1225
|
}
|
|
1205
1226
|
catch (error) {
|
|
1206
|
-
console.log('
|
|
1227
|
+
console.log('🎧 TTS Error:', error);
|
|
1228
|
+
}
|
|
1229
|
+
finally {
|
|
1230
|
+
setDraggingDisabled(false);
|
|
1207
1231
|
}
|
|
1208
1232
|
}
|
|
1209
1233
|
}
|
|
1234
|
+
// GLOBAL STOP EVENTS (container change, activity change…)
|
|
1235
|
+
registerGlobalStopEvents() {
|
|
1236
|
+
const stopEvents = [
|
|
1237
|
+
NextContainerKey, PrevContainerKey, LessonEndKey, ActivityChangeKey,
|
|
1238
|
+
ActivityEndKey, GameCompletedKey, GameExitKey
|
|
1239
|
+
];
|
|
1240
|
+
stopEvents.forEach(key => {
|
|
1241
|
+
window.addEventListener(key, () => this.stop());
|
|
1242
|
+
});
|
|
1243
|
+
}
|
|
1244
|
+
// DESTROY (for hot-reload)
|
|
1245
|
+
destroy() {
|
|
1246
|
+
console.log("AudioPlayer destroyed (hot-reload safe)");
|
|
1247
|
+
this.stop();
|
|
1248
|
+
// Remove DOM element
|
|
1249
|
+
if (this.audioElement.parentNode) {
|
|
1250
|
+
this.audioElement.parentNode.removeChild(this.audioElement);
|
|
1251
|
+
}
|
|
1252
|
+
AudioPlayer.instance = undefined;
|
|
1253
|
+
}
|
|
1210
1254
|
}
|
|
1211
1255
|
|
|
1212
1256
|
let preOverlap;
|
|
@@ -1365,11 +1409,11 @@ function enableReorderDrag(element) {
|
|
|
1365
1409
|
onDropToCategory(element, category);
|
|
1366
1410
|
}
|
|
1367
1411
|
if (divEl) {
|
|
1368
|
-
const keyframes = `
|
|
1369
|
-
@keyframes widthDecrease {
|
|
1370
|
-
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
1371
|
-
100% { width: 0px; height: 0px;}
|
|
1372
|
-
}
|
|
1412
|
+
const keyframes = `
|
|
1413
|
+
@keyframes widthDecrease {
|
|
1414
|
+
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
1415
|
+
100% { width: 0px; height: 0px;}
|
|
1416
|
+
}
|
|
1373
1417
|
`;
|
|
1374
1418
|
const styleSheet = document.styleSheets[0];
|
|
1375
1419
|
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
|
|
@@ -1579,11 +1623,11 @@ function moveWithAnimation(target, overlapped) {
|
|
|
1579
1623
|
const dummy = createDummyElement(target);
|
|
1580
1624
|
dummy.style.visibility = 'hidden';
|
|
1581
1625
|
dummy.setAttribute('type', 'dummy');
|
|
1582
|
-
const keyframes = `
|
|
1583
|
-
@keyframes widthIncrease {
|
|
1584
|
-
0% { width: 0px; height: 0px; }
|
|
1585
|
-
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
1586
|
-
}
|
|
1626
|
+
const keyframes = `
|
|
1627
|
+
@keyframes widthIncrease {
|
|
1628
|
+
0% { width: 0px; height: 0px; }
|
|
1629
|
+
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
1630
|
+
}
|
|
1587
1631
|
`;
|
|
1588
1632
|
if (!overlapped) {
|
|
1589
1633
|
const overlapCategory = findMostoverlappedElement(target, 'category');
|
|
@@ -3140,7 +3184,11 @@ function addClickListenerForClickType(element) {
|
|
|
3140
3184
|
if (lido_buttons === 'lido-arrow-left' || lido_buttons === 'lido-arrow-right') {
|
|
3141
3185
|
return;
|
|
3142
3186
|
}
|
|
3143
|
-
|
|
3187
|
+
const audioAttr = element.getAttribute('audio');
|
|
3188
|
+
const hasValidAudio = audioAttr && audioAttr.trim().length > 0;
|
|
3189
|
+
if (hasValidAudio) {
|
|
3190
|
+
AudioPlayer.getI().stop();
|
|
3191
|
+
}
|
|
3144
3192
|
const container = document.getElementById(LidoContainer);
|
|
3145
3193
|
const objective = container['objective'].split(',');
|
|
3146
3194
|
const checkButton = document.querySelector('#lido-checkButton');
|
|
@@ -68053,15 +68101,15 @@ function calculateFill(input, currentFill = 0) {
|
|
|
68053
68101
|
// Helper to animate and remove the active equation cell
|
|
68054
68102
|
const animationToRemoveEquationSolvedCellForNimbleTable = (activeCell, allCalculateTypes) => {
|
|
68055
68103
|
return new Promise((resolve) => {
|
|
68056
|
-
const keyframes = `
|
|
68057
|
-
@keyframes widthDecrease {
|
|
68058
|
-
0% {
|
|
68059
|
-
background-color: ${activeCell.style.backgroundColor};
|
|
68060
|
-
height: ${activeCell.style.height};
|
|
68061
|
-
margin: ${activeCell.style.margin};
|
|
68062
|
-
${activeCell.innerHTML = ""}
|
|
68063
|
-
}
|
|
68064
|
-
100% { background-color: transparent; height: 0px; margin: 0px; }
|
|
68104
|
+
const keyframes = `
|
|
68105
|
+
@keyframes widthDecrease {
|
|
68106
|
+
0% {
|
|
68107
|
+
background-color: ${activeCell.style.backgroundColor};
|
|
68108
|
+
height: ${activeCell.style.height};
|
|
68109
|
+
margin: ${activeCell.style.margin};
|
|
68110
|
+
${activeCell.innerHTML = ""}
|
|
68111
|
+
}
|
|
68112
|
+
100% { background-color: transparent; height: 0px; margin: 0px; }
|
|
68065
68113
|
}`;
|
|
68066
68114
|
const styleSheet = document.styleSheets[0];
|
|
68067
68115
|
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
|
|
@@ -68594,7 +68642,15 @@ const executeActions = async (actionsString, thisElement, element) => {
|
|
|
68594
68642
|
break;
|
|
68595
68643
|
}
|
|
68596
68644
|
case 'speak': {
|
|
68597
|
-
|
|
68645
|
+
const val = (action.value || '').toString().trim().toLowerCase();
|
|
68646
|
+
if (val === 'true' || val === '1' || val === 'yes') {
|
|
68647
|
+
try {
|
|
68648
|
+
await AudioPlayer.getI().play(targetElement);
|
|
68649
|
+
}
|
|
68650
|
+
catch (err) {
|
|
68651
|
+
console.error('Error playing audio for speak action:', err);
|
|
68652
|
+
}
|
|
68653
|
+
}
|
|
68598
68654
|
break;
|
|
68599
68655
|
}
|
|
68600
68656
|
case 'fill-slide': {
|
|
@@ -68716,6 +68772,10 @@ const executeActions = async (actionsString, thisElement, element) => {
|
|
|
68716
68772
|
}
|
|
68717
68773
|
break;
|
|
68718
68774
|
}
|
|
68775
|
+
case 'updatedAnswer': {
|
|
68776
|
+
updatedAnswer();
|
|
68777
|
+
break;
|
|
68778
|
+
}
|
|
68719
68779
|
default: {
|
|
68720
68780
|
targetElement.style[action.action] = action.value;
|
|
68721
68781
|
break;
|
|
@@ -68746,11 +68806,11 @@ const afterDropDragHandling = (dragElement, dropElement) => {
|
|
|
68746
68806
|
}
|
|
68747
68807
|
dummyElement.setAttribute('id', dragElement.getAttribute('id'));
|
|
68748
68808
|
dragElement.replaceWith(dummyElement);
|
|
68749
|
-
const keyframes = `
|
|
68750
|
-
@keyframes widthDecrease {
|
|
68751
|
-
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
68752
|
-
100% { width: 0px; height: 0px; margin: 0px;}
|
|
68753
|
-
}
|
|
68809
|
+
const keyframes = `
|
|
68810
|
+
@keyframes widthDecrease {
|
|
68811
|
+
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
68812
|
+
100% { width: 0px; height: 0px; margin: 0px;}
|
|
68813
|
+
}
|
|
68754
68814
|
`;
|
|
68755
68815
|
if (!isInfinite) {
|
|
68756
68816
|
dummyElement.style.width = element.style.width;
|
|
@@ -68913,10 +68973,6 @@ async function onActivityComplete(dragElement, dropElement) {
|
|
|
68913
68973
|
await executeActions(onCorrect, dropElement, dragElement);
|
|
68914
68974
|
}
|
|
68915
68975
|
}
|
|
68916
|
-
else {
|
|
68917
|
-
const onInCorrect = dropElement.getAttribute('onInCorrect');
|
|
68918
|
-
await executeActions(onInCorrect, dropElement, dragElement);
|
|
68919
|
-
}
|
|
68920
68976
|
}
|
|
68921
68977
|
let dragScore = buildDragSelectedMapFromDOM();
|
|
68922
68978
|
const sortedValues = getSortedValuesArrayFromMap(dragScore);
|
|
@@ -68928,21 +68984,6 @@ async function onActivityComplete(dragElement, dropElement) {
|
|
|
68928
68984
|
drag[index] = [];
|
|
68929
68985
|
}
|
|
68930
68986
|
drag[index].push(dragElement.id);
|
|
68931
|
-
// localStorage.setItem(DragMapKey, JSON.stringify(drag));
|
|
68932
|
-
Object.keys(dragScore).sort((a, b) => parseInt(a) - parseInt(b));
|
|
68933
|
-
if (dragElement && dropElement) {
|
|
68934
|
-
const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
|
|
68935
|
-
if (isCorrect) {
|
|
68936
|
-
const onCorrect = dropElement.getAttribute('onCorrect');
|
|
68937
|
-
if (onCorrect) {
|
|
68938
|
-
await executeActions(onCorrect, dropElement, dragElement);
|
|
68939
|
-
}
|
|
68940
|
-
}
|
|
68941
|
-
else {
|
|
68942
|
-
const onInCorrect = dropElement.getAttribute('onInCorrect');
|
|
68943
|
-
await executeActions(onInCorrect, dropElement, dragElement);
|
|
68944
|
-
}
|
|
68945
|
-
}
|
|
68946
68987
|
const allElements = document.querySelectorAll("[type='drop']");
|
|
68947
68988
|
allElements.forEach(otherElement => {
|
|
68948
68989
|
var _a;
|
|
@@ -69032,6 +69073,7 @@ const validateObjectiveStatus = async () => {
|
|
|
69032
69073
|
return;
|
|
69033
69074
|
const objectiveString = container['objective'];
|
|
69034
69075
|
const additionalCheck = container.getAttribute('equationCheck');
|
|
69076
|
+
container.getAttribute('isAllowOnlyCorrect') === 'true' || '';
|
|
69035
69077
|
console.log('🚀 ~ validateObjectiveStatus ~ additionalCheck:', additionalCheck);
|
|
69036
69078
|
let equationGiven = false;
|
|
69037
69079
|
if (objectiveString == null || objectiveString.length === 0) {
|
|
@@ -69083,13 +69125,15 @@ const validateObjectiveStatus = async () => {
|
|
|
69083
69125
|
await calculateScore();
|
|
69084
69126
|
}
|
|
69085
69127
|
else {
|
|
69086
|
-
const onInCorrect = container.getAttribute('onInCorrect');
|
|
69087
|
-
await executeActions(onInCorrect, container);
|
|
69088
69128
|
const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
|
|
69089
69129
|
if (!isContinueOnCorrect) {
|
|
69090
69130
|
triggerNextContainer();
|
|
69091
69131
|
await calculateScore();
|
|
69092
69132
|
}
|
|
69133
|
+
else {
|
|
69134
|
+
const onInCorrect = container.getAttribute('onInCorrect');
|
|
69135
|
+
await executeActions(onInCorrect, container);
|
|
69136
|
+
}
|
|
69093
69137
|
}
|
|
69094
69138
|
};
|
|
69095
69139
|
const triggerNextContainer = () => {
|
|
@@ -69653,14 +69697,14 @@ const SumTogetherAnimation = async (element, value) => {
|
|
|
69653
69697
|
const sign = ((signElement && ((signElement.getAttribute('string') || signElement.textContent) || '')).toString().trim() === '+') ? '+' : '-';
|
|
69654
69698
|
if (sign === '-') {
|
|
69655
69699
|
// '-' flow: reveal one by one then change bgColor of last B to red
|
|
69656
|
-
for (let i = 0; i < topRowChildren.length; i++) {
|
|
69700
|
+
for (let i = 0; i < Math.min(number1, topRowChildren.length); i++) {
|
|
69657
69701
|
await new Promise(resolve => setTimeout(resolve, 75));
|
|
69658
69702
|
showElement(topRowChildren[i]);
|
|
69659
69703
|
}
|
|
69660
69704
|
elementAppearance(true);
|
|
69661
69705
|
await new Promise(r => setTimeout(r, 500));
|
|
69662
69706
|
for (let k = 0; k < Math.min(number2, topRowChildren.length); k++) {
|
|
69663
|
-
const idx = topRowChildren.length - 1 - k;
|
|
69707
|
+
const idx = Math.min(number1, topRowChildren.length) - 1 - k;
|
|
69664
69708
|
setImageBackground(topRowChildren[idx], 'red');
|
|
69665
69709
|
await new Promise(r => setTimeout(r, 200));
|
|
69666
69710
|
}
|
|
@@ -69685,5 +69729,16 @@ const SumTogetherAnimation = async (element, value) => {
|
|
|
69685
69729
|
elementAppearance(false);
|
|
69686
69730
|
}
|
|
69687
69731
|
};
|
|
69732
|
+
const updatedAnswer = () => {
|
|
69733
|
+
const container = document.getElementById(LidoContainer);
|
|
69734
|
+
if (!container)
|
|
69735
|
+
return;
|
|
69736
|
+
const answerText = container.querySelector('#answer');
|
|
69737
|
+
if (!answerText)
|
|
69738
|
+
return;
|
|
69739
|
+
const equationAttr = container.getAttribute('equationCheck') || '';
|
|
69740
|
+
const calculatedValue = equationCheck(equationAttr);
|
|
69741
|
+
answerText.setAttribute('string', String(calculatedValue));
|
|
69742
|
+
};
|
|
69688
69743
|
|
|
69689
69744
|
export { ActivityScoreKey as A, getDefaultExportFromCjs as B, tinyColor as C, triggerNextContainer as D, DropAction as E, validateObjectiveStatus as F, fraction as G, speakIcon as H, fingerUrl as I, LidoContainer as L, NextContainerKey as N, PrevContainerKey as P, RiveService as R, SelectedValuesKey as S, TraceMode as T, convertUrlToRelative as a, storingEachActivityScore as b, commonjsGlobal as c, executeActions as d, equationCheck as e, format as f, attachSpeakIcon as g, handlingChildElements as h, initEventsForElement as i, calculateScale as j, handleFloatElementPosition as k, handleElementClick as l, dispatchActivityChangeEvent as m, dispatchGameCompletedEvent as n, dispatchGameExitEvent as o, parseProp as p, AudioPlayer as q, generateUUIDFallback as r, setVisibilityWithDelay as s, exitUrl as t, prevUrl as u, nextUrl as v, speakUrl as w, getCancelBtnPopup as x, triggerPrevcontainer as y, setCancelBtnPopup as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as format}from"./p-
|
|
1
|
+
export{f as format}from"./p-9fd87d44.js";import"./p-9a9d5339.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-137c99ce.js";export{s as setNonce}from"./p-137c99ce.js";import{g as i}from"./p-e1255160.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((async e=>(await i(),o(JSON.parse('[["p-eb956325",[[0,"lido-root",{"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"xmlData":[32]}],[0,"lido-home",{"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"avatarUrl":[1,"avatar-url"],"uuid":[1],"navBarIcons":[32],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"showDotsandbtn":[32]},null,{"xmlData":["onXmlDataChange"]}],[0,"lido-calculator",{"width":[1],"visible":[8],"height":[1],"objective":[1],"onEntry":[1,"on-entry"],"x":[1],"y":[1],"bgColor":[1,"bg-color"],"penIcon":[1,"pen-icon"],"displayValue":[32],"style":[32]}],[0,"lido-keyboard",{"keys":[1],"width":[1],"height":[1],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gap":[1],"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"y":[1],"x":[1],"z":[1],"margin":[1],"padding":[1],"visible":[1],"onEntry":[1,"on-entry"],"type":[1],"keyboardInput":[4,"keyboard-input"],"columns":[1],"letterLength":[2,"letter-length"],"disableSpeak":[4,"disable-speak"],"numberOfClick":[32],"inputString":[32],"style":[32]}],[0,"lido-avatar",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"src":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"]}],[0,"lido-balance",{"pivotimage":[1],"scaleimage":[1],"handlerimage":[1],"fill":[1],"tilt":[2],"maxTilt":[2,"max-tilt"],"onEntry":[1,"on-entry"],"height":[1],"width":[1],"x":[1],"y":[1],"z":[1],"visible":[8],"margin":[1],"padding":[1],"balanceSymbol":[1537,"balance-symbol"],"showSymbol":[1540,"show-symbol"],"operation":[1],"pivotSvg":[32],"scaleSvg":[32],"handlerSvg":[32],"style":[32],"tiltf":[32],"leftVal":[32],"rightVal":[32],"revealSymbol":[64],"hideSymbol":[64],"updateTilt":[64]},null,{"tilt":["tiltChanged"]}],[4,"lido-col",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"borderImage":[1,"border-image"],"boxShadow":[1,"box-shadow"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-container",{"showDropBorder":[4,"show-drop-border"],"appendToDropOnCompletion":[4,"append-to-drop-on-completion"],"id":[1],"objective":[1],"customStyle":[1,"custom-style"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"bgImage":[1,"bg-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"canplay":[4],"showCheck":[4,"show-check"],"isContinueOnCorrect":[4,"is-continue-on-correct"],"isAllowOnlyCorrect":[4,"is-allow-only-correct"],"baseUrl":[1,"base-url"],"margin":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"]}],[4,"lido-flash-card",{"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"direction":[1],"display":[1],"front":[8],"back":[8],"flipped":[1540],"margin":[1],"disableSpeak":[4,"disable-speak"],"delayVisible":[1,"delay-visible"],"style":[32]},null,{"flipped":["handleFlippedChange"]}],[4,"lido-float",{"id":[1],"value":[1],"z":[1],"tabIndex":[2,"tab-index"],"visible":[4],"onEntry":[1,"on-entry"],"width":[1],"height":[1],"bgColor":[1,"bg-color"],"type":[1],"delayVisible":[1,"delay-visible"],"floatDirection":[1,"float-direction"],"style":[32]}],[0,"lido-image",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"src":[1],"isSlice":[1,"is-slice"],"sliceWidth":[1,"slice-width"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"filter":[1],"borderRadius":[1,"border-radius"],"transform":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-math-matrix",{"rows":[1],"cols":[1],"defualtFill":[2,"defualt-fill"],"leftIndex":[4,"left-index"],"topIndex":[4,"top-index"],"bottomIndex":[4,"bottom-index"],"clickable":[4],"activeOnlyVisible":[4,"active-only-visible"],"matrixImage":[1,"matrix-image"],"activeBgColor":[1,"active-bg-color"],"deactiveBgColor":[1,"deactive-bg-color"],"border":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"z":[1],"margin":[1],"padding":[1],"visible":[1],"text":[1],"type":[1],"value":[1],"tabIndex":[2,"tab-index"],"x":[1],"y":[1],"fontColor":[1,"font-color"],"previousFilledSlot":[32],"previousFilledSlotElement":[32],"style":[32]}],[4,"lido-pos",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-random",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1]}],[4,"lido-row",{"showSpeakIcon":[4,"show-speak-icon"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"display":[1],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-shape",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"shapeType":[1,"shape-type"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"height":[1],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"visible":[8],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"type":[1],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgContent":[32],"style":[32]},null,{"src":["onSrcChange"],"fill":["onPropChange"],"division":["onPropChange"],"fillDirection":["onPropChange"],"numberType":["onPropChange"],"min":["onPropChange"],"max":["onPropChange"]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[1],"audio":[1],"x":[1],"y":[1],"z":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"tabIndex":[2,"tab-index"],"mode":[1],"fingerHintUrl":[1,"finger-hint-url"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"highlightTextId":[1,"highlight-text-id"],"animationTrace":[4,"animation-trace"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgUrls":[32],"audioUrls":[32],"currentSvgIndex":[32],"moving":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[32],"idleTimer":[32],"fingerImg":[32]},null,{"svgSource":["initializeSVG"],"mode":["initializeSVG"]}],[4,"lido-wrap",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"flex":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[4,"lido-cell",{"showSpeakIcon":[4,"show-speak-icon"],"scrollbarWidth":[1,"scrollbar-width"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"gap":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[1],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"layout":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"alignItems":[1,"align-items"],"borderRadius":[1,"border-radius"],"flexDirection":[1,"flex-direction"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-text",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"string":[1],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"highlightWhileSpeaking":[4,"highlight-while-speaking"],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"borderImage":[1,"border-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"onEntry":[1,"on-entry"],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"spanType":[1,"span-type"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as o}from"./p-9a9d5339.js";export{s as setNonce}from"./p-9a9d5339.js";import{g as i}from"./p-e1255160.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((async e=>(await i(),o(JSON.parse('[["p-e1a9c26f",[[0,"lido-root",{"locale":[1],"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"xmlData":[32]},null,{"locale":["onLangChange"]}],[0,"lido-home",{"showNav":[4,"show-nav"],"activeContainerIndexes":[16],"locale":[1],"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"avatarUrl":[1,"avatar-url"],"uuid":[1],"navBarIcons":[32],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"showDotsandbtn":[32]},null,{"locale":["onLangChange"],"xmlData":["onXmlDataChange"]}],[0,"lido-calculator",{"width":[1],"visible":[8],"height":[1],"objective":[1],"onEntry":[1,"on-entry"],"x":[1],"y":[1],"bgColor":[1,"bg-color"],"penIcon":[1,"pen-icon"],"displayValue":[32],"style":[32]}],[0,"lido-keyboard",{"keys":[1],"width":[1],"height":[1],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gap":[1],"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"y":[1],"x":[1],"z":[1],"margin":[1],"padding":[1],"visible":[1],"onEntry":[1,"on-entry"],"type":[1],"keyboardInput":[4,"keyboard-input"],"columns":[1],"letterLength":[2,"letter-length"],"disableSpeak":[4,"disable-speak"],"numberOfClick":[32],"inputString":[32],"style":[32]}],[0,"lido-avatar",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"src":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"]}],[0,"lido-balance",{"pivotimage":[1],"scaleimage":[1],"handlerimage":[1],"fill":[1],"tilt":[2],"maxTilt":[2,"max-tilt"],"onEntry":[1,"on-entry"],"height":[1],"width":[1],"x":[1],"y":[1],"z":[1],"visible":[8],"margin":[1],"padding":[1],"balanceSymbol":[1537,"balance-symbol"],"showSymbol":[1540,"show-symbol"],"operation":[1],"pivotSvg":[32],"scaleSvg":[32],"handlerSvg":[32],"style":[32],"tiltf":[32],"leftVal":[32],"rightVal":[32],"revealSymbol":[64],"hideSymbol":[64],"updateTilt":[64]},null,{"tilt":["tiltChanged"]}],[1,"lido-canvas",{"bgImage":[1,"bg-image"],"width":[1],"height":[1],"x":[1],"y":[1],"onEntry":[1,"on-entry"],"style":[32]}],[4,"lido-col",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"borderImage":[1,"border-image"],"boxShadow":[1,"box-shadow"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-container",{"locale":[1],"showDropBorder":[4,"show-drop-border"],"appendToDropOnCompletion":[4,"append-to-drop-on-completion"],"id":[1],"objective":[1],"customStyle":[1,"custom-style"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"bgImage":[1,"bg-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"canplay":[4],"showCheck":[4,"show-check"],"isContinueOnCorrect":[4,"is-continue-on-correct"],"isAllowOnlyCorrect":[4,"is-allow-only-correct"],"baseUrl":[1,"base-url"],"margin":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"]},null,{"locale":["languageChanged"]}],[4,"lido-flash-card",{"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"direction":[1],"display":[1],"front":[8],"back":[8],"flipped":[1540],"margin":[1],"disableSpeak":[4,"disable-speak"],"delayVisible":[1,"delay-visible"],"style":[32]},null,{"flipped":["handleFlippedChange"]}],[4,"lido-float",{"id":[1],"value":[1],"z":[1],"tabIndex":[2,"tab-index"],"visible":[4],"onEntry":[1,"on-entry"],"width":[1],"height":[1],"bgColor":[1,"bg-color"],"type":[1],"delayVisible":[1,"delay-visible"],"floatDirection":[1,"float-direction"],"style":[32]}],[0,"lido-image",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"src":[1],"isSlice":[1,"is-slice"],"sliceWidth":[1,"slice-width"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"filter":[1],"borderRadius":[1,"border-radius"],"transform":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-math-matrix",{"rows":[1],"cols":[1],"defualtFill":[2,"defualt-fill"],"leftIndex":[4,"left-index"],"topIndex":[4,"top-index"],"bottomIndex":[4,"bottom-index"],"clickable":[4],"activeOnlyVisible":[4,"active-only-visible"],"matrixImage":[1,"matrix-image"],"activeBgColor":[1,"active-bg-color"],"deactiveBgColor":[1,"deactive-bg-color"],"border":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"z":[1],"margin":[1],"padding":[1],"visible":[1],"text":[1],"type":[1],"value":[1],"tabIndex":[2,"tab-index"],"x":[1],"y":[1],"fontColor":[1,"font-color"],"onCorrect":[1,"on-correct"],"onInCorrect":[1,"on-in-correct"],"onEntry":[1,"on-entry"],"previousFilledSlot":[32],"previousFilledSlotElement":[32],"style":[32]}],[4,"lido-pos",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-random",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1]}],[4,"lido-row",{"showSpeakIcon":[4,"show-speak-icon"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"display":[1],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-shape",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"shapeType":[1,"shape-type"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"height":[1],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"visible":[8],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"type":[1],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgContent":[32],"style":[32]},null,{"src":["onSrcChange"],"fill":["onPropChange"],"division":["onPropChange"],"fillDirection":["onPropChange"],"numberType":["onPropChange"],"min":["onPropChange"],"max":["onPropChange"]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[1],"audio":[1],"x":[1],"y":[1],"z":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"tabIndex":[2,"tab-index"],"mode":[1],"fingerHintUrl":[1,"finger-hint-url"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"highlightTextId":[1,"highlight-text-id"],"animationTrace":[4,"animation-trace"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgUrls":[32],"audioUrls":[32],"currentSvgIndex":[32],"moving":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[32],"idleTimer":[32],"fingerImg":[32]},null,{"svgSource":["initializeSVG"],"mode":["initializeSVG"]}],[4,"lido-wrap",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"flex":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[4,"lido-cell",{"showSpeakIcon":[4,"show-speak-icon"],"scrollbarWidth":[1,"scrollbar-width"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"gap":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[1],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"layout":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"alignItems":[1,"align-items"],"borderRadius":[1,"border-radius"],"flexDirection":[1,"flex-direction"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-text",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"string":[1],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"highlightWhileSpeaking":[4,"highlight-while-speaking"],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"borderImage":[1,"border-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"onEntry":[1,"on-entry"],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"spanType":[1,"span-type"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}]]]]'),e))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},d={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,$=[],v=[],y=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.l?g(w):d.raf(w))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{b($),b(v),(m=$.length>0)&&d.raf(w)},g=e=>h().then(e),k=y(v,!0),S=e=>{const t=new URL(e,d.o);return t.origin!==a.location.origin?t.href:t.pathname},j={},O=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>M,map:()=>x,ok:()=>C,unwrap:()=>A,unwrapErr:()=>L});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function x(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var P,R,T,A=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!O(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?N(null,l):l),r=i)};if(u(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=N(e,null);return a.u=t,c.length>0&&(a.h=c),a.p=o,a.m=s,a},N=(e,t)=>({l:0,$:e,i:t,v:null,h:null,u:null,p:null,m:null}),U={},D=e=>n(e).$hostElement$,F=(e,t,n)=>{const l=D(e);return{emit:e=>W(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},W=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},q=new WeakMap,G=e=>"sc-"+e.k,I=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=_(n),s=_(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=O(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(a,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(z);t=t.replace(B,""),n&&d.rel(e,t,n,o),l&&d.ael(e,t,l,o)}}},V=/\s/,_=e=>e?e.split(V):[],z="Capture",B=RegExp(z+"$"),J=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||j,s=t.u||j;for(const e of K(Object.keys(o)))e in s||I(l,e,o[e],void 0,n,t.l);for(const e of K(Object.keys(s)))I(l,e,o[e],s[e],n,t.l)};function K(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Q=!1,X=!1,Y=!1,Z=!1,ee=(e,t,n,l)=>{var o;const s=t.h[n];let i,r,c,u=0;if(Q||(Y=!0,"slot"===s.$&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=f.createTextNode(s.i);else if(1&s.l)i=s.v=f.createTextNode("");else if(i=s.v=f.createElement(!Q&&2&s.l?"slot-fb":s.$),J(null,s,Z),i.getRootNode().querySelector("body"),s.h)for(u=0;u<s.h.length;++u)r=ee(e,s,u,i),r&&i.appendChild(r);return i["s-hn"]=T,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.h&&e.h[n],c&&c.$===s.$&&e.v&&te(e.v,!1)),i},te=(e,t)=>{d.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(he(ie(l),l,se(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,Y=!0),t&&te(l,t)}d.l&=-2},ne=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=ee(null,n,o,e),i&&(l[o].v=i,he(r,i,se(t))))},le=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;de(t),e&&(X=!0,e["s-ol"]?e["s-ol"].remove():te(e,!0),e.remove())}}},oe=(e,t,n=!1)=>!(e.$!==t.$||("slot"===e.$?"S"in e&&n&&8!==e.v.nodeType||e.m!==t.m:!n&&e.p!==t.p)),se=e=>e&&e["s-ol"]||e,ie=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,re=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,i=t.i;let r;null===i?(("slot"!==t.$||Q)&&J(e,t,Z),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=l.length-1,m=l[0],$=l[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=l[++c];else if(null==$)$=l[--p];else if(oe(d,m,o))re(d,m,o),d=t[++r],m=l[++c];else if(oe(h,$,o))re(h,$,o),h=t[--f],$=l[--p];else if(oe(d,$,o))"slot"!==d.$&&"slot"!==$.$||te(d.v.parentNode,!1),re(d,$,o),he(e,d.v,h.v.nextSibling),d=t[++r],$=l[--p];else if(oe(h,m,o))"slot"!==d.$&&"slot"!==$.$||te(h.v.parentNode,!1),re(h,m,o),he(e,h.v,d.v),h=t[--f],m=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.$!==m.$?s=ee(t&&t[c],n,u,e):(re(i,m,o),t[u]=void 0,s=i.v),m=l[++c]):(s=ee(t&&t[c],n,c,e),m=l[++c]),s&&he(ie(d.v),s,se(d.v))}r>f?ne(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&le(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),ne(l,null,t,s,0,s.length-1)):!n&&null!==o&&le(o,0,o.length-1)):(r=l["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(l.data=i)},ce=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}ce(e)}},ue=[],ae=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(fe(t,e)){let n=ue.find((e=>e.j===t));X=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=o["s-hn"],n.O=o):(t["s-sh"]=o["s-hn"],ue.push({O:o,j:t})),t["s-sr"]&&ue.map((e=>{fe(e.j,t["s-sn"])&&(n=ue.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else ue.some((e=>e.j===t))||ue.push({j:t})}1===o.nodeType&&ae(o)}},fe=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,de=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(de)},he=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),pe=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},me=(e,t)=>{if(e.l|=16,!(4&e.l))return pe(e,e.M),k((()=>$e(e,t)));e.l|=512},$e=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=Se(n,"componentWillLoad")),ve(l,(()=>be(e,n,t)))},ve=(e,t)=>ye(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ye=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=G(t),o=r.get(l);if(e=11===e.nodeType?e:f,o)if("string"==typeof o){let s,i=q.get(e=e.head||e);if(i||q.set(e,i=new Set),!i.has(l)){{s=f.createElement("style"),s.innerHTML=o;const l=null!=(n=d.R)?n:E(f);null!=l&&s.setAttribute("nonce",l),(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);we(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ge(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},we=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.P,u=e.T||N(null,null),a=(e=>e&&e.$===U)(t)?t:H(null,null,t);if(T=r.tagName,c.A&&(a.u=a.u||{},c.A.map((([e,t])=>a.u[t]=r[e]))),n&&a.u)for(const e of Object.keys(a.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(a.u[e]=r[e]);if(a.$=null,a.l|=4,e.T=a,a.v=u.v=r.shadowRoot||r,P=r["s-sc"],Q=!!(1&c.l),R=r["s-cr"],X=!1,re(u,a,n),d.l|=1,Y){ae(a.v);for(const e of ue){const t=e.j;if(!t["s-ol"]){const e=f.createTextNode("");e["s-nr"]=t,he(t.parentNode,t["s-ol"]=e,t)}}for(const e of ue){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),he(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}X&&ce(a.v),d.l&=-2,ue.length=0,R=void 0})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},ge=e=>{const t=e.$hostElement$,n=e.t,l=e.M;64&e.l||(e.l|=64,je(t),Se(n,"componentDidLoad"),e.L(t),l||ke()),e.H(t),e.C&&(e.C(),e.C=void 0),512&e.l&&g((()=>me(e,!1))),e.l&=-517},ke=()=>{je(f.documentElement),g((()=>W(a,"appload",{detail:{namespace:"lido-player"}})))},Se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},je=e=>e.classList.add("hydrated"),Oe=(e,t,l)=>{var o,i;const r=e.prototype;if(t.N||t.U||e.watchers){e.watchers&&!t.U&&(t.U=e.watchers);const c=Object.entries(null!=(o=t.N)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).D.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.D.get(t),u=i.l,a=i.t;if(l=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.N[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.D.set(t,l),a)){if(o.U&&128&u){const e=o.U[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&me(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(r,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.F)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){d.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.U)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.U)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.A)||o.push([e,s])),s}))]))}}return e},Ee=e=>{Se(e,"connectedCallback")},Ce=e=>{Se(e,"disconnectedCallback")},Me=(e,l={})=>{var o;const u=[],h=l.exclude||[],m=a.customElements,$=f.head,v=$.querySelector("meta[charset]"),y=f.createElement("style"),b=[];let w,g=!0;Object.assign(d,l),d.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],k:l[1],N:l[2],W:l[3]};4&c.l&&(k=!0),c.N=l[2],c.A=[],c.U=null!=(o=l[4])?o:{};const a=c.k,$=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,P:n,D:new Map};l.F=new Promise((e=>l.H=e)),l.q=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),g?b.push(this):d.jmp((()=>(e=>{if(!(1&d.l)){const t=n(e),l=t.P,o=()=>{};if(1&t.l)(null==t?void 0:t.t)?Ee(t.t):(null==t?void 0:t.q)&&t.q.then((()=>Ee(t.t)));else{t.l|=1,12&l.l&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,he(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){pe(t,t.M=n);break}}l.N&&Object.entries(l.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.G){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.G;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.k}#${t.I}" was not found`);l.isProxied||(n.U=l.watchers,Oe(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Ee(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=G(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.M,c=()=>me(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.l)){const e=n(this);(null==e?void 0:e.t)?Ce(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Ce(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],h.includes(a)||m.get(a)||(u.push(a),m.define(a,Oe($,c,1)))}))})),u.length>0&&(k&&(y.textContent+=c),y.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(o=d.R)?o:E(f);null!=e&&y.setAttribute("nonce",e),$.insertBefore(y,v?v.nextSibling:$.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):d.jmp((()=>w=setTimeout(ke,30)))},xe=e=>d.R=e;export{U as H,D as a,Me as b,F as c,S as g,H as h,h as p,l as r,xe as s}
|