lido-player 0.0.2-alpha-94 → 0.0.2-alpha-95

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.
@@ -12147,15 +12147,36 @@ const LidoContainer = class {
12147
12147
  "sentenceMatchTemplate": "sentenceMatch" /* templateAudio.sentenceMatchTemplate */,
12148
12148
  "pictureClues": "pictureClues" /* templateAudio.pictureClues */,
12149
12149
  "palEgmaCalculateSumAndSumTogether": "palEgmaCalculateSumAndSumTogether" /* templateAudio.palEgmaCalculateSumAndSumTogether */,
12150
- "palEgmaPatternMatching": "palEgmaPatternMatching" /* templateAudio.palEgmaPatternMatching */,
12150
+ "palEgmaPatternMatching": "palEgmaPatternMatchingAudio" /* templateAudio.palEgmaPatternMatching */,
12151
12151
  "palEgmaWordProblem": "palEgmaWordProblem" /* templateAudio.palEgmaWordProblem */,
12152
- "palEgraArrangePictures": "palEgraArrangePictures" /* templateAudio.palEgraArrangePictures */,
12153
- "palEgraBuildWord": "palEgraBuildWord" /* templateAudio.palEgraBuildWord */,
12152
+ "palEgraArrangePictures": "palEgraArrangePicturesAudio" /* templateAudio.palEgraArrangePictures */,
12153
+ "palEgraBuildWord": "palEgraBuildWordAudio" /* templateAudio.palEgraBuildWord */,
12154
12154
  "palEgraMCQWithImage": "palEgraMCQWithImage" /* templateAudio.palEgraMCQWithImage */,
12155
- "palEgraOddOneOut": "palEgraOddOneOut" /* templateAudio.palEgraOddOneOut */,
12155
+ "palEgraOddOneOut": "palEgraOddOneOutAudio" /* templateAudio.palEgraOddOneOut */,
12156
12156
  "palEgraOptionWithAudio": "palEgraOptionWithAudio" /* templateAudio.palEgraOptionWithAudio */,
12157
- "palEgraWordFormation": "palEgraWordFormation" /* templateAudio.palEgraWordFormation */,
12157
+ "palEgraWordFormation": "palEgraWordFormationAudio" /* templateAudio.palEgraWordFormation */,
12158
12158
  "palEgraWordMatch": "palEgraWordMatch" /* templateAudio.palEgraWordMatch */,
12159
+ "substractionWithImage": "substractionWithImageAudio" /* templateAudio.substractionWithImage */,
12160
+ "substractionWithoutImage": "substractionWithoutImageAudio" /* templateAudio.substractionWithoutImage */,
12161
+ "numberIdentificationWithImage": "numberIdentificationWithImageAudio" /* templateAudio.numberIdentificationWithImage */,
12162
+ "numberIdentificationWithoutImage": "numberIdentificationWithoutImageAudio" /* templateAudio.numberIdentificationWithoutImage */,
12163
+ "wordBuildingWithImage": "wordBuildingWithImageAudio" /* templateAudio.wordBuildingWithImage */,
12164
+ "wordBuildingWithoutImage": "wordBuildingWithoutImageAudio" /* templateAudio.wordBuildingWithoutImage */,
12165
+ "pictureWordMatchMultipleImages": "pictureWordMatchMultipleImagesAudio" /* templateAudio.pictureWordMatchMultipleImages */,
12166
+ "pictureWordMatchSingleImage": "pictureWordMatchSingleImageAudio" /* templateAudio.pictureWordMatchSingleImage */,
12167
+ "sentenceMatch": "sentenceMatchAudio" /* templateAudio.sentenceMatch */,
12168
+ "imageMatch": "imageMatchAudio" /* templateAudio.imageMatch */,
12169
+ "palStoryTale": "palStoryTaleAudio" /* templateAudio.palStoryTale */,
12170
+ "palEgmaWordProblemDragnDrop": "palEgmaWordProblemDragnDropAudio" /* templateAudio.palEgmaWordProblemDragnDrop */,
12171
+ "palEgmaWordProblemClick": "palEgmaWordProblemClickAudio" /* templateAudio.palEgmaWordProblemClick */,
12172
+ "palInventedSpelling": "palInventedSpellingAudio" /* templateAudio.palInventedSpelling */,
12173
+ "palLetterIdentification": "palLetterIdentificationAudio" /* templateAudio.palLetterIdentification */,
12174
+ "palStoryMaking": "palStoryMakingAudio" /* templateAudio.palStoryMaking */,
12175
+ "palegmasumtogether": "palegmasumtogetherAudio" /* templateAudio.palegmasumtogether */,
12176
+ "palegmamultioption": "palegmamultioptionAudio" /* templateAudio.palegmamultioption */,
12177
+ "palegraoptionaudio": "palegraoptionAudio" /* templateAudio.palegraoptionaudio */,
12178
+ "palegrawordmatch": "palegrawordmatchAudio" /* templateAudio.palegrawordmatch */,
12179
+ "palegramcqimages": "palegramcqimagesAudio" /* templateAudio.palegramcqimages */
12159
12180
  }[this.templateId]) !== null && _a !== void 0 ? _a : '';
12160
12181
  const home = document.querySelector('lido-home');
12161
12182
  if (!home)
@@ -12312,7 +12333,7 @@ const LidoContainer = class {
12312
12333
  userSelect: 'none', // Prevent any field selection
12313
12334
  };
12314
12335
  console.log('🚀 ~ LidoContainer ~ canplay:', this.canplay);
12315
- return (index.h(index.Host, { key: '9969d4eee1befeb5b5a82fdce7c58aa44abc179c', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, index.h("lido-text", { key: 'c5476a7d3e16bb1b5608046d9f0b54f757003706', visible: "false", id: this.templateId, audio: "", string: this.instructName }), index.h("slot", { key: '7523757d12373c3355815012ed6a93abcb839f71' })));
12336
+ return (index.h(index.Host, { key: 'b94060e2432a7e7d8580ffb53ceef4124a4fba25', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, index.h("lido-text", { key: '7b433aa25be08cef849e9cefda243cebd7f6aef6', visible: "false", id: this.templateId, audio: "", string: this.instructName }), index.h("slot", { key: '95705c210ed7efbcf06e0ad7779b8c00fa4e1818' })));
12316
12337
  }
12317
12338
  get el() { return index.getElement(this); }
12318
12339
  static get watchers() { return {
@@ -259,15 +259,36 @@ export class LidoContainer {
259
259
  "sentenceMatchTemplate": "sentenceMatch" /* templateAudio.sentenceMatchTemplate */,
260
260
  "pictureClues": "pictureClues" /* templateAudio.pictureClues */,
261
261
  "palEgmaCalculateSumAndSumTogether": "palEgmaCalculateSumAndSumTogether" /* templateAudio.palEgmaCalculateSumAndSumTogether */,
262
- "palEgmaPatternMatching": "palEgmaPatternMatching" /* templateAudio.palEgmaPatternMatching */,
262
+ "palEgmaPatternMatching": "palEgmaPatternMatchingAudio" /* templateAudio.palEgmaPatternMatching */,
263
263
  "palEgmaWordProblem": "palEgmaWordProblem" /* templateAudio.palEgmaWordProblem */,
264
- "palEgraArrangePictures": "palEgraArrangePictures" /* templateAudio.palEgraArrangePictures */,
265
- "palEgraBuildWord": "palEgraBuildWord" /* templateAudio.palEgraBuildWord */,
264
+ "palEgraArrangePictures": "palEgraArrangePicturesAudio" /* templateAudio.palEgraArrangePictures */,
265
+ "palEgraBuildWord": "palEgraBuildWordAudio" /* templateAudio.palEgraBuildWord */,
266
266
  "palEgraMCQWithImage": "palEgraMCQWithImage" /* templateAudio.palEgraMCQWithImage */,
267
- "palEgraOddOneOut": "palEgraOddOneOut" /* templateAudio.palEgraOddOneOut */,
267
+ "palEgraOddOneOut": "palEgraOddOneOutAudio" /* templateAudio.palEgraOddOneOut */,
268
268
  "palEgraOptionWithAudio": "palEgraOptionWithAudio" /* templateAudio.palEgraOptionWithAudio */,
269
- "palEgraWordFormation": "palEgraWordFormation" /* templateAudio.palEgraWordFormation */,
269
+ "palEgraWordFormation": "palEgraWordFormationAudio" /* templateAudio.palEgraWordFormation */,
270
270
  "palEgraWordMatch": "palEgraWordMatch" /* templateAudio.palEgraWordMatch */,
271
+ "substractionWithImage": "substractionWithImageAudio" /* templateAudio.substractionWithImage */,
272
+ "substractionWithoutImage": "substractionWithoutImageAudio" /* templateAudio.substractionWithoutImage */,
273
+ "numberIdentificationWithImage": "numberIdentificationWithImageAudio" /* templateAudio.numberIdentificationWithImage */,
274
+ "numberIdentificationWithoutImage": "numberIdentificationWithoutImageAudio" /* templateAudio.numberIdentificationWithoutImage */,
275
+ "wordBuildingWithImage": "wordBuildingWithImageAudio" /* templateAudio.wordBuildingWithImage */,
276
+ "wordBuildingWithoutImage": "wordBuildingWithoutImageAudio" /* templateAudio.wordBuildingWithoutImage */,
277
+ "pictureWordMatchMultipleImages": "pictureWordMatchMultipleImagesAudio" /* templateAudio.pictureWordMatchMultipleImages */,
278
+ "pictureWordMatchSingleImage": "pictureWordMatchSingleImageAudio" /* templateAudio.pictureWordMatchSingleImage */,
279
+ "sentenceMatch": "sentenceMatchAudio" /* templateAudio.sentenceMatch */,
280
+ "imageMatch": "imageMatchAudio" /* templateAudio.imageMatch */,
281
+ "palStoryTale": "palStoryTaleAudio" /* templateAudio.palStoryTale */,
282
+ "palEgmaWordProblemDragnDrop": "palEgmaWordProblemDragnDropAudio" /* templateAudio.palEgmaWordProblemDragnDrop */,
283
+ "palEgmaWordProblemClick": "palEgmaWordProblemClickAudio" /* templateAudio.palEgmaWordProblemClick */,
284
+ "palInventedSpelling": "palInventedSpellingAudio" /* templateAudio.palInventedSpelling */,
285
+ "palLetterIdentification": "palLetterIdentificationAudio" /* templateAudio.palLetterIdentification */,
286
+ "palStoryMaking": "palStoryMakingAudio" /* templateAudio.palStoryMaking */,
287
+ "palegmasumtogether": "palegmasumtogetherAudio" /* templateAudio.palegmasumtogether */,
288
+ "palegmamultioption": "palegmamultioptionAudio" /* templateAudio.palegmamultioption */,
289
+ "palegraoptionaudio": "palegraoptionAudio" /* templateAudio.palegraoptionaudio */,
290
+ "palegrawordmatch": "palegrawordmatchAudio" /* templateAudio.palegrawordmatch */,
291
+ "palegramcqimages": "palegramcqimagesAudio" /* templateAudio.palegramcqimages */
271
292
  }[this.templateId]) !== null && _a !== void 0 ? _a : '';
272
293
  const home = document.querySelector('lido-home');
273
294
  if (!home)
@@ -424,7 +445,7 @@ export class LidoContainer {
424
445
  userSelect: 'none', // Prevent any field selection
425
446
  };
426
447
  console.log('🚀 ~ LidoContainer ~ canplay:', this.canplay);
427
- return (h(Host, { key: '9969d4eee1befeb5b5a82fdce7c58aa44abc179c', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, h("lido-text", { key: 'c5476a7d3e16bb1b5608046d9f0b54f757003706', visible: "false", id: this.templateId, audio: "", string: this.instructName }), h("slot", { key: '7523757d12373c3355815012ed6a93abcb839f71' })));
448
+ return (h(Host, { key: 'b94060e2432a7e7d8580ffb53ceef4124a4fba25', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, h("lido-text", { key: '7b433aa25be08cef849e9cefda243cebd7f6aef6', visible: "false", id: this.templateId, audio: "", string: this.instructName }), h("slot", { key: '95705c210ed7efbcf06e0ad7779b8c00fa4e1818' })));
428
449
  }
429
450
  static get is() { return "lido-container"; }
430
451
  static get originalStyleUrls() {
@@ -1 +1 @@
1
- import{L as o,d as r}from"./p-Cyn3wr_R.js";const s=o,p=r;export{s as LidoContainer,p as defineCustomElement}
1
+ import{L as o,d as s}from"./p-BToRx4je.js";const p=o,r=s;export{p as LidoContainer,r as defineCustomElement}
@@ -1 +1 @@
1
- import{L as a,d as o}from"./p-DtMwanJa.js";const s=a,t=o;export{s as LidoHome,t as defineCustomElement}
1
+ import{L as o,d as s}from"./p-A2ykt6D6.js";const t=o,p=s;export{t as LidoHome,p as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as o,H as s,getAssetPath as e,h as a}from"./index.js";import{d as i,i as l}from"./p-XacgbiAe.js";import{d as r}from"./p-q6x112RN.js";import{d as n}from"./p-1PmJa9_u.js";import{d as m}from"./p-BVaiv1nz.js";import{d}from"./p-DWnRy2OX.js";import{d as c}from"./p-DFnbzZUc.js";import{d as p}from"./p-B97yn0-n.js";import{d as u}from"./p-Cyn3wr_R.js";import{d as h}from"./p-CfdL3fZ9.js";import{d as f}from"./p-BLx2hZ8d.js";import{d as b}from"./p-DtMwanJa.js";import{d as E}from"./p-BOTEFjDY.js";import{d as k}from"./p-5cqqnSZl.js";import{d as x}from"./p-Blfvc5ur.js";import{d as j}from"./p-Czy5pBTg.js";import{d as g}from"./p-D4JZI_JB.js";import{d as L}from"./p-CusU-d3G.js";import{d as v}from"./p-DqskvXvD.js";import{d as B}from"./p-Dr5sh_El.js";import{d as U}from"./p-JtdpRTRi.js";import{d as w}from"./p-De6WHLEQ.js";const D=o(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.Lang="",this.xmlPath="",this.initialIndex=0,this.margin="",this.canplay=!0,this.baseUrl=""}connectedCallback(){this.setLanguage(this.Lang)}onLangChange(t){this.setLanguage(t)}setLanguage(t){l.changeLanguage(t||l.language)}async componentWillLoad(){var t,o;const s=null!==(t=this.xmlPath)&&void 0!==t?t:this.baseUrl+((null===(o=this.baseUrl)||void 0===o?void 0:o.endsWith("/"))?"index.xml":"/index.xml");console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ this.baseUrl:",this.baseUrl),console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ this.xmlPath:",this.xmlPath),console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ xmlPath:",s);try{const t=s.startsWith("http")?s:e(s),o=await fetch(t);if(!o.ok)throw Error("Failed to fetch XML data: "+o.statusText);const a=await o.text();this.xmlData=a}catch(t){console.error("Error fetching XML data:",t),this.xmlData=null}}render(){return void 0===this.xmlData?a("div",null,"Loading..."):null===this.xmlData?a("div",null,"Error loading XML data. Please check the path or URL."):a("lido-home",{showNav:!0,activeContainerIndexes:[],initialIndex:this.initialIndex,canplay:this.canplay,xmlData:this.xmlData,baseUrl:this.baseUrl,exitButtonUrl:this.exitButtonUrl,prevButtonUrl:this.prevButtonUrl,nextButtonUrl:this.nextButtonUrl,speakerButtonUrl:this.speakerButtonUrl})}static get assetsDirs(){return["assets"]}static get watchers(){return{Lang:[{onLangChange:0}]}}},[0,"lido-root",{Lang:[1,"lang"],xmlPath:[1,"xml-path"],initialIndex:[2,"initial-index"],margin:[1],canplay:[4],baseUrl:[1,"base-url"],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],xmlData:[32]},void 0,{Lang:[{onLangChange:0}]}]);function y(){"undefined"!=typeof customElements&&["lido-root","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-home","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((o=>{switch(o){case"lido-root":customElements.get(t(o))||customElements.define(t(o),D);break;case"lido-avatar":customElements.get(t(o))||r();break;case"lido-balance":customElements.get(t(o))||n();break;case"lido-calculator":customElements.get(t(o))||m();break;case"lido-canvas":customElements.get(t(o))||d();break;case"lido-cell":customElements.get(t(o))||c();break;case"lido-col":customElements.get(t(o))||p();break;case"lido-container":customElements.get(t(o))||u();break;case"lido-flash-card":customElements.get(t(o))||h();break;case"lido-float":customElements.get(t(o))||f();break;case"lido-home":customElements.get(t(o))||b();break;case"lido-image":customElements.get(t(o))||E();break;case"lido-keyboard":customElements.get(t(o))||k();break;case"lido-math-matrix":customElements.get(t(o))||x();break;case"lido-pos":customElements.get(t(o))||j();break;case"lido-random":customElements.get(t(o))||g();break;case"lido-row":customElements.get(t(o))||L();break;case"lido-shape":customElements.get(t(o))||v();break;case"lido-slide-fill":customElements.get(t(o))||B();break;case"lido-text":customElements.get(t(o))||i();break;case"lido-trace":customElements.get(t(o))||U();break;case"lido-wrap":customElements.get(t(o))||w()}}))}y();const C=D,R=y;export{C as LidoRoot,R as defineCustomElement}
1
+ import{t,p as o,H as s,getAssetPath as e,h as a}from"./index.js";import{d as i,i as l}from"./p-XacgbiAe.js";import{d as r}from"./p-q6x112RN.js";import{d as n}from"./p-1PmJa9_u.js";import{d as m}from"./p-BVaiv1nz.js";import{d}from"./p-DWnRy2OX.js";import{d as c}from"./p-DFnbzZUc.js";import{d as p}from"./p-B97yn0-n.js";import{d as u}from"./p-BToRx4je.js";import{d as h}from"./p-CfdL3fZ9.js";import{d as f}from"./p-BLx2hZ8d.js";import{d as b}from"./p-A2ykt6D6.js";import{d as k}from"./p-BOTEFjDY.js";import{d as x}from"./p-5cqqnSZl.js";import{d as E}from"./p-Blfvc5ur.js";import{d as j}from"./p-Czy5pBTg.js";import{d as g}from"./p-D4JZI_JB.js";import{d as L}from"./p-CusU-d3G.js";import{d as v}from"./p-DqskvXvD.js";import{d as B}from"./p-Dr5sh_El.js";import{d as U}from"./p-JtdpRTRi.js";import{d as D}from"./p-De6WHLEQ.js";const y=o(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.Lang="",this.xmlPath="",this.initialIndex=0,this.margin="",this.canplay=!0,this.baseUrl=""}connectedCallback(){this.setLanguage(this.Lang)}onLangChange(t){this.setLanguage(t)}setLanguage(t){l.changeLanguage(t||l.language)}async componentWillLoad(){var t,o;const s=null!==(t=this.xmlPath)&&void 0!==t?t:this.baseUrl+((null===(o=this.baseUrl)||void 0===o?void 0:o.endsWith("/"))?"index.xml":"/index.xml");console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ this.baseUrl:",this.baseUrl),console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ this.xmlPath:",this.xmlPath),console.log("🚀 ~ LidoRoot ~ componentWillLoad ~ xmlPath:",s);try{const t=s.startsWith("http")?s:e(s),o=await fetch(t);if(!o.ok)throw Error("Failed to fetch XML data: "+o.statusText);const a=await o.text();this.xmlData=a}catch(t){console.error("Error fetching XML data:",t),this.xmlData=null}}render(){return void 0===this.xmlData?a("div",null,"Loading..."):null===this.xmlData?a("div",null,"Error loading XML data. Please check the path or URL."):a("lido-home",{showNav:!0,activeContainerIndexes:[],initialIndex:this.initialIndex,canplay:this.canplay,xmlData:this.xmlData,baseUrl:this.baseUrl,exitButtonUrl:this.exitButtonUrl,prevButtonUrl:this.prevButtonUrl,nextButtonUrl:this.nextButtonUrl,speakerButtonUrl:this.speakerButtonUrl})}static get assetsDirs(){return["assets"]}static get watchers(){return{Lang:[{onLangChange:0}]}}},[0,"lido-root",{Lang:[1,"lang"],xmlPath:[1,"xml-path"],initialIndex:[2,"initial-index"],margin:[1],canplay:[4],baseUrl:[1,"base-url"],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],xmlData:[32]},void 0,{Lang:[{onLangChange:0}]}]);function w(){"undefined"!=typeof customElements&&["lido-root","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-home","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((o=>{switch(o){case"lido-root":customElements.get(t(o))||customElements.define(t(o),y);break;case"lido-avatar":customElements.get(t(o))||r();break;case"lido-balance":customElements.get(t(o))||n();break;case"lido-calculator":customElements.get(t(o))||m();break;case"lido-canvas":customElements.get(t(o))||d();break;case"lido-cell":customElements.get(t(o))||c();break;case"lido-col":customElements.get(t(o))||p();break;case"lido-container":customElements.get(t(o))||u();break;case"lido-flash-card":customElements.get(t(o))||h();break;case"lido-float":customElements.get(t(o))||f();break;case"lido-home":customElements.get(t(o))||b();break;case"lido-image":customElements.get(t(o))||k();break;case"lido-keyboard":customElements.get(t(o))||x();break;case"lido-math-matrix":customElements.get(t(o))||E();break;case"lido-pos":customElements.get(t(o))||j();break;case"lido-random":customElements.get(t(o))||g();break;case"lido-row":customElements.get(t(o))||L();break;case"lido-shape":customElements.get(t(o))||v();break;case"lido-slide-fill":customElements.get(t(o))||B();break;case"lido-text":customElements.get(t(o))||i();break;case"lido-trace":customElements.get(t(o))||U();break;case"lido-wrap":customElements.get(t(o))||D()}}))}w();const R=y,C=w;export{R as LidoRoot,C as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as o,H as a,F as e,G as i,I as r,J as n,K as s,A as l,M as d,O as p,P as c,Q as h,N as m,R as x,getAssetPath as u,U as f,L as b,h as g,T as w,f as k,V as y,S as v,W as j,j as X,n as C,X as E,b as z,c as B,Y as D}from"./index.js";import{d as O,i as A}from"./p-XacgbiAe.js";import{d as P}from"./p-q6x112RN.js";import{d as L}from"./p-1PmJa9_u.js";import{d as S}from"./p-BVaiv1nz.js";import{d as T}from"./p-DWnRy2OX.js";import{d as Y}from"./p-DFnbzZUc.js";import{d as F}from"./p-B97yn0-n.js";import{d as $}from"./p-Cyn3wr_R.js";import{d as R}from"./p-CfdL3fZ9.js";import{d as I}from"./p-BLx2hZ8d.js";import{d as U}from"./p-BOTEFjDY.js";import{d as N}from"./p-5cqqnSZl.js";import{d as _}from"./p-Blfvc5ur.js";import{d as J}from"./p-Czy5pBTg.js";import{d as W}from"./p-D4JZI_JB.js";import{d as Z}from"./p-CusU-d3G.js";import{d as q}from"./p-DqskvXvD.js";import{d as H}from"./p-Dr5sh_El.js";import{d as M}from"./p-JtdpRTRi.js";import{d as K}from"./p-De6WHLEQ.js";const G=o(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.commonAudioPath="",this.showNav=!0,this.activeContainerIndexes=[],this.Lang="",this.xmlData="",this.initialIndex=0,this.canplay=!0,this.baseUrl="",this.height="",this.uuid=e(),this.currentContainerIndex=this.initialIndex,this.exitFlag=!1,this.containers=[],this.templateData=[],this.placeholderRegex=/\{([a-zA-Z0-9_]+)\}/g,this.NextContainerKey=t=>{var o,a;console.log("🚀 ~ LidoHome ~ NextContainerKey ~","ths uuid",this.uuid,"doc uuid",document.querySelector("lido-home").getAttribute("uuid"),"are both equal : ",this.uuid===(null===(o=document.querySelector("lido-home"))||void 0===o?void 0:o.getAttribute("uuid"))),this.uuid===(null===(a=document.querySelector("lido-home"))||void 0===a?void 0:a.getAttribute("uuid"))&&(null!=t&&t==this.currentContainerIndex||(null!=t&&t<this.containers.length?(this.currentContainerIndex=t,i(this.currentContainerIndex)):this.currentContainerIndex<this.containers.length-1?(this.currentContainerIndex++,i(this.currentContainerIndex)):this.currentContainerIndex>=this.containers.length-1&&(localStorage.removeItem(r),n(),this.currentContainerIndex=null),this.containers=[...this.containers],this.updateArrowVisibility()))},this.PrevContainerKey=t=>{console.log("👉 PrevContainerKey CALLED with index:",t),this.currentContainerIndex<=0||(this.currentContainerIndex--,i(this.currentContainerIndex),this.containers=[...this.containers],this.updateArrowVisibility())},this.showDotsandbtn=!1,this.updateArrowVisibility=()=>{this.showNav&&setTimeout((()=>{const t=this.el.querySelector("lido-container");if(!t)return;const o=t.getAttribute("show-prev-button"),a=t.getAttribute("show-next-button"),e=this.el.querySelector("#lido-arrow-right");this.el.querySelector("#lido-arrow-left").style.visibility="true"!==o?"hidden":"visible",e.style.visibility="true"!==a?"hidden":"visible"}),100)},this.btnpopupRunId=0,this.handleWindowTouch=()=>{this.cancelBtnpopupRun()},this.handleWindowPointer=t=>{"touch"===t.pointerType&&this.cancelBtnpopupRun()},this.popUpClick=t=>{const o=this.el.querySelector(".lido-alert-popup");this.exitFlag=!1,o&&("exit"===t?(s(),l.getI().stop(),localStorage.removeItem(r),o.remove(),this.currentContainerIndex=0):o.remove())}}onLangChange(t){this.setLanguage(t),this.containers=[...this.containers]}setLanguage(t){A.changeLanguage(t||A.language),this.containers=[...this.containers]}onCommonAudioPathChange(t){this.publishCommonAudioPath(t)}async componentWillLoad(){if(this.navBarIcons={exit:this.exitButtonUrl||h,prev:this.prevButtonUrl||c,next:this.nextButtonUrl||p,speak:this.speakerButtonUrl||d},0===this.currentContainerIndex&&localStorage.removeItem(r),window.addEventListener(m,(()=>{this.NextContainerKey()})),window.addEventListener(x,(()=>{this.PrevContainerKey()})),window.addEventListener("changeContainer",(t=>{this.NextContainerKey(t.detail.index)})),await this.loadTemplateData(),(this.xmlData||"").trim().includes("lido-container"))this.parseXMLData(this.xmlData);else{const t=await this.decompressBrotliBase64(this.xmlData);this.parseXMLData(t)}window.addEventListener("beforeunload",(()=>{l.getI().stop(),localStorage.removeItem(r)}))}async loadTemplateData(){if(!this.baseUrl)return;const t=[`${this.baseUrl.replace(/\/+$/,"")}/data.json`];for(const o of t)try{const t=o.startsWith("http")?o:u(o),a=await fetch(t);if(!a.ok)continue;const e=await a.json();if(Array.isArray(e)&&(this.templateData=e.filter((t=>t&&"object"==typeof t)),this.templateData.length))return}catch(t){console.warn(`[LidoHome] Failed to load template data from ${o}`,t)}}async decompressBrotliBase64(t){var o;for(t=(t||"").trim().replace(/^data:.*;base64,/,"").replace(/^['"]|['"]$/g,"").replace(/\\n/g,"").replace(/\s+/g,"").replace(/-/g,"+").replace(/_/g,"/");t.length%4;)t+="=";const a=atob(t),e=new Uint8Array(a.length);for(let t=0;t<a.length;t++)e[t]=a.charCodeAt(t);if("DecompressionStream"in window)try{const t=new window.DecompressionStream("br"),o=new Blob([e]).stream().pipeThrough(t),a=await new Response(o).arrayBuffer();return(new TextDecoder).decode(a)}catch(t){console.warn("[LidoRoot] Native Brotli unavailable, trying WASM fallback.",t)}try{const t=await import("./p-WP-EeUIB.js").then((function(t){return t.d})),a=t.BrotliDecompressBuffer||(null===(o=t.default)||void 0===o?void 0:o.BrotliDecompressBuffer);if("function"!=typeof a)throw new Error("BrotliDecompressBuffer function not found in brotli/dec/decode");const i=a(e);return(new TextDecoder).decode(i)}catch(t){throw new Error(`Brotli decompression failed (native + fallback): ${t instanceof Error?t.message:String(t)}`)}}componentDidLoad(){this.publishCommonAudioPath(this.commonAudioPath),setTimeout((()=>{this.showDotsandbtn=!0}),10),this.updateArrowVisibility(),this.scaleNavbarContainer(),this.handleIcons(),window.addEventListener("resize",(()=>{this.scaleNavbarContainer()})),window.addEventListener("touchstart",this.handleWindowTouch,{passive:!0}),window.addEventListener("pointerdown",this.handleWindowPointer,{passive:!0})}publishCommonAudioPath(t){if(!t)return;const o=t.replace(/\/+$/,"");window[f]=o,console.log("[LidoHome] Published common audio path:",o),window.dispatchEvent(new Event("lidoCommonAudioPathReady"))}async handleIcons(){var t;const o=async(t,o,a)=>t?B(t):o?B(o):null!=a&&a,a=document.getElementById(b),e=a.getAttribute("exit-button-url"),i=a.getAttribute("prev-button-url"),r=a.getAttribute("next-button-url"),n=null!==(t=a.getAttribute("speak-button-url"))&&void 0!==t?t:a.getAttribute("speaker-button-url");this.navBarIcons={exit:`${await o(this.exitButtonUrl,e,h)}`,prev:`${await o(this.prevButtonUrl,i,c)}`,next:`${await o(this.nextButtonUrl,r,p)}`,speak:`${await o(this.speakerButtonUrl,n,d)}`}}updateBackgroundImage(){const t=document.querySelector(b),o=t.getAttribute("bg-image");document.body.style.background="none",t.style.backgroundImage=o?`url(${o})`:"none",t.style.backgroundPosition=o?"bottom":"none",setTimeout((()=>{const o=document.querySelector(".lido-dot-container");o.classList.add("nav-for-lanai"),t.append(o)}),50)}disconnectedCallback(){window.removeEventListener(m,(()=>{this.NextContainerKey()})),window.removeEventListener("changeContainer",(t=>{this.NextContainerKey(t.detail.index)})),window.removeEventListener(x,(()=>{this.PrevContainerKey()})),window.removeEventListener("resize",(()=>{this.scaleNavbarContainer()})),window.removeEventListener("touchstart",this.handleWindowTouch),window.removeEventListener("pointerdown",this.handleWindowPointer)}parseXMLData(t){if(t){const o=(new DOMParser).parseFromString(t,"text/xml");this.parseContainers(o.documentElement)}}resolveContainerData(t){var o;return(null===(o=this.templateData)||void 0===o?void 0:o.length)?this.templateData[t]?this.templateData[t]:1===this.templateData.length?this.templateData[0]:null:null}replacePlaceholders(t,o){return o&&t?t.replace(this.placeholderRegex,((t,a)=>{const e=o[a];return null==e?`{${a}}`:String(e)})):t}applyDataToElement(t,o){return o?([t,...Array.from(t.querySelectorAll("*"))].forEach((t=>{Array.from(t.attributes).forEach((a=>{const e=a.value.replace(this.placeholderRegex,((t,a)=>{const e=o[a];return null==e?`{${a}}`:String(e)}));e!==a.value&&t.setAttribute(a.name,e)}))})),t):t}onXmlDataChange(t){this.parseXMLData(t)}parseElement(t){const o=t.nodeName.toLowerCase(),a={};Array.from(t.attributes).forEach((t=>{a[t.name]=t.value}));const e=Array.from(t.childNodes).map((t=>1===t.nodeType?this.parseElement(t):3===t.nodeType&&""!==t.textContent.trim()?t.textContent:null)).filter(Boolean);"lido-text"===o&&a.string&&(a.string=A.t(a.string)),"lido-text"===o&&a.string&&(a.string=A.t(a.string));const i={"lido-container":g("lido-container",Object.assign({},a,{canplay:this.canplay,baseUrl:this.baseUrl,height:this.height}),e),"lido-flash-card":g("lido-flash-card",Object.assign({},a),e),"lido-col":g("lido-col",Object.assign({},a),e),"lido-trace":g("lido-trace",Object.assign({},a),e),"lido-image":g("lido-image",Object.assign({},a),e),"lido-row":g("lido-row",Object.assign({},a),e),"lido-text":g("lido-text",Object.assign({},a),e),"lido-pos":g("lido-pos",Object.assign({},a),e),"lido-shape":g("lido-shape",Object.assign({},a),e),"lido-wrap":g("lido-wrap",Object.assign({},a),e),"lido-random":g("lido-random",Object.assign({},a),e),"lido-avatar":g("lido-avatar",Object.assign({},a),e),"lido-cell":g("lido-cell",Object.assign({},a),e),"lido-slide-fill":g("lido-slide-fill",Object.assign({},a),e),"lido-float":g("lido-float",Object.assign({},a),e),"lido-keyboard":g("lido-keyboard",Object.assign({},a),e),"lido-math-matrix":g("lido-math-matrix",Object.assign({},a),e),"lido-balance":g("lido-balance",Object.assign({},a),e),"lido-calculator":g("lido-calculator",Object.assign({},a),e),"lido-canvas":g("lido-canvas",Object.assign({},a),e)};return i[o]?i[o]:(console.warn(`Unknown tag: ${o}`),null)}parseContainers(t){const o=t.querySelectorAll("lido-container"),a=Array.from(o).map(((t,o)=>{if(this.activeContainerIndexes.length&&!this.activeContainerIndexes.includes(o))return;const a=this.resolveContainerData(o),e=this.applyDataToElement(t,a);return()=>this.parseElement(e)})).filter(Boolean);this.containers=a}areAllDropsFilled(){const t=Array.from(document.querySelectorAll('[type="drop"]')),o=Array.from(document.querySelectorAll('[type="drag"]')).filter((t=>t.getAttribute("drop-to")));return t.every((t=>{const a=t.id;return o.some((t=>t.getAttribute("drop-to")===a))}))}async btnpopup(t){var o,a;const e=()=>t!==this.btnpopupRunId,i=document.getElementById(b);if(console.log("game completed !"),e())return;if(!i||"true"===i.getAttribute("game-completed"))return;if(D(!1),await l.getI().stop(),e())return;const r=i.querySelectorAll("*"),n=i.getAttribute(w);if(n){const t=this.el.querySelector(`#${n}`);if(t&&(await k("this.speak='true';",t),e()))return}for(const t of Array.from(r)){if(y()||e())break;const o=t.getAttribute("tab-index"),a=t;if(o&&Number(o)>0){const t=t=>{const o=t.getBoundingClientRect();return o.width>0&&o.height>0&&o.bottom>0&&o.right>0&&o.top<window.innerHeight&&o.left<window.innerWidth};console.log("Element visibility",t(a));const o=null==a?void 0:a.getAttribute("type");if(a&&"true"!==a.getAttribute("disable-speak")&&((null==o?void 0:o.trim())&&t(a)||!o||!o.trim())&&await l.getI().play(a),y()||e()){await l.getI().stop();break}if(await new Promise((t=>setTimeout(t,300))),e())break}}if(!e())if(this.areAllDropsFilled()){const t=i.objective,e=null!==(a=JSON.parse(null!==(o=i.getAttribute(v))&&void 0!==o?o:"[]"))&&void 0!==a?a:[],r=j(t,e);console.log("Resultt",r),r&&X()}else"true"===i.getAttribute("game-completed")?X():console.log("Not yet filled ")}async cancelBtnpopupRun(){this.btnpopupRunId++,D(!0),await l.getI().stop()}async handleBtnpopupClick(){await this.cancelBtnpopupRun();const t=this.btnpopupRunId;D(!1),await this.btnpopup(t)}scaleNavbarContainer(){setTimeout((()=>{const t=document.querySelector(".lido-dot-container");t&&((1600===window.innerWidth&&900===window.innerHeight||900===window.innerWidth&&1600===window.innerHeight)&&document.querySelectorAll(".lido-exit-button, #main-audio").forEach((t=>{t.style.marginLeft="10px",t.style.marginRight="10px"})),t.style.top=window.innerWidth>window.innerHeight?"6%":"3.5%",t.style.transform="translate(-50%, -50%)",t.style.visibility="visible",Array.from(t.children).forEach((t=>{t.style.transform=`scale(${C()})`})),t.style.width=window.outerWidth+"px")}),500)}renderDots(){const t={pointerEvents:this.canplay?"none":""};return g("div",{id:"lido-dot-indicator",class:"lido-dot-container",style:{visibility:"hidden"}},g("div",{class:"lido-exit-button popup\r\n -button",onClick:()=>{this.exitFlag=!0,l.getI().stop()}},g("lido-image",{src:this.navBarIcons.exit})),g("div",{class:"lido-btn-dot-container"},g("div",{id:"lido-arrow-left",onClick:()=>{E()}},g("lido-image",{src:this.navBarIcons.prev})),this.containers.map(((o,a)=>g("div",{class:"parent_dots"},g("span",{class:"lido-dot "+(a<this.currentContainerIndex?"completed":a===this.currentContainerIndex?"current":""),onClick:()=>this.jumpToContainer(a),style:t})))),g("div",{id:"lido-arrow-right",onClick:t=>{console.log("Target:",t.target),console.log("Current Target:",t.currentTarget),console.log("✅ Button clicked - nextBtn action triggered"),k("this.nextBtn='true'",t.currentTarget)}},g("lido-image",{src:this.navBarIcons.next}))),g("div",{id:"main-audio",class:"popup-button",onClick:()=>this.handleBtnpopupClick()},g("lido-image",{visible:"true",src:this.navBarIcons.speak})))}jumpToContainer(t){this.NextContainerKey(t)}render(){var t,o;return console.log("🚀 ~ LidoHome ~ render ~ this.containers:",this),this.xmlData?g(z,{class:"lido-home",uuid:this.uuid,"template-id":"",index:this.currentContainerIndex,totalIndex:this.containers.length,style:{userSelect:"none"}},g("div",{key:this.currentContainerIndex},null===(o=(t=this.containers)[this.currentContainerIndex])||void 0===o?void 0:o.call(t)),this.renderDots(),this.exitFlag&&g("div",{class:"lido-alert-parent"},g("div",{class:"lido-alert-popup"},g("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)';"},g("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';"}),g("lido-cell",{visible:"true",layout:"row",width:"294px",class:"btn-cell"},g("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"}),g("lido-text",{visible:"true",string:"Continue 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"})))))):g("div",null,"Please provide XML data.")}get el(){return this}static get watchers(){return{Lang:[{onLangChange:0}],commonAudioPath:[{onCommonAudioPathChange:0}],xmlData:[{onXmlDataChange:0}]}}static get style(){return"@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;pointer-events:none;z-index:9999;background:linear-gradient( 180deg, rgba(255, 235, 59, 0.95), rgba(255, 214, 0, 0.95) );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:left 55ms linear, top 55ms linear, width 55ms ease-out, height 55ms ease-out, opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height}@keyframes rightToPlace{from{transform:translateX(2000px)}to{transform:translateX(0)}}@keyframes topToPlace{from{transform:translateY(-1000px)}to{transform:translateY(0)}}@keyframes bottomToPlace{from{transform:translateY(1000px)}to{transform:translateY(0)}}@keyframes placeToLeft{from{}to{transform:translateX(-2000px)}}@keyframes placeToRight{from{}to{transform:translateX(2000px)}}@keyframes leftToPlace{from{transform:translateX(-2000px)}to{transform:translateX(0)}}@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-5px)}20%{transform:translateX(5px)}30%{transform:translateX(-5px)}40%{transform:translateX(5px)}50%{transform:translateX(-5px)}60%{transform:translateX(5px)}70%{transform:translateX(-5px)}80%{transform:translateX(5px)}90%{transform:translateX(-5px)}100%{transform:translateX(0)}}@keyframes fallAndBounce{0%{transform:translateY(-1000px)}25%{transform:translateY(0px)}50%{transform:translateY(-200px)}75%{transform:translateY(0)}90%{transform:translateY(-100px)}100%{transform:translateY(0)}}@keyframes placeToDown{0%{transform:translateY(0)}100%{transform:translateY(1000px)}}@keyframes strongShake{0%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(6px)}100%{transform:translateX(0)}}@keyframes scaledShake{0%{transform:scale(1) translateX(0);box-shadow:0 0 0 transparent}20%{transform:scale(1.10) translateX(-12px);box-shadow:0 0 10px red}40%{transform:scale(1.10) translateX(12px);box-shadow:0 0 12px red}60%{transform:scale(1.10) translateX(-8px);box-shadow:0 0 10px red}80%{transform:scale(1.10) translateX(8px);box-shadow:0 0 12px red}100%{transform:scale(1) translateX(0);box-shadow:none}}@keyframes horizontalShake{0%{transform:scale(1) translateX(0);background-color:transparent}20%{transform:translateX(-20px);background-color:rgba(255, 0, 0, 0.2)}40%{transform:translateX(20px);background-color:rgba(255, 0, 0, 0.4)}60%{transform:translateX(-10px);background-color:rgba(255, 0, 0, 0.3)}80%{transform:translateX(10px);background-color:rgba(255, 0, 0, 0.2)}100%{transform:translateX(0);background-color:transparent}}@keyframes verticalShake{0%{transform:translateY(0);background-color:transparent}20%{transform:translateY(-20px);background-color:rgba(255, 0, 0, 0.2)}40%{transform:translateY(0);background-color:rgba(255, 0, 0, 0.4)}60%{transform:translateY(20px);background-color:rgba(255, 0, 0, 0.2)}80%{transform:translateY(0);background-color:rgba(255, 0, 0, 0.1)}100%{transform:translateY(0);background-color:transparent}}@keyframes diagonalShake{0%{transform:translate(0, 0);background-color:transparent}25%{transform:translate(20px, -20px);background-color:rgba(255, 0, 0, 0.2)}50%{transform:translate(-20px, 20px);background-color:rgba(255, 0, 0, 0.3)}75%{transform:translate(10px, -10px);background-color:rgba(255, 0, 0, 0.2)}100%{transform:translate(0, 0);background-color:transparent}}@keyframes glowPulse{0%{filter:drop-shadow(0 0 5px yellow) drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 30px orange)}50%{filter:drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 40px yellow) drop-shadow(0 0 50px orange)}100%{filter:drop-shadow(0 0 5px yellow) drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 30px orange)}}@keyframes trace-animation{0%{}100%{width:var(--trace-width, 100px);height:var(--trace-height, 100px)}}.lido-snackbar{visibility:visible;min-width:250px;background-color:#333;color:#fff;text-align:center;border-radius:2px;padding:16px;position:fixed;z-index:1;bottom:30px;left:50%;transform:translateX(-50%);font-size:17px}.lido-dot-container{display:flex;justify-content:space-between;align-items:center;visibility:hidden;position:absolute;left:50%;padding:0 5px;z-index:1;width:100vw;max-width:100vw;box-sizing:border-box;height:0px}.lido-dot{height:18px;width:18px;margin:0 4px;background-color:#bbb;border-radius:50%;display:inline-block;transition:background-color 0.3s;cursor:pointer;z-index:1}.lido-btn-dot-container{flex-shrink:1;flex-grow:1;display:flex;justify-content:center;align-items:center;text-align:center;z-index:1;min-width:0;height:0px}.lido-dot.completed{background-color:grey}.lido-dot.current{background-color:green}.lido-dot:not(.completed):not(.current){background-color:#bbb}#lido-arrow-left,#lido-arrow-right{width:88px;height:88px;display:flex;align-items:center;justify-content:center;border-radius:12px;z-index:1000;box-shadow:0px 8px 0px 0px #8b310f;background-color:#f34d08;cursor:pointer;visibility:hidden;flex-shrink:0}#lido-arrow-left:active,#lido-arrow-right:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px}.navbar{display:flex;justify-content:center}.lido-exit-button,#main-audio{width:80px;height:80px;z-index:1000;cursor:pointer;background-color:white;display:flex;align-items:center;justify-content:center;border:4px solid #f34d08;border-radius:16px;box-shadow:0px 8px #f34d08;flex-shrink:0;}#main-audio:active,.popup-button:active .lido-exit-button:active{margin-bottom:-8px;box-shadow:0px 0px 0px 0px !important}.lido-alert-popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:1000}@media (max-width: 768px){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0 8px}.lido-exit-button,#main-audio{width:65px;height:65px;margin:0 8px}.lido-dot{height:16px;width:16px;margin:0 2.5px}}@media (max-width: 480px){#lido-arrow-left,#lido-arrow-right{width:74px;height:74px;margin:0px 5px}.lido-exit-button,#main-audio{width:65px;height:65px;margin:0px 5px}.lido-dot{height:15px;width:15px;margin:0 1.5px}.lido-dot-container{padding:0 3px}}@media (max-width: 375px){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0px 3px}.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 3px}.lido-dot{height:14px;width:14px;margin:0 1px}.lido-dot-container{padding:0 2px}}@media (max-width: 320px){#lido-arrow-left,#lido-arrow-right,.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 2px}.lido-dot{height:12px;width:12px;margin:0 0.5px}.lido-dot-container{padding:0 2px}}@media (max-width: 900px) and (orientation: landscape){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0px 5px}.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 5px}.lido-dot{height:14px;width:14px;margin:0 1px}.lido-dot-container{padding:0 5px}}.popup-exit-text{white-space:nowrap;font-size:22px;font-weight:600;margin-top:-8%}.lido-alert-parent{z-index:10000 !important;position:absolute;top:0;left:0}.popup-button{width:80px;height:80px;z-index:1000;cursor:pointer;display:flex;align-items:center;justify-content:center;border:4px solid #F34D08;border-radius:16px;box-shadow:0 8px 0 #F34D08}.nav-for-lanai{position:absolute;top:0%;left:0%;max-width:none;width:100%;height:auto;visibility:visible}"}},[0,"lido-home",{commonAudioPath:[1,"common-audio-path"],showNav:[4,"show-nav"],activeContainerIndexes:[16],Lang:[1,"lang"],xmlData:[1,"xml-data"],initialIndex:[2,"initial-index"],canplay:[4],baseUrl:[1,"base-url"],height:[1],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],avatarUrl:[1,"avatar-url"],uuid:[1],navBarIcons:[32],currentContainerIndex:[32],exitFlag:[32],containers:[32],templateData:[32],showDotsandbtn:[32]},void 0,{Lang:[{onLangChange:0}],commonAudioPath:[{onCommonAudioPathChange:0}],xmlData:[{onXmlDataChange:0}]}]);function Q(){"undefined"!=typeof customElements&&["lido-home","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((o=>{switch(o){case"lido-home":customElements.get(t(o))||customElements.define(t(o),G);break;case"lido-avatar":customElements.get(t(o))||P();break;case"lido-balance":customElements.get(t(o))||L();break;case"lido-calculator":customElements.get(t(o))||S();break;case"lido-canvas":customElements.get(t(o))||T();break;case"lido-cell":customElements.get(t(o))||Y();break;case"lido-col":customElements.get(t(o))||F();break;case"lido-container":customElements.get(t(o))||$();break;case"lido-flash-card":customElements.get(t(o))||R();break;case"lido-float":customElements.get(t(o))||I();break;case"lido-image":customElements.get(t(o))||U();break;case"lido-keyboard":customElements.get(t(o))||N();break;case"lido-math-matrix":customElements.get(t(o))||_();break;case"lido-pos":customElements.get(t(o))||J();break;case"lido-random":customElements.get(t(o))||W();break;case"lido-row":customElements.get(t(o))||Z();break;case"lido-shape":customElements.get(t(o))||q();break;case"lido-slide-fill":customElements.get(t(o))||H();break;case"lido-text":customElements.get(t(o))||O();break;case"lido-trace":customElements.get(t(o))||M();break;case"lido-wrap":customElements.get(t(o))||K()}}))}Q();export{G as L,Q as d}
1
+ import{t,p as o,H as a,F as e,G as i,I as r,J as n,K as s,A as l,M as d,O as p,P as c,Q as h,N as m,R as x,getAssetPath as u,U as f,L as b,h as g,T as w,f as k,V as y,S as v,W as j,j as X,n as B,X as C,b as E,c as z,Y as D}from"./index.js";import{d as O,i as A}from"./p-XacgbiAe.js";import{d as P}from"./p-q6x112RN.js";import{d as T}from"./p-1PmJa9_u.js";import{d as L}from"./p-BVaiv1nz.js";import{d as S}from"./p-DWnRy2OX.js";import{d as Y}from"./p-DFnbzZUc.js";import{d as F}from"./p-B97yn0-n.js";import{d as $}from"./p-BToRx4je.js";import{d as R}from"./p-CfdL3fZ9.js";import{d as I}from"./p-BLx2hZ8d.js";import{d as U}from"./p-BOTEFjDY.js";import{d as N}from"./p-5cqqnSZl.js";import{d as J}from"./p-Blfvc5ur.js";import{d as W}from"./p-Czy5pBTg.js";import{d as Z}from"./p-D4JZI_JB.js";import{d as _}from"./p-CusU-d3G.js";import{d as q}from"./p-DqskvXvD.js";import{d as H}from"./p-Dr5sh_El.js";import{d as M}from"./p-JtdpRTRi.js";import{d as K}from"./p-De6WHLEQ.js";const G=o(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.commonAudioPath="",this.showNav=!0,this.activeContainerIndexes=[],this.Lang="",this.xmlData="",this.initialIndex=0,this.canplay=!0,this.baseUrl="",this.height="",this.uuid=e(),this.currentContainerIndex=this.initialIndex,this.exitFlag=!1,this.containers=[],this.templateData=[],this.placeholderRegex=/\{([a-zA-Z0-9_]+)\}/g,this.NextContainerKey=t=>{var o,a;console.log("🚀 ~ LidoHome ~ NextContainerKey ~","ths uuid",this.uuid,"doc uuid",document.querySelector("lido-home").getAttribute("uuid"),"are both equal : ",this.uuid===(null===(o=document.querySelector("lido-home"))||void 0===o?void 0:o.getAttribute("uuid"))),this.uuid===(null===(a=document.querySelector("lido-home"))||void 0===a?void 0:a.getAttribute("uuid"))&&(null!=t&&t==this.currentContainerIndex||(null!=t&&t<this.containers.length?(this.currentContainerIndex=t,i(this.currentContainerIndex)):this.currentContainerIndex<this.containers.length-1?(this.currentContainerIndex++,i(this.currentContainerIndex)):this.currentContainerIndex>=this.containers.length-1&&(localStorage.removeItem(r),n(),this.currentContainerIndex=null),this.containers=[...this.containers],this.updateArrowVisibility()))},this.PrevContainerKey=t=>{console.log("👉 PrevContainerKey CALLED with index:",t),this.currentContainerIndex<=0||(this.currentContainerIndex--,i(this.currentContainerIndex),this.containers=[...this.containers],this.updateArrowVisibility())},this.showDotsandbtn=!1,this.updateArrowVisibility=()=>{this.showNav&&setTimeout((()=>{const t=this.el.querySelector("lido-container");if(!t)return;const o=t.getAttribute("show-prev-button"),a=t.getAttribute("show-next-button"),e=this.el.querySelector("#lido-arrow-right");this.el.querySelector("#lido-arrow-left").style.visibility="true"!==o?"hidden":"visible",e.style.visibility="true"!==a?"hidden":"visible"}),100)},this.btnpopupRunId=0,this.handleWindowTouch=()=>{this.cancelBtnpopupRun()},this.handleWindowPointer=t=>{"touch"===t.pointerType&&this.cancelBtnpopupRun()},this.popUpClick=t=>{const o=this.el.querySelector(".lido-alert-popup");this.exitFlag=!1,o&&("exit"===t?(s(),l.getI().stop(),localStorage.removeItem(r),o.remove(),this.currentContainerIndex=0):o.remove())}}onLangChange(t){this.setLanguage(t),this.containers=[...this.containers]}setLanguage(t){A.changeLanguage(t||A.language),this.containers=[...this.containers]}onCommonAudioPathChange(t){this.publishCommonAudioPath(t)}async componentWillLoad(){if(this.navBarIcons={exit:this.exitButtonUrl||h,prev:this.prevButtonUrl||c,next:this.nextButtonUrl||p,speak:this.speakerButtonUrl||d},0===this.currentContainerIndex&&localStorage.removeItem(r),window.addEventListener(m,(()=>{this.NextContainerKey()})),window.addEventListener(x,(()=>{this.PrevContainerKey()})),window.addEventListener("changeContainer",(t=>{this.NextContainerKey(t.detail.index)})),await this.loadTemplateData(),(this.xmlData||"").trim().includes("lido-container"))this.parseXMLData(this.xmlData);else{const t=await this.decompressBrotliBase64(this.xmlData);this.parseXMLData(t)}window.addEventListener("beforeunload",(()=>{l.getI().stop(),localStorage.removeItem(r)}))}async loadTemplateData(){if(!this.baseUrl)return;const t=[`${this.baseUrl.replace(/\/+$/,"")}/data.json`];for(const o of t)try{const t=o.startsWith("http")?o:u(o),a=await fetch(t);if(!a.ok)continue;const e=await a.json();if(Array.isArray(e)&&(this.templateData=e.filter((t=>t&&"object"==typeof t)),this.templateData.length))return}catch(t){console.warn(`[LidoHome] Failed to load template data from ${o}`,t)}}async decompressBrotliBase64(t){var o;for(t=(t||"").trim().replace(/^data:.*;base64,/,"").replace(/^['"]|['"]$/g,"").replace(/\\n/g,"").replace(/\s+/g,"").replace(/-/g,"+").replace(/_/g,"/");t.length%4;)t+="=";const a=atob(t),e=new Uint8Array(a.length);for(let t=0;t<a.length;t++)e[t]=a.charCodeAt(t);if("DecompressionStream"in window)try{const t=new window.DecompressionStream("br"),o=new Blob([e]).stream().pipeThrough(t),a=await new Response(o).arrayBuffer();return(new TextDecoder).decode(a)}catch(t){console.warn("[LidoRoot] Native Brotli unavailable, trying WASM fallback.",t)}try{const t=await import("./p-WP-EeUIB.js").then((function(t){return t.d})),a=t.BrotliDecompressBuffer||(null===(o=t.default)||void 0===o?void 0:o.BrotliDecompressBuffer);if("function"!=typeof a)throw new Error("BrotliDecompressBuffer function not found in brotli/dec/decode");const i=a(e);return(new TextDecoder).decode(i)}catch(t){throw new Error(`Brotli decompression failed (native + fallback): ${t instanceof Error?t.message:String(t)}`)}}componentDidLoad(){this.publishCommonAudioPath(this.commonAudioPath),setTimeout((()=>{this.showDotsandbtn=!0}),10),this.updateArrowVisibility(),this.scaleNavbarContainer(),this.handleIcons(),window.addEventListener("resize",(()=>{this.scaleNavbarContainer()})),window.addEventListener("touchstart",this.handleWindowTouch,{passive:!0}),window.addEventListener("pointerdown",this.handleWindowPointer,{passive:!0})}publishCommonAudioPath(t){if(!t)return;const o=t.replace(/\/+$/,"");window[f]=o,console.log("[LidoHome] Published common audio path:",o),window.dispatchEvent(new Event("lidoCommonAudioPathReady"))}async handleIcons(){var t;const o=async(t,o,a)=>t?z(t):o?z(o):null!=a&&a,a=document.getElementById(b),e=a.getAttribute("exit-button-url"),i=a.getAttribute("prev-button-url"),r=a.getAttribute("next-button-url"),n=null!==(t=a.getAttribute("speak-button-url"))&&void 0!==t?t:a.getAttribute("speaker-button-url");this.navBarIcons={exit:`${await o(this.exitButtonUrl,e,h)}`,prev:`${await o(this.prevButtonUrl,i,c)}`,next:`${await o(this.nextButtonUrl,r,p)}`,speak:`${await o(this.speakerButtonUrl,n,d)}`}}updateBackgroundImage(){const t=document.querySelector(b),o=t.getAttribute("bg-image");document.body.style.background="none",t.style.backgroundImage=o?`url(${o})`:"none",t.style.backgroundPosition=o?"bottom":"none",setTimeout((()=>{const o=document.querySelector(".lido-dot-container");o.classList.add("nav-for-lanai"),t.append(o)}),50)}disconnectedCallback(){window.removeEventListener(m,(()=>{this.NextContainerKey()})),window.removeEventListener("changeContainer",(t=>{this.NextContainerKey(t.detail.index)})),window.removeEventListener(x,(()=>{this.PrevContainerKey()})),window.removeEventListener("resize",(()=>{this.scaleNavbarContainer()})),window.removeEventListener("touchstart",this.handleWindowTouch),window.removeEventListener("pointerdown",this.handleWindowPointer)}parseXMLData(t){if(t){const o=(new DOMParser).parseFromString(t,"text/xml");this.parseContainers(o.documentElement)}}resolveContainerData(t){var o;return(null===(o=this.templateData)||void 0===o?void 0:o.length)?this.templateData[t]?this.templateData[t]:1===this.templateData.length?this.templateData[0]:null:null}replacePlaceholders(t,o){return o&&t?t.replace(this.placeholderRegex,((t,a)=>{const e=o[a];return null==e?`{${a}}`:String(e)})):t}applyDataToElement(t,o){return o?([t,...Array.from(t.querySelectorAll("*"))].forEach((t=>{Array.from(t.attributes).forEach((a=>{const e=a.value.replace(this.placeholderRegex,((t,a)=>{const e=o[a];return null==e?`{${a}}`:String(e)}));e!==a.value&&t.setAttribute(a.name,e)}))})),t):t}onXmlDataChange(t){this.parseXMLData(t)}parseElement(t){const o=t.nodeName.toLowerCase(),a={};Array.from(t.attributes).forEach((t=>{a[t.name]=t.value}));const e=Array.from(t.childNodes).map((t=>1===t.nodeType?this.parseElement(t):3===t.nodeType&&""!==t.textContent.trim()?t.textContent:null)).filter(Boolean);"lido-text"===o&&a.string&&(a.string=A.t(a.string)),"lido-text"===o&&a.string&&(a.string=A.t(a.string));const i={"lido-container":g("lido-container",Object.assign({},a,{canplay:this.canplay,baseUrl:this.baseUrl,height:this.height}),e),"lido-flash-card":g("lido-flash-card",Object.assign({},a),e),"lido-col":g("lido-col",Object.assign({},a),e),"lido-trace":g("lido-trace",Object.assign({},a),e),"lido-image":g("lido-image",Object.assign({},a),e),"lido-row":g("lido-row",Object.assign({},a),e),"lido-text":g("lido-text",Object.assign({},a),e),"lido-pos":g("lido-pos",Object.assign({},a),e),"lido-shape":g("lido-shape",Object.assign({},a),e),"lido-wrap":g("lido-wrap",Object.assign({},a),e),"lido-random":g("lido-random",Object.assign({},a),e),"lido-avatar":g("lido-avatar",Object.assign({},a),e),"lido-cell":g("lido-cell",Object.assign({},a),e),"lido-slide-fill":g("lido-slide-fill",Object.assign({},a),e),"lido-float":g("lido-float",Object.assign({},a),e),"lido-keyboard":g("lido-keyboard",Object.assign({},a),e),"lido-math-matrix":g("lido-math-matrix",Object.assign({},a),e),"lido-balance":g("lido-balance",Object.assign({},a),e),"lido-calculator":g("lido-calculator",Object.assign({},a),e),"lido-canvas":g("lido-canvas",Object.assign({},a),e)};return i[o]?i[o]:(console.warn(`Unknown tag: ${o}`),null)}parseContainers(t){const o=t.querySelectorAll("lido-container"),a=Array.from(o).map(((t,o)=>{if(this.activeContainerIndexes.length&&!this.activeContainerIndexes.includes(o))return;const a=this.resolveContainerData(o),e=this.applyDataToElement(t,a);return()=>this.parseElement(e)})).filter(Boolean);this.containers=a}areAllDropsFilled(){const t=Array.from(document.querySelectorAll('[type="drop"]')),o=Array.from(document.querySelectorAll('[type="drag"]')).filter((t=>t.getAttribute("drop-to")));return t.every((t=>{const a=t.id;return o.some((t=>t.getAttribute("drop-to")===a))}))}async btnpopup(t){var o,a;const e=()=>t!==this.btnpopupRunId,i=document.getElementById(b);if(console.log("game completed !"),e())return;if(!i||"true"===i.getAttribute("game-completed"))return;if(D(!1),await l.getI().stop(),e())return;const r=i.querySelectorAll("*"),n=i.getAttribute(w);if(n){const t=this.el.querySelector(`#${n}`);if(t&&(await k("this.speak='true';",t),e()))return}for(const t of Array.from(r)){if(y()||e())break;const o=t.getAttribute("tab-index"),a=t;if(o&&Number(o)>0){const t=t=>{const o=t.getBoundingClientRect();return o.width>0&&o.height>0&&o.bottom>0&&o.right>0&&o.top<window.innerHeight&&o.left<window.innerWidth};console.log("Element visibility",t(a));const o=null==a?void 0:a.getAttribute("type");if(a&&"true"!==a.getAttribute("disable-speak")&&((null==o?void 0:o.trim())&&t(a)||!o||!o.trim())&&await l.getI().play(a),y()||e()){await l.getI().stop();break}if(await new Promise((t=>setTimeout(t,300))),e())break}}if(!e())if(this.areAllDropsFilled()){const t=i.objective,e=null!==(a=JSON.parse(null!==(o=i.getAttribute(v))&&void 0!==o?o:"[]"))&&void 0!==a?a:[],r=j(t,e);console.log("Resultt",r),r&&X()}else"true"===i.getAttribute("game-completed")?X():console.log("Not yet filled ")}async cancelBtnpopupRun(){this.btnpopupRunId++,D(!0),await l.getI().stop()}async handleBtnpopupClick(){await this.cancelBtnpopupRun();const t=this.btnpopupRunId;D(!1),await this.btnpopup(t)}scaleNavbarContainer(){setTimeout((()=>{const t=document.querySelector(".lido-dot-container");t&&((1600===window.innerWidth&&900===window.innerHeight||900===window.innerWidth&&1600===window.innerHeight)&&document.querySelectorAll(".lido-exit-button, #main-audio").forEach((t=>{t.style.marginLeft="10px",t.style.marginRight="10px"})),t.style.top=window.innerWidth>window.innerHeight?"6%":"3.5%",t.style.transform="translate(-50%, -50%)",t.style.visibility="visible",Array.from(t.children).forEach((t=>{t.style.transform=`scale(${B()})`})),t.style.width=window.outerWidth+"px")}),500)}renderDots(){const t={pointerEvents:this.canplay?"none":""};return g("div",{id:"lido-dot-indicator",class:"lido-dot-container",style:{visibility:"hidden"}},g("div",{class:"lido-exit-button popup\r\n -button",onClick:()=>{this.exitFlag=!0,l.getI().stop()}},g("lido-image",{src:this.navBarIcons.exit})),g("div",{class:"lido-btn-dot-container"},g("div",{id:"lido-arrow-left",onClick:()=>{C()}},g("lido-image",{src:this.navBarIcons.prev})),this.containers.map(((o,a)=>g("div",{class:"parent_dots"},g("span",{class:"lido-dot "+(a<this.currentContainerIndex?"completed":a===this.currentContainerIndex?"current":""),onClick:()=>this.jumpToContainer(a),style:t})))),g("div",{id:"lido-arrow-right",onClick:t=>{console.log("Target:",t.target),console.log("Current Target:",t.currentTarget),console.log("✅ Button clicked - nextBtn action triggered"),k("this.nextBtn='true'",t.currentTarget)}},g("lido-image",{src:this.navBarIcons.next}))),g("div",{id:"main-audio",class:"popup-button",onClick:()=>this.handleBtnpopupClick()},g("lido-image",{visible:"true",src:this.navBarIcons.speak})))}jumpToContainer(t){this.NextContainerKey(t)}render(){var t,o;return console.log("🚀 ~ LidoHome ~ render ~ this.containers:",this),this.xmlData?g(E,{class:"lido-home",uuid:this.uuid,"template-id":"",index:this.currentContainerIndex,totalIndex:this.containers.length,style:{userSelect:"none"}},g("div",{key:this.currentContainerIndex},null===(o=(t=this.containers)[this.currentContainerIndex])||void 0===o?void 0:o.call(t)),this.renderDots(),this.exitFlag&&g("div",{class:"lido-alert-parent"},g("div",{class:"lido-alert-popup"},g("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)';"},g("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';"}),g("lido-cell",{visible:"true",layout:"row",width:"294px",class:"btn-cell"},g("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"}),g("lido-text",{visible:"true",string:"Continue 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"})))))):g("div",null,"Please provide XML data.")}get el(){return this}static get watchers(){return{Lang:[{onLangChange:0}],commonAudioPath:[{onCommonAudioPathChange:0}],xmlData:[{onXmlDataChange:0}]}}static get style(){return"@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;pointer-events:none;z-index:9999;background:linear-gradient( 180deg, rgba(255, 235, 59, 0.95), rgba(255, 214, 0, 0.95) );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:left 55ms linear, top 55ms linear, width 55ms ease-out, height 55ms ease-out, opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height}@keyframes rightToPlace{from{transform:translateX(2000px)}to{transform:translateX(0)}}@keyframes topToPlace{from{transform:translateY(-1000px)}to{transform:translateY(0)}}@keyframes bottomToPlace{from{transform:translateY(1000px)}to{transform:translateY(0)}}@keyframes placeToLeft{from{}to{transform:translateX(-2000px)}}@keyframes placeToRight{from{}to{transform:translateX(2000px)}}@keyframes leftToPlace{from{transform:translateX(-2000px)}to{transform:translateX(0)}}@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-5px)}20%{transform:translateX(5px)}30%{transform:translateX(-5px)}40%{transform:translateX(5px)}50%{transform:translateX(-5px)}60%{transform:translateX(5px)}70%{transform:translateX(-5px)}80%{transform:translateX(5px)}90%{transform:translateX(-5px)}100%{transform:translateX(0)}}@keyframes fallAndBounce{0%{transform:translateY(-1000px)}25%{transform:translateY(0px)}50%{transform:translateY(-200px)}75%{transform:translateY(0)}90%{transform:translateY(-100px)}100%{transform:translateY(0)}}@keyframes placeToDown{0%{transform:translateY(0)}100%{transform:translateY(1000px)}}@keyframes strongShake{0%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(6px)}100%{transform:translateX(0)}}@keyframes scaledShake{0%{transform:scale(1) translateX(0);box-shadow:0 0 0 transparent}20%{transform:scale(1.10) translateX(-12px);box-shadow:0 0 10px red}40%{transform:scale(1.10) translateX(12px);box-shadow:0 0 12px red}60%{transform:scale(1.10) translateX(-8px);box-shadow:0 0 10px red}80%{transform:scale(1.10) translateX(8px);box-shadow:0 0 12px red}100%{transform:scale(1) translateX(0);box-shadow:none}}@keyframes horizontalShake{0%{transform:scale(1) translateX(0);background-color:transparent}20%{transform:translateX(-20px);background-color:rgba(255, 0, 0, 0.2)}40%{transform:translateX(20px);background-color:rgba(255, 0, 0, 0.4)}60%{transform:translateX(-10px);background-color:rgba(255, 0, 0, 0.3)}80%{transform:translateX(10px);background-color:rgba(255, 0, 0, 0.2)}100%{transform:translateX(0);background-color:transparent}}@keyframes verticalShake{0%{transform:translateY(0);background-color:transparent}20%{transform:translateY(-20px);background-color:rgba(255, 0, 0, 0.2)}40%{transform:translateY(0);background-color:rgba(255, 0, 0, 0.4)}60%{transform:translateY(20px);background-color:rgba(255, 0, 0, 0.2)}80%{transform:translateY(0);background-color:rgba(255, 0, 0, 0.1)}100%{transform:translateY(0);background-color:transparent}}@keyframes diagonalShake{0%{transform:translate(0, 0);background-color:transparent}25%{transform:translate(20px, -20px);background-color:rgba(255, 0, 0, 0.2)}50%{transform:translate(-20px, 20px);background-color:rgba(255, 0, 0, 0.3)}75%{transform:translate(10px, -10px);background-color:rgba(255, 0, 0, 0.2)}100%{transform:translate(0, 0);background-color:transparent}}@keyframes glowPulse{0%{filter:drop-shadow(0 0 5px yellow) drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 30px orange)}50%{filter:drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 40px yellow) drop-shadow(0 0 50px orange)}100%{filter:drop-shadow(0 0 5px yellow) drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow) drop-shadow(0 0 30px orange)}}@keyframes trace-animation{0%{}100%{width:var(--trace-width, 100px);height:var(--trace-height, 100px)}}.lido-snackbar{visibility:visible;min-width:250px;background-color:#333;color:#fff;text-align:center;border-radius:2px;padding:16px;position:fixed;z-index:1;bottom:30px;left:50%;transform:translateX(-50%);font-size:17px}.lido-dot-container{display:flex;justify-content:space-between;align-items:center;visibility:hidden;position:absolute;left:50%;padding:0 5px;z-index:1;width:100vw;max-width:100vw;box-sizing:border-box;height:0px}.lido-dot{height:18px;width:18px;margin:0 4px;background-color:#bbb;border-radius:50%;display:inline-block;transition:background-color 0.3s;cursor:pointer;z-index:1}.lido-btn-dot-container{flex-shrink:1;flex-grow:1;display:flex;justify-content:center;align-items:center;text-align:center;z-index:1;min-width:0;height:0px}.lido-dot.completed{background-color:grey}.lido-dot.current{background-color:green}.lido-dot:not(.completed):not(.current){background-color:#bbb}#lido-arrow-left,#lido-arrow-right{width:88px;height:88px;display:flex;align-items:center;justify-content:center;border-radius:12px;z-index:1000;box-shadow:0px 8px 0px 0px #8b310f;background-color:#f34d08;cursor:pointer;visibility:hidden;flex-shrink:0}#lido-arrow-left:active,#lido-arrow-right:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px}.navbar{display:flex;justify-content:center}.lido-exit-button,#main-audio{width:80px;height:80px;z-index:1000;cursor:pointer;background-color:white;display:flex;align-items:center;justify-content:center;border:4px solid #f34d08;border-radius:16px;box-shadow:0px 8px #f34d08;flex-shrink:0;}#main-audio:active,.popup-button:active .lido-exit-button:active{margin-bottom:-8px;box-shadow:0px 0px 0px 0px !important}.lido-alert-popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:1000}@media (max-width: 768px){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0 8px}.lido-exit-button,#main-audio{width:65px;height:65px;margin:0 8px}.lido-dot{height:16px;width:16px;margin:0 2.5px}}@media (max-width: 480px){#lido-arrow-left,#lido-arrow-right{width:74px;height:74px;margin:0px 5px}.lido-exit-button,#main-audio{width:65px;height:65px;margin:0px 5px}.lido-dot{height:15px;width:15px;margin:0 1.5px}.lido-dot-container{padding:0 3px}}@media (max-width: 375px){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0px 3px}.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 3px}.lido-dot{height:14px;width:14px;margin:0 1px}.lido-dot-container{padding:0 2px}}@media (max-width: 320px){#lido-arrow-left,#lido-arrow-right,.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 2px}.lido-dot{height:12px;width:12px;margin:0 0.5px}.lido-dot-container{padding:0 2px}}@media (max-width: 900px) and (orientation: landscape){#lido-arrow-left,#lido-arrow-right{width:70px;height:70px;margin:0px 5px}.lido-exit-button,#main-audio{width:70px;height:70px;margin:0px 5px}.lido-dot{height:14px;width:14px;margin:0 1px}.lido-dot-container{padding:0 5px}}.popup-exit-text{white-space:nowrap;font-size:22px;font-weight:600;margin-top:-8%}.lido-alert-parent{z-index:10000 !important;position:absolute;top:0;left:0}.popup-button{width:80px;height:80px;z-index:1000;cursor:pointer;display:flex;align-items:center;justify-content:center;border:4px solid #F34D08;border-radius:16px;box-shadow:0 8px 0 #F34D08}.nav-for-lanai{position:absolute;top:0%;left:0%;max-width:none;width:100%;height:auto;visibility:visible}"}},[0,"lido-home",{commonAudioPath:[1,"common-audio-path"],showNav:[4,"show-nav"],activeContainerIndexes:[16],Lang:[1,"lang"],xmlData:[1,"xml-data"],initialIndex:[2,"initial-index"],canplay:[4],baseUrl:[1,"base-url"],height:[1],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],avatarUrl:[1,"avatar-url"],uuid:[1],navBarIcons:[32],currentContainerIndex:[32],exitFlag:[32],containers:[32],templateData:[32],showDotsandbtn:[32]},void 0,{Lang:[{onLangChange:0}],commonAudioPath:[{onCommonAudioPathChange:0}],xmlData:[{onXmlDataChange:0}]}]);function Q(){"undefined"!=typeof customElements&&["lido-home","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((o=>{switch(o){case"lido-home":customElements.get(t(o))||customElements.define(t(o),G);break;case"lido-avatar":customElements.get(t(o))||P();break;case"lido-balance":customElements.get(t(o))||T();break;case"lido-calculator":customElements.get(t(o))||L();break;case"lido-canvas":customElements.get(t(o))||S();break;case"lido-cell":customElements.get(t(o))||Y();break;case"lido-col":customElements.get(t(o))||F();break;case"lido-container":customElements.get(t(o))||$();break;case"lido-flash-card":customElements.get(t(o))||R();break;case"lido-float":customElements.get(t(o))||I();break;case"lido-image":customElements.get(t(o))||U();break;case"lido-keyboard":customElements.get(t(o))||N();break;case"lido-math-matrix":customElements.get(t(o))||J();break;case"lido-pos":customElements.get(t(o))||W();break;case"lido-random":customElements.get(t(o))||Z();break;case"lido-row":customElements.get(t(o))||_();break;case"lido-shape":customElements.get(t(o))||q();break;case"lido-slide-fill":customElements.get(t(o))||H();break;case"lido-text":customElements.get(t(o))||O();break;case"lido-trace":customElements.get(t(o))||M();break;case"lido-wrap":customElements.get(t(o))||K()}}))}Q();export{G as L,Q as d}
@@ -0,0 +1 @@
1
+ import{t,p as e,H as i,T as o,n as a,c as n,i as r,o as s,q as l,h as u,b as h,r as d}from"./index.js";import{d as c,i as g}from"./p-XacgbiAe.js";const m=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.Lang="",this.showDropBorder=!0,this.appendToDropOnCompletion=!1,this.id="",this.objective="",this.customStyle="",this.value="",this.height="auto",this.width="auto",this.ariaLabel="auto",this.ariaHidden="",this.x="0px",this.y="0px",this.z="0",this.bgColor="",this.bgImage="",this.type="",this.tabIndex=0,this.visible=!1,this.audio="",this.onTouch="",this.onInCorrect="",this.onCorrect="",this.onEntry="",this.canplay=!0,this.showCheck=!1,this.isContinueOnCorrect=!1,this.isAllowOnlyCorrect=!1,this.baseUrl="",this.margin="",this.showPrevButton="false",this.showNextButton="false",this.delayVisible="",this.disableSpeak=!1,this.templateId="",this.highlightWordByWord=!1,this.instructName="",this.speakFlag=!1}languageChanged(t){const e=t||this.resolveLanguage();this.updateChildTextLanguage(e)}componentWillLoad(){const t=this.resolveLanguage();this.updateChildTextLanguage(t),this.resolveInstructionAudio()}resolveInstructionAudio(){var t;this.instructName=null!==(t={flashcard:"instruction.flashcards",mcq:"instruction.mcq",tracing:"instruction.tracing",dragAndDrop:"instruction.dragAndDrop",arrangeLetters:"arrangeLetters",balancing:"balancing",balloonPop:"balloonPop",blender:"blender",bubbleType:"bubbleType",calculator:"calculator",categorize:"categorize",checkerBlocks:"checkerBlocks",createSentence:"createSentence",fillAnswer:"fillAnswer",fillBlank:"fillBlank",fillUp:"fillUp",flashcardtemplate:"flashcard",foodJar:"foodJar",grid:"grid",imageMatchWithQuestionImageAndMultiOption:"imageMatchWithQuestionImageAndMultiOption",inventedSpelling:"inventedSpelling",jumpSentence:"jumpSentence",letterBoard:"letterBoard",letterIdentification:"letterIdentification",letterPairing:"letterPairing",makeSentence:"makeSentence",matchingCard:"matchingCard",multiplyBeeds:"multiplyBeeds",nimbleTable:"nimbleTable",numberBoardOneTwo:"numberBoardOneTwo",numberPair:"numberPair",openWindow:"openWindow",orderTractor:"orderTractor",phonicTractor:"phonicTractor",pictureMeaningCocos:"pictureMeaningCocos",pictureWordMatch1:"pictureWordMatch1",pictureWordMatch2:"pictureWordMatch2",puzzleGame:"puzzleGame",questionBoard:"questionBoard",quizLiteracySentenceSentence:"quizLiteracySentenceSentence",quizLiteracySoundOnlyImage:"quizLiteracySoundOnlyImage",quizLiteracySoundOnlySentence:"quizLiteracySoundOnlySentence",quizLiteracySoundOnlyWord:"quizLiteracySoundonlyWord",quizLiteracyAndShapes1:"quizLiteracyAndShapes1",quizLiteracyImageWithText:"quizLiteracyImageWithText",quizliteracyImageWord:"quizliteracyImageWord",quizMathBiggerAndSmaller:"quizMathBiggerAndSmaller",quizMathBiggestAndSmallest:"quizMathBiggestAndSmallest",quizmathCustomNumberMagnitude:"quizmathCustomNumberMagnitude",quizMathHowMany:"quizMathHowMany",quizmathMissingnumberDrag:"quizmathMissingnumberDrag",quizMathNumberIdentification:"quizMathNumberIdentification",quizMathOperationWithobjects:"quizMathOperationWithobjects",quizMathoperationWithoutObjects:"quizMathoperationWithoutObjects",quizMathRecognizeNumber:"quizMathRecognizeNumber",quizMathShapes:"quizMathShapes",reorder:"reorder",rocketGame:"rocketGame",rowBlock:"rowBlock",sequenceBox1:"sequenceBox1",shapeTractor:"shapeTractor",spellDoor:"spellDoor",storyMaking:"storyMaking",storyTale:"storyTale",sumTogether:"sumTogether",tag:"tag",total:"total",writeCard:"writeCard",writeLetter:"writeLetter",writeNumber:"writeNumber",writeSet:"writeSet",writeWord:"writeWord",numberIdentification:"numberIdentification",wordBuildingWithAndWithoutImage:"wordBuildingWithAndWithoutImage",subsWithAndWithoutImage:"subsWithAndWithoutImage",sentenceMatchTemplate:"sentenceMatch",pictureClues:"pictureClues",palEgmaCalculateSumAndSumTogether:"palEgmaCalculateSumAndSumTogether",palEgmaPatternMatching:"palEgmaPatternMatchingAudio",palEgmaWordProblem:"palEgmaWordProblem",palEgraArrangePictures:"palEgraArrangePicturesAudio",palEgraBuildWord:"palEgraBuildWordAudio",palEgraMCQWithImage:"palEgraMCQWithImage",palEgraOddOneOut:"palEgraOddOneOutAudio",palEgraOptionWithAudio:"palEgraOptionWithAudio",palEgraWordFormation:"palEgraWordFormationAudio",palEgraWordMatch:"palEgraWordMatch",substractionWithImage:"substractionWithImageAudio",substractionWithoutImage:"substractionWithoutImageAudio",numberIdentificationWithImage:"numberIdentificationWithImageAudio",numberIdentificationWithoutImage:"numberIdentificationWithoutImageAudio",wordBuildingWithImage:"wordBuildingWithImageAudio",wordBuildingWithoutImage:"wordBuildingWithoutImageAudio",pictureWordMatchMultipleImages:"pictureWordMatchMultipleImagesAudio",pictureWordMatchSingleImage:"pictureWordMatchSingleImageAudio",sentenceMatch:"sentenceMatchAudio",imageMatch:"imageMatchAudio",palStoryTale:"palStoryTaleAudio",palEgmaWordProblemDragnDrop:"palEgmaWordProblemDragnDropAudio",palEgmaWordProblemClick:"palEgmaWordProblemClickAudio",palInventedSpelling:"palInventedSpellingAudio",palLetterIdentification:"palLetterIdentificationAudio",palStoryMaking:"palStoryMakingAudio",palegmasumtogether:"palegmasumtogetherAudio",palegmamultioption:"palegmamultioptionAudio",palegraoptionaudio:"palegraoptionAudio",palegrawordmatch:"palegrawordmatchAudio",palegramcqimages:"palegramcqimagesAudio"}[this.templateId])&&void 0!==t?t:"";const e=document.querySelector("lido-home");if(!e)return;const i=e.getAttribute(o)||"";this.speakFlag=i.includes(this.templateId),this.speakFlag||e.setAttribute(o,[i,this.templateId].filter(Boolean).join(","))}resolveLanguage(){var t,e;const i=this.el.closest("lido-root"),o=(null==i?void 0:i.Lang)||"";if(null==o?void 0:o.trim())return o;const a=this.el.closest("lido-home"),n=(null==a?void 0:a.Lang)||"";if(null==n?void 0:n.trim())return n;if(null===(t=this.Lang)||void 0===t?void 0:t.trim())return this.Lang;const r=this.el.getAttribute("Lang");return(null==r?void 0:r.trim())?r:null===(e=this.el.textContent)||void 0===e?void 0:e.trim()}convertToPixels(t,e=document.body){if(!t)return 0;if(t.endsWith("px"))return parseFloat(t);const i=document.createElement("div");i.style.position="absolute",i.style.visibility="hidden",i.style.height=t,e.appendChild(i);const o=i.offsetHeight;return e.removeChild(i),o}scaleContainer(t){const e=this.getClosestParentWithWidth();let i=0;e&&(i=Math.min(e.clientWidth/1600,e.clientHeight/900)),t.style.transform=`translate(-50%, -50%) scale(${0!=i?i:a()})`,t.style.left="50%",t.style.top="50%",t.style.position="absolute",this.screenOrientation()}getClosestParentWithWidth(){let t=this.el.parentElement;for(;t;){if(t.offsetWidth>0)return t;t=t.parentElement}return null}screenOrientation(){window.innerHeight>window.innerWidth?(this.el.style.height="1600px",this.el.style.width="900px"):(this.el.style.height="900px",this.el.style.width="1600px")}updateChildTextLanguage(t){const e=t||g.language||"en";g.changeLanguage(e),this.el.querySelectorAll("lido-text").forEach((t=>{t.Lang=e,t.dispatchEvent(new CustomEvent("languageChanged",{bubbles:!0}))}))}componentDidLoad(){this.scaleContainer(this.el);const t=this.bgImage?n(this.bgImage):"";if(document.body.style.pointerEvents="auto",document.body.style.backgroundColor=this.bgColor,document.body.style.backgroundImage=t?`url(${t})`:"none",document.body.style.backgroundPosition=t?"bottom":"none",window.addEventListener("resize",(()=>this.scaleContainer(this.el))),window.addEventListener("load",(()=>this.scaleContainer(this.el))),this.templateId?setTimeout((()=>{this.el.setAttribute("onEntry",`${this.templateId}.speak='${!this.speakFlag}'; `+this.el.getAttribute("onEntry")),r(this.el,this.type)}),100):r(this.el,this.type),this.customStyle){const t=document.createElement("style");t.innerHTML=this.customStyle,document.head.appendChild(t)}const e=this.resolveLanguage();this.updateChildTextLanguage(e),setTimeout((()=>{s()}),100),d(),l.getI().start()}disconnectedCallback(){window.removeEventListener("resize",(()=>this.scaleContainer(this.el))),window.removeEventListener("load",(()=>this.scaleContainer(this.el))),document.body.style.backgroundColor="",document.body.style.backgroundImage="",d(),l.getI().stop()}render(){const t={backgroundColor:this.bgColor,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",margin:this.margin,userSelect:"none"};return console.log("🚀 ~ LidoContainer ~ canplay:",this.canplay),u(h,{key:"b94060e2432a7e7d8580ffb53ceef4124a4fba25",id:"lido-container",Lang:this.Lang,"tab-index":0,class:"lido-container",objective:this.objective,baseUrl:this.baseUrl,style:t,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,onTouch:this.onTouch,onInCorrect:this.onInCorrect,onCorrect:this.onCorrect,onEntry:this.onEntry,"show-check":`${this.showCheck}`,"is-continue-on-correct":`${this.isContinueOnCorrect}`,"is-allow-only-correct":`${this.isAllowOnlyCorrect}`,canplay:`${this.canplay}`,appendToDropOnCompletion:`${this.appendToDropOnCompletion}`,"show-prev-button":`${this.showPrevButton}`,"show-next-button":`${this.showNextButton}`,"show-drop-border":`${this.showDropBorder}`,"bg-image":this.bgImage,"exit-button-url":this.exitButtonUrl,"prev-button-url":this.prevButtonUrl,"next-button-url":this.nextButtonUrl,"speaker-button-url":this.speakerButtonUrl,"disable-speak":`${this.disableSpeak}`,"template-id":this.templateId,audio:this.audio,"highlight-word-by-word":`${this.highlightWordByWord}`},u("lido-text",{key:"7b433aa25be08cef849e9cefda243cebd7f6aef6",visible:"false",id:this.templateId,audio:"",string:this.instructName}),u("slot",{key:"95705c210ed7efbcf06e0ad7779b8c00fa4e1818"}))}get el(){return this}static get watchers(){return{Lang:[{languageChanged:0}]}}static get style(){return".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}"}},[260,"lido-container",{Lang:[1,"lang"],showDropBorder:[4,"show-drop-border"],appendToDropOnCompletion:[4,"append-to-drop-on-completion"],id:[1],objective:[1],customStyle:[1,"custom-style"],value:[1],height:[1],width:[1],ariaLabel:[1,"aria-label"],ariaHidden:[1,"aria-hidden"],x:[1],y:[1],z:[1],bgColor:[1,"bg-color"],bgImage:[1,"bg-image"],type:[1],tabIndex:[2,"tab-index"],visible:[4],audio:[1],onTouch:[1,"on-touch"],onInCorrect:[1,"on-in-correct"],onCorrect:[1,"on-correct"],onEntry:[1,"on-entry"],canplay:[4],showCheck:[4,"show-check"],isContinueOnCorrect:[4,"is-continue-on-correct"],isAllowOnlyCorrect:[4,"is-allow-only-correct"],baseUrl:[1,"base-url"],margin:[1],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],showPrevButton:[1,"show-prev-button"],showNextButton:[1,"show-next-button"],delayVisible:[1,"delay-visible"],disableSpeak:[4,"disable-speak"],templateId:[1,"template-id"],highlightWordByWord:[4,"highlight-word-by-word"],instructName:[32],speakFlag:[32]},void 0,{Lang:[{languageChanged:0}]}]);function p(){"undefined"!=typeof customElements&&["lido-container","lido-text"].forEach((e=>{switch(e){case"lido-container":customElements.get(t(e))||customElements.define(t(e),m);break;case"lido-text":customElements.get(t(e))||c()}}))}p();export{m as L,p as d}
@@ -12145,15 +12145,36 @@ const LidoContainer = class {
12145
12145
  "sentenceMatchTemplate": "sentenceMatch" /* templateAudio.sentenceMatchTemplate */,
12146
12146
  "pictureClues": "pictureClues" /* templateAudio.pictureClues */,
12147
12147
  "palEgmaCalculateSumAndSumTogether": "palEgmaCalculateSumAndSumTogether" /* templateAudio.palEgmaCalculateSumAndSumTogether */,
12148
- "palEgmaPatternMatching": "palEgmaPatternMatching" /* templateAudio.palEgmaPatternMatching */,
12148
+ "palEgmaPatternMatching": "palEgmaPatternMatchingAudio" /* templateAudio.palEgmaPatternMatching */,
12149
12149
  "palEgmaWordProblem": "palEgmaWordProblem" /* templateAudio.palEgmaWordProblem */,
12150
- "palEgraArrangePictures": "palEgraArrangePictures" /* templateAudio.palEgraArrangePictures */,
12151
- "palEgraBuildWord": "palEgraBuildWord" /* templateAudio.palEgraBuildWord */,
12150
+ "palEgraArrangePictures": "palEgraArrangePicturesAudio" /* templateAudio.palEgraArrangePictures */,
12151
+ "palEgraBuildWord": "palEgraBuildWordAudio" /* templateAudio.palEgraBuildWord */,
12152
12152
  "palEgraMCQWithImage": "palEgraMCQWithImage" /* templateAudio.palEgraMCQWithImage */,
12153
- "palEgraOddOneOut": "palEgraOddOneOut" /* templateAudio.palEgraOddOneOut */,
12153
+ "palEgraOddOneOut": "palEgraOddOneOutAudio" /* templateAudio.palEgraOddOneOut */,
12154
12154
  "palEgraOptionWithAudio": "palEgraOptionWithAudio" /* templateAudio.palEgraOptionWithAudio */,
12155
- "palEgraWordFormation": "palEgraWordFormation" /* templateAudio.palEgraWordFormation */,
12155
+ "palEgraWordFormation": "palEgraWordFormationAudio" /* templateAudio.palEgraWordFormation */,
12156
12156
  "palEgraWordMatch": "palEgraWordMatch" /* templateAudio.palEgraWordMatch */,
12157
+ "substractionWithImage": "substractionWithImageAudio" /* templateAudio.substractionWithImage */,
12158
+ "substractionWithoutImage": "substractionWithoutImageAudio" /* templateAudio.substractionWithoutImage */,
12159
+ "numberIdentificationWithImage": "numberIdentificationWithImageAudio" /* templateAudio.numberIdentificationWithImage */,
12160
+ "numberIdentificationWithoutImage": "numberIdentificationWithoutImageAudio" /* templateAudio.numberIdentificationWithoutImage */,
12161
+ "wordBuildingWithImage": "wordBuildingWithImageAudio" /* templateAudio.wordBuildingWithImage */,
12162
+ "wordBuildingWithoutImage": "wordBuildingWithoutImageAudio" /* templateAudio.wordBuildingWithoutImage */,
12163
+ "pictureWordMatchMultipleImages": "pictureWordMatchMultipleImagesAudio" /* templateAudio.pictureWordMatchMultipleImages */,
12164
+ "pictureWordMatchSingleImage": "pictureWordMatchSingleImageAudio" /* templateAudio.pictureWordMatchSingleImage */,
12165
+ "sentenceMatch": "sentenceMatchAudio" /* templateAudio.sentenceMatch */,
12166
+ "imageMatch": "imageMatchAudio" /* templateAudio.imageMatch */,
12167
+ "palStoryTale": "palStoryTaleAudio" /* templateAudio.palStoryTale */,
12168
+ "palEgmaWordProblemDragnDrop": "palEgmaWordProblemDragnDropAudio" /* templateAudio.palEgmaWordProblemDragnDrop */,
12169
+ "palEgmaWordProblemClick": "palEgmaWordProblemClickAudio" /* templateAudio.palEgmaWordProblemClick */,
12170
+ "palInventedSpelling": "palInventedSpellingAudio" /* templateAudio.palInventedSpelling */,
12171
+ "palLetterIdentification": "palLetterIdentificationAudio" /* templateAudio.palLetterIdentification */,
12172
+ "palStoryMaking": "palStoryMakingAudio" /* templateAudio.palStoryMaking */,
12173
+ "palegmasumtogether": "palegmasumtogetherAudio" /* templateAudio.palegmasumtogether */,
12174
+ "palegmamultioption": "palegmamultioptionAudio" /* templateAudio.palegmamultioption */,
12175
+ "palegraoptionaudio": "palegraoptionAudio" /* templateAudio.palegraoptionaudio */,
12176
+ "palegrawordmatch": "palegrawordmatchAudio" /* templateAudio.palegrawordmatch */,
12177
+ "palegramcqimages": "palegramcqimagesAudio" /* templateAudio.palegramcqimages */
12157
12178
  }[this.templateId]) !== null && _a !== void 0 ? _a : '';
12158
12179
  const home = document.querySelector('lido-home');
12159
12180
  if (!home)
@@ -12310,7 +12331,7 @@ const LidoContainer = class {
12310
12331
  userSelect: 'none', // Prevent any field selection
12311
12332
  };
12312
12333
  console.log('🚀 ~ LidoContainer ~ canplay:', this.canplay);
12313
- return (h(Host, { key: '9969d4eee1befeb5b5a82fdce7c58aa44abc179c', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, h("lido-text", { key: 'c5476a7d3e16bb1b5608046d9f0b54f757003706', visible: "false", id: this.templateId, audio: "", string: this.instructName }), h("slot", { key: '7523757d12373c3355815012ed6a93abcb839f71' })));
12334
+ return (h(Host, { key: 'b94060e2432a7e7d8580ffb53ceef4124a4fba25', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, h("lido-text", { key: '7b433aa25be08cef849e9cefda243cebd7f6aef6', visible: "false", id: this.templateId, audio: "", string: this.instructName }), h("slot", { key: '95705c210ed7efbcf06e0ad7779b8c00fa4e1818' })));
12314
12335
  }
12315
12336
  get el() { return getElement(this); }
12316
12337
  static get watchers() { return {
@@ -1 +1 @@
1
- import{p as e,g as o,b as i}from"./p-C7XdSFIP.js";export{s as setNonce}from"./p-C7XdSFIP.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((async e=>(await o(),i(JSON.parse('[["p-b55d4f31",[[0,"lido-root",{"Lang":[1,"lang"],"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"xmlData":[32]},null,{"Lang":[{"onLangChange":0}]}],[0,"lido-home",{"commonAudioPath":[1,"common-audio-path"],"showNav":[4,"show-nav"],"activeContainerIndexes":[16],"Lang":[1,"lang"],"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"avatarUrl":[1,"avatar-url"],"uuid":[1],"navBarIcons":[32],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"templateData":[32],"showDotsandbtn":[32]},null,{"Lang":[{"onLangChange":0}],"commonAudioPath":[{"onCommonAudioPathChange":0}],"xmlData":[{"onXmlDataChange":0}]}],[0,"lido-calculator",{"width":[1],"visible":[8],"height":[1],"objective":[1],"onEntry":[1,"on-entry"],"x":[1],"y":[1],"bgColor":[1,"bg-color"],"penIcon":[1,"pen-icon"],"displayValue":[32],"style":[32]}],[1,"lido-canvas",{"bgImage":[1,"bg-image"],"width":[1],"height":[1],"x":[1],"y":[1],"onEntry":[1,"on-entry"],"style":[32]}],[260,"lido-container",{"Lang":[1,"lang"],"showDropBorder":[4,"show-drop-border"],"appendToDropOnCompletion":[4,"append-to-drop-on-completion"],"id":[1],"objective":[1],"customStyle":[1,"custom-style"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"bgImage":[1,"bg-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"canplay":[4],"showCheck":[4,"show-check"],"isContinueOnCorrect":[4,"is-continue-on-correct"],"isAllowOnlyCorrect":[4,"is-allow-only-correct"],"baseUrl":[1,"base-url"],"margin":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"templateId":[1,"template-id"],"highlightWordByWord":[4,"highlight-word-by-word"],"instructName":[32],"speakFlag":[32]},null,{"Lang":[{"languageChanged":0}]}],[0,"lido-keyboard",{"keys":[1],"width":[1],"height":[1],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gap":[1],"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"y":[1],"x":[1],"z":[1],"margin":[1],"padding":[1],"visible":[1],"onEntry":[1,"on-entry"],"type":[1],"keyboardInput":[4,"keyboard-input"],"columns":[1],"letterLength":[2,"letter-length"],"disableSpeak":[4,"disable-speak"],"numberOfClick":[32],"inputString":[32],"style":[32]}],[0,"lido-avatar",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"src":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"]}],[0,"lido-balance",{"pivotimage":[1],"scaleimage":[1],"handlerimage":[1],"fill":[1],"tilt":[2],"maxTilt":[2,"max-tilt"],"onEntry":[1,"on-entry"],"height":[1],"width":[1],"x":[1],"y":[1],"z":[1],"visible":[8],"margin":[1],"padding":[1],"balanceSymbol":[1537,"balance-symbol"],"showSymbol":[1540,"show-symbol"],"operation":[1],"pivotSvg":[32],"scaleSvg":[32],"handlerSvg":[32],"style":[32],"tiltf":[32],"leftVal":[32],"rightVal":[32],"revealSymbol":[64],"hideSymbol":[64],"updateTilt":[64]},null,{"tilt":[{"tiltChanged":0}]}],[260,"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]}],[260,"lido-flash-card",{"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"direction":[1],"display":[1],"front":[8],"back":[8],"flipped":[1540],"margin":[1],"disableSpeak":[4,"disable-speak"],"delayVisible":[1,"delay-visible"],"style":[32]},null,{"flipped":[{"handleFlippedChange":0}]}],[260,"lido-float",{"id":[1],"value":[1],"z":[1],"tabIndex":[2,"tab-index"],"visible":[4],"onEntry":[1,"on-entry"],"width":[1],"height":[1],"bgColor":[1,"bg-color"],"type":[1],"delayVisible":[1,"delay-visible"],"floatDirection":[1,"float-direction"],"style":[32]}],[0,"lido-image",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"src":[1],"isSlice":[1,"is-slice"],"sliceWidth":[1,"slice-width"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"filter":[1],"borderRadius":[1,"border-radius"],"transform":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-math-matrix",{"rows":[1],"cols":[1],"defualtFill":[1538,"defualt-fill"],"leftIndex":[4,"left-index"],"topIndex":[4,"top-index"],"bottomIndex":[4,"bottom-index"],"clickable":[4],"activeOnlyVisible":[4,"active-only-visible"],"matrixImage":[1,"matrix-image"],"activeBgColor":[1537,"active-bg-color"],"deactiveBgColor":[1537,"deactive-bg-color"],"border":[1537],"height":[1537],"width":[1537],"borderRadius":[1,"border-radius"],"z":[1],"margin":[1],"padding":[1],"visible":[1],"text":[1],"type":[1],"value":[1],"tabIndex":[2,"tab-index"],"x":[1],"y":[1],"fontColor":[1,"font-color"],"onCorrect":[1,"on-correct"],"onInCorrect":[1,"on-in-correct"],"onEntry":[1,"on-entry"],"previousFilledSlot":[32],"previousFilledSlotElement":[32],"style":[32]}],[260,"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]}],[260,"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]}],[260,"lido-row",{"showSpeakIcon":[4,"show-speak-icon"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"display":[1],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-shape",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"shapeType":[1,"shape-type"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"height":[1],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"visible":[8],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"type":[1],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgContent":[32],"style":[32]},null,{"src":[{"onSrcChange":0}],"fill":[{"onPropChange":0}],"division":[{"onPropChange":0}],"fillDirection":[{"onPropChange":0}],"numberType":[{"onPropChange":0}],"min":[{"onPropChange":0}],"max":[{"onPropChange":0}]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[1],"audio":[1],"x":[1],"y":[1],"z":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"tabIndex":[2,"tab-index"],"mode":[1],"fingerHintUrl":[1,"finger-hint-url"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"highlightTextId":[1,"highlight-text-id"],"animationTrace":[4,"animation-trace"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgUrls":[32],"audioUrls":[32],"currentSvgIndex":[32],"moving":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[32],"freeTraceUpdateCounter":[32],"idleTimer":[32],"fingerImg":[32]},null,{"svgSource":[{"initializeSVG":0}],"mode":[{"initializeSVG":0}]}],[260,"lido-wrap",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"flex":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[260,"lido-cell",{"showSpeakIcon":[4,"show-speak-icon"],"scrollbarWidth":[1,"scrollbar-width"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"gap":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[1],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"layout":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"alignItems":[1,"align-items"],"borderRadius":[1,"border-radius"],"flexDirection":[1,"flex-direction"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-text",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"string":[1],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"highlightWhileSpeaking":[4,"highlight-while-speaking"],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"borderImage":[1,"border-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"onEntry":[1,"on-entry"],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"spanType":[1,"span-type"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}]]]]'),e))));
1
+ import{p as e,g as o,b as i}from"./p-C7XdSFIP.js";export{s as setNonce}from"./p-C7XdSFIP.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((async e=>(await o(),i(JSON.parse('[["p-461d0911",[[0,"lido-root",{"Lang":[1,"lang"],"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"xmlData":[32]},null,{"Lang":[{"onLangChange":0}]}],[0,"lido-home",{"commonAudioPath":[1,"common-audio-path"],"showNav":[4,"show-nav"],"activeContainerIndexes":[16],"Lang":[1,"lang"],"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"avatarUrl":[1,"avatar-url"],"uuid":[1],"navBarIcons":[32],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"templateData":[32],"showDotsandbtn":[32]},null,{"Lang":[{"onLangChange":0}],"commonAudioPath":[{"onCommonAudioPathChange":0}],"xmlData":[{"onXmlDataChange":0}]}],[0,"lido-calculator",{"width":[1],"visible":[8],"height":[1],"objective":[1],"onEntry":[1,"on-entry"],"x":[1],"y":[1],"bgColor":[1,"bg-color"],"penIcon":[1,"pen-icon"],"displayValue":[32],"style":[32]}],[1,"lido-canvas",{"bgImage":[1,"bg-image"],"width":[1],"height":[1],"x":[1],"y":[1],"onEntry":[1,"on-entry"],"style":[32]}],[260,"lido-container",{"Lang":[1,"lang"],"showDropBorder":[4,"show-drop-border"],"appendToDropOnCompletion":[4,"append-to-drop-on-completion"],"id":[1],"objective":[1],"customStyle":[1,"custom-style"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"bgImage":[1,"bg-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"canplay":[4],"showCheck":[4,"show-check"],"isContinueOnCorrect":[4,"is-continue-on-correct"],"isAllowOnlyCorrect":[4,"is-allow-only-correct"],"baseUrl":[1,"base-url"],"margin":[1],"exitButtonUrl":[1,"exit-button-url"],"prevButtonUrl":[1,"prev-button-url"],"nextButtonUrl":[1,"next-button-url"],"speakerButtonUrl":[1,"speaker-button-url"],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"templateId":[1,"template-id"],"highlightWordByWord":[4,"highlight-word-by-word"],"instructName":[32],"speakFlag":[32]},null,{"Lang":[{"languageChanged":0}]}],[0,"lido-keyboard",{"keys":[1],"width":[1],"height":[1],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gap":[1],"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"y":[1],"x":[1],"z":[1],"margin":[1],"padding":[1],"visible":[1],"onEntry":[1,"on-entry"],"type":[1],"keyboardInput":[4,"keyboard-input"],"columns":[1],"letterLength":[2,"letter-length"],"disableSpeak":[4,"disable-speak"],"numberOfClick":[32],"inputString":[32],"style":[32]}],[0,"lido-avatar",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"src":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"]}],[0,"lido-balance",{"pivotimage":[1],"scaleimage":[1],"handlerimage":[1],"fill":[1],"tilt":[2],"maxTilt":[2,"max-tilt"],"onEntry":[1,"on-entry"],"height":[1],"width":[1],"x":[1],"y":[1],"z":[1],"visible":[8],"margin":[1],"padding":[1],"balanceSymbol":[1537,"balance-symbol"],"showSymbol":[1540,"show-symbol"],"operation":[1],"pivotSvg":[32],"scaleSvg":[32],"handlerSvg":[32],"style":[32],"tiltf":[32],"leftVal":[32],"rightVal":[32],"revealSymbol":[64],"hideSymbol":[64],"updateTilt":[64]},null,{"tilt":[{"tiltChanged":0}]}],[260,"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]}],[260,"lido-flash-card",{"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"direction":[1],"display":[1],"front":[8],"back":[8],"flipped":[1540],"margin":[1],"disableSpeak":[4,"disable-speak"],"delayVisible":[1,"delay-visible"],"style":[32]},null,{"flipped":[{"handleFlippedChange":0}]}],[260,"lido-float",{"id":[1],"value":[1],"z":[1],"tabIndex":[2,"tab-index"],"visible":[4],"onEntry":[1,"on-entry"],"width":[1],"height":[1],"bgColor":[1,"bg-color"],"type":[1],"delayVisible":[1,"delay-visible"],"floatDirection":[1,"float-direction"],"style":[32]}],[0,"lido-image",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"src":[1],"isSlice":[1,"is-slice"],"sliceWidth":[1,"slice-width"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"filter":[1],"borderRadius":[1,"border-radius"],"transform":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-math-matrix",{"rows":[1],"cols":[1],"defualtFill":[1538,"defualt-fill"],"leftIndex":[4,"left-index"],"topIndex":[4,"top-index"],"bottomIndex":[4,"bottom-index"],"clickable":[4],"activeOnlyVisible":[4,"active-only-visible"],"matrixImage":[1,"matrix-image"],"activeBgColor":[1537,"active-bg-color"],"deactiveBgColor":[1537,"deactive-bg-color"],"border":[1537],"height":[1537],"width":[1537],"borderRadius":[1,"border-radius"],"z":[1],"margin":[1],"padding":[1],"visible":[1],"text":[1],"type":[1],"value":[1],"tabIndex":[2,"tab-index"],"x":[1],"y":[1],"fontColor":[1,"font-color"],"onCorrect":[1,"on-correct"],"onInCorrect":[1,"on-in-correct"],"onEntry":[1,"on-entry"],"previousFilledSlot":[32],"previousFilledSlotElement":[32],"style":[32]}],[260,"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]}],[260,"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]}],[260,"lido-row",{"showSpeakIcon":[4,"show-speak-icon"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"display":[1],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-shape",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"shapeType":[1,"shape-type"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"height":[1],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"visible":[8],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"type":[1],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgContent":[32],"style":[32]},null,{"src":[{"onSrcChange":0}],"fill":[{"onPropChange":0}],"division":[{"onPropChange":0}],"fillDirection":[{"onPropChange":0}],"numberType":[{"onPropChange":0}],"min":[{"onPropChange":0}],"max":[{"onPropChange":0}]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[1],"audio":[1],"x":[1],"y":[1],"z":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"tabIndex":[2,"tab-index"],"mode":[1],"fingerHintUrl":[1,"finger-hint-url"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"highlightTextId":[1,"highlight-text-id"],"animationTrace":[4,"animation-trace"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"svgUrls":[32],"audioUrls":[32],"currentSvgIndex":[32],"moving":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[32],"freeTraceUpdateCounter":[32],"idleTimer":[32],"fingerImg":[32]},null,{"svgSource":[{"initializeSVG":0}],"mode":[{"initializeSVG":0}]}],[260,"lido-wrap",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"flex":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"disableSpeak":[4,"disable-speak"],"style":[32]}],[260,"lido-cell",{"showSpeakIcon":[4,"show-speak-icon"],"scrollbarWidth":[1,"scrollbar-width"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"gap":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[1],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"layout":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"alignItems":[1,"align-items"],"borderRadius":[1,"border-radius"],"flexDirection":[1,"flex-direction"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}],[0,"lido-text",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"string":[1],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"highlightWhileSpeaking":[4,"highlight-while-speaking"],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"borderImage":[1,"border-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"onEntry":[1,"on-entry"],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"spanType":[1,"span-type"],"delayVisible":[1,"delay-visible"],"disableSpeak":[4,"disable-speak"],"style":[32]}]]]]'),e))));