@pie-element/hotspot 11.2.0-next.27 → 11.2.0-next.30

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.
@@ -1,5 +1,5 @@
1
1
  import { c as e } from "../browser-DOqiWBR2.js";
2
- import { D as t, E as n, Et as r, Jt as i, L as a, O as o, Qt as s, W as c, Yt as l, a as u, b as d, c as f, i as p, k as m, l as h, n as g, o as _, r as v, s as y, t as b, wt as x } from "../ReactKonva-CfNlnnGw.js";
2
+ import { D as t, E as n, Et as r, Jt as i, L as a, O as o, W as s, Yt as c, Zt as l, a as u, b as d, c as f, i as p, k as m, l as h, n as g, o as _, r as v, s as y, t as b, wt as x } from "../ReactKonva-DLH7xXQd.js";
3
3
  import S, { useRef as C } from "react";
4
4
  import { createRoot as w } from "react-dom/client";
5
5
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -1737,7 +1737,7 @@ var et = $e(o, "Readable") || $e(rt.Readable, "Readable"), tt = d, nt = tt.defau
1737
1737
  minWidth: "140px",
1738
1738
  alignSelf: "center",
1739
1739
  verticalAlign: "middle",
1740
- color: `var(--correct-answer-toggle-label-color, ${l.text()})`,
1740
+ color: `var(--correct-answer-toggle-label-color, ${c.text()})`,
1741
1741
  fontWeight: "normal",
1742
1742
  ...it
1743
1743
  })), ct = r("div")(() => ({
@@ -2454,9 +2454,9 @@ function Bt(e) {
2454
2454
  function $(e, t) {
2455
2455
  return !e || Bt(e) ? e : Bt(e.default) ? e.default : t && Bt(e[t]) ? e[t] : t && Bt(e[t]?.default) ? e[t].default : e;
2456
2456
  }
2457
- var Vt = $(a, "UiLayout") || $(Kt.UiLayout, "UiLayout"), Ht = $(m, "PreviewPrompt") || $(Kt.PreviewPrompt, "PreviewPrompt"), Ut = $(c, "Collapsible") || $(Kt.Collapsible, "Collapsible"), Wt = d, Gt = Wt.default, Kt = Gt && typeof Gt == "object" ? Gt : Wt, qt = r(Vt)({
2458
- color: l.text(),
2459
- backgroundColor: l.background(),
2457
+ var Vt = $(a, "UiLayout") || $(Kt.UiLayout, "UiLayout"), Ht = $(m, "PreviewPrompt") || $(Kt.PreviewPrompt, "PreviewPrompt"), Ut = $(s, "Collapsible") || $(Kt.Collapsible, "Collapsible"), Wt = d, Gt = Wt.default, Kt = Gt && typeof Gt == "object" ? Gt : Wt, qt = r(Vt)({
2458
+ color: c.text(),
2459
+ backgroundColor: c.background(),
2460
2460
  position: "relative"
2461
2461
  }), Jt = r(Ut)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), Yt = class extends S.Component {
2462
2462
  constructor(e) {
@@ -2477,10 +2477,10 @@ var Vt = $(a, "UiLayout") || $(Kt.UiLayout, "UiLayout"), Ht = $(m, "PreviewPromp
2477
2477
  e && this.observer.observe(e, {
2478
2478
  attributes: !0,
2479
2479
  attributeFilter: ["style"]
2480
- }), s(D.findDOMNode(this));
2480
+ }), l(D.findDOMNode(this));
2481
2481
  }
2482
2482
  componentDidUpdate() {
2483
- s(D.findDOMNode(this));
2483
+ l(D.findDOMNode(this));
2484
2484
  }
2485
2485
  componentWillUnmount() {
2486
2486
  this.observer?.disconnect();
@@ -2659,7 +2659,7 @@ var en = $t("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMC
2659
2659
  onSelectChoice: this.onSelectChoice.bind(this)
2660
2660
  });
2661
2661
  this._root ||= w(this), this._root.render(e), queueMicrotask(() => {
2662
- s(this);
2662
+ l(this);
2663
2663
  });
2664
2664
  }
2665
2665
  }