lido-player 0.0.2-alpha-57-dev → 0.0.2-alpha-59-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 (147) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/lido-avatar_22.cjs.entry.js +94 -34
  3. package/dist/cjs/lido-player.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-a61cfc6b.js → utils-03573882.js} +160 -124
  6. package/dist/collection/components/container/lido-container.js +60 -3
  7. package/dist/collection/components/flashCard/lido-flash-card.js +10 -1
  8. package/dist/collection/components/float/lido-float.js +1 -1
  9. package/dist/collection/components/home/lido-home.js +22 -12
  10. package/dist/collection/components/keyboard/lido-keyboard.js +2 -2
  11. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  12. package/dist/collection/components/position/lido-pos.js +1 -1
  13. package/dist/collection/components/random/lido-random.js +1 -1
  14. package/dist/collection/components/row/lido-row.js +1 -1
  15. package/dist/collection/components/scale/lido-balance.js +1 -1
  16. package/dist/collection/components/shape/lido-shape.js +2 -2
  17. package/dist/collection/components/slideFill/lido-slide-fill.js +1 -1
  18. package/dist/collection/components/text/lido-text.js +1 -1
  19. package/dist/collection/components/trace/lido-trace.js +18 -7
  20. package/dist/collection/components/wrap/lido-wrap.js +1 -1
  21. package/dist/collection/css/animation.css +17 -0
  22. package/dist/collection/css/index.css +1 -1
  23. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +3 -3
  24. package/dist/collection/stories/Templates/balancing/balancing.stories.js +1 -1
  25. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +74 -44
  26. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +4 -4
  27. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +2 -2
  28. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +91 -0
  29. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +84 -0
  30. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +0 -2
  31. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +0 -2
  32. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +6 -5
  33. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +6 -6
  34. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +106 -0
  35. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +91 -0
  36. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +86 -0
  37. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +131 -0
  38. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +61 -0
  39. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +87 -0
  40. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +72 -0
  41. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +61 -0
  42. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +60 -0
  43. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +73 -0
  44. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +88 -0
  45. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +88 -0
  46. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +66 -0
  47. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +1 -1
  48. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +7 -7
  49. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +1 -1
  50. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +16 -13
  51. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +17 -14
  52. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +111 -0
  53. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +70 -0
  54. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +11 -10
  55. package/dist/collection/stories/Templates/total/total.stories.js +2 -0
  56. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +76 -0
  57. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +74 -0
  58. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +1 -1
  59. package/dist/collection/utils/constants.js +2 -1
  60. package/dist/collection/utils/utils.js +29 -20
  61. package/dist/collection/utils/utilsHandlers/clickHandler.js +2 -0
  62. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +24 -20
  63. package/dist/collection/utils/utilsHandlers/highlightHandler.js +50 -2
  64. package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +5 -4
  65. package/dist/components/index.js +1 -1
  66. package/dist/components/lido-avatar.js +1 -1
  67. package/dist/components/lido-balance.js +1 -1
  68. package/dist/components/lido-calculator.js +1 -1
  69. package/dist/components/lido-canvas.js +1 -1
  70. package/dist/components/lido-cell.js +1 -1
  71. package/dist/components/lido-col.js +1 -1
  72. package/dist/components/lido-container.js +1 -1
  73. package/dist/components/lido-flash-card.js +1 -1
  74. package/dist/components/lido-float.js +1 -1
  75. package/dist/components/lido-home.js +1 -1
  76. package/dist/components/lido-image.js +1 -1
  77. package/dist/components/lido-keyboard.js +1 -1
  78. package/dist/components/lido-math-matrix.js +1 -1
  79. package/dist/components/lido-pos.js +1 -1
  80. package/dist/components/lido-random.js +1 -1
  81. package/dist/components/lido-root.js +22 -23
  82. package/dist/components/lido-row.js +1 -1
  83. package/dist/components/lido-shape.js +1 -1
  84. package/dist/components/lido-slide-fill.js +1 -1
  85. package/dist/components/lido-text.js +1 -1
  86. package/dist/components/lido-trace.js +1 -1
  87. package/dist/components/lido-wrap.js +1 -1
  88. package/dist/components/{p-73e3f0f4.js → p-2bb1f74d.js} +203 -1
  89. package/dist/components/{p-f3bc4577.js → p-33b83222.js} +1 -1
  90. package/dist/components/{p-0712a27e.js → p-3513b1f3.js} +159 -125
  91. package/dist/components/{p-f2b53e8e.js → p-356e56bd.js} +2 -2
  92. package/dist/components/{p-b9875116.js → p-49ccf573.js} +18 -7
  93. package/dist/components/{p-330caab8.js → p-4d9462ab.js} +4 -4
  94. package/dist/components/{p-4d332eab.js → p-5aa24314.js} +2 -2
  95. package/dist/components/{p-d1b5079b.js → p-5c990168.js} +45 -6
  96. package/dist/components/{p-21852d55.js → p-5eeaccab.js} +2 -2
  97. package/dist/components/{p-480f708a.js → p-6819005f.js} +11 -2
  98. package/dist/components/{p-ffc40642.js → p-6bbad90f.js} +2 -2
  99. package/dist/components/{p-e1ba0c44.js → p-73e4bb01.js} +41 -33
  100. package/dist/components/{p-ff801ba1.js → p-84302365.js} +1 -1
  101. package/dist/components/{p-0a41b2f8.js → p-99fcbae4.js} +1 -1
  102. package/dist/components/{p-9104d427.js → p-9b35082a.js} +2 -2
  103. package/dist/components/{p-882b291d.js → p-ad0f335e.js} +2 -2
  104. package/dist/components/{p-c4739621.js → p-aff68c41.js} +3 -3
  105. package/dist/components/{p-2829c82c.js → p-d9b17242.js} +2 -2
  106. package/dist/components/{p-cca36777.js → p-de62d08e.js} +3 -3
  107. package/dist/components/{p-4e041807.js → p-e8e9250e.js} +2 -2
  108. package/dist/components/{p-17f84b2f.js → p-f238004e.js} +2 -2
  109. package/dist/components/{p-eab0ebb7.js → p-f9426cbe.js} +1 -1
  110. package/dist/esm/index.js +1 -1
  111. package/dist/esm/lido-avatar_22.entry.js +94 -34
  112. package/dist/esm/lido-player.js +1 -1
  113. package/dist/esm/loader.js +1 -1
  114. package/dist/esm/{utils-7ed76799.js → utils-3995d2d5.js} +159 -125
  115. package/dist/lido-player/index.esm.js +1 -1
  116. package/dist/lido-player/lido-player.css +1 -1
  117. package/dist/lido-player/lido-player.esm.js +1 -1
  118. package/dist/lido-player/p-75daccb0.entry.js +1 -0
  119. package/dist/lido-player/{p-17d93181.js → p-aee89fba.js} +2 -2
  120. package/dist/types/components/container/lido-container.d.ts +15 -2
  121. package/dist/types/components/trace/lido-trace.d.ts +3 -3
  122. package/dist/types/components.d.ts +10 -2
  123. package/dist/types/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.d.ts +4 -0
  124. package/dist/types/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.d.ts +4 -0
  125. package/dist/types/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.d.ts +11 -0
  126. package/dist/types/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.d.ts +12 -0
  127. package/dist/types/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.d.ts +4 -0
  128. package/dist/types/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.d.ts +5 -0
  129. package/dist/types/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.d.ts +4 -0
  130. package/dist/types/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.d.ts +4 -0
  131. package/dist/types/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.d.ts +4 -0
  132. package/dist/types/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.d.ts +4 -0
  133. package/dist/types/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.d.ts +4 -0
  134. package/dist/types/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.d.ts +4 -0
  135. package/dist/types/stories/Templates/pictureClues/pictureClues.stories.d.ts +4 -0
  136. package/dist/types/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.d.ts +4 -0
  137. package/dist/types/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.d.ts +4 -0
  138. package/dist/types/stories/Templates/substraction/substractionWithimg.stories.d.ts +4 -0
  139. package/dist/types/stories/Templates/substraction/substractionWithoutImg.stories.d.ts +4 -0
  140. package/dist/types/stories/Templates/wordBuilding/wordBuildingwithimg.stories.d.ts +4 -0
  141. package/dist/types/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.d.ts +4 -0
  142. package/dist/types/utils/constants.d.ts +9 -1
  143. package/dist/types/utils/utils.d.ts +1 -0
  144. package/dist/types/utils/utilsHandlers/highlightHandler.d.ts +1 -0
  145. package/package.json +1 -1
  146. package/dist/components/p-7ab0a273.js +0 -204
  147. package/dist/lido-player/p-fa9dfdf8.entry.js +0 -1
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy(JSON.parse("[[\"lido-avatar_22\",[[0,\"lido-root\",{\"locale\":[1],\"xmlPath\":[1,\"xml-path\"],\"initialIndex\":[2,\"initial-index\"],\"margin\":[1],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"xmlData\":[32]},null,{\"locale\":[\"onLangChange\"]}],[0,\"lido-home\",{\"commonAudioPath\":[1,\"common-audio-path\"],\"showNav\":[4,\"show-nav\"],\"activeContainerIndexes\":[16],\"locale\":[1],\"xmlData\":[1,\"xml-data\"],\"initialIndex\":[2,\"initial-index\"],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"height\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"avatarUrl\":[1,\"avatar-url\"],\"uuid\":[1],\"navBarIcons\":[32],\"currentContainerIndex\":[32],\"exitFlag\":[32],\"containers\":[32],\"showDotsandbtn\":[32]},null,{\"locale\":[\"onLangChange\"],\"commonAudioPath\":[\"onCommonAudioPathChange\"],\"xmlData\":[\"onXmlDataChange\"]}],[0,\"lido-calculator\",{\"width\":[1],\"visible\":[8],\"height\":[1],\"objective\":[1],\"onEntry\":[1,\"on-entry\"],\"x\":[1],\"y\":[1],\"bgColor\":[1,\"bg-color\"],\"penIcon\":[1,\"pen-icon\"],\"displayValue\":[32],\"style\":[32]}],[1,\"lido-canvas\",{\"bgImage\":[1,\"bg-image\"],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"onEntry\":[1,\"on-entry\"],\"style\":[32]}],[0,\"lido-keyboard\",{\"keys\":[1],\"width\":[1],\"height\":[1],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"fontFamily\":[1,\"font-family\"],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"borderRadius\":[1,\"border-radius\"],\"y\":[1],\"x\":[1],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"onEntry\":[1,\"on-entry\"],\"type\":[1],\"keyboardInput\":[4,\"keyboard-input\"],\"columns\":[1],\"letterLength\":[2,\"letter-length\"],\"disableSpeak\":[4,\"disable-speak\"],\"numberOfClick\":[32],\"inputString\":[32],\"style\":[32]}],[0,\"lido-avatar\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"src\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"]}],[0,\"lido-balance\",{\"pivotimage\":[1],\"scaleimage\":[1],\"handlerimage\":[1],\"fill\":[1],\"tilt\":[2],\"maxTilt\":[2,\"max-tilt\"],\"onEntry\":[1,\"on-entry\"],\"height\":[1],\"width\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"balanceSymbol\":[1537,\"balance-symbol\"],\"showSymbol\":[1540,\"show-symbol\"],\"operation\":[1],\"pivotSvg\":[32],\"scaleSvg\":[32],\"handlerSvg\":[32],\"style\":[32],\"tiltf\":[32],\"leftVal\":[32],\"rightVal\":[32],\"revealSymbol\":[64],\"hideSymbol\":[64],\"updateTilt\":[64]},null,{\"tilt\":[\"tiltChanged\"]}],[4,\"lido-col\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"borderImage\":[1,\"border-image\"],\"boxShadow\":[1,\"box-shadow\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-container\",{\"locale\":[1],\"showDropBorder\":[4,\"show-drop-border\"],\"appendToDropOnCompletion\":[4,\"append-to-drop-on-completion\"],\"id\":[1],\"objective\":[1],\"customStyle\":[1,\"custom-style\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"bgImage\":[1,\"bg-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"canplay\":[4],\"showCheck\":[4,\"show-check\"],\"isContinueOnCorrect\":[4,\"is-continue-on-correct\"],\"isAllowOnlyCorrect\":[4,\"is-allow-only-correct\"],\"baseUrl\":[1,\"base-url\"],\"margin\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"showPrevButton\":[1,\"show-prev-button\"],\"showNextButton\":[1,\"show-next-button\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"]},null,{\"locale\":[\"languageChanged\"]}],[4,\"lido-flash-card\",{\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"direction\":[1],\"display\":[1],\"front\":[8],\"back\":[8],\"flipped\":[1540],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"delayVisible\":[1,\"delay-visible\"],\"style\":[32]},null,{\"flipped\":[\"handleFlippedChange\"]}],[4,\"lido-float\",{\"id\":[1],\"value\":[1],\"z\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"onEntry\":[1,\"on-entry\"],\"width\":[1],\"height\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"delayVisible\":[1,\"delay-visible\"],\"floatDirection\":[1,\"float-direction\"],\"style\":[32]}],[0,\"lido-image\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"src\":[1],\"isSlice\":[1,\"is-slice\"],\"sliceWidth\":[1,\"slice-width\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"filter\":[1],\"borderRadius\":[1,\"border-radius\"],\"transform\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-math-matrix\",{\"rows\":[1],\"cols\":[1],\"defualtFill\":[1538,\"defualt-fill\"],\"leftIndex\":[4,\"left-index\"],\"topIndex\":[4,\"top-index\"],\"bottomIndex\":[4,\"bottom-index\"],\"clickable\":[4],\"activeOnlyVisible\":[4,\"active-only-visible\"],\"matrixImage\":[1,\"matrix-image\"],\"activeBgColor\":[1537,\"active-bg-color\"],\"deactiveBgColor\":[1537,\"deactive-bg-color\"],\"border\":[1537],\"height\":[1537],\"width\":[1537],\"borderRadius\":[1,\"border-radius\"],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"text\":[1],\"type\":[1],\"value\":[1],\"tabIndex\":[2,\"tab-index\"],\"x\":[1],\"y\":[1],\"fontColor\":[1,\"font-color\"],\"onCorrect\":[1,\"on-correct\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onEntry\":[1,\"on-entry\"],\"previousFilledSlot\":[32],\"previousFilledSlotElement\":[32],\"style\":[32]}],[4,\"lido-pos\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-random\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1]}],[4,\"lido-row\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"display\":[1],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-shape\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"shapeType\":[1,\"shape-type\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-slide-fill\",{\"id\":[1],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"fill\":[1],\"numberType\":[1,\"number-type\"],\"min\":[2],\"division\":[2],\"max\":[2],\"slider\":[4],\"src\":[1],\"fillDirection\":[1,\"fill-direction\"],\"type\":[1],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgContent\":[32],\"style\":[32]},null,{\"src\":[\"onSrcChange\"],\"fill\":[\"onPropChange\"],\"division\":[\"onPropChange\"],\"fillDirection\":[\"onPropChange\"],\"numberType\":[\"onPropChange\"],\"min\":[\"onPropChange\"],\"max\":[\"onPropChange\"]}],[0,\"lido-trace\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"svgSource\":[1,\"svg-source\"],\"value\":[1],\"height\":[1],\"width\":[1],\"audio\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"tabIndex\":[2,\"tab-index\"],\"mode\":[1],\"fingerHintUrl\":[1,\"finger-hint-url\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"highlightTextId\":[1,\"highlight-text-id\"],\"animationTrace\":[4,\"animation-trace\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgUrls\":[32],\"audioUrls\":[32],\"currentSvgIndex\":[32],\"moving\":[32],\"style\":[32],\"fileIndex\":[32],\"isDragging\":[32],\"activePointerId\":[32],\"freeTraceUpdateCounter\":[32],\"idleTimer\":[32],\"fingerImg\":[32]},null,{\"svgSource\":[\"initializeSVG\"],\"mode\":[\"initializeSVG\"]}],[4,\"lido-wrap\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"flex\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[4,\"lido-cell\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"scrollbarWidth\":[1,\"scrollbar-width\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[1],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"layout\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"alignItems\":[1,\"align-items\"],\"borderRadius\":[1,\"border-radius\"],\"flexDirection\":[1,\"flex-direction\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-text\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"string\":[1],\"fontFamily\":[1,\"font-family\"],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"highlightWhileSpeaking\":[4,\"highlight-while-speaking\"],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"borderImage\":[1,\"border-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"onEntry\":[1,\"on-entry\"],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"spanType\":[1,\"span-type\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}]]]]"), options);
8
+ return bootstrapLazy(JSON.parse("[[\"lido-avatar_22\",[[0,\"lido-root\",{\"locale\":[1],\"xmlPath\":[1,\"xml-path\"],\"initialIndex\":[2,\"initial-index\"],\"margin\":[1],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"xmlData\":[32]},null,{\"locale\":[\"onLangChange\"]}],[0,\"lido-home\",{\"commonAudioPath\":[1,\"common-audio-path\"],\"showNav\":[4,\"show-nav\"],\"activeContainerIndexes\":[16],\"locale\":[1],\"xmlData\":[1,\"xml-data\"],\"initialIndex\":[2,\"initial-index\"],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"height\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"avatarUrl\":[1,\"avatar-url\"],\"uuid\":[1],\"navBarIcons\":[32],\"currentContainerIndex\":[32],\"exitFlag\":[32],\"containers\":[32],\"showDotsandbtn\":[32]},null,{\"locale\":[\"onLangChange\"],\"commonAudioPath\":[\"onCommonAudioPathChange\"],\"xmlData\":[\"onXmlDataChange\"]}],[0,\"lido-calculator\",{\"width\":[1],\"visible\":[8],\"height\":[1],\"objective\":[1],\"onEntry\":[1,\"on-entry\"],\"x\":[1],\"y\":[1],\"bgColor\":[1,\"bg-color\"],\"penIcon\":[1,\"pen-icon\"],\"displayValue\":[32],\"style\":[32]}],[1,\"lido-canvas\",{\"bgImage\":[1,\"bg-image\"],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"onEntry\":[1,\"on-entry\"],\"style\":[32]}],[4,\"lido-container\",{\"locale\":[1],\"showDropBorder\":[4,\"show-drop-border\"],\"appendToDropOnCompletion\":[4,\"append-to-drop-on-completion\"],\"id\":[1],\"objective\":[1],\"customStyle\":[1,\"custom-style\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"bgImage\":[1,\"bg-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"canplay\":[4],\"showCheck\":[4,\"show-check\"],\"isContinueOnCorrect\":[4,\"is-continue-on-correct\"],\"isAllowOnlyCorrect\":[4,\"is-allow-only-correct\"],\"baseUrl\":[1,\"base-url\"],\"margin\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"showPrevButton\":[1,\"show-prev-button\"],\"showNextButton\":[1,\"show-next-button\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"templateId\":[1,\"template-id\"],\"instructName\":[32],\"speakFlag\":[32]},null,{\"locale\":[\"languageChanged\"]}],[0,\"lido-keyboard\",{\"keys\":[1],\"width\":[1],\"height\":[1],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"fontFamily\":[1,\"font-family\"],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"borderRadius\":[1,\"border-radius\"],\"y\":[1],\"x\":[1],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"onEntry\":[1,\"on-entry\"],\"type\":[1],\"keyboardInput\":[4,\"keyboard-input\"],\"columns\":[1],\"letterLength\":[2,\"letter-length\"],\"disableSpeak\":[4,\"disable-speak\"],\"numberOfClick\":[32],\"inputString\":[32],\"style\":[32]}],[0,\"lido-avatar\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"src\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"]}],[0,\"lido-balance\",{\"pivotimage\":[1],\"scaleimage\":[1],\"handlerimage\":[1],\"fill\":[1],\"tilt\":[2],\"maxTilt\":[2,\"max-tilt\"],\"onEntry\":[1,\"on-entry\"],\"height\":[1],\"width\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"balanceSymbol\":[1537,\"balance-symbol\"],\"showSymbol\":[1540,\"show-symbol\"],\"operation\":[1],\"pivotSvg\":[32],\"scaleSvg\":[32],\"handlerSvg\":[32],\"style\":[32],\"tiltf\":[32],\"leftVal\":[32],\"rightVal\":[32],\"revealSymbol\":[64],\"hideSymbol\":[64],\"updateTilt\":[64]},null,{\"tilt\":[\"tiltChanged\"]}],[4,\"lido-col\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"borderImage\":[1,\"border-image\"],\"boxShadow\":[1,\"box-shadow\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-flash-card\",{\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"direction\":[1],\"display\":[1],\"front\":[8],\"back\":[8],\"flipped\":[1540],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"delayVisible\":[1,\"delay-visible\"],\"style\":[32]},null,{\"flipped\":[\"handleFlippedChange\"]}],[4,\"lido-float\",{\"id\":[1],\"value\":[1],\"z\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"onEntry\":[1,\"on-entry\"],\"width\":[1],\"height\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"delayVisible\":[1,\"delay-visible\"],\"floatDirection\":[1,\"float-direction\"],\"style\":[32]}],[0,\"lido-image\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"src\":[1],\"isSlice\":[1,\"is-slice\"],\"sliceWidth\":[1,\"slice-width\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"filter\":[1],\"borderRadius\":[1,\"border-radius\"],\"transform\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-math-matrix\",{\"rows\":[1],\"cols\":[1],\"defualtFill\":[1538,\"defualt-fill\"],\"leftIndex\":[4,\"left-index\"],\"topIndex\":[4,\"top-index\"],\"bottomIndex\":[4,\"bottom-index\"],\"clickable\":[4],\"activeOnlyVisible\":[4,\"active-only-visible\"],\"matrixImage\":[1,\"matrix-image\"],\"activeBgColor\":[1537,\"active-bg-color\"],\"deactiveBgColor\":[1537,\"deactive-bg-color\"],\"border\":[1537],\"height\":[1537],\"width\":[1537],\"borderRadius\":[1,\"border-radius\"],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"text\":[1],\"type\":[1],\"value\":[1],\"tabIndex\":[2,\"tab-index\"],\"x\":[1],\"y\":[1],\"fontColor\":[1,\"font-color\"],\"onCorrect\":[1,\"on-correct\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onEntry\":[1,\"on-entry\"],\"previousFilledSlot\":[32],\"previousFilledSlotElement\":[32],\"style\":[32]}],[4,\"lido-pos\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-random\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1]}],[4,\"lido-row\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"display\":[1],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-shape\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"shapeType\":[1,\"shape-type\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-slide-fill\",{\"id\":[1],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"fill\":[1],\"numberType\":[1,\"number-type\"],\"min\":[2],\"division\":[2],\"max\":[2],\"slider\":[4],\"src\":[1],\"fillDirection\":[1,\"fill-direction\"],\"type\":[1],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgContent\":[32],\"style\":[32]},null,{\"src\":[\"onSrcChange\"],\"fill\":[\"onPropChange\"],\"division\":[\"onPropChange\"],\"fillDirection\":[\"onPropChange\"],\"numberType\":[\"onPropChange\"],\"min\":[\"onPropChange\"],\"max\":[\"onPropChange\"]}],[0,\"lido-trace\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"svgSource\":[1,\"svg-source\"],\"value\":[1],\"height\":[1],\"width\":[1],\"audio\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"tabIndex\":[2,\"tab-index\"],\"mode\":[1],\"fingerHintUrl\":[1,\"finger-hint-url\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"highlightTextId\":[1,\"highlight-text-id\"],\"animationTrace\":[4,\"animation-trace\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgUrls\":[32],\"audioUrls\":[32],\"currentSvgIndex\":[32],\"moving\":[32],\"style\":[32],\"fileIndex\":[32],\"isDragging\":[32],\"activePointerId\":[32],\"freeTraceUpdateCounter\":[32],\"idleTimer\":[32],\"fingerImg\":[32]},null,{\"svgSource\":[\"initializeSVG\"],\"mode\":[\"initializeSVG\"]}],[4,\"lido-wrap\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"flex\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[4,\"lido-cell\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"scrollbarWidth\":[1,\"scrollbar-width\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[1],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"layout\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"alignItems\":[1,\"align-items\"],\"borderRadius\":[1,\"border-radius\"],\"flexDirection\":[1,\"flex-direction\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-text\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"string\":[1],\"fontFamily\":[1,\"font-family\"],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"highlightWhileSpeaking\":[4,\"highlight-while-speaking\"],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"borderImage\":[1,\"border-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"onEntry\":[1,\"on-entry\"],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"spanType\":[1,\"span-type\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}]]]]"), options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -18,6 +18,7 @@ const DropTimeAttr = 'drop-time';
18
18
  const LidoContainer = 'lido-container';
19
19
  const LIDO_COMMON_AUDIO_PATH = '__LIDO_COMMON_AUDIO_PATH__';
20
20
  const LIDO_COMMON_AUDIO_READY_EVENT = 'lidoCommonAudioPathReady';
21
+ const TemplateID = 'template-id';
21
22
  var TraceMode;
22
23
  (function (TraceMode) {
23
24
  TraceMode["NoFlow"] = "noFlow";
@@ -49,7 +50,7 @@ var DropAction;
49
50
  const exitUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Close.svg';
50
51
  const prevUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Previous.svg';
51
52
  const nextUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Next.svg';
52
- const speakUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Audio%20icon.svg';
53
+ const speakUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/audio.png';
53
54
  const fingerUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/trace/Tracing-hand.svg';
54
55
 
55
56
  function dispatchCustomEvent(eventName, detail) {
@@ -102,64 +103,6 @@ class RiveService {
102
103
  }
103
104
  }
104
105
 
105
- function removeHighlight(element) {
106
- element.classList.remove('highlight');
107
- element.ariaPressed = 'false';
108
- }
109
- // Function to highlight the speaking element
110
- function highlightSpeakingElement(element) {
111
- if (!element)
112
- return;
113
- // Add a custom class for highlighting
114
- element.classList.add('speaking-highlight');
115
- // Inject keyframe animation and class styles into the document's head if it doesn't already exist
116
- const styleId = '#speaking-highlight-style';
117
- if (!document.querySelector(styleId)) {
118
- const style = document.createElement('style');
119
- style.id = styleId;
120
- style.innerHTML = `
121
- .speaking-highlight {
122
- --base-transform: ${element.style.transform};
123
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
124
- // border: 3px solid green !important;
125
- // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
126
- // transform: scale(1.05); /* Subtle scale effect to pop the element */
127
- // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
128
-
129
- }
130
-
131
- @keyframes pulseEffect {
132
- 0% {
133
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
134
- // transform: var(--base-transform) scale(1.05);
135
- // background-color: #FFFF0B;
136
- }
137
- 50% {
138
- box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
139
- // transform: var(--base-transform) scale(1.1);
140
- // background-color: #FFFF0B;
141
- }
142
- 100% {
143
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
144
- // transform: var(--base-transform) scale(1.05);
145
- // background-color: #FFFF0B;
146
- }
147
- }
148
- `;
149
- document.head.appendChild(style);
150
- }
151
- }
152
- // Function to stop highlighting
153
- function stopHighlightForSpeakingElement(element) {
154
- if (!element)
155
- return;
156
- // Remove the custom class for highlighting
157
- element.classList.remove('speaking-highlight');
158
- // Remove inline styles
159
- // element.style.boxShadow = '';
160
- // element.style.border = '';
161
- }
162
-
163
106
  function updateBalanceOnDrop(dragElement, dropElement) {
164
107
  const balanceEl = document.querySelector('lido-balance');
165
108
  if (!balanceEl)
@@ -175,7 +118,7 @@ function updateBalanceOnDrop(dragElement, dropElement) {
175
118
  }
176
119
  function calculateValue(elements, operation) {
177
120
  if (elements.length === 0)
178
- return null;
121
+ return 0;
179
122
  if (operation === "count") {
180
123
  return elements.length;
181
124
  }
@@ -207,15 +150,18 @@ function calculateValue(elements, operation) {
207
150
  }
208
151
  }
209
152
  function balanceResult(container, objectiveString) {
153
+ var _a, _b, _c, _d, _e, _f;
210
154
  const additionalCheck = container.getAttribute('equationCheck');
211
155
  if (!additionalCheck)
212
156
  return false;
213
157
  const balanceEl = document.querySelector('lido-balance');
214
158
  if (!balanceEl)
215
159
  return false;
216
- const leftVal = balanceEl.leftVal;
217
- const rightVal = balanceEl.rightVal;
218
- if (leftVal == null || rightVal == null) {
160
+ const leftVal = Number((_c = (_a = balanceEl.leftVal) !== null && _a !== void 0 ? _a : (_b = balanceEl.dataset) === null || _b === void 0 ? void 0 : _b.leftVal) !== null && _c !== void 0 ? _c : 0);
161
+ const rightVal = Number((_f = (_d = balanceEl.rightVal) !== null && _d !== void 0 ? _d : (_e = balanceEl.dataset) === null || _e === void 0 ? void 0 : _e.rightVal) !== null && _f !== void 0 ? _f : 0);
162
+ const hasLeft = !isNaN(leftVal);
163
+ const hasRight = !isNaN(rightVal);
164
+ if (!hasLeft || !hasRight) {
219
165
  return false;
220
166
  }
221
167
  const symbol = leftVal > rightVal ? '>' : leftVal < rightVal ? '<' : '=';
@@ -486,20 +432,14 @@ function enableDraggingWithScaling(element) {
486
432
  const storedTabIndexes = Object.keys(dropObject).map(Number);
487
433
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
488
434
  if (!(((_a = element.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
489
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
490
- otherElement.style.border = ''; // Reset border
491
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
492
- }
435
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
493
436
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
494
437
  otherElement.style.opacity = '0';
495
438
  }
496
439
  }
497
440
  }
498
441
  else {
499
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
500
- otherElement.style.border = ''; // Reset border
501
- otherElement.style.backgroundColor = ''; // Reset background color
502
- }
442
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
503
443
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
504
444
  otherElement.style.opacity = '1';
505
445
  }
@@ -507,10 +447,7 @@ function enableDraggingWithScaling(element) {
507
447
  });
508
448
  // Apply styles only to the most overlapped element
509
449
  if (mostOverlappedElement) {
510
- if (mostOverlappedElement.tagName.toLowerCase() === 'lido-text') {
511
- mostOverlappedElement.style.border = '2px dashed #ff0000'; // Red dashed border
512
- mostOverlappedElement.style.backgroundColor = 'rgba(255, 0, 0, 0.1)'; // Light red background
513
- }
450
+ if (mostOverlappedElement.tagName.toLowerCase() === 'lido-text') ;
514
451
  else {
515
452
  if (!document.getElementById('unitsDrop') || !document.getElementById('tensDrop') || !document.getElementById('hundredsDrop')) {
516
453
  mostOverlappedElement.style.opacity = '0.3';
@@ -546,10 +483,7 @@ function enableDraggingWithScaling(element) {
546
483
  const storedTabIndexes = Object.keys(dropObject).map(Number);
547
484
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
548
485
  if (!(((_a = element.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
549
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
550
- otherElement.style.border = ''; // Reset border
551
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
552
- }
486
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
553
487
  else if (otherElement.tagName.toLowerCase() === 'lido-image') {
554
488
  otherElement.style.opacity = '0';
555
489
  }
@@ -559,10 +493,7 @@ function enableDraggingWithScaling(element) {
559
493
  }
560
494
  }
561
495
  else {
562
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
563
- otherElement.style.border = ''; // Reset border
564
- otherElement.style.backgroundColor = ''; // Reset background color
565
- }
496
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
566
497
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
567
498
  otherElement.style.opacity = '1';
568
499
  }
@@ -710,6 +641,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
710
641
  let prevDropItem = Object.values(dropHasDrag).find(item => document.getElementById(item.drop) === currentDrop);
711
642
  if (prevDropItem) {
712
643
  prevDropItem.isFull = false;
644
+ highlightElement();
713
645
  // container.setAttribute(DropHasDrag, JSON.stringify(dropHasDrag));
714
646
  const dropEl = document.getElementById(prevDropItem.drop);
715
647
  if (dropEl) {
@@ -741,9 +673,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
741
673
  const storedTabIndexes = Object.keys(dropObject).map(Number);
742
674
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
743
675
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
744
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
745
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
746
- }
676
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
747
677
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
748
678
  otherElement.style.opacity = '0';
749
679
  otherElement.style.backgroundColor = 'transparent';
@@ -751,9 +681,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
751
681
  }
752
682
  }
753
683
  else {
754
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
755
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
756
- }
684
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
757
685
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
758
686
  otherElement.style.opacity = '1';
759
687
  otherElement.style.backgroundColor = 'transparent';
@@ -761,6 +689,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
761
689
  }
762
690
  });
763
691
  handleShowCheck();
692
+ highlightElement();
764
693
  }
765
694
  async function onElementDropComplete(dragElement, dropElement) {
766
695
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -874,6 +803,7 @@ async function onElementDropComplete(dragElement, dropElement) {
874
803
  if (isAllowOnlyOneDrop && isisFull) {
875
804
  isisFull.isFull = true;
876
805
  dropElement.setAttribute('is-full', 'true');
806
+ highlightElement();
877
807
  }
878
808
  else {
879
809
  console.warn('No matching drop item found for', dropElement);
@@ -917,20 +847,14 @@ async function onElementDropComplete(dragElement, dropElement) {
917
847
  const storedTabIndexes = Object.keys(dropObject).map(Number);
918
848
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
919
849
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
920
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
921
- otherElement.style.border = ''; // Reset border
922
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
923
- }
850
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
924
851
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
925
852
  otherElement.style.opacity = '0';
926
853
  }
927
854
  }
928
855
  }
929
856
  else {
930
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
931
- otherElement.style.border = ''; // Reset border
932
- otherElement.style.backgroundColor = ''; // Reset background color
933
- }
857
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
934
858
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
935
859
  otherElement.style.opacity = '1';
936
860
  }
@@ -989,6 +913,7 @@ async function onElementDropComplete(dragElement, dropElement) {
989
913
  dragElement.style.opacity = '1';
990
914
  const allDropElements = document.querySelectorAll('.drop-element');
991
915
  allDropElements.forEach(el => updateDropBorder(el));
916
+ highlightElement();
992
917
  await onActivityComplete(dragElement, dropElement);
993
918
  }
994
919
  function updateDropBorder(element) {
@@ -1051,10 +976,10 @@ async function onClickDropOrDragElement(element, type) {
1051
976
  `;
1052
977
  document.head.appendChild(style);
1053
978
  }
1054
- element === null || element === void 0 ? void 0 : element.classList.add('highlight');
979
+ element === null || element === void 0 ? void 0 : element.classList.add('highlight-element');
1055
980
  element.ariaPressed = 'true';
1056
- const selectedDropElement = type === 'drop' ? element : document.querySelector("[type='drop'].highlight");
1057
- const selectedDragElement = type === 'drag' ? element : document.querySelector("[type='drag'].highlight");
981
+ const selectedDropElement = type === 'drop' ? element : document.querySelector("[type='drop'].highlight-element");
982
+ const selectedDragElement = type === 'drag' ? element : document.querySelector("[type='drag'].highlight-element");
1058
983
  if (!selectedDropElement) {
1059
984
  onClickDragElement(element);
1060
985
  }
@@ -1163,6 +1088,110 @@ const reduceSizeToOriginal = () => {
1163
1088
  });
1164
1089
  };
1165
1090
 
1091
+ function removeHighlight(element) {
1092
+ element.classList.remove('highlight-element');
1093
+ element.ariaPressed = 'false';
1094
+ }
1095
+ // Function to highlight the speaking element
1096
+ function highlightSpeakingElement(element) {
1097
+ if (!element)
1098
+ return;
1099
+ // Add a custom class for highlighting
1100
+ element.classList.add('speaking-highlight');
1101
+ // Inject keyframe animation and class styles into the document's head if it doesn't already exist
1102
+ const styleId = '#speaking-highlight-style';
1103
+ if (!document.querySelector(styleId)) {
1104
+ const style = document.createElement('style');
1105
+ style.id = styleId;
1106
+ style.innerHTML = `
1107
+ .speaking-highlight {
1108
+ --base-transform: ${element.style.transform};
1109
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1110
+ // border: 3px solid green !important;
1111
+ // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1112
+ // transform: scale(1.05); /* Subtle scale effect to pop the element */
1113
+ // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1114
+
1115
+ }
1116
+
1117
+ @keyframes pulseEffect {
1118
+ 0% {
1119
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1120
+ // transform: var(--base-transform) scale(1.05);
1121
+ // background-color: #FFFF0B;
1122
+ }
1123
+ 50% {
1124
+ box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1125
+ // transform: var(--base-transform) scale(1.1);
1126
+ // background-color: #FFFF0B;
1127
+ }
1128
+ 100% {
1129
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1130
+ // transform: var(--base-transform) scale(1.05);
1131
+ // background-color: #FFFF0B;
1132
+ }
1133
+ }
1134
+ `;
1135
+ document.head.appendChild(style);
1136
+ }
1137
+ }
1138
+ // Function to stop highlighting
1139
+ function stopHighlightForSpeakingElement(element) {
1140
+ if (!element)
1141
+ return;
1142
+ // Remove the custom class for highlighting
1143
+ element.classList.remove('speaking-highlight');
1144
+ // Remove inline styles
1145
+ // element.style.boxShadow = '';
1146
+ // element.style.border = '';
1147
+ }
1148
+ function highlightElement() {
1149
+ const container = document.querySelector(LidoContainer);
1150
+ if (!container)
1151
+ return;
1152
+ const dropElements = buildDropHasDragFromDOM();
1153
+ let firstFalse = Object.values(dropElements).find(item => !item.isFull);
1154
+ if (firstFalse) {
1155
+ const dropEls = container.querySelectorAll(`[type="drop"]`);
1156
+ dropEls.forEach(dropEl => {
1157
+ dropEl.classList.remove('highlight-element');
1158
+ });
1159
+ const dropEle = container.querySelector(`#${firstFalse.drop}`);
1160
+ if (dropEle) {
1161
+ dropEle.classList.add('highlight-element');
1162
+ }
1163
+ // Highlight corresponding drag elements if mistakes are more than 2
1164
+ const dragElements = container.querySelectorAll(`[type="drag"]`);
1165
+ if (countOfMistakes > 2) {
1166
+ dragElements.forEach(dragEl => {
1167
+ dragEl.classList.remove('highlight-element');
1168
+ if (dragEl.getAttribute('value') === dropEle.getAttribute('value')) {
1169
+ dragEl.classList.add('highlight-element');
1170
+ dragEl.classList.remove('drag-element');
1171
+ }
1172
+ });
1173
+ }
1174
+ else {
1175
+ dragElements.forEach(dragEl => {
1176
+ dragEl.classList.remove('highlight-element');
1177
+ dragEl.classList.add('drag-element');
1178
+ });
1179
+ }
1180
+ }
1181
+ else {
1182
+ if (countOfMistakes <= 2)
1183
+ return;
1184
+ const clickTemplate = container.querySelectorAll("[type='click']");
1185
+ clickTemplate.forEach(clickEl => {
1186
+ if (clickEl.getAttribute('value') === container.getAttribute('objective')) {
1187
+ if (!clickEl.classList.contains('highlight-element')) {
1188
+ clickEl.classList.add('highlight-element');
1189
+ }
1190
+ }
1191
+ });
1192
+ }
1193
+ }
1194
+
1166
1195
  class AudioPlayer {
1167
1196
  constructor() {
1168
1197
  this.audioElement = document.createElement('audio');
@@ -3246,6 +3275,7 @@ function addClickListenerForClickType(element) {
3246
3275
  if (!isInsideCalculator) {
3247
3276
  storingEachActivityScore(isCorrect);
3248
3277
  }
3278
+ highlightElement();
3249
3279
  handleShowCheck();
3250
3280
  return;
3251
3281
  }
@@ -68604,7 +68634,7 @@ const initEventsForElement = async (element, type) => {
68604
68634
  const executeActions = async (actionsString, thisElement, element) => {
68605
68635
  var _a, _b, _c, _d, _e, _f, _g;
68606
68636
  const actions = parseActions(actionsString);
68607
- body.style.pointerEvents = 'none';
68637
+ // body.style.pointerEvents = 'none';
68608
68638
  for (let i = 0; i < actions.length; i++) {
68609
68639
  const action = actions[i];
68610
68640
  const queriedElement = document.querySelector(action.actor);
@@ -69048,12 +69078,16 @@ const countPatternWords = (pattern) => {
69048
69078
  }
69049
69079
  return wordCount;
69050
69080
  };
69081
+ let countOfMistakes = 0;
69051
69082
  const storingEachActivityScore = (flag) => {
69052
69083
  if (flag) {
69053
69084
  gameScore.rightMoves += 1;
69085
+ countOfMistakes = 0;
69086
+ highlightElement();
69054
69087
  }
69055
69088
  else {
69056
69089
  gameScore.wrongMoves += 1;
69090
+ countOfMistakes += 1;
69057
69091
  }
69058
69092
  console.log('Right Moves : ', gameScore.rightMoves);
69059
69093
  console.log('Wrong Moves : ', gameScore.wrongMoves);
@@ -69099,9 +69133,7 @@ async function onActivityComplete(dragElement, dropElement) {
69099
69133
  const storedTabIndexes = Object.keys(dragScore).map(Number);
69100
69134
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
69101
69135
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
69102
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
69103
- otherElement.style.backgroundColor = 'transparent'; // Reset background color**
69104
- }
69136
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
69105
69137
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
69106
69138
  otherElement.style.opacity = '0';
69107
69139
  otherElement.style.backgroundColor = 'transparent';
@@ -69109,9 +69141,7 @@ async function onActivityComplete(dragElement, dropElement) {
69109
69141
  }
69110
69142
  }
69111
69143
  else {
69112
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
69113
- otherElement.style.backgroundColor = 'transparent'; // Reset background color**********
69114
- }
69144
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
69115
69145
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
69116
69146
  otherElement.style.opacity = '1';
69117
69147
  otherElement.style.backgroundColor = 'transparent';
@@ -69237,8 +69267,10 @@ const validateObjectiveStatus = async () => {
69237
69267
  }
69238
69268
  else {
69239
69269
  const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
69270
+ const onCorrect = container.getAttribute('onCorrect');
69240
69271
  if (!isContinueOnCorrect) {
69241
69272
  await calculateScore();
69273
+ await executeActions(onCorrect, container);
69242
69274
  triggerNextContainer();
69243
69275
  }
69244
69276
  else {
@@ -69700,10 +69732,22 @@ const animateBoxCells = async (element, value) => {
69700
69732
  await new Promise(resolve => setTimeout(resolve, 600)); // Adjust delay as needed
69701
69733
  cell.classList.remove('lido-box-highlight');
69702
69734
  }
69703
- // After all cells have come down, apply the bounce animation
69704
- for (const cell of boxCells) {
69705
- // play the text child inside cell
69706
- await AudioPlayer.getI().play(cell);
69735
+ // checkout parent cell first then pick the first text child inside cell
69736
+ const parentCell = document.getElementById(LidoContainer);
69737
+ if (!parentCell)
69738
+ return;
69739
+ const firstTextChild = parentCell.querySelector('lido-text');
69740
+ if (firstTextChild) {
69741
+ // play the text child inside parent cell
69742
+ await AudioPlayer.getI().play(firstTextChild);
69743
+ }
69744
+ // Now select each box cell's text child and play them one by one
69745
+ for (const box of boxCells) {
69746
+ const text = box.querySelector('lido-text');
69747
+ console.log('box text', text);
69748
+ if (!text)
69749
+ continue;
69750
+ await AudioPlayer.getI().play(text);
69707
69751
  }
69708
69752
  };
69709
69753
  const questionBoxAnimation = async (element, value) => {
@@ -69725,20 +69769,10 @@ const questionBoxAnimation = async (element, value) => {
69725
69769
  });
69726
69770
  // Reveal all drop childrens which is hidden
69727
69771
  const dropElements = Array.from(element.querySelectorAll("[type='drop']"));
69728
- let check = false;
69729
69772
  dropElements.forEach(dropEl => {
69730
69773
  const dropVal = dropEl.getAttribute("value");
69731
69774
  if (dropVal && dropEl.innerText.trim() === "?") {
69732
69775
  dropEl.innerText = dropVal;
69733
- if (dropElements.length > 1 && check == false) {
69734
- if (window.innerWidth > window.innerHeight) {
69735
- dropEl.style.marginRight = "-45px";
69736
- }
69737
- else {
69738
- dropEl.style.marginRight = "-65px";
69739
- }
69740
- check = true;
69741
- }
69742
69776
  }
69743
69777
  });
69744
69778
  };
@@ -69748,9 +69782,9 @@ const SumTogetherAnimation = async (element, value) => {
69748
69782
  if (!value)
69749
69783
  return;
69750
69784
  // Expecting structure: [_, TopRow, questionRow, optionRow, ...]
69751
- const TopRow = Array.from(element.children)[1];
69752
- const questionRow = Array.from(element.children)[2];
69753
- const optionRow = Array.from(element.children)[3];
69785
+ const TopRow = Array.from(element.children)[2];
69786
+ const questionRow = Array.from(element.children)[3];
69787
+ const optionRow = Array.from(element.children)[4];
69754
69788
  if (!TopRow || !questionRow || !optionRow)
69755
69789
  return;
69756
69790
  const topRowChildren = Array.from(TopRow.children);
@@ -69901,4 +69935,4 @@ const updateCalculatorAnswer = (el) => {
69901
69935
  el.setAttribute('string', value);
69902
69936
  };
69903
69937
 
69904
- export { ActivityScoreKey as A, matchStringPattern as B, triggerNextContainer as C, triggerPrevcontainer as D, setCancelBtnPopup as E, getDefaultExportFromCjs as F, tinyColor as G, DropAction as H, validateObjectiveStatus as I, fraction as J, LIDO_COMMON_AUDIO_READY_EVENT as K, LIDO_COMMON_AUDIO_PATH as L, speakIcon as M, NextContainerKey as N, fingerUrl as O, PrevContainerKey as P, RiveService as R, SelectedValuesKey as S, TraceMode as T, convertUrlToRelative as a, storingEachActivityScore as b, commonjsGlobal as c, executeActions as d, equationCheck as e, format as f, calculateScore as g, handlingChildElements as h, initEventsForElement as i, attachSpeakIcon as j, calculateScale as k, handleFloatElementPosition as l, handleElementClick as m, dispatchActivityChangeEvent as n, dispatchGameCompletedEvent as o, parseProp as p, dispatchGameExitEvent as q, AudioPlayer as r, setVisibilityWithDelay as s, generateUUIDFallback as t, exitUrl as u, prevUrl as v, nextUrl as w, speakUrl as x, LidoContainer as y, getCancelBtnPopup as z };
69938
+ export { ActivityScoreKey as A, getCancelBtnPopup as B, matchStringPattern as C, triggerNextContainer as D, triggerPrevcontainer as E, setCancelBtnPopup as F, getDefaultExportFromCjs as G, tinyColor as H, DropAction as I, validateObjectiveStatus as J, fraction as K, LIDO_COMMON_AUDIO_PATH as L, LIDO_COMMON_AUDIO_READY_EVENT as M, NextContainerKey as N, TraceMode as O, PrevContainerKey as P, speakIcon as Q, RiveService as R, SelectedValuesKey as S, TemplateID as T, fingerUrl as U, convertUrlToRelative as a, storingEachActivityScore as b, commonjsGlobal as c, executeActions as d, equationCheck as e, format as f, calculateScore as g, handlingChildElements as h, initEventsForElement as i, attachSpeakIcon as j, calculateScale as k, highlightElement as l, handleFloatElementPosition as m, handleElementClick as n, dispatchActivityChangeEvent as o, parseProp as p, dispatchGameCompletedEvent as q, dispatchGameExitEvent as r, setVisibilityWithDelay as s, AudioPlayer as t, generateUUIDFallback as u, exitUrl as v, prevUrl as w, nextUrl as x, speakUrl as y, LidoContainer as z };
@@ -1 +1 @@
1
- export{f as format}from"./p-17d93181.js";import"./p-9a9d5339.js";
1
+ export{f as format}from"./p-aee89fba.js";import"./p-9a9d5339.js";
@@ -1 +1 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:0 2px 4px rgba(151, 150, 150, 0.1) !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url("https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}
1
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url("https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}