lido-player 0.0.2-alpha-23 → 0.0.2-alpha-25

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 (119) hide show
  1. package/dist/cjs/index-fe562525.js +2 -2
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/{lido-avatar_17.cjs.entry.js → lido-avatar_18.cjs.entry.js} +238 -29
  4. package/dist/cjs/lido-player.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{utils-62b0df5b.js → utils-98308657.js} +186 -107
  7. package/dist/collection/collection-manifest.json +1 -0
  8. package/dist/collection/components/float/lido-float.css +16 -8
  9. package/dist/collection/components/float/lido-float.js +42 -4
  10. package/dist/collection/components/home/lido-home.js +2 -1
  11. package/dist/collection/components/keyboard/lido-keyboard.css +38 -0
  12. package/dist/collection/components/keyboard/lido-keyboard.js +509 -0
  13. package/dist/collection/components/position/lido-pos.js +1 -1
  14. package/dist/collection/components/random/lido-random.js +1 -1
  15. package/dist/collection/components/root/lido-root.js +2 -2
  16. package/dist/collection/components/row/lido-row.js +1 -1
  17. package/dist/collection/components/shape/lido-shape.js +1 -1
  18. package/dist/collection/components/slideFill/lido-slide-fill.js +236 -3
  19. package/dist/collection/components/text/lido-text.css +1 -1
  20. package/dist/collection/components/text/lido-text.js +2 -2
  21. package/dist/collection/components/trace/lido-trace.js +36 -13
  22. package/dist/collection/components/wrap/lido-wrap.js +1 -1
  23. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +8 -8
  24. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +70 -120
  25. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +77 -0
  26. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +30 -28
  27. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +79 -0
  28. package/dist/collection/stories/Templates/grid/grid.stories.js +38 -39
  29. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +78 -0
  30. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +138 -110
  31. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +113 -40
  32. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +60 -46
  33. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +94 -0
  34. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +40 -55
  35. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +24 -43
  36. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +85 -0
  37. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +62 -0
  38. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +92 -0
  39. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +39 -37
  40. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +4 -41
  41. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +107 -0
  42. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +24 -29
  43. package/dist/collection/stories/components/keyboard.stories.js +38 -0
  44. package/dist/collection/utils/utils.js +32 -6
  45. package/dist/collection/utils/utilsHandlers/clickHandler.js +8 -4
  46. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +99 -72
  47. package/dist/collection/utils/utilsHandlers/floatHandler.js +35 -11
  48. package/dist/collection/utils/utilsHandlers/slideHandler.js +6 -3
  49. package/dist/components/index.js +1 -1
  50. package/dist/components/lido-avatar.js +1 -1
  51. package/dist/components/lido-cell.js +1 -1
  52. package/dist/components/lido-col.js +1 -1
  53. package/dist/components/lido-container.js +1 -1
  54. package/dist/components/lido-flash-card.js +1 -1
  55. package/dist/components/lido-float.js +1 -1
  56. package/dist/components/lido-home.js +1 -1
  57. package/dist/components/lido-image.js +1 -1
  58. package/dist/components/lido-keyboard.d.ts +11 -0
  59. package/dist/components/lido-keyboard.js +6 -0
  60. package/dist/components/lido-pos.js +1 -1
  61. package/dist/components/lido-random.js +1 -1
  62. package/dist/components/lido-root.js +33 -27
  63. package/dist/components/lido-row.js +1 -1
  64. package/dist/components/lido-shape.js +1 -1
  65. package/dist/components/lido-slide-fill.js +1 -1
  66. package/dist/components/lido-text.js +1 -1
  67. package/dist/components/lido-trace.js +1 -1
  68. package/dist/components/lido-wrap.js +1 -1
  69. package/dist/components/{p-92c44c3e.js → p-0c830d09.js} +1 -1
  70. package/dist/components/{p-b720a4eb.js → p-0e2ac960.js} +2 -2
  71. package/dist/components/{p-893266ae.js → p-1b4be1be.js} +31 -24
  72. package/dist/components/{p-f1d4885a.js → p-1f78f800.js} +1 -1
  73. package/dist/components/{p-e6ebeb10.js → p-28575a9d.js} +1 -1
  74. package/dist/components/{p-10b5bf17.js → p-2a1e9690.js} +2 -2
  75. package/dist/components/{p-f93449bf.js → p-398721b6.js} +1 -1
  76. package/dist/components/{p-0a506ec7.js → p-4727a755.js} +10 -5
  77. package/dist/components/{p-c88253f5.js → p-4ea20e5d.js} +1 -1
  78. package/dist/components/{p-d458e85f.js → p-51d35e85.js} +36 -13
  79. package/dist/components/{p-7720988c.js → p-8bfd0fb9.js} +56 -3
  80. package/dist/components/{p-da9ac604.js → p-9095d0dd.js} +2 -2
  81. package/dist/components/{p-2a0f78da.js → p-a41c13e5.js} +4 -4
  82. package/dist/components/{p-d8604dea.js → p-b06fb0b5.js} +181 -104
  83. package/dist/components/p-b1c8b21c.js +190 -0
  84. package/dist/components/{p-c35eb8eb.js → p-b271516e.js} +2 -2
  85. package/dist/components/{p-21efe75a.js → p-db40a466.js} +1 -1
  86. package/dist/components/{p-bae44292.js → p-eda1bf4d.js} +2 -2
  87. package/dist/esm/index-f47852d4.js +2 -2
  88. package/dist/esm/index.js +1 -1
  89. package/dist/esm/{lido-avatar_17.entry.js → lido-avatar_18.entry.js} +238 -30
  90. package/dist/esm/lido-player.js +1 -1
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/{utils-2183f4e9.js → utils-a61fc607.js} +181 -104
  93. package/dist/lido-player/index.esm.js +1 -1
  94. package/dist/lido-player/lido-player.esm.js +1 -1
  95. package/dist/lido-player/p-0962645a.entry.js +1 -0
  96. package/dist/lido-player/{p-458281d6.js → p-2a1f5285.js} +2 -2
  97. package/dist/types/components/float/lido-float.d.ts +9 -0
  98. package/dist/types/components/keyboard/lido-keyboard.d.ts +65 -0
  99. package/dist/types/components/slideFill/lido-slide-fill.d.ts +62 -0
  100. package/dist/types/components/trace/lido-trace.d.ts +11 -1
  101. package/dist/types/components.d.ts +277 -0
  102. package/dist/types/stories/Templates/RocketGame/rocketGame.stories.d.ts +6 -5
  103. package/dist/types/stories/Templates/arrangeLetters/arrangeLetters.stories.d.ts +4 -0
  104. package/dist/types/stories/Templates/bubbleType/bubbleType.stories.d.ts +4 -0
  105. package/dist/types/stories/Templates/jumpSentence/jumpSentence.stories.d.ts +4 -0
  106. package/dist/types/stories/Templates/letterboard/letterboard.stories.d.ts +2 -2
  107. package/dist/types/stories/Templates/openwindow/openwindow.stories.d.ts +4 -4
  108. package/dist/types/stories/Templates/openwindow/openwindow2.stories.d.ts +13 -0
  109. package/dist/types/stories/Templates/puzzleGame/puzzleGame.stories.d.ts +2 -19
  110. package/dist/types/stories/Templates/quizLiteracy/quizLiteracy.stories.d.ts +4 -0
  111. package/dist/types/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.d.ts +4 -0
  112. package/dist/types/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.d.ts +4 -0
  113. package/dist/types/stories/Templates/writeCard/writeCard.stories.d.ts +3 -5
  114. package/dist/types/stories/Templates/{flashCard/flashCard.stories.d.ts → writeLetter/writeLetter.stories.d.ts} +5 -3
  115. package/dist/types/stories/Templates/writeWord/writeWord.stories.d.ts +5 -5
  116. package/dist/types/stories/components/keyboard.stories.d.ts +4 -0
  117. package/package.json +1 -1
  118. package/dist/collection/stories/Templates/flashCard/flashCard.stories.js +0 -70
  119. package/dist/lido-player/p-de90219f.entry.js +0 -1
@@ -71,10 +71,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
71
71
  }
72
72
  switch(bundleId) {
73
73
 
74
- case 'lido-avatar_17.cjs':
74
+ case 'lido-avatar_18.cjs':
75
75
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
76
76
  /* webpackMode: "lazy" */
77
- './lido-avatar_17.cjs.entry.js')); }).then(processMod, consoleError);
77
+ './lido-avatar_18.cjs.entry.js')); }).then(processMod, consoleError);
78
78
  }
79
79
  }
80
80
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const utils = require('./utils-62b0df5b.js');
5
+ const utils = require('./utils-98308657.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-62b0df5b.js');
6
+ const utils = require('./utils-98308657.js');
7
7
 
8
8
  var rive = {exports: {}};
9
9
 
@@ -7021,7 +7021,7 @@ const LidoFlash = class {
7021
7021
  };
7022
7022
  LidoFlash.style = LidoFlashCardStyle0;
7023
7023
 
7024
- const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:900px}to{top:-400px;}}";
7024
+ const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
7025
7025
  const LidoFloatStyle0 = lidoFloatCss;
7026
7026
 
7027
7027
  const LidoFloat = class {
@@ -7036,11 +7036,14 @@ const LidoFloat = class {
7036
7036
  this.width = undefined;
7037
7037
  this.height = undefined;
7038
7038
  this.bgColor = undefined;
7039
+ this.type = undefined;
7039
7040
  this.delayVisible = '';
7041
+ this.floatDirection = 'bottomToTop';
7040
7042
  this.style = undefined;
7041
7043
  }
7042
7044
  componentDidLoad() {
7043
7045
  utils.setVisibilityWithDelay(this.el, this.delayVisible);
7046
+ utils.initEventsForElement(this.el, this.type);
7044
7047
  this.initializeFloatElement();
7045
7048
  }
7046
7049
  /**
@@ -7069,15 +7072,15 @@ const LidoFloat = class {
7069
7072
  updateStyles() {
7070
7073
  const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
7071
7074
  this.style = {
7072
- height: utils.parseProp(this.height, orientation),
7073
- width: utils.parseProp(this.width, orientation),
7075
+ height: this.floatDirection !== 'leftToRight' ? "100%" : utils.parseProp(this.height, orientation),
7076
+ width: this.floatDirection === 'leftToRight' ? "100%" : utils.parseProp(this.width, orientation),
7074
7077
  backgroundColor: utils.parseProp(this.bgColor, orientation),
7075
7078
  zIndex: this.z,
7076
7079
  display: this.visible ? 'flex' : 'none',
7077
7080
  };
7078
7081
  }
7079
7082
  render() {
7080
- return (index.h(index.Host, { key: 'a0ff5cd4fad7b37b183bd555207ad54a9a03d26b', class: "lido-float", id: this.id, "tab-index": this.tabIndex, style: this.style }, index.h("slot", { key: '994b173de0002b0438a84d35ad5143a83822b4e9' })));
7083
+ return (index.h(index.Host, { key: '2866d98e4a22a5825c24f23324473016c5e8c33f', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, index.h("slot", { key: 'dd0a4405b91e1ddb95e90d6dfa1e16f8ac106c58' })));
7081
7084
  }
7082
7085
  get el() { return index.getElement(this); }
7083
7086
  };
@@ -7312,6 +7315,7 @@ const LidoHome = class {
7312
7315
  'lido-cell': index.h("lido-cell", Object.assign({}, props), children),
7313
7316
  'lido-slide-fill': index.h("lido-slide-fill", Object.assign({}, props), children),
7314
7317
  'lido-float': index.h("lido-float", Object.assign({}, props), children),
7318
+ 'lido-keyboard': index.h("lido-keyboard", Object.assign({}, props), children),
7315
7319
  };
7316
7320
  // If the tag is known, return the corresponding Stencil component, otherwise log a warning
7317
7321
  if (componentMapping[tagName]) {
@@ -7418,7 +7422,7 @@ const LidoHome = class {
7418
7422
  // If no XML data is provided, prompt the user to provide it
7419
7423
  return index.h("div", null, "Please provide XML data.");
7420
7424
  }
7421
- return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: "Do you want to exit?", width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: "EXIT", width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), index.h("lido-text", { visible: "true", string: "KEEP PLAYING", width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
7425
+ return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: "Quer sair?", width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: "Sair", width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), index.h("lido-text", { visible: "true", string: "Continuar a jogar", width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
7422
7426
  }
7423
7427
  get el() { return index.getElement(this); }
7424
7428
  static get watchers() { return {
@@ -10233,6 +10237,148 @@ const LidoImage = class {
10233
10237
  };
10234
10238
  LidoImage.style = LidoImageStyle0;
10235
10239
 
10240
+ 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}";
10241
+ const LidoKeyboardStyle0 = lidoKeyboardCss;
10242
+
10243
+ const LidoKeyboard = class {
10244
+ constructor(hostRef) {
10245
+ index.registerInstance(this, hostRef);
10246
+ this.keys = '';
10247
+ this.width = undefined;
10248
+ this.height = undefined;
10249
+ this.fontSize = undefined;
10250
+ this.fontColor = undefined;
10251
+ this.fontFamily = undefined;
10252
+ this.gap = '10px';
10253
+ this.bgColor = '';
10254
+ this.borderRadius = '';
10255
+ this.y = undefined;
10256
+ this.x = undefined;
10257
+ this.z = undefined;
10258
+ this.margin = undefined;
10259
+ this.padding = undefined;
10260
+ this.visible = undefined;
10261
+ this.onEntry = undefined;
10262
+ this.type = undefined;
10263
+ this.keyboardInput = false;
10264
+ this.columns = '10';
10265
+ this.letterLength = undefined;
10266
+ this.numberOfClick = 0;
10267
+ this.inputString = '';
10268
+ this.style = {};
10269
+ }
10270
+ async inputValidation(e) {
10271
+ if (this.type !== 'click')
10272
+ return;
10273
+ let selcetedValue = JSON.parse(localStorage.getItem(utils.SelectedValuesKey)) || '';
10274
+ selcetedValue = this.inputString;
10275
+ localStorage.setItem(utils.SelectedValuesKey, JSON.stringify(selcetedValue));
10276
+ const container = document.getElementById(utils.LidoContainer);
10277
+ const value = e.target.getAttribute('value');
10278
+ const bubbleValues = container.querySelectorAll(`[value= '${value}']`);
10279
+ const filteredElement = Array.from(bubbleValues).find(el => !el.className.includes('key-button'));
10280
+ this.inputString = value;
10281
+ let isOverlapping;
10282
+ if (filteredElement) {
10283
+ const bodyRect = document.body.getBoundingClientRect();
10284
+ const elemRect = filteredElement.getBoundingClientRect();
10285
+ isOverlapping = elemRect.left < bodyRect.right && elemRect.right > bodyRect.left && elemRect.top < bodyRect.bottom && elemRect.bottom > bodyRect.top;
10286
+ }
10287
+ if (isOverlapping) {
10288
+ filteredElement.style.animation = 'none';
10289
+ this.numberOfClick++;
10290
+ if (this.numberOfClick === this.letterLength) {
10291
+ const onCorrrect = container.getAttribute('onCorrect');
10292
+ container.style.pointerEvents = 'none';
10293
+ await utils.executeActions(onCorrrect, this.el);
10294
+ utils.triggerNextContainer();
10295
+ }
10296
+ else {
10297
+ utils.handleFloatElementPosition(filteredElement);
10298
+ utils.storingEachActivityScore(true);
10299
+ }
10300
+ }
10301
+ else {
10302
+ const onInCorrrect = container.getAttribute('onInCorrect');
10303
+ await utils.executeActions(onInCorrrect, this.el);
10304
+ utils.storingEachActivityScore(false);
10305
+ }
10306
+ }
10307
+ componentDidLoad() {
10308
+ const container = document.getElementById(utils.LidoContainer);
10309
+ if (container.getAttribute('drop-action') === utils.DropAction.InfiniteDrop) {
10310
+ const buttons = this.el.querySelectorAll('.key-button');
10311
+ const firstButton = buttons[0];
10312
+ buttons.forEach((button) => {
10313
+ button.style.width = firstButton.offsetWidth + 'px';
10314
+ button.style.height = firstButton.offsetHeight + 'px';
10315
+ });
10316
+ }
10317
+ }
10318
+ /**
10319
+ * Lifecycle method that runs before the component is rendered.
10320
+ * Initializes styles and sets up event listeners for resize and load events.
10321
+ */
10322
+ componentWillLoad() {
10323
+ this.updateStyles();
10324
+ window.addEventListener('resize', this.updateStyles.bind(this));
10325
+ window.addEventListener('load', this.updateStyles.bind(this));
10326
+ }
10327
+ disconnectedCallback() {
10328
+ window.removeEventListener('resize', this.updateStyles.bind(this));
10329
+ window.removeEventListener('load', this.updateStyles.bind(this));
10330
+ }
10331
+ updateStyles() {
10332
+ const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
10333
+ this.style = {
10334
+ height: utils.parseProp(this.height, orientation),
10335
+ width: utils.parseProp(this.width, orientation),
10336
+ backgroundColor: utils.parseProp(this.bgColor, orientation),
10337
+ top: utils.parseProp(this.y, orientation),
10338
+ left: utils.parseProp(this.x, orientation),
10339
+ zIndex: this.z,
10340
+ fontSize: utils.parseProp(this.fontSize, orientation),
10341
+ fontFamily: this.fontFamily,
10342
+ color: utils.parseProp(this.fontColor, orientation),
10343
+ display: utils.parseProp(`${this.visible}`, orientation) === 'true' ? 'flex' : 'none',
10344
+ margin: utils.parseProp(this.margin, orientation),
10345
+ padding: utils.parseProp(this.padding, orientation),
10346
+ borderRadius: utils.parseProp(this.borderRadius, orientation),
10347
+ columns: utils.parseProp(`${this.columns}`, orientation),
10348
+ gap: utils.parseProp(this.gap, orientation),
10349
+ };
10350
+ }
10351
+ render() {
10352
+ const keysArray = this.keys.split(',').map(k => k.trim());
10353
+ const container = document.getElementById(utils.LidoContainer);
10354
+ const showCheck = container.getAttribute('show-check') === 'true';
10355
+ return (index.h(index.Host, { key: 'de7d6c8eb01a90851d03d8e3a90c2dda2c437b83', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (index.h("div", { key: '2755d632b00ac4bd9685317c61a6fa9af2972973', class: "input-area" }, index.h("input", { key: '266a08add13f544c583d424fd1ab31911531f65f', type: "text", value: this.inputString, class: "input-area", readonly: true, onInput: (e) => (this.inputString = e.target.value) }), index.h("lido-text", { key: '81ca8c391f5bd9056e0a6c9030d0e975a493f86f', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
10356
+ this.inputString = this.inputString.slice(0, -1);
10357
+ this.inputValidation(event);
10358
+ } }), index.h("lido-text", { key: '721a7b54a4da58c3d68989df08f24a6a41168523', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (index.h("lido-text", { key: '7b87a8810282fdb4326794042118016edc992dd2', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), index.h("div", { key: '80796fa601b359e235a885fdf9e233c3df941605', class: "keyboard-wrapper", style: {
10359
+ display: 'flex',
10360
+ flexWrap: 'wrap',
10361
+ justifyContent: 'center',
10362
+ alignContent: 'stretch',
10363
+ gap: this.gap,
10364
+ width: '100%',
10365
+ height: '100%',
10366
+ } }, keysArray.map((key, index$1) => {
10367
+ const [label, status] = key.split('-');
10368
+ const isDisabled = status === 'disable';
10369
+ let string = label === 'Space' ? ' ' : label;
10370
+ return (index.h("lido-text", { id: 'key-button-' + index$1, style: {
10371
+ flex: `0 0 calc(${100 / parseInt(this.style.columns)}% - ${this.style.gap})`,
10372
+ }, visible: "true", "font-size": this.style.fontSize, "font-color": this.fontColor, "font-family": this.fontFamily, "bg-color": this.bgColor, string: label, onEntry: this.onEntry, "border-radius": this.style.borderRadius, value: label.toLowerCase(), type: this.type, class: `key-button${isDisabled ? ' disabled' : ''}`, onClick: () => {
10373
+ this.inputString += string;
10374
+ this.inputValidation(event);
10375
+ } }));
10376
+ }))));
10377
+ }
10378
+ get el() { return index.getElement(this); }
10379
+ };
10380
+ LidoKeyboard.style = LidoKeyboardStyle0;
10381
+
10236
10382
  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}";
10237
10383
  const LidoPosStyle0 = lidoPosCss;
10238
10384
 
@@ -10296,7 +10442,7 @@ const LidoPos = class {
10296
10442
  };
10297
10443
  }
10298
10444
  render() {
10299
- return (index.h(index.Host, { key: '35e70ef17d6b0b3fa77c34b5d5eacc62408aa772', id: this.id, class: "lido-pos", type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, value: this.value, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '37deeb60c7d5b8e5edf954f33ea0207deed93695' })));
10445
+ return (index.h(index.Host, { key: '1ec2896c6d2584a5035ec596afeb3e57a520e63e', id: this.id, class: "lido-pos", type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, value: this.value, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'd38ca25ea13575de4d2236e897d280bc96016ca2' })));
10300
10446
  }
10301
10447
  get el() { return index.getElement(this); }
10302
10448
  };
@@ -10377,7 +10523,7 @@ const LidoRandom = class {
10377
10523
  backgroundColor: this.bgColor,
10378
10524
  margin: this.margin,
10379
10525
  };
10380
- return (index.h(index.Host, { key: '229c4cba82bdb4501ee53c16f68407e5d01095a0', class: "lido-random", type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'fb10f2952956918e66a4bb5b110719caa4e41670' })));
10526
+ return (index.h(index.Host, { key: 'c2464ba8470ead3808c35aba510362e45cef585b', class: "lido-random", type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'd6291a93a662a8894920def758352b8e4c561881' })));
10381
10527
  }
10382
10528
  get el() { return index.getElement(this); }
10383
10529
  };
@@ -10398,13 +10544,13 @@ const LidoRoot = class {
10398
10544
  * It fetches the XML data from the specified path or URL and sets it to the component's state.
10399
10545
  */
10400
10546
  async componentWillLoad() {
10401
- var _a;
10547
+ var _a, _b;
10402
10548
  // Validate the xmlPath prop
10403
10549
  // if (!this.xmlPath) {
10404
10550
  // console.error('XML path is not provided.');
10405
10551
  // return;
10406
10552
  // }
10407
- const xmlPath = (_a = this.xmlPath) !== null && _a !== void 0 ? _a : this.baseUrl + '/index.xml';
10553
+ const xmlPath = (_a = this.xmlPath) !== null && _a !== void 0 ? _a : this.baseUrl + (((_b = this.baseUrl) === null || _b === void 0 ? void 0 : _b.endsWith('/')) ? 'index.xml' : '/index.xml');
10408
10554
  console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ this.baseUrl:', this.baseUrl);
10409
10555
  console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ this.xmlPath:', this.xmlPath);
10410
10556
  console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ xmlPath:', xmlPath);
@@ -10516,7 +10662,7 @@ const LidoRow = class {
10516
10662
  };
10517
10663
  }
10518
10664
  render() {
10519
- return (index.h(index.Host, { key: 'fd85fc603f1a8d1890984e08df7f627cc3840c24', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'a614ca85c0ab0957e0b4150303036c513505e241' })));
10665
+ return (index.h(index.Host, { key: '2da5c1a525ad612536ba235dd98ca104f2f9209e', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '05a5b12376993e8eb27a4003a011c271aecc22a5' })));
10520
10666
  }
10521
10667
  get el() { return index.getElement(this); }
10522
10668
  };
@@ -10572,7 +10718,7 @@ const LidoShape = class {
10572
10718
  backgroundColor: this.shapeType !== 'polygon' ? this.bgColor : 'transparent', // Apply background only if not a polygon
10573
10719
  margin: this.margin,
10574
10720
  };
10575
- return (index.h(index.Host, { key: 'a70c88433f7024f327b7d3746fd705c75fa776f6', class: `lido-shape ${this.shapeType}`, value: this.value, type: this.type, "tab-index": this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }));
10721
+ return (index.h(index.Host, { key: '3e7faa36779c759c183247aca4e9d8a57e541b79', class: `lido-shape ${this.shapeType}`, value: this.value, type: this.type, "tab-index": this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }));
10576
10722
  }
10577
10723
  get el() { return index.getElement(this); }
10578
10724
  };
@@ -10588,6 +10734,15 @@ const LidoSlideFill = class {
10588
10734
  this.originalY = null;
10589
10735
  this.id = 'lido-slide-fill';
10590
10736
  this.width = undefined;
10737
+ this.height = undefined;
10738
+ this.x = undefined;
10739
+ this.y = undefined;
10740
+ this.z = undefined;
10741
+ this.bgColor = undefined;
10742
+ this.visible = undefined;
10743
+ this.margin = undefined;
10744
+ this.padding = '';
10745
+ this.borderRadius = '0px';
10591
10746
  this.fill = undefined;
10592
10747
  this.numberType = 'integer';
10593
10748
  this.min = 0;
@@ -10596,11 +10751,25 @@ const LidoSlideFill = class {
10596
10751
  this.slider = undefined;
10597
10752
  this.src = undefined;
10598
10753
  this.fillDirection = undefined;
10754
+ this.type = '';
10755
+ this.onEntry = '';
10599
10756
  this.svgContent = '';
10757
+ this.style = undefined;
10600
10758
  this.delayVisible = '';
10601
10759
  }
10760
+ /**
10761
+ * Lifecycle method that runs before the component is rendered.
10762
+ * Initializes styles and sets up event listeners for resize and load events.
10763
+ */
10602
10764
  async componentWillLoad() {
10603
10765
  await this.renderSVG();
10766
+ this.updateStyles();
10767
+ window.addEventListener('resize', this.updateStyles.bind(this)); // Update on screen rotation
10768
+ window.addEventListener('load', this.updateStyles.bind(this)); // Update on screen rotation
10769
+ }
10770
+ disconnectedCallback() {
10771
+ window.removeEventListener('resize', this.updateStyles.bind(this));
10772
+ window.removeEventListener('load', this.updateStyles.bind(this));
10604
10773
  }
10605
10774
  async onSrcChange() {
10606
10775
  await this.renderSVG();
@@ -10630,9 +10799,27 @@ const LidoSlideFill = class {
10630
10799
  }
10631
10800
  componentDidLoad() {
10632
10801
  utils.setVisibilityWithDelay(this.el, this.delayVisible);
10802
+ utils.initEventsForElement(this.el, this.type);
10633
10803
  this.updateFill();
10634
10804
  this.addRulerNumbers();
10635
10805
  }
10806
+ updateStyles() {
10807
+ const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
10808
+ this.style = {
10809
+ height: utils.parseProp(this.height, orientation),
10810
+ width: utils.parseProp(this.width, orientation),
10811
+ backgroundColor: utils.parseProp(this.bgColor, orientation),
10812
+ top: utils.parseProp(this.y, orientation),
10813
+ left: utils.parseProp(this.x, orientation),
10814
+ zIndex: this.z,
10815
+ display: utils.parseProp(`${this.visible}`, orientation) ? 'flex' : 'none',
10816
+ alignItems: 'center',
10817
+ justifyContent: 'center',
10818
+ margin: utils.parseProp(this.margin, orientation),
10819
+ padding: utils.parseProp(this.padding, orientation),
10820
+ borderRadius: this.borderRadius,
10821
+ };
10822
+ }
10636
10823
  onPropChange() {
10637
10824
  this.updateFill();
10638
10825
  this.addRulerNumbers();
@@ -10729,7 +10916,7 @@ const LidoSlideFill = class {
10729
10916
  }
10730
10917
  }
10731
10918
  render() {
10732
- return (index.h(index.Host, { key: '8fbcce15c7af9525e912d10f504b192d4c2d325a', id: this.id, class: "lido-slide-fill", src: this.src, fill: this.fill, fillDirection: this.fillDirection, slider: this.slider, style: { width: this.width }, min: this.min, max: this.max, division: this.division, numberType: this.numberType }, index.h("div", { key: '294026ccc09d0145537c44f558dcfc8538ce2953', innerHTML: this.svgContent, class: "svg-element" })));
10919
+ return (index.h(index.Host, { key: 'a096a86b0436da6f677db27423a41a49bb3ef4b9', id: this.id, class: "lido-slide-fill", src: this.src, fill: this.fill, fillDirection: this.fillDirection, slider: this.slider, style: this.style, min: this.min, max: this.max, division: this.division, numberType: this.numberType, onEntry: this.onEntry, type: this.type }, index.h("div", { key: '8b544fbd926cf8fb4459a5f68ee1f600f18e04e5', innerHTML: this.svgContent, class: "svg-element" })));
10733
10920
  }
10734
10921
  get el() { return index.getElement(this); }
10735
10922
  static get watchers() { return {
@@ -10744,7 +10931,7 @@ const LidoSlideFill = class {
10744
10931
  };
10745
10932
  LidoSlideFill.style = LidoSlideFillStyle0;
10746
10933
 
10747
- 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 2', serif}.lido-text:hover{background-color:#f0f0f0}.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)}}";
10934
+ 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}.lido-text:hover{background-color:#f0f0f0}.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)}}";
10748
10935
  const LidoTextStyle0 = lidoTextCss;
10749
10936
 
10750
10937
  const LidoText = class {
@@ -10825,7 +11012,7 @@ const LidoText = class {
10825
11012
  fontSize: utils.parseProp(this.fontSize, orientation),
10826
11013
  fontFamily: this.fontFamily,
10827
11014
  color: utils.parseProp(this.fontColor, orientation),
10828
- display: utils.parseProp(`${this.visible}`, orientation) ? 'flex' : 'none', // Toggle visibility
11015
+ display: utils.parseProp(`${this.visible}`, orientation) === "true" ? 'flex' : 'none', // Toggle visibility
10829
11016
  borderImage: `url(${borderImg})`,
10830
11017
  borderImageSlice: borderImg ? '0 fill' : '',
10831
11018
  margin: utils.parseProp(this.margin, orientation),
@@ -10863,7 +11050,7 @@ const LidoText = class {
10863
11050
  }
10864
11051
  }
10865
11052
  render() {
10866
- return (index.h(index.Host, { key: 'b20e7357057e57fd2b1763f9d2d711a1521af4cd', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, this.string) : this.string));
11053
+ return (index.h(index.Host, { key: '7ff5b2fb13d760fdc1586a8af5f5e9a6ab722966', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, this.string) : this.string));
10867
11054
  }
10868
11055
  get el() { return index.getElement(this); }
10869
11056
  };
@@ -10875,12 +11062,12 @@ const LidoTraceStyle0 = lidoTraceCss;
10875
11062
  const LidoTrace = class {
10876
11063
  constructor(hostRef) {
10877
11064
  index.registerInstance(this, hostRef);
10878
- this.moving = false;
10879
11065
  this.showSpeakIcon = false;
10880
11066
  this.id = '';
10881
11067
  this.svgSource = '';
10882
11068
  this.svgUrls = [];
10883
11069
  this.currentSvgIndex = 0;
11070
+ this.moving = false;
10884
11071
  this.value = '';
10885
11072
  this.height = 'auto';
10886
11073
  this.width = 'auto';
@@ -10897,6 +11084,7 @@ const LidoTrace = class {
10897
11084
  this.highlightTextId = '';
10898
11085
  this.animationTrace = false;
10899
11086
  this.delayVisible = '';
11087
+ this.style = {};
10900
11088
  this.fileIndex = -1;
10901
11089
  this.isDragging = false;
10902
11090
  this.activePointerId = null;
@@ -10928,20 +11116,35 @@ const LidoTrace = class {
10928
11116
  lastPointerPos: null,
10929
11117
  };
10930
11118
  const url = this.svgUrls[this.currentSvgIndex];
11119
+ console.log("Loading SVG from URL:", url);
11120
+ if (!url || url.trim() === '') {
11121
+ console.error("No SVG URL provided or index out of bounds.");
11122
+ return;
11123
+ }
10931
11124
  await this.fetchSVG(url);
11125
+ console.log("SVG fetched successfully\n");
10932
11126
  await this.loadAnotherSVG(state, true); // Load the first SVG
10933
11127
  }
10934
11128
  componentDidLoad() {
10935
11129
  utils.setVisibilityWithDelay(this.el, this.delayVisible);
10936
11130
  }
10937
11131
  componentWillLoad() {
11132
+ this.updateStyles();
11133
+ window.addEventListener('resize', this.updateStyles.bind(this));
11134
+ window.addEventListener('load', this.updateStyles.bind(this));
10938
11135
  this.svgUrls = this.svgSource.split(';').map(s => s.trim());
11136
+ console.log("svgUrls", this.svgUrls);
10939
11137
  this.currentSvgIndex = 0;
10940
- this.initializeSVG();
11138
+ console.log("curentSvgIndex", this.currentSvgIndex);
10941
11139
  if (this.showSpeakIcon) {
10942
11140
  utils.speakIcon(this.el);
10943
11141
  this.el.append(utils.speakIcon(this.el));
10944
11142
  }
11143
+ this.initializeSVG();
11144
+ }
11145
+ disconnectedCallback() {
11146
+ window.removeEventListener('resize', this.updateStyles.bind(this));
11147
+ window.removeEventListener('load', this.updateStyles.bind(this));
10945
11148
  }
10946
11149
  /** ───────────────────────────────────────────────────────────
10947
11150
  * Idle‑timer helpers
@@ -10994,6 +11197,7 @@ const LidoTrace = class {
10994
11197
  }
10995
11198
  // Fetch the SVG file asynchronously
10996
11199
  async fetchSVG(url) {
11200
+ console.log(`Fetching SVG from: ${url}`);
10997
11201
  const response = await fetch(url);
10998
11202
  if (!response.ok) {
10999
11203
  throw new Error(`Failed to fetch SVG (${url}): ${response.statusText}`);
@@ -11310,6 +11514,7 @@ const LidoTrace = class {
11310
11514
  if (this.animationTrace) {
11311
11515
  await this.playTraceAnimation();
11312
11516
  }
11517
+ console.log(`Moving to next container after SVG index: ${this.currentSvgIndex}`);
11313
11518
  if (this.currentSvgIndex < this.svgUrls.length - 1) {
11314
11519
  this.currentSvgIndex++;
11315
11520
  await this.initializeSVG();
@@ -11379,7 +11584,7 @@ const LidoTrace = class {
11379
11584
  if (state.svg) {
11380
11585
  this.cleanupPreviousSVG(state);
11381
11586
  }
11382
- const svgText = await this.fetchSVG(utils.convertUrlToRelative(this.svgSource));
11587
+ const svgText = await this.fetchSVG(utils.convertUrlToRelative(this.svgSource.split(';').map(s => s.trim())[this.currentSvgIndex]));
11383
11588
  this.insertSVG(svgText);
11384
11589
  state.svg = this.getSVGElement();
11385
11590
  if (this.mode === utils.TraceMode.BlindTracing || this.mode === utils.TraceMode.BlindFreeTrace) {
@@ -11487,16 +11692,19 @@ const LidoTrace = class {
11487
11692
  word.classList.add('word-highlight');
11488
11693
  }
11489
11694
  }
11490
- render() {
11491
- const style = {
11492
- height: this.height,
11493
- width: this.width,
11494
- top: this.y,
11495
- left: this.x,
11496
- zIndex: this.z,
11497
- // position: 'absolute' as const,
11695
+ updateStyles() {
11696
+ const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
11697
+ this.style = {
11698
+ 'height': utils.parseProp(this.height, orientation),
11699
+ 'width': utils.parseProp(this.width, orientation),
11700
+ 'top': utils.parseProp(this.y, orientation),
11701
+ 'left': utils.parseProp(this.x, orientation),
11702
+ 'zIndex': this.z,
11703
+ 'position': 'absolute',
11498
11704
  };
11499
- return (index.h(index.Host, { key: '363897475f678b89b72bf19d76fcafcab8e1fd97', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, index.h("div", { key: 'db92cddb2e7cf888a747c33b22a39c261beba7f4', style: { height: this.height, width: this.width }, id: "lido-svgContainer" })));
11705
+ }
11706
+ render() {
11707
+ return (index.h(index.Host, { key: 'ee0e1841a0d3086d453bd29568c53169456a75ca', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, index.h("div", { key: 'd3e0ac9c6a51bf307d57b3bba3cddfb02fdf7fc1', style: this.style, id: "lido-svgContainer" })));
11500
11708
  }
11501
11709
  static get assetsDirs() { return ["svg", "images"]; }
11502
11710
  get el() { return index.getElement(this); }
@@ -11583,7 +11791,7 @@ const LidoWrap = class {
11583
11791
  };
11584
11792
  }
11585
11793
  render() {
11586
- return (index.h(index.Host, { key: 'f093d948bae3bd98d6c6a205b88ab2dcb6c809b3', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '02e2e72ace7ca4eae384ed410cacc2e3a337b6f7' })));
11794
+ return (index.h(index.Host, { key: '2cbff3a777cabde661963c99831a79e71b4baa5e', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '936b5147064c7448e01af2f77a555d9b674a9ad3' })));
11587
11795
  }
11588
11796
  get el() { return index.getElement(this); }
11589
11797
  };
@@ -11597,6 +11805,7 @@ exports.lido_flash_card = LidoFlash;
11597
11805
  exports.lido_float = LidoFloat;
11598
11806
  exports.lido_home = LidoHome;
11599
11807
  exports.lido_image = LidoImage;
11808
+ exports.lido_keyboard = LidoKeyboard;
11600
11809
  exports.lido_pos = LidoPos;
11601
11810
  exports.lido_random = LidoRandom;
11602
11811
  exports.lido_root = LidoRoot;
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["lido-avatar_17.cjs",[[0,"lido-root",{"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"xmlData":[32]}],[0,"lido-home",{"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"showDotsandbtn":[32]},null,{"xmlData":["onXmlDataChange"]}],[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"]}],[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"],"style":[32]}],[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",{"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],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"]}],[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],"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"],"delayVisible":[1,"delay-visible"],"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"],"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],"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"]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"delayVisible":[1,"delay-visible"],"svgContent":[32]},null,{"src":["onSrcChange"],"fill":["onPropChange"],"division":["onPropChange"],"fillDirection":["onPropChange"],"numberType":["onPropChange"],"min":["onPropChange"],"max":["onPropChange"]}],[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"],"style":[32]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[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"],"svgUrls":[32],"currentSvgIndex":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[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],"style":[32]}]]]], options);
22
+ return index.bootstrapLazy([["lido-avatar_18.cjs",[[0,"lido-root",{"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"xmlData":[32]}],[0,"lido-home",{"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"showDotsandbtn":[32]},null,{"xmlData":["onXmlDataChange"]}],[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"],"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"]}],[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"],"style":[32]}],[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",{"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],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"]}],[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],"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"],"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],"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"]}],[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"],"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],"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"],"svgUrls":[32],"currentSvgIndex":[32],"moving":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[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],"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"],"style":[32]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;