lido-player 0.0.2-beta-14 → 0.0.2-beta-15
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/{decode-BLUeYhas.js → decode-xNTgi2vl.js} +1 -1
- package/dist/cjs/{index-CNWniNnt.js → index-BFTVvr1n.js} +92 -86
- package/dist/cjs/{index-CS8kGcZo.js → index-Dy19zuTX.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +33 -33
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
- package/dist/collection/components/avatar/readme.md +49 -49
- package/dist/collection/components/calculator/lido-calculator.css +77 -77
- package/dist/collection/components/calculator/lido-calculator.js +2 -2
- package/dist/collection/components/canvas/lido-canvas.css +1 -1
- package/dist/collection/components/canvas/lido-canvas.js +1 -1
- 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 +8 -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 +309 -309
- package/dist/collection/components/home/lido-home.js +5 -5
- 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 +1 -1
- 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 +5 -5
- 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 -145
- package/dist/collection/components/scale/lido-balance.js +13 -13
- package/dist/collection/components/shape/lido-shape.css +216 -216
- package/dist/collection/components/shape/lido-shape.js +6 -6
- 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 +5 -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 +211 -211
- package/dist/collection/css/index.css +312 -312
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +58 -58
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
- 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 +29 -29
- 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 +43 -43
- 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/imageMatch/imageMatch.stories.js +44 -44
- 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 +84 -84
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
- 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 +57 -57
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
- 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 +58 -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/quizMaths/quizMaths.stories.js +631 -631
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
- 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/substraction/substractionWithimg.stories.js +62 -62
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
- package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
- package/dist/collection/stories/Templates/total/total.stories.js +28 -28
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
- 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/utils.js +12 -10
- package/dist/collection/utils/utilsHandlers/animationHandler.js +25 -21
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/lidoCalculatorHandler.js +8 -8
- 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.js +1 -1
- 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-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 +1 -1
- 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-DaMpzrMk.js → p-B8USa8EO.js} +1 -1
- package/dist/components/p-BJ4H1UxZ.js +1 -0
- package/dist/components/{p-CRzTmKDJ.js → p-BP79Al--.js} +1 -1
- package/dist/components/p-BSV5U72F.js +1 -0
- package/dist/components/{p-DLyacZap.js → p-BiNO9454.js} +1 -1
- package/dist/components/{p-MkbxS5lW.js → p-C7U1h9gI.js} +1 -1
- package/dist/components/{p-CgsPIpg0.js → p-CDhOF-lb.js} +1 -1
- package/dist/components/{p-C5WmmkI6.js → p-CFNRhdZZ.js} +1 -1
- package/dist/components/{p-C70ykycD.js → p-CLX-8DBk.js} +1 -1
- package/dist/components/{p-DbZeFECr.js → p-CbZUFX8q.js} +2 -2
- package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
- package/dist/components/p-D-B1groh.js +1 -0
- package/dist/components/{p-BBHM059l.js → p-D2RiLzSu.js} +1 -1
- package/dist/components/{p-fBjZoiLo.js → p-DH6lvh19.js} +1 -1
- package/dist/components/{p-D4s9ZWCB.js → p-DPAlnts-.js} +1 -1
- package/dist/components/{p-NHusmM9J.js → p-DVn4BL1l.js} +1 -1
- package/dist/components/{p-CayICx4g.js → p-DYs8s-uh.js} +1 -1
- package/dist/components/{p-CXHPZN3m.js → p-DflRPD3L.js} +1 -1
- package/dist/components/{p-CCR42e0i.js → p-kmKkLN_7.js} +1 -1
- package/dist/components/p-leIEepjl.js +1 -0
- package/dist/esm/{decode-DpcU-915.js → decode-DyBLrL5N.js} +1 -1
- package/dist/esm/{index-Dki_0kla.js → index-B7s7KKj1.js} +92 -86
- package/dist/esm/{index-Dfj4noku.js → index-Dq-Z8Dx0.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +33 -33
- package/dist/esm/lido-player.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-avatar.css +4 -4
- package/dist/lido-player/lido-avatar.tsx +207 -207
- package/dist/lido-player/lido-player.css +7 -7
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-476aaf0e.entry.js → p-05fff653.entry.js} +2 -2
- package/dist/lido-player/p-CofY42mG.js +1 -0
- package/dist/lido-player/{p-BZv5PD3F.js → p-Detap4vV.js} +1 -1
- package/dist/lido-player/p-Dq-Z8Dx0.js +2 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/types/json.d.ts +3 -3
- package/package.json +73 -73
- package/readme.md +113 -113
- package/dist/components/p-CTlcpv4a.js +0 -1
- package/dist/components/p-CwIlwnQk.js +0 -1
- package/dist/components/p-DONbWJGn.js +0 -1
- package/dist/components/p-DVTigdH_.js +0 -1
- package/dist/lido-player/p-Dfj4noku.js +0 -2
- package/dist/lido-player/p-pxe3GMFr.js +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./index-
|
|
3
|
+
var index$1 = require('./index-Dy19zuTX.js');
|
|
4
4
|
|
|
5
5
|
const DragMapKey = 'lidoDragMap';
|
|
6
6
|
const SelectedValuesKey = 'lidoSelectedValues';
|
|
@@ -263,7 +263,7 @@ function balanceResult(container, objectiveString) {
|
|
|
263
263
|
const tempVanishedValues = [];
|
|
264
264
|
function dragDropAnimation(container, dragElement, dropElement) {
|
|
265
265
|
container.style.pointerEvents = "none";
|
|
266
|
-
setTimeout(() => {
|
|
266
|
+
setTimeout(async () => {
|
|
267
267
|
var _a, _b, _c;
|
|
268
268
|
const div = document.createElement('div');
|
|
269
269
|
container.append(div);
|
|
@@ -293,27 +293,31 @@ function dragDropAnimation(container, dragElement, dropElement) {
|
|
|
293
293
|
div.appendChild(dragElement);
|
|
294
294
|
div.appendChild(dropElement);
|
|
295
295
|
dropElement.classList.remove('empty');
|
|
296
|
+
const objective = container.getAttribute('objective');
|
|
297
|
+
const isObjectiveComplete = !!objective &&
|
|
298
|
+
tempVanishedValues.map(v => v.trim()).sort().join(',') ===
|
|
299
|
+
objective.split(',').map(v => v.trim()).sort().join(',');
|
|
300
|
+
if (dropElement.getAttribute('type') === 'drop') {
|
|
301
|
+
const dropOnCorrect = dropElement.getAttribute('onCorrect') || '';
|
|
302
|
+
await executeActions(dropOnCorrect, dropElement, dragElement);
|
|
303
|
+
}
|
|
304
|
+
if (isObjectiveComplete) {
|
|
305
|
+
const containerOnCorrect = (container === null || container === void 0 ? void 0 : container.getAttribute('onCorrect')) || '';
|
|
306
|
+
await executeActions(containerOnCorrect, container);
|
|
307
|
+
}
|
|
308
|
+
dragElement.classList.remove('zoom-fade-in');
|
|
309
|
+
dropElement.classList.remove('zoom-fade-in');
|
|
310
|
+
dragElement.classList.add('zoom-fade-out');
|
|
311
|
+
dropElement.classList.add('zoom-fade-out');
|
|
296
312
|
setTimeout(() => {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
if (objective && tempVanishedValues.map(v => v.trim()).sort().join(',') === objective.split(',').map(v => v.trim()).sort().join(',')) {
|
|
306
|
-
(async () => {
|
|
307
|
-
// isCorrect=true;
|
|
308
|
-
const onCorrect = (container === null || container === void 0 ? void 0 : container.getAttribute('onCorrect')) || '';
|
|
309
|
-
await executeActions(onCorrect, container);
|
|
310
|
-
calculateScore();
|
|
311
|
-
triggerNextContainer();
|
|
312
|
-
tempVanishedValues.length = 0;
|
|
313
|
-
})();
|
|
314
|
-
}
|
|
315
|
-
}, 800); // match animation duration
|
|
316
|
-
}, 2000); // stay for 2 seconds
|
|
313
|
+
div.remove();
|
|
314
|
+
container.style.pointerEvents = 'auto';
|
|
315
|
+
if (isObjectiveComplete) {
|
|
316
|
+
calculateScore();
|
|
317
|
+
triggerNextContainer();
|
|
318
|
+
tempVanishedValues.length = 0;
|
|
319
|
+
}
|
|
320
|
+
}, 800); // match animation duration
|
|
317
321
|
}, 250);
|
|
318
322
|
}
|
|
319
323
|
|
|
@@ -1136,14 +1140,14 @@ async function onClickDropOrDragElement(element, type) {
|
|
|
1136
1140
|
if (!document.querySelector('#dynamic-highlight-style')) {
|
|
1137
1141
|
const style = document.createElement('style');
|
|
1138
1142
|
style.id = 'dynamic-highlight-style';
|
|
1139
|
-
style.innerHTML = `
|
|
1140
|
-
.highlight {
|
|
1141
|
-
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1142
|
-
// border-radius: 12px; /* Larger rounded corners */
|
|
1143
|
-
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1144
|
-
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1145
|
-
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1146
|
-
}
|
|
1143
|
+
style.innerHTML = `
|
|
1144
|
+
.highlight {
|
|
1145
|
+
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1146
|
+
// border-radius: 12px; /* Larger rounded corners */
|
|
1147
|
+
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1148
|
+
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1149
|
+
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1150
|
+
}
|
|
1147
1151
|
`;
|
|
1148
1152
|
document.head.appendChild(style);
|
|
1149
1153
|
}
|
|
@@ -1331,34 +1335,34 @@ function highlightSpeakingElement(element) {
|
|
|
1331
1335
|
if (!document.getElementById(styleId)) {
|
|
1332
1336
|
const style = document.createElement('style');
|
|
1333
1337
|
style.id = styleId;
|
|
1334
|
-
style.innerHTML = `
|
|
1335
|
-
.speaking-highlight {
|
|
1336
|
-
--base-transform: ${element.style.transform};
|
|
1337
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
1338
|
-
// border: 3px solid green !important;
|
|
1339
|
-
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
1340
|
-
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
1341
|
-
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
@keyframes pulseEffect {
|
|
1346
|
-
0% {
|
|
1347
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1348
|
-
// transform: var(--base-transform) scale(1.05);
|
|
1349
|
-
// background-color: #FFFF0B;
|
|
1350
|
-
}
|
|
1351
|
-
50% {
|
|
1352
|
-
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
1353
|
-
// transform: var(--base-transform) scale(1.1);
|
|
1354
|
-
// background-color: #FFFF0B;
|
|
1355
|
-
}
|
|
1356
|
-
100% {
|
|
1357
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1358
|
-
// transform: var(--base-transform) scale(1.05);
|
|
1359
|
-
// background-color: #FFFF0B;
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1338
|
+
style.innerHTML = `
|
|
1339
|
+
.speaking-highlight {
|
|
1340
|
+
--base-transform: ${element.style.transform};
|
|
1341
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
1342
|
+
// border: 3px solid green !important;
|
|
1343
|
+
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
1344
|
+
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
1345
|
+
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
1346
|
+
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
@keyframes pulseEffect {
|
|
1350
|
+
0% {
|
|
1351
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1352
|
+
// transform: var(--base-transform) scale(1.05);
|
|
1353
|
+
// background-color: #FFFF0B;
|
|
1354
|
+
}
|
|
1355
|
+
50% {
|
|
1356
|
+
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
1357
|
+
// transform: var(--base-transform) scale(1.1);
|
|
1358
|
+
// background-color: #FFFF0B;
|
|
1359
|
+
}
|
|
1360
|
+
100% {
|
|
1361
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1362
|
+
// transform: var(--base-transform) scale(1.05);
|
|
1363
|
+
// background-color: #FFFF0B;
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1362
1366
|
`;
|
|
1363
1367
|
document.head.appendChild(style);
|
|
1364
1368
|
}
|
|
@@ -2048,11 +2052,11 @@ function enableReorderDrag(element) {
|
|
|
2048
2052
|
onDropToCategory(element, category);
|
|
2049
2053
|
}
|
|
2050
2054
|
if (divEl) {
|
|
2051
|
-
const keyframes = `
|
|
2052
|
-
@keyframes widthDecrease {
|
|
2053
|
-
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
2054
|
-
100% { width: 0px; height: 0px;}
|
|
2055
|
-
}
|
|
2055
|
+
const keyframes = `
|
|
2056
|
+
@keyframes widthDecrease {
|
|
2057
|
+
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
2058
|
+
100% { width: 0px; height: 0px;}
|
|
2059
|
+
}
|
|
2056
2060
|
`;
|
|
2057
2061
|
const styleSheet = document.styleSheets[0];
|
|
2058
2062
|
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
|
|
@@ -2265,11 +2269,11 @@ function moveWithAnimation(target, overlapped) {
|
|
|
2265
2269
|
const dummy = createDummyElement(target);
|
|
2266
2270
|
dummy.style.visibility = 'hidden';
|
|
2267
2271
|
dummy.setAttribute('type', 'dummy');
|
|
2268
|
-
const keyframes = `
|
|
2269
|
-
@keyframes widthIncrease {
|
|
2270
|
-
0% { width: 0px; height: 0px; }
|
|
2271
|
-
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
2272
|
-
}
|
|
2272
|
+
const keyframes = `
|
|
2273
|
+
@keyframes widthIncrease {
|
|
2274
|
+
0% { width: 0px; height: 0px; }
|
|
2275
|
+
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
2276
|
+
}
|
|
2273
2277
|
`;
|
|
2274
2278
|
if (!overlapped) {
|
|
2275
2279
|
const overlapCategory = findMostoverlappedElement(target, 'category');
|
|
@@ -71918,14 +71922,14 @@ const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
|
|
|
71918
71922
|
/* ------------------ animation ------------------ */
|
|
71919
71923
|
const animationToRemoveEquationSolvedCellForNimbleTable = (activeCell, container) => {
|
|
71920
71924
|
return new Promise((resolve) => {
|
|
71921
|
-
const keyframes = `
|
|
71922
|
-
@keyframes widthDecrease {
|
|
71923
|
-
0% {
|
|
71924
|
-
background-color: ${activeCell.style.backgroundColor};
|
|
71925
|
-
height: ${activeCell.style.height};
|
|
71926
|
-
margin: ${activeCell.style.margin};
|
|
71927
|
-
}
|
|
71928
|
-
100% { background-color: transparent; height: 0px; margin: 0px; }
|
|
71925
|
+
const keyframes = `
|
|
71926
|
+
@keyframes widthDecrease {
|
|
71927
|
+
0% {
|
|
71928
|
+
background-color: ${activeCell.style.backgroundColor};
|
|
71929
|
+
height: ${activeCell.style.height};
|
|
71930
|
+
margin: ${activeCell.style.margin};
|
|
71931
|
+
}
|
|
71932
|
+
100% { background-color: transparent; height: 0px; margin: 0px; }
|
|
71929
71933
|
}`;
|
|
71930
71934
|
const styleSheet = document.styleSheets[0];
|
|
71931
71935
|
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
|
|
@@ -72749,11 +72753,11 @@ const afterDropDragHandling = (dragElement, dropElement) => {
|
|
|
72749
72753
|
}
|
|
72750
72754
|
dummyElement.setAttribute('id', dragElement.getAttribute('id'));
|
|
72751
72755
|
dragElement.replaceWith(dummyElement);
|
|
72752
|
-
const keyframes = `
|
|
72753
|
-
@keyframes widthDecrease {
|
|
72754
|
-
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
72755
|
-
100% { width: 0px; height: 0px; margin: 0px;}
|
|
72756
|
-
}
|
|
72756
|
+
const keyframes = `
|
|
72757
|
+
@keyframes widthDecrease {
|
|
72758
|
+
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
72759
|
+
100% { width: 0px; height: 0px; margin: 0px;}
|
|
72760
|
+
}
|
|
72757
72761
|
`;
|
|
72758
72762
|
if (!isInfinite) {
|
|
72759
72763
|
dummyElement.style.width = element.style.width;
|
|
@@ -72957,7 +72961,7 @@ const calculateScore = () => {
|
|
|
72957
72961
|
gameScore.wrongMoves = 0;
|
|
72958
72962
|
};
|
|
72959
72963
|
async function onActivityComplete(dragElement, dropElement) {
|
|
72960
|
-
var _a;
|
|
72964
|
+
var _a, _b;
|
|
72961
72965
|
const container = document.getElementById(LidoContainer);
|
|
72962
72966
|
if (!container)
|
|
72963
72967
|
return;
|
|
@@ -72972,7 +72976,9 @@ async function onActivityComplete(dragElement, dropElement) {
|
|
|
72972
72976
|
console.log("Right Moves : ", gameScore.rightMoves);
|
|
72973
72977
|
console.log("Wrong Moves : ", gameScore.wrongMoves);
|
|
72974
72978
|
}
|
|
72975
|
-
const onCorrect =
|
|
72979
|
+
const onCorrect = ((_a = container.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.EnableAnimation.toLowerCase()
|
|
72980
|
+
? ''
|
|
72981
|
+
: dropElement.getAttribute('onCorrect');
|
|
72976
72982
|
if (onCorrect) {
|
|
72977
72983
|
await executeActions(onCorrect, dropElement, dragElement);
|
|
72978
72984
|
}
|
|
@@ -72997,7 +73003,7 @@ async function onActivityComplete(dragElement, dropElement) {
|
|
|
72997
73003
|
const sortedValues = getSortedValuesArrayFromMap(dragScore);
|
|
72998
73004
|
container.setAttribute(SelectedValuesKey, JSON.stringify(sortedValues));
|
|
72999
73005
|
//localStorage
|
|
73000
|
-
let drag = JSON.parse((
|
|
73006
|
+
let drag = JSON.parse((_b = localStorage.getItem(DragMapKey)) !== null && _b !== void 0 ? _b : '{}');
|
|
73001
73007
|
const index = dropElement.getAttribute('tab-index');
|
|
73002
73008
|
if (!drag[index]) {
|
|
73003
73009
|
drag[index] = [];
|
|
@@ -73081,7 +73087,7 @@ const storeActivityScore = (score) => {
|
|
|
73081
73087
|
}
|
|
73082
73088
|
};
|
|
73083
73089
|
const handleShowCheck = () => {
|
|
73084
|
-
var _a, _b;
|
|
73090
|
+
var _a, _b, _c;
|
|
73085
73091
|
const container = document.getElementById(LidoContainer);
|
|
73086
73092
|
const objectiveString = container['objective'];
|
|
73087
73093
|
const selectValues = (_a = container.getAttribute(SelectedValuesKey)) !== null && _a !== void 0 ? _a : '';
|
|
@@ -73095,7 +73101,7 @@ const handleShowCheck = () => {
|
|
|
73095
73101
|
(_b = checkButton === null || checkButton === void 0 ? void 0 : checkButton.classList) === null || _b === void 0 ? void 0 : _b.remove('lido-disable-check-button');
|
|
73096
73102
|
}
|
|
73097
73103
|
else {
|
|
73098
|
-
if (!container.getAttribute("game-completed") && !container.querySelector("[type='slide']") && !container.querySelector("[type='category']")) {
|
|
73104
|
+
if (!container.getAttribute("game-completed") && !container.querySelector("[type='slide']") && !container.querySelector("[type='category']") && ((_c = container.getAttribute('dropAttr')) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== DropMode.EnableAnimation.toLowerCase()) {
|
|
73099
73105
|
validateObjectiveStatus();
|
|
73100
73106
|
}
|
|
73101
73107
|
}
|
|
@@ -22,7 +22,7 @@ const NAMESPACE = 'lido-player';
|
|
|
22
22
|
const BUILD = /* lido-player */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
23
23
|
|
|
24
24
|
const globalScripts = () => {};
|
|
25
|
-
const globalStyles = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;left:0;top:0;pointer-events:none;z-index:9999;background:linear-gradient(\n 180deg,\n rgba(255, 235, 59, 0.95),\n rgba(255, 214, 0, 0.95)\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:width 25ms ease-out,\n height 25ms ease-out,\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}";
|
|
25
|
+
const globalStyles = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;left:0;top:0;pointer-events:none;z-index:9999;background:linear-gradient(\r\n 180deg,\r\n rgba(255, 235, 59, 0.95),\r\n rgba(255, 214, 0, 0.95)\r\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\r\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:width 25ms ease-out,\r\n height 25ms ease-out,\r\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}";
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
28
|
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|