@pie-element/venn-classification 0.1.1-next.11 → 0.1.1-next.12

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.
@@ -2462,107 +2462,140 @@ function Li(e, t, n, r, i, a) {
2462
2462
  }
2463
2463
  //#endregion
2464
2464
  //#region ../../shared/math-rendering-mathjax/dist/index.js
2465
- var Ri = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading");
2466
- function zi(e) {
2467
- if (typeof window > "u" || window.MathJax?.typesetPromise) return Promise.resolve();
2468
- let t = globalThis, n = t[Ri];
2469
- if (n) return n;
2470
- let r = new Promise((t, n) => {
2465
+ var Ri = {
2466
+ parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
2467
+ overarc: "\\overparen",
2468
+ napprox: "\\not\\approx",
2469
+ longdiv: "\\enclose{longdiv}",
2470
+ abs: ["\\left|#1\\right|", 1]
2471
+ }, zi = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Bi = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, Vi = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, Hi = /\\embed\{newLine\}\[\]/g, Ui = [
2472
+ ["$$", "$$"],
2473
+ ["$", "$"],
2474
+ ["\\[", "\\]"],
2475
+ ["\\(", "\\)"]
2476
+ ], Wi = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading");
2477
+ function Gi() {
2478
+ return window.MathJax;
2479
+ }
2480
+ function Ki(e) {
2481
+ let t = e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e;
2482
+ for (let [e, n] of Ui) if (t.startsWith(e) && t.endsWith(n)) return t.substring(e.length, t.length - n.length);
2483
+ return t;
2484
+ }
2485
+ function qi(e) {
2486
+ for (let t of e.querySelectorAll("[data-latex]")) {
2487
+ if (t.dataset.mathHandled || t.closest("mjx-container")) continue;
2488
+ let e = t.textContent;
2489
+ e && (t.textContent = `\\(${Ki(e)}\\)`.replace(Hi, "\\newline "), t.dataset.mathHandled = "true");
2490
+ }
2491
+ }
2492
+ function Ji(e, t) {
2493
+ for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
2494
+ return (t ? Vi : Bi).test(e.textContent ?? "");
2495
+ }
2496
+ function Yi(e) {
2497
+ return new Promise((t, n) => {
2471
2498
  let { useSingleDollar: r = !1, accessibility: i = !0, loadFonts: a = !0, srcUrl: o } = e, s = {
2472
- loader: { load: i ? ["a11y/assistive-mml"] : [] },
2473
- tex: {
2474
- packages: [
2475
- "base",
2476
- "ams",
2477
- "autoload"
2478
- ],
2479
- macros: {
2480
- parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
2481
- overarc: "\\overparen",
2482
- napprox: "\\not\\approx",
2483
- longdiv: "\\enclose{longdiv}"
2499
+ loader: {
2500
+ load: i ? ["a11y/assistive-mml"] : [],
2501
+ failed: (e) => n(e)
2502
+ },
2503
+ startup: {
2504
+ typeset: !1,
2505
+ ready: () => {
2506
+ let e = Gi()?.startup;
2507
+ e?.defaultReady?.(), Promise.resolve(e?.promise).then(() => t(), n);
2484
2508
  }
2485
2509
  },
2510
+ tex: { macros: { ...Ri } },
2486
2511
  options: {
2487
2512
  enableMenu: i,
2488
- enableExplorer: i,
2489
- enableAssistiveMml: i
2490
- },
2491
- startup: {
2492
- ready: () => {
2493
- window.MathJax?.startup.defaultReady && (window.MathJax.startup.defaultReady(), t());
2494
- },
2495
- defaultReady: () => {}
2513
+ menuOptions: { settings: {
2514
+ assistiveMml: i,
2515
+ enrich: !1,
2516
+ inTabOrder: !1
2517
+ } }
2496
2518
  }
2497
2519
  };
2498
- r && s.tex && (s.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], s.tex.processEscapes = !0), a || (s.chtml = { fontURL: "" }), window.MathJax = s;
2520
+ r && s.tex && (console.warn(zi), s.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], s.tex.processEscapes = !0), a || (s.chtml = { fontURL: "" }), window.MathJax = s;
2499
2521
  let c = document.createElement("script");
2500
- c.src = o || "https://cdn.jsdelivr.net/npm/mathjax@4/tex-chtml.js", c.async = !0, c.onload = () => {
2501
- setTimeout(t, 100);
2502
- }, c.onerror = () => {
2503
- n(/* @__PURE__ */ Error("Failed to load MathJax"));
2504
- }, document.head.appendChild(c);
2522
+ c.src = o || "https://cdn.jsdelivr.net/npm/mathjax@4.1.3/tex-mml-chtml.js", c.async = !0, c.onerror = () => n(/* @__PURE__ */ Error("Failed to load MathJax")), document.head.appendChild(c);
2505
2523
  });
2506
- return t[Ri] = r, r;
2507
2524
  }
2508
- function Bi() {
2509
- let e = window.MathJax?.startup?.document;
2510
- if (typeof e?.assistiveMml == "function") try {
2511
- e.assistiveMml().updateDocument?.();
2512
- } catch (e) {
2513
- console.warn("[mathjax-renderer] Failed to attach assistive MathML:", e);
2514
- }
2525
+ function Xi(e) {
2526
+ return new Promise((t, n) => {
2527
+ let r = e.startup ?? {};
2528
+ e.startup = r;
2529
+ let i = r.ready;
2530
+ r.ready = () => {
2531
+ let e = Gi()?.startup;
2532
+ i ? i.call(r) : e?.defaultReady?.(), Promise.resolve(e?.promise).then(() => t(), n);
2533
+ };
2534
+ });
2515
2535
  }
2516
- function Vi(e = {}) {
2517
- return async (t) => {
2518
- if (await zi(e), !window.MathJax?.typesetPromise) {
2519
- console.warn("[mathjax-renderer] MathJax not loaded or missing typesetPromise.");
2520
- return;
2521
- }
2522
- await window.MathJax.typesetPromise([t]), Bi();
2536
+ function Zi(e) {
2537
+ let t = Gi();
2538
+ return t ? t.version ? t.startup?.promise ? Promise.resolve(t.startup.promise).then(() => void 0) : Promise.resolve() : Xi(t) : Yi(e);
2539
+ }
2540
+ function Qi(e) {
2541
+ return Zi(e).then(() => {
2542
+ typeof Gi()?.typesetPromise != "function" && console.warn("[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.");
2543
+ });
2544
+ }
2545
+ function $i(e) {
2546
+ let t = globalThis, n = t[Wi];
2547
+ return n || (n = Qi(e), t[Wi] = n), n;
2548
+ }
2549
+ function ea(e = {}) {
2550
+ let t = e.useSingleDollar ?? !1;
2551
+ return async (n) => {
2552
+ if (typeof window > "u" || (qi(n), !Ji(n, t))) return;
2553
+ await $i(e);
2554
+ let r = Gi();
2555
+ await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
2523
2556
  };
2524
2557
  }
2525
- var Hi = "@pie-lib/math-rendering", Ui = null;
2526
- function Wi() {
2527
- return Ui ||= Vi({
2528
- accessibility: !0,
2529
- useSingleDollar: !0
2530
- }), Ui;
2558
+ var ta = "@pie-lib/math-rendering", na = "@pie-lib/math-rendering@2", ra = null;
2559
+ function ia() {
2560
+ return !!window[na]?.opts?.useSingleDollar;
2531
2561
  }
2532
- function Gi() {
2562
+ function aa() {
2563
+ return ra ||= ea({ useSingleDollar: ia() }), ra;
2564
+ }
2565
+ function oa() {
2533
2566
  if (typeof window > "u") return null;
2534
- let e = window[Hi];
2567
+ let e = window[ta];
2535
2568
  return typeof e?.renderMath == "function" ? e : null;
2536
2569
  }
2537
- var Ki = async (e) => {
2570
+ var sa = async (e) => {
2538
2571
  if (typeof window > "u") return;
2539
2572
  let t = typeof e == "string", n;
2540
2573
  t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
2541
- let r = Gi();
2542
- return r ? await r.renderMath?.(n) : await Wi()(n), t ? n.innerHTML : void 0;
2574
+ let r = oa();
2575
+ return r ? await r.renderMath?.(n) : await aa()(n), t ? n.innerHTML : void 0;
2543
2576
  };
2544
2577
  //#endregion
2545
2578
  //#region src/delivery/tile-accessible-name.ts
2546
- function qi(e) {
2579
+ function ca(e) {
2547
2580
  return (e || "").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
2548
2581
  }
2549
- function Ji(e, n) {
2582
+ function la(e, n) {
2550
2583
  let r = (e.imageAlt ?? "").trim();
2551
- return (e.imageUrl ?? "").trim() && r ? r : qi(e.label ?? "") || t("tileFallbackName", n);
2584
+ return (e.imageUrl ?? "").trim() && r ? r : ca(e.label ?? "") || t("tileFallbackName", n);
2552
2585
  }
2553
- function Yi(e, n, r, i) {
2554
- let a = [Ji(e, i), n === null ? t("tileNotPlaced", i) : t("tileInRegion", i, { region: n })];
2586
+ function ua(e, n, r, i) {
2587
+ let a = [la(e, i), n === null ? t("tileNotPlaced", i) : t("tileInRegion", i, { region: n })];
2555
2588
  return r === "correct" && a.push(t("tileCorrect", i)), r === "incorrect" && a.push(t("tileIncorrect", i)), a.join(", ");
2556
2589
  }
2557
2590
  //#endregion
2558
2591
  //#region src/delivery/Tile.svelte
2559
- var Xi = /* @__PURE__ */ Y("<img alt=\"\" class=\"tile-img svelte-1hgaksk\" aria-hidden=\"true\" draggable=\"false\"/>"), Zi = /* @__PURE__ */ Y("<span></span>"), Qi = /* @__PURE__ */ Y("<span class=\"venn-badge venn-badge-correct svelte-1hgaksk\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"currentColor\"><path d=\"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z\"></path></svg></span>"), $i = /* @__PURE__ */ Y("<span class=\"venn-badge venn-badge-incorrect svelte-1hgaksk\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"currentColor\"><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"></path></svg></span>"), ea = /* @__PURE__ */ Y("<button type=\"button\"><span><!> <!></span> <!></button>"), ta = {
2592
+ var da = /* @__PURE__ */ Y("<img alt=\"\" class=\"tile-img svelte-1hgaksk\" aria-hidden=\"true\" draggable=\"false\"/>"), fa = /* @__PURE__ */ Y("<span></span>"), pa = /* @__PURE__ */ Y("<span class=\"venn-badge venn-badge-correct svelte-1hgaksk\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"currentColor\"><path d=\"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z\"></path></svg></span>"), ma = /* @__PURE__ */ Y("<span class=\"venn-badge venn-badge-incorrect svelte-1hgaksk\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"currentColor\"><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"></path></svg></span>"), ha = /* @__PURE__ */ Y("<button type=\"button\"><span><!> <!></span> <!></button>"), ga = {
2560
2593
  hash: "svelte-1hgaksk",
2561
2594
  code: ".venn-tile.svelte-1hgaksk {position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:8px 14px;border:1.5px solid #334155;border-radius:10px;background:#ffffff;color:#0f172a;font-size:14px;font-weight:500;box-shadow:0 1px 2px rgba(15, 23, 42, 0.06);cursor:grab;touch-action:none;user-select:none;transition:box-shadow 120ms ease, transform 120ms ease, background 120ms ease;}.venn-tile.svelte-1hgaksk:focus-visible,\n .venn-tile.focused.svelte-1hgaksk {outline:2px solid var(--vc-focus-ring, #1565c0);outline-offset:2px;}.venn-tile.svelte-1hgaksk:hover:not(:disabled) {background:#f8fafc;}.venn-tile.held.svelte-1hgaksk {cursor:grabbing;box-shadow:0 6px 18px rgba(15, 23, 42, 0.18);transform:translateY(-1px);background:#eef2ff;}.venn-tile.invisible.svelte-1hgaksk {visibility:hidden;}.venn-tile.ghost.svelte-1hgaksk {pointer-events:none;cursor:grabbing;box-shadow:0 10px 24px rgba(15, 23, 42, 0.22);transform:rotate(-1.5deg);background:#ffffff;opacity:0.96;}.venn-tile.correct.svelte-1hgaksk {border-color:#0ea449;}.venn-tile.incorrect.svelte-1hgaksk {border-color:#bf0d00;}.venn-tile.svelte-1hgaksk:disabled {cursor:default;}.tile-body.svelte-1hgaksk {display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;pointer-events:none;max-width:220px;}.tile-body-image.svelte-1hgaksk {flex-direction:column;gap:4px;}.tile-img.svelte-1hgaksk {width:40px;height:40px;object-fit:contain;flex-shrink:0;}.tile-label.svelte-1hgaksk {pointer-events:none;text-align:center;line-height:1.25;word-break:break-word;}.tile-label-below.svelte-1hgaksk {font-size:12px;font-weight:600;}.venn-tile.fit.svelte-1hgaksk {box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;padding:6px 10px;}.fit.svelte-1hgaksk .tile-body:where(.svelte-1hgaksk) {max-width:100%;max-height:100%;overflow:hidden;}.fit.svelte-1hgaksk .tile-label:where(.svelte-1hgaksk) {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;}.fit.svelte-1hgaksk .tile-label-below:where(.svelte-1hgaksk) {-webkit-line-clamp:1;line-clamp:1;}.venn-badge.svelte-1hgaksk {position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#ffffff;}.venn-badge-correct.svelte-1hgaksk {background:#0ea449;}.venn-badge-incorrect.svelte-1hgaksk {background:#bf0d00;}\n @media (prefers-reduced-motion: reduce) {.venn-tile.svelte-1hgaksk {transition:none;}\n }"
2562
2595
  };
2563
- function na(e, t) {
2564
- Ze(t, !0), li(e, ta);
2565
- let n = $(t, "id", 7), r = $(t, "label", 7), i = $(t, "imageUrl", 7), a = $(t, "imageAlt", 7), o = $(t, "name", 7), s = $(t, "language", 7), c = $(t, "correctness", 7, "neutral"), l = $(t, "held", 7, !1), u = $(t, "invisible", 7, !1), d = $(t, "ghost", 7, !1), f = $(t, "disabled", 7, !1), p = $(t, "focused", 7, !1), m = $(t, "fit", 7, !1), h = $(t, "onpointerdown", 7), g = $(t, "onkeydown", 7), _ = $(t, "onkeyup", 7), v = $(t, "onfocus", 7), y = $(t, "onclick", 7), b = /* @__PURE__ */ I(() => o() ?? Ji({
2596
+ function _a(e, t) {
2597
+ Ze(t, !0), li(e, ga);
2598
+ let n = $(t, "id", 7), r = $(t, "label", 7), i = $(t, "imageUrl", 7), a = $(t, "imageAlt", 7), o = $(t, "name", 7), s = $(t, "language", 7), c = $(t, "correctness", 7, "neutral"), l = $(t, "held", 7, !1), u = $(t, "invisible", 7, !1), d = $(t, "ghost", 7, !1), f = $(t, "disabled", 7, !1), p = $(t, "focused", 7, !1), m = $(t, "fit", 7, !1), h = $(t, "onpointerdown", 7), g = $(t, "onkeydown", 7), _ = $(t, "onkeyup", 7), v = $(t, "onfocus", 7), y = $(t, "onclick", 7), b = /* @__PURE__ */ I(() => o() ?? la({
2566
2599
  label: r(),
2567
2600
  imageUrl: i(),
2568
2601
  imageAlt: a()
@@ -2676,19 +2709,19 @@ function na(e, t) {
2676
2709
  set onclick(e) {
2677
2710
  y(e), R();
2678
2711
  }
2679
- }, C = ea();
2712
+ }, C = ha();
2680
2713
  let w;
2681
2714
  var te = H(C);
2682
2715
  let ne;
2683
2716
  var re = H(te), ie = (e) => {
2684
- var t = Xi();
2717
+ var t = da();
2685
2718
  W(() => Q(t, "src", i())), X(e, t);
2686
2719
  };
2687
2720
  Z(re, (e) => {
2688
2721
  J(x) && e(ie);
2689
2722
  });
2690
2723
  var T = U(re, 2), E = (e) => {
2691
- var t = Zi();
2724
+ var t = fa();
2692
2725
  let n;
2693
2726
  ci(t, r, !0), N(t), W(() => n = hi(t, 1, "tile-label svelte-1hgaksk", null, n, { "tile-label-below": J(x) })), X(e, t);
2694
2727
  };
@@ -2696,9 +2729,9 @@ function na(e, t) {
2696
2729
  J(S) && e(E);
2697
2730
  }), N(te);
2698
2731
  var ae = U(te, 2), oe = (e) => {
2699
- X(e, Qi());
2732
+ X(e, pa());
2700
2733
  }, se = (e) => {
2701
- X(e, $i());
2734
+ X(e, ma());
2702
2735
  };
2703
2736
  return Z(ae, (e) => {
2704
2737
  c() === "correct" ? e(oe) : c() === "incorrect" && e(se, 1);
@@ -2729,7 +2762,7 @@ wr([
2729
2762
  "keydown",
2730
2763
  "keyup",
2731
2764
  "click"
2732
- ]), Li(na, {
2765
+ ]), Li(_a, {
2733
2766
  id: {},
2734
2767
  label: {},
2735
2768
  imageUrl: {},
@@ -2751,12 +2784,12 @@ wr([
2751
2784
  }, [], [], { mode: "open" });
2752
2785
  //#endregion
2753
2786
  //#region src/delivery/Tray.svelte
2754
- var ra = /* @__PURE__ */ Y("<div role=\"region\" data-region-key=\"tray\"><div class=\"tray-label svelte-1ogsh8s\"> </div> <div class=\"tray-items svelte-1ogsh8s\"><!></div></div>"), ia = {
2787
+ var va = /* @__PURE__ */ Y("<div role=\"region\" data-region-key=\"tray\"><div class=\"tray-label svelte-1ogsh8s\"> </div> <div class=\"tray-items svelte-1ogsh8s\"><!></div></div>"), ya = {
2755
2788
  hash: "svelte-1ogsh8s",
2756
2789
  code: ".venn-tray.svelte-1ogsh8s {border:1.5px dashed #94a3b8;border-radius:12px;padding:14px 16px;background:#f8fafc;min-height:120px;transition:background 120ms ease, border-color 120ms ease;}.venn-tray.drop-target.svelte-1ogsh8s {background:#e0f2fe;border-color:#0ea5e9;}.venn-tray.focused.svelte-1ogsh8s {outline:2px solid var(--vc-focus-ring, #1565c0);outline-offset:2px;}.tray-label.svelte-1ogsh8s {font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:8px;}.tray-items.svelte-1ogsh8s {display:flex;flex-wrap:wrap;gap:10px;}\n @media (prefers-reduced-motion: reduce) {.venn-tray.svelte-1ogsh8s {transition:none;}\n }"
2757
2790
  };
2758
- function aa(e, t) {
2759
- Ze(t, !0), li(e, ia);
2791
+ function ba(e, t) {
2792
+ Ze(t, !0), li(e, ya);
2760
2793
  let n = $(t, "isDropTarget", 7, !1), r = $(t, "focused", 7, !1), i = $(t, "label", 7), a = $(t, "onpointerenter", 7), o = $(t, "onpointerleave", 7), s = $(t, "children", 7);
2761
2794
  var c = {
2762
2795
  get isDropTarget() {
@@ -2795,7 +2828,7 @@ function aa(e, t) {
2795
2828
  set children(e) {
2796
2829
  s(e), R();
2797
2830
  }
2798
- }, l = ra();
2831
+ }, l = va();
2799
2832
  let u;
2800
2833
  var d = H(l), f = dn(d, !0), p = U(d, 2), m = H(p), h = (e) => {
2801
2834
  var t = Pr();
@@ -2814,7 +2847,7 @@ function aa(e, t) {
2814
2847
  o()?.apply(this, e);
2815
2848
  }), X(e, l), Qe(c);
2816
2849
  }
2817
- Li(aa, {
2850
+ Li(ba, {
2818
2851
  isDropTarget: {},
2819
2852
  focused: {},
2820
2853
  label: {},
@@ -2824,12 +2857,12 @@ Li(aa, {
2824
2857
  }, [], [], { mode: "open" });
2825
2858
  //#endregion
2826
2859
  //#region src/delivery/TeacherInstructions.svelte
2827
- var oa = /* @__PURE__ */ Y("<div class=\"teacher-instructions pie-teacher-instructions svelte-1jhejbv\"><button type=\"button\" class=\"teacher-instructions-toggle pie-teacher-instructions-toggle svelte-1jhejbv\"> </button> <div class=\"teacher-instructions-content pie-teacher-instructions-content svelte-1jhejbv\"></div></div>"), sa = {
2860
+ var xa = /* @__PURE__ */ Y("<div class=\"teacher-instructions pie-teacher-instructions svelte-1jhejbv\"><button type=\"button\" class=\"teacher-instructions-toggle pie-teacher-instructions-toggle svelte-1jhejbv\"> </button> <div class=\"teacher-instructions-content pie-teacher-instructions-content svelte-1jhejbv\"></div></div>"), Sa = {
2828
2861
  hash: "svelte-1jhejbv",
2829
2862
  code: ".teacher-instructions.svelte-1jhejbv {margin-bottom:1rem;}.teacher-instructions-toggle.svelte-1jhejbv {padding:0;border:0;border-bottom:1px dotted currentColor;background:transparent;font:inherit;color:var(--pie-primary, #3f51b5);cursor:pointer;}.teacher-instructions-toggle.svelte-1jhejbv:focus-visible {outline:2px solid var(--vc-focus-ring, #1565c0);outline-offset:2px;}.teacher-instructions-content.svelte-1jhejbv {padding-top:1rem;}"
2830
2863
  };
2831
- function ca(e, t) {
2832
- Ze(t, !0), li(e, sa);
2864
+ function Ca(e, t) {
2865
+ Ze(t, !0), li(e, Sa);
2833
2866
  let n = $(t, "html", 7), r = $(t, "language", 7), i = /* @__PURE__ */ z(!1), a = `venn-teacher-instructions-${Math.random().toString(36).slice(2, 10)}`;
2834
2867
  var o = {
2835
2868
  get html() {
@@ -2844,37 +2877,37 @@ function ca(e, t) {
2844
2877
  set language(e) {
2845
2878
  r(e), R();
2846
2879
  }
2847
- }, c = oa(), l = H(c), u = dn(l, !0), d = U(l, 2);
2880
+ }, c = xa(), l = H(c), u = dn(l, !0), d = U(l, 2);
2848
2881
  return ci(d, n, !0), N(d), N(c), W((e) => {
2849
2882
  Q(l, "aria-expanded", J(i)), Q(l, "aria-controls", a), Vr(u, e), Q(d, "id", a), Q(d, "hidden", !J(i));
2850
2883
  }, [() => s(J(i) ? "hideTeacherInstructions" : "showTeacherInstructions", r())]), Cr("click", l, () => B(i, !J(i))), X(e, c), Qe(o);
2851
2884
  }
2852
- wr(["click"]), Li(ca, {
2885
+ wr(["click"]), Li(Ca, {
2853
2886
  html: {},
2854
2887
  language: {}
2855
2888
  }, [], [], { mode: "open" });
2856
2889
  //#endregion
2857
2890
  //#region src/delivery/layout.ts
2858
- var la = {
2891
+ var wa = {
2859
2892
  w: 120,
2860
2893
  h: 52
2861
- }, ua = {
2894
+ }, Ta = {
2862
2895
  w: 120,
2863
2896
  h: 84
2864
- }, da = .6;
2865
- function fa(e) {
2897
+ }, Ea = .6;
2898
+ function Da(e) {
2866
2899
  return Math.min(1, 44 / Math.min(e.w, e.h));
2867
2900
  }
2868
- var pa = {
2901
+ var Oa = {
2869
2902
  side: 24,
2870
2903
  top: 40,
2871
2904
  radius: 236,
2872
2905
  centerDistance: 200,
2873
2906
  outsideGap: 12,
2874
2907
  outsideStripHeight: 136
2875
- }, ma = .05;
2876
- function ha(e = 1, t = 0) {
2877
- let n = pa.side * e, r = pa.radius * e, i = pa.centerDistance * e, a = pa.top * e + r, o = pa.outsideGap * e, s = Math.max(pa.outsideStripHeight * e, t);
2908
+ }, ka = .05;
2909
+ function Aa(e = 1, t = 0) {
2910
+ let n = Oa.side * e, r = Oa.radius * e, i = Oa.centerDistance * e, a = Oa.top * e + r, o = Oa.outsideGap * e, s = Math.max(Oa.outsideStripHeight * e, t);
2878
2911
  return {
2879
2912
  width: 2 * n + 2 * r + i,
2880
2913
  height: a + r + o + s,
@@ -2892,37 +2925,37 @@ function ha(e = 1, t = 0) {
2892
2925
  }]
2893
2926
  };
2894
2927
  }
2895
- function ga() {
2896
- return ha();
2928
+ function ja() {
2929
+ return Aa();
2897
2930
  }
2898
- function _a(e, t) {
2899
- return `min(100%, max(min(720px, ${da * 100 * e.width / e.height}vh), ${e.width * fa(t)}px))`;
2931
+ function Ma(e, t) {
2932
+ return `min(100%, max(min(720px, ${Ea * 100 * e.width / e.height}vh), ${e.width * Da(t)}px))`;
2900
2933
  }
2901
- function va(e, t, n) {
2902
- return e > 0 ? Math.max(fa(n), Math.min(1, e / t.width)) : 1;
2934
+ function Na(e, t, n) {
2935
+ return e > 0 ? Math.max(Da(n), Math.min(1, e / t.width)) : 1;
2903
2936
  }
2904
- function ya(e, t) {
2937
+ function Pa(e, t) {
2905
2938
  return Math.max(0, Math.floor((e + 8) / (t.w + 8) + 1e-9));
2906
2939
  }
2907
- function ba(e, t) {
2940
+ function Fa(e, t) {
2908
2941
  return t > e.r ? -1 : Math.sqrt(e.r * e.r - t * t);
2909
2942
  }
2910
- function xa(e, t, n) {
2911
- let r = ba(e, Math.max(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2943
+ function Ia(e, t, n) {
2944
+ let r = Fa(e, Math.max(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2912
2945
  return r < 0 ? null : [e.cx - r, e.cx + r];
2913
2946
  }
2914
- function Sa(e, t, n) {
2915
- return ba(e, t <= e.cy && e.cy <= n ? 0 : Math.min(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2947
+ function La(e, t, n) {
2948
+ return Fa(e, t <= e.cy && e.cy <= n ? 0 : Math.min(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2916
2949
  }
2917
- function Ca(e, t, n, r, i) {
2918
- let a = xa(t, r, i), o = xa(n, r, i), s, c;
2950
+ function Ra(e, t, n, r, i) {
2951
+ let a = Ia(t, r, i), o = Ia(n, r, i), s, c;
2919
2952
  if (e === "0") {
2920
2953
  if (!a) return null;
2921
- let e = Sa(n, r, i);
2954
+ let e = La(n, r, i);
2922
2955
  [s, c] = [a[0], e < 0 ? a[1] : Math.min(a[1], n.cx - e)];
2923
2956
  } else if (e === "1") {
2924
2957
  if (!o) return null;
2925
- let e = Sa(t, r, i);
2958
+ let e = La(t, r, i);
2926
2959
  [s, c] = [e < 0 ? o[0] : Math.max(o[0], t.cx + e), o[1]];
2927
2960
  } else {
2928
2961
  if (!a || !o) return null;
@@ -2930,14 +2963,14 @@ function Ca(e, t, n, r, i) {
2930
2963
  }
2931
2964
  return c > s ? [s, c] : null;
2932
2965
  }
2933
- function wa(e, t, n, r) {
2966
+ function za(e, t, n, r) {
2934
2967
  let i = r.h + 8, a = t.cy, o = Math.max(t.r, n.r);
2935
2968
  return [0, .5].map((s) => {
2936
2969
  let c = [], l = Math.ceil(o / i) + 1;
2937
2970
  for (let o = -l; o <= l; o++) {
2938
- let l = a + (o + s) * i, u = Ca(e, t, n, l - r.h / 2 - 6, l + r.h / 2 + 6);
2971
+ let l = a + (o + s) * i, u = Ra(e, t, n, l - r.h / 2 - 6, l + r.h / 2 + 6);
2939
2972
  if (!u) continue;
2940
- let d = u[0] + 6, f = u[1] - 6, p = ya(f - d, r);
2973
+ let d = u[0] + 6, f = u[1] - 6, p = Pa(f - d, r);
2941
2974
  p > 0 && c.push({
2942
2975
  y: l,
2943
2976
  lo: d,
@@ -2948,11 +2981,11 @@ function wa(e, t, n, r) {
2948
2981
  return c;
2949
2982
  });
2950
2983
  }
2951
- function Ta(e) {
2984
+ function Ba(e) {
2952
2985
  return e.reduce((e, t) => e + t.n, 0);
2953
2986
  }
2954
- function Ea(e, t, n) {
2955
- let r = e.width - 6, i = ya(r - 6, n), a = n.h + 8, o = e.height - t, s = i * Math.max(0, Math.floor((o - 12 + 8) / a + 1e-9)), c = {
2987
+ function Va(e, t, n) {
2988
+ let r = e.width - 6, i = Pa(r - 6, n), a = n.h + 8, o = e.height - t, s = i * Math.max(0, Math.floor((o - 12 + 8) / a + 1e-9)), c = {
2956
2989
  x: e.width / 2,
2957
2990
  y: t + o / 2
2958
2991
  };
@@ -2961,7 +2994,7 @@ function Ea(e, t, n) {
2961
2994
  slots: (e) => {
2962
2995
  if (e <= 0) return [];
2963
2996
  let l = Math.min(e, s), u = i > 0 ? Math.ceil(l / i) : 0, d = t + (o - (u * a - 8)) / 2;
2964
- return ja(Aa(Array.from({ length: u }, (e, t) => ({
2997
+ return Ka(Ga(Array.from({ length: u }, (e, t) => ({
2965
2998
  y: d + n.h / 2 + t * a,
2966
2999
  lo: 6,
2967
3000
  hi: r,
@@ -2970,20 +3003,20 @@ function Ea(e, t, n) {
2970
3003
  }
2971
3004
  };
2972
3005
  }
2973
- function Da(e) {
3006
+ function Ha(e) {
2974
3007
  return {
2975
3008
  x: e.x + e.w / 2,
2976
3009
  y: e.y + e.h / 2
2977
3010
  };
2978
3011
  }
2979
- function Oa(e, t, n) {
3012
+ function Ua(e, t, n) {
2980
3013
  let r = t * n.w + (t - 1) * 8, i = (e.lo + e.hi) / 2 - r / 2 + n.w / 2;
2981
3014
  return Array.from({ length: t }, (t, r) => ({
2982
3015
  x: i + r * (n.w + 8),
2983
3016
  y: e.y
2984
3017
  }));
2985
3018
  }
2986
- function ka(e, t, n) {
3019
+ function Wa(e, t, n) {
2987
3020
  let r = [...e].sort((e, n) => Math.abs(e.y - t) - Math.abs(n.y - t) || e.y - n.y), i = [], a = 0;
2988
3021
  for (let e of r) {
2989
3022
  if (a >= n) break;
@@ -2991,39 +3024,39 @@ function ka(e, t, n) {
2991
3024
  }
2992
3025
  return i.sort((e, t) => e.y - t.y);
2993
3026
  }
2994
- function Aa(e, t, n) {
3027
+ function Ga(e, t, n) {
2995
3028
  let r = [], i = t;
2996
3029
  for (let t of e) {
2997
3030
  let e = Math.min(t.n, i);
2998
- r.push(...Oa(t, e, n)), i -= e;
3031
+ r.push(...Ua(t, e, n)), i -= e;
2999
3032
  }
3000
3033
  return r;
3001
3034
  }
3002
- function ja(e, t, n) {
3035
+ function Ka(e, t, n) {
3003
3036
  let r = e[e.length - 1] ?? n;
3004
3037
  for (; e.length < t;) e.push({ ...r });
3005
3038
  return e;
3006
3039
  }
3007
- function Ma(e, t, n, r) {
3008
- let i = Math.max(...e.map(Ta));
3040
+ function qa(e, t, n, r) {
3041
+ let i = Math.max(...e.map(Ba));
3009
3042
  return (a) => {
3010
3043
  if (a <= 0) return [];
3011
3044
  let o = Math.min(a, i), s = null, c = [Infinity, Infinity];
3012
3045
  for (let n of e) {
3013
- if (Ta(n) < o) continue;
3014
- let e = ka(n, t, o), r = Math.abs(e.reduce((e, t) => e + t.y, 0) / e.length - t), i = [e.length, r];
3046
+ if (Ba(n) < o) continue;
3047
+ let e = Wa(n, t, o), r = Math.abs(e.reduce((e, t) => e + t.y, 0) / e.length - t), i = [e.length, r];
3015
3048
  (i[0] < c[0] || i[0] === c[0] && i[1] < c[1] - 1e-9) && (s = e, c = i);
3016
3049
  }
3017
- return ja(s ? Aa(s, o, n) : [], a, r);
3050
+ return Ka(s ? Ga(s, o, n) : [], a, r);
3018
3051
  };
3019
3052
  }
3020
- function Na(e, t, n) {
3053
+ function Ja(e, t, n) {
3021
3054
  let r = t.cy, i = 0, a = Math.min(t.r, n.r);
3022
3055
  for (let o = 0; o < 40; o++) {
3023
- let o = (i + a) / 2, s = Ca(e, t, n, r - o, r + o);
3056
+ let o = (i + a) / 2, s = Ra(e, t, n, r - o, r + o);
3024
3057
  s && s[1] - s[0] >= 2 * o ? i = o : a = o;
3025
3058
  }
3026
- let o = Ca(e, t, n, r - i, r + i) ?? [0, 0];
3059
+ let o = Ra(e, t, n, r - i, r + i) ?? [0, 0];
3027
3060
  return {
3028
3061
  x: o[0] + 1,
3029
3062
  y: r - i + 1,
@@ -3031,26 +3064,26 @@ function Na(e, t, n) {
3031
3064
  h: 2 * i - 2
3032
3065
  };
3033
3066
  }
3034
- function Pa(e, t, n) {
3067
+ function Ya(e, t, n) {
3035
3068
  let [r, i] = t.circles;
3036
- return Math.max(...wa(e, r, i, n).map(Ta));
3069
+ return Math.max(...za(e, r, i, n).map(Ba));
3037
3070
  }
3038
- var Fa = [
3071
+ var Xa = [
3039
3072
  "0",
3040
3073
  "0,1",
3041
3074
  "1"
3042
3075
  ];
3043
- function Ia(e, t = la) {
3044
- let n = ha();
3076
+ function Za(e, t = wa) {
3077
+ let n = Aa();
3045
3078
  for (let r = 1;; r++) {
3046
3079
  let i = n;
3047
- if (Fa.every((n) => Pa(n, i, t) >= (e[n] ?? 0))) break;
3048
- n = ha(1 + r * ma);
3080
+ if (Xa.every((n) => Ya(n, i, t) >= (e[n] ?? 0))) break;
3081
+ n = Aa(1 + r * ka);
3049
3082
  }
3050
- let r = e[""] ?? 0, i = ya(n.width - 12, t), a = Math.ceil(r / i) * (t.h + 8) - 8 + 12;
3051
- return a > n.outsideStripHeight ? ha(n.scale, a) : n;
3083
+ let r = e[""] ?? 0, i = Pa(n.width - 12, t), a = Math.ceil(r / i) * (t.h + 8) - 8 + 12;
3084
+ return a > n.outsideStripHeight ? Aa(n.scale, a) : n;
3052
3085
  }
3053
- function La(e, t = ga(), n = la) {
3086
+ function Qa(e, t = ja(), n = wa) {
3054
3087
  if (e.circles?.length !== 2) throw Error(`buildLayout2Set requires exactly 2 circles (got ${e.circles?.length ?? 0})`);
3055
3088
  let [a, s] = t.circles, c = i(2), l = Math.max(a.cy + a.r, s.cy + s.r), u = Math.min(t.height - t.outsideStripHeight, l + t.outsideGap), d = (e, t, n) => (r, i) => {
3056
3089
  let a = r - e, o = i - t;
@@ -3066,11 +3099,11 @@ function La(e, t = ga(), n = la) {
3066
3099
  y: u,
3067
3100
  w: t.width,
3068
3101
  h: t.height - u
3069
- }, {capacity: g, slots: _} = Ea(t, u, n);
3102
+ }, {capacity: g, slots: _} = Va(t, u, n);
3070
3103
  else if (c === "0" || c === "1" || c === "0,1") {
3071
- d = c === "0" ? (e, t) => f(e, t) && !p(e, t) : c === "1" ? (e, t) => p(e, t) && !f(e, t) : (e, t) => f(e, t) && p(e, t), h = Na(c, a, s);
3072
- let e = wa(c, a, s, n);
3073
- g = Math.max(...e.map(Ta)), _ = Ma(e, a.cy, n, Da(h));
3104
+ d = c === "0" ? (e, t) => f(e, t) && !p(e, t) : c === "1" ? (e, t) => p(e, t) && !f(e, t) : (e, t) => f(e, t) && p(e, t), h = Ja(c, a, s);
3105
+ let e = za(c, a, s, n);
3106
+ g = Math.max(...e.map(Ba)), _ = qa(e, a.cy, n, Ha(h));
3074
3107
  } else d = () => !1, h = {
3075
3108
  x: 0,
3076
3109
  y: 0,
@@ -3092,7 +3125,7 @@ function La(e, t = ga(), n = la) {
3092
3125
  outsideStripTop: u
3093
3126
  };
3094
3127
  }
3095
- function Ra(e, t, n) {
3128
+ function $a(e, t, n) {
3096
3129
  for (let r of [
3097
3130
  "0,1",
3098
3131
  "0",
@@ -3106,7 +3139,7 @@ function Ra(e, t, n) {
3106
3139
  }
3107
3140
  //#endregion
3108
3141
  //#region src/delivery/dnd.ts
3109
- function za({ model: t, session: r, tileId: i, placement: o }) {
3142
+ function eo({ model: t, session: r, tileId: i, placement: o }) {
3110
3143
  let s = a(r, t), c = {
3111
3144
  ...s,
3112
3145
  placements: {
@@ -3116,19 +3149,19 @@ function za({ model: t, session: r, tileId: i, placement: o }) {
3116
3149
  };
3117
3150
  return c.completed = n(t, c), c;
3118
3151
  }
3119
- function Ba(t, n) {
3152
+ function to(t, n) {
3120
3153
  let r = t?.placements?.[n];
3121
3154
  return Array.isArray(r) ? e(r) : null;
3122
3155
  }
3123
- function Va(e, t, n) {
3124
- let r = Ba(e, t);
3156
+ function no(e, t, n) {
3157
+ let r = to(e, t);
3125
3158
  return r === null || n === null ? r === n : c(r, n);
3126
3159
  }
3127
- function Ha(e, t) {
3160
+ function ro(e, t) {
3128
3161
  let n = t?.placements ?? {};
3129
3162
  return (e.tiles || []).filter((e) => n[e.id] == null);
3130
3163
  }
3131
- function Ua(t, n) {
3164
+ function io(t, n) {
3132
3165
  let r = n?.placements ?? {}, i = {};
3133
3166
  for (let n of t.tiles || []) {
3134
3167
  let t = r[n.id];
@@ -3140,12 +3173,12 @@ function Ua(t, n) {
3140
3173
  }
3141
3174
  //#endregion
3142
3175
  //#region src/delivery/VennClassification.svelte
3143
- var Wa = /* @__PURE__ */ Y("<div class=\"venn-prompt svelte-gkcqor\"></div>"), Ga = /* @__PURE__ */ Nr("<svg class=\"toggle-icon svelte-gkcqor\" preserveAspectRatio=\"xMinYMin meet\" version=\"1.1\" viewBox=\"-283 359 34 35\" aria-hidden=\"true\"><circle cx=\"-266\" cy=\"375.9\" r=\"14\" fill=\"#bce2ff\"></circle><path d=\"M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z\" fill=\"#bce2ff\"></path><polygon points=\"-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6\" fill=\"#1a9cff\"></polygon></svg>"), Ka = /* @__PURE__ */ Nr("<svg class=\"toggle-icon svelte-gkcqor\" preserveAspectRatio=\"xMinYMin meet\" version=\"1.1\" viewBox=\"-129.5 127 34 35\" aria-hidden=\"true\"><path style=\"fill: #D0CAC5; stroke: #E6E3E0; stroke-width: 0.75; stroke-miterlimit: 10;\" d=\"M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5 C-97.4,153.5-104.3,160.4-112.9,160.4z\"></path><path style=\"fill: #B3ABA4; stroke: #CDC7C2; stroke-width: 0.5; stroke-miterlimit: 10;\" d=\"M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z\"></path><circle cx=\"-114.2\" cy=\"143.5\" r=\"14\" fill=\"white\"></circle><path d=\"M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z\" fill=\"#bce2ff\"></path><polygon points=\"-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2\" fill=\"#1a9cff\"></polygon></svg>"), qa = /* @__PURE__ */ Y("<button type=\"button\" class=\"toggle-correct svelte-gkcqor\"><!> <span class=\"toggle-label svelte-gkcqor\"> </span></button>"), Ja = /* @__PURE__ */ Y("<div class=\"venn-error svelte-gkcqor\" role=\"alert\"> </div>"), Ya = /* @__PURE__ */ Nr("<circle fill=\"rgba(14, 165, 233, 0.12)\"></circle>"), Xa = /* @__PURE__ */ Nr("<rect x=\"0\" y=\"0\"></rect>"), Za = /* @__PURE__ */ Nr("<circle></circle>"), Qa = /* @__PURE__ */ Nr("<circle fill=\"none\" stroke=\"#1e293b\"></circle>"), $a = /* @__PURE__ */ Nr("<text font-weight=\"600\" fill=\"#0f172a\"> </text>"), eo = /* @__PURE__ */ Y("<div class=\"region-aria svelte-gkcqor\" role=\"region\"></div>"), to = /* @__PURE__ */ Y("<div class=\"tile-wrapper svelte-gkcqor\"><!></div>"), no = /* @__PURE__ */ Y("<div class=\"venn-diagram svelte-gkcqor\"><svg preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\" class=\"svelte-gkcqor\"><defs><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"black\"></rect><circle fill=\"white\"></circle><circle fill=\"black\"></circle></mask><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"black\"></rect><circle fill=\"white\"></circle><circle fill=\"black\"></circle></mask><clipPath clipPathUnits=\"userSpaceOnUse\"><circle></circle></clipPath><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"white\"></rect><circle fill=\"black\"></circle><circle fill=\"black\"></circle></mask></defs><rect fill=\"#ffffff\" stroke=\"#cbd5e1\"></rect><!><!><!><!><!><!><!><line stroke=\"#cbd5e1\"></line></svg> <div class=\"region-labels svelte-gkcqor\" aria-hidden=\"false\"></div> <div class=\"placed-tiles svelte-gkcqor\"></div></div> <!>", 1), ro = /* @__PURE__ */ Y("<div class=\"drag-ghost svelte-gkcqor\"><!></div>"), io = /* @__PURE__ */ Y("<div class=\"venn-root svelte-gkcqor\"><!> <!> <!> <!> <!> <div class=\"sr-only svelte-gkcqor\" aria-live=\"polite\" aria-atomic=\"true\"></div></div>"), ao = {
3176
+ var ao = /* @__PURE__ */ Y("<div class=\"venn-prompt svelte-gkcqor\"></div>"), oo = /* @__PURE__ */ Nr("<svg class=\"toggle-icon svelte-gkcqor\" preserveAspectRatio=\"xMinYMin meet\" version=\"1.1\" viewBox=\"-283 359 34 35\" aria-hidden=\"true\"><circle cx=\"-266\" cy=\"375.9\" r=\"14\" fill=\"#bce2ff\"></circle><path d=\"M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z\" fill=\"#bce2ff\"></path><polygon points=\"-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6\" fill=\"#1a9cff\"></polygon></svg>"), so = /* @__PURE__ */ Nr("<svg class=\"toggle-icon svelte-gkcqor\" preserveAspectRatio=\"xMinYMin meet\" version=\"1.1\" viewBox=\"-129.5 127 34 35\" aria-hidden=\"true\"><path style=\"fill: #D0CAC5; stroke: #E6E3E0; stroke-width: 0.75; stroke-miterlimit: 10;\" d=\"M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5 C-97.4,153.5-104.3,160.4-112.9,160.4z\"></path><path style=\"fill: #B3ABA4; stroke: #CDC7C2; stroke-width: 0.5; stroke-miterlimit: 10;\" d=\"M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z\"></path><circle cx=\"-114.2\" cy=\"143.5\" r=\"14\" fill=\"white\"></circle><path d=\"M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z\" fill=\"#bce2ff\"></path><polygon points=\"-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2\" fill=\"#1a9cff\"></polygon></svg>"), co = /* @__PURE__ */ Y("<button type=\"button\" class=\"toggle-correct svelte-gkcqor\"><!> <span class=\"toggle-label svelte-gkcqor\"> </span></button>"), lo = /* @__PURE__ */ Y("<div class=\"venn-error svelte-gkcqor\" role=\"alert\"> </div>"), uo = /* @__PURE__ */ Nr("<circle fill=\"rgba(14, 165, 233, 0.12)\"></circle>"), fo = /* @__PURE__ */ Nr("<rect x=\"0\" y=\"0\"></rect>"), po = /* @__PURE__ */ Nr("<circle></circle>"), mo = /* @__PURE__ */ Nr("<circle fill=\"none\" stroke=\"#1e293b\"></circle>"), ho = /* @__PURE__ */ Nr("<text font-weight=\"600\" fill=\"#0f172a\"> </text>"), go = /* @__PURE__ */ Y("<div class=\"region-aria svelte-gkcqor\" role=\"region\"></div>"), _o = /* @__PURE__ */ Y("<div class=\"tile-wrapper svelte-gkcqor\"><!></div>"), vo = /* @__PURE__ */ Y("<div class=\"venn-diagram svelte-gkcqor\"><svg preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\" class=\"svelte-gkcqor\"><defs><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"black\"></rect><circle fill=\"white\"></circle><circle fill=\"black\"></circle></mask><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"black\"></rect><circle fill=\"white\"></circle><circle fill=\"black\"></circle></mask><clipPath clipPathUnits=\"userSpaceOnUse\"><circle></circle></clipPath><mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\"><rect x=\"0\" y=\"0\" fill=\"white\"></rect><circle fill=\"black\"></circle><circle fill=\"black\"></circle></mask></defs><rect fill=\"#ffffff\" stroke=\"#cbd5e1\"></rect><!><!><!><!><!><!><!><line stroke=\"#cbd5e1\"></line></svg> <div class=\"region-labels svelte-gkcqor\" aria-hidden=\"false\"></div> <div class=\"placed-tiles svelte-gkcqor\"></div></div> <!>", 1), yo = /* @__PURE__ */ Y("<div class=\"drag-ghost svelte-gkcqor\"><!></div>"), bo = /* @__PURE__ */ Y("<div class=\"venn-root svelte-gkcqor\"><!> <!> <!> <!> <!> <div class=\"sr-only svelte-gkcqor\" aria-live=\"polite\" aria-atomic=\"true\"></div></div>"), xo = {
3144
3177
  hash: "svelte-gkcqor",
3145
3178
  code: ".venn-root.svelte-gkcqor {display:flex;flex-direction:column;gap:16px;padding:16px;color:#0f172a;font-family:system-ui, -apple-system, Segoe UI, Roboto, sans-serif;--vc-focus-ring: var(\n --pie-focus-outline,\n var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565c0))\n );}.venn-prompt.svelte-gkcqor {font-size:16px;line-height:1.5;}.venn-prompt.svelte-gkcqor p {margin:0 0 8px 0;}.toggle-correct.svelte-gkcqor {align-self:center;display:inline-flex;align-items:center;gap:8px;margin:0 0 4px 0;padding:0;background:transparent;border:0;color:inherit;font:inherit;font-size:14px;cursor:pointer;user-select:none;}.toggle-correct.svelte-gkcqor:focus-visible {outline:2px solid var(--vc-focus-ring, #1565c0);outline-offset:2px;border-radius:2px;}.toggle-icon.svelte-gkcqor {width:25px;height:25px;flex-shrink:0;}.toggle-label.svelte-gkcqor {line-height:1.2;}.toggle-correct.svelte-gkcqor:hover .toggle-label:where(.svelte-gkcqor),\n .toggle-correct.svelte-gkcqor:focus-visible .toggle-label:where(.svelte-gkcqor) {text-decoration:underline;}.venn-diagram.svelte-gkcqor {\n /*\n * Width and aspect ratio come from the geometry, inline. The width cap\n * keeps the diagram from dominating wide layouts, and the viewport-height\n * share keeps the prompt, toggle and tray in view in short windows, down\n * to the width that keeps tiles at 44 px (`diagramCssWidth`).\n */position:relative;margin:0 auto;}.venn-diagram.svelte-gkcqor svg:where(.svelte-gkcqor) {width:100%;height:100%;display:block;}.placed-tiles.svelte-gkcqor,\n .region-labels.svelte-gkcqor {position:absolute;inset:0;pointer-events:none;}.tile-wrapper.svelte-gkcqor {position:absolute;display:flex;pointer-events:auto;}.region-aria.svelte-gkcqor {position:absolute;width:1px;height:1px;transform:translate(-50%, -50%);opacity:0;pointer-events:none;}.venn-error.svelte-gkcqor {padding:12px 16px;border:1.5px solid #bf0d00;border-radius:8px;background:#fef2f2;color:#7f1d1d;font-size:14px;}\n /* Tailwind's `sr-only`, scoped: PIE players ship no Tailwind. */.sr-only.svelte-gkcqor {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;}.drag-ghost.svelte-gkcqor {position:fixed;top:0;left:0;transform:translate(-50%, -50%);pointer-events:none;z-index:1000;}"
3146
3179
  };
3147
- function oo(e, n) {
3148
- Ze(n, !0), li(e, ao);
3180
+ function So(e, n) {
3181
+ Ze(n, !0), li(e, xo);
3149
3182
  let r = [{ label: "Set A" }, { label: "Set B" }], i = `venn-${Math.random().toString(36).slice(2, 10)}`, a = `${i}-mask-left-only`, c = `${i}-mask-right-only`, l = `${i}-mask-outside`, u = `${i}-clip-left`, d = null, f = /* @__PURE__ */ z(null), p = null, m = /* @__PURE__ */ z(!1), h = /* @__PURE__ */ z(null), g = /* @__PURE__ */ z(null), _ = /* @__PURE__ */ z(null), v = /* @__PURE__ */ z(null), y = /* @__PURE__ */ z(0), b = null, x = null, S = /* @__PURE__ */ I(() => n?.model?.circles ?? r), ee = /* @__PURE__ */ I(() => J(S).length === 2), C = /* @__PURE__ */ I(() => n?.model?.language), w = /* @__PURE__ */ I(() => ({
3150
3183
  circles: J(S),
3151
3184
  tiles: n?.model?.tiles ?? [],
@@ -3153,7 +3186,7 @@ function oo(e, n) {
3153
3186
  language: J(C),
3154
3187
  scoringPolicy: "partialPerTile",
3155
3188
  promptEnabled: !0
3156
- })), te = /* @__PURE__ */ I(() => n?.model?.env?.mode === "evaluate"), ne = /* @__PURE__ */ I(() => n?.model?.disabled === !0), re = /* @__PURE__ */ I(() => n?.model?.prompt ?? null), T = /* @__PURE__ */ I(() => de(n?.session, n?.model, J(m))), E = /* @__PURE__ */ I(() => ({ placements: J(T) })), ae = /* @__PURE__ */ I(() => Ua(J(w), J(E))), oe = /* @__PURE__ */ I(() => Ha(J(w), J(E))), se = /* @__PURE__ */ I(() => (J(w).tiles ?? []).some((e) => (e.imageUrl ?? "").trim()) ? ua : la), D = /* @__PURE__ */ I(() => Ia(Object.fromEntries(Object.entries(J(ae)).map(([e, t]) => [e, t.length])), J(se))), ce = /* @__PURE__ */ I(() => J(ee) ? La(J(w), J(D), J(se)) : null), le = /* @__PURE__ */ I(() => va(J(y), J(D), J(se))), O = /* @__PURE__ */ I(() => [
3189
+ })), te = /* @__PURE__ */ I(() => n?.model?.env?.mode === "evaluate"), ne = /* @__PURE__ */ I(() => n?.model?.disabled === !0), re = /* @__PURE__ */ I(() => n?.model?.prompt ?? null), T = /* @__PURE__ */ I(() => de(n?.session, n?.model, J(m))), E = /* @__PURE__ */ I(() => ({ placements: J(T) })), ae = /* @__PURE__ */ I(() => io(J(w), J(E))), oe = /* @__PURE__ */ I(() => ro(J(w), J(E))), se = /* @__PURE__ */ I(() => (J(w).tiles ?? []).some((e) => (e.imageUrl ?? "").trim()) ? Ta : wa), D = /* @__PURE__ */ I(() => Za(Object.fromEntries(Object.entries(J(ae)).map(([e, t]) => [e, t.length])), J(se))), ce = /* @__PURE__ */ I(() => J(ee) ? Qa(J(w), J(D), J(se)) : null), le = /* @__PURE__ */ I(() => Na(J(y), J(D), J(se))), O = /* @__PURE__ */ I(() => [
3157
3190
  "0",
3158
3191
  "0,1",
3159
3192
  "1",
@@ -3197,7 +3230,7 @@ function oo(e, n) {
3197
3230
  };
3198
3231
  }
3199
3232
  function me(e, t) {
3200
- let r = za({
3233
+ let r = eo({
3201
3234
  model: J(w),
3202
3235
  session: n?.session,
3203
3236
  tileId: e,
@@ -3221,8 +3254,8 @@ function oo(e, n) {
3221
3254
  b?.(), J(h) !== null && ve();
3222
3255
  }
3223
3256
  function be(e, r) {
3224
- let i = Ji(e, J(C)), a = r === "tray" ? null : r === null ? void 0 : ge(r)?.region;
3225
- if (a === void 0 || Va(n?.session, e.id, a)) {
3257
+ let i = la(e, J(C)), a = r === "tray" ? null : r === null ? void 0 : ge(r)?.region;
3258
+ if (a === void 0 || no(n?.session, e.id, a)) {
3226
3259
  k(t("cancelled", J(C)));
3227
3260
  return;
3228
3261
  }
@@ -3236,7 +3269,7 @@ function oo(e, n) {
3236
3269
  n.preventDefault(), b?.(), n.currentTarget.setPointerCapture?.(n.pointerId), B(h, e.id, !0), B(_, null), B(v, {
3237
3270
  x: n.clientX,
3238
3271
  y: n.clientY
3239
- }, !0), B(g, Se(n.clientX, n.clientY), !0), k(t("pickedUp", J(C), { name: Ji(e, J(C)) }));
3272
+ }, !0), B(g, Se(n.clientX, n.clientY), !0), k(t("pickedUp", J(C), { name: la(e, J(C)) }));
3240
3273
  let r = (e) => {
3241
3274
  B(v, {
3242
3275
  x: e.clientX,
@@ -3257,7 +3290,7 @@ function oo(e, n) {
3257
3290
  if (Ce(e, t)) return "tray";
3258
3291
  let n = pe(e, t);
3259
3292
  if (!n || !J(ce)) return null;
3260
- let r = Ra(J(ce), n.x, n.y);
3293
+ let r = $a(J(ce), n.x, n.y);
3261
3294
  return r ? r.key : null;
3262
3295
  }
3263
3296
  function Ce(e, t) {
@@ -3279,9 +3312,9 @@ function oo(e, n) {
3279
3312
  let t = J(_);
3280
3313
  ve(), be(e, t), we(e.id);
3281
3314
  } else {
3282
- let n = Ba(J(E), e.id), r = n === null ? J(O)[0] ?? null : o(n);
3315
+ let n = to(J(E), e.id), r = n === null ? J(O)[0] ?? null : o(n);
3283
3316
  B(h, e.id, !0), B(_, r, !0), k(t("pickedUpWithKeyboard", J(C), {
3284
- name: Ji(e, J(C)),
3317
+ name: la(e, J(C)),
3285
3318
  target: _e(r ?? "")
3286
3319
  }));
3287
3320
  }
@@ -3333,7 +3366,7 @@ function oo(e, n) {
3333
3366
  if (!d) return;
3334
3367
  let e = (e) => console.warn("venn-classification: MathJax render failed", e);
3335
3368
  try {
3336
- Promise.resolve(Ki(d)).catch(e);
3369
+ Promise.resolve(sa(d)).catch(e);
3337
3370
  } catch (t) {
3338
3371
  e(t);
3339
3372
  }
@@ -3344,8 +3377,8 @@ function oo(e, n) {
3344
3377
  J(T), J(w).tiles?.length, mr().then(j);
3345
3378
  });
3346
3379
  let M = /* @__PURE__ */ I(() => J(te) ? Object.values(n?.model?.correctness ?? {}).filter((e) => e === "incorrect" || e === "unanswered").length : 0), Ae = /* @__PURE__ */ I(() => J(h) === null ? J(g) ?? null : J(g) ?? J(_) ?? null), je = /* @__PURE__ */ I(() => J(Ae) === "0"), Me = /* @__PURE__ */ I(() => J(Ae) === "1"), Ne = /* @__PURE__ */ I(() => J(Ae) === "0,1"), Pe = /* @__PURE__ */ I(() => J(Ae) === ""), Fe = "rgba(37, 99, 235, 0.18)", Ie = /* @__PURE__ */ I(() => J(h) !== null && J(v) !== null ? he(J(h)) : null);
3347
- var Le = io(), Re = H(Le), ze = (e) => {
3348
- ca(e, {
3380
+ var Le = bo(), Re = H(Le), ze = (e) => {
3381
+ Ca(e, {
3349
3382
  get html() {
3350
3383
  return n.model.teacherInstructions;
3351
3384
  },
@@ -3358,17 +3391,17 @@ function oo(e, n) {
3358
3391
  n?.model?.teacherInstructions && e(ze);
3359
3392
  });
3360
3393
  var Be = U(Re, 2), Ve = (e) => {
3361
- var t = Wa();
3394
+ var t = ao();
3362
3395
  ci(t, () => J(re), !0), N(t), X(e, t);
3363
3396
  };
3364
3397
  Z(Be, (e) => {
3365
3398
  J(re) && e(Ve);
3366
3399
  });
3367
3400
  var He = U(Be, 2), Ue = (e) => {
3368
- var t = qa(), n = H(t), r = (e) => {
3369
- X(e, Ga());
3401
+ var t = co(), n = H(t), r = (e) => {
3402
+ X(e, oo());
3370
3403
  }, i = (e) => {
3371
- X(e, Ka());
3404
+ X(e, so());
3372
3405
  };
3373
3406
  Z(n, (e) => {
3374
3407
  J(m) ? e(r) : e(i, -1);
@@ -3382,13 +3415,13 @@ function oo(e, n) {
3382
3415
  J(te) && J(M) > 0 && e(Ue);
3383
3416
  });
3384
3417
  var We = U(He, 2), Ge = (e) => {
3385
- var n = Ja(), r = dn(n, !0);
3418
+ var n = lo(), r = dn(n, !0);
3386
3419
  W((e) => Vr(r, e), [() => t("unsupportedCircles", J(C), {
3387
3420
  count: J(S).length,
3388
3421
  supported: 2
3389
3422
  })]), X(e, n);
3390
3423
  }, Ke = (e) => {
3391
- var n = no(), r = un(n);
3424
+ var n = vo(), r = un(n);
3392
3425
  let i;
3393
3426
  var o = H(r), s = H(o), d = H(s), p = H(d), m = U(p), b = U(m);
3394
3427
  N(d);
@@ -3398,13 +3431,13 @@ function oo(e, n) {
3398
3431
  N(E), N(s);
3399
3432
  var k = U(s), pe = U(k);
3400
3433
  ni(pe, 17, () => J(D).circles, Qr, (e, t) => {
3401
- var n = Ya();
3434
+ var n = uo();
3402
3435
  W(() => {
3403
3436
  Q(n, "cx", J(t).cx), Q(n, "cy", J(t).cy), Q(n, "r", J(t).r);
3404
3437
  }), X(e, n);
3405
3438
  });
3406
3439
  var me = U(pe), he = (e) => {
3407
- var t = Xa();
3440
+ var t = fo();
3408
3441
  Q(t, "fill", Fe), W(() => {
3409
3442
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${a})`);
3410
3443
  }), X(e, t);
@@ -3413,7 +3446,7 @@ function oo(e, n) {
3413
3446
  J(je) && e(he);
3414
3447
  });
3415
3448
  var ge = U(me), _e = (e) => {
3416
- var t = Xa();
3449
+ var t = fo();
3417
3450
  Q(t, "fill", Fe), W(() => {
3418
3451
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${c})`);
3419
3452
  }), X(e, t);
@@ -3422,7 +3455,7 @@ function oo(e, n) {
3422
3455
  J(Me) && e(_e);
3423
3456
  });
3424
3457
  var ve = U(ge), ye = (e) => {
3425
- var t = Za();
3458
+ var t = po();
3426
3459
  Q(t, "fill", Fe), W(() => {
3427
3460
  Q(t, "cx", J(D).circles[1].cx), Q(t, "cy", J(D).circles[1].cy), Q(t, "r", J(D).circles[1].r), Q(t, "clip-path", `url(#${u})`);
3428
3461
  }), X(e, t);
@@ -3431,7 +3464,7 @@ function oo(e, n) {
3431
3464
  J(Ne) && e(ye);
3432
3465
  });
3433
3466
  var be = U(ve), Se = (e) => {
3434
- var t = Xa();
3467
+ var t = fo();
3435
3468
  Q(t, "fill", Fe), W(() => {
3436
3469
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${l})`);
3437
3470
  }), X(e, t);
@@ -3441,14 +3474,14 @@ function oo(e, n) {
3441
3474
  });
3442
3475
  var Ce = U(be);
3443
3476
  ni(Ce, 17, () => J(D).circles, Qr, (e, t) => {
3444
- var n = Qa();
3477
+ var n = mo();
3445
3478
  W(() => {
3446
3479
  Q(n, "cx", J(t).cx), Q(n, "cy", J(t).cy), Q(n, "r", J(t).r), Q(n, "stroke-width", 2 * J(D).scale);
3447
3480
  }), X(e, n);
3448
3481
  });
3449
3482
  var we = U(Ce);
3450
3483
  ni(we, 17, () => J(D).circles, Qr, (e, t, n) => {
3451
- var r = $a();
3484
+ var r = ho();
3452
3485
  Q(r, "text-anchor", n === 0 ? "start" : "end");
3453
3486
  var i = dn(r, !0);
3454
3487
  W((e, t) => {
@@ -3460,7 +3493,7 @@ function oo(e, n) {
3460
3493
  var A = U(o, 2);
3461
3494
  ni(A, 21, () => J(ce).regions, Qr, (e, t) => {
3462
3495
  let n = /* @__PURE__ */ I(() => fe(J(t).hitRect.x + J(t).hitRect.w / 2, J(t).hitRect.y + J(t).hitRect.h / 2));
3463
- var r = eo();
3496
+ var r = go();
3464
3497
  W(() => {
3465
3498
  Q(r, "aria-label", J(t).label), Q(r, "data-region-key", J(t).key), _i(r, `left: ${J(n).left ?? ""}%; top: ${J(n).top ?? ""}%;`);
3466
3499
  }), X(e, r);
@@ -3474,10 +3507,10 @@ function oo(e, n) {
3474
3507
  var n = Pr();
3475
3508
  ni(un(n), 19, i, (e) => e.id, (e, n, r) => {
3476
3509
  let i = /* @__PURE__ */ I(() => fe(J(t)[J(r)].x, J(t)[J(r)].y));
3477
- var o = to(), s = H(o);
3510
+ var o = _o(), s = H(o);
3478
3511
  {
3479
- let e = /* @__PURE__ */ I(() => Yi(J(n), J(a).label, ke(J(n).id), J(C))), t = /* @__PURE__ */ I(() => ke(J(n).id) ?? "neutral"), r = /* @__PURE__ */ I(() => J(h) === J(n).id), i = /* @__PURE__ */ I(() => J(h) === J(n).id && J(v) !== null);
3480
- na(s, {
3512
+ let e = /* @__PURE__ */ I(() => ua(J(n), J(a).label, ke(J(n).id), J(C))), t = /* @__PURE__ */ I(() => ke(J(n).id) ?? "neutral"), r = /* @__PURE__ */ I(() => J(h) === J(n).id), i = /* @__PURE__ */ I(() => J(h) === J(n).id && J(v) !== null);
3513
+ _a(s, {
3481
3514
  fit: !0,
3482
3515
  get id() {
3483
3516
  return J(n).id;
@@ -3522,7 +3555,7 @@ function oo(e, n) {
3522
3555
  var M = U(r, 2);
3523
3556
  {
3524
3557
  let e = /* @__PURE__ */ I(() => J(g) === "tray" || J(h) !== null && J(_) === "tray"), n = /* @__PURE__ */ I(() => t("tray", J(C)));
3525
- aa(M, {
3558
+ ba(M, {
3526
3559
  get isDropTarget() {
3527
3560
  return J(e);
3528
3561
  },
@@ -3533,8 +3566,8 @@ function oo(e, n) {
3533
3566
  var n = Pr();
3534
3567
  ni(un(n), 17, () => J(oe), (e) => e.id, (e, t) => {
3535
3568
  {
3536
- let n = /* @__PURE__ */ I(() => Yi(J(t), null, ke(J(t).id), J(C))), r = /* @__PURE__ */ I(() => ke(J(t).id) ?? "neutral"), i = /* @__PURE__ */ I(() => J(h) === J(t).id), a = /* @__PURE__ */ I(() => J(h) === J(t).id && J(v) !== null);
3537
- na(e, {
3569
+ let n = /* @__PURE__ */ I(() => ua(J(t), null, ke(J(t).id), J(C))), r = /* @__PURE__ */ I(() => ke(J(t).id) ?? "neutral"), i = /* @__PURE__ */ I(() => J(h) === J(t).id), a = /* @__PURE__ */ I(() => J(h) === J(t).id && J(v) !== null);
3570
+ _a(e, {
3538
3571
  get id() {
3539
3572
  return J(t).id;
3540
3573
  },
@@ -3578,14 +3611,14 @@ function oo(e, n) {
3578
3611
  width: e,
3579
3612
  "aspect-ratio": `${J(D).width ?? ""} / ${J(D).height ?? ""}`
3580
3613
  }), Q(o, "viewBox", `0 0 ${J(D).width ?? ""} ${J(D).height ?? ""}`), Q(d, "id", a), Q(d, "width", J(D).width), Q(d, "height", J(D).height), Q(p, "width", J(D).width), Q(p, "height", J(D).height), Q(m, "cx", J(D).circles[0].cx), Q(m, "cy", J(D).circles[0].cy), Q(m, "r", J(D).circles[0].r), Q(b, "cx", J(D).circles[1].cx), Q(b, "cy", J(D).circles[1].cy), Q(b, "r", J(D).circles[1].r), Q(x, "id", c), Q(x, "width", J(D).width), Q(x, "height", J(D).height), Q(S, "width", J(D).width), Q(S, "height", J(D).height), Q(ee, "cx", J(D).circles[1].cx), Q(ee, "cy", J(D).circles[1].cy), Q(ee, "r", J(D).circles[1].r), Q(te, "cx", J(D).circles[0].cx), Q(te, "cy", J(D).circles[0].cy), Q(te, "r", J(D).circles[0].r), Q(re, "id", u), Q(T, "cx", J(D).circles[0].cx), Q(T, "cy", J(D).circles[0].cy), Q(T, "r", J(D).circles[0].r), Q(E, "id", l), Q(E, "width", J(D).width), Q(E, "height", J(D).height), Q(O, "width", J(D).width), Q(O, "height", J(D).height), Q(ue, "cx", J(D).circles[0].cx), Q(ue, "cy", J(D).circles[0].cy), Q(ue, "r", J(D).circles[0].r), Q(de, "cx", J(D).circles[1].cx), Q(de, "cy", J(D).circles[1].cy), Q(de, "r", J(D).circles[1].r), Q(k, "x", J(D).scale), Q(k, "y", J(D).scale), Q(k, "width", J(D).width - 2 * J(D).scale), Q(k, "height", J(D).height - 2 * J(D).scale), Q(k, "stroke-width", 1.5 * J(D).scale), Q(k, "rx", 12 * J(D).scale), Q(Te, "x1", 16 * J(D).scale), Q(Te, "x2", J(D).width - 16 * J(D).scale), Q(Te, "y1", J(ce).outsideStripTop), Q(Te, "y2", J(ce).outsideStripTop), Q(Te, "stroke-width", J(D).scale), Q(Te, "stroke-dasharray", `${4 * J(D).scale} ${6 * J(D).scale}`);
3581
- }, [() => _a(J(D), J(se))]), ki(r, "clientWidth", (e) => B(y, e)), X(e, n);
3614
+ }, [() => Ma(J(D), J(se))]), ki(r, "clientWidth", (e) => B(y, e)), X(e, n);
3582
3615
  };
3583
3616
  Z(We, (e) => {
3584
3617
  J(ce) ? e(Ke, -1) : e(Ge);
3585
3618
  });
3586
3619
  var qe = U(We, 2), Je = (e) => {
3587
- var t = ro();
3588
- na(H(t), {
3620
+ var t = yo();
3621
+ _a(H(t), {
3589
3622
  get id() {
3590
3623
  return J(Ie).id;
3591
3624
  },
@@ -3609,12 +3642,12 @@ function oo(e, n) {
3609
3642
  J(Ie) && J(v) && e(Je);
3610
3643
  }), ji(U(qe, 2), (e) => p = e, () => p), N(Le), ji(Le, (e) => d = e, () => d), Cr("focusout", Le, A), X(e, Le), Qe();
3611
3644
  }
3612
- wr(["focusout", "click"]), Li(oo, {
3645
+ wr(["focusout", "click"]), Li(So, {
3613
3646
  model: { type: "Object" },
3614
3647
  session: { type: "Object" },
3615
3648
  onSessionChange: {}
3616
3649
  }, [], []);
3617
3650
  //#endregion
3618
- export { H as A, Ze as B, Pr as C, J as D, Cr as E, B as F, N as H, z as I, R as L, dn as M, U as N, W as O, tn as P, I as R, X as S, wr as T, ie as U, je as V, Z as _, ji as a, Yr as b, Q as c, _i as d, hi as f, Qr as g, ni as h, $ as i, un as j, Cn as k, wi as l, ci as m, qi as n, ki as o, li as p, Li as r, Si as s, oo as t, Ci as u, Zr as v, Y as w, Vr as x, Xr as y, Qe as z };
3651
+ export { H as A, Ze as B, Pr as C, J as D, Cr as E, B as F, N as H, z as I, R as L, dn as M, U as N, W as O, tn as P, I as R, X as S, wr as T, ie as U, je as V, Z as _, ji as a, Yr as b, Q as c, _i as d, hi as f, Qr as g, ni as h, $ as i, un as j, Cn as k, wi as l, ci as m, ca as n, ki as o, li as p, Li as r, Si as s, So as t, Ci as u, Zr as v, Y as w, Vr as x, Xr as y, Qe as z };
3619
3652
 
3620
- //# sourceMappingURL=VennClassification-CijQL7Lf.js.map
3653
+ //# sourceMappingURL=VennClassification-CsmFY5ZM.js.map