lido-player 0.0.2-alpha-40 → 0.0.2-alpha-41

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 (52) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/lido-avatar_19.cjs.entry.js +1 -1
  3. package/dist/cjs/{utils-02d1df71.js → utils-9e484ec0.js} +14 -13
  4. package/dist/collection/utils/utils.js +14 -0
  5. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +1 -14
  6. package/dist/components/index.js +1 -1
  7. package/dist/components/lido-avatar.js +1 -1
  8. package/dist/components/lido-cell.js +1 -1
  9. package/dist/components/lido-col.js +1 -1
  10. package/dist/components/lido-container.js +1 -1
  11. package/dist/components/lido-flash-card.js +1 -1
  12. package/dist/components/lido-float.js +1 -1
  13. package/dist/components/lido-home.js +1 -1
  14. package/dist/components/lido-image.js +1 -1
  15. package/dist/components/lido-keyboard.js +1 -1
  16. package/dist/components/lido-math-matrix.js +1 -1
  17. package/dist/components/lido-pos.js +1 -1
  18. package/dist/components/lido-random.js +1 -1
  19. package/dist/components/lido-root.js +19 -19
  20. package/dist/components/lido-row.js +1 -1
  21. package/dist/components/lido-shape.js +1 -1
  22. package/dist/components/lido-slide-fill.js +1 -1
  23. package/dist/components/lido-text.js +1 -1
  24. package/dist/components/lido-trace.js +1 -1
  25. package/dist/components/lido-wrap.js +1 -1
  26. package/dist/components/{p-5fb5226e.js → p-006bafa5.js} +1 -1
  27. package/dist/components/{p-81542f6c.js → p-14dae335.js} +1 -1
  28. package/dist/components/{p-16ff1411.js → p-3cffc5c6.js} +1 -1
  29. package/dist/components/{p-d3a015c5.js → p-4aa39b17.js} +1 -1
  30. package/dist/components/{p-992b0ecb.js → p-5028a4d6.js} +1 -1
  31. package/dist/components/{p-1899cd80.js → p-70bd36c1.js} +1 -1
  32. package/dist/components/{p-50691e58.js → p-82667ced.js} +1 -1
  33. package/dist/components/{p-c8a210e2.js → p-84f4839f.js} +1 -1
  34. package/dist/components/{p-ecbbf755.js → p-8df305dc.js} +1 -1
  35. package/dist/components/{p-e75bb071.js → p-9da9273c.js} +1 -1
  36. package/dist/components/{p-025c1426.js → p-a1340ae7.js} +1 -1
  37. package/dist/components/{p-fe91abe5.js → p-ac5ba8ca.js} +14 -13
  38. package/dist/components/{p-4a5bc7a1.js → p-b6d93a6c.js} +18 -18
  39. package/dist/components/{p-00ef7219.js → p-bb824646.js} +1 -1
  40. package/dist/components/{p-95151cee.js → p-bbc5cd43.js} +1 -1
  41. package/dist/components/{p-231747a8.js → p-d73ee4cd.js} +1 -1
  42. package/dist/components/{p-399a8fc2.js → p-d8dc7418.js} +1 -1
  43. package/dist/components/{p-d5d1fb43.js → p-ddfa7880.js} +2 -2
  44. package/dist/components/{p-d1babd48.js → p-f41bfb24.js} +1 -1
  45. package/dist/esm/index.js +1 -1
  46. package/dist/esm/lido-avatar_19.entry.js +1 -1
  47. package/dist/esm/{utils-9330d5b6.js → utils-1130854a.js} +14 -13
  48. package/dist/lido-player/index.esm.js +1 -1
  49. package/dist/lido-player/lido-player.esm.js +1 -1
  50. package/dist/lido-player/{p-6ee2ec0b.entry.js → p-6b1ed256.entry.js} +1 -1
  51. package/dist/lido-player/{p-11955d31.js → p-ee14fefd.js} +2 -2
  52. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const utils = require('./utils-02d1df71.js');
5
+ const utils = require('./utils-9e484ec0.js');
6
6
  require('./index-fe562525.js');
7
7
 
8
8
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fe562525.js');
6
- const utils = require('./utils-02d1df71.js');
6
+ const utils = require('./utils-9e484ec0.js');
7
7
 
8
8
  var rive = {exports: {}};
9
9
 
@@ -836,19 +836,6 @@ async function onElementDropComplete(dragElement, dropElement) {
836
836
  // Add pulse and highlight effect for a successful match
837
837
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
838
838
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
839
- if (isCorrect) {
840
- // Perform actions if onMatch is defined
841
- const onCorrect = dropElement.getAttribute('onCorrect');
842
- if (onCorrect) {
843
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
844
- await executeActions(onCorrect, dropElement, dragElement);
845
- }
846
- }
847
- else {
848
- const onInCorrect = dropElement.getAttribute('onInCorrect');
849
- await executeActions(onInCorrect, dropElement, dragElement);
850
- // showWrongAnswerAnimation([dropElement, dragElement]);
851
- }
852
839
  storingEachActivityScore(isCorrect);
853
840
  dragElement.style.opacity = '1';
854
841
  await onActivityComplete(dragElement, dropElement);
@@ -67997,6 +67984,7 @@ const executeActions = async (actionsString, thisElement, element) => {
67997
67984
  const container = document.getElementById(LidoContainer);
67998
67985
  const containerScale = getElementScale$1(container);
67999
67986
  dragElement.style.transform = 'translate(0,0)';
67987
+ console.log("logg alinmatch");
68000
67988
  const dropRect = dropElement.getBoundingClientRect();
68001
67989
  const dragRect = dragElement.getBoundingClientRect();
68002
67990
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -68272,6 +68260,19 @@ async function onActivityComplete(dragElement, dropElement) {
68272
68260
  if (!container)
68273
68261
  return;
68274
68262
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
68263
+ if (dragElement && dropElement) {
68264
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
68265
+ if (isCorrect) {
68266
+ const onCorrect = dropElement.getAttribute('onCorrect');
68267
+ if (onCorrect) {
68268
+ await executeActions(onCorrect, dropElement, dragElement);
68269
+ }
68270
+ }
68271
+ else {
68272
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
68273
+ await executeActions(onInCorrect, dropElement, dragElement);
68274
+ }
68275
+ }
68275
68276
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
68276
68277
  const tabindex = dropElement.getAttribute('tab-index');
68277
68278
  if (!dragScore[tabindex]) {
@@ -83,6 +83,7 @@ export const executeActions = async (actionsString, thisElement, element) => {
83
83
  const container = document.getElementById(LidoContainer);
84
84
  const containerScale = getElementScale(container);
85
85
  dragElement.style.transform = 'translate(0,0)';
86
+ console.log("logg alinmatch");
86
87
  const dropRect = dropElement.getBoundingClientRect();
87
88
  const dragRect = dragElement.getBoundingClientRect();
88
89
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -358,6 +359,19 @@ export async function onActivityComplete(dragElement, dropElement) {
358
359
  if (!container)
359
360
  return;
360
361
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
362
+ if (dragElement && dropElement) {
363
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
364
+ if (isCorrect) {
365
+ const onCorrect = dropElement.getAttribute('onCorrect');
366
+ if (onCorrect) {
367
+ await executeActions(onCorrect, dropElement, dragElement);
368
+ }
369
+ }
370
+ else {
371
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
372
+ await executeActions(onInCorrect, dropElement, dragElement);
373
+ }
374
+ }
361
375
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
362
376
  const tabindex = dropElement.getAttribute('tab-index');
363
377
  if (!dragScore[tabindex]) {
@@ -1,4 +1,4 @@
1
- import { calculateScale, countPatternWords, executeActions, handleShowCheck, handlingElementFlexibleWidth, onActivityComplete, storingEachActivityScore } from "../utils";
1
+ import { calculateScale, countPatternWords, handleShowCheck, handlingElementFlexibleWidth, onActivityComplete, storingEachActivityScore } from "../utils";
2
2
  import { AudioPlayer } from "../audioPlayer";
3
3
  import { DragSelectedMapKey, DragMapKey, DropHasDrag, DropLength, SelectedValuesKey, DropMode, DropToAttr, DropTimeAttr, LidoContainer, DropAction } from "../constants";
4
4
  import { dispatchElementDropEvent } from "../customEvents";
@@ -685,19 +685,6 @@ export async function onElementDropComplete(dragElement, dropElement) {
685
685
  // Add pulse and highlight effect for a successful match
686
686
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
687
687
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
688
- if (isCorrect) {
689
- // Perform actions if onMatch is defined
690
- const onCorrect = dropElement.getAttribute('onCorrect');
691
- if (onCorrect) {
692
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
693
- await executeActions(onCorrect, dropElement, dragElement);
694
- }
695
- }
696
- else {
697
- const onInCorrect = dropElement.getAttribute('onInCorrect');
698
- await executeActions(onInCorrect, dropElement, dragElement);
699
- // showWrongAnswerAnimation([dropElement, dragElement]);
700
- }
701
688
  storingEachActivityScore(isCorrect);
702
689
  dragElement.style.opacity = '1';
703
690
  await onActivityComplete(dragElement, dropElement);
@@ -1 +1 @@
1
- export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-fe91abe5.js';
1
+ export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ac5ba8ca.js';
@@ -1,4 +1,4 @@
1
- import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-231747a8.js';
1
+ import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-d73ee4cd.js';
2
2
 
3
3
  const LidoAvatar = LidoAvatar$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoCell$1, d as defineCustomElement$1 } from './p-81542f6c.js';
1
+ import { L as LidoCell$1, d as defineCustomElement$1 } from './p-14dae335.js';
2
2
 
3
3
  const LidoCell = LidoCell$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoCol$1, d as defineCustomElement$1 } from './p-c8a210e2.js';
1
+ import { L as LidoCol$1, d as defineCustomElement$1 } from './p-84f4839f.js';
2
2
 
3
3
  const LidoCol = LidoCol$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoContainer$1, d as defineCustomElement$1 } from './p-e75bb071.js';
1
+ import { L as LidoContainer$1, d as defineCustomElement$1 } from './p-9da9273c.js';
2
2
 
3
3
  const LidoContainer = LidoContainer$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoFlash, d as defineCustomElement$1 } from './p-d1babd48.js';
1
+ import { L as LidoFlash, d as defineCustomElement$1 } from './p-f41bfb24.js';
2
2
 
3
3
  const LidoFlashCard = LidoFlash;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoFloat$1, d as defineCustomElement$1 } from './p-992b0ecb.js';
1
+ import { L as LidoFloat$1, d as defineCustomElement$1 } from './p-5028a4d6.js';
2
2
 
3
3
  const LidoFloat = LidoFloat$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoHome$1, d as defineCustomElement$1 } from './p-4a5bc7a1.js';
1
+ import { L as LidoHome$1, d as defineCustomElement$1 } from './p-b6d93a6c.js';
2
2
 
3
3
  const LidoHome = LidoHome$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoImage$1, d as defineCustomElement$1 } from './p-00ef7219.js';
1
+ import { L as LidoImage$1, d as defineCustomElement$1 } from './p-bb824646.js';
2
2
 
3
3
  const LidoImage = LidoImage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoKeyboard$1, d as defineCustomElement$1 } from './p-d5d1fb43.js';
1
+ import { L as LidoKeyboard$1, d as defineCustomElement$1 } from './p-ddfa7880.js';
2
2
 
3
3
  const LidoKeyboard = LidoKeyboard$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoMathMatrix$1, d as defineCustomElement$1 } from './p-5fb5226e.js';
1
+ import { L as LidoMathMatrix$1, d as defineCustomElement$1 } from './p-006bafa5.js';
2
2
 
3
3
  const LidoMathMatrix = LidoMathMatrix$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoPos$1, d as defineCustomElement$1 } from './p-50691e58.js';
1
+ import { L as LidoPos$1, d as defineCustomElement$1 } from './p-82667ced.js';
2
2
 
3
3
  const LidoPos = LidoPos$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoRandom$1, d as defineCustomElement$1 } from './p-399a8fc2.js';
1
+ import { L as LidoRandom$1, d as defineCustomElement$1 } from './p-d8dc7418.js';
2
2
 
3
3
  const LidoRandom = LidoRandom$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,22 +1,22 @@
1
- import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-fe91abe5.js';
2
- import { d as defineCustomElement$j } from './p-231747a8.js';
3
- import { d as defineCustomElement$i } from './p-81542f6c.js';
4
- import { d as defineCustomElement$h } from './p-c8a210e2.js';
5
- import { d as defineCustomElement$g } from './p-e75bb071.js';
6
- import { d as defineCustomElement$f } from './p-d1babd48.js';
7
- import { d as defineCustomElement$e } from './p-992b0ecb.js';
8
- import { d as defineCustomElement$d } from './p-4a5bc7a1.js';
9
- import { d as defineCustomElement$c } from './p-00ef7219.js';
10
- import { d as defineCustomElement$b } from './p-d5d1fb43.js';
11
- import { d as defineCustomElement$a } from './p-5fb5226e.js';
12
- import { d as defineCustomElement$9 } from './p-50691e58.js';
13
- import { d as defineCustomElement$8 } from './p-399a8fc2.js';
14
- import { d as defineCustomElement$7 } from './p-ecbbf755.js';
15
- import { d as defineCustomElement$6 } from './p-025c1426.js';
16
- import { d as defineCustomElement$5 } from './p-95151cee.js';
17
- import { d as defineCustomElement$4 } from './p-16ff1411.js';
18
- import { d as defineCustomElement$3 } from './p-1899cd80.js';
19
- import { d as defineCustomElement$2 } from './p-d3a015c5.js';
1
+ import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-ac5ba8ca.js';
2
+ import { d as defineCustomElement$j } from './p-d73ee4cd.js';
3
+ import { d as defineCustomElement$i } from './p-14dae335.js';
4
+ import { d as defineCustomElement$h } from './p-84f4839f.js';
5
+ import { d as defineCustomElement$g } from './p-9da9273c.js';
6
+ import { d as defineCustomElement$f } from './p-f41bfb24.js';
7
+ import { d as defineCustomElement$e } from './p-5028a4d6.js';
8
+ import { d as defineCustomElement$d } from './p-b6d93a6c.js';
9
+ import { d as defineCustomElement$c } from './p-bb824646.js';
10
+ import { d as defineCustomElement$b } from './p-ddfa7880.js';
11
+ import { d as defineCustomElement$a } from './p-006bafa5.js';
12
+ import { d as defineCustomElement$9 } from './p-82667ced.js';
13
+ import { d as defineCustomElement$8 } from './p-d8dc7418.js';
14
+ import { d as defineCustomElement$7 } from './p-8df305dc.js';
15
+ import { d as defineCustomElement$6 } from './p-a1340ae7.js';
16
+ import { d as defineCustomElement$5 } from './p-bbc5cd43.js';
17
+ import { d as defineCustomElement$4 } from './p-3cffc5c6.js';
18
+ import { d as defineCustomElement$3 } from './p-70bd36c1.js';
19
+ import { d as defineCustomElement$2 } from './p-4aa39b17.js';
20
20
 
21
21
  const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
22
22
  constructor() {
@@ -1,4 +1,4 @@
1
- import { L as LidoRow$1, d as defineCustomElement$1 } from './p-ecbbf755.js';
1
+ import { L as LidoRow$1, d as defineCustomElement$1 } from './p-8df305dc.js';
2
2
 
3
3
  const LidoRow = LidoRow$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoShape$1, d as defineCustomElement$1 } from './p-025c1426.js';
1
+ import { L as LidoShape$1, d as defineCustomElement$1 } from './p-a1340ae7.js';
2
2
 
3
3
  const LidoShape = LidoShape$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoSlideFill$1, d as defineCustomElement$1 } from './p-95151cee.js';
1
+ import { L as LidoSlideFill$1, d as defineCustomElement$1 } from './p-bbc5cd43.js';
2
2
 
3
3
  const LidoSlideFill = LidoSlideFill$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoText$1, d as defineCustomElement$1 } from './p-16ff1411.js';
1
+ import { L as LidoText$1, d as defineCustomElement$1 } from './p-3cffc5c6.js';
2
2
 
3
3
  const LidoText = LidoText$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoTrace$1, d as defineCustomElement$1 } from './p-1899cd80.js';
1
+ import { L as LidoTrace$1, d as defineCustomElement$1 } from './p-70bd36c1.js';
2
2
 
3
3
  const LidoTrace = LidoTrace$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoWrap$1, d as defineCustomElement$1 } from './p-d3a015c5.js';
1
+ import { L as LidoWrap$1, d as defineCustomElement$1 } from './p-4aa39b17.js';
2
2
 
3
3
  const LidoWrap = LidoWrap$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:cover;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--inactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px}";
4
4
  const LidoMathMatrixStyle0 = lidoMathMatrixCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
4
4
  const LidoCellStyle0 = lidoCellCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo Bhai 2', serif}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
4
4
  const LidoTextStyle0 = lidoTextCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoWrapCss = ".lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;background-color:var(--child-bg-color, #f0f0f0);box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}";
4
4
  const LidoWrapStyle0 = lidoWrapCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}#removeShadow{box-shadow:unset !important}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
4
4
  const LidoFloatStyle0 = lidoFloatCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;max-height:calc(100vh - 50px);touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;transition:fill 0.2s, r 0.2s}.lido-blindTracing{stroke:none !important}.lido-blindFreeTrace{stroke:none !important}.lido-hovered{cursor:grab;fill:darkred}#lido-controls{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:10px;background-color:#f0f0f0;border-top:1px solid #ccc}button{padding:10px;font-size:16px}@media (max-width: 600px){button{padding:8px;font-size:14px}}.lido-trace-path-green{}.lido-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.lido-trace{height:700px;width:700px;z-index:1;justify-items:center;align-content:center}.trace-animate{animation:trace-bounce 0.5s}@keyframes trace-bounce{0%{transform:scale(1)}30%{transform:scale(1.05)}60%{transform:scale(0.95)}100%{transform:scale(1)}}";
4
4
  const LidoTraceStyle0 = lidoTraceCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
4
4
  const LidoPosStyle0 = lidoPosCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoColCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}";
4
4
  const LidoColStyle0 = lidoColCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoRowCss = ".lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}";
4
4
  const LidoRowStyle0 = lidoRowCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
4
4
  const LidoContainerStyle0 = lidoContainerCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z)}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}";
4
4
  const LidoShapeStyle0 = lidoShapeCss;
@@ -2232,19 +2232,6 @@ async function onElementDropComplete(dragElement, dropElement) {
2232
2232
  // Add pulse and highlight effect for a successful match
2233
2233
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
2234
2234
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
2235
- if (isCorrect) {
2236
- // Perform actions if onMatch is defined
2237
- const onCorrect = dropElement.getAttribute('onCorrect');
2238
- if (onCorrect) {
2239
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
2240
- await executeActions(onCorrect, dropElement, dragElement);
2241
- }
2242
- }
2243
- else {
2244
- const onInCorrect = dropElement.getAttribute('onInCorrect');
2245
- await executeActions(onInCorrect, dropElement, dragElement);
2246
- // showWrongAnswerAnimation([dropElement, dragElement]);
2247
- }
2248
2235
  storingEachActivityScore(isCorrect);
2249
2236
  dragElement.style.opacity = '1';
2250
2237
  await onActivityComplete(dragElement, dropElement);
@@ -69393,6 +69380,7 @@ const executeActions = async (actionsString, thisElement, element) => {
69393
69380
  const container = document.getElementById(LidoContainer);
69394
69381
  const containerScale = getElementScale$1(container);
69395
69382
  dragElement.style.transform = 'translate(0,0)';
69383
+ console.log("logg alinmatch");
69396
69384
  const dropRect = dropElement.getBoundingClientRect();
69397
69385
  const dragRect = dragElement.getBoundingClientRect();
69398
69386
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -69668,6 +69656,19 @@ async function onActivityComplete(dragElement, dropElement) {
69668
69656
  if (!container)
69669
69657
  return;
69670
69658
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
69659
+ if (dragElement && dropElement) {
69660
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
69661
+ if (isCorrect) {
69662
+ const onCorrect = dropElement.getAttribute('onCorrect');
69663
+ if (onCorrect) {
69664
+ await executeActions(onCorrect, dropElement, dragElement);
69665
+ }
69666
+ }
69667
+ else {
69668
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
69669
+ await executeActions(onInCorrect, dropElement, dragElement);
69670
+ }
69671
+ }
69671
69672
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
69672
69673
  const tabindex = dropElement.getAttribute('tab-index');
69673
69674
  if (!dragScore[tabindex]) {
@@ -1,21 +1,21 @@
1
- import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-fe91abe5.js';
2
- import { d as defineCustomElement$h } from './p-231747a8.js';
3
- import { d as defineCustomElement$g } from './p-81542f6c.js';
4
- import { d as defineCustomElement$f } from './p-c8a210e2.js';
5
- import { d as defineCustomElement$e } from './p-e75bb071.js';
6
- import { d as defineCustomElement$d } from './p-d1babd48.js';
7
- import { d as defineCustomElement$c } from './p-992b0ecb.js';
8
- import { d as defineCustomElement$b } from './p-00ef7219.js';
9
- import { d as defineCustomElement$a } from './p-d5d1fb43.js';
10
- import { d as defineCustomElement$9 } from './p-5fb5226e.js';
11
- import { d as defineCustomElement$8 } from './p-50691e58.js';
12
- import { d as defineCustomElement$7 } from './p-399a8fc2.js';
13
- import { d as defineCustomElement$6 } from './p-ecbbf755.js';
14
- import { d as defineCustomElement$5 } from './p-025c1426.js';
15
- import { d as defineCustomElement$4 } from './p-95151cee.js';
16
- import { d as defineCustomElement$3 } from './p-16ff1411.js';
17
- import { d as defineCustomElement$2 } from './p-1899cd80.js';
18
- import { d as defineCustomElement$1 } from './p-d3a015c5.js';
1
+ import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-ac5ba8ca.js';
2
+ import { d as defineCustomElement$h } from './p-d73ee4cd.js';
3
+ import { d as defineCustomElement$g } from './p-14dae335.js';
4
+ import { d as defineCustomElement$f } from './p-84f4839f.js';
5
+ import { d as defineCustomElement$e } from './p-9da9273c.js';
6
+ import { d as defineCustomElement$d } from './p-f41bfb24.js';
7
+ import { d as defineCustomElement$c } from './p-5028a4d6.js';
8
+ import { d as defineCustomElement$b } from './p-bb824646.js';
9
+ import { d as defineCustomElement$a } from './p-ddfa7880.js';
10
+ import { d as defineCustomElement$9 } from './p-006bafa5.js';
11
+ import { d as defineCustomElement$8 } from './p-82667ced.js';
12
+ import { d as defineCustomElement$7 } from './p-d8dc7418.js';
13
+ import { d as defineCustomElement$6 } from './p-8df305dc.js';
14
+ import { d as defineCustomElement$5 } from './p-a1340ae7.js';
15
+ import { d as defineCustomElement$4 } from './p-bbc5cd43.js';
16
+ import { d as defineCustomElement$3 } from './p-3cffc5c6.js';
17
+ import { d as defineCustomElement$2 } from './p-70bd36c1.js';
18
+ import { d as defineCustomElement$1 } from './p-4aa39b17.js';
19
19
 
20
20
  const indexCss = "@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}";
21
21
  const LidoHomeStyle0 = indexCss;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-fe91abe5.js';
1
+ import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  var lib = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
4
4
  const LidoSlideFillStyle0 = lidoSlideFillCss;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-fe91abe5.js';
1
+ import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-ac5ba8ca.js';
2
2
 
3
3
  var rive = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoRandomCss = ".lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}";
4
4
  const LidoRandomStyle0 = lidoRandomCss;
@@ -1,5 +1,5 @@
1
- import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-fe91abe5.js';
2
- import { d as defineCustomElement$1 } from './p-16ff1411.js';
1
+ import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-ac5ba8ca.js';
2
+ import { d as defineCustomElement$1 } from './p-3cffc5c6.js';
3
3
 
4
4
  const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
5
5
  const LidoKeyboardStyle0 = lidoKeyboardCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-ac5ba8ca.js';
2
2
 
3
3
  const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
4
4
  const LidoFlashCardStyle0 = lidoFlashCardCss;
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { f as format } from './utils-9330d5b6.js';
1
+ export { f as format } from './utils-1130854a.js';
2
2
  import './index-f47852d4.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, g as getAssetPath, h, H as Host, a as getElement } from './index-f47852d4.js';
2
- import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as generateUUIDFallback, q as exitUrl, r as prevUrl, t as nextUrl, u as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, v as getCancelBtnPopup, w as triggerPrevcontainer, x as executeActions, y as setCancelBtnPopup, z as getDefaultExportFromCjs, B as tinyColor, S as SelectedValuesKey, C as triggerNextContainer, D as storingEachActivityScore, E as DropAction, F as fraction, T as TraceMode, G as speakIcon, H as fingerUrl } from './utils-9330d5b6.js';
2
+ import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as generateUUIDFallback, q as exitUrl, r as prevUrl, t as nextUrl, u as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, v as getCancelBtnPopup, w as triggerPrevcontainer, x as executeActions, y as setCancelBtnPopup, z as getDefaultExportFromCjs, B as tinyColor, S as SelectedValuesKey, C as triggerNextContainer, D as storingEachActivityScore, E as DropAction, F as fraction, T as TraceMode, G as speakIcon, H as fingerUrl } from './utils-1130854a.js';
3
3
 
4
4
  var rive = {exports: {}};
5
5