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

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,146 @@ 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
+ });
2535
+ }
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
+ });
2515
2544
  }
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.");
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") return;
2553
+ qi(n);
2554
+ let r = $i(e);
2555
+ if (!Ji(n, t)) {
2556
+ r.catch(() => {});
2520
2557
  return;
2521
2558
  }
2522
- await window.MathJax.typesetPromise([t]), Bi();
2559
+ await r;
2560
+ let i = Gi();
2561
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
2523
2562
  };
2524
2563
  }
2525
- var Hi = "@pie-lib/math-rendering", Ui = null;
2526
- function Wi() {
2527
- return Ui ||= Vi({
2528
- accessibility: !0,
2529
- useSingleDollar: !0
2530
- }), Ui;
2564
+ var ta = "@pie-lib/math-rendering", na = "@pie-lib/math-rendering@2", ra = null;
2565
+ function ia() {
2566
+ return !!window[na]?.opts?.useSingleDollar;
2531
2567
  }
2532
- function Gi() {
2568
+ function aa() {
2569
+ return ra ||= ea({ useSingleDollar: ia() }), ra;
2570
+ }
2571
+ function oa() {
2533
2572
  if (typeof window > "u") return null;
2534
- let e = window[Hi];
2573
+ let e = window[ta];
2535
2574
  return typeof e?.renderMath == "function" ? e : null;
2536
2575
  }
2537
- var Ki = async (e) => {
2576
+ var sa = async (e) => {
2538
2577
  if (typeof window > "u") return;
2539
2578
  let t = typeof e == "string", n;
2540
2579
  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;
2580
+ let r = oa();
2581
+ return r ? await r.renderMath?.(n) : await aa()(n), t ? n.innerHTML : void 0;
2543
2582
  };
2544
2583
  //#endregion
2545
2584
  //#region src/delivery/tile-accessible-name.ts
2546
- function qi(e) {
2585
+ function ca(e) {
2547
2586
  return (e || "").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
2548
2587
  }
2549
- function Ji(e, n) {
2588
+ function la(e, n) {
2550
2589
  let r = (e.imageAlt ?? "").trim();
2551
- return (e.imageUrl ?? "").trim() && r ? r : qi(e.label ?? "") || t("tileFallbackName", n);
2590
+ return (e.imageUrl ?? "").trim() && r ? r : ca(e.label ?? "") || t("tileFallbackName", n);
2552
2591
  }
2553
- function Yi(e, n, r, i) {
2554
- let a = [Ji(e, i), n === null ? t("tileNotPlaced", i) : t("tileInRegion", i, { region: n })];
2592
+ function ua(e, n, r, i) {
2593
+ let a = [la(e, i), n === null ? t("tileNotPlaced", i) : t("tileInRegion", i, { region: n })];
2555
2594
  return r === "correct" && a.push(t("tileCorrect", i)), r === "incorrect" && a.push(t("tileIncorrect", i)), a.join(", ");
2556
2595
  }
2557
2596
  //#endregion
2558
2597
  //#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 = {
2598
+ 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
2599
  hash: "svelte-1hgaksk",
2561
2600
  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
2601
  };
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({
2602
+ function _a(e, t) {
2603
+ Ze(t, !0), li(e, ga);
2604
+ 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
2605
  label: r(),
2567
2606
  imageUrl: i(),
2568
2607
  imageAlt: a()
@@ -2676,19 +2715,19 @@ function na(e, t) {
2676
2715
  set onclick(e) {
2677
2716
  y(e), R();
2678
2717
  }
2679
- }, C = ea();
2718
+ }, C = ha();
2680
2719
  let w;
2681
2720
  var te = H(C);
2682
2721
  let ne;
2683
2722
  var re = H(te), ie = (e) => {
2684
- var t = Xi();
2723
+ var t = da();
2685
2724
  W(() => Q(t, "src", i())), X(e, t);
2686
2725
  };
2687
2726
  Z(re, (e) => {
2688
2727
  J(x) && e(ie);
2689
2728
  });
2690
2729
  var T = U(re, 2), E = (e) => {
2691
- var t = Zi();
2730
+ var t = fa();
2692
2731
  let n;
2693
2732
  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
2733
  };
@@ -2696,9 +2735,9 @@ function na(e, t) {
2696
2735
  J(S) && e(E);
2697
2736
  }), N(te);
2698
2737
  var ae = U(te, 2), oe = (e) => {
2699
- X(e, Qi());
2738
+ X(e, pa());
2700
2739
  }, se = (e) => {
2701
- X(e, $i());
2740
+ X(e, ma());
2702
2741
  };
2703
2742
  return Z(ae, (e) => {
2704
2743
  c() === "correct" ? e(oe) : c() === "incorrect" && e(se, 1);
@@ -2729,7 +2768,7 @@ wr([
2729
2768
  "keydown",
2730
2769
  "keyup",
2731
2770
  "click"
2732
- ]), Li(na, {
2771
+ ]), Li(_a, {
2733
2772
  id: {},
2734
2773
  label: {},
2735
2774
  imageUrl: {},
@@ -2751,12 +2790,12 @@ wr([
2751
2790
  }, [], [], { mode: "open" });
2752
2791
  //#endregion
2753
2792
  //#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 = {
2793
+ 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
2794
  hash: "svelte-1ogsh8s",
2756
2795
  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
2796
  };
2758
- function aa(e, t) {
2759
- Ze(t, !0), li(e, ia);
2797
+ function ba(e, t) {
2798
+ Ze(t, !0), li(e, ya);
2760
2799
  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
2800
  var c = {
2762
2801
  get isDropTarget() {
@@ -2795,7 +2834,7 @@ function aa(e, t) {
2795
2834
  set children(e) {
2796
2835
  s(e), R();
2797
2836
  }
2798
- }, l = ra();
2837
+ }, l = va();
2799
2838
  let u;
2800
2839
  var d = H(l), f = dn(d, !0), p = U(d, 2), m = H(p), h = (e) => {
2801
2840
  var t = Pr();
@@ -2814,7 +2853,7 @@ function aa(e, t) {
2814
2853
  o()?.apply(this, e);
2815
2854
  }), X(e, l), Qe(c);
2816
2855
  }
2817
- Li(aa, {
2856
+ Li(ba, {
2818
2857
  isDropTarget: {},
2819
2858
  focused: {},
2820
2859
  label: {},
@@ -2824,12 +2863,12 @@ Li(aa, {
2824
2863
  }, [], [], { mode: "open" });
2825
2864
  //#endregion
2826
2865
  //#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 = {
2866
+ 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
2867
  hash: "svelte-1jhejbv",
2829
2868
  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
2869
  };
2831
- function ca(e, t) {
2832
- Ze(t, !0), li(e, sa);
2870
+ function Ca(e, t) {
2871
+ Ze(t, !0), li(e, Sa);
2833
2872
  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
2873
  var o = {
2835
2874
  get html() {
@@ -2844,37 +2883,37 @@ function ca(e, t) {
2844
2883
  set language(e) {
2845
2884
  r(e), R();
2846
2885
  }
2847
- }, c = oa(), l = H(c), u = dn(l, !0), d = U(l, 2);
2886
+ }, c = xa(), l = H(c), u = dn(l, !0), d = U(l, 2);
2848
2887
  return ci(d, n, !0), N(d), N(c), W((e) => {
2849
2888
  Q(l, "aria-expanded", J(i)), Q(l, "aria-controls", a), Vr(u, e), Q(d, "id", a), Q(d, "hidden", !J(i));
2850
2889
  }, [() => s(J(i) ? "hideTeacherInstructions" : "showTeacherInstructions", r())]), Cr("click", l, () => B(i, !J(i))), X(e, c), Qe(o);
2851
2890
  }
2852
- wr(["click"]), Li(ca, {
2891
+ wr(["click"]), Li(Ca, {
2853
2892
  html: {},
2854
2893
  language: {}
2855
2894
  }, [], [], { mode: "open" });
2856
2895
  //#endregion
2857
2896
  //#region src/delivery/layout.ts
2858
- var la = {
2897
+ var wa = {
2859
2898
  w: 120,
2860
2899
  h: 52
2861
- }, ua = {
2900
+ }, Ta = {
2862
2901
  w: 120,
2863
2902
  h: 84
2864
- }, da = .6;
2865
- function fa(e) {
2903
+ }, Ea = .6;
2904
+ function Da(e) {
2866
2905
  return Math.min(1, 44 / Math.min(e.w, e.h));
2867
2906
  }
2868
- var pa = {
2907
+ var Oa = {
2869
2908
  side: 24,
2870
2909
  top: 40,
2871
2910
  radius: 236,
2872
2911
  centerDistance: 200,
2873
2912
  outsideGap: 12,
2874
2913
  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);
2914
+ }, ka = .05;
2915
+ function Aa(e = 1, t = 0) {
2916
+ 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
2917
  return {
2879
2918
  width: 2 * n + 2 * r + i,
2880
2919
  height: a + r + o + s,
@@ -2892,37 +2931,37 @@ function ha(e = 1, t = 0) {
2892
2931
  }]
2893
2932
  };
2894
2933
  }
2895
- function ga() {
2896
- return ha();
2934
+ function ja() {
2935
+ return Aa();
2897
2936
  }
2898
- function _a(e, t) {
2899
- return `min(100%, max(min(720px, ${da * 100 * e.width / e.height}vh), ${e.width * fa(t)}px))`;
2937
+ function Ma(e, t) {
2938
+ return `min(100%, max(min(720px, ${Ea * 100 * e.width / e.height}vh), ${e.width * Da(t)}px))`;
2900
2939
  }
2901
- function va(e, t, n) {
2902
- return e > 0 ? Math.max(fa(n), Math.min(1, e / t.width)) : 1;
2940
+ function Na(e, t, n) {
2941
+ return e > 0 ? Math.max(Da(n), Math.min(1, e / t.width)) : 1;
2903
2942
  }
2904
- function ya(e, t) {
2943
+ function Pa(e, t) {
2905
2944
  return Math.max(0, Math.floor((e + 8) / (t.w + 8) + 1e-9));
2906
2945
  }
2907
- function ba(e, t) {
2946
+ function Fa(e, t) {
2908
2947
  return t > e.r ? -1 : Math.sqrt(e.r * e.r - t * t);
2909
2948
  }
2910
- function xa(e, t, n) {
2911
- let r = ba(e, Math.max(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2949
+ function Ia(e, t, n) {
2950
+ let r = Fa(e, Math.max(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2912
2951
  return r < 0 ? null : [e.cx - r, e.cx + r];
2913
2952
  }
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)));
2953
+ function La(e, t, n) {
2954
+ return Fa(e, t <= e.cy && e.cy <= n ? 0 : Math.min(Math.abs(t - e.cy), Math.abs(n - e.cy)));
2916
2955
  }
2917
- function Ca(e, t, n, r, i) {
2918
- let a = xa(t, r, i), o = xa(n, r, i), s, c;
2956
+ function Ra(e, t, n, r, i) {
2957
+ let a = Ia(t, r, i), o = Ia(n, r, i), s, c;
2919
2958
  if (e === "0") {
2920
2959
  if (!a) return null;
2921
- let e = Sa(n, r, i);
2960
+ let e = La(n, r, i);
2922
2961
  [s, c] = [a[0], e < 0 ? a[1] : Math.min(a[1], n.cx - e)];
2923
2962
  } else if (e === "1") {
2924
2963
  if (!o) return null;
2925
- let e = Sa(t, r, i);
2964
+ let e = La(t, r, i);
2926
2965
  [s, c] = [e < 0 ? o[0] : Math.max(o[0], t.cx + e), o[1]];
2927
2966
  } else {
2928
2967
  if (!a || !o) return null;
@@ -2930,14 +2969,14 @@ function Ca(e, t, n, r, i) {
2930
2969
  }
2931
2970
  return c > s ? [s, c] : null;
2932
2971
  }
2933
- function wa(e, t, n, r) {
2972
+ function za(e, t, n, r) {
2934
2973
  let i = r.h + 8, a = t.cy, o = Math.max(t.r, n.r);
2935
2974
  return [0, .5].map((s) => {
2936
2975
  let c = [], l = Math.ceil(o / i) + 1;
2937
2976
  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);
2977
+ let l = a + (o + s) * i, u = Ra(e, t, n, l - r.h / 2 - 6, l + r.h / 2 + 6);
2939
2978
  if (!u) continue;
2940
- let d = u[0] + 6, f = u[1] - 6, p = ya(f - d, r);
2979
+ let d = u[0] + 6, f = u[1] - 6, p = Pa(f - d, r);
2941
2980
  p > 0 && c.push({
2942
2981
  y: l,
2943
2982
  lo: d,
@@ -2948,11 +2987,11 @@ function wa(e, t, n, r) {
2948
2987
  return c;
2949
2988
  });
2950
2989
  }
2951
- function Ta(e) {
2990
+ function Ba(e) {
2952
2991
  return e.reduce((e, t) => e + t.n, 0);
2953
2992
  }
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 = {
2993
+ function Va(e, t, n) {
2994
+ 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
2995
  x: e.width / 2,
2957
2996
  y: t + o / 2
2958
2997
  };
@@ -2961,7 +3000,7 @@ function Ea(e, t, n) {
2961
3000
  slots: (e) => {
2962
3001
  if (e <= 0) return [];
2963
3002
  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) => ({
3003
+ return Ka(Ga(Array.from({ length: u }, (e, t) => ({
2965
3004
  y: d + n.h / 2 + t * a,
2966
3005
  lo: 6,
2967
3006
  hi: r,
@@ -2970,20 +3009,20 @@ function Ea(e, t, n) {
2970
3009
  }
2971
3010
  };
2972
3011
  }
2973
- function Da(e) {
3012
+ function Ha(e) {
2974
3013
  return {
2975
3014
  x: e.x + e.w / 2,
2976
3015
  y: e.y + e.h / 2
2977
3016
  };
2978
3017
  }
2979
- function Oa(e, t, n) {
3018
+ function Ua(e, t, n) {
2980
3019
  let r = t * n.w + (t - 1) * 8, i = (e.lo + e.hi) / 2 - r / 2 + n.w / 2;
2981
3020
  return Array.from({ length: t }, (t, r) => ({
2982
3021
  x: i + r * (n.w + 8),
2983
3022
  y: e.y
2984
3023
  }));
2985
3024
  }
2986
- function ka(e, t, n) {
3025
+ function Wa(e, t, n) {
2987
3026
  let r = [...e].sort((e, n) => Math.abs(e.y - t) - Math.abs(n.y - t) || e.y - n.y), i = [], a = 0;
2988
3027
  for (let e of r) {
2989
3028
  if (a >= n) break;
@@ -2991,39 +3030,39 @@ function ka(e, t, n) {
2991
3030
  }
2992
3031
  return i.sort((e, t) => e.y - t.y);
2993
3032
  }
2994
- function Aa(e, t, n) {
3033
+ function Ga(e, t, n) {
2995
3034
  let r = [], i = t;
2996
3035
  for (let t of e) {
2997
3036
  let e = Math.min(t.n, i);
2998
- r.push(...Oa(t, e, n)), i -= e;
3037
+ r.push(...Ua(t, e, n)), i -= e;
2999
3038
  }
3000
3039
  return r;
3001
3040
  }
3002
- function ja(e, t, n) {
3041
+ function Ka(e, t, n) {
3003
3042
  let r = e[e.length - 1] ?? n;
3004
3043
  for (; e.length < t;) e.push({ ...r });
3005
3044
  return e;
3006
3045
  }
3007
- function Ma(e, t, n, r) {
3008
- let i = Math.max(...e.map(Ta));
3046
+ function qa(e, t, n, r) {
3047
+ let i = Math.max(...e.map(Ba));
3009
3048
  return (a) => {
3010
3049
  if (a <= 0) return [];
3011
3050
  let o = Math.min(a, i), s = null, c = [Infinity, Infinity];
3012
3051
  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];
3052
+ if (Ba(n) < o) continue;
3053
+ 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
3054
  (i[0] < c[0] || i[0] === c[0] && i[1] < c[1] - 1e-9) && (s = e, c = i);
3016
3055
  }
3017
- return ja(s ? Aa(s, o, n) : [], a, r);
3056
+ return Ka(s ? Ga(s, o, n) : [], a, r);
3018
3057
  };
3019
3058
  }
3020
- function Na(e, t, n) {
3059
+ function Ja(e, t, n) {
3021
3060
  let r = t.cy, i = 0, a = Math.min(t.r, n.r);
3022
3061
  for (let o = 0; o < 40; o++) {
3023
- let o = (i + a) / 2, s = Ca(e, t, n, r - o, r + o);
3062
+ let o = (i + a) / 2, s = Ra(e, t, n, r - o, r + o);
3024
3063
  s && s[1] - s[0] >= 2 * o ? i = o : a = o;
3025
3064
  }
3026
- let o = Ca(e, t, n, r - i, r + i) ?? [0, 0];
3065
+ let o = Ra(e, t, n, r - i, r + i) ?? [0, 0];
3027
3066
  return {
3028
3067
  x: o[0] + 1,
3029
3068
  y: r - i + 1,
@@ -3031,26 +3070,26 @@ function Na(e, t, n) {
3031
3070
  h: 2 * i - 2
3032
3071
  };
3033
3072
  }
3034
- function Pa(e, t, n) {
3073
+ function Ya(e, t, n) {
3035
3074
  let [r, i] = t.circles;
3036
- return Math.max(...wa(e, r, i, n).map(Ta));
3075
+ return Math.max(...za(e, r, i, n).map(Ba));
3037
3076
  }
3038
- var Fa = [
3077
+ var Xa = [
3039
3078
  "0",
3040
3079
  "0,1",
3041
3080
  "1"
3042
3081
  ];
3043
- function Ia(e, t = la) {
3044
- let n = ha();
3082
+ function Za(e, t = wa) {
3083
+ let n = Aa();
3045
3084
  for (let r = 1;; r++) {
3046
3085
  let i = n;
3047
- if (Fa.every((n) => Pa(n, i, t) >= (e[n] ?? 0))) break;
3048
- n = ha(1 + r * ma);
3086
+ if (Xa.every((n) => Ya(n, i, t) >= (e[n] ?? 0))) break;
3087
+ n = Aa(1 + r * ka);
3049
3088
  }
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;
3089
+ let r = e[""] ?? 0, i = Pa(n.width - 12, t), a = Math.ceil(r / i) * (t.h + 8) - 8 + 12;
3090
+ return a > n.outsideStripHeight ? Aa(n.scale, a) : n;
3052
3091
  }
3053
- function La(e, t = ga(), n = la) {
3092
+ function Qa(e, t = ja(), n = wa) {
3054
3093
  if (e.circles?.length !== 2) throw Error(`buildLayout2Set requires exactly 2 circles (got ${e.circles?.length ?? 0})`);
3055
3094
  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
3095
  let a = r - e, o = i - t;
@@ -3066,11 +3105,11 @@ function La(e, t = ga(), n = la) {
3066
3105
  y: u,
3067
3106
  w: t.width,
3068
3107
  h: t.height - u
3069
- }, {capacity: g, slots: _} = Ea(t, u, n);
3108
+ }, {capacity: g, slots: _} = Va(t, u, n);
3070
3109
  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));
3110
+ 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);
3111
+ let e = za(c, a, s, n);
3112
+ g = Math.max(...e.map(Ba)), _ = qa(e, a.cy, n, Ha(h));
3074
3113
  } else d = () => !1, h = {
3075
3114
  x: 0,
3076
3115
  y: 0,
@@ -3092,7 +3131,7 @@ function La(e, t = ga(), n = la) {
3092
3131
  outsideStripTop: u
3093
3132
  };
3094
3133
  }
3095
- function Ra(e, t, n) {
3134
+ function $a(e, t, n) {
3096
3135
  for (let r of [
3097
3136
  "0,1",
3098
3137
  "0",
@@ -3106,7 +3145,7 @@ function Ra(e, t, n) {
3106
3145
  }
3107
3146
  //#endregion
3108
3147
  //#region src/delivery/dnd.ts
3109
- function za({ model: t, session: r, tileId: i, placement: o }) {
3148
+ function eo({ model: t, session: r, tileId: i, placement: o }) {
3110
3149
  let s = a(r, t), c = {
3111
3150
  ...s,
3112
3151
  placements: {
@@ -3116,19 +3155,19 @@ function za({ model: t, session: r, tileId: i, placement: o }) {
3116
3155
  };
3117
3156
  return c.completed = n(t, c), c;
3118
3157
  }
3119
- function Ba(t, n) {
3158
+ function to(t, n) {
3120
3159
  let r = t?.placements?.[n];
3121
3160
  return Array.isArray(r) ? e(r) : null;
3122
3161
  }
3123
- function Va(e, t, n) {
3124
- let r = Ba(e, t);
3162
+ function no(e, t, n) {
3163
+ let r = to(e, t);
3125
3164
  return r === null || n === null ? r === n : c(r, n);
3126
3165
  }
3127
- function Ha(e, t) {
3166
+ function ro(e, t) {
3128
3167
  let n = t?.placements ?? {};
3129
3168
  return (e.tiles || []).filter((e) => n[e.id] == null);
3130
3169
  }
3131
- function Ua(t, n) {
3170
+ function io(t, n) {
3132
3171
  let r = n?.placements ?? {}, i = {};
3133
3172
  for (let n of t.tiles || []) {
3134
3173
  let t = r[n.id];
@@ -3140,12 +3179,12 @@ function Ua(t, n) {
3140
3179
  }
3141
3180
  //#endregion
3142
3181
  //#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 = {
3182
+ 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
3183
  hash: "svelte-gkcqor",
3145
3184
  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
3185
  };
3147
- function oo(e, n) {
3148
- Ze(n, !0), li(e, ao);
3186
+ function So(e, n) {
3187
+ Ze(n, !0), li(e, xo);
3149
3188
  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
3189
  circles: J(S),
3151
3190
  tiles: n?.model?.tiles ?? [],
@@ -3153,7 +3192,7 @@ function oo(e, n) {
3153
3192
  language: J(C),
3154
3193
  scoringPolicy: "partialPerTile",
3155
3194
  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(() => [
3195
+ })), 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
3196
  "0",
3158
3197
  "0,1",
3159
3198
  "1",
@@ -3197,7 +3236,7 @@ function oo(e, n) {
3197
3236
  };
3198
3237
  }
3199
3238
  function me(e, t) {
3200
- let r = za({
3239
+ let r = eo({
3201
3240
  model: J(w),
3202
3241
  session: n?.session,
3203
3242
  tileId: e,
@@ -3221,8 +3260,8 @@ function oo(e, n) {
3221
3260
  b?.(), J(h) !== null && ve();
3222
3261
  }
3223
3262
  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)) {
3263
+ let i = la(e, J(C)), a = r === "tray" ? null : r === null ? void 0 : ge(r)?.region;
3264
+ if (a === void 0 || no(n?.session, e.id, a)) {
3226
3265
  k(t("cancelled", J(C)));
3227
3266
  return;
3228
3267
  }
@@ -3236,7 +3275,7 @@ function oo(e, n) {
3236
3275
  n.preventDefault(), b?.(), n.currentTarget.setPointerCapture?.(n.pointerId), B(h, e.id, !0), B(_, null), B(v, {
3237
3276
  x: n.clientX,
3238
3277
  y: n.clientY
3239
- }, !0), B(g, Se(n.clientX, n.clientY), !0), k(t("pickedUp", J(C), { name: Ji(e, J(C)) }));
3278
+ }, !0), B(g, Se(n.clientX, n.clientY), !0), k(t("pickedUp", J(C), { name: la(e, J(C)) }));
3240
3279
  let r = (e) => {
3241
3280
  B(v, {
3242
3281
  x: e.clientX,
@@ -3257,7 +3296,7 @@ function oo(e, n) {
3257
3296
  if (Ce(e, t)) return "tray";
3258
3297
  let n = pe(e, t);
3259
3298
  if (!n || !J(ce)) return null;
3260
- let r = Ra(J(ce), n.x, n.y);
3299
+ let r = $a(J(ce), n.x, n.y);
3261
3300
  return r ? r.key : null;
3262
3301
  }
3263
3302
  function Ce(e, t) {
@@ -3279,9 +3318,9 @@ function oo(e, n) {
3279
3318
  let t = J(_);
3280
3319
  ve(), be(e, t), we(e.id);
3281
3320
  } else {
3282
- let n = Ba(J(E), e.id), r = n === null ? J(O)[0] ?? null : o(n);
3321
+ let n = to(J(E), e.id), r = n === null ? J(O)[0] ?? null : o(n);
3283
3322
  B(h, e.id, !0), B(_, r, !0), k(t("pickedUpWithKeyboard", J(C), {
3284
- name: Ji(e, J(C)),
3323
+ name: la(e, J(C)),
3285
3324
  target: _e(r ?? "")
3286
3325
  }));
3287
3326
  }
@@ -3333,7 +3372,7 @@ function oo(e, n) {
3333
3372
  if (!d) return;
3334
3373
  let e = (e) => console.warn("venn-classification: MathJax render failed", e);
3335
3374
  try {
3336
- Promise.resolve(Ki(d)).catch(e);
3375
+ Promise.resolve(sa(d)).catch(e);
3337
3376
  } catch (t) {
3338
3377
  e(t);
3339
3378
  }
@@ -3344,8 +3383,8 @@ function oo(e, n) {
3344
3383
  J(T), J(w).tiles?.length, mr().then(j);
3345
3384
  });
3346
3385
  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, {
3386
+ var Le = bo(), Re = H(Le), ze = (e) => {
3387
+ Ca(e, {
3349
3388
  get html() {
3350
3389
  return n.model.teacherInstructions;
3351
3390
  },
@@ -3358,17 +3397,17 @@ function oo(e, n) {
3358
3397
  n?.model?.teacherInstructions && e(ze);
3359
3398
  });
3360
3399
  var Be = U(Re, 2), Ve = (e) => {
3361
- var t = Wa();
3400
+ var t = ao();
3362
3401
  ci(t, () => J(re), !0), N(t), X(e, t);
3363
3402
  };
3364
3403
  Z(Be, (e) => {
3365
3404
  J(re) && e(Ve);
3366
3405
  });
3367
3406
  var He = U(Be, 2), Ue = (e) => {
3368
- var t = qa(), n = H(t), r = (e) => {
3369
- X(e, Ga());
3407
+ var t = co(), n = H(t), r = (e) => {
3408
+ X(e, oo());
3370
3409
  }, i = (e) => {
3371
- X(e, Ka());
3410
+ X(e, so());
3372
3411
  };
3373
3412
  Z(n, (e) => {
3374
3413
  J(m) ? e(r) : e(i, -1);
@@ -3382,13 +3421,13 @@ function oo(e, n) {
3382
3421
  J(te) && J(M) > 0 && e(Ue);
3383
3422
  });
3384
3423
  var We = U(He, 2), Ge = (e) => {
3385
- var n = Ja(), r = dn(n, !0);
3424
+ var n = lo(), r = dn(n, !0);
3386
3425
  W((e) => Vr(r, e), [() => t("unsupportedCircles", J(C), {
3387
3426
  count: J(S).length,
3388
3427
  supported: 2
3389
3428
  })]), X(e, n);
3390
3429
  }, Ke = (e) => {
3391
- var n = no(), r = un(n);
3430
+ var n = vo(), r = un(n);
3392
3431
  let i;
3393
3432
  var o = H(r), s = H(o), d = H(s), p = H(d), m = U(p), b = U(m);
3394
3433
  N(d);
@@ -3398,13 +3437,13 @@ function oo(e, n) {
3398
3437
  N(E), N(s);
3399
3438
  var k = U(s), pe = U(k);
3400
3439
  ni(pe, 17, () => J(D).circles, Qr, (e, t) => {
3401
- var n = Ya();
3440
+ var n = uo();
3402
3441
  W(() => {
3403
3442
  Q(n, "cx", J(t).cx), Q(n, "cy", J(t).cy), Q(n, "r", J(t).r);
3404
3443
  }), X(e, n);
3405
3444
  });
3406
3445
  var me = U(pe), he = (e) => {
3407
- var t = Xa();
3446
+ var t = fo();
3408
3447
  Q(t, "fill", Fe), W(() => {
3409
3448
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${a})`);
3410
3449
  }), X(e, t);
@@ -3413,7 +3452,7 @@ function oo(e, n) {
3413
3452
  J(je) && e(he);
3414
3453
  });
3415
3454
  var ge = U(me), _e = (e) => {
3416
- var t = Xa();
3455
+ var t = fo();
3417
3456
  Q(t, "fill", Fe), W(() => {
3418
3457
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${c})`);
3419
3458
  }), X(e, t);
@@ -3422,7 +3461,7 @@ function oo(e, n) {
3422
3461
  J(Me) && e(_e);
3423
3462
  });
3424
3463
  var ve = U(ge), ye = (e) => {
3425
- var t = Za();
3464
+ var t = po();
3426
3465
  Q(t, "fill", Fe), W(() => {
3427
3466
  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
3467
  }), X(e, t);
@@ -3431,7 +3470,7 @@ function oo(e, n) {
3431
3470
  J(Ne) && e(ye);
3432
3471
  });
3433
3472
  var be = U(ve), Se = (e) => {
3434
- var t = Xa();
3473
+ var t = fo();
3435
3474
  Q(t, "fill", Fe), W(() => {
3436
3475
  Q(t, "width", J(D).width), Q(t, "height", J(D).height), Q(t, "mask", `url(#${l})`);
3437
3476
  }), X(e, t);
@@ -3441,14 +3480,14 @@ function oo(e, n) {
3441
3480
  });
3442
3481
  var Ce = U(be);
3443
3482
  ni(Ce, 17, () => J(D).circles, Qr, (e, t) => {
3444
- var n = Qa();
3483
+ var n = mo();
3445
3484
  W(() => {
3446
3485
  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
3486
  }), X(e, n);
3448
3487
  });
3449
3488
  var we = U(Ce);
3450
3489
  ni(we, 17, () => J(D).circles, Qr, (e, t, n) => {
3451
- var r = $a();
3490
+ var r = ho();
3452
3491
  Q(r, "text-anchor", n === 0 ? "start" : "end");
3453
3492
  var i = dn(r, !0);
3454
3493
  W((e, t) => {
@@ -3460,7 +3499,7 @@ function oo(e, n) {
3460
3499
  var A = U(o, 2);
3461
3500
  ni(A, 21, () => J(ce).regions, Qr, (e, t) => {
3462
3501
  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();
3502
+ var r = go();
3464
3503
  W(() => {
3465
3504
  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
3505
  }), X(e, r);
@@ -3474,10 +3513,10 @@ function oo(e, n) {
3474
3513
  var n = Pr();
3475
3514
  ni(un(n), 19, i, (e) => e.id, (e, n, r) => {
3476
3515
  let i = /* @__PURE__ */ I(() => fe(J(t)[J(r)].x, J(t)[J(r)].y));
3477
- var o = to(), s = H(o);
3516
+ var o = _o(), s = H(o);
3478
3517
  {
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, {
3518
+ 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);
3519
+ _a(s, {
3481
3520
  fit: !0,
3482
3521
  get id() {
3483
3522
  return J(n).id;
@@ -3522,7 +3561,7 @@ function oo(e, n) {
3522
3561
  var M = U(r, 2);
3523
3562
  {
3524
3563
  let e = /* @__PURE__ */ I(() => J(g) === "tray" || J(h) !== null && J(_) === "tray"), n = /* @__PURE__ */ I(() => t("tray", J(C)));
3525
- aa(M, {
3564
+ ba(M, {
3526
3565
  get isDropTarget() {
3527
3566
  return J(e);
3528
3567
  },
@@ -3533,8 +3572,8 @@ function oo(e, n) {
3533
3572
  var n = Pr();
3534
3573
  ni(un(n), 17, () => J(oe), (e) => e.id, (e, t) => {
3535
3574
  {
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, {
3575
+ 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);
3576
+ _a(e, {
3538
3577
  get id() {
3539
3578
  return J(t).id;
3540
3579
  },
@@ -3578,14 +3617,14 @@ function oo(e, n) {
3578
3617
  width: e,
3579
3618
  "aspect-ratio": `${J(D).width ?? ""} / ${J(D).height ?? ""}`
3580
3619
  }), 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);
3620
+ }, [() => Ma(J(D), J(se))]), ki(r, "clientWidth", (e) => B(y, e)), X(e, n);
3582
3621
  };
3583
3622
  Z(We, (e) => {
3584
3623
  J(ce) ? e(Ke, -1) : e(Ge);
3585
3624
  });
3586
3625
  var qe = U(We, 2), Je = (e) => {
3587
- var t = ro();
3588
- na(H(t), {
3626
+ var t = yo();
3627
+ _a(H(t), {
3589
3628
  get id() {
3590
3629
  return J(Ie).id;
3591
3630
  },
@@ -3609,12 +3648,12 @@ function oo(e, n) {
3609
3648
  J(Ie) && J(v) && e(Je);
3610
3649
  }), 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
3650
  }
3612
- wr(["focusout", "click"]), Li(oo, {
3651
+ wr(["focusout", "click"]), Li(So, {
3613
3652
  model: { type: "Object" },
3614
3653
  session: { type: "Object" },
3615
3654
  onSessionChange: {}
3616
3655
  }, [], []);
3617
3656
  //#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 };
3657
+ 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
3658
 
3620
- //# sourceMappingURL=VennClassification-CijQL7Lf.js.map
3659
+ //# sourceMappingURL=VennClassification-D7bxMPcn.js.map