@glasshome/ui 1.20.0 → 1.21.1

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.
@@ -14688,11 +14688,10 @@ var dS = Object.assign(lS, {
14688
14688
  window.addEventListener("resize", n), P(() => {
14689
14689
  clearTimeout(e), clearTimeout(t), window.removeEventListener("resize", n);
14690
14690
  });
14691
- }), A(() => {
14692
- t.items.length, o();
14691
+ }), A(wt([() => t.items.length, o], () => {
14693
14692
  let e = setTimeout(S, 150);
14694
14693
  P(() => clearTimeout(e));
14695
- }), (() => {
14694
+ })), (() => {
14696
14695
  var e = vS(), i = e.firstChild, l = i.firstChild, d = l.firstChild, h = l.nextSibling;
14697
14696
  G(e, H({ get class() {
14698
14697
  return D("flex max-w-full items-center justify-center", o() === "floating" ? "p-1 sm:p-2" : "", t.class);
@@ -19083,21 +19082,8 @@ var ck = Object.assign(sk, { Item: ak }), lk = ce({
19083
19082
  "size",
19084
19083
  "tone",
19085
19084
  "children"
19086
- ]), r = () => !e.multiple, [i, a] = M(!1), o, s = () => {
19087
- if (!o) return;
19088
- let e = o.querySelectorAll("[data-slot=\"toggle-group-item\"]"), t = 8 + 4 * Math.max(0, e.length - 1);
19089
- for (let n of e) t += n.scrollWidth;
19090
- let n = o.parentElement?.clientWidth ?? o.clientWidth;
19091
- a(t > n + 1);
19092
- };
19093
- return Tt(() => {
19094
- if (!o || typeof ResizeObserver > "u") return;
19095
- let e = new ResizeObserver(s);
19096
- e.observe(o), o.parentElement && e.observe(o.parentElement), P(() => e.disconnect());
19097
- }), R(ck, H({
19098
- ref: (e) => {
19099
- o = e;
19100
- },
19085
+ ]), r = () => !e.multiple;
19086
+ return R(ck, H({
19101
19087
  "data-slot": "toggle-group",
19102
19088
  get "data-variant"() {
19103
19089
  return t.variant;
@@ -19105,11 +19091,8 @@ var ck = Object.assign(sk, { Item: ak }), lk = ce({
19105
19091
  get "data-size"() {
19106
19092
  return t.size;
19107
19093
  },
19108
- get "data-wrap"() {
19109
- return i() ? "" : void 0;
19110
- },
19111
19094
  get class() {
19112
- return D(`group/toggle-group flex w-fit max-w-full items-center rounded-lg ${se} p-1 data-[variant=outline]:shadow-xs`, i() && "flex-wrap gap-1", t.class);
19095
+ return D(`group/toggle-group flex w-fit max-w-full flex-wrap items-center gap-y-1 rounded-lg ${se} p-1 data-[variant=outline]:shadow-xs`, t.class);
19113
19096
  }
19114
19097
  }, n, { get children() {
19115
19098
  return R(fk.Provider, {
@@ -19135,12 +19118,8 @@ var ck = Object.assign(sk, { Item: ak }), lk = ce({
19135
19118
  get indicatorTone() {
19136
19119
  return t.tone;
19137
19120
  },
19138
- get wrapped() {
19139
- return i();
19140
- },
19141
- get class() {
19142
- return D("flex w-full items-center", i() && "flex-wrap gap-1");
19143
- },
19121
+ wrapped: !0,
19122
+ class: "flex w-full flex-wrap items-center gap-y-1",
19144
19123
  get children() {
19145
19124
  return t.children;
19146
19125
  }
@@ -19168,7 +19147,7 @@ var ck = Object.assign(sk, { Item: ak }), lk = ce({
19168
19147
  return D(lk({
19169
19148
  variant: r.variant || t.variant,
19170
19149
  size: r.size || t.size
19171
- }), "min-w-0 flex-1 shrink-0 rounded-md px-4 shadow-none focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first-of-type:border-l group-data-[wrap]/toggle-group:flex-none", r.sliding ? "hover:text-primary" : "not-data-[pressed]:hover:text-primary data-[pressed]:bg-muted data-[pressed]:text-foreground", t.class);
19150
+ }), "min-w-max flex-1 shrink-0 rounded-md px-4 shadow-none focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first-of-type:border-l", r.sliding ? "hover:text-primary" : "not-data-[pressed]:hover:text-primary data-[pressed]:bg-muted data-[pressed]:text-foreground", t.class);
19172
19151
  }
19173
19152
  }, n));
19174
19153
  }, hk = /*#__PURE__*/ K("<ul class=\"flex list-inside list-disc flex-col gap-1\">"), gk = /*#__PURE__*/ K("<div data-slot=schema-form>"), _k = /*#__PURE__*/ K("<li>"), vk = /*#__PURE__*/ K("<div class=\"flex items-center gap-3\"><span class=text-sm>"), yk = /*#__PURE__*/ K("<p class=\"text-muted-foreground text-sm\">Add at least <!> <!>."), bk = /*#__PURE__*/ K("<fieldset data-slot=schema-form-list>"), xk = /*#__PURE__*/ K("<span data-slot=schema-form-list-item-thumb>"), Sk = /*#__PURE__*/ K("<div data-slot=schema-form-list-row><span class=\"pointer-events-none relative min-w-0 flex-1 truncate text-left text-sm\">"), Ck = /*#__PURE__*/ K("<div class=\"border-border border-t p-3\">"), wk = /*#__PURE__*/ K("<img alt decoding=async class=\"absolute inset-0 h-full w-full object-cover\">"), Tk = /*#__PURE__*/ K("<fieldset class=\"flex w-full min-w-0 flex-col gap-3\"data-slot=schema-form-variants>"), Ek = /*#__PURE__*/ K("<div>"), Dk = /*#__PURE__*/ K("<div class=\"flex flex-wrap gap-1.5\">"), Ok = /*#__PURE__*/ K("<fieldset class=\"flex min-w-0 flex-col gap-2\"data-slot=schema-form-string-list>"), kk = /*#__PURE__*/ K("<button type=button class=\"cursor-pointer rounded-sm hover:text-destructive\">"), Ak = [
@@ -19210,28 +19189,31 @@ function Vk(e) {
19210
19189
  return typeof e == "object" && e ? e : {};
19211
19190
  }
19212
19191
  function Hk(e) {
19192
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" ? String(e) : "";
19193
+ }
19194
+ function Uk(e) {
19213
19195
  let t = {};
19214
19196
  for (let [n, r] of Ik(e)) r.const === void 0 ? r.default !== void 0 && (t[n] = structuredClone(r.default)) : t[n] = structuredClone(r.const);
19215
19197
  return t;
19216
19198
  }
19217
- function Uk(e) {
19199
+ function Wk(e) {
19218
19200
  if (e.default !== void 0) return Vk(structuredClone(e.default));
19219
- let t = Wk(e)[0];
19220
- return Hk(t || e);
19201
+ let t = Gk(e)[0];
19202
+ return Uk(t || e);
19221
19203
  }
19222
- function Wk(e) {
19204
+ function Gk(e) {
19223
19205
  return (e.oneOf ?? e.anyOf ?? []).map(Pk).filter((e) => e.properties !== void 0);
19224
19206
  }
19225
- function Gk(e, t) {
19207
+ function Kk(e, t) {
19226
19208
  let n = Pk(e.properties?.[t]);
19227
19209
  return typeof n.const == "string" ? n.const : "";
19228
19210
  }
19229
- function Kk(e, t, n, r) {
19230
- let i = Hk(e);
19211
+ function qk(e, t, n, r) {
19212
+ let i = Uk(e);
19231
19213
  for (let [n] of Ik(e)) n !== t && n in r && r[n] !== void 0 && (i[n] = r[n]);
19232
19214
  return i[t] = n, i;
19233
19215
  }
19234
- function qk(e) {
19216
+ function Jk(e) {
19235
19217
  let t = () => {
19236
19218
  let t = e.schema;
19237
19219
  return t.type !== "object" || !t.properties ? [] : Ik(t);
@@ -19247,7 +19229,7 @@ function qk(e) {
19247
19229
  get each() {
19248
19230
  return t();
19249
19231
  },
19250
- children: ([t, r]) => R(Zk, {
19232
+ children: ([t, r]) => R(Qk, {
19251
19233
  id: t,
19252
19234
  name: t,
19253
19235
  prop: r,
@@ -19284,7 +19266,7 @@ function qk(e) {
19284
19266
  }), null), z(() => L(r, D("flex w-full min-w-0 flex-col gap-6", e.class))), r;
19285
19267
  })();
19286
19268
  }
19287
- var Jk = [
19269
+ var Yk = [
19288
19270
  ["unknown", (e) => !Nk(e)],
19289
19271
  ["list", (e) => e.formType === "list"],
19290
19272
  ["variants", (e) => e.formType === "variants"],
@@ -19299,10 +19281,10 @@ var Jk = [
19299
19281
  ["strings", (e) => Rk(e)],
19300
19282
  ["group", (e) => Bk(e)]
19301
19283
  ];
19302
- function Yk(e, t) {
19303
- return Jk.find(([, n]) => n(e, t))?.[0] ?? "text";
19284
+ function Xk(e, t) {
19285
+ return Yk.find(([, n]) => n(e, t))?.[0] ?? "text";
19304
19286
  }
19305
- var Xk = {
19287
+ var Zk = {
19306
19288
  text: "for",
19307
19289
  image: "for",
19308
19290
  number: "for",
@@ -19318,14 +19300,14 @@ var Xk = {
19318
19300
  unknown: "none",
19319
19301
  group: "none"
19320
19302
  };
19321
- function Zk(e) {
19322
- let t = () => Yk(e.prop, e.name), n = () => `${e.id}-label`, r = () => Xk[t()];
19303
+ function Qk(e) {
19304
+ let t = () => Xk(e.prop, e.name), n = () => `${e.id}-label`, r = () => Zk[t()];
19323
19305
  return R(O, {
19324
19306
  get when() {
19325
19307
  return t() !== "group";
19326
19308
  },
19327
19309
  get fallback() {
19328
- return R(Qk, e);
19310
+ return R($k, e);
19329
19311
  },
19330
19312
  get children() {
19331
19313
  return R(FC, { get children() {
@@ -19349,7 +19331,7 @@ function Zk(e) {
19349
19331
  return e();
19350
19332
  } })
19351
19333
  }),
19352
- R(Qk, H(e, { get labelledBy() {
19334
+ R($k, H(e, { get labelledBy() {
19353
19335
  return V(() => r() === "labelledby")() ? n() : void 0;
19354
19336
  } }))
19355
19337
  ];
@@ -19357,8 +19339,8 @@ function Zk(e) {
19357
19339
  }
19358
19340
  });
19359
19341
  }
19360
- function Qk(e) {
19361
- let t = () => e.value ?? e.prop.default, n = (t) => e.prop.labels?.[t] ?? t, r = () => Yk(e.prop, e.name);
19342
+ function $k(e) {
19343
+ let t = () => e.value ?? e.prop.default, n = () => Hk(t()), r = (t) => e.prop.labels?.[t] ?? t, i = () => Xk(e.prop, e.name);
19362
19344
  return R(ht, {
19363
19345
  get fallback() {
19364
19346
  return R($y, {
@@ -19367,7 +19349,7 @@ function Qk(e) {
19367
19349
  },
19368
19350
  type: "text",
19369
19351
  get value() {
19370
- return String(t() ?? "");
19352
+ return n();
19371
19353
  },
19372
19354
  onInput: (t) => e.onChange(t.currentTarget.value)
19373
19355
  });
@@ -19376,7 +19358,7 @@ function Qk(e) {
19376
19358
  return [
19377
19359
  R(mt, {
19378
19360
  get when() {
19379
- return r() === "unknown";
19361
+ return i() === "unknown";
19380
19362
  },
19381
19363
  get children() {
19382
19364
  return R(Ba, {
@@ -19388,23 +19370,23 @@ function Qk(e) {
19388
19370
  }),
19389
19371
  R(mt, {
19390
19372
  get when() {
19391
- return r() === "list";
19373
+ return i() === "list";
19392
19374
  },
19393
19375
  get children() {
19394
- return R(eA, e);
19376
+ return R(tA, e);
19395
19377
  }
19396
19378
  }),
19397
19379
  R(mt, {
19398
19380
  get when() {
19399
- return r() === "variants";
19381
+ return i() === "variants";
19400
19382
  },
19401
19383
  get children() {
19402
- return R(tA, e);
19384
+ return R(nA, e);
19403
19385
  }
19404
19386
  }),
19405
19387
  R(mt, {
19406
19388
  get when() {
19407
- return r() === "entities";
19389
+ return i() === "entities";
19408
19390
  },
19409
19391
  get children() {
19410
19392
  return R(hC, {
@@ -19429,7 +19411,7 @@ function Qk(e) {
19429
19411
  }),
19430
19412
  R(mt, {
19431
19413
  get when() {
19432
- return r() === "icon";
19414
+ return i() === "icon";
19433
19415
  },
19434
19416
  get children() {
19435
19417
  return R(Nw, {
@@ -19437,7 +19419,7 @@ function Qk(e) {
19437
19419
  return e.labelledBy;
19438
19420
  },
19439
19421
  get value() {
19440
- return String(t() ?? "");
19422
+ return n();
19441
19423
  },
19442
19424
  onChange: (t) => e.onChange(t),
19443
19425
  get searchIcons() {
@@ -19448,7 +19430,7 @@ function Qk(e) {
19448
19430
  }),
19449
19431
  R(mt, {
19450
19432
  get when() {
19451
- return r() === "image";
19433
+ return i() === "image";
19452
19434
  },
19453
19435
  get children() {
19454
19436
  return R(cE, {
@@ -19459,7 +19441,7 @@ function Qk(e) {
19459
19441
  return e.prop.presets;
19460
19442
  },
19461
19443
  get value() {
19462
- return String(t() ?? "");
19444
+ return n();
19463
19445
  },
19464
19446
  onChange: (t) => e.onChange(t)
19465
19447
  });
@@ -19467,7 +19449,7 @@ function Qk(e) {
19467
19449
  }),
19468
19450
  R(mt, {
19469
19451
  get when() {
19470
- return r() === "area";
19452
+ return i() === "area";
19471
19453
  },
19472
19454
  get children() {
19473
19455
  return R(Dd, {
@@ -19475,7 +19457,7 @@ function Qk(e) {
19475
19457
  return e.labelledBy;
19476
19458
  },
19477
19459
  get value() {
19478
- return String(t() ?? "");
19460
+ return n();
19479
19461
  },
19480
19462
  onChange: (t) => e.onChange(t)
19481
19463
  });
@@ -19483,14 +19465,14 @@ function Qk(e) {
19483
19465
  }),
19484
19466
  R(mt, {
19485
19467
  get when() {
19486
- return V(() => r() === "enum")() && e.prop.icons;
19468
+ return V(() => i() === "enum")() && e.prop.icons;
19487
19469
  },
19488
- children: (r) => R(GD, {
19470
+ children: (t) => R(GD, {
19489
19471
  get "aria-labelledby"() {
19490
19472
  return e.labelledBy;
19491
19473
  },
19492
19474
  get value() {
19493
- return String(t() ?? "");
19475
+ return n();
19494
19476
  },
19495
19477
  onChange: (t) => e.onChange(t),
19496
19478
  class: "grid grid-cols-[repeat(auto-fill,minmax(9rem,1fr))]",
@@ -19502,10 +19484,10 @@ function Qk(e) {
19502
19484
  children: (e) => R(KD, {
19503
19485
  value: e,
19504
19486
  get title() {
19505
- return n(e);
19487
+ return r(e);
19506
19488
  },
19507
19489
  get icon() {
19508
- return r()[e];
19490
+ return t()[e];
19509
19491
  }
19510
19492
  })
19511
19493
  });
@@ -19514,12 +19496,12 @@ function Qk(e) {
19514
19496
  }),
19515
19497
  R(mt, {
19516
19498
  get when() {
19517
- return r() === "enum";
19499
+ return i() === "enum";
19518
19500
  },
19519
19501
  get children() {
19520
19502
  return R(Nb, {
19521
19503
  get value() {
19522
- return String(t() ?? "");
19504
+ return n();
19523
19505
  },
19524
19506
  onChange: (t) => {
19525
19507
  t != null && e.onChange(t);
@@ -19532,7 +19514,7 @@ function Qk(e) {
19532
19514
  return e.item;
19533
19515
  },
19534
19516
  get children() {
19535
- return n(String(e.item.rawValue));
19517
+ return r(String(e.item.rawValue));
19536
19518
  }
19537
19519
  }),
19538
19520
  get children() {
@@ -19542,7 +19524,7 @@ function Qk(e) {
19542
19524
  return e.labelledBy;
19543
19525
  },
19544
19526
  get children() {
19545
- return R(Pb, { children: (e) => n(e.selectedOption()) });
19527
+ return R(Pb, { children: (e) => r(e.selectedOption()) });
19546
19528
  }
19547
19529
  }), R(Ib, {})];
19548
19530
  }
@@ -19551,7 +19533,7 @@ function Qk(e) {
19551
19533
  }),
19552
19534
  R(mt, {
19553
19535
  get when() {
19554
- return r() === "boolean";
19536
+ return i() === "boolean";
19555
19537
  },
19556
19538
  get children() {
19557
19539
  var n = vk(), r = n.firstChild;
@@ -19568,7 +19550,7 @@ function Qk(e) {
19568
19550
  }),
19569
19551
  R(mt, {
19570
19552
  get when() {
19571
- return r() === "number";
19553
+ return i() === "number";
19572
19554
  },
19573
19555
  get children() {
19574
19556
  return R(_D, {
@@ -19593,18 +19575,18 @@ function Qk(e) {
19593
19575
  }),
19594
19576
  R(mt, {
19595
19577
  get when() {
19596
- return r() === "choices";
19578
+ return i() === "choices";
19597
19579
  },
19598
19580
  get children() {
19599
- return R(nA, e);
19581
+ return R(rA, e);
19600
19582
  }
19601
19583
  }),
19602
19584
  R(mt, {
19603
19585
  get when() {
19604
- return r() === "strings";
19586
+ return i() === "strings";
19605
19587
  },
19606
19588
  get children() {
19607
- return R(rA, {
19589
+ return R(iA, {
19608
19590
  get labelledBy() {
19609
19591
  return e.labelledBy;
19610
19592
  },
@@ -19617,7 +19599,7 @@ function Qk(e) {
19617
19599
  }),
19618
19600
  R(mt, {
19619
19601
  get when() {
19620
- return r() === "group";
19602
+ return i() === "group";
19621
19603
  },
19622
19604
  get children() {
19623
19605
  return R(jC, {
@@ -19652,7 +19634,7 @@ function Qk(e) {
19652
19634
  get each() {
19653
19635
  return Ik(e.prop);
19654
19636
  },
19655
- children: ([n, r]) => R(Zk, {
19637
+ children: ([n, r]) => R(Qk, {
19656
19638
  get id() {
19657
19639
  return `${e.id}.${n}`;
19658
19640
  },
@@ -19679,11 +19661,11 @@ function Qk(e) {
19679
19661
  }
19680
19662
  });
19681
19663
  }
19682
- var $k = {
19664
+ var eA = {
19683
19665
  class: "gap-2",
19684
19666
  px: 8
19685
19667
  };
19686
- function eA(e) {
19668
+ function tA(e) {
19687
19669
  let t = () => Fk(e.prop), n = Rw(), [r, i] = M(/* @__PURE__ */ new Set()), a = j(() => {
19688
19670
  let e = Ik(t()).filter(([, e]) => e.formType === "image-picker");
19689
19671
  return e.length === 1 ? e[0]?.[0] : void 0;
@@ -19725,13 +19707,13 @@ function eA(e) {
19725
19707
  a === t ? f(n) : a !== -1 && (t < a && n >= a ? f(a - 1) : t > a && n <= a && f(a + 1));
19726
19708
  }, b = lD({
19727
19709
  count: () => c().length,
19728
- gapPx: $k.px,
19710
+ gapPx: eA.px,
19729
19711
  onReorder: y,
19730
19712
  onDragStart: (e) => {
19731
19713
  d() === e && f(-1);
19732
19714
  }
19733
19715
  }), x = () => {
19734
- let n = [...c(), Uk(t())];
19716
+ let n = [...c(), Wk(t())];
19735
19717
  e.onChange(n), f(n.length - 1);
19736
19718
  };
19737
19719
  return (() => {
@@ -19853,7 +19835,7 @@ function eA(e) {
19853
19835
  }), null), z(() => L(e, D("relative flex min-h-11 select-none items-center gap-1.5 py-1 pr-1.5 pl-2", "transition-colors duration-(--duration-micro) hover:bg-muted/40"))), e;
19854
19836
  })(), R(Nh, { get children() {
19855
19837
  var n = Ck();
19856
- return B(n, R(Zk, {
19838
+ return B(n, R(Qk, {
19857
19839
  get id() {
19858
19840
  return `${e.id}.${u}`;
19859
19841
  },
@@ -19902,7 +19884,7 @@ function eA(e) {
19902
19884
  }), V(() => e.prop.addLabel ?? "Add item")];
19903
19885
  }
19904
19886
  }), null), z((t) => {
19905
- var n = e.labelledBy, i = D("flex w-full min-w-0 flex-col", $k.class);
19887
+ var n = e.labelledBy, i = D("flex w-full min-w-0 flex-col", eA.class);
19906
19888
  return n !== t.e && U(r, "aria-labelledby", t.e = n), i !== t.t && L(r, t.t = i), t;
19907
19889
  }, {
19908
19890
  e: void 0,
@@ -19910,14 +19892,14 @@ function eA(e) {
19910
19892
  }), r;
19911
19893
  })();
19912
19894
  }
19913
- function tA(e) {
19914
- let t = () => Wk(e.prop), n = () => e.prop.discriminator ?? "", r = () => t().map((e) => Gk(e, n())), i = () => Vk(e.value ?? e.prop.default), a = j(() => {
19895
+ function nA(e) {
19896
+ let t = () => Gk(e.prop), n = () => e.prop.discriminator ?? "", r = () => t().map((e) => Kk(e, n())), i = () => Vk(e.value ?? e.prop.default), a = j(() => {
19915
19897
  let e = i()[n()];
19916
19898
  return typeof e == "string" && r().includes(e) ? e : r()[0] ?? "";
19917
- }), o = j(() => t().find((e) => Gk(e, n()) === a())), s = (t) => e.prop.labels?.[t] ?? t, c = (r) => {
19899
+ }), o = j(() => t().find((e) => Kk(e, n()) === a())), s = (t) => e.prop.labels?.[t] ?? t, c = (r) => {
19918
19900
  if (r === a()) return;
19919
- let o = t().find((e) => Gk(e, n()) === r);
19920
- o && e.onChange(Kk(o, n(), r, i()));
19901
+ let o = t().find((e) => Kk(e, n()) === r);
19902
+ o && e.onChange(qk(o, n(), r, i()));
19921
19903
  }, l = j(() => {
19922
19904
  let e = o();
19923
19905
  return e ? Ik(e).filter(([e]) => e !== n()) : [];
@@ -19964,7 +19946,7 @@ function tA(e) {
19964
19946
  get each() {
19965
19947
  return l();
19966
19948
  },
19967
- children: ([t, n]) => R(Zk, {
19949
+ children: ([t, n]) => R(Qk, {
19968
19950
  get id() {
19969
19951
  return `${e.id}.${t}`;
19970
19952
  },
@@ -19986,7 +19968,7 @@ function tA(e) {
19986
19968
  }), null), z(() => U(t, "aria-labelledby", e.labelledBy)), t;
19987
19969
  })();
19988
19970
  }
19989
- function nA(e) {
19971
+ function rA(e) {
19990
19972
  let t = () => e.value ?? e.prop.default, n = () => (Fk(e.prop).enum ?? []).map(String), r = (t) => e.prop.labels?.[t] ?? t;
19991
19973
  return R(pk, {
19992
19974
  multiple: !0,
@@ -20016,7 +19998,7 @@ function nA(e) {
20016
19998
  }
20017
19999
  });
20018
20000
  }
20019
- function rA(e) {
20001
+ function iA(e) {
20020
20002
  let [t, n] = M(""), r = (t) => {
20021
20003
  let r = t.trim();
20022
20004
  !r || e.value.includes(r) || (e.onChange([...e.value, r]), n(""));
@@ -20062,8 +20044,8 @@ function rA(e) {
20062
20044
  At(["pointerdown", "click"]);
20063
20045
  //#endregion
20064
20046
  //#region src/solid/scope-indicator.tsx
20065
- var iA = /*#__PURE__*/ K("<span>(<!>)");
20066
- function aA(e) {
20047
+ var aA = /*#__PURE__*/ K("<span>(<!>)");
20048
+ function oA(e) {
20067
20049
  return R(Ud, {
20068
20050
  tone: "var(--muted-foreground)",
20069
20051
  class: "gap-1 font-mono font-normal",
@@ -20073,7 +20055,7 @@ function aA(e) {
20073
20055
  V(() => e.scope),
20074
20056
  " ",
20075
20057
  (() => {
20076
- var t = iA(), n = t.firstChild.nextSibling;
20058
+ var t = aA(), n = t.firstChild.nextSibling;
20077
20059
  return n.nextSibling, B(t, () => e.type === "personal" ? "personal" : "org", n), t;
20078
20060
  })()
20079
20061
  ];
@@ -20082,16 +20064,16 @@ function aA(e) {
20082
20064
  }
20083
20065
  //#endregion
20084
20066
  //#region src/solid/scroll-area.tsx
20085
- var oA = /*#__PURE__*/ K("<div data-slot=scroll-area><div data-slot=scroll-area-viewport class=\"size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50\">"), sA = (e) => {
20067
+ var sA = /*#__PURE__*/ K("<div data-slot=scroll-area><div data-slot=scroll-area-viewport class=\"size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50\">"), cA = (e) => {
20086
20068
  let [t, n] = F(e, ["class", "children"]);
20087
20069
  return (() => {
20088
- var e = oA(), r = e.firstChild;
20070
+ var e = sA(), r = e.firstChild;
20089
20071
  return G(e, H({ get class() {
20090
20072
  return D("gh-scroll relative overflow-auto", t.class);
20091
20073
  } }, n), !1, !0), B(r, () => t.children), e;
20092
20074
  })();
20093
- }, cA = (e) => null, lA = /*#__PURE__*/ K("<p data-slot=section-empty class=\"py-4 text-center text-muted-foreground text-sm\">"), uA = /*#__PURE__*/ K("<div data-slot=row-actions class=\"flex items-center gap-1\">"), dA = /*#__PURE__*/ K("<div data-slot=labeled-field class=\"flex flex-col gap-1\"><p data-slot=labeled-field-label class=\"font-medium text-sm\">");
20094
- function fA(e) {
20075
+ }, lA = (e) => null, uA = /*#__PURE__*/ K("<p data-slot=section-empty class=\"py-4 text-center text-muted-foreground text-sm\">"), dA = /*#__PURE__*/ K("<div data-slot=row-actions class=\"flex items-center gap-1\">"), fA = /*#__PURE__*/ K("<div data-slot=labeled-field class=\"flex flex-col gap-1\"><p data-slot=labeled-field-label class=\"font-medium text-sm\">");
20076
+ function pA(e) {
20095
20077
  return R(Hf, {
20096
20078
  variant: "outline",
20097
20079
  size: "sm",
@@ -20107,15 +20089,15 @@ function fA(e) {
20107
20089
  }
20108
20090
  });
20109
20091
  }
20110
- function pA(e) {
20092
+ function mA(e) {
20111
20093
  return (() => {
20112
- var t = lA();
20094
+ var t = uA();
20113
20095
  return B(t, () => e.children), t;
20114
20096
  })();
20115
20097
  }
20116
- function mA(e) {
20098
+ function hA(e) {
20117
20099
  return (() => {
20118
- var t = uA();
20100
+ var t = dA();
20119
20101
  return B(t, R(Hf, {
20120
20102
  variant: "ghost",
20121
20103
  size: "icon",
@@ -20160,14 +20142,14 @@ function mA(e) {
20160
20142
  }), null), t;
20161
20143
  })();
20162
20144
  }
20163
- function hA(e) {
20145
+ function gA(e) {
20164
20146
  return (() => {
20165
- var t = dA(), n = t.firstChild;
20147
+ var t = fA(), n = t.firstChild;
20166
20148
  return B(n, () => e.label), B(t, () => e.children, null), t;
20167
20149
  })();
20168
20150
  }
20169
- function gA(e) {
20170
- return R(hA, {
20151
+ function _A(e) {
20152
+ return R(gA, {
20171
20153
  get label() {
20172
20154
  return e.label;
20173
20155
  },
@@ -20189,8 +20171,8 @@ function gA(e) {
20189
20171
  }
20190
20172
  });
20191
20173
  }
20192
- function _A(e) {
20193
- return R(hA, {
20174
+ function vA(e) {
20175
+ return R(gA, {
20194
20176
  get label() {
20195
20177
  return e.label;
20196
20178
  },
@@ -20207,7 +20189,7 @@ function _A(e) {
20207
20189
  }
20208
20190
  });
20209
20191
  }
20210
- function vA(e) {
20192
+ function yA(e) {
20211
20193
  let t = N();
20212
20194
  return R(FC, {
20213
20195
  orientation: "horizontal",
@@ -20280,14 +20262,14 @@ function vA(e) {
20280
20262
  }
20281
20263
  //#endregion
20282
20264
  //#region src/solid/sheet.tsx
20283
- var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full shrink-0 items-end justify-center\">"), bA = (e) => R(Yo, H(e, { preventScroll: !1 })), xA = (e) => R(Yo.Trigger, H({ "data-slot": "sheet-trigger" }, e)), SA = Cs("sheet-close"), CA = (e) => {
20265
+ var bA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full shrink-0 items-end justify-center\">"), xA = (e) => R(Yo, H(e, { preventScroll: !1 })), SA = (e) => R(Yo.Trigger, H({ "data-slot": "sheet-trigger" }, e)), CA = Cs("sheet-close"), wA = (e) => {
20284
20266
  let [t, n] = F(e, [
20285
20267
  "class",
20286
20268
  "variant",
20287
20269
  "size",
20288
20270
  "children"
20289
20271
  ]);
20290
- return R(SA, H({ get class() {
20272
+ return R(CA, H({ get class() {
20291
20273
  return D(h({
20292
20274
  variant: t.variant ?? "outline",
20293
20275
  size: t.size
@@ -20295,7 +20277,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20295
20277
  } }, n, { get children() {
20296
20278
  return t.children ?? "Close";
20297
20279
  } }));
20298
- }, wA = (e) => {
20280
+ }, TA = (e) => {
20299
20281
  let [t, n] = F(e, ["class"]);
20300
20282
  return R(Yo.Overlay, H({
20301
20283
  "data-slot": "sheet-overlay",
@@ -20303,20 +20285,20 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20303
20285
  return D(`${ne} pointer-events-auto fixed inset-0 select-none ${f.overlay} ${s}`, t.class);
20304
20286
  }
20305
20287
  }, n));
20306
- }, TA = `${a} [--glass-sheen:600px_300px]`, EA = `fixed ${f.overlay} flex flex-col overflow-hidden rounded-lg ${TA} transition ease-in-out focus:outline-none focus-visible:outline-none data-[closed]:animate-out data-[expanded]:animate-in data-[closed]:duration-300 data-[expanded]:duration-500`, DA = {
20288
+ }, EA = `${a} [--glass-sheen:600px_300px]`, DA = `fixed ${f.overlay} flex flex-col overflow-hidden rounded-lg ${EA} transition ease-in-out focus:outline-none focus-visible:outline-none data-[closed]:animate-out data-[expanded]:animate-in data-[closed]:duration-300 data-[expanded]:duration-500`, OA = {
20307
20289
  right: "data-[closed]:slide-out-to-right data-[expanded]:slide-in-from-right inset-y-3 right-3 w-3/4 sm:max-w-sm",
20308
20290
  left: "data-[closed]:slide-out-to-left data-[expanded]:slide-in-from-left inset-y-3 left-3 w-3/4 sm:max-w-sm",
20309
20291
  top: `data-[closed]:slide-out-to-top data-[expanded]:slide-in-from-top inset-x-3 top-3 ${cs}`,
20310
20292
  bottom: `data-[closed]:slide-out-to-bottom data-[expanded]:slide-in-from-bottom inset-x-3 bottom-3 ${cs}`
20311
- }, OA = (e) => R(O, {
20293
+ }, kA = (e) => R(O, {
20312
20294
  get when() {
20313
20295
  return e.above;
20314
20296
  },
20315
20297
  get children() {
20316
- var t = yA();
20298
+ var t = bA();
20317
20299
  return B(t, () => e.above), t;
20318
20300
  }
20319
- }), kA = (e) => {
20301
+ }), AA = (e) => {
20320
20302
  let [t, n] = F(e, [
20321
20303
  "class",
20322
20304
  "children",
@@ -20327,7 +20309,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20327
20309
  return R(Yo.Portal, { get children() {
20328
20310
  return [
20329
20311
  R(ws, {}),
20330
- R(wA, {}),
20312
+ R(TA, {}),
20331
20313
  R(Yo.Content, H({
20332
20314
  "data-slot": "sheet-content",
20333
20315
  role: "dialog",
@@ -20335,17 +20317,17 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20335
20317
  return V(() => !!r.titleId())() ? void 0 : t.ariaLabel;
20336
20318
  },
20337
20319
  get class() {
20338
- return D(EA, DA[t.side ?? "right"], t.class);
20320
+ return D(DA, OA[t.side ?? "right"], t.class);
20339
20321
  },
20340
20322
  onOpenAutoFocus: (e) => e.preventDefault()
20341
20323
  }, n, { get children() {
20342
- return [R(OA, { get above() {
20324
+ return [R(kA, { get above() {
20343
20325
  return t.above;
20344
20326
  } }), V(() => t.children)];
20345
20327
  } }))
20346
20328
  ];
20347
20329
  } });
20348
- }, { Header: AA, Body: jA, Footer: MA } = xs("sheet"), NA = (e) => {
20330
+ }, { Header: jA, Body: MA, Footer: NA } = xs("sheet"), PA = (e) => {
20349
20331
  let [t, n] = F(e, ["class"]);
20350
20332
  return R(Yo.Title, H({
20351
20333
  "data-slot": "sheet-title",
@@ -20353,7 +20335,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20353
20335
  return D(ys, t.class);
20354
20336
  }
20355
20337
  }, n));
20356
- }, PA = (e) => {
20338
+ }, FA = (e) => {
20357
20339
  let [t, n] = F(e, ["class"]);
20358
20340
  return R(Yo.Description, H({
20359
20341
  "data-slot": "sheet-description",
@@ -20361,7 +20343,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20361
20343
  return D(bs, t.class);
20362
20344
  }
20363
20345
  }, n));
20364
- }, FA = /*#__PURE__*/ K("<span data-slot=slider-marker class=\"pointer-events-none absolute top-1/2 h-3 w-0.5 -translate-x-1/2 -translate-y-1/2 rounded-full\"style=\"background:color-mix(in oklab, var(--foreground) 60%, transparent)\">"), IA = (e) => {
20346
+ }, IA = /*#__PURE__*/ K("<span data-slot=slider-marker class=\"pointer-events-none absolute top-1/2 h-3 w-0.5 -translate-x-1/2 -translate-y-1/2 rounded-full\"style=\"background:color-mix(in oklab, var(--foreground) 60%, transparent)\">"), LA = (e) => {
20365
20347
  let [t] = F(e, [
20366
20348
  "value",
20367
20349
  "defaultValue",
@@ -20443,7 +20425,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20443
20425
  return t.markers ?? [];
20444
20426
  },
20445
20427
  children: (e) => (() => {
20446
- var t = FA();
20428
+ var t = IA();
20447
20429
  return z((r) => W(t, "left", `${n(e())}%`)), t;
20448
20430
  })()
20449
20431
  }),
@@ -20478,7 +20460,7 @@ var yA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
20478
20460
  };
20479
20461
  //#endregion
20480
20462
  //#region src/lib/spotlight-geometry.ts
20481
- function LA(e, t, n, r) {
20463
+ function RA(e, t, n, r) {
20482
20464
  let i = t ? {
20483
20465
  x: t.x - n,
20484
20466
  y: t.y - n,
@@ -20492,8 +20474,8 @@ function LA(e, t, n, r) {
20492
20474
  }, a = Math.max(0, Math.min(r, i.width / 2, i.height / 2)), o = i.x, s = i.y, c = i.x + i.width, l = i.y + i.height;
20493
20475
  return `M0 0H${e.width}V${e.height}H0ZM${o + a} ${s}H${c - a}A${a} ${a} 0 0 1 ${c} ${s + a}V${l - a}A${a} ${a} 0 0 1 ${c - a} ${l}H${o + a}A${a} ${a} 0 0 1 ${o} ${l - a}V${s + a}A${a} ${a} 0 0 1 ${o + a} ${s}Z`;
20494
20476
  }
20495
- var RA = (e, t, n) => Math.min(Math.max(e, t), n), zA = 28.4;
20496
- function BA(e, t, n, r, i) {
20477
+ var zA = (e, t, n) => Math.min(Math.max(e, t), n), BA = 28.4;
20478
+ function VA(e, t, n, r, i) {
20497
20479
  if (!t) return {
20498
20480
  x: (e.width - n.width) / 2,
20499
20481
  y: (e.height - n.height) / 2,
@@ -20502,33 +20484,33 @@ function BA(e, t, n, r, i) {
20502
20484
  };
20503
20485
  let a = t.x + t.width / 2 - n.width / 2;
20504
20486
  if (t.height > e.height / 2) return {
20505
- x: RA(a, i, e.width - n.width - i),
20506
- y: RA(t.y + r, i, e.height - n.height - i),
20487
+ x: zA(a, i, e.width - n.width - i),
20488
+ y: zA(t.y + r, i, e.height - n.height - i),
20507
20489
  side: "inside",
20508
20490
  tail: null
20509
20491
  };
20510
- let o = t.y + t.height / 2 > e.height / 2 ? "above" : "below", s = o === "above" ? t.y - r - n.height : t.y + t.height + r, c = RA(a, i, e.width - n.width - i), l = t.x + t.width / 2;
20492
+ let o = t.y + t.height / 2 > e.height / 2 ? "above" : "below", s = o === "above" ? t.y - r - n.height : t.y + t.height + r, c = zA(a, i, e.width - n.width - i), l = t.x + t.width / 2;
20511
20493
  return {
20512
20494
  x: c,
20513
- y: RA(s, i, e.height - n.height - i),
20495
+ y: zA(s, i, e.height - n.height - i),
20514
20496
  side: o,
20515
- tail: { x: RA(l - c, zA, n.width - zA) }
20497
+ tail: { x: zA(l - c, BA, n.width - BA) }
20516
20498
  };
20517
20499
  }
20518
20500
  //#endregion
20519
20501
  //#region src/solid/spotlight.tsx
20520
- var VA = /*#__PURE__*/ K("<div data-slot=spotlight-scrim data-expanded aria-hidden=true>"), HA = /*#__PURE__*/ K("<div data-slot=spotlight-bubble><div data-slot=spotlight-panel>"), UA = /*#__PURE__*/ K("<div data-slot=spotlight-tail aria-hidden=true style=width:20px;height:20px>"), WA = 8, GA = 12, KA = 12, qA = 12, JA = 20, YA = 384, XA = KA + JA * Math.SQRT2 / 2;
20521
- function ZA(e, t) {
20502
+ var HA = /*#__PURE__*/ K("<div data-slot=spotlight-scrim data-expanded aria-hidden=true>"), UA = /*#__PURE__*/ K("<div data-slot=spotlight-bubble><div data-slot=spotlight-panel>"), WA = /*#__PURE__*/ K("<div data-slot=spotlight-tail aria-hidden=true style=width:20px;height:20px>"), GA = 8, KA = 12, qA = 12, JA = 12, YA = 20, XA = 384, ZA = qA + YA * Math.SQRT2 / 2;
20503
+ function QA(e, t) {
20522
20504
  return e === t ? !0 : !e || !t ? !1 : Object.keys(e).every((n) => e[n] === t[n]);
20523
20505
  }
20524
- var QA = (e) => {
20525
- let [t, n] = M(null, { equals: ZA }), [r, i] = M(null, { equals: ZA }), [a, o] = M({
20506
+ var $A = (e) => {
20507
+ let [t, n] = M(null, { equals: QA }), [r, i] = M(null, { equals: QA }), [a, o] = M({
20526
20508
  width: window.innerWidth,
20527
20509
  height: window.innerHeight
20528
- }, { equals: ZA }), [c, u] = M({
20529
- width: YA,
20510
+ }, { equals: QA }), [c, u] = M({
20511
+ width: XA,
20530
20512
  height: 96
20531
- }, { equals: ZA }), d, p = () => e.anchor ?? e.target, m = (e) => {
20513
+ }, { equals: QA }), d, p = () => e.anchor ?? e.target, m = (e) => {
20532
20514
  let t = e?.getBoundingClientRect();
20533
20515
  return t ? {
20534
20516
  x: t.left,
@@ -20545,7 +20527,7 @@ var QA = (e) => {
20545
20527
  n(t);
20546
20528
  let r = p();
20547
20529
  i(r === e.target ? t : m(r)), d && u({
20548
- width: d.offsetWidth || YA,
20530
+ width: d.offsetWidth || XA,
20549
20531
  height: d.offsetHeight || 96
20550
20532
  });
20551
20533
  };
@@ -20569,16 +20551,16 @@ var QA = (e) => {
20569
20551
  window.removeEventListener("resize", h), window.removeEventListener("scroll", h, { capture: !0 }), document.removeEventListener("keydown", t);
20570
20552
  });
20571
20553
  });
20572
- let g = () => BA(a(), r(), c(), XA, qA);
20554
+ let g = () => VA(a(), r(), c(), ZA, JA);
20573
20555
  return R(Ot, { get children() {
20574
20556
  return [R(O, {
20575
20557
  get when() {
20576
20558
  return e.scrim;
20577
20559
  },
20578
20560
  get children() {
20579
- var n = VA();
20561
+ var n = HA();
20580
20562
  return z((r) => {
20581
- var i = D("fixed inset-0", s, f.overlay, ne, S, !t() && !e.blocking && "pointer-events-none"), o = `path(evenodd, "${LA(a(), t(), e.pad ?? WA, GA)}")`;
20563
+ var i = D("fixed inset-0", s, f.overlay, ne, S, !t() && !e.blocking && "pointer-events-none"), o = `path(evenodd, "${RA(a(), t(), e.pad ?? GA, KA)}")`;
20582
20564
  return i !== r.e && L(n, r.e = i), o !== r.t && W(n, "clip-path", r.t = o), r;
20583
20565
  }, {
20584
20566
  e: void 0,
@@ -20586,16 +20568,16 @@ var QA = (e) => {
20586
20568
  }), n;
20587
20569
  }
20588
20570
  }), (() => {
20589
- var t = HA(), n = t.firstChild, r = d;
20571
+ var t = UA(), n = t.firstChild, r = d;
20590
20572
  return typeof r == "function" ? Pt(r, t) : d = t, B(t, R(O, {
20591
20573
  get when() {
20592
20574
  return g().tail;
20593
20575
  },
20594
20576
  children: (e) => (() => {
20595
- var t = UA();
20577
+ var t = WA();
20596
20578
  return z((n) => {
20597
20579
  var r = g().side, i = D(oe, "absolute rotate-45 rounded-[2px]"), a = {
20598
- left: `${e().x - JA / 2}px`,
20580
+ left: `${e().x - YA / 2}px`,
20599
20581
  ...g().side === "above" ? { bottom: `${-20 / 2}px` } : { top: `${-20 / 2}px` }
20600
20582
  };
20601
20583
  return r !== n.e && U(t, "data-side", n.e = r), i !== n.t && L(t, n.t = i), n.a = Nt(t, a, n.a), n;
@@ -20616,17 +20598,17 @@ var QA = (e) => {
20616
20598
  }), t;
20617
20599
  })()];
20618
20600
  } });
20619
- }, $A = /*#__PURE__*/ K("<div data-slot=step-indicator><span class=sr-only>"), ej = /*#__PURE__*/ K("<span data-slot=step-indicator-segment>");
20620
- function tj(e) {
20601
+ }, ej = /*#__PURE__*/ K("<div data-slot=step-indicator><span class=sr-only>"), tj = /*#__PURE__*/ K("<span data-slot=step-indicator-segment>");
20602
+ function nj(e) {
20621
20603
  let t = () => Array.from({ length: Math.max(e.count, 0) }, (e, t) => t);
20622
20604
  return (() => {
20623
- var n = $A(), r = n.firstChild;
20605
+ var n = ej(), r = n.firstChild;
20624
20606
  return B(r, () => `Step ${e.index + 1} of ${e.count}`), B(n, R(ft, {
20625
20607
  get each() {
20626
20608
  return t();
20627
20609
  },
20628
20610
  children: (t) => (() => {
20629
- var n = ej();
20611
+ var n = tj();
20630
20612
  return z((r) => {
20631
20613
  var i = t === e.index ? "step" : void 0, a = D(et, "w-6", t <= e.index && "glass glass-tint [--glass-tone:var(--primary)] [--glass-wash:70%] [--glass-drop:0%]");
20632
20614
  return i !== r.e && U(n, "aria-current", r.e = i), a !== r.t && L(n, r.t = a), r;
@@ -20640,8 +20622,8 @@ function tj(e) {
20640
20622
  }
20641
20623
  //#endregion
20642
20624
  //#region src/solid/swatch-picker.tsx
20643
- var nj = /*#__PURE__*/ K("<span data-slot=swatch-picker-swatch class=\"block aspect-square w-full max-w-9 rounded-full border border-foreground/15 transition-glass duration-200 group-active/swatch:scale-90 group-has-[:focus-visible]/swatch:ring-[3px] group-has-[:focus-visible]/swatch:ring-ring/50 group-data-[checked]/swatch:ring-2 group-data-[checked]/swatch:ring-foreground group-data-[checked]/swatch:ring-offset-2 group-data-[checked]/swatch:ring-offset-transparent\">"), rj = /*#__PURE__*/ K("<span class=sr-only>");
20644
- function ij(e) {
20625
+ var rj = /*#__PURE__*/ K("<span data-slot=swatch-picker-swatch class=\"block aspect-square w-full max-w-9 rounded-full border border-foreground/15 transition-glass duration-200 group-active/swatch:scale-90 group-has-[:focus-visible]/swatch:ring-[3px] group-has-[:focus-visible]/swatch:ring-ring/50 group-data-[checked]/swatch:ring-2 group-data-[checked]/swatch:ring-foreground group-data-[checked]/swatch:ring-offset-2 group-data-[checked]/swatch:ring-offset-transparent\">"), ij = /*#__PURE__*/ K("<span class=sr-only>");
20626
+ function aj(e) {
20645
20627
  return R(ND, {
20646
20628
  "data-slot": "swatch-picker",
20647
20629
  get class() {
@@ -20668,10 +20650,10 @@ function ij(e) {
20668
20650
  class: "group/swatch",
20669
20651
  get children() {
20670
20652
  return [(() => {
20671
- var e = nj();
20653
+ var e = rj();
20672
20654
  return W(e, "background", t), e;
20673
20655
  })(), (() => {
20674
- var r = rj();
20656
+ var r = ij();
20675
20657
  return B(r, () => e.labelOf?.(t, n()) ?? `Colour ${n() + 1}`), r;
20676
20658
  })()];
20677
20659
  }
@@ -20682,45 +20664,45 @@ function ij(e) {
20682
20664
  }
20683
20665
  //#endregion
20684
20666
  //#region src/solid/textarea.tsx
20685
- var aj = /*#__PURE__*/ K("<textarea data-slot=textarea>"), oj = (e) => {
20667
+ var oj = /*#__PURE__*/ K("<textarea data-slot=textarea>"), sj = (e) => {
20686
20668
  let [t, n] = F(e, ["class"]);
20687
20669
  return (() => {
20688
- var e = aj();
20670
+ var e = oj();
20689
20671
  return G(e, H({ get class() {
20690
20672
  return D(be, "field-sizing-content min-h-16 py-2", t.class);
20691
20673
  } }, n), !1, !1), e;
20692
20674
  })();
20693
- }, sj = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-primary\"title=\"Official GlassHome widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12m-13 5l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z\"></path></svg><span class=sr-only>Official"), cj = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-muted-foreground\"title=\"Community widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9 3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3 3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3 3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13v-1.75M0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9-.59.68-.95 1.62-.95 2.65V20H0m24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65 2.56.34 4.45 1.51 4.45 2.9V20Z\"></path></svg><span class=sr-only>Community");
20694
- function lj(e) {
20675
+ }, cj = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-primary\"title=\"Official GlassHome widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12m-13 5l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z\"></path></svg><span class=sr-only>Official"), lj = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-muted-foreground\"title=\"Community widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9 3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3 3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3 3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13v-1.75M0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9-.59.68-.95 1.62-.95 2.65V20H0m24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65 2.56.34 4.45 1.51 4.45 2.9V20Z\"></path></svg><span class=sr-only>Community");
20676
+ function uj(e) {
20695
20677
  return R(O, {
20696
20678
  get when() {
20697
20679
  return e.isOfficial;
20698
20680
  },
20699
20681
  get fallback() {
20700
- return cj();
20682
+ return lj();
20701
20683
  },
20702
20684
  get children() {
20703
- return sj();
20685
+ return cj();
20704
20686
  }
20705
20687
  });
20706
20688
  }
20707
20689
  //#endregion
20708
20690
  //#region src/solid/widget-identity.tsx
20709
- var uj = /*#__PURE__*/ K("<span class=\"shrink-0 font-mono text-muted-foreground text-xs tabular-nums\">v"), dj = /*#__PURE__*/ K("<div data-slot=widget-identity><div data-slot=widget-identity-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=widget-identity-headline class=\"flex items-center gap-2\"></div><div data-slot=widget-identity-scope class=\"flex min-w-0 flex-wrap items-center gap-1.5\"><span class=\"truncate font-mono text-muted-foreground text-xs\">@<!>/"), fj = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\">"), pj = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\"> versions"), mj = /*#__PURE__*/ K("<span class=tabular-nums>v"), hj = /*#__PURE__*/ K("<div data-slot=widget-meta>");
20710
- function gj(e) {
20691
+ var dj = /*#__PURE__*/ K("<span class=\"shrink-0 font-mono text-muted-foreground text-xs tabular-nums\">v"), fj = /*#__PURE__*/ K("<div data-slot=widget-identity><div data-slot=widget-identity-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=widget-identity-headline class=\"flex items-center gap-2\"></div><div data-slot=widget-identity-scope class=\"flex min-w-0 flex-wrap items-center gap-1.5\"><span class=\"truncate font-mono text-muted-foreground text-xs\">@<!>/"), pj = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\">"), mj = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\"> versions"), hj = /*#__PURE__*/ K("<span class=tabular-nums>v"), gj = /*#__PURE__*/ K("<div data-slot=widget-meta>");
20692
+ function _j(e) {
20711
20693
  return `/widgets/@${e.scope}/${e.name}`;
20712
20694
  }
20713
- function _j(e) {
20695
+ function vj(e) {
20714
20696
  let t = e ?? 0;
20715
20697
  return t >= 1e6 ? `${(t / 1e6).toFixed(1)}M` : t >= 1e3 ? `${(t / 1e3).toFixed(1)}k` : t.toString();
20716
20698
  }
20717
- function vj(e) {
20699
+ function yj(e) {
20718
20700
  let t = Ct({
20719
20701
  iconSize: "sm",
20720
20702
  showVersionInline: !0
20721
20703
  }, e);
20722
20704
  return (() => {
20723
- var e = dj(), n = e.firstChild, r = n.firstChild, i = r.nextSibling, a = i.firstChild, o = a.firstChild.nextSibling;
20705
+ var e = fj(), n = e.firstChild, r = n.firstChild, i = r.nextSibling, a = i.firstChild, o = a.firstChild.nextSibling;
20724
20706
  return o.nextSibling, B(e, R(WT, {
20725
20707
  get size() {
20726
20708
  return t.iconSize;
@@ -20751,10 +20733,10 @@ function vj(e) {
20751
20733
  return V(() => !!t.showVersionInline)() && t.widget.latestVersion;
20752
20734
  },
20753
20735
  get children() {
20754
- var e = uj();
20736
+ var e = dj();
20755
20737
  return e.firstChild, B(e, () => t.widget.latestVersion, null), e;
20756
20738
  }
20757
- }), null), B(r, R(lj, { get isOfficial() {
20739
+ }), null), B(r, R(uj, { get isOfficial() {
20758
20740
  return !!t.widget.isOfficial;
20759
20741
  } }), null), B(r, R(O, {
20760
20742
  get when() {
@@ -20781,7 +20763,7 @@ function vj(e) {
20781
20763
  return t.showScopeIndicator;
20782
20764
  },
20783
20765
  get children() {
20784
- return R(aA, {
20766
+ return R(oA, {
20785
20767
  get scope() {
20786
20768
  return t.widget.scope;
20787
20769
  },
@@ -20793,28 +20775,28 @@ function vj(e) {
20793
20775
  }), null), z(() => L(e, D("flex min-w-0 items-center gap-3", t.class))), e;
20794
20776
  })();
20795
20777
  }
20796
- function yj(e) {
20778
+ function bj(e) {
20797
20779
  return (() => {
20798
- var t = hj();
20780
+ var t = gj();
20799
20781
  return B(t, R(O, {
20800
20782
  get when() {
20801
20783
  return e.widget.downloadCount != null;
20802
20784
  },
20803
20785
  get children() {
20804
- var t = fj();
20786
+ var t = pj();
20805
20787
  return B(t, R($, {
20806
20788
  icon: "lucide:arrow-down-to-line",
20807
20789
  width: 12,
20808
20790
  height: 12,
20809
20791
  class: "size-3"
20810
- }), null), B(t, () => _j(e.widget.downloadCount), null), t;
20792
+ }), null), B(t, () => vj(e.widget.downloadCount), null), t;
20811
20793
  }
20812
20794
  }), null), B(t, R(O, {
20813
20795
  get when() {
20814
20796
  return V(() => !!e.showVersions)() && e.widget.versionCount != null;
20815
20797
  },
20816
20798
  get children() {
20817
- var t = pj(), n = t.firstChild;
20799
+ var t = mj(), n = t.firstChild;
20818
20800
  return B(t, R($, {
20819
20801
  icon: "lucide:layers",
20820
20802
  width: 12,
@@ -20827,7 +20809,7 @@ function yj(e) {
20827
20809
  return V(() => !!e.showLatestVersion)() && e.widget.latestVersion;
20828
20810
  },
20829
20811
  get children() {
20830
- var t = mj();
20812
+ var t = hj();
20831
20813
  return t.firstChild, B(t, () => e.widget.latestVersion, null), t;
20832
20814
  }
20833
20815
  }), null), z(() => L(t, D("flex items-center gap-4 text-muted-foreground text-xs", e.class))), t;
@@ -20835,15 +20817,15 @@ function yj(e) {
20835
20817
  }
20836
20818
  //#endregion
20837
20819
  //#region src/solid/widget-card.tsx
20838
- var bj = /*#__PURE__*/ K("<p class=\"line-clamp-2 text-muted-foreground text-xs leading-relaxed\">"), xj = /*#__PURE__*/ K("<div data-slot=widget-card-body class=\"flex flex-1 flex-col gap-3\">");
20839
- function Sj(e) {
20840
- let t = Ct({ layout: "row" }, e), n = () => t.href ?? (t.onClick ? void 0 : gj(t.widget)), r = () => n() != null || t.onClick != null;
20820
+ var xj = /*#__PURE__*/ K("<p class=\"line-clamp-2 text-muted-foreground text-xs leading-relaxed\">"), Sj = /*#__PURE__*/ K("<div data-slot=widget-card-body class=\"flex flex-1 flex-col gap-3\">");
20821
+ function Cj(e) {
20822
+ let t = Ct({ layout: "row" }, e), n = () => t.href ?? (t.onClick ? void 0 : _j(t.widget)), r = () => n() != null || t.onClick != null;
20841
20823
  return R(O, {
20842
20824
  get when() {
20843
20825
  return t.layout === "tile";
20844
20826
  },
20845
20827
  get fallback() {
20846
- return R(Cj, H(t, {
20828
+ return R(wj, H(t, {
20847
20829
  get href() {
20848
20830
  return n();
20849
20831
  },
@@ -20853,7 +20835,7 @@ function Sj(e) {
20853
20835
  }));
20854
20836
  },
20855
20837
  get children() {
20856
- return R(wj, H(t, {
20838
+ return R(Tj, H(t, {
20857
20839
  get href() {
20858
20840
  return n();
20859
20841
  },
@@ -20864,7 +20846,7 @@ function Sj(e) {
20864
20846
  }
20865
20847
  });
20866
20848
  }
20867
- function Cj(e) {
20849
+ function wj(e) {
20868
20850
  let t = () => e.widget.downloadCount != null || e.showVersions && e.widget.versionCount != null, n = () => e.trailing !== void 0 || e.interactive;
20869
20851
  return R(op, {
20870
20852
  get as() {
@@ -20885,7 +20867,7 @@ function Cj(e) {
20885
20867
  },
20886
20868
  get children() {
20887
20869
  return [
20888
- R(vj, {
20870
+ R(yj, {
20889
20871
  get widget() {
20890
20872
  return e.widget;
20891
20873
  },
@@ -20900,7 +20882,7 @@ function Cj(e) {
20900
20882
  return t();
20901
20883
  },
20902
20884
  get children() {
20903
- return R(yj, {
20885
+ return R(bj, {
20904
20886
  get widget() {
20905
20887
  return e.widget;
20906
20888
  },
@@ -20939,7 +20921,7 @@ function Cj(e) {
20939
20921
  }
20940
20922
  });
20941
20923
  }
20942
- function wj(e) {
20924
+ function Tj(e) {
20943
20925
  let t = () => e.showDescription !== !1;
20944
20926
  return R(op, {
20945
20927
  get as() {
@@ -20960,8 +20942,8 @@ function wj(e) {
20960
20942
  },
20961
20943
  get children() {
20962
20944
  return [(() => {
20963
- var n = xj();
20964
- return B(n, R(vj, {
20945
+ var n = Sj();
20946
+ return B(n, R(yj, {
20965
20947
  get widget() {
20966
20948
  return e.widget;
20967
20949
  },
@@ -20972,11 +20954,11 @@ function wj(e) {
20972
20954
  return V(() => !!t())() && e.widget.description;
20973
20955
  },
20974
20956
  get children() {
20975
- var t = bj();
20957
+ var t = xj();
20976
20958
  return B(t, () => e.widget.description), t;
20977
20959
  }
20978
20960
  }), null), n;
20979
- })(), R(yj, {
20961
+ })(), R(bj, {
20980
20962
  get widget() {
20981
20963
  return e.widget;
20982
20964
  },
@@ -20986,4 +20968,4 @@ function wj(e) {
20986
20968
  });
20987
20969
  }
20988
20970
  //#endregion
20989
- export { ka as Accordion, Ma as AccordionContent, Aa as AccordionItem, ja as AccordionTrigger, Ba as Alert, Ha as AlertDescription, ks as AlertDialog, Bs as AlertDialogAction, Ps as AlertDialogBody, Vs as AlertDialogCancel, Ms as AlertDialogContent, Ls as AlertDialogDescription, Fs as AlertDialogFooter, Ns as AlertDialogHeader, Is as AlertDialogTitle, As as AlertDialogTrigger, Va as AlertTitle, wh as AreaChart, Dd as AreaPicker, kd as AspectRatio, Id as Avatar, Rd as AvatarFallback, Ld as AvatarImage, Ud as Badge, Th as BarList, gf as BottomSheet, Cf as BottomSheetBody, Df as BottomSheetClose, bf as BottomSheetContent, Ef as BottomSheetDescription, wf as BottomSheetFooter, xf as BottomSheetHandle, Sf as BottomSheetHeader, yf as BottomSheetOverlay, vf as BottomSheetPortal, Tf as BottomSheetTitle, _f as BottomSheetTrigger, Pf as Breadcrumb, Bf as BreadcrumbEllipsis, If as BreadcrumbItem, Lf as BreadcrumbLink, Ff as BreadcrumbList, Rf as BreadcrumbPage, zf as BreadcrumbSeparator, Hf as Button, Jf as ButtonGroup, Xf as ButtonGroupSeparator, Yf as ButtonGroupText, Uf as ButtonWell, op as Card, up as CardAction, dp as CardContent, lp as CardDescription, fp as CardFooter, sp as CardHeader, cp as CardTitle, Dm as Carousel, Om as CarouselContent, Am as CarouselDots, km as CarouselItem, Mm as CarouselNext, jm as CarouselPrevious, yc as Checkbox, jh as Collapsible, Nh as CollapsibleContent, Mh as CollapsibleTrigger, Bh as ColorDisc, hg as ColorSlider, Pg as ColorWheel, Y_ as ContextMenu, iv as ContextMenuCheckboxItem, nv as ContextMenuContent, X_ as ContextMenuGroup, rv as ContextMenuItem, ov as ContextMenuLabel, Q_ as ContextMenuRadioGroup, av as ContextMenuRadioItem, sv as ContextMenuSeparator, cv as ContextMenuShortcut, Z_ as ContextMenuSub, tv as ContextMenuSubContent, ev as ContextMenuSubTrigger, $_ as ContextMenuTrigger, Ey as CopyButton, Dy as CountPill, Iy as DashboardPreview, Dx as DataTableHead, Ex as DataTableRow, Lx as Dialog, Wx as DialogBody, Bx as DialogClose, Hx as DialogContent, qx as DialogDescription, Gx as DialogFooter, Ux as DialogHeader, Kx as DialogTitle, Rx as DialogTrigger, xS as Dock, TS as DockedPanel, DS as DockedPanelBody, OS as DockedPanelFooter, ES as DockedPanelHeader, AS as DropdownMenu, zS as DropdownMenuCheckboxItem, FS as DropdownMenuContent, jS as DropdownMenuGroup, IS as DropdownMenuItem, HS as DropdownMenuLabel, NS as DropdownMenuRadioGroup, BS as DropdownMenuRadioItem, VS as DropdownMenuSeparator, US as DropdownMenuShortcut, MS as DropdownMenuSub, RS as DropdownMenuSubContent, LS as DropdownMenuSubTrigger, PS as DropdownMenuTrigger, Gy as Empty, Zy as EmptyContent, Xy as EmptyDescription, Ky as EmptyHeader, Jy as EmptyMedia, Yy as EmptyTitle, Hs as EntityDataContext, hC as EntitySelector, BT as FactRow, FC as Field, IC as FieldContent, zC as FieldDescription, HC as FieldError, NC as FieldGroup, LC as FieldLabel, MC as FieldLegend, VC as FieldSeparator, jC as FieldSet, BC as FieldSubGroup, RC as FieldTitle, JC as Form, tw as FormControl, nw as FormDescription, XC as FormField, ZC as FormItem, QC as FormLabel, rw as FormMessage, yy as GlassToast, uw as HeroAction, JD as HeroOption, xw as HoverCard, Cw as HoverCardContent, Sw as HoverCardTrigger, $ as Icon, Nw as IconPicker, cE as ImagePicker, $y as Input, gE as InputGroup, vE as InputGroupAddon, SE as InputGroupButton, wE as InputGroupInput, CE as InputGroupText, TE as InputGroupTextarea, ME as InputOTP, NE as InputOTPGroup, FE as InputOTPSeparator, PE as InputOTPSlot, qE as Item, $E as ItemActions, XE as ItemContent, QE as ItemDescription, tD as ItemFooter, WE as ItemGroup, eD as ItemHeader, YE as ItemMedia, GE as ItemSeparator, ZE as ItemTitle, iD as Kbd, aD as KbdGroup, _C as Label, hA as LabeledField, gA as LabeledIconPicker, _A as LabeledInput, VT as ListRow, pD as Logo, zw as MEDIA_PAGE_SIZE, Fw as MediaStoreContext, Pw as MediaStoreError, tT as MediaTile, LT as NOOP_GLASS, _D as NumberField, a as OVERLAY_SURFACE, KD as OptionCard, GD as OptionCardGroup, WD as OptionChoice, Pm as Overlay, Ec as PICKER_ROW_HEIGHT, $D as PageHeader, lT as Pagination, uT as PaginationContent, hT as PaginationEllipsis, dT as PaginationItem, fT as PaginationLink, mT as PaginationNext, pT as PaginationPrevious, aO as PasswordInput, Dc as PickerRow, jc as PickerSearch, Fc as PickerTrigger, cd as Popover, dd as PopoverAnchor, ud as PopoverContent, ld as PopoverTrigger, mO as PreviewTile, pO as PreviewTileGroup, jO as Progress, E as RISE_MOTION, ND as RadioGroup, PD as RadioGroupItem, Dh as RangeToggle, zO as ResizableHandle, RO as ResizablePanel, LO as ResizablePanelGroup, HO as ResponsiveDialog, KO as ResponsiveDialogBody, XO as ResponsiveDialogClose, WO as ResponsiveDialogContent, YO as ResponsiveDialogDescription, qO as ResponsiveDialogFooter, GO as ResponsiveDialogHeader, JO as ResponsiveDialogTitle, UO as ResponsiveDialogTrigger, mA as RowActions, Ak as SCHEMA_FORM_FORM_TYPES, Te as SECTION_INNER_RADIUS, ke as SECTION_OUTER_RADIUS, Ke as SECTION_PADDING, Ve as SECTION_ROW_CLASS, it as SECTION_ROW_SURFACE, d as SETTLE_MOTION, qk as SchemaForm, aA as ScopeIndicator, sA as ScrollArea, cA as ScrollBar, fA as SectionAddButton, RT as SectionCard, pA as SectionEmpty, JT as SectionGroup, WT as SectionIcon, YT as SectionLabel, XT as SectionMeta, zT as SectionRow, ZT as SectionRowSkeleton, QT as SectionRowSkeletons, qT as SectionSubtitle, GT as SectionTitle, Nb as Select, Ib as SelectContent, zb as SelectGroup, Rb as SelectItem, Lb as SelectLabel, Bb as SelectSeparator, Fb as SelectTrigger, Pb as SelectValue, Gf as Separator, bA as Sheet, jA as SheetBody, CA as SheetClose, kA as SheetContent, PA as SheetDescription, MA as SheetFooter, AA as SheetHeader, NA as SheetTitle, xA as SheetTrigger, Hb as Skeleton, IA as Slider, yd as SlidingIndicator, cy as Spinner, QA as Spotlight, Ah as StackedBar, tj as StepIndicator, ij as SwatchPicker, $O as Switch, vA as SwitchRow, vx as TABLE_BLEED, Zb as TABLE_CELL_INSET, yx as TABLE_CELL_X, $b as TABLE_HEAD_CELL_CLASS, xx as TABLE_HEAD_CLASS, Qb as TABLE_HEAD_LABEL_CLASS, Cx as TABLE_NUM_CELL_CLASS, bx as TABLE_ROW_CLASS, Sx as TABLE_SCROLL_CLASS, S as TRAVEL_MOTION, ex as Table, nx as TableBody, Px as TableBulkBar, sx as TableCaption, ox as TableCell, kx as TableEmpty, Ax as TableError, wx as TableFilterSelect, rx as TableFooter, ax as TableHead, tx as TableHeader, ix as TableRow, Tx as TableSearchInput, Nx as TableSkeleton, Ox as TableSortHeader, Jm as Tabs, Qm as TabsContent, Xm as TabsList, Zm as TabsTrigger, Hh as TemperatureBar, oj as Textarea, Wd as TierBadge, wy as Toaster, dk as Toggle, pk as ToggleGroup, mk as ToggleGroupItem, fS as Tooltip, mS as TooltipContent, pS as TooltipTrigger, Sj as WidgetCard, vj as WidgetIdentity, yj as WidgetMeta, lj as WidgetTrustBadge, qf as buttonGroupVariants, h as buttonVariants, Hw as createBrokenMedia, lD as createListReorder, cD as dragTargetIndex, bh as formatBytes, vh as formatCompact, _j as formatWidgetCount, Gw as imagePreset, qw as imageUrl, Bw as isMediaImage, Vh as kelvinToCss, Zw as mediaIndexErrorCopy, Xw as mediaStoreErrorCopy, Kw as mediaUrl, Er as parseColor, Ww as presetValue, Ws as provideEntityData, xa as provideIcons, Lw as provideMediaStore, Vw as sortMediaForClearing, Yw as toMediaStoreError, Cy as toast, lk as toggleVariants, Gs as useEntityData, YC as useFormField, Rw as useMediaStore, gj as widgetHref };
20971
+ export { ka as Accordion, Ma as AccordionContent, Aa as AccordionItem, ja as AccordionTrigger, Ba as Alert, Ha as AlertDescription, ks as AlertDialog, Bs as AlertDialogAction, Ps as AlertDialogBody, Vs as AlertDialogCancel, Ms as AlertDialogContent, Ls as AlertDialogDescription, Fs as AlertDialogFooter, Ns as AlertDialogHeader, Is as AlertDialogTitle, As as AlertDialogTrigger, Va as AlertTitle, wh as AreaChart, Dd as AreaPicker, kd as AspectRatio, Id as Avatar, Rd as AvatarFallback, Ld as AvatarImage, Ud as Badge, Th as BarList, gf as BottomSheet, Cf as BottomSheetBody, Df as BottomSheetClose, bf as BottomSheetContent, Ef as BottomSheetDescription, wf as BottomSheetFooter, xf as BottomSheetHandle, Sf as BottomSheetHeader, yf as BottomSheetOverlay, vf as BottomSheetPortal, Tf as BottomSheetTitle, _f as BottomSheetTrigger, Pf as Breadcrumb, Bf as BreadcrumbEllipsis, If as BreadcrumbItem, Lf as BreadcrumbLink, Ff as BreadcrumbList, Rf as BreadcrumbPage, zf as BreadcrumbSeparator, Hf as Button, Jf as ButtonGroup, Xf as ButtonGroupSeparator, Yf as ButtonGroupText, Uf as ButtonWell, op as Card, up as CardAction, dp as CardContent, lp as CardDescription, fp as CardFooter, sp as CardHeader, cp as CardTitle, Dm as Carousel, Om as CarouselContent, Am as CarouselDots, km as CarouselItem, Mm as CarouselNext, jm as CarouselPrevious, yc as Checkbox, jh as Collapsible, Nh as CollapsibleContent, Mh as CollapsibleTrigger, Bh as ColorDisc, hg as ColorSlider, Pg as ColorWheel, Y_ as ContextMenu, iv as ContextMenuCheckboxItem, nv as ContextMenuContent, X_ as ContextMenuGroup, rv as ContextMenuItem, ov as ContextMenuLabel, Q_ as ContextMenuRadioGroup, av as ContextMenuRadioItem, sv as ContextMenuSeparator, cv as ContextMenuShortcut, Z_ as ContextMenuSub, tv as ContextMenuSubContent, ev as ContextMenuSubTrigger, $_ as ContextMenuTrigger, Ey as CopyButton, Dy as CountPill, Iy as DashboardPreview, Dx as DataTableHead, Ex as DataTableRow, Lx as Dialog, Wx as DialogBody, Bx as DialogClose, Hx as DialogContent, qx as DialogDescription, Gx as DialogFooter, Ux as DialogHeader, Kx as DialogTitle, Rx as DialogTrigger, xS as Dock, TS as DockedPanel, DS as DockedPanelBody, OS as DockedPanelFooter, ES as DockedPanelHeader, AS as DropdownMenu, zS as DropdownMenuCheckboxItem, FS as DropdownMenuContent, jS as DropdownMenuGroup, IS as DropdownMenuItem, HS as DropdownMenuLabel, NS as DropdownMenuRadioGroup, BS as DropdownMenuRadioItem, VS as DropdownMenuSeparator, US as DropdownMenuShortcut, MS as DropdownMenuSub, RS as DropdownMenuSubContent, LS as DropdownMenuSubTrigger, PS as DropdownMenuTrigger, Gy as Empty, Zy as EmptyContent, Xy as EmptyDescription, Ky as EmptyHeader, Jy as EmptyMedia, Yy as EmptyTitle, Hs as EntityDataContext, hC as EntitySelector, BT as FactRow, FC as Field, IC as FieldContent, zC as FieldDescription, HC as FieldError, NC as FieldGroup, LC as FieldLabel, MC as FieldLegend, VC as FieldSeparator, jC as FieldSet, BC as FieldSubGroup, RC as FieldTitle, JC as Form, tw as FormControl, nw as FormDescription, XC as FormField, ZC as FormItem, QC as FormLabel, rw as FormMessage, yy as GlassToast, uw as HeroAction, JD as HeroOption, xw as HoverCard, Cw as HoverCardContent, Sw as HoverCardTrigger, $ as Icon, Nw as IconPicker, cE as ImagePicker, $y as Input, gE as InputGroup, vE as InputGroupAddon, SE as InputGroupButton, wE as InputGroupInput, CE as InputGroupText, TE as InputGroupTextarea, ME as InputOTP, NE as InputOTPGroup, FE as InputOTPSeparator, PE as InputOTPSlot, qE as Item, $E as ItemActions, XE as ItemContent, QE as ItemDescription, tD as ItemFooter, WE as ItemGroup, eD as ItemHeader, YE as ItemMedia, GE as ItemSeparator, ZE as ItemTitle, iD as Kbd, aD as KbdGroup, _C as Label, gA as LabeledField, _A as LabeledIconPicker, vA as LabeledInput, VT as ListRow, pD as Logo, zw as MEDIA_PAGE_SIZE, Fw as MediaStoreContext, Pw as MediaStoreError, tT as MediaTile, LT as NOOP_GLASS, _D as NumberField, a as OVERLAY_SURFACE, KD as OptionCard, GD as OptionCardGroup, WD as OptionChoice, Pm as Overlay, Ec as PICKER_ROW_HEIGHT, $D as PageHeader, lT as Pagination, uT as PaginationContent, hT as PaginationEllipsis, dT as PaginationItem, fT as PaginationLink, mT as PaginationNext, pT as PaginationPrevious, aO as PasswordInput, Dc as PickerRow, jc as PickerSearch, Fc as PickerTrigger, cd as Popover, dd as PopoverAnchor, ud as PopoverContent, ld as PopoverTrigger, mO as PreviewTile, pO as PreviewTileGroup, jO as Progress, E as RISE_MOTION, ND as RadioGroup, PD as RadioGroupItem, Dh as RangeToggle, zO as ResizableHandle, RO as ResizablePanel, LO as ResizablePanelGroup, HO as ResponsiveDialog, KO as ResponsiveDialogBody, XO as ResponsiveDialogClose, WO as ResponsiveDialogContent, YO as ResponsiveDialogDescription, qO as ResponsiveDialogFooter, GO as ResponsiveDialogHeader, JO as ResponsiveDialogTitle, UO as ResponsiveDialogTrigger, hA as RowActions, Ak as SCHEMA_FORM_FORM_TYPES, Te as SECTION_INNER_RADIUS, ke as SECTION_OUTER_RADIUS, Ke as SECTION_PADDING, Ve as SECTION_ROW_CLASS, it as SECTION_ROW_SURFACE, d as SETTLE_MOTION, Jk as SchemaForm, oA as ScopeIndicator, cA as ScrollArea, lA as ScrollBar, pA as SectionAddButton, RT as SectionCard, mA as SectionEmpty, JT as SectionGroup, WT as SectionIcon, YT as SectionLabel, XT as SectionMeta, zT as SectionRow, ZT as SectionRowSkeleton, QT as SectionRowSkeletons, qT as SectionSubtitle, GT as SectionTitle, Nb as Select, Ib as SelectContent, zb as SelectGroup, Rb as SelectItem, Lb as SelectLabel, Bb as SelectSeparator, Fb as SelectTrigger, Pb as SelectValue, Gf as Separator, xA as Sheet, MA as SheetBody, wA as SheetClose, AA as SheetContent, FA as SheetDescription, NA as SheetFooter, jA as SheetHeader, PA as SheetTitle, SA as SheetTrigger, Hb as Skeleton, LA as Slider, yd as SlidingIndicator, cy as Spinner, $A as Spotlight, Ah as StackedBar, nj as StepIndicator, aj as SwatchPicker, $O as Switch, yA as SwitchRow, vx as TABLE_BLEED, Zb as TABLE_CELL_INSET, yx as TABLE_CELL_X, $b as TABLE_HEAD_CELL_CLASS, xx as TABLE_HEAD_CLASS, Qb as TABLE_HEAD_LABEL_CLASS, Cx as TABLE_NUM_CELL_CLASS, bx as TABLE_ROW_CLASS, Sx as TABLE_SCROLL_CLASS, S as TRAVEL_MOTION, ex as Table, nx as TableBody, Px as TableBulkBar, sx as TableCaption, ox as TableCell, kx as TableEmpty, Ax as TableError, wx as TableFilterSelect, rx as TableFooter, ax as TableHead, tx as TableHeader, ix as TableRow, Tx as TableSearchInput, Nx as TableSkeleton, Ox as TableSortHeader, Jm as Tabs, Qm as TabsContent, Xm as TabsList, Zm as TabsTrigger, Hh as TemperatureBar, sj as Textarea, Wd as TierBadge, wy as Toaster, dk as Toggle, pk as ToggleGroup, mk as ToggleGroupItem, fS as Tooltip, mS as TooltipContent, pS as TooltipTrigger, Cj as WidgetCard, yj as WidgetIdentity, bj as WidgetMeta, uj as WidgetTrustBadge, qf as buttonGroupVariants, h as buttonVariants, Hw as createBrokenMedia, lD as createListReorder, cD as dragTargetIndex, bh as formatBytes, vh as formatCompact, vj as formatWidgetCount, Gw as imagePreset, qw as imageUrl, Bw as isMediaImage, Vh as kelvinToCss, Zw as mediaIndexErrorCopy, Xw as mediaStoreErrorCopy, Kw as mediaUrl, Er as parseColor, Ww as presetValue, Ws as provideEntityData, xa as provideIcons, Lw as provideMediaStore, Vw as sortMediaForClearing, Yw as toMediaStoreError, Cy as toast, lk as toggleVariants, Gs as useEntityData, YC as useFormField, Rw as useMediaStore, _j as widgetHref };