lido-player 0.0.2-beta-21-dev → 0.0.2-beta-22-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 (233) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{decode-Buln7Iaf.js → decode-Cr5DANqc.js} +1 -1
  3. package/dist/cjs/{index-Bb_TFgTA.js → index-0BvcfeCt.js} +144 -68
  4. package/dist/cjs/{index-DBCFoh1I.js → index-DnaH8sO-.js} +1 -1
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/lido-avatar_22.cjs.entry.js +173 -49
  7. package/dist/cjs/lido-player.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/components/avatar/lido-avatar.css +4 -4
  10. package/dist/collection/components/avatar/lido-avatar.js +1 -1
  11. package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
  12. package/dist/collection/components/avatar/readme.md +49 -49
  13. package/dist/collection/components/calculator/lido-calculator.css +89 -89
  14. package/dist/collection/components/calculator/lido-calculator.js +2 -2
  15. package/dist/collection/components/canvas/lido-canvas.css +33 -33
  16. package/dist/collection/components/canvas/lido-canvas.js +1 -1
  17. package/dist/collection/components/cell/lido-cell.css +100 -100
  18. package/dist/collection/components/cell/lido-cell.js +12 -12
  19. package/dist/collection/components/column/lido-col.css +19 -19
  20. package/dist/collection/components/column/lido-col.js +6 -6
  21. package/dist/collection/components/container/lido-container.css +10 -10
  22. package/dist/collection/components/container/lido-container.js +8 -8
  23. package/dist/collection/components/flashCard/lido-flash-card.css +46 -28
  24. package/dist/collection/components/flashCard/lido-flash-card.js +131 -14
  25. package/dist/collection/components/float/lido-float.css +30 -30
  26. package/dist/collection/components/float/lido-float.js +2 -2
  27. package/dist/collection/components/home/lido-home.css +309 -309
  28. package/dist/collection/components/home/lido-home.js +9 -6
  29. package/dist/collection/components/image/lido-image.css +17 -17
  30. package/dist/collection/components/image/lido-image.js +6 -6
  31. package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
  32. package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
  33. package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
  34. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  35. package/dist/collection/components/position/lido-pos.css +16 -16
  36. package/dist/collection/components/position/lido-pos.js +2 -2
  37. package/dist/collection/components/random/lido-random.css +8 -8
  38. package/dist/collection/components/random/lido-random.js +2 -2
  39. package/dist/collection/components/root/lido-root.js +5 -5
  40. package/dist/collection/components/row/lido-row.css +10 -10
  41. package/dist/collection/components/row/lido-row.js +6 -6
  42. package/dist/collection/components/scale/assets/Shadow.svg +9 -9
  43. package/dist/collection/components/scale/lido-balance.css +174 -145
  44. package/dist/collection/components/scale/lido-balance.js +54 -14
  45. package/dist/collection/components/shape/lido-shape.css +216 -216
  46. package/dist/collection/components/shape/lido-shape.js +6 -6
  47. package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
  48. package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
  49. package/dist/collection/components/text/lido-text.css +53 -53
  50. package/dist/collection/components/text/lido-text.js +5 -5
  51. package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
  52. package/dist/collection/components/trace/lido-trace.css +97 -97
  53. package/dist/collection/components/trace/lido-trace.js +13 -6
  54. package/dist/collection/components/wrap/lido-wrap.css +18 -18
  55. package/dist/collection/components/wrap/lido-wrap.js +6 -6
  56. package/dist/collection/css/animation.css +211 -211
  57. package/dist/collection/css/index.css +323 -323
  58. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
  59. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
  60. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
  61. package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
  62. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
  63. package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
  64. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
  65. package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
  66. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
  67. package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
  68. package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
  69. package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
  70. package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
  71. package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
  72. package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
  73. package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
  74. package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
  75. package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
  76. package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
  77. package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
  78. package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
  79. package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
  80. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
  81. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
  82. package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
  83. package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
  84. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
  85. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
  86. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
  87. package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
  88. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
  89. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
  90. package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
  91. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
  92. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
  93. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
  94. package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
  95. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
  96. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
  97. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
  98. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
  99. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
  100. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
  101. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
  102. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
  103. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
  104. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
  105. package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
  106. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
  107. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
  108. package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
  109. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
  110. package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
  111. package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
  112. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
  113. package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
  114. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
  115. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
  116. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
  117. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
  118. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
  119. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
  120. package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
  121. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
  122. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
  123. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
  124. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
  125. package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
  126. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
  127. package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
  128. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
  129. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
  130. package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
  131. package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
  132. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
  133. package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
  134. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
  135. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
  136. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
  137. package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
  138. package/dist/collection/stories/Templates/total/total.stories.js +28 -28
  139. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
  140. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
  141. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
  142. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
  143. package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
  144. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
  145. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
  146. package/dist/collection/stories/components/flash-card.stories.js +48 -48
  147. package/dist/collection/stories/components/keyboard.stories.js +10 -10
  148. package/dist/collection/stories/components/slider.stories.js +4 -4
  149. package/dist/collection/stories/components/trace.stories.js +5 -5
  150. package/dist/collection/utils/audioPlayer.js +9 -12
  151. package/dist/collection/utils/utils.js +24 -8
  152. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +16 -10
  153. package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
  154. package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +58 -1
  155. package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
  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-BOQDbCrm.js → p-BJiyBHYT.js} +1 -1
  179. package/dist/components/p-BUfCIPRa.js +1 -0
  180. package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
  181. package/dist/components/p-BiBt9LGP.js +1 -0
  182. package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
  183. package/dist/components/{p-B4YAipq-.js → p-CFzvgrMa.js} +1 -1
  184. package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
  185. package/dist/components/{p-CCR42e0i.js → p-ChfVUoX4.js} +1 -1
  186. package/dist/components/{p-wF7SBGpr.js → p-CkxAm8rY.js} +2 -2
  187. package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
  188. package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
  189. package/dist/components/{p-BJMjg5wu.js → p-D2GhaM-T.js} +1 -1
  190. package/dist/components/{p-BBHM059l.js → p-DDS30M3y.js} +1 -1
  191. package/dist/components/p-DP6jQ5ML.js +1 -0
  192. package/dist/components/{p-CljvnHkI.js → p-DZRNZCPt.js} +1 -1
  193. package/dist/components/p-DbR5sNOj.js +1 -0
  194. package/dist/components/{p-B8nzzM8c.js → p-DdQ1eqJr.js} +1 -1
  195. package/dist/components/p-leIEepjl.js +1 -0
  196. package/dist/components/p-u3czV7QM.js +1 -0
  197. package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
  198. package/dist/esm/{decode-B_VrYFdJ.js → decode-DkSXjv7K.js} +1 -1
  199. package/dist/esm/{index-B-VyHxJa.js → index-D9-TTsdZ.js} +144 -68
  200. package/dist/esm/{index-mMpK8062.js → index-Dvjbti-h.js} +1 -1
  201. package/dist/esm/index.js +2 -2
  202. package/dist/esm/lido-avatar_22.entry.js +173 -49
  203. package/dist/esm/lido-player.js +3 -3
  204. package/dist/esm/loader.js +3 -3
  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 +7 -7
  211. package/dist/lido-player/lido-player.esm.js +1 -1
  212. package/dist/lido-player/p-35fa0b8b.entry.js +12 -0
  213. package/dist/lido-player/p-D2iINRNN.js +1 -0
  214. package/dist/lido-player/{p-Cw84dpIR.js → p-Dc8j8Hxw.js} +1 -1
  215. package/dist/lido-player/p-Dvjbti-h.js +2 -0
  216. package/dist/lido-player/readme.md +49 -49
  217. package/dist/types/components/flashCard/lido-flash-card.d.ts +10 -0
  218. package/dist/types/components/scale/lido-balance.d.ts +5 -0
  219. package/dist/types/components.d.ts +10 -0
  220. package/dist/types/types/json.d.ts +3 -3
  221. package/dist/types/utils/audioPlayer.d.ts +1 -1
  222. package/dist/types/utils/utilsHandlers/lidoBalanceHandler.d.ts +10 -0
  223. package/package.json +74 -74
  224. package/readme.md +113 -113
  225. package/dist/components/p-BAfFgI9q.js +0 -1
  226. package/dist/components/p-BfqihbR6.js +0 -1
  227. package/dist/components/p-CwIlwnQk.js +0 -1
  228. package/dist/components/p-DLyacZap.js +0 -1
  229. package/dist/components/p-DONbWJGn.js +0 -1
  230. package/dist/components/p-DVTigdH_.js +0 -1
  231. package/dist/lido-player/p-744dee1c.entry.js +0 -12
  232. package/dist/lido-player/p-BK926Rl3.js +0 -1
  233. package/dist/lido-player/p-mMpK8062.js +0 -2
@@ -1,2 +0,0 @@
1
- const t=()=>{},e="@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}";function o(t,e,o){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,e);if(n&&(!o||n.get))return n;t=Object.getPrototypeOf(t)}}var n,i=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[i]])=>{if(31&i||32&i){const i=t[n],l=o(Object.getPrototypeOf(t),n,!0)||Object.getOwnPropertyDescriptor(t,n);l&&Object.defineProperty(t,n,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(n)?t[n]=e.i.get(n):void 0!==i&&(t[n]=i)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},r=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.o.u&&i(t,e))},s=(t,e)=>e in t,a=(t,e)=>(0,console.error)(t,e),c=new Map,u=new Map,f="slot-fb{display:contents}slot-fb[hidden]{display:none}",d="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},h={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,n)=>t.addEventListener(e,o,n),rel:(t,e,o,n)=>t.removeEventListener(e,o,n),ce:(t,e)=>new CustomEvent(t,e)},m=t=>Promise.resolve(t),b=(()=>{try{return!!p.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!b&&(()=>!!p.document&&Object.getOwnPropertyDescriptor(p.document.adoptedStyleSheets,"length").writable)(),g=!1,y=[],x=[],w=(t,e)=>o=>{t.push(o),g||(g=!0,e&&4&h.u?S($):h.raf($))},k=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){a(t)}t.length=0},$=()=>{k(y),k(x),(g=y.length>0)&&h.raf($)},S=t=>m().then(t),j=w(x,!0),O=t=>{const e=new URL(t,h.p);return e.origin!==p.location.origin?e.href:e.pathname};function z(){var t;const o=this.attachShadow({mode:"open"});if(void 0===n&&(n=null!=(t=function(t){if(!b)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(e))?t:null),n)v?o.adoptedStyleSheets.push(n):o.adoptedStyleSheets=[...o.adoptedStyleSheets,n];else if(!b){const t=document.createElement("style");t.innerHTML=e,o.prepend(t)}}var C=t=>{const e=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!E(t,B(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&F(t,"childNodes").length&&C(t)}};function N(t,e,o){let n,i=0,l=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!e||n["s-hn"]===e)&&(void 0===o||B(n)===o)&&(l.push(n),void 0!==o))return l;l=[...l,...N(n.childNodes,e,o)]}return l}var E=(t,e,o=!0)=>{const n=[];(o&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)B(i)!==e||!o&&i["s-sr"]||n.push(i);return n},M=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,B=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function F(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}function T(t){var e,o,n;return null!=(n=null==(o=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?n:void 0}var L,R,P=new WeakMap,A=t=>"sc-"+t.h,D=t=>"object"==(t=typeof t)||"function"===t,H=(t,e,...o)=>{let n=null,i=null,l=null,r=!1,s=!1;const a=[],c=e=>{for(let o=0;o<e.length;o++)n=e[o],Array.isArray(n)?c(n):null!=n&&"boolean"!=typeof n&&((r="function"!=typeof t&&!D(n))&&(n+=""),r&&s?a[a.length-1].m+=n:a.push(r?U(null,n):n),s=r)};if(c(o),e){e.key&&(i=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=U(t,null);return u.v=e,a.length>0&&(u.k=a),u.$=i,u.S=l,u},U=(t,e)=>({u:0,j:t,m:null!=e?e:null,O:null,k:null,v:null,$:null,S:null}),_={},I=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let o=!1;for(const n of e){if(o)break;for(const e of t[n])if("string"==typeof e){o=!0;break}}if(!o)return t;const n={};for(const o of e)n[o]=t[o].map((t=>"string"==typeof t?{[t]:0}:t));return n},V=(t,e)=>null==t||D(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,W=t=>{var e;return null==(e=l(t))?void 0:e.$hostElement$},Y=(t,e)=>{const o=W(t);return{emit:t=>q(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},q=(t,e,o)=>{const n=h.ce(e,o);return t.dispatchEvent(n),n},G=(t,e,o,n,i,r)=>{if(o===n)return;let a=s(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,i=J(o);let l=J(n);e.remove(...i.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!i.includes(t))))}else if("style"===e){for(const e in o)n&&null!=n[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in n)o&&n[e]===o[e]||(e.includes("-")?t.style.setProperty(e,n[e]):t.style[e]=n[e])}else if("key"===e);else if("ref"===e)n&&gt(n,t);else if(a||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let i;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(i=t[1])}}return i||(i=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=n}catch(t){}return}{const l=D(n);if((a||l&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[e]!==n&&(t[e]=n);else{const i=null==n?"":n;"list"===e?a=!1:null!=o&&t[e]===i||("function"==typeof t.__lookupSetter__(e)?t[e]=i:t.setAttribute(e,i))}}catch(t){}let s=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,s=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(e)||(s?t.removeAttributeNS(d,e):t.removeAttribute(e)):(!a||4&r||i)&&!l&&1===t.nodeType&&(n=!0===n?"":n,s?t.setAttributeNS(d,e,n):t.setAttribute(e,n))}}else if(e="-"===e[2]?e.slice(3):s(p,c)?c.slice(2):c[2]+e.slice(3),o||n){const i=e.endsWith(K);e=e.replace(Q,""),o&&h.rel(t,e,o,i),n&&h.ael(t,e,n,i)}},Z=/\s/,J=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Z):[]),K="Capture",Q=RegExp(K+"$"),X=(t,e,o)=>{const n=11===e.O.nodeType&&e.O.host?e.O.host:e.O,i=t&&t.v||{},l=e.v||{};for(const t of tt(Object.keys(i)))t in l||G(n,t,i[t],void 0,o,e.u);for(const t of tt(Object.keys(l)))G(n,t,i[t],l[t],o,e.u)};function tt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var et=!1,ot=!1,nt=!1,it=!1,lt=[],rt=[],st=(t,e,o)=>{var n;const i=e.k[o];let l,r,s,a=0;if(et||(nt=!0,"slot"===i.j&&(i.u|=i.k?2:1)),null!=i.m)l=i.O=p.document.createTextNode(i.m);else if(1&i.u)l=i.O=p.document.createTextNode(""),X(null,i,it);else{if(!p.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=i.O=p.document.createElement(!et&&2&i.u?"slot-fb":i.j),X(null,i,it),i.k){const e="template"===i.j?l.content:l;for(a=0;a<i.k.length;++a)r=st(t,i,a),r&&e.appendChild(r)}}return l["s-hn"]=R,3&i.u&&(l["s-sr"]=!0,l["s-cr"]=L,l["s-sn"]=i.S||"",l["s-rf"]=null==(n=i.v)?void 0:n.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],n=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const n=t[o]["s-nr"]||void 0;n&&n.isConnected&&e.push(n)}return e})(i.childNodes)).forEach((t=>{n===B(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(l),s=t&&t.k&&t.k[o],s&&s.j===i.j&&t.O&&at(t.O)),l},at=t=>{h.u|=1;const e=t.closest(R.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of o?n.reverse():n)null!=t["s-sh"]&&(yt(e,t,null!=o?o:null),t["s-sh"]=void 0,nt=!0)}h.u&=-2},ct=(t,e)=>{h.u|=1;const o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===R&&o.push(e)}for(let t=o.length-1;t>=0;t--){const n=o[t];n["s-hn"]!==R&&n["s-ol"]&&(yt(pt(n).parentNode,n,pt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,nt=!0),e&&ct(n,e)}h.u&=-2},ut=(t,e,o,n,i,l)=>{let r,s=t["s-cr"]&&t["s-cr"].parentNode||t;for(s.shadowRoot&&s.tagName===R&&(s=s.shadowRoot),"template"===o.j&&(s=s.content);i<=l;++i)n[i]&&(r=st(null,o,i),r&&(n[i].O=r,yt(s,r,pt(e))))},ft=(t,e,o)=>{for(let n=e;n<=o;++n){const e=t[n];if(e){const t=e.O;vt(e),t&&(ot=!0,t["s-ol"]?t["s-ol"].remove():ct(t,!0),t.remove())}}},dt=(t,e,o=!1)=>t.j===e.j&&("slot"===t.j?t.S===e.S:o?(o&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),pt=t=>t&&t["s-ol"]||t,ht=(t,e,o=!1)=>{const n=e.O=t.O,i=t.k,l=e.k,r=e.m;let s;null==r?("slot"!==e.j||et||t.S!==e.S&&(e.O["s-sn"]=e.S||"",at(e.O.parentElement)),X(t,e,it),null!==i&&null!==l?((t,e,o,n,i=!1)=>{let l,r,s=0,a=0,c=0,u=0,f=e.length-1,d=e[0],p=e[f],h=n.length-1,m=n[0],b=n[h];const v="template"===o.j?t.content:t;for(;s<=f&&a<=h;)if(null==d)d=e[++s];else if(null==p)p=e[--f];else if(null==m)m=n[++a];else if(null==b)b=n[--h];else if(dt(d,m,i))ht(d,m,i),d=e[++s],m=n[++a];else if(dt(p,b,i))ht(p,b,i),p=e[--f],b=n[--h];else if(dt(d,b,i))"slot"!==d.j&&"slot"!==b.j||ct(d.O.parentNode,!1),ht(d,b,i),yt(v,d.O,p.O.nextSibling),d=e[++s],b=n[--h];else if(dt(p,m,i))"slot"!==d.j&&"slot"!==b.j||ct(p.O.parentNode,!1),ht(p,m,i),yt(v,p.O,d.O),p=e[--f],m=n[++a];else{for(c=-1,u=s;u<=f;++u)if(e[u]&&null!==e[u].$&&e[u].$===m.$){c=u;break}c>=0?(r=e[c],r.j!==m.j?l=st(e&&e[a],o,c):(ht(r,m,i),e[c]=void 0,l=r.O),m=n[++a]):(l=st(e&&e[a],o,a),m=n[++a]),l&&yt(pt(d.O).parentNode,l,pt(d.O))}s>f?ut(t,null==n[h+1]?null:n[h+1].O,o,n,a,h):a>h&&ft(e,s,f)})(n,i,e,l,o):null!==l?(null!==t.m&&(n.textContent=""),ut(n,null,e,l,0,l.length-1)):!o&&null!==i&&ft(i,0,i.length-1)):(s=n["s-cr"])?s.parentNode.textContent=r:t.m!==r&&(n.data=r)},mt=[],bt=t=>{let e,o,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const i=t["s-sn"];for(n=o.length-1;n>=0;n--)if(e=o[n],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(M(e,i)){let o=mt.find((t=>t.C===e));ot=!0,e["s-sn"]=e["s-sn"]||i,o?(o.C["s-sh"]=t["s-hn"],o.N=t):(e["s-sh"]=t["s-hn"],mt.push({N:t,C:e})),e["s-sr"]&&mt.map((t=>{M(t.C,e["s-sn"])&&(o=mt.find((t=>t.C===e)),o&&!t.N&&(t.N=o.N))}))}else mt.some((t=>t.C===e))||mt.push({C:e})}1===t.nodeType&&bt(t)}},vt=t=>{t.v&&t.v.ref&&lt.push((()=>t.v.ref(null))),t.k&&t.k.map(vt)},gt=(t,e)=>{rt.push((()=>t(e)))},yt=(t,e,o,n)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:i}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=B(t)||"";return{slotNode:N(F(e,"childNodes"),e.tagName,n)[0],slotName:n}}(e);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},xt=(t,e)=>{if(e&&!t.M&&e["s-p"]){const o=e["s-p"].push(new Promise((n=>t.M=()=>{e["s-p"].splice(o-1,1),n()})))}},wt=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);xt(t,t.B);const o=()=>kt(t,e);if(!e)return j(o);queueMicrotask((()=>{o()}))},kt=(t,e)=>{const o=t.$hostElement$,n=t.l;if(!n)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return e?(t.F&&(t.F=!1,Nt(n,"connectedCallback",void 0,o)),t.T.length&&t.T.forEach((t=>t(o))),i=Nt(n,"componentWillLoad",void 0,o)):i=Nt(n,"componentWillUpdate",void 0,o),i=$t(i,(()=>Nt(n,"componentWillRender",void 0,o))),$t(i,(()=>jt(t,n,e)))},$t=(t,e)=>St(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),St=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,jt=async(t,e,o)=>{var n;const i=t.$hostElement$,l=i["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,n=e.u,i=((t,e)=>{var o,n,i;const l=A(e),r=u.get(l);if(!p.document)return l;if(t=11===t.nodeType?t:p.document,r)if("string"==typeof r){let i,s=P.get(t=t.head||t);if(s||P.set(t,s=new Set),!s.has(l)){i=p.document.createElement("style"),i.textContent=r;const a=null!=(o=h.L)?o:T(p.document);if(null!=a&&i.setAttribute("nonce",a),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(b){const e=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(r),v?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=r+e.textContent:t.prepend(i)}else t.append(i);1&e.u&&t.insertBefore(i,null),4&e.u&&(i.textContent+=f),s&&s.add(l)}}else{let e=P.get(t);if(e||P.set(t,e=new Set),!e.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(r.constructor===o.CSSStyleSheet)n=r;else{n=new o.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)n.insertRule(r.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],e.add(l)}}return l})(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&n&&(o["s-sc"]=i,o.classList.add(i+"-h"))})(t);Ot(t,e,i,o),l&&(l.map((t=>t())),i["s-rc"]=void 0);{const e=null!=(n=i["s-p"])?n:[],o=()=>zt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.u|=4,e.length=0)}},Ot=(t,e,o,n)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,o=!1)=>{var n,i,l,r,s;const a=t.$hostElement$,c=t.o,u=t.R||U(null,null),f=(t=>t&&t.j===_)(e)?e:H(null,null,e);if(R=a.tagName,c.P&&(f.v=f.v||{},c.P.forEach((([t,e])=>{f.v[e]=a[t]}))),o&&f.v)for(const t of Object.keys(f.v))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.v[t]=a[t]);if(f.j=null,f.u|=4,t.R=f,f.O=u.O=a.shadowRoot||a,et=!(!(1&c.u)||128&c.u),L=a["s-cr"],ot=!1,ht(u,f,o),h.u|=1,nt){bt(f.O);for(const t of mt){const e=t.C;if(!e["s-ol"]&&p.document){const t=p.document.createTextNode("");t["s-nr"]=e,yt(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of mt){const e=t.C,s=t.N;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(n=e.hidden)&&n),s){const t=s.parentNode;let n=s.nextSibling;if(n&&1===n.nodeType){let o=null==(i=e["s-ol"])?void 0:i.previousSibling;for(;o;){let i=null!=(l=o["s-nr"])?l:null;if(i&&i["s-sn"]===e["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===e||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}o=o.previousSibling}}if((!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n){if(yt(t,e,n,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=p.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,yt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(r=e["s-ih"])&&r)}e&&"function"==typeof s["s-rf"]&&s["s-rf"](s)}else 1===e.nodeType&&(e.hidden=!0)}}if(ot&&C(f.O),h.u&=-2,mt.length=0,!et&&!(1&c.u)&&a["s-cr"]){const t=f.O.__childNodes||f.O.childNodes;for(const e of t)if(e["s-hn"]!==R&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(s=e.hidden)&&s),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=p.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],yt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}L=void 0,lt.forEach((t=>t())),lt.length=0,rt.forEach((t=>t())),rt.length=0})(t,e,n)}catch(e){a(e,t.$hostElement$)}return null},zt=t=>{const e=t.$hostElement$,o=t.l,n=t.B;Nt(o,"componentDidRender",void 0,e),64&t.u?Nt(o,"componentDidUpdate",void 0,e):(t.u|=64,Et(e),Nt(o,"componentDidLoad",void 0,e),t.A(e),n||Ct()),t.D(e),t.M&&(t.M(),t.M=void 0),512&t.u&&S((()=>wt(t,!1))),t.u&=-517},Ct=()=>{S((()=>q(p,"appload",{detail:{namespace:"lido-player"}})))},Nt=(t,e,o,n)=>{if(t&&t[e])try{return t[e](o)}catch(t){a(t,n)}},Et=t=>t.classList.add("hydrated"),Mt=(t,e,o,n)=>{const i=l(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${n.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,s=i.i.get(e),c=i.u,u=i.l;if(o=V(o,n.t[e][0]),!(8&c&&void 0!==s||o===s||Number.isNaN(s)&&Number.isNaN(o))){if(i.i.set(e,o),n.H){const t=n.H[e];t&&t.map((t=>{try{const[[n,l]]=Object.entries(t);(128&c||1&l)&&(u?u[n](o,s,e):i.T.push((()=>{i.l[n](o,s,e)})))}catch(t){a(t,r)}}))}if(2&c){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(o,s,e)&&!(16&c))return;16&c||wt(i,!1)}}},Bt=(t,e,n)=>{var i,r;const s=t.prototype;{t.watchers&&!e.H&&(e.H=I(t.watchers)),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e._&&(e._=t.serializers);const a=Object.entries(null!=(i=e.t)?i:{});if(a.map((([t,[i]])=>{if(31&i||2&n&&32&i){const{get:r,set:a}=o(s,t)||{};r&&(e.t[t][0]|=2048),a&&(e.t[t][0]|=4096),(1&n||!r)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>l(this).i.get(e))(0,t);const o=l(this),n=o?o.l:s;if(!n)return;return n[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(o){const r=l(this);if(r){if(a)return void 0===(32&i?this[t]:r.$hostElement$[t])&&r.i.get(t)&&(o=r.i.get(t)),a.call(this,V(o,i)),void Mt(this,t,o=32&i?this[t]:r.$hostElement$[t],e);{if(!(1&n&&4096&e.t[t][0]))return Mt(this,t,o,e),void(1&n&&!r.l&&r.T.push((()=>{4096&e.t[t][0]&&r.l[t]!==r.i.get(t)&&(r.l[t]=o)})));const l=()=>{const n=r.l[t];!r.i.get(t)&&n&&r.i.set(t,n),r.l[t]=V(o,i),Mt(this,t,r.l[t],e)};r.l?l():r.T.push((()=>{l()}))}}}})}else 1&n&&64&i&&Object.defineProperty(s,t,{value(...e){var o;const n=l(this);return null==(o=null==n?void 0:n.I)?void 0:o.then((()=>{var o;return null==(o=n.l)?void 0:o[t](...e)}))}})})),1&n){const o=new Map;s.attributeChangedCallback=function(t,n,i){h.jmp((()=>{var r;const c=o.get(t),u=l(this);if(this.hasOwnProperty(c)&&(i=this[c],delete this[c]),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&i!==n){const l=u.l,s=null==(r=e.H)?void 0:r[t];null==s||s.forEach((e=>{const[[r,s]]=Object.entries(e);null!=l[r]&&(128&o||1&s)&&l[r].call(l,i,n,t)}))}return}const f=a.find((([t])=>t===c)),d=f&&4&f[1][0],p=d&&null===i&&void 0===this[c];d&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(s,c);p||i==this[c]||h.get&&!h.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.H)?r:{}),...a.filter((([t,e])=>31&e[0])).map((([t,n])=>{var i;const l=n[1]||t;return o.set(l,t),512&n[0]&&(null==(i=e.P)||i.push([t,l])),l}))]))}}return t},Ft=(t,e)=>{Nt(t,"connectedCallback",void 0,e)},Tt=(t,e)=>{Nt(t,"disconnectedCallback",void 0,e||t)},Lt=(t,e={})=>{var o;if(!p.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const n=[],i=e.exclude||[],r=p.customElements,s=p.document.head,d=s.querySelector("meta[charset]"),m=p.document.createElement("style"),v=[];let g,y=!0;Object.assign(h,e),h.p=new URL(e.resourcesUrl||"./",p.document.baseURI).href;let x=!1;if(t.map((t=>{t[1].map((e=>{var o,s;const f={u:e[0],h:e[1],t:e[2],V:e[3]};4&f.u&&(x=!0),f.t=e[2],f.P=[],f.H=I(e[4]),f._=null!=(o=e[5])?o:{},f.U=null!=(s=e[6])?s:{};const d=f.h,m=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const o={u:0,$hostElement$:t,o:e,i:new Map,W:new Map};o.I=new Promise((t=>o.D=t)),o.Y=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],o.T=[];const n=o;t.__stencil__getHostRef=()=>n})(t=this,f),1&f.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${f.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else z.call(t,f)}connectedCallback(){l(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),g&&(clearTimeout(g),g=null),y?v.push(this):h.jmp((()=>(t=>{if(!(1&h.u)){const e=l(t);if(!e)return;const o=e.o,n=()=>{};if(1&e.u)(null==e?void 0:e.l)?Ft(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Ft(e.l,t)));else{e.u|=1,12&o.u&&(t=>{if(!p.document)return;const e=t["s-cr"]=p.document.createComment("");e["s-cn"]=!0,yt(t,e,t.firstChild)})(t);{let o=t;for(;o=o.parentNode||o.host;)if(o["s-p"]){xt(e,e.B=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let n;try{if(!(32&e.u)){if(e.u|=32,o.q){const i=((t,e)=>{const o=t.h.replace(/-/g,"_"),n=t.q;if(!n)return;const i=c.get(n);return i?i[o]:import(`./${n}.entry.js`).then((t=>(c.set(n,t),t[o])),(t=>{a(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(o,e);if(i&&"then"in i){const t=()=>{};n=await i,t()}else n=i;if(!n)throw Error(`Constructor for "${o.h}#${e.G}" was not found`);n.isProxied||(o.H=I(n.watchers),o._=n.serializers,o.U=n.deserializers,Bt(n,o,2),n.isProxied=!0);const l=()=>{};e.u|=8;try{new n(e)}catch(e){a(e,t)}e.u&=-9,e.u|=128,l(),4&o.u?e.F=!0:Ft(e.l,t)}else n=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(n&&n.style){let t;"string"==typeof n.style&&(t=n.style);const e=A(o);if(!u.has(e)){const n=()=>{};((t,e,o)=>{let n=u.get(t);b&&o?(n=n||new CSSStyleSheet,"string"==typeof n?n=e:n.replaceSync(e)):n=e,u.set(t,n)})(e,t,!!(1&o.u)),n()}}}const i=e.B,l=()=>wt(e,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){a(o,t),e.M&&(e.M(),e.M=void 0),e.A&&e.A(t)}})(t,e,o)}n()}})(this))))}disconnectedCallback(){h.jmp((()=>(async t=>{if(!(1&h.u)){const e=l(t);(null==e?void 0:e.l)?Tt(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Tt(e.l,t)))}P.has(t)&&P.delete(t),t.shadowRoot&&P.has(t.shadowRoot)&&P.delete(t.shadowRoot)})(this))),h.raf((()=>{var t;const e=l(this);if(!e)return;const o=v.findIndex((t=>t===this));o>-1&&v.splice(o,1),(null==(t=null==e?void 0:e.R)?void 0:t.O)instanceof Node&&!e.R.O.isConnected&&delete e.R.O}))}componentOnReady(){var t;return null==(t=l(this))?void 0:t.Y}};f.q=t[0],i.includes(d)||r.get(d)||(n.push(d),r.define(d,Bt(m,f,1)))}))})),n.length>0&&(x&&(m.textContent+=f),m.textContent+=n.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(o=h.L)?o:T(p.document);null!=t&&m.setAttribute("nonce",t),s.insertBefore(m,d?d.nextSibling:s.firstChild)}y=!1,v.length?v.map((t=>t.connectedCallback())):h.jmp((()=>g=setTimeout(Ct,30)))},Rt=t=>h.L=t;export{_ as H,W as a,Lt as b,O as c,Y as d,t as g,H as h,m as p,r,Rt as s}