lido-player 0.0.2-alpha-41 → 0.0.2-alpha-42
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_19.cjs.entry.js +5 -5
- package/dist/cjs/{utils-9e484ec0.js → utils-d35051ce.js} +1 -1
- package/dist/collection/components/trace/lido-trace.css +1 -1
- package/dist/collection/components/trace/lido-trace.js +2 -2
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +1 -2
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.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 +19 -19
- 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-d73ee4cd.js → p-01661863.js} +1 -1
- package/dist/components/{p-4aa39b17.js → p-05a9c77a.js} +1 -1
- package/dist/components/{p-82667ced.js → p-0ce4e25e.js} +1 -1
- package/dist/components/{p-5028a4d6.js → p-12f1fee2.js} +1 -1
- package/dist/components/{p-ac5ba8ca.js → p-1880714b.js} +1 -1
- package/dist/components/{p-70bd36c1.js → p-25a9fac9.js} +5 -5
- package/dist/components/{p-ddfa7880.js → p-398c1fd5.js} +2 -2
- package/dist/components/{p-84f4839f.js → p-3b245088.js} +1 -1
- package/dist/components/{p-bb824646.js → p-3cd37320.js} +1 -1
- package/dist/components/{p-006bafa5.js → p-4a0ead41.js} +1 -1
- package/dist/components/{p-bbc5cd43.js → p-6854f3b8.js} +1 -1
- package/dist/components/{p-a1340ae7.js → p-7261a34a.js} +1 -1
- package/dist/components/{p-9da9273c.js → p-7d998445.js} +1 -1
- package/dist/components/{p-8df305dc.js → p-8c1cafb5.js} +1 -1
- package/dist/components/{p-f41bfb24.js → p-8f56901e.js} +1 -1
- package/dist/components/{p-b6d93a6c.js → p-92908a74.js} +18 -18
- package/dist/components/{p-d8dc7418.js → p-991aaa57.js} +1 -1
- package/dist/components/{p-14dae335.js → p-aa898bfe.js} +1 -1
- package/dist/components/{p-3cffc5c6.js → p-d93b07ea.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_19.entry.js +5 -5
- package/dist/esm/{utils-1130854a.js → utils-41eb83a5.js} +1 -1
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-6b1ed256.entry.js → p-02138e8c.entry.js} +1 -1
- package/dist/lido-player/{p-ee14fefd.js → p-fbb622fa.js} +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fe562525.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-d35051ce.js');
|
|
7
7
|
|
|
8
8
|
var rive = {exports: {}};
|
|
9
9
|
|
|
@@ -11265,7 +11265,7 @@ const LidoText = class {
|
|
|
11265
11265
|
};
|
|
11266
11266
|
LidoText.style = LidoTextStyle0;
|
|
11267
11267
|
|
|
11268
|
-
const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;
|
|
11268
|
+
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)}}";
|
|
11269
11269
|
const LidoTraceStyle0 = lidoTraceCss;
|
|
11270
11270
|
|
|
11271
11271
|
const LidoTrace = class {
|
|
@@ -11590,11 +11590,11 @@ const LidoTrace = class {
|
|
|
11590
11590
|
var _a;
|
|
11591
11591
|
const firstPathStart = state.paths[0].getPointAtLength(0);
|
|
11592
11592
|
const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
|
|
11593
|
-
|
|
11593
|
+
state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
|
|
11594
11594
|
circle.setAttribute('id', 'lido-draggableCircle');
|
|
11595
11595
|
circle.setAttribute('cx', firstPathStart.x.toString());
|
|
11596
11596
|
circle.setAttribute('cy', firstPathStart.y.toString());
|
|
11597
|
-
circle.setAttribute('r', `calc(
|
|
11597
|
+
circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
|
|
11598
11598
|
circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
|
|
11599
11599
|
(_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
|
|
11600
11600
|
state.circle = circle;
|
|
@@ -11977,7 +11977,7 @@ const LidoTrace = class {
|
|
|
11977
11977
|
};
|
|
11978
11978
|
}
|
|
11979
11979
|
render() {
|
|
11980
|
-
return (index.h(index.Host, { key: '
|
|
11980
|
+
return (index.h(index.Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, index.h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
|
|
11981
11981
|
}
|
|
11982
11982
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
11983
11983
|
get el() { return index.getElement(this); }
|
|
@@ -327,7 +327,7 @@ export class LidoTrace {
|
|
|
327
327
|
circle.setAttribute('id', 'lido-draggableCircle');
|
|
328
328
|
circle.setAttribute('cx', firstPathStart.x.toString());
|
|
329
329
|
circle.setAttribute('cy', firstPathStart.y.toString());
|
|
330
|
-
circle.setAttribute('r', `calc(
|
|
330
|
+
circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
|
|
331
331
|
circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
|
|
332
332
|
(_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
|
|
333
333
|
state.circle = circle;
|
|
@@ -710,7 +710,7 @@ export class LidoTrace {
|
|
|
710
710
|
};
|
|
711
711
|
}
|
|
712
712
|
render() {
|
|
713
|
-
return (h(Host, { key: '
|
|
713
|
+
return (h(Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
|
|
714
714
|
}
|
|
715
715
|
static get is() { return "lido-trace"; }
|
|
716
716
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { calculateScale, countPatternWords, handleShowCheck, handlingElementFlexibleWidth, onActivityComplete, storingEachActivityScore } from "../utils";
|
|
2
|
-
import { AudioPlayer } from "../audioPlayer";
|
|
3
2
|
import { DragSelectedMapKey, DragMapKey, DropHasDrag, DropLength, SelectedValuesKey, DropMode, DropToAttr, DropTimeAttr, LidoContainer, DropAction } from "../constants";
|
|
4
3
|
import { dispatchElementDropEvent } from "../customEvents";
|
|
5
4
|
import { removeHighlight } from "./highlightHandler";
|
|
@@ -56,7 +55,7 @@ export function enableDraggingWithScaling(element) {
|
|
|
56
55
|
isDragging = false;
|
|
57
56
|
return;
|
|
58
57
|
}
|
|
59
|
-
AudioPlayer.getI().stop();
|
|
58
|
+
// AudioPlayer.getI().stop();
|
|
60
59
|
removeHighlight(element);
|
|
61
60
|
isDragging = true;
|
|
62
61
|
isClicked = true;
|
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-1880714b.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-
|
|
2
|
-
import { d as defineCustomElement$j } from './p-
|
|
3
|
-
import { d as defineCustomElement$i } from './p-
|
|
4
|
-
import { d as defineCustomElement$h } from './p-
|
|
5
|
-
import { d as defineCustomElement$g } from './p-
|
|
6
|
-
import { d as defineCustomElement$f } from './p-
|
|
7
|
-
import { d as defineCustomElement$e } from './p-
|
|
8
|
-
import { d as defineCustomElement$d } from './p-
|
|
9
|
-
import { d as defineCustomElement$c } from './p-
|
|
10
|
-
import { d as defineCustomElement$b } from './p-
|
|
11
|
-
import { d as defineCustomElement$a } from './p-
|
|
12
|
-
import { d as defineCustomElement$9 } from './p-
|
|
13
|
-
import { d as defineCustomElement$8 } from './p-
|
|
14
|
-
import { d as defineCustomElement$7 } from './p-
|
|
15
|
-
import { d as defineCustomElement$6 } from './p-
|
|
16
|
-
import { d as defineCustomElement$5 } from './p-
|
|
17
|
-
import { d as defineCustomElement$4 } from './p-
|
|
18
|
-
import { d as defineCustomElement$3 } from './p-
|
|
19
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-1880714b.js';
|
|
2
|
+
import { d as defineCustomElement$j } from './p-01661863.js';
|
|
3
|
+
import { d as defineCustomElement$i } from './p-aa898bfe.js';
|
|
4
|
+
import { d as defineCustomElement$h } from './p-3b245088.js';
|
|
5
|
+
import { d as defineCustomElement$g } from './p-7d998445.js';
|
|
6
|
+
import { d as defineCustomElement$f } from './p-8f56901e.js';
|
|
7
|
+
import { d as defineCustomElement$e } from './p-12f1fee2.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './p-92908a74.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-3cd37320.js';
|
|
10
|
+
import { d as defineCustomElement$b } from './p-398c1fd5.js';
|
|
11
|
+
import { d as defineCustomElement$a } from './p-4a0ead41.js';
|
|
12
|
+
import { d as defineCustomElement$9 } from './p-0ce4e25e.js';
|
|
13
|
+
import { d as defineCustomElement$8 } from './p-991aaa57.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './p-8c1cafb5.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './p-7261a34a.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './p-6854f3b8.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './p-d93b07ea.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './p-25a9fac9.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './p-05a9c77a.js';
|
|
20
20
|
|
|
21
21
|
const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
22
22
|
constructor() {
|
|
@@ -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-1880714b.js';
|
|
2
2
|
|
|
3
3
|
var rive = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-1880714b.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, i as initEventsForElement, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
|
|
4
4
|
const LidoPosStyle0 = lidoPosCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-1880714b.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,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-1880714b.js';
|
|
2
2
|
|
|
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%;
|
|
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;
|
|
5
5
|
|
|
6
6
|
const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
@@ -326,11 +326,11 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
|
326
326
|
var _a;
|
|
327
327
|
const firstPathStart = state.paths[0].getPointAtLength(0);
|
|
328
328
|
const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
|
|
329
|
-
|
|
329
|
+
state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
|
|
330
330
|
circle.setAttribute('id', 'lido-draggableCircle');
|
|
331
331
|
circle.setAttribute('cx', firstPathStart.x.toString());
|
|
332
332
|
circle.setAttribute('cy', firstPathStart.y.toString());
|
|
333
|
-
circle.setAttribute('r', `calc(
|
|
333
|
+
circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
|
|
334
334
|
circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
|
|
335
335
|
(_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
|
|
336
336
|
state.circle = circle;
|
|
@@ -713,7 +713,7 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
715
|
render() {
|
|
716
|
-
return (h(Host, { key: '
|
|
716
|
+
return (h(Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
|
|
717
717
|
}
|
|
718
718
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
719
719
|
get el() { return this; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-d93b07ea.js';
|
|
3
3
|
|
|
4
4
|
const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
|
|
5
5
|
const LidoKeyboardStyle0 = lidoKeyboardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoColCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}";
|
|
4
4
|
const LidoColStyle0 = lidoColCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-
|
|
1
|
+
import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
var lib = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:cover;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--inactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px}";
|
|
4
4
|
const LidoMathMatrixStyle0 = lidoMathMatrixCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-1880714b.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, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z)}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}";
|
|
4
4
|
const LidoShapeStyle0 = lidoShapeCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
|
|
4
4
|
const LidoContainerStyle0 = lidoContainerCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-1880714b.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, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-1880714b.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,21 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-
|
|
2
|
-
import { d as defineCustomElement$h } from './p-
|
|
3
|
-
import { d as defineCustomElement$g } from './p-
|
|
4
|
-
import { d as defineCustomElement$f } from './p-
|
|
5
|
-
import { d as defineCustomElement$e } from './p-
|
|
6
|
-
import { d as defineCustomElement$d } from './p-
|
|
7
|
-
import { d as defineCustomElement$c } from './p-
|
|
8
|
-
import { d as defineCustomElement$b } from './p-
|
|
9
|
-
import { d as defineCustomElement$a } from './p-
|
|
10
|
-
import { d as defineCustomElement$9 } from './p-
|
|
11
|
-
import { d as defineCustomElement$8 } from './p-
|
|
12
|
-
import { d as defineCustomElement$7 } from './p-
|
|
13
|
-
import { d as defineCustomElement$6 } from './p-
|
|
14
|
-
import { d as defineCustomElement$5 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
18
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-1880714b.js';
|
|
2
|
+
import { d as defineCustomElement$h } from './p-01661863.js';
|
|
3
|
+
import { d as defineCustomElement$g } from './p-aa898bfe.js';
|
|
4
|
+
import { d as defineCustomElement$f } from './p-3b245088.js';
|
|
5
|
+
import { d as defineCustomElement$e } from './p-7d998445.js';
|
|
6
|
+
import { d as defineCustomElement$d } from './p-8f56901e.js';
|
|
7
|
+
import { d as defineCustomElement$c } from './p-12f1fee2.js';
|
|
8
|
+
import { d as defineCustomElement$b } from './p-3cd37320.js';
|
|
9
|
+
import { d as defineCustomElement$a } from './p-398c1fd5.js';
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-4a0ead41.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-0ce4e25e.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-991aaa57.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-8c1cafb5.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-7261a34a.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-6854f3b8.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-d93b07ea.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-25a9fac9.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-05a9c77a.js';
|
|
19
19
|
|
|
20
20
|
const indexCss = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:0 2px 4px rgba(151, 150, 150, 0.1) !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}";
|
|
21
21
|
const LidoHomeStyle0 = indexCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-1880714b.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 { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
|
|
4
4
|
const LidoCellStyle0 = lidoCellCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-1880714b.js';
|
|
2
2
|
|
|
3
3
|
const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo Bhai 2', serif}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTextStyle0 = lidoTextCss;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { f as format } from './utils-
|
|
1
|
+
export { f as format } from './utils-41eb83a5.js';
|
|
2
2
|
import './index-f47852d4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, g as getAssetPath, h, H as Host, a as getElement } from './index-f47852d4.js';
|
|
2
|
-
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as generateUUIDFallback, q as exitUrl, r as prevUrl, t as nextUrl, u as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, v as getCancelBtnPopup, w as triggerPrevcontainer, x as executeActions, y as setCancelBtnPopup, z as getDefaultExportFromCjs, B as tinyColor, S as SelectedValuesKey, C as triggerNextContainer, D as storingEachActivityScore, E as DropAction, F as fraction, T as TraceMode, G as speakIcon, H as fingerUrl } from './utils-
|
|
2
|
+
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as generateUUIDFallback, q as exitUrl, r as prevUrl, t as nextUrl, u as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, v as getCancelBtnPopup, w as triggerPrevcontainer, x as executeActions, y as setCancelBtnPopup, z as getDefaultExportFromCjs, B as tinyColor, S as SelectedValuesKey, C as triggerNextContainer, D as storingEachActivityScore, E as DropAction, F as fraction, T as TraceMode, G as speakIcon, H as fingerUrl } from './utils-41eb83a5.js';
|
|
3
3
|
|
|
4
4
|
var rive = {exports: {}};
|
|
5
5
|
|
|
@@ -11261,7 +11261,7 @@ const LidoText = class {
|
|
|
11261
11261
|
};
|
|
11262
11262
|
LidoText.style = LidoTextStyle0;
|
|
11263
11263
|
|
|
11264
|
-
const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;
|
|
11264
|
+
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)}}";
|
|
11265
11265
|
const LidoTraceStyle0 = lidoTraceCss;
|
|
11266
11266
|
|
|
11267
11267
|
const LidoTrace = class {
|
|
@@ -11586,11 +11586,11 @@ const LidoTrace = class {
|
|
|
11586
11586
|
var _a;
|
|
11587
11587
|
const firstPathStart = state.paths[0].getPointAtLength(0);
|
|
11588
11588
|
const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
|
|
11589
|
-
|
|
11589
|
+
state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
|
|
11590
11590
|
circle.setAttribute('id', 'lido-draggableCircle');
|
|
11591
11591
|
circle.setAttribute('cx', firstPathStart.x.toString());
|
|
11592
11592
|
circle.setAttribute('cy', firstPathStart.y.toString());
|
|
11593
|
-
circle.setAttribute('r', `calc(
|
|
11593
|
+
circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
|
|
11594
11594
|
circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
|
|
11595
11595
|
(_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
|
|
11596
11596
|
state.circle = circle;
|
|
@@ -11973,7 +11973,7 @@ const LidoTrace = class {
|
|
|
11973
11973
|
};
|
|
11974
11974
|
}
|
|
11975
11975
|
render() {
|
|
11976
|
-
return (h(Host, { key: '
|
|
11976
|
+
return (h(Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
|
|
11977
11977
|
}
|
|
11978
11978
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
11979
11979
|
get el() { return getElement(this); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as format}from"./p-
|
|
1
|
+
export{f as format}from"./p-fbb622fa.js";import"./p-ddf627b0.js";
|