lido-player 0.0.2-beta-18-dev → 0.0.2-beta-21-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.
Files changed (232) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{decode-DUZYNXIv.js → decode-Buln7Iaf.js} +1 -1
  3. package/dist/cjs/{index-BEjUmVtH.js → index-Bb_TFgTA.js} +137 -64
  4. package/dist/cjs/{index-DnqQXD5x.js → index-DBCFoh1I.js} +12 -53
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/lido-avatar_22.cjs.entry.js +139 -50
  7. package/dist/cjs/lido-player.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/collection-manifest.json +1 -1
  10. package/dist/collection/components/avatar/lido-avatar.css +4 -4
  11. package/dist/collection/components/avatar/lido-avatar.js +1 -1
  12. package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
  13. package/dist/collection/components/avatar/readme.md +49 -49
  14. package/dist/collection/components/calculator/lido-calculator.css +89 -89
  15. package/dist/collection/components/calculator/lido-calculator.js +2 -2
  16. package/dist/collection/components/canvas/lido-canvas.css +33 -33
  17. package/dist/collection/components/canvas/lido-canvas.js +1 -1
  18. package/dist/collection/components/cell/lido-cell.css +100 -100
  19. package/dist/collection/components/cell/lido-cell.js +12 -12
  20. package/dist/collection/components/column/lido-col.css +19 -19
  21. package/dist/collection/components/column/lido-col.js +6 -6
  22. package/dist/collection/components/container/lido-container.css +10 -10
  23. package/dist/collection/components/container/lido-container.js +8 -8
  24. package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
  25. package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
  26. package/dist/collection/components/float/lido-float.css +30 -30
  27. package/dist/collection/components/float/lido-float.js +2 -2
  28. package/dist/collection/components/home/lido-home.css +309 -309
  29. package/dist/collection/components/home/lido-home.js +5 -5
  30. package/dist/collection/components/image/lido-image.css +17 -17
  31. package/dist/collection/components/image/lido-image.js +6 -6
  32. package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
  33. package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
  34. package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
  35. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  36. package/dist/collection/components/position/lido-pos.css +16 -16
  37. package/dist/collection/components/position/lido-pos.js +2 -2
  38. package/dist/collection/components/random/lido-random.css +8 -8
  39. package/dist/collection/components/random/lido-random.js +2 -2
  40. package/dist/collection/components/root/lido-root.js +5 -5
  41. package/dist/collection/components/row/lido-row.css +10 -10
  42. package/dist/collection/components/row/lido-row.js +6 -6
  43. package/dist/collection/components/scale/assets/Shadow.svg +9 -9
  44. package/dist/collection/components/scale/lido-balance.css +145 -145
  45. package/dist/collection/components/scale/lido-balance.js +13 -13
  46. package/dist/collection/components/shape/lido-shape.css +216 -216
  47. package/dist/collection/components/shape/lido-shape.js +6 -6
  48. package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
  49. package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
  50. package/dist/collection/components/text/lido-text.css +53 -53
  51. package/dist/collection/components/text/lido-text.js +5 -5
  52. package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
  53. package/dist/collection/components/trace/lido-trace.css +97 -97
  54. package/dist/collection/components/trace/lido-trace.js +108 -19
  55. package/dist/collection/components/wrap/lido-wrap.css +18 -18
  56. package/dist/collection/components/wrap/lido-wrap.js +6 -6
  57. package/dist/collection/css/animation.css +211 -211
  58. package/dist/collection/css/index.css +324 -315
  59. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
  60. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
  61. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
  62. package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
  63. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
  64. package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
  65. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
  66. package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
  67. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
  68. package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
  69. package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
  70. package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
  71. package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
  72. package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
  73. package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
  74. package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
  75. package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
  76. package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
  77. package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
  78. package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
  79. package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
  80. package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
  81. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
  82. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
  83. package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
  84. package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
  85. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
  86. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
  87. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
  88. package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
  89. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
  90. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
  91. package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
  92. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
  93. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
  94. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
  95. package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
  96. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
  97. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
  98. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
  99. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
  100. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
  101. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
  102. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
  103. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
  104. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
  105. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
  106. package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
  107. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
  108. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
  109. package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
  110. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
  111. package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
  112. package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
  113. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
  114. package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
  115. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
  116. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
  117. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
  118. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
  119. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
  120. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
  121. package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
  122. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
  123. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
  124. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
  125. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
  126. package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
  127. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
  128. package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
  129. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
  130. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
  131. package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
  132. package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
  133. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
  134. package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
  135. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
  136. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
  137. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
  138. package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
  139. package/dist/collection/stories/Templates/total/total.stories.js +28 -28
  140. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
  141. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
  142. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
  143. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
  144. package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
  145. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
  146. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
  147. package/dist/collection/stories/components/flash-card.stories.js +48 -48
  148. package/dist/collection/stories/components/keyboard.stories.js +10 -10
  149. package/dist/collection/stories/components/slider.stories.js +4 -4
  150. package/dist/collection/stories/components/trace.stories.js +5 -5
  151. package/dist/collection/utils/audioPlayer.js +2 -5
  152. package/dist/collection/utils/utils.js +49 -9
  153. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +10 -10
  154. package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
  155. package/dist/collection/utils/utilsHandlers/sortHandler.js +53 -15
  156. package/dist/components/index.js +1 -1
  157. package/dist/components/lido-avatar.js +1 -1
  158. package/dist/components/lido-balance.js +1 -1
  159. package/dist/components/lido-calculator.js +1 -1
  160. package/dist/components/lido-canvas.js +1 -1
  161. package/dist/components/lido-cell.js +1 -1
  162. package/dist/components/lido-col.js +1 -1
  163. package/dist/components/lido-container.js +1 -1
  164. package/dist/components/lido-flash-card.js +1 -1
  165. package/dist/components/lido-float.js +1 -1
  166. package/dist/components/lido-home.js +1 -1
  167. package/dist/components/lido-keyboard.js +1 -1
  168. package/dist/components/lido-math-matrix.js +1 -1
  169. package/dist/components/lido-pos.js +1 -1
  170. package/dist/components/lido-random.js +1 -1
  171. package/dist/components/lido-root.js +1 -1
  172. package/dist/components/lido-row.js +1 -1
  173. package/dist/components/lido-shape.js +1 -1
  174. package/dist/components/lido-slide-fill.js +1 -1
  175. package/dist/components/lido-text.js +1 -1
  176. package/dist/components/lido-trace.js +1 -1
  177. package/dist/components/lido-wrap.js +1 -1
  178. package/dist/components/{p-yT7udDfd.js → p-B4YAipq-.js} +1 -1
  179. package/dist/components/{p-DdQ1eqJr.js → p-B8nzzM8c.js} +1 -1
  180. package/dist/components/p-BAfFgI9q.js +1 -0
  181. package/dist/components/{p-Sl9R-E6h.js → p-BBHM059l.js} +1 -1
  182. package/dist/components/{p-SPZTb5fI.js → p-BJMjg5wu.js} +1 -1
  183. package/dist/components/{p-Cj-6tqzU.js → p-BOQDbCrm.js} +1 -1
  184. package/dist/components/{p-CwDTdXe5.js → p-BeRr8u5m.js} +1 -1
  185. package/dist/components/{p-CjdDpXfk.js → p-BfqihbR6.js} +1 -1
  186. package/dist/components/{p-CPYnt0P-.js → p-C5WmmkI6.js} +1 -1
  187. package/dist/components/{p-useuhkjH.js → p-C70ykycD.js} +1 -1
  188. package/dist/components/{p-BE25wHoo.js → p-CCR42e0i.js} +1 -1
  189. package/dist/components/{p-BfwUqpXc.js → p-CTlcpv4a.js} +1 -1
  190. package/dist/components/{p-CyGxEcn7.js → p-CXHPZN3m.js} +1 -1
  191. package/dist/components/{p-Bw-OC9iR.js → p-CgsPIpg0.js} +1 -1
  192. package/dist/components/{p-D54c-ybm.js → p-CljvnHkI.js} +1 -1
  193. package/dist/components/p-CwIlwnQk.js +1 -0
  194. package/dist/components/p-DLyacZap.js +1 -0
  195. package/dist/components/p-DONbWJGn.js +1 -0
  196. package/dist/components/p-DVTigdH_.js +1 -0
  197. package/dist/components/{p-BNNX1Pew.js → p-wF7SBGpr.js} +2 -2
  198. package/dist/esm/{decode-BgBfbPZu.js → decode-B_VrYFdJ.js} +1 -1
  199. package/dist/esm/{index-D-29PaRa.js → index-B-VyHxJa.js} +137 -64
  200. package/dist/esm/{index-BeHFCsWf.js → index-mMpK8062.js} +12 -53
  201. package/dist/esm/index.js +2 -2
  202. package/dist/esm/lido-avatar_22.entry.js +139 -50
  203. package/dist/esm/lido-player.js +3 -3
  204. package/dist/esm/loader.js +2 -2
  205. package/dist/lido-player/assets/Shadow.svg +9 -9
  206. package/dist/lido-player/assets/Tracing-hand.svg +8 -8
  207. package/dist/lido-player/index.esm.js +1 -1
  208. package/dist/lido-player/lido-avatar.css +4 -4
  209. package/dist/lido-player/lido-avatar.tsx +207 -207
  210. package/dist/lido-player/lido-player.css +8 -8
  211. package/dist/lido-player/lido-player.esm.js +1 -1
  212. package/dist/lido-player/{p-856e1956.entry.js → p-744dee1c.entry.js} +2 -2
  213. package/dist/lido-player/p-BK926Rl3.js +1 -0
  214. package/dist/lido-player/{p-BA2X6O7O.js → p-Cw84dpIR.js} +1 -1
  215. package/dist/lido-player/p-mMpK8062.js +2 -0
  216. package/dist/lido-player/readme.md +49 -49
  217. package/dist/types/components/trace/lido-trace.d.ts +9 -1
  218. package/dist/types/stencil-public-runtime.d.ts +0 -12
  219. package/dist/types/types/json.d.ts +3 -3
  220. package/dist/types/utils/utils.d.ts +1 -1
  221. package/dist/types/utils/utilsHandlers/dragDropHandler.d.ts +1 -0
  222. package/dist/types/utils/utilsHandlers/sortHandler.d.ts +2 -0
  223. package/loader/index.d.ts +1 -1
  224. package/package.json +74 -74
  225. package/readme.md +113 -113
  226. package/dist/components/p-BSV5U72F.js +0 -1
  227. package/dist/components/p-CTlwn9r7.js +0 -1
  228. package/dist/components/p-D-B1groh.js +0 -1
  229. package/dist/components/p-DbR5sNOj.js +0 -1
  230. package/dist/components/p-leIEepjl.js +0 -1
  231. package/dist/lido-player/p-BeHFCsWf.js +0 -3
  232. package/dist/lido-player/p-TuBmCgtK.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 = require('./index-BEjUmVtH.js');
3
+ var index = require('./index-Bb_TFgTA.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-DnqQXD5x.js');
3
+ var index$1 = require('./index-DBCFoh1I.js');
4
4
 
5
5
  const DragMapKey = 'lidoDragMap';
6
6
  const SelectedValuesKey = 'lidoSelectedValues';
@@ -767,7 +767,7 @@ function animateDragToTarget(dragElement, targetElement, container, transition =
767
767
  const dy = dropRect.top - dragRect.top;
768
768
  const finalX = currentX + dx * (1 / calculateScale());
769
769
  const finalY = currentY + dy * (1 / calculateScale());
770
- dragElement.style.transition = 'transform 0.5s ease';
770
+ dragElement.style.transition = 'transform 1s ease';
771
771
  dragElement.style.transform = `translate(${finalX}px, ${finalY}px)`;
772
772
  }
773
773
  async function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedValueData, dragSelectedData, dropSelectedData) {
@@ -1179,14 +1179,14 @@ async function onClickDropOrDragElement(element, type) {
1179
1179
  if (!document.querySelector('#dynamic-highlight-style')) {
1180
1180
  const style = document.createElement('style');
1181
1181
  style.id = 'dynamic-highlight-style';
1182
- style.innerHTML = `
1183
- .highlight {
1184
- // border: 4px solid #e74c3c; /* Thicker red border for more visibility */
1185
- // border-radius: 12px; /* Larger rounded corners */
1186
- // background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
1187
- // box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
1188
- // outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
1189
- }
1182
+ style.innerHTML = `
1183
+ .highlight {
1184
+ // border: 4px solid #e74c3c; /* Thicker red border for more visibility */
1185
+ // border-radius: 12px; /* Larger rounded corners */
1186
+ // background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
1187
+ // box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
1188
+ // outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
1189
+ }
1190
1190
  `;
1191
1191
  document.head.appendChild(style);
1192
1192
  }
@@ -1374,34 +1374,34 @@ function highlightSpeakingElement(element) {
1374
1374
  if (!document.getElementById(styleId)) {
1375
1375
  const style = document.createElement('style');
1376
1376
  style.id = styleId;
1377
- style.innerHTML = `
1378
- .speaking-highlight {
1379
- --base-transform: ${element.style.transform};
1380
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1381
- // border: 3px solid green !important;
1382
- // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1383
- // transform: scale(1.05); /* Subtle scale effect to pop the element */
1384
- // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1385
-
1386
- }
1387
-
1388
- @keyframes pulseEffect {
1389
- 0% {
1390
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1391
- // transform: var(--base-transform) scale(1.05);
1392
- // background-color: #FFFF0B;
1393
- }
1394
- 50% {
1395
- box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1396
- // transform: var(--base-transform) scale(1.1);
1397
- // background-color: #FFFF0B;
1398
- }
1399
- 100% {
1400
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1401
- // transform: var(--base-transform) scale(1.05);
1402
- // background-color: #FFFF0B;
1403
- }
1404
- }
1377
+ style.innerHTML = `
1378
+ .speaking-highlight {
1379
+ --base-transform: ${element.style.transform};
1380
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1381
+ // border: 3px solid green !important;
1382
+ // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1383
+ // transform: scale(1.05); /* Subtle scale effect to pop the element */
1384
+ // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1385
+
1386
+ }
1387
+
1388
+ @keyframes pulseEffect {
1389
+ 0% {
1390
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1391
+ // transform: var(--base-transform) scale(1.05);
1392
+ // background-color: #FFFF0B;
1393
+ }
1394
+ 50% {
1395
+ box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1396
+ // transform: var(--base-transform) scale(1.1);
1397
+ // background-color: #FFFF0B;
1398
+ }
1399
+ 100% {
1400
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1401
+ // transform: var(--base-transform) scale(1.05);
1402
+ // background-color: #FFFF0B;
1403
+ }
1404
+ }
1405
1405
  `;
1406
1406
  document.head.appendChild(style);
1407
1407
  }
@@ -1640,11 +1640,8 @@ class AudioPlayer {
1640
1640
  this.resolvePlaybackWait();
1641
1641
  }
1642
1642
  };
1643
- this.audioElement.onstalled = () => {
1644
- if (this.playbackHasStarted) {
1645
- this.resolvePlaybackWait();
1646
- }
1647
- };
1643
+ // Buffering is temporary: keep waiting for the clip to finish.
1644
+ this.audioElement.onstalled = null;
1648
1645
  this.audioElement.onerror = () => {
1649
1646
  if (this.playbackHasStarted) {
1650
1647
  this.resolvePlaybackWait();
@@ -2113,11 +2110,11 @@ function enableReorderDrag(element) {
2113
2110
  onDropToCategory(element, category);
2114
2111
  }
2115
2112
  if (divEl) {
2116
- const keyframes = `
2117
- @keyframes widthDecrease {
2118
- 0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
2119
- 100% { width: 0px; height: 0px;}
2120
- }
2113
+ const keyframes = `
2114
+ @keyframes widthDecrease {
2115
+ 0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
2116
+ 100% { width: 0px; height: 0px;}
2117
+ }
2121
2118
  `;
2122
2119
  const styleSheet = document.styleSheets[0];
2123
2120
  styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
@@ -2126,11 +2123,16 @@ function enableReorderDrag(element) {
2126
2123
  divEl.remove();
2127
2124
  });
2128
2125
  }
2126
+ resetElementStyles(element);
2129
2127
  }
2130
2128
  else {
2131
2129
  if (element.parentElement['type'] !== 'category') {
2132
- executeActions('this.alignMatch=true', divEl, element);
2133
- divEl.replaceWith(element);
2130
+ animateDragToTarget(element, divEl, container);
2131
+ // executeActions('this.alignMatch=true', divEl, element);
2132
+ setTimeout(() => {
2133
+ divEl.replaceWith(element);
2134
+ resetElementStyles(element);
2135
+ }, 500);
2134
2136
  }
2135
2137
  else {
2136
2138
  const categoryElement = element.parentElement;
@@ -2149,13 +2151,16 @@ function enableReorderDrag(element) {
2149
2151
  });
2150
2152
  optionArea.appendChild(element);
2151
2153
  element.classList.remove('dropped');
2154
+ element.classList.remove("category-dropped-onCorrect");
2155
+ element.classList.remove("category-dropped-onInCorrect");
2152
2156
  element.removeAttribute('drop-to');
2153
2157
  if (dummy) {
2154
2158
  dummy.remove();
2155
2159
  }
2160
+ resetElementStyles(element);
2156
2161
  }
2157
2162
  }
2158
- resetElementStyles(element);
2163
+ // resetElementStyles(element);
2159
2164
  return;
2160
2165
  }
2161
2166
  if (findMostoverlappedElement(element, 'blank')) {
@@ -2210,6 +2215,8 @@ function enableReorderDrag(element) {
2210
2215
  resetElementStyles(element);
2211
2216
  dummy.replaceWith(element);
2212
2217
  element.classList.remove('dropped');
2218
+ element.classList.remove("category-dropped-onCorrect");
2219
+ element.classList.remove("category-dropped-onInCorrect");
2213
2220
  element.removeAttribute('drop-to');
2214
2221
  }, 100);
2215
2222
  return;
@@ -2330,11 +2337,11 @@ function moveWithAnimation(target, overlapped) {
2330
2337
  const dummy = createDummyElement(target);
2331
2338
  dummy.style.visibility = 'hidden';
2332
2339
  dummy.setAttribute('type', 'dummy');
2333
- const keyframes = `
2334
- @keyframes widthIncrease {
2335
- 0% { width: 0px; height: 0px; }
2336
- 100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
2337
- }
2340
+ const keyframes = `
2341
+ @keyframes widthIncrease {
2342
+ 0% { width: 0px; height: 0px; }
2343
+ 100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
2344
+ }
2338
2345
  `;
2339
2346
  if (!overlapped) {
2340
2347
  const overlapCategory = findMostoverlappedElement(target, 'category');
@@ -2379,8 +2386,34 @@ const wordDropComplete = (block, element) => {
2379
2386
  handleShowCheck();
2380
2387
  }
2381
2388
  };
2389
+ const categoryPlayback = new WeakMap();
2390
+ const categoriseCompleted = (container) => {
2391
+ const pendingPlayback = categoryPlayback.get(container);
2392
+ if (pendingPlayback)
2393
+ return pendingPlayback;
2394
+ const playback = playCategories(container).finally(() => {
2395
+ categoryPlayback.delete(container);
2396
+ });
2397
+ categoryPlayback.set(container, playback);
2398
+ return playback;
2399
+ };
2400
+ const playCategories = async (container) => {
2401
+ const allCategoriseBox = container.querySelectorAll('[type="category"]');
2402
+ const audioPlayer = AudioPlayer.getI();
2403
+ for (const categoryBox of Array.from(allCategoriseBox)) {
2404
+ const headingElement = categoryBox.parentElement.children[0];
2405
+ await audioPlayer.play(headingElement);
2406
+ for (const child of Array.from(categoryBox.children)) {
2407
+ child.scrollIntoView({
2408
+ behavior: 'smooth',
2409
+ block: 'end' // Aligns the bottom of the child with the bottom of the container
2410
+ });
2411
+ await audioPlayer.play(child);
2412
+ }
2413
+ }
2414
+ };
2382
2415
  async function onDropToCategory(dragElement, categoryElement) {
2383
- dragElement.classList.add('dropped');
2416
+ // dragElement.classList.add('dropped');
2384
2417
  let dragSelected = buildDragSelectedMapFromDOM();
2385
2418
  let elementArr = dragSelected[categoryElement.getAttribute('tab-index')];
2386
2419
  if (Array.isArray(elementArr)) {
@@ -73006,11 +73039,11 @@ const afterDropDragHandling = (dragElement, dropElement) => {
73006
73039
  }
73007
73040
  dummyElement.setAttribute('id', dragElement.getAttribute('id'));
73008
73041
  dragElement.replaceWith(dummyElement);
73009
- const keyframes = `
73010
- @keyframes widthDecrease {
73011
- 0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
73012
- 100% { width: 0px; height: 0px; margin: 0px;}
73013
- }
73042
+ const keyframes = `
73043
+ @keyframes widthDecrease {
73044
+ 0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
73045
+ 100% { width: 0px; height: 0px; margin: 0px;}
73046
+ }
73014
73047
  `;
73015
73048
  if (!isInfinite) {
73016
73049
  dummyElement.style.width = element.style.width;
@@ -73234,6 +73267,8 @@ async function onActivityComplete(dragElement, dropElement) {
73234
73267
  // storingEachActivityScore(isCorrect);
73235
73268
  if (isCorrect) {
73236
73269
  if (dropElement.getAttribute('type') === "category") {
73270
+ dragElement.classList.remove("category-dropped-onInCorrect");
73271
+ dragElement.classList.add("category-dropped-onCorrect");
73237
73272
  gameScore.rightMoves += 1;
73238
73273
  console.log("Right Moves : ", gameScore.rightMoves);
73239
73274
  console.log("Wrong Moves : ", gameScore.wrongMoves);
@@ -73251,9 +73286,33 @@ async function onActivityComplete(dragElement, dropElement) {
73251
73286
  }
73252
73287
  else {
73253
73288
  if (dropElement.getAttribute('type') === "category") {
73289
+ dragElement.classList.remove("category-dropped-onCorrect");
73290
+ dragElement.classList.add("category-dropped-onInCorrect");
73254
73291
  gameScore.wrongMoves += 1;
73255
73292
  console.log("Right Moves : ", gameScore.rightMoves);
73256
73293
  console.log("Wrong Moves : ", gameScore.wrongMoves);
73294
+ const categorizeArea = container.querySelector(`[type="optionArea"]`);
73295
+ const sameElArr = Array.from(container.querySelectorAll(`[value="${dragElement.getAttribute('value')}"]`));
73296
+ sameElArr.find(el => el !== dragElement && el.tagName === 'DIV');
73297
+ setTimeout(() => {
73298
+ const dummyEl = document.createElement("div");
73299
+ dummyEl.style.width = dragElement.offsetWidth + "px";
73300
+ dummyEl.style.height = dragElement.offsetHeight + "px";
73301
+ categorizeArea.appendChild(dummyEl);
73302
+ const dragX = dragElement.offsetLeft;
73303
+ const dragY = dragElement.offsetTop;
73304
+ dragElement.style.position = "absolute";
73305
+ dragElement.style.transition = '';
73306
+ dragElement.style.transform = `translate(${dragX}px, ${dragY}px)`;
73307
+ animateDragToTarget(dragElement, dummyEl, container);
73308
+ setTimeout(() => {
73309
+ dummyEl.replaceWith(dragElement);
73310
+ resetElementStyles(dragElement);
73311
+ dragElement.classList.remove("category-dropped-onInCorrect");
73312
+ dragElement.classList.remove("dropped");
73313
+ dragElement.removeAttribute("drop-to");
73314
+ }, 1000);
73315
+ }, 2000);
73257
73316
  }
73258
73317
  const onInCorrect = dropElement.getAttribute('onInCorrect');
73259
73318
  if (onInCorrect && !isBlender) {
@@ -73348,7 +73407,8 @@ const storeActivityScore = (score) => {
73348
73407
  ACTIVYTY_TIME_SPEND_ARRAY.length = 0;
73349
73408
  }
73350
73409
  };
73351
- const handleShowCheck = () => {
73410
+ const pendingCategoryChecks = new WeakSet();
73411
+ const handleShowCheck = async () => {
73352
73412
  var _a, _b, _c;
73353
73413
  const container = document.getElementById(LidoContainer);
73354
73414
  const objectiveString = container['objective'];
@@ -73363,7 +73423,20 @@ const handleShowCheck = () => {
73363
73423
  (_b = checkButton === null || checkButton === void 0 ? void 0 : checkButton.classList) === null || _b === void 0 ? void 0 : _b.remove('lido-disable-check-button');
73364
73424
  }
73365
73425
  else {
73366
- 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()) {
73426
+ if (!container.getAttribute("game-completed") && !container.querySelector("[type='slide']") && ((_c = container.getAttribute('dropAttr')) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== DropMode.EnableAnimation.toLowerCase()) {
73427
+ if (container.querySelector("[type='category']")) {
73428
+ if (pendingCategoryChecks.has(container))
73429
+ return;
73430
+ pendingCategoryChecks.add(container);
73431
+ try {
73432
+ await categoriseCompleted(container);
73433
+ await validateObjectiveStatus();
73434
+ }
73435
+ finally {
73436
+ pendingCategoryChecks.delete(container);
73437
+ }
73438
+ return;
73439
+ }
73367
73440
  validateObjectiveStatus();
73368
73441
  }
73369
73442
  }
@@ -22,10 +22,10 @@ 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 = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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}";
25
+ const globalStyles = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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}.category-dropped-onCorrect{box-shadow:rgba(129, 193, 39, 1) 0px 8px 8px 0px !important}.category-dropped-onInCorrect{box-shadow:rgba(255, 4, 16, 1) 0px 8px 8px 0px !important}";
26
26
 
27
27
  /*
28
- Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
28
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
29
29
  */
30
30
 
31
31
 
@@ -113,9 +113,7 @@ var consoleError = (e, el) => (0, console.error)(e, el);
113
113
 
114
114
  // src/client/client-load-module.ts
115
115
  var cmpModules = /* @__PURE__ */ new Map();
116
- var failedLoadAttempts = /* @__PURE__ */ new Map();
117
116
  var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
118
- var _a;
119
117
  const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
120
118
  const bundleId = cmpMeta.$lazyBundleId$;
121
119
  if (!bundleId) {
@@ -125,11 +123,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
125
123
  if (module) {
126
124
  return module[exportName];
127
125
  }
128
- const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
129
- const cacheBustParams = [
130
- retryCount > 0 ? `s-retry=${retryCount}` : "",
131
- ""
132
- ].filter(Boolean).join("&");
133
126
 
134
127
  if (!hmrVersionId || !BUILD.hotModuleReplacement) {
135
128
  const processMod = importedModule => {
@@ -149,17 +142,15 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
149
142
  /* webpackInclude: /\.entry\.js$/ */
150
143
  /* webpackExclude: /\.system\.entry\.js$/ */
151
144
  /* webpackMode: "lazy" */
152
- `./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
145
+ `./${bundleId}.entry.js${""}`
153
146
  ).then(
154
147
  (importedModule) => {
155
148
  {
156
- failedLoadAttempts.delete(bundleId);
157
149
  cmpModules.set(bundleId, importedModule);
158
150
  }
159
151
  return importedModule[exportName];
160
152
  },
161
153
  (e) => {
162
- failedLoadAttempts.set(bundleId, retryCount + 1);
163
154
  consoleError(e, hostRef.$hostElement$);
164
155
  }
165
156
  );
@@ -170,8 +161,6 @@ var styles = /* @__PURE__ */ new Map();
170
161
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
171
162
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
172
163
  var XLINK_NS = "http://www.w3.org/1999/xlink";
173
- var MAX_LAZY_LOAD_RETRIES = 3;
174
- var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
175
164
  var win = typeof window !== "undefined" ? window : {};
176
165
  var plt = {
177
166
  $flags$: 0,
@@ -198,10 +187,6 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
198
187
  var queuePending = false;
199
188
  var queueDomReads = [];
200
189
  var queueDomWrites = [];
201
- var scheduleFlush = () => {
202
- var _a;
203
- return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
204
- };
205
190
  var queueTask = (queue, write) => (cb) => {
206
191
  queue.push(cb);
207
192
  if (!queuePending) {
@@ -209,7 +194,7 @@ var queueTask = (queue, write) => (cb) => {
209
194
  if (write && plt.$flags$ & 4 /* queueSync */) {
210
195
  nextTick(flush);
211
196
  } else {
212
- scheduleFlush();
197
+ plt.raf(flush);
213
198
  }
214
199
  }
215
200
  };
@@ -228,7 +213,7 @@ var flush = () => {
228
213
  {
229
214
  consume(queueDomWrites);
230
215
  if (queuePending = queueDomReads.length > 0) {
231
- scheduleFlush();
216
+ plt.raf(flush);
232
217
  }
233
218
  }
234
219
  };
@@ -309,7 +294,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
309
294
  slottedNodes.push(childNode);
310
295
  if (typeof slotName !== "undefined") return slottedNodes;
311
296
  }
312
- slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
297
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
313
298
  }
314
299
  return slottedNodes;
315
300
  }
@@ -553,11 +538,6 @@ var h = (nodeName, vnodeData, ...children) => {
553
538
  } else if (child != null && typeof child !== "boolean") {
554
539
  if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
555
540
  child = String(child);
556
- } else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
557
- {
558
- consoleError("Invalid vNode child");
559
- }
560
- continue;
561
541
  }
562
542
  if (simple && lastSimple) {
563
543
  vNodeChildren[vNodeChildren.length - 1].$text$ += child;
@@ -802,7 +782,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
802
782
  }
803
783
  }
804
784
  if (newValue == null || newValue === false) {
805
- if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
785
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
806
786
  if (xlink) {
807
787
  elm.removeAttributeNS(XLINK_NS, memberName);
808
788
  } else {
@@ -819,8 +799,6 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
819
799
  }
820
800
  }
821
801
  };
822
- var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
823
- var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
824
802
  var parseClassListRegex = /\s/;
825
803
  var parseClassList = (value) => {
826
804
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -1188,10 +1166,7 @@ var markSlotContentForRelocation = (elm) => {
1188
1166
  const slotName = childNode["s-sn"];
1189
1167
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
1190
1168
  node = hostContentNodes[j];
1191
- if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
1192
- // `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
1193
- // would trivially "match" on every re-render and force pointless re-insertion.
1194
- (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
1169
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
1195
1170
  if (isNodeLocatedInSlot(node, slotName)) {
1196
1171
  let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1197
1172
  checkSlotFallbackVisibility = true;
@@ -1259,7 +1234,7 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
1259
1234
  return newNode;
1260
1235
  }
1261
1236
  }
1262
- if ((parent == null ? void 0 : parent.__insertBefore)) {
1237
+ if (parent.__insertBefore) {
1263
1238
  return parent.__insertBefore(newNode, reference);
1264
1239
  } else {
1265
1240
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
@@ -1626,7 +1601,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1626
1601
  };
1627
1602
 
1628
1603
  // src/runtime/proxy-component.ts
1629
- var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
1630
1604
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1631
1605
  var _a, _b;
1632
1606
  const prototype = Cstr.prototype;
@@ -1759,13 +1733,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1759
1733
  return;
1760
1734
  }
1761
1735
  const propFlags = members.find(([m]) => m === propName);
1762
- const propMemberFlags = propFlags ? propFlags[1][0] : 0;
1763
- const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
1764
- if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
1765
- // one is always external
1766
- !isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
1767
- return;
1768
- }
1736
+ const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
1769
1737
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
1770
1738
  if (isBooleanTarget) {
1771
1739
  newValue = newValue === null || newValue === "false" ? false : true;
@@ -1797,12 +1765,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1797
1765
 
1798
1766
  // src/runtime/initialize-component.ts
1799
1767
  var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1800
- var _a;
1801
1768
  let Cstr;
1802
1769
  try {
1803
1770
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1804
1771
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1805
- hostRef.$flags$ &= -1025 /* hasFailedLoad */;
1806
1772
  const bundleId = cmpMeta.$lazyBundleId$;
1807
1773
  if (bundleId) {
1808
1774
  const CstrImport = loadModule(cmpMeta, hostRef);
@@ -1814,11 +1780,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1814
1780
  Cstr = CstrImport;
1815
1781
  }
1816
1782
  if (!Cstr) {
1817
- hostRef.$flags$ &= -33 /* hasInitializedComponent */;
1818
- hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
1819
- if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
1820
- hostRef.$flags$ |= 1024 /* hasFailedLoad */;
1821
- }
1822
1783
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1823
1784
  }
1824
1785
  if (!Cstr.isProxied) {
@@ -1883,7 +1844,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1883
1844
  hostRef.$onRenderResolve$();
1884
1845
  hostRef.$onRenderResolve$ = void 0;
1885
1846
  }
1886
- if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
1847
+ if (hostRef.$onReadyResolve$) {
1887
1848
  hostRef.$onReadyResolve$(elm);
1888
1849
  }
1889
1850
  }
@@ -1935,8 +1896,6 @@ var connectedCallback = (elm) => {
1935
1896
  } else {
1936
1897
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1937
1898
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
1938
- } else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
1939
- setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
1940
1899
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1941
1900
  hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1942
1901
  }
@@ -2063,7 +2022,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2063
2022
  }
2064
2023
  disconnectedCallback() {
2065
2024
  plt.jmp(() => disconnectedCallback(this));
2066
- nextTick(() => {
2025
+ plt.raf(() => {
2067
2026
  var _a3;
2068
2027
  const hostRef = getHostRef(this);
2069
2028
  if (!hostRef) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BEjUmVtH.js');
4
- require('./index-DnqQXD5x.js');
3
+ var index = require('./index-Bb_TFgTA.js');
4
+ require('./index-DBCFoh1I.js');
5
5
 
6
6
 
7
7