lido-player 0.0.2-alpha-65 → 0.0.2-alpha-66
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.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/lido-avatar_22.cjs.entry.js +1 -1
- package/dist/cjs/{utils-6fbaf604.js → utils-c4899ae5.js} +2 -2
- package/dist/collection/utils/utils.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.js +1 -1
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +22 -22
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-1238f648.js → p-11a6053f.js} +1 -1
- package/dist/components/{p-d764f75c.js → p-15fa0792.js} +1 -1
- package/dist/components/{p-0f72edb4.js → p-19e3de3b.js} +1 -1
- package/dist/components/{p-4c026d99.js → p-3097a793.js} +1 -1
- package/dist/components/{p-d0fc464d.js → p-3ac18253.js} +1 -1
- package/dist/components/{p-342bed2e.js → p-40870601.js} +1 -1
- package/dist/components/{p-50896aee.js → p-5a8a9ef8.js} +1 -1
- package/dist/components/{p-c682e9ff.js → p-60e097fb.js} +3 -3
- package/dist/components/{p-9f03a14c.js → p-6ce9eee8.js} +1 -1
- package/dist/components/{p-bb46f8e2.js → p-737a458d.js} +1 -1
- package/dist/components/{p-56a84433.js → p-76892ca9.js} +2 -2
- package/dist/components/{p-dc616111.js → p-770d98fa.js} +1 -1
- package/dist/components/{p-6b9fcb83.js → p-894c3d1e.js} +2 -2
- package/dist/components/{p-5aeef0cc.js → p-8d9dfc1c.js} +2 -2
- package/dist/components/{p-f0a5d487.js → p-9acfe88f.js} +21 -21
- package/dist/components/{p-50a2d817.js → p-a66ef0fb.js} +1 -1
- package/dist/components/{p-03e44e4a.js → p-aea93768.js} +1 -1
- package/dist/components/{p-cf94b10e.js → p-c3dc3335.js} +1 -1
- package/dist/components/{p-09a49b19.js → p-c75ecb23.js} +1 -1
- package/dist/components/{p-873471c6.js → p-e3d44b56.js} +2 -2
- package/dist/components/{p-80c422c2.js → p-f2a3ce7e.js} +1 -1
- package/dist/components/{p-4c870db5.js → p-f3557e2b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_22.entry.js +1 -1
- package/dist/esm/{utils-db03cb43.js → utils-bd709eeb.js} +2 -2
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-5e0def71.js → p-3e876903.js} +1 -1
- package/dist/lido-player/{p-6192dda7.entry.js → p-7c10ab83.entry.js} +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -69297,7 +69297,6 @@ const handleShowCheck = () => {
|
|
|
69297
69297
|
if (!container.getAttribute("game-completed")) {
|
|
69298
69298
|
validateObjectiveStatus();
|
|
69299
69299
|
}
|
|
69300
|
-
container.setAttribute("game-completed", "true");
|
|
69301
69300
|
}
|
|
69302
69301
|
};
|
|
69303
69302
|
let res;
|
|
@@ -69341,6 +69340,7 @@ const validateObjectiveStatus = async () => {
|
|
|
69341
69340
|
res = matchStringPattern(objectiveString, objectiveArray);
|
|
69342
69341
|
}
|
|
69343
69342
|
if (res) {
|
|
69343
|
+
container.setAttribute("game-completed", "true");
|
|
69344
69344
|
const attach = container.getAttribute('appendToDropOnCompletion');
|
|
69345
69345
|
const onCorrect = container.getAttribute('onCorrect');
|
|
69346
69346
|
if (onCorrect) {
|
|
@@ -69366,6 +69366,7 @@ const validateObjectiveStatus = async () => {
|
|
|
69366
69366
|
const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
|
|
69367
69367
|
const onCorrect = container.getAttribute('onCorrect');
|
|
69368
69368
|
if (!isContinueOnCorrect) {
|
|
69369
|
+
container.setAttribute("game-completed", "true");
|
|
69369
69370
|
storingEachActivityScore(false);
|
|
69370
69371
|
calculateScore();
|
|
69371
69372
|
await executeActions(onCorrect, container);
|
|
@@ -69375,7 +69376,6 @@ const validateObjectiveStatus = async () => {
|
|
|
69375
69376
|
const onInCorrect = container.getAttribute('onInCorrect');
|
|
69376
69377
|
storingEachActivityScore(false);
|
|
69377
69378
|
await executeActions(onInCorrect, container);
|
|
69378
|
-
container.removeAttribute("game-completed");
|
|
69379
69379
|
}
|
|
69380
69380
|
}
|
|
69381
69381
|
};
|
|
@@ -680,7 +680,6 @@ export const handleShowCheck = () => {
|
|
|
680
680
|
if (!container.getAttribute("game-completed")) {
|
|
681
681
|
validateObjectiveStatus();
|
|
682
682
|
}
|
|
683
|
-
container.setAttribute("game-completed", "true");
|
|
684
683
|
}
|
|
685
684
|
};
|
|
686
685
|
const body = document.body;
|
|
@@ -725,6 +724,7 @@ export const validateObjectiveStatus = async () => {
|
|
|
725
724
|
res = matchStringPattern(objectiveString, objectiveArray);
|
|
726
725
|
}
|
|
727
726
|
if (res) {
|
|
727
|
+
container.setAttribute("game-completed", "true");
|
|
728
728
|
const attach = container.getAttribute('appendToDropOnCompletion');
|
|
729
729
|
const onCorrect = container.getAttribute('onCorrect');
|
|
730
730
|
if (onCorrect) {
|
|
@@ -750,6 +750,7 @@ export const validateObjectiveStatus = async () => {
|
|
|
750
750
|
const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
|
|
751
751
|
const onCorrect = container.getAttribute('onCorrect');
|
|
752
752
|
if (!isContinueOnCorrect) {
|
|
753
|
+
container.setAttribute("game-completed", "true");
|
|
753
754
|
storingEachActivityScore(false);
|
|
754
755
|
calculateScore();
|
|
755
756
|
await executeActions(onCorrect, container);
|
|
@@ -759,7 +760,6 @@ export const validateObjectiveStatus = async () => {
|
|
|
759
760
|
const onInCorrect = container.getAttribute('onInCorrect');
|
|
760
761
|
storingEachActivityScore(false);
|
|
761
762
|
await executeActions(onInCorrect, container);
|
|
762
|
-
container.removeAttribute("game-completed");
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
765
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
1
|
+
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-e3d44b56.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-
|
|
2
|
-
import { d as defineCustomElement$4, i as instance } from './p-
|
|
3
|
-
import { d as defineCustomElement$m } from './p-
|
|
4
|
-
import { d as defineCustomElement$l } from './p-
|
|
5
|
-
import { d as defineCustomElement$k } from './p-
|
|
6
|
-
import { d as defineCustomElement$j } from './p-
|
|
7
|
-
import { d as defineCustomElement$i } from './p-
|
|
8
|
-
import { d as defineCustomElement$h } from './p-
|
|
9
|
-
import { d as defineCustomElement$g } from './p-
|
|
10
|
-
import { d as defineCustomElement$f } from './p-
|
|
11
|
-
import { d as defineCustomElement$e } from './p-
|
|
12
|
-
import { d as defineCustomElement$d } from './p-
|
|
13
|
-
import { d as defineCustomElement$c } from './p-
|
|
14
|
-
import { d as defineCustomElement$b } from './p-
|
|
15
|
-
import { d as defineCustomElement$a } from './p-
|
|
16
|
-
import { d as defineCustomElement$9 } from './p-
|
|
17
|
-
import { d as defineCustomElement$8 } from './p-
|
|
18
|
-
import { d as defineCustomElement$7 } from './p-
|
|
19
|
-
import { d as defineCustomElement$6 } from './p-
|
|
20
|
-
import { d as defineCustomElement$5 } from './p-
|
|
21
|
-
import { d as defineCustomElement$3 } from './p-
|
|
22
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$4, i as instance } from './p-15fa0792.js';
|
|
3
|
+
import { d as defineCustomElement$m } from './p-c75ecb23.js';
|
|
4
|
+
import { d as defineCustomElement$l } from './p-770d98fa.js';
|
|
5
|
+
import { d as defineCustomElement$k } from './p-60e097fb.js';
|
|
6
|
+
import { d as defineCustomElement$j } from './p-76892ca9.js';
|
|
7
|
+
import { d as defineCustomElement$i } from './p-c3dc3335.js';
|
|
8
|
+
import { d as defineCustomElement$h } from './p-737a458d.js';
|
|
9
|
+
import { d as defineCustomElement$g } from './p-8d9dfc1c.js';
|
|
10
|
+
import { d as defineCustomElement$f } from './p-a66ef0fb.js';
|
|
11
|
+
import { d as defineCustomElement$e } from './p-f2a3ce7e.js';
|
|
12
|
+
import { d as defineCustomElement$d } from './p-9acfe88f.js';
|
|
13
|
+
import { d as defineCustomElement$c } from './p-3ac18253.js';
|
|
14
|
+
import { d as defineCustomElement$b } from './p-894c3d1e.js';
|
|
15
|
+
import { d as defineCustomElement$a } from './p-40870601.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './p-5a8a9ef8.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './p-3097a793.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './p-aea93768.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './p-f3557e2b.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './p-6ce9eee8.js';
|
|
21
|
+
import { d as defineCustomElement$3 } from './p-19e3de3b.js';
|
|
22
|
+
import { d as defineCustomElement$2 } from './p-11a6053f.js';
|
|
23
23
|
|
|
24
24
|
const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
25
25
|
constructor() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoWrapCss = ".lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;background-color:var(--child-bg-color, #f0f0f0);box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}";
|
|
4
4
|
const LidoWrapStyle0 = lidoWrapCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, t as attachSpeakIcon, L as LIDO_COMMON_AUDIO_READY_EVENT, e as convertUrlToRelative, k as parseProp, h, j as Host, u as LIDO_COMMON_AUDIO_PATH } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, t as attachSpeakIcon, L as LIDO_COMMON_AUDIO_READY_EVENT, e as convertUrlToRelative, k as parseProp, h, j as Host, u as LIDO_COMMON_AUDIO_PATH } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const isString = obj => typeof obj === 'string';
|
|
4
4
|
const defer = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, a0 as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, a1 as speakIcon, n as storingEachActivityScore, o as executeActions, q as calculateScore, U as triggerNextContainer, M as LidoContainer, k as parseProp, h, j as Host, a2 as fingerUrl } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, a0 as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, a1 as speakIcon, n as storingEachActivityScore, o as executeActions, q as calculateScore, U as triggerNextContainer, M as LidoContainer, k as parseProp, h, j as Host, a2 as fingerUrl } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;transition:fill 0.2s, r 0.2s}.lido-blindTracing{stroke:none !important}.lido-blindFreeTrace{stroke:none !important}.lido-hovered{cursor:grab;fill:darkred}#lido-controls{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:10px;background-color:#f0f0f0;border-top:1px solid #ccc}button{padding:10px;font-size:16px}@media (max-width: 600px){button{padding:8px;font-size:14px}}.lido-trace-path-green{}.lido-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.lido-trace{height:700px;width:700px;z-index:1;justify-items:center;align-content:center}.trace-animate{animation:trace-bounce 0.5s}@keyframes trace-bounce{0%{transform:scale(1)}30%{transform:scale(1.05)}60%{transform:scale(0.95)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTraceStyle0 = lidoTraceCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, t as attachSpeakIcon, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, t as attachSpeakIcon, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoRandomCss = ".lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}";
|
|
4
4
|
const LidoRandomStyle0 = lidoRandomCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, X as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, Y as tinyColor, t as attachSpeakIcon, k as parseProp, e as convertUrlToRelative, h, j as Host } from './p-
|
|
1
|
+
import { c as commonjsGlobal, X as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, Y as tinyColor, t as attachSpeakIcon, k as parseProp, e as convertUrlToRelative, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
var lib = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, e as convertUrlToRelative, k as parseProp, _ as validateObjectiveStatus, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, e as convertUrlToRelative, k as parseProp, _ as validateObjectiveStatus, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%;text-align:center;align-content:center;font-size:42px;font-weight:800;font-family:'Baloo Bhai 2';box-sizing:content-box}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:contain;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--deactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px;font-weight:600;font-family:'Baloo Bhai 2'}";
|
|
4
4
|
const LidoMathMatrixStyle0 = lidoMathMatrixCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
|
|
4
4
|
const LidoPosStyle0 = lidoPosCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, l as createEvent, m as equationCheck, n as storingEachActivityScore, o as executeActions, q as calculateScore, N as NextContainerKey, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, l as createEvent, m as equationCheck, n as storingEachActivityScore, o as executeActions, q as calculateScore, N as NextContainerKey, h, j as Host } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-c3dc3335.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-15fa0792.js';
|
|
4
4
|
|
|
5
5
|
const lidoCalculatorCss = "#lidoCalculator{border-radius:19px;border:5px solid #029A9A;position:relative;display:flex;flex-direction:column;padding:2%;box-sizing:border-box}.lido-calculator-btn-special{background-color:#014D4D !important;--btn-shadow-color:#0a2f2f !important}.lido-calculator-btn-default{background-color:#029A9A !important;color:#000;--btn-shadow-color:#0f4242 !important}#lido-calculator-penIcon{--btn-bg-color:#FB7038 !important;--btn-shadow-px:0 8px 0 !important;--btn-shadow-color:#D74B12 !important;border-radius:5px !important}.lido-calculator-displayParent{width:89%;height:107px;background-color:rgb(68, 186, 186);border-radius:5px;margin:14px auto 17px auto;overflow:hidden;display:flex;align-items:end}.lido-calculator-display{width:97%;height:94px;background:#029A9A;color:#fff;text-align:right;display:flex;justify-content:flex-end;align-items:center;font-size:72px;font-weight:700;font-family:'Baloo Bhai 2', serif;border-radius:5px 0px 0px 5px;box-sizing:border-box;margin:0 0px -6px auto}.lido-calculator-buttons{flex:1;display:grid;grid-template-columns:repeat(3, 1fr);grid-auto-rows:1fr;gap:0%;width:100%;justify-items:center;align-items:center;position:relative;top:-1%}.lido-calculator-buttons lido-text{display:flex !important;justify-content:center;align-items:center;width:96px !important;height:80px !important;font-size:72px !important;font-weight:700 !important;color:#fff;border-radius:5px !important;cursor:pointer;text-align:center;line-height:1;box-sizing:border-box;transition:transform 0.1s}.lido-calculator-buttons lido-text:active{transform:scale(0.95)}";
|
|
6
6
|
const LidoCalculatorStyle0 = lidoCalculatorCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp, $ as fraction, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp, $ as fraction, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
|
|
4
4
|
const LidoSlideFillStyle0 = lidoSlideFillCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, e as convertUrlToRelative, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, e as convertUrlToRelative, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoColCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}";
|
|
4
4
|
const LidoColStyle0 = lidoColCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, k as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-15fa0792.js';
|
|
3
3
|
|
|
4
4
|
const lidoCanvasCss = ":host{display:flex;justify-content:center;align-items:center}.lido-canvas{background:red;border:2px solid #ccc;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;position:relative}#lido-exit-button{padding:6px 14px;border:none;background:transparent;color:#fff;border-radius:6px;cursor:pointer;font-size:14px;position:relative;top:-43%;left:18%;z-index:10}canvas{touch-action:none;display:block}";
|
|
5
5
|
const LidoCanvasStyle0 = lidoCanvasCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoBalanceCss = "#lido-balance{position:relative;height:500px;width:1205px;top:20%;left:-91px;z-index:0}.lido-balance-symbol{position:absolute;top:64%;left:50%;transform:translate(-50%, -50%);font-size:5vw;font-weight:bold;color:black;pointer-events:none;z-index:999}@media (orientation: portrait){.lido-balance-shadow{height:100px;position:absolute;top:80%;left:28%}}@media (orientation: landscape){.lido-balance-shadow{height:100px;position:absolute;top:90%;left:33%}}@media (orientation: portrait){#pivotimg{position:absolute;height:auto;width:23%;bottom:18%;left:38%;z-index:100}}#pivotimg::after{content:\"\";position:absolute;bottom:-30px;left:50%;transform:translateX(-50%);width:120%;height:60px;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/balancing/Shadow.svg\");background-size:contain;background-repeat:no-repeat;background-position:center;pointer-events:none;z-index:10}@media (orientation: landscape){#pivotimg{position:absolute;height:auto;width:23%;bottom:8%;left:38%;z-index:100}}.lido-balance .pivot svg{width:100%;height:auto}#scaleimg{position:absolute;width:73%;height:auto;top:61%;left:14%;z-index:90}.lido-balance .scale svg{width:100%;height:auto}@media (orientation: landscape){#handlerimg{position:absolute;width:35%;height:auto;top:49%;left:2%}}@media (orientation:portrait ){#handlerimg{position:absolute;width:35%;height:auto;top:53%;left:2%}}.lido-balance .handler svg{width:100%;height:auto;fill:brown}@media (orientation: landscape){#handimg{position:absolute;width:35%;height:auto;top:49%;right:2%}}@media (orientation:portrait){#handimg{position:absolute;width:35%;height:auto;top:53%;right:2%}}.lido-balance .hand svg{width:100%;height:auto;fill:brown}.pivot svg path:nth-of-type(1){fill:brown}.pivot svg path[d^=\"M78.9414\"]{fill:white}";
|
|
4
4
|
const LidoBalanceStyle0 = lidoBalanceCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, S as SelectedValuesKey, M as LidoContainer, o as executeActions, U as triggerNextContainer, y as handleFloatElementPosition, n as storingEachActivityScore, Z as DropAction, k as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, S as SelectedValuesKey, M as LidoContainer, o as executeActions, U as triggerNextContainer, y as handleFloatElementPosition, n as storingEachActivityScore, Z as DropAction, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-15fa0792.js';
|
|
3
3
|
|
|
4
4
|
const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
|
|
5
5
|
const LidoKeyboardStyle0 = lidoKeyboardCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, T as TemplateID, v as calculateScale, e as convertUrlToRelative, i as initEventsForElement, w as highlightElement, x as Timer, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1, i as instance } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, T as TemplateID, v as calculateScale, e as convertUrlToRelative, i as initEventsForElement, w as highlightElement, x as Timer, h, j as Host } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$1, i as instance } from './p-15fa0792.js';
|
|
3
3
|
|
|
4
4
|
const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
|
|
5
5
|
const LidoContainerStyle0 = lidoContainerCss;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, A as dispatchActivityChangeEvent, B as ActivityScoreKey, C as dispatchGameCompletedEvent, D as dispatchGameExitEvent, E as AudioPlayer, F as generateUUIDFallback, G as exitUrl, I as prevUrl, J as nextUrl, K as speakUrl, N as NextContainerKey, P as PrevContainerKey, u as LIDO_COMMON_AUDIO_PATH, M as LidoContainer, h, T as TemplateID, o as executeActions, O as getCancelBtnPopup, S as SelectedValuesKey, Q as matchStringPattern, U as triggerNextContainer, v as calculateScale, V as triggerPrevcontainer, j as Host, e as convertUrlToRelative, W as setCancelBtnPopup } from './p-
|
|
2
|
-
import { d as defineCustomElement$3, i as instance } from './p-
|
|
3
|
-
import { d as defineCustomElement$k } from './p-
|
|
4
|
-
import { d as defineCustomElement$j } from './p-
|
|
5
|
-
import { d as defineCustomElement$i } from './p-
|
|
6
|
-
import { d as defineCustomElement$h } from './p-
|
|
7
|
-
import { d as defineCustomElement$g } from './p-
|
|
8
|
-
import { d as defineCustomElement$f } from './p-
|
|
9
|
-
import { d as defineCustomElement$e } from './p-
|
|
10
|
-
import { d as defineCustomElement$d } from './p-
|
|
11
|
-
import { d as defineCustomElement$c } from './p-
|
|
12
|
-
import { d as defineCustomElement$b } from './p-
|
|
13
|
-
import { d as defineCustomElement$a } from './p-
|
|
14
|
-
import { d as defineCustomElement$9 } from './p-
|
|
15
|
-
import { d as defineCustomElement$8 } from './p-
|
|
16
|
-
import { d as defineCustomElement$7 } from './p-
|
|
17
|
-
import { d as defineCustomElement$6 } from './p-
|
|
18
|
-
import { d as defineCustomElement$5 } from './p-
|
|
19
|
-
import { d as defineCustomElement$4 } from './p-
|
|
20
|
-
import { d as defineCustomElement$2 } from './p-
|
|
21
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, A as dispatchActivityChangeEvent, B as ActivityScoreKey, C as dispatchGameCompletedEvent, D as dispatchGameExitEvent, E as AudioPlayer, F as generateUUIDFallback, G as exitUrl, I as prevUrl, J as nextUrl, K as speakUrl, N as NextContainerKey, P as PrevContainerKey, u as LIDO_COMMON_AUDIO_PATH, M as LidoContainer, h, T as TemplateID, o as executeActions, O as getCancelBtnPopup, S as SelectedValuesKey, Q as matchStringPattern, U as triggerNextContainer, v as calculateScale, V as triggerPrevcontainer, j as Host, e as convertUrlToRelative, W as setCancelBtnPopup } from './p-e3d44b56.js';
|
|
2
|
+
import { d as defineCustomElement$3, i as instance } from './p-15fa0792.js';
|
|
3
|
+
import { d as defineCustomElement$k } from './p-c75ecb23.js';
|
|
4
|
+
import { d as defineCustomElement$j } from './p-770d98fa.js';
|
|
5
|
+
import { d as defineCustomElement$i } from './p-60e097fb.js';
|
|
6
|
+
import { d as defineCustomElement$h } from './p-76892ca9.js';
|
|
7
|
+
import { d as defineCustomElement$g } from './p-c3dc3335.js';
|
|
8
|
+
import { d as defineCustomElement$f } from './p-737a458d.js';
|
|
9
|
+
import { d as defineCustomElement$e } from './p-8d9dfc1c.js';
|
|
10
|
+
import { d as defineCustomElement$d } from './p-a66ef0fb.js';
|
|
11
|
+
import { d as defineCustomElement$c } from './p-f2a3ce7e.js';
|
|
12
|
+
import { d as defineCustomElement$b } from './p-3ac18253.js';
|
|
13
|
+
import { d as defineCustomElement$a } from './p-894c3d1e.js';
|
|
14
|
+
import { d as defineCustomElement$9 } from './p-40870601.js';
|
|
15
|
+
import { d as defineCustomElement$8 } from './p-5a8a9ef8.js';
|
|
16
|
+
import { d as defineCustomElement$7 } from './p-3097a793.js';
|
|
17
|
+
import { d as defineCustomElement$6 } from './p-aea93768.js';
|
|
18
|
+
import { d as defineCustomElement$5 } from './p-f3557e2b.js';
|
|
19
|
+
import { d as defineCustomElement$4 } from './p-6ce9eee8.js';
|
|
20
|
+
import { d as defineCustomElement$2 } from './p-19e3de3b.js';
|
|
21
|
+
import { d as defineCustomElement$1 } from './p-11a6053f.js';
|
|
22
22
|
|
|
23
23
|
const indexCss = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow: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}";
|
|
24
24
|
const LidoHomeStyle0 = indexCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, k as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, k as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
|
|
4
4
|
const LidoFlashCardStyle0 = lidoFlashCardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoRowCss = ".lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}";
|
|
4
4
|
const LidoRowStyle0 = lidoRowCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
|
|
4
4
|
const LidoCellStyle0 = lidoCellCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-
|
|
1
|
+
import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
var rive = {exports: {}};
|
|
4
4
|
|
|
@@ -70736,7 +70736,6 @@ const handleShowCheck = () => {
|
|
|
70736
70736
|
if (!container.getAttribute("game-completed")) {
|
|
70737
70737
|
validateObjectiveStatus();
|
|
70738
70738
|
}
|
|
70739
|
-
container.setAttribute("game-completed", "true");
|
|
70740
70739
|
}
|
|
70741
70740
|
};
|
|
70742
70741
|
let res;
|
|
@@ -70780,6 +70779,7 @@ const validateObjectiveStatus = async () => {
|
|
|
70780
70779
|
res = matchStringPattern(objectiveString, objectiveArray);
|
|
70781
70780
|
}
|
|
70782
70781
|
if (res) {
|
|
70782
|
+
container.setAttribute("game-completed", "true");
|
|
70783
70783
|
const attach = container.getAttribute('appendToDropOnCompletion');
|
|
70784
70784
|
const onCorrect = container.getAttribute('onCorrect');
|
|
70785
70785
|
if (onCorrect) {
|
|
@@ -70805,6 +70805,7 @@ const validateObjectiveStatus = async () => {
|
|
|
70805
70805
|
const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
|
|
70806
70806
|
const onCorrect = container.getAttribute('onCorrect');
|
|
70807
70807
|
if (!isContinueOnCorrect) {
|
|
70808
|
+
container.setAttribute("game-completed", "true");
|
|
70808
70809
|
storingEachActivityScore(false);
|
|
70809
70810
|
calculateScore();
|
|
70810
70811
|
await executeActions(onCorrect, container);
|
|
@@ -70814,7 +70815,6 @@ const validateObjectiveStatus = async () => {
|
|
|
70814
70815
|
const onInCorrect = container.getAttribute('onInCorrect');
|
|
70815
70816
|
storingEachActivityScore(false);
|
|
70816
70817
|
await executeActions(onInCorrect, container);
|
|
70817
|
-
container.removeAttribute("game-completed");
|
|
70818
70818
|
}
|
|
70819
70819
|
}
|
|
70820
70820
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, y as handleFloatElementPosition, z as handleElementClick, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, y as handleFloatElementPosition, z as handleElementClick, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}#removeShadow{box-shadow:unset !important}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
|
|
4
4
|
const LidoFloatStyle0 = lidoFloatCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp, h, j as Host } from './p-e3d44b56.js';
|
|
2
2
|
|
|
3
3
|
const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z);justify-content:center;align-items:center}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-trapezoid{width:var(--trapezoidWidth);height:var(--trapezoidHeight);background-color:var(--bgColor);clip-path:polygon(\r\n 20% 0%, \r\n 80% 0%, \r\n 100% 100%,\r\n 0% 100% \r\n )}.lido-hexagon{width:var(--hexagonWidth);height:var(--hexagonHeight);background-color:var(--bgColor);clip-path:polygon(\r\n 25% 0%, \r\n 75% 0%, \r\n 100% 50%, \r\n 75% 100%, \r\n 25% 100%, \r\n 0% 50% \r\n )}.lido-cone{width:var(--coneWidth);height:var(--coneHeight);background-color:var(--bgColor);clip-path:polygon(\r\n \r\n 15% 10%,\r\n 25% 4%,\r\n 35% 1%,\r\n 50% 0%,\r\n 65% 1%,\r\n 75% 4%,\r\n 85% 10%,\r\n\r\n \r\n 50% 100%\r\n )}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}.cube{width:100%;height:100%;position:relative;transform-style:preserve-3d;transform:rotateX(-20deg) rotateY(45deg)}.face{position:absolute;width:var(--face-width,150px);height:var(--face-width,150px);background:var(--face-bg-color,150px);box-shadow:inset -20px -20px 40px rgba(0,0,0,0.3)}.front{transform:rotateY( 0deg) translateZ(var(--face-translate, 75px))}.back{transform:rotateY(180deg) translateZ(var(--face-translate, 75px))}.right{transform:rotateY( 90deg) translateZ(var(--face-translate, 75px))}.left{transform:rotateY(-90deg) translateZ(var(--face-translate, 75px))}.top{transform:rotateX( 90deg) translateZ(var(--face-translate, 75px))}.bottom{transform:rotateX(-90deg) translateZ(var(--face-translate, 75px))}.lido-cylinder{width:var(--width);height:var(--height);border-radius:100% / 80px;background:radial-gradient(50% 40px at 50% 40px, #0003 99.99%, #0000 0),\r\n radial-gradient(50% 40px at 50% calc(100% - 40px), #fff3 99.99%, #0000 0),\r\n red}";
|
|
4
4
|
const LidoShapeStyle0 = lidoShapeCss;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { f as format } from './utils-
|
|
1
|
+
export { f as format } from './utils-bd709eeb.js';
|
|
2
2
|
import './index-37c2ad2d.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, g as getAssetPath, h, H as Host, a as getElement, c as createEvent } from './index-37c2ad2d.js';
|
|
2
|
-
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, p as parseProp, e as equationCheck, b as storingEachActivityScore, d as executeActions, g as calculateScore, N as NextContainerKey, h as handlingChildElements, j as attachSpeakIcon, T as TemplateID, k as calculateScale, l as highlightElement, m as Timer, n as handleFloatElementPosition, o as handleElementClick, q as dispatchActivityChangeEvent, A as ActivityScoreKey, r as dispatchGameCompletedEvent, t as dispatchGameExitEvent, u as AudioPlayer, v as generateUUIDFallback, w as exitUrl, x as prevUrl, y as nextUrl, z as speakUrl, P as PrevContainerKey, L as LIDO_COMMON_AUDIO_PATH, B as LidoContainer$1, C as getCancelBtnPopup, S as SelectedValuesKey, D as matchStringPattern, E as triggerNextContainer, F as triggerPrevcontainer, G as setCancelBtnPopup, H as getDefaultExportFromCjs, I as tinyColor, J as DropAction, K as validateObjectiveStatus, M as fraction, O as LIDO_COMMON_AUDIO_READY_EVENT, Q as TraceMode, U as speakIcon, V as fingerUrl } from './utils-
|
|
2
|
+
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, p as parseProp, e as equationCheck, b as storingEachActivityScore, d as executeActions, g as calculateScore, N as NextContainerKey, h as handlingChildElements, j as attachSpeakIcon, T as TemplateID, k as calculateScale, l as highlightElement, m as Timer, n as handleFloatElementPosition, o as handleElementClick, q as dispatchActivityChangeEvent, A as ActivityScoreKey, r as dispatchGameCompletedEvent, t as dispatchGameExitEvent, u as AudioPlayer, v as generateUUIDFallback, w as exitUrl, x as prevUrl, y as nextUrl, z as speakUrl, P as PrevContainerKey, L as LIDO_COMMON_AUDIO_PATH, B as LidoContainer$1, C as getCancelBtnPopup, S as SelectedValuesKey, D as matchStringPattern, E as triggerNextContainer, F as triggerPrevcontainer, G as setCancelBtnPopup, H as getDefaultExportFromCjs, I as tinyColor, J as DropAction, K as validateObjectiveStatus, M as fraction, O as LIDO_COMMON_AUDIO_READY_EVENT, Q as TraceMode, U as speakIcon, V as fingerUrl } from './utils-bd709eeb.js';
|
|
3
3
|
|
|
4
4
|
var rive = {exports: {}};
|
|
5
5
|
|