@w5-ui/wc 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4577,6 +4577,17 @@ function component(node, get_component, render_fn) {
4577
4577
  branches.ensure(component2, component2 && ((target) => render_fn(target, component2)));
4578
4578
  }, EFFECT_TRANSPARENT);
4579
4579
  }
4580
+ function action(dom, action2, get_value) {
4581
+ effect(() => {
4582
+ var payload = untrack(() => action2(dom, get_value?.()) || {});
4583
+ if (payload?.destroy) {
4584
+ return () => (
4585
+ /** @type {Function} */
4586
+ payload.destroy()
4587
+ );
4588
+ }
4589
+ });
4590
+ }
4580
4591
  function attach(node, get_fn) {
4581
4592
  var fn = void 0;
4582
4593
  var e;
@@ -6284,7 +6295,7 @@ function Alert_wc($$anchor, $$props) {
6284
6295
  customElements.define("uni-alert", create_custom_element(Alert_wc, { variant: {} }, ["default"], [], { mode: "open" }));
6285
6296
  var root_2$1K = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
6286
6297
  var root_3$17 = /* @__PURE__ */ from_svg(`<line stroke-width="1" stroke-dasharray="3,2" opacity="0.85"></line><text font-size="7" font-family="inherit"> </text>`, 1);
6287
- var root_4$X = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
6298
+ var root_4$Y = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
6288
6299
  var root_1$28 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><path fill-opacity="0.08"></path><path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path><!><!></svg></div>`);
6289
6300
  function AnnotatedTimeSeries($$anchor, $$props) {
6290
6301
  push($$props, true);
@@ -6366,7 +6377,7 @@ function AnnotatedTimeSeries($$anchor, $$props) {
6366
6377
  });
6367
6378
  var node_3 = sibling(node_2);
6368
6379
  each(node_3, 17, () => get(xLabels), (l) => l.i, ($$anchor3, l) => {
6369
- var text_4 = root_4$X();
6380
+ var text_4 = root_4$Y();
6370
6381
  var text_5 = child(text_4, true);
6371
6382
  reset(text_4);
6372
6383
  template_effect(() => {
@@ -6580,7 +6591,7 @@ function AppLayout_wc($$anchor, $$props) {
6580
6591
  customElements.define("uni-app-layout", create_custom_element(AppLayout_wc, { pageLabel: {}, class: {} }, ["default"], [], { mode: "open" }));
6581
6592
  var root_2$1J = /* @__PURE__ */ from_svg(`<path fill="none"></path>`);
6582
6593
  var root_3$16 = /* @__PURE__ */ from_svg(`<circle></circle>`);
6583
- var root_4$W = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
6594
+ var root_4$X = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
6584
6595
  var root_1$27 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><line stroke="rgba(255,255,255,0.08)"></line><!><!><!></svg></div>`);
6585
6596
  function ArcDiagram($$anchor, $$props) {
6586
6597
  push($$props, true);
@@ -6663,7 +6674,7 @@ function ArcDiagram($$anchor, $$props) {
6663
6674
  });
6664
6675
  var node_4 = sibling(node_3);
6665
6676
  each(node_4, 17, () => get(layout).dots, index, ($$anchor3, dot) => {
6666
- var text2 = root_4$W();
6677
+ var text2 = root_4$X();
6667
6678
  set_attribute(text2, "font-size", 9);
6668
6679
  var text_1 = child(text2, true);
6669
6680
  reset(text2);
@@ -6752,7 +6763,7 @@ function ArcDiagram_wc($$anchor, $$props) {
6752
6763
  customElements.define("uni-arc-diagram", create_custom_element(ArcDiagram_wc, { nodes: {}, links: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
6753
6764
  var root_1$26 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
6754
6765
  var root_2$1I = /* @__PURE__ */ from_svg(`<path fill-opacity="0.75"></path>`);
6755
- var root_4$V = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
6766
+ var root_4$W = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
6756
6767
  var root$2y = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
6757
6768
  function AreaChart($$anchor, $$props) {
6758
6769
  push($$props, true);
@@ -6811,7 +6822,7 @@ function AreaChart($$anchor, $$props) {
6811
6822
  var node_3 = first_child(fragment);
6812
6823
  each(node_3, 17, labels, index, ($$anchor3, lbl, i) => {
6813
6824
  const x = /* @__PURE__ */ user_derived(() => PAD.l + (labels().length > 1 ? i / (labels().length - 1) * get(chartW) : get(chartW) / 2));
6814
- var text2 = root_4$V();
6825
+ var text2 = root_4$W();
6815
6826
  var text_1 = child(text2, true);
6816
6827
  reset(text2);
6817
6828
  template_effect(() => {
@@ -7304,7 +7315,7 @@ var root_2$1G = /* @__PURE__ */ from_html(`<button type="button" class="h-6 shri
7304
7315
  var root$2u = /* @__PURE__ */ from_html(`<div aria-atomic="true"><div class="flex flex-1 flex-wrap items-baseline gap-x-2 gap-y-0.5"><!> <span><!></span></div> <!> <!></div>`);
7305
7316
  function Banner($$anchor, $$props) {
7306
7317
  push($$props, true);
7307
- let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0), action = prop($$props, "action", 3, void 0), onDismiss = prop($$props, "onDismiss", 3, void 0);
7318
+ let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0), action2 = prop($$props, "action", 3, void 0), onDismiss = prop($$props, "onDismiss", 3, void 0);
7308
7319
  let isUrgent = /* @__PURE__ */ user_derived(() => variant() === "danger" || variant() === "warn");
7309
7320
  const BANNER = {
7310
7321
  info: "bg-status-info/10 border-t-brand-05 text-status-info",
@@ -7347,14 +7358,14 @@ function Banner($$anchor, $$props) {
7347
7358
  var button = root_2$1G();
7348
7359
  var text_1 = child(button, true);
7349
7360
  reset(button);
7350
- template_effect(() => set_text(text_1, action().label));
7361
+ template_effect(() => set_text(text_1, action2().label));
7351
7362
  delegated("click", button, function(...$$args) {
7352
- action().onClick?.apply(this, $$args);
7363
+ action2().onClick?.apply(this, $$args);
7353
7364
  });
7354
7365
  append($$anchor2, button);
7355
7366
  };
7356
7367
  if_block(node_2, ($$render) => {
7357
- if (action()) $$render(consequent_1);
7368
+ if (action2()) $$render(consequent_1);
7358
7369
  });
7359
7370
  }
7360
7371
  var node_3 = sibling(node_2, 2);
@@ -7390,7 +7401,7 @@ function Banner($$anchor, $$props) {
7390
7401
  delegate(["click"]);
7391
7402
  function Banner_wc($$anchor, $$props) {
7392
7403
  push($$props, true);
7393
- let variant = prop($$props, "variant", 7, "info"), title = prop($$props, "title", 7, void 0), action = prop($$props, "action", 7, void 0);
7404
+ let variant = prop($$props, "variant", 7, "info"), title = prop($$props, "title", 7, void 0), action2 = prop($$props, "action", 7, void 0);
7394
7405
  var $$exports = {
7395
7406
  get variant() {
7396
7407
  return variant();
@@ -7407,10 +7418,10 @@ function Banner_wc($$anchor, $$props) {
7407
7418
  flushSync();
7408
7419
  },
7409
7420
  get action() {
7410
- return action();
7421
+ return action2();
7411
7422
  },
7412
7423
  set action($$value = void 0) {
7413
- action($$value);
7424
+ action2($$value);
7414
7425
  flushSync();
7415
7426
  }
7416
7427
  };
@@ -7422,7 +7433,7 @@ function Banner_wc($$anchor, $$props) {
7422
7433
  return title();
7423
7434
  },
7424
7435
  get action() {
7425
- return action();
7436
+ return action2();
7426
7437
  },
7427
7438
  children: ($$anchor2, $$slotProps) => {
7428
7439
  var fragment_1 = comment();
@@ -7437,7 +7448,7 @@ function Banner_wc($$anchor, $$props) {
7437
7448
  customElements.define("uni-banner", create_custom_element(Banner_wc, { variant: {}, title: {}, action: {} }, ["default"], [], { mode: "open" }));
7438
7449
  var root_1$21 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
7439
7450
  var root_2$1F = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.9" rx="2"></rect>`);
7440
- var root_4$U = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
7451
+ var root_4$V = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
7441
7452
  var root$2t = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
7442
7453
  function BarChart($$anchor, $$props) {
7443
7454
  push($$props, true);
@@ -7498,7 +7509,7 @@ function BarChart($$anchor, $$props) {
7498
7509
  var node_3 = first_child(fragment);
7499
7510
  each(node_3, 17, labels, index, ($$anchor3, lbl, i) => {
7500
7511
  const x = /* @__PURE__ */ user_derived(() => (PAD.l + (i + 0.5) * get(gw)).toFixed(1));
7501
- var text2 = root_4$U();
7512
+ var text2 = root_4$V();
7502
7513
  var text_1 = child(text2, true);
7503
7514
  reset(text2);
7504
7515
  template_effect(() => {
@@ -7581,7 +7592,7 @@ function BarChart_wc($$anchor, $$props) {
7581
7592
  }
7582
7593
  customElements.define("uni-bar-chart", create_custom_element(BarChart_wc, { series: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
7583
7594
  var root_2$1E = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
7584
- var root_4$T = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.75"></circle>`);
7595
+ var root_4$U = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.75"></circle>`);
7585
7596
  var root_3$14 = /* @__PURE__ */ from_svg(`<g><!><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
7586
7597
  var root_1$20 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
7587
7598
  function BeeswarmChart($$anchor, $$props) {
@@ -7679,7 +7690,7 @@ function BeeswarmChart($$anchor, $$props) {
7679
7690
  var g = root_3$14();
7680
7691
  var node_3 = child(g);
7681
7692
  each(node_3, 17, () => get(pts), index, ($$anchor4, p) => {
7682
- var circle = root_4$T();
7693
+ var circle = root_4$U();
7683
7694
  template_effect(() => {
7684
7695
  set_attribute(circle, "cx", get(cx) + get(p).x);
7685
7696
  set_attribute(circle, "cy", get(p).y);
@@ -8039,7 +8050,7 @@ function BoxPlot_wc($$anchor, $$props) {
8039
8050
  customElements.define("uni-box-plot", create_custom_element(BoxPlot_wc, { series: {}, yRange: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
8040
8051
  var root_2$1C = /* @__PURE__ */ from_html(`<span aria-current="page" class="font-medium text-text-2"> </span>`);
8041
8052
  var root_3$13 = /* @__PURE__ */ from_html(`<a class="cursor-pointer text-text-4 no-underline transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </a>`);
8042
- var root_4$S = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent p-0 font-[inherit] text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
8053
+ var root_4$T = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent p-0 font-[inherit] text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
8043
8054
  var root_5$w = /* @__PURE__ */ from_html(`<span class="select-none text-border-3" aria-hidden="true">/</span>`);
8044
8055
  var root_1$1_ = /* @__PURE__ */ from_html(`<li class="flex items-center gap-1.5"><!> <!></li>`);
8045
8056
  var root$2p = /* @__PURE__ */ from_html(`<nav aria-label="Breadcrumb"><ol class="m-0 flex flex-wrap items-center gap-x-1.5 gap-y-0.5 p-0 text-12 [list-style:none]"></ol></nav>`);
@@ -8071,7 +8082,7 @@ function Breadcrumb($$anchor, $$props) {
8071
8082
  append($$anchor3, a);
8072
8083
  };
8073
8084
  var alternate = ($$anchor3) => {
8074
- var button = root_4$S();
8085
+ var button = root_4$T();
8075
8086
  var text_2 = child(button, true);
8076
8087
  reset(button);
8077
8088
  template_effect(() => set_text(text_2, get(item).label));
@@ -8457,7 +8468,7 @@ function BulletChart_wc($$anchor, $$props) {
8457
8468
  customElements.define("uni-bullet-chart", create_custom_element(BulletChart_wc, { items: {}, max: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
8458
8469
  var root_1$1X = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
8459
8470
  var root_2$1z = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.04)" stroke-width="1"></line>`);
8460
- var root_4$R = /* @__PURE__ */ from_svg(`<circle stroke="#1A1F2E" stroke-width="1.5"></circle>`);
8471
+ var root_4$S = /* @__PURE__ */ from_svg(`<circle stroke="#1A1F2E" stroke-width="1.5"></circle>`);
8461
8472
  var root_3$12 = /* @__PURE__ */ from_svg(`<g><path fill="none" stroke-width="2.5" opacity="0.85"></path><!><text font-size="10" font-family="inherit"> </text></g>`);
8462
8473
  var root$2m = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
8463
8474
  function BumpChart($$anchor, $$props) {
@@ -8545,7 +8556,7 @@ function BumpChart($$anchor, $$props) {
8545
8556
  var path = child(g_1);
8546
8557
  var node_3 = sibling(path);
8547
8558
  each(node_3, 17, () => get(s).ranks, index, ($$anchor3, rank, i) => {
8548
- var circle = root_4$R();
8559
+ var circle = root_4$S();
8549
8560
  set_attribute(circle, "r", DOT_R);
8550
8561
  template_effect(
8551
8562
  ($0, $1) => {
@@ -9031,7 +9042,7 @@ function CIDRInput_wc($$anchor, $$props) {
9031
9042
  customElements.define("uni-cidrinput", create_custom_element(CIDRInput_wc, { label: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
9032
9043
  var root_2$1x = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#6E7079" font-size="7" font-family="inherit"> </text>`);
9033
9044
  var root_3$11 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" font-family="inherit"> </text>`);
9034
- var root_4$Q = /* @__PURE__ */ from_svg(`<rect rx="2"></rect>`);
9045
+ var root_4$R = /* @__PURE__ */ from_svg(`<rect rx="2"></rect>`);
9035
9046
  var root$2i = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;overflow-x:auto;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
9036
9047
  function CalendarHeatmap($$anchor, $$props) {
9037
9048
  push($$props, true);
@@ -9129,7 +9140,7 @@ function CalendarHeatmap($$anchor, $$props) {
9129
9140
  });
9130
9141
  var node_3 = sibling(node_2);
9131
9142
  each(node_3, 17, () => get(cells), index, ($$anchor2, c) => {
9132
- var rect = root_4$Q();
9143
+ var rect = root_4$R();
9133
9144
  set_attribute(rect, "width", CELL);
9134
9145
  set_attribute(rect, "height", CELL);
9135
9146
  template_effect(() => {
@@ -9195,9 +9206,9 @@ customElements.define("uni-calendar-heatmap", create_custom_element(CalendarHeat
9195
9206
  var root_1$1V = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM7.25 5.5a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0ZM7 7.5h2v4H7v-4Z"></path></svg>`);
9196
9207
  var root_2$1w = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm3.78 5.47-4.25 4.5a.75.75 0 0 1-1.06.03L4.72 9.22a.75.75 0 1 1 1.06-1.06l1.22 1.22 3.72-3.94a.75.75 0 1 1 1.06 1.03Z"></path></svg>`);
9197
9208
  var root_3$10 = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8.9 1.6a1 1 0 0 0-1.8 0L.6 13a1 1 0 0 0 .9 1.5h13a1 1 0 0 0 .9-1.5L8.9 1.6ZM7.25 6.5a.75.75 0 1 1 1.5 0v3a.75.75 0 0 1-1.5 0v-3Zm.75 6a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"></path></svg>`);
9198
- var root_4$P = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM5.97 5.97a.75.75 0 0 1 1.06 0L8 6.94l.97-.97a.75.75 0 1 1 1.06 1.06L9.06 8l.97.97a.75.75 0 0 1-1.06 1.06L8 9.06l-.97.97a.75.75 0 0 1-1.06-1.06L6.94 8l-.97-.97a.75.75 0 0 1 0-1.06Z"></path></svg>`);
9209
+ var root_4$Q = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM5.97 5.97a.75.75 0 0 1 1.06 0L8 6.94l.97-.97a.75.75 0 1 1 1.06 1.06L9.06 8l.97.97a.75.75 0 0 1-1.06 1.06L8 9.06l-.97.97a.75.75 0 0 1-1.06-1.06L6.94 8l-.97-.97a.75.75 0 0 1 0-1.06Z"></path></svg>`);
9199
9210
  var root_5$v = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 1a5 5 0 0 1 3 9.01V11H5v-.99A5 5 0 0 1 8 1Zm-1 12h2v1.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V13Z"></path></svg>`);
9200
- var root_6$f = /* @__PURE__ */ from_html(`<div> </div>`);
9211
+ var root_6$g = /* @__PURE__ */ from_html(`<div> </div>`);
9201
9212
  var root$2h = /* @__PURE__ */ from_html(`<div role="note"><!> <div class="flex-1"><!> <div><!></div></div></div>`);
9202
9213
  function Callout($$anchor, $$props) {
9203
9214
  let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0);
@@ -9231,7 +9242,7 @@ function Callout($$anchor, $$props) {
9231
9242
  append($$anchor2, svg_2);
9232
9243
  };
9233
9244
  var consequent_3 = ($$anchor2) => {
9234
- var svg_3 = root_4$P();
9245
+ var svg_3 = root_4$Q();
9235
9246
  append($$anchor2, svg_3);
9236
9247
  };
9237
9248
  var alternate = ($$anchor2) => {
@@ -9250,7 +9261,7 @@ function Callout($$anchor, $$props) {
9250
9261
  var node_1 = child(div_1);
9251
9262
  {
9252
9263
  var consequent_4 = ($$anchor2) => {
9253
- var div_2 = root_6$f();
9264
+ var div_2 = root_6$g();
9254
9265
  var text2 = child(div_2, true);
9255
9266
  reset(div_2);
9256
9267
  template_effect(() => {
@@ -9311,7 +9322,7 @@ function Callout_wc($$anchor, $$props) {
9311
9322
  customElements.define("uni-callout", create_custom_element(Callout_wc, { variant: {}, title: {} }, ["default"], [], { mode: "open" }));
9312
9323
  var root_2$1v = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
9313
9324
  var root_3$$ = /* @__PURE__ */ from_svg(`<line stroke-width="1"></line><rect></rect>`, 1);
9314
- var root_4$O = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
9325
+ var root_4$P = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
9315
9326
  var root_1$1U = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
9316
9327
  function CandlestickChart($$anchor, $$props) {
9317
9328
  push($$props, true);
@@ -9397,7 +9408,7 @@ function CandlestickChart($$anchor, $$props) {
9397
9408
  });
9398
9409
  var node_3 = sibling(node_2);
9399
9410
  each(node_3, 17, bars, index, ($$anchor3, b, i) => {
9400
- var text_2 = root_4$O();
9411
+ var text_2 = root_4$P();
9401
9412
  var text_3 = child(text_2, true);
9402
9413
  reset(text_2);
9403
9414
  template_effect(
@@ -9714,7 +9725,7 @@ customElements.define("uni-card-title", create_custom_element(CardTitle_wc, { cl
9714
9725
  var root_2$1u = /* @__PURE__ */ from_html(`<div class="w-1 shrink-0 rounded" aria-hidden="true"></div>`);
9715
9726
  var root_3$_ = /* @__PURE__ */ from_html(`<div class="mt-1 text-13 text-text-3"> </div>`);
9716
9727
  var root_1$1T = /* @__PURE__ */ from_html(`<div role="group" aria-roledescription="slide" class="absolute inset-0 flex items-stretch gap-3 p-4 opacity-0 transition-opacity duration-200 data-[active=true]:opacity-100 data-[active=true]:relative"><!> <div class="min-w-0 flex-1"><div class="text-15 font-semibold text-text-1"> </div> <!></div></div>`);
9717
- var root_4$N = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="h-1.5 w-1.5 cursor-pointer rounded-full border-0 bg-border-3 transition-all duration-150 hover:bg-text-3 data-[active=true]:w-4 data-[active=true]:bg-brand-05"></button>`);
9728
+ var root_4$O = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="h-1.5 w-1.5 cursor-pointer rounded-full border-0 bg-border-3 transition-all duration-150 hover:bg-text-3 data-[active=true]:w-4 data-[active=true]:bg-brand-05"></button>`);
9718
9729
  var root$2c = /* @__PURE__ */ from_html(`<section aria-roledescription="carousel"><div class="relative min-h-[140px]" aria-live="polite" aria-atomic="false"></div> <div class="flex items-center justify-between border-t border-border-1 bg-bg-page px-2 py-1.5"><button type="button" aria-label="Previous slide" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#8249;</button> <div role="tablist" aria-label="Choose slide to display" class="flex items-center gap-1.5"></div> <button type="button" aria-label="Next slide" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#8250;</button></div></section>`);
9719
9730
  function Carousel($$anchor, $$props) {
9720
9731
  push($$props, true);
@@ -9773,7 +9784,7 @@ function Carousel($$anchor, $$props) {
9773
9784
  var button = child(div_6);
9774
9785
  var div_7 = sibling(button, 2);
9775
9786
  each(div_7, 23, slides, (slide) => slide.id, ($$anchor2, slide, i) => {
9776
- var button_1 = root_4$N();
9787
+ var button_1 = root_4$O();
9777
9788
  template_effect(() => {
9778
9789
  set_attribute(button_1, "aria-selected", get(i) === get(index2));
9779
9790
  set_attribute(button_1, "aria-label", `Slide ${get(i) + 1}: ${get(slide).title}`);
@@ -10186,7 +10197,7 @@ function ChordDiagram_wc($$anchor, $$props) {
10186
10197
  }
10187
10198
  customElements.define("uni-chord-diagram", create_custom_element(ChordDiagram_wc, { nodes: {}, matrix: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
10188
10199
  var root_3$Y = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" fill="#E2E4ED" font-family="inherit"> </text>`);
10189
- var root_4$M = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
10200
+ var root_4$N = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
10190
10201
  var root_2$1r = /* @__PURE__ */ from_svg(`<g><circle></circle><!><!></g>`);
10191
10202
  var root_1$1Q = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
10192
10203
  function CirclePacking($$anchor, $$props) {
@@ -10334,7 +10345,7 @@ function CirclePacking($$anchor, $$props) {
10334
10345
  var node_2 = sibling(node_1);
10335
10346
  {
10336
10347
  var consequent_1 = ($$anchor4) => {
10337
- var text_2 = root_4$M();
10348
+ var text_2 = root_4$N();
10338
10349
  var text_3 = child(text_2, true);
10339
10350
  reset(text_2);
10340
10351
  template_effect(
@@ -10465,7 +10476,7 @@ customElements.define("uni-code", create_custom_element(Code_wc, { class: {} },
10465
10476
  var root_1$1P = /* @__PURE__ */ from_html(`<span class="font-mono text-11 uppercase tracking-[0.05em] text-text-4"> </span>`);
10466
10477
  var root_2$1q = /* @__PURE__ */ from_html(`<span></span>`);
10467
10478
  var root_3$X = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
10468
- var root_4$L = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><rect x="4" y="1" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect><rect x="1" y="4" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect></svg>`);
10479
+ var root_4$M = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><rect x="4" y="1" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect><rect x="1" y="4" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect></svg>`);
10469
10480
  var root$29 = /* @__PURE__ */ from_html(`<div role="region"><div class="flex min-h-8 items-center justify-between border-b border-border-1 bg-bg-page py-1.5 pl-3 pr-2"><!> <button type="button" class="inline-flex h-[22px] w-[22px] shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 transition-[color,background-color] duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05 data-[copied=true]:text-status-success data-[copied=true]:hover:bg-status-success/10 data-[copied=true]:hover:text-status-success"><!></button></div> <pre class="m-0 overflow-x-auto px-3.5 py-3"><code class="whitespace-pre font-mono text-12 leading-[1.6] text-text-2"> </code></pre></div>`);
10470
10481
  function CodeBlock($$anchor, $$props) {
10471
10482
  push($$props, true);
@@ -10515,7 +10526,7 @@ function CodeBlock($$anchor, $$props) {
10515
10526
  append($$anchor2, svg);
10516
10527
  };
10517
10528
  var alternate_1 = ($$anchor2) => {
10518
- var svg_1 = root_4$L();
10529
+ var svg_1 = root_4$M();
10519
10530
  append($$anchor2, svg_1);
10520
10531
  };
10521
10532
  if_block(node_1, ($$render) => {
@@ -11207,9 +11218,9 @@ function Kbd($$anchor, $$props) {
11207
11218
  }
11208
11219
  var root_2$1m = /* @__PURE__ */ from_html(`<li class="list-none p-6 text-center text-13 text-text-4"> </li>`);
11209
11220
  var root_5$t = /* @__PURE__ */ from_html(`<div class="px-2.5 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-[0.06em] text-text-4"> </div>`);
11210
- var root_7$a = /* @__PURE__ */ from_html(`<span class="ml-auto shrink-0"><!></span>`);
11211
- var root_6$e = /* @__PURE__ */ from_html(`<div role="option" class="flex cursor-pointer list-none items-center gap-2.5 rounded-md px-2.5 py-2 text-13 text-text-2 outline-none data-[active=true]:bg-brand-05/15 data-[active=true]:text-text-1"> <!></div>`);
11212
- var root_4$K = /* @__PURE__ */ from_html(`<li role="presentation"><!> <!></li>`);
11221
+ var root_7$b = /* @__PURE__ */ from_html(`<span class="ml-auto shrink-0"><!></span>`);
11222
+ var root_6$f = /* @__PURE__ */ from_html(`<div role="option" class="flex cursor-pointer list-none items-center gap-2.5 rounded-md px-2.5 py-2 text-13 text-text-2 outline-none data-[active=true]:bg-brand-05/15 data-[active=true]:text-text-1"> <!></div>`);
11223
+ var root_4$L = /* @__PURE__ */ from_html(`<li role="presentation"><!> <!></li>`);
11213
11224
  var root_1$1K = /* @__PURE__ */ from_html(`<div class="fixed inset-0 z-[9300] flex items-start justify-center bg-black/60 pt-[15vh] backdrop-blur-md" role="presentation"><div role="dialog" aria-modal="true" aria-label="Command palette" class="w-[520px] max-w-[90vw] overflow-hidden rounded-xl border border-border-3 bg-bg-1 shadow-[0_24px_64px_rgba(0,0,0,0.6)]"><div class="flex items-center gap-2.5 border-b border-border-1 px-4 py-3"><svg class="shrink-0 text-text-4" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="6.5" cy="6.5" r="4.5"></circle><path d="M10.5 10.5l3 3"></path></svg> <input type="text" role="combobox" aria-autocomplete="list" class="min-w-0 flex-1 border-0 bg-transparent text-[15px] leading-none text-text-1 outline-none placeholder:text-text-4"/> <span class="shrink-0 whitespace-nowrap rounded border border-border-2 bg-row-active px-1.5 py-0.5 text-[10px] text-text-4">Esc</span></div> <ul role="listbox" aria-label="Results" class="m-0 max-h-[360px] list-none overflow-y-auto p-1.5"><!></ul></div></div>`);
11214
11225
  function CommandPalette($$anchor, $$props) {
11215
11226
  push($$props, true);
@@ -11291,7 +11302,7 @@ function CommandPalette($$anchor, $$props) {
11291
11302
  each(node_2, 17, () => get(grouped), index, ($$anchor4, $$item) => {
11292
11303
  let group = () => get($$item).group;
11293
11304
  let groupItems = () => get($$item).items;
11294
- var li_1 = root_4$K();
11305
+ var li_1 = root_4$L();
11295
11306
  var node_3 = child(li_1);
11296
11307
  {
11297
11308
  var consequent_1 = ($$anchor5) => {
@@ -11308,13 +11319,13 @@ function CommandPalette($$anchor, $$props) {
11308
11319
  var node_4 = sibling(node_3, 2);
11309
11320
  each(node_4, 17, groupItems, index, ($$anchor5, item) => {
11310
11321
  const idx = /* @__PURE__ */ user_derived(() => get(filtered).indexOf(get(item)));
11311
- var div_4 = root_6$e();
11322
+ var div_4 = root_6$f();
11312
11323
  set_attribute(div_4, "tabindex", -1);
11313
11324
  var text_2 = child(div_4);
11314
11325
  var node_5 = sibling(text_2);
11315
11326
  {
11316
11327
  var consequent_2 = ($$anchor6) => {
11317
- var span = root_7$a();
11328
+ var span = root_7$b();
11318
11329
  var node_6 = child(span);
11319
11330
  Kbd(node_6, {
11320
11331
  get keys() {
@@ -11641,7 +11652,7 @@ customElements.define("uni-confirm-dialog", create_custom_element(
11641
11652
  { mode: "open" }
11642
11653
  ));
11643
11654
  var root_3$V = /* @__PURE__ */ from_html(`<li role="separator" class="my-1 h-px bg-row-active"></li>`);
11644
- var root_4$J = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer items-center whitespace-nowrap rounded-[5px] px-3 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 data-[danger=true]:text-status-danger data-[danger=true]:hover:bg-status-danger/10 aria-disabled:cursor-not-allowed aria-disabled:opacity-40"> </li>`);
11655
+ var root_4$K = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer items-center whitespace-nowrap rounded-[5px] px-3 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 data-[danger=true]:text-status-danger data-[danger=true]:hover:bg-status-danger/10 aria-disabled:cursor-not-allowed aria-disabled:opacity-40"> </li>`);
11645
11656
  var root_1$1I = /* @__PURE__ */ from_html(`<ul role="menu" class="fixed z-[9200] m-0 min-w-[168px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)] focus:outline-none"></ul>`);
11646
11657
  function ContextMenu($$anchor, $$props) {
11647
11658
  push($$props, true);
@@ -11721,7 +11732,7 @@ function ContextMenu($$anchor, $$props) {
11721
11732
  append($$anchor4, li);
11722
11733
  };
11723
11734
  var alternate = ($$anchor4) => {
11724
- var li_1 = root_4$J();
11735
+ var li_1 = root_4$K();
11725
11736
  set_attribute(li_1, "tabindex", -1);
11726
11737
  var text2 = child(li_1, true);
11727
11738
  reset(li_1);
@@ -11965,7 +11976,7 @@ customElements.define("uni-contextual-help", create_custom_element(ContextualHel
11965
11976
  var root_2$1l = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
11966
11977
  var root_3$U = /* @__PURE__ */ from_svg(`<circle r="1.5" opacity="0.2"></circle>`);
11967
11978
  var root_5$s = /* @__PURE__ */ from_svg(`<line stroke-linecap="round"></line>`);
11968
- var root_6$d = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
11979
+ var root_6$e = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
11969
11980
  var root_1$1G = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
11970
11981
  function ContourPlot($$anchor, $$props) {
11971
11982
  push($$props, true);
@@ -12165,7 +12176,7 @@ function ContourPlot($$anchor, $$props) {
12165
12176
  });
12166
12177
  var node_5 = sibling(node_3);
12167
12178
  each(node_5, 17, () => get(xTicks), index, ($$anchor3, v) => {
12168
- var text_2 = root_6$d();
12179
+ var text_2 = root_6$e();
12169
12180
  var text_3 = child(text_2, true);
12170
12181
  reset(text_2);
12171
12182
  template_effect(
@@ -12379,7 +12390,7 @@ function CopyButton_wc($$anchor, $$props) {
12379
12390
  customElements.define("uni-copy-button", create_custom_element(CopyButton_wc, { text: {}, label: {} }, ["default"], [], { mode: "open" }));
12380
12391
  var root_1$1E = /* @__PURE__ */ from_svg(`<text text-anchor="middle" font-size="9" fill="#A4A7B5" font-family="inherit"> </text>`);
12381
12392
  var root_2$1j = /* @__PURE__ */ from_svg(`<text text-anchor="end" dominant-baseline="middle" font-size="9" fill="#A4A7B5" font-family="inherit"> </text>`);
12382
- var root_4$I = /* @__PURE__ */ from_svg(`<g><rect rx="3"></rect><text text-anchor="middle" dominant-baseline="middle" font-size="10" font-family="inherit"> </text></g>`);
12393
+ var root_4$J = /* @__PURE__ */ from_svg(`<g><rect rx="3"></rect><text text-anchor="middle" dominant-baseline="middle" font-size="10" font-family="inherit"> </text></g>`);
12383
12394
  var root$21 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
12384
12395
  function CorrelationMatrix($$anchor, $$props) {
12385
12396
  push($$props, true);
@@ -12438,7 +12449,7 @@ function CorrelationMatrix($$anchor, $$props) {
12438
12449
  each(node_3, 19, () => get(row), (v, j) => `${i}-${j}`, ($$anchor3, v, j) => {
12439
12450
  const x = /* @__PURE__ */ user_derived(() => LABEL_W + get(j) * cellSize());
12440
12451
  const y = /* @__PURE__ */ user_derived(() => LABEL_H + i * cellSize());
12441
- var g = root_4$I();
12452
+ var g = root_4$J();
12442
12453
  var rect = child(g);
12443
12454
  var text_4 = sibling(rect);
12444
12455
  var text_5 = child(text_4, true);
@@ -12699,9 +12710,9 @@ customElements.define("uni-count-up", create_custom_element(
12699
12710
  ));
12700
12711
  var root_2$1i = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
12701
12712
  var root_3$T = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.18)" stroke-width="1" stroke-dasharray="4 3"></line><text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text>`, 1);
12702
- var root_4$H = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round"></path>`);
12713
+ var root_4$I = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round"></path>`);
12703
12714
  var root_5$r = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12704
- var root_6$c = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12715
+ var root_6$d = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12705
12716
  var root_1$1D = /* @__PURE__ */ from_html(`<div role="img" style="line-height:0;"><svg width="100%" aria-hidden="true" focusable="false"><!><!><!><!><!></svg></div>`);
12706
12717
  function CumulativeDistribution($$anchor, $$props) {
12707
12718
  push($$props, true);
@@ -12777,7 +12788,7 @@ function CumulativeDistribution($$anchor, $$props) {
12777
12788
  });
12778
12789
  var node_3 = sibling(node_2);
12779
12790
  each(node_3, 17, () => get(paths), (s) => s.label, ($$anchor3, s) => {
12780
- var path = root_4$H();
12791
+ var path = root_4$I();
12781
12792
  template_effect(() => {
12782
12793
  set_attribute(path, "d", get(s).d);
12783
12794
  set_attribute(path, "stroke", get(s).color);
@@ -12798,7 +12809,7 @@ function CumulativeDistribution($$anchor, $$props) {
12798
12809
  });
12799
12810
  var node_5 = sibling(node_4);
12800
12811
  each(node_5, 17, () => get(xTicks), index, ($$anchor3, t) => {
12801
- var text_4 = root_6$c();
12812
+ var text_4 = root_6$d();
12802
12813
  var text_5 = child(text_4, true);
12803
12814
  reset(text_4);
12804
12815
  template_effect(() => {
@@ -12933,7 +12944,7 @@ function buildGrid$1(year, month) {
12933
12944
  var root_1$1C = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
12934
12945
  var root_3$S = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
12935
12946
  var root_5$q = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
12936
- var root_4$G = /* @__PURE__ */ from_html(`<tr></tr>`);
12947
+ var root_4$H = /* @__PURE__ */ from_html(`<tr></tr>`);
12937
12948
  var root_2$1h = /* @__PURE__ */ from_html(`<div role="dialog" aria-modal="true" class="absolute left-0 top-[calc(100%+4px)] z-[9100] rounded-lg border border-border-3 bg-bg-2 p-2 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><div class="flex items-center justify-between px-1 py-1"><button type="button" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-label="Previous month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 1L2 6l5 5"></path></svg></button> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <button type="button" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-label="Next month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M1 1l5 5-5 5"></path></svg></button></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>`);
12938
12949
  var root$1$ = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
12939
12950
  function DatePicker($$anchor, $$props) {
@@ -13100,7 +13111,7 @@ function DatePicker($$anchor, $$props) {
13100
13111
  reset(thead);
13101
13112
  var tbody = sibling(thead);
13102
13113
  each(tbody, 20, () => Array(6), index, ($$anchor3, _, row) => {
13103
- var tr_1 = root_4$G();
13114
+ var tr_1 = root_4$H();
13104
13115
  each(tr_1, 20, () => Array(7), index, ($$anchor4, _2, col, $$array) => {
13105
13116
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13106
13117
  const day = /* @__PURE__ */ user_derived(() => get(grid)[get(idx)]);
@@ -13252,10 +13263,10 @@ function buildGrid(year, month) {
13252
13263
  var root_1$1B = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
13253
13264
  var root_3$R = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13254
13265
  var root_5$p = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13255
- var root_4$F = /* @__PURE__ */ from_html(`<tr></tr>`);
13256
- var root_6$b = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13257
- var root_8$9 = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13258
- var root_7$9 = /* @__PURE__ */ from_html(`<tr></tr>`);
13266
+ var root_4$G = /* @__PURE__ */ from_html(`<tr></tr>`);
13267
+ var root_6$c = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13268
+ var root_8$8 = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13269
+ var root_7$a = /* @__PURE__ */ from_html(`<tr></tr>`);
13259
13270
  var root_9$5 = /* @__PURE__ */ from_html(`<p class="mt-2 px-1 text-12 text-status-info" aria-live="polite">Pick the end date</p>`);
13260
13271
  var root_2$1g = /* @__PURE__ */ from_html(`<div role="dialog" aria-modal="true" aria-label="Select date range" class="absolute left-0 top-[calc(100%+4px)] z-[9100] rounded-lg border border-border-3 bg-bg-2 p-2 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><div class="flex gap-3"><div><div class="flex items-center justify-between px-1 py-1"><button type="button" aria-label="Previous month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 1L2 6l5 5"></path></svg></button> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <span class="inline-block w-7" aria-hidden="true"></span></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div> <div><div class="flex items-center justify-between px-1 py-1"><span class="inline-block w-7" aria-hidden="true"></span> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <button type="button" aria-label="Next month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M1 1l5 5-5 5"></path></svg></button></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div></div> <!></div>`);
13261
13272
  var root$1_ = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
@@ -13402,7 +13413,7 @@ function DateRangePicker($$anchor, $$props) {
13402
13413
  reset(thead);
13403
13414
  var tbody = sibling(thead);
13404
13415
  each(tbody, 20, () => Array(6), index, ($$anchor3, _, row) => {
13405
- var tr_1 = root_4$F();
13416
+ var tr_1 = root_4$G();
13406
13417
  each(tr_1, 20, () => Array(7), index, ($$anchor4, _2, col, $$array) => {
13407
13418
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13408
13419
  const day = /* @__PURE__ */ user_derived(() => get(leftGrid)[get(idx)]);
@@ -13461,7 +13472,7 @@ function DateRangePicker($$anchor, $$props) {
13461
13472
  var thead_1 = child(table_1);
13462
13473
  var tr_2 = child(thead_1);
13463
13474
  each(tr_2, 21, () => DAYS, index, ($$anchor3, d) => {
13464
- var th_1 = root_6$b();
13475
+ var th_1 = root_6$c();
13465
13476
  var text_5 = child(th_1, true);
13466
13477
  reset(th_1);
13467
13478
  template_effect(() => {
@@ -13474,7 +13485,7 @@ function DateRangePicker($$anchor, $$props) {
13474
13485
  reset(thead_1);
13475
13486
  var tbody_1 = sibling(thead_1);
13476
13487
  each(tbody_1, 20, () => Array(6), index, ($$anchor3, _, row) => {
13477
- var tr_3 = root_7$9();
13488
+ var tr_3 = root_7$a();
13478
13489
  each(tr_3, 20, () => Array(7), index, ($$anchor4, _2, col, $$array_1) => {
13479
13490
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13480
13491
  const day = /* @__PURE__ */ user_derived(() => get(rightGrid)[get(idx)]);
@@ -13483,7 +13494,7 @@ function DateRangePicker($$anchor, $$props) {
13483
13494
  const start = /* @__PURE__ */ user_derived(() => isStart(get(day)));
13484
13495
  const end = /* @__PURE__ */ user_derived(() => isEnd(get(day)));
13485
13496
  const inRange = /* @__PURE__ */ user_derived(() => isInRange(get(day)));
13486
- var td_1 = root_8$9();
13497
+ var td_1 = root_8$8();
13487
13498
  var button_3 = child(td_1);
13488
13499
  var text_6 = child(button_3, true);
13489
13500
  reset(button_3);
@@ -13662,9 +13673,9 @@ function Delta_wc($$anchor, $$props) {
13662
13673
  }
13663
13674
  customElements.define("uni-delta", create_custom_element(Delta_wc, { dir: {}, class: {} }, ["default"], [], { mode: "open" }));
13664
13675
  var root_2$1f = /* @__PURE__ */ from_svg(`<path fill="none" stroke="rgba(255,255,255,0.13)" stroke-width="1.5"></path>`);
13665
- var root_4$E = /* @__PURE__ */ from_svg(`<text fill="#C8CDD9" font-size="10" font-family="inherit"> </text>`);
13676
+ var root_4$F = /* @__PURE__ */ from_svg(`<text fill="#C8CDD9" font-size="10" font-family="inherit"> </text>`);
13666
13677
  var root_5$o = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit"> </text>`);
13667
- var root_6$a = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit" text-anchor="middle"> </text>`);
13678
+ var root_6$b = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit" text-anchor="middle"> </text>`);
13668
13679
  var root_3$Q = /* @__PURE__ */ from_svg(`<circle></circle><!>`, 1);
13669
13680
  var root_1$1A = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;overflow-x:auto"><svg aria-hidden="true" focusable="false"><!><!></svg></div>`);
13670
13681
  function Dendrogram($$anchor, $$props) {
@@ -13766,7 +13777,7 @@ function Dendrogram($$anchor, $$props) {
13766
13777
  var node_2 = sibling(circle);
13767
13778
  {
13768
13779
  var consequent = ($$anchor3) => {
13769
- var text2 = root_4$E();
13780
+ var text2 = root_4$F();
13770
13781
  var text_1 = child(text2, true);
13771
13782
  reset(text2);
13772
13783
  template_effect(() => {
@@ -13788,7 +13799,7 @@ function Dendrogram($$anchor, $$props) {
13788
13799
  append($$anchor3, text_2);
13789
13800
  };
13790
13801
  var alternate = ($$anchor3) => {
13791
- var text_4 = root_6$a();
13802
+ var text_4 = root_6$b();
13792
13803
  var text_5 = child(text_4, true);
13793
13804
  reset(text_4);
13794
13805
  template_effect(() => {
@@ -14107,8 +14118,8 @@ var root_1$1y = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06
14107
14118
  var root_3$P = /* @__PURE__ */ from_svg(`<line stroke-width="1.5" opacity="0.35"></line><circle fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle>`, 1);
14108
14119
  var root_2$1e = /* @__PURE__ */ from_svg(`<g><text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><!><circle></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
14109
14120
  var root_5$n = /* @__PURE__ */ from_svg(`<circle r="4" fill="#006FFF"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14110
- var root_6$9 = /* @__PURE__ */ from_svg(`<circle r="3" fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14111
- var root_4$D = /* @__PURE__ */ from_svg(`<!><!>`, 1);
14121
+ var root_6$a = /* @__PURE__ */ from_svg(`<circle r="3" fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14122
+ var root_4$E = /* @__PURE__ */ from_svg(`<!><!>`, 1);
14112
14123
  var root$1V = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
14113
14124
  function DotPlot($$anchor, $$props) {
14114
14125
  push($$props, true);
@@ -14230,7 +14241,7 @@ function DotPlot($$anchor, $$props) {
14230
14241
  var node_3 = sibling(node_1);
14231
14242
  {
14232
14243
  var consequent_3 = ($$anchor2) => {
14233
- var fragment_1 = root_4$D();
14244
+ var fragment_1 = root_4$E();
14234
14245
  var node_4 = first_child(fragment_1);
14235
14246
  {
14236
14247
  var consequent_1 = ($$anchor3) => {
@@ -14255,7 +14266,7 @@ function DotPlot($$anchor, $$props) {
14255
14266
  var node_5 = sibling(node_4);
14256
14267
  {
14257
14268
  var consequent_2 = ($$anchor3) => {
14258
- var fragment_3 = root_6$9();
14269
+ var fragment_3 = root_6$a();
14259
14270
  var circle_3 = first_child(fragment_3);
14260
14271
  var text_8 = sibling(circle_3);
14261
14272
  var text_9 = child(text_8, true);
@@ -14510,10 +14521,10 @@ customElements.define("uni-drawer", create_custom_element(Drawer_wc, { open: {},
14510
14521
  var root_1$1x = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
14511
14522
  var root_2$1d = /* @__PURE__ */ from_svg(`<text text-anchor="end" font-size="9" font-family="inherit" fill-opacity="0.8"> </text>`);
14512
14523
  var root_3$O = /* @__PURE__ */ from_svg(`<text text-anchor="start" font-size="9" font-family="inherit" fill-opacity="0.8"> </text>`);
14513
- var root_4$C = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.75" rx="2"></rect>`);
14524
+ var root_4$D = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.75" rx="2"></rect>`);
14514
14525
  var root_5$m = /* @__PURE__ */ from_svg(`<path fill-opacity="0.12"></path>`);
14515
- var root_6$8 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>`);
14516
- var root_7$8 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
14526
+ var root_6$9 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>`);
14527
+ var root_7$9 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
14517
14528
  var root$1T = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!><!><!><!></svg> <div style="display:flex;gap:16px;justify-content:center;font-size:11px;color:#A4A7B5;margin-top:4px;"><span style="display:flex;align-items:center;gap:4px;"><span></span> </span> <span style="display:flex;align-items:center;gap:4px;"><span></span> </span></div></div>`);
14518
14529
  function DualAxisChart($$anchor, $$props) {
14519
14530
  push($$props, true);
@@ -14593,7 +14604,7 @@ function DualAxisChart($$anchor, $$props) {
14593
14604
  });
14594
14605
  var node_3 = sibling(node_2);
14595
14606
  each(node_3, 17, () => get(barRects), index, ($$anchor2, b) => {
14596
- var rect = root_4$C();
14607
+ var rect = root_4$D();
14597
14608
  template_effect(() => {
14598
14609
  set_attribute(rect, "x", get(b).x);
14599
14610
  set_attribute(rect, "y", get(b).y);
@@ -14620,7 +14631,7 @@ function DualAxisChart($$anchor, $$props) {
14620
14631
  var node_5 = sibling(node_4);
14621
14632
  {
14622
14633
  var consequent_1 = ($$anchor2) => {
14623
- var path_1 = root_6$8();
14634
+ var path_1 = root_6$9();
14624
14635
  template_effect(() => {
14625
14636
  set_attribute(path_1, "d", get(linePath));
14626
14637
  set_attribute(path_1, "stroke", $$props.line.color);
@@ -14633,7 +14644,7 @@ function DualAxisChart($$anchor, $$props) {
14633
14644
  }
14634
14645
  var node_6 = sibling(node_5);
14635
14646
  each(node_6, 17, labels, index, ($$anchor2, lbl, i) => {
14636
- var text_4 = root_7$8();
14647
+ var text_4 = root_7$9();
14637
14648
  var text_5 = child(text_4, true);
14638
14649
  reset(text_4);
14639
14650
  template_effect(
@@ -15179,7 +15190,7 @@ function EmptyState_wc($$anchor, $$props) {
15179
15190
  customElements.define("uni-empty-state", create_custom_element(EmptyState_wc, { title: {}, description: {}, class: {} }, ["default"], [], { mode: "open" }));
15180
15191
  var root_2$19 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
15181
15192
  var root_3$M = /* @__PURE__ */ from_svg(`<path opacity="0.12"></path><path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`, 1);
15182
- var root_4$B = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
15193
+ var root_4$C = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
15183
15194
  var root_1$1t = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
15184
15195
  function ErrorBandChart($$anchor, $$props) {
15185
15196
  push($$props, true);
@@ -15264,7 +15275,7 @@ function ErrorBandChart($$anchor, $$props) {
15264
15275
  });
15265
15276
  var node_3 = sibling(node_2);
15266
15277
  each(node_3, 17, xLabels, index, ($$anchor3, lbl, i) => {
15267
- var text_2 = root_4$B();
15278
+ var text_2 = root_4$C();
15268
15279
  var text_3 = child(text_2, true);
15269
15280
  reset(text_2);
15270
15281
  template_effect(() => {
@@ -15494,7 +15505,7 @@ customElements.define("uni-eyebrow", create_custom_element(Eyebrow_wc, { class:
15494
15505
  let counter$k = 0;
15495
15506
  var root_1$1s = /* @__PURE__ */ from_html(`<span class="text-status-danger" aria-hidden="true">*</span>`);
15496
15507
  var root_2$18 = /* @__PURE__ */ from_html(`<div class="text-12 text-text-3"> </div>`);
15497
- var root_4$A = /* @__PURE__ */ from_html(`<input class="h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)]"/>`);
15508
+ var root_4$B = /* @__PURE__ */ from_html(`<input class="h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)]"/>`);
15498
15509
  var root_5$l = /* @__PURE__ */ from_html(`<div class="text-12 text-status-danger" role="alert"> </div>`);
15499
15510
  var root$1N = /* @__PURE__ */ from_html(`<div class="mb-3 flex flex-col gap-1.5"><label class="text-12 font-medium text-text-3"> <!></label> <!> <!> <!></div>`);
15500
15511
  function Field($$anchor, $$props) {
@@ -15543,7 +15554,7 @@ function Field($$anchor, $$props) {
15543
15554
  append($$anchor2, fragment);
15544
15555
  };
15545
15556
  var alternate = ($$anchor2) => {
15546
- var input = root_4$A();
15557
+ var input = root_4$B();
15547
15558
  remove_input_defaults(input);
15548
15559
  template_effect(() => {
15549
15560
  set_attribute(input, "id", inputId);
@@ -15911,13 +15922,13 @@ function defaultOp(type) {
15911
15922
  var root_2$16 = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent px-2.5 py-0.5 text-11 font-bold uppercase tracking-[0.06em] text-text-4 hover:bg-row-active hover:text-text-1 aria-pressed:bg-brand-05/[0.18] aria-pressed:text-status-info focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"> </button>`);
15912
15923
  var root_1$1q = /* @__PURE__ */ from_html(`<span class="text-13 text-text-4">Match</span> <div class="flex overflow-hidden rounded border border-border-2" role="group" aria-label="Conjunction"></div> <span class="text-13 text-text-4">conditions</span>`, 1);
15913
15924
  var root_3$K = /* @__PURE__ */ from_html(`<button type="button" aria-label="Clear all filters" class="cursor-pointer border-0 bg-transparent px-1.5 py-1 text-12 leading-none text-text-4 hover:text-text-1 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Clear</button>`);
15914
- var root_6$7 = /* @__PURE__ */ from_html(`<option> </option>`);
15915
- var root_7$7 = /* @__PURE__ */ from_html(`<option> </option>`);
15925
+ var root_6$8 = /* @__PURE__ */ from_html(`<option> </option>`);
15926
+ var root_7$8 = /* @__PURE__ */ from_html(`<option> </option>`);
15916
15927
  var root_9$4 = /* @__PURE__ */ from_html(`<option> </option>`);
15917
- var root_8$8 = /* @__PURE__ */ from_html(`<select><option>Any</option><!></select>`);
15928
+ var root_8$7 = /* @__PURE__ */ from_html(`<select><option>Any</option><!></select>`);
15918
15929
  var root_10$3 = /* @__PURE__ */ from_html(`<input placeholder="Value…"/>`);
15919
15930
  var root_5$k = /* @__PURE__ */ from_html(`<li class="flex items-center gap-1.5"><label class="sr-only"></label> <select></select> <label class="sr-only"></label> <select></select> <label class="sr-only"></label> <!> <button type="button" class="flex h-[26px] w-[26px] shrink-0 cursor-pointer items-center justify-center rounded-md border-0 bg-transparent text-text-4 hover:bg-status-danger/10 hover:text-status-danger focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 12 12" width="10" height="10" aria-hidden="true" fill="currentColor"><path d="M1 1l10 10M11 1L1 11" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"></path></svg></button></li>`);
15920
- var root_4$z = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-1 p-0" aria-label="Filter rules"></ul>`);
15931
+ var root_4$A = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-1 p-0" aria-label="Filter rules"></ul>`);
15921
15932
  var root$1K = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5" role="group"><div class="flex min-h-8 flex-wrap items-center gap-2"><span class="mr-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3">Filters</span> <!> <button type="button" aria-label="Add filter rule" class="ml-auto cursor-pointer rounded border border-dashed border-border-3 bg-transparent px-2.5 py-1 text-12 leading-none text-brand-05 hover:border-brand-05 hover:bg-brand-05/[0.08] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">+ Add rule</button> <!></div> <!></div>`);
15922
15933
  function FilterBuilder($$anchor, $$props) {
15923
15934
  push($$props, true);
@@ -16000,7 +16011,7 @@ function FilterBuilder($$anchor, $$props) {
16000
16011
  var node_2 = sibling(div_1, 2);
16001
16012
  {
16002
16013
  var consequent_3 = ($$anchor2) => {
16003
- var ul = root_4$z();
16014
+ var ul = root_4$A();
16004
16015
  each(ul, 21, value, index, ($$anchor3, rule, i) => {
16005
16016
  const f = /* @__PURE__ */ user_derived(() => fields().find((x) => x.key === get(rule).field));
16006
16017
  const ops = /* @__PURE__ */ user_derived(() => opsFor(get(f)?.type));
@@ -16015,7 +16026,7 @@ function FilterBuilder($$anchor, $$props) {
16015
16026
  set_style(select, SELECT_CHEVRON);
16016
16027
  set_attribute(select, "aria-label", `Rule ${i + 1} field`);
16017
16028
  each(select, 21, fields, index, ($$anchor4, x) => {
16018
- var option = root_6$7();
16029
+ var option = root_6$8();
16019
16030
  var text_1 = child(option, true);
16020
16031
  reset(option);
16021
16032
  var option_value = {};
@@ -16037,7 +16048,7 @@ function FilterBuilder($$anchor, $$props) {
16037
16048
  set_style(select_1, SELECT_CHEVRON);
16038
16049
  set_attribute(select_1, "aria-label", `Rule ${i + 1} operator`);
16039
16050
  each(select_1, 21, () => get(ops), index, ($$anchor4, op) => {
16040
- var option_1 = root_7$7();
16051
+ var option_1 = root_7$8();
16041
16052
  var text_2 = child(option_1, true);
16042
16053
  reset(option_1);
16043
16054
  var option_1_value = {};
@@ -16057,7 +16068,7 @@ function FilterBuilder($$anchor, $$props) {
16057
16068
  var node_3 = sibling(label_2, 2);
16058
16069
  {
16059
16070
  var consequent_2 = ($$anchor4) => {
16060
- var select_2 = root_8$8();
16071
+ var select_2 = root_8$7();
16061
16072
  set_class(select_2, 1, clsx(SELECT_CLS));
16062
16073
  set_style(select_2, SELECT_CHEVRON);
16063
16074
  set_attribute(select_2, "aria-label", `Rule ${i + 1} value`);
@@ -16200,7 +16211,7 @@ function FilterBuilder_wc($$anchor, $$props) {
16200
16211
  }
16201
16212
  customElements.define("uni-filter-builder", create_custom_element(FilterBuilder_wc, { fields: {}, value: {}, conjunction: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16202
16213
  var root_5$j = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
16203
- var root_4$y = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
16214
+ var root_4$z = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
16204
16215
  var root_2$15 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
16205
16216
  function FlameGraph($$anchor, $$props) {
16206
16217
  let height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Flame graph");
@@ -16257,7 +16268,7 @@ function FlameGraph($$anchor, $$props) {
16257
16268
  var node_2 = first_child(fragment_1);
16258
16269
  {
16259
16270
  var consequent_1 = ($$anchor4) => {
16260
- var g = root_4$y();
16271
+ var g = root_4$z();
16261
16272
  var rect = child(g);
16262
16273
  set_attribute(rect, "rx", 2);
16263
16274
  var node_3 = sibling(rect);
@@ -16368,7 +16379,7 @@ function FlameGraph_wc($$anchor, $$props) {
16368
16379
  }
16369
16380
  customElements.define("uni-flame-graph", create_custom_element(FlameGraph_wc, { root: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16370
16381
  var root_3$J = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="1.5"></line>`);
16371
- var root_4$x = /* @__PURE__ */ from_svg(`<g><circle fill-opacity="0.85"></circle><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text></g>`);
16382
+ var root_4$y = /* @__PURE__ */ from_svg(`<g><circle fill-opacity="0.85"></circle><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text></g>`);
16372
16383
  var root_1$1p = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
16373
16384
  function ForceGraph($$anchor, $$props) {
16374
16385
  push($$props, true);
@@ -16469,7 +16480,7 @@ function ForceGraph($$anchor, $$props) {
16469
16480
  each(node_3, 17, nodes, index, ($$anchor3, n, ni) => {
16470
16481
  const r2 = /* @__PURE__ */ user_derived(() => get(n).r ?? 10);
16471
16482
  const color = /* @__PURE__ */ user_derived(() => get(n).color ?? PALETTE[ni % PALETTE.length]);
16472
- var g = root_4$x();
16483
+ var g = root_4$y();
16473
16484
  var circle = child(g);
16474
16485
  var text2 = sibling(circle);
16475
16486
  var text_1 = child(text2, true);
@@ -17020,12 +17031,12 @@ customElements.define("uni-grid", create_custom_element(Grid_wc, { class: {} },
17020
17031
  var root_3$I = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
17021
17032
  var root_2$13 = /* @__PURE__ */ from_html(`<button type="button"><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span> <svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path></svg></button>`);
17022
17033
  var root_5$i = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
17023
- var root_4$w = /* @__PURE__ */ from_html(`<div><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span></div>`);
17024
- var root_8$7 = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full"></span>`);
17034
+ var root_4$x = /* @__PURE__ */ from_html(`<div><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span></div>`);
17035
+ var root_8$6 = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full"></span>`);
17025
17036
  var root_9$3 = /* @__PURE__ */ from_html(`<div class="truncate text-11 text-text-4"> </div>`);
17026
17037
  var root_10$2 = /* @__PURE__ */ from_html(`<span class="shrink-0 text-11 text-text-4 tabular-nums"> </span>`);
17027
- var root_7$6 = /* @__PURE__ */ from_html(`<li class="flex items-center gap-2 rounded px-2 py-1.5 text-13 hover:bg-divider"><!> <div class="min-w-0 flex-1"><div class="truncate text-text-2"> </div> <!></div> <!></li>`);
17028
- var root_6$6 = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-0.5 p-0 pl-4" role="list"></ul>`);
17038
+ var root_7$7 = /* @__PURE__ */ from_html(`<li class="flex items-center gap-2 rounded px-2 py-1.5 text-13 hover:bg-divider"><!> <div class="min-w-0 flex-1"><div class="truncate text-text-2"> </div> <!></div> <!></li>`);
17039
+ var root_6$7 = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-0.5 p-0 pl-4" role="list"></ul>`);
17029
17040
  var root_1$1m = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-0.5"><!> <!></div>`);
17030
17041
  var root$1D = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5"></div>`);
17031
17042
  function GroupedList($$anchor, $$props) {
@@ -17086,7 +17097,7 @@ function GroupedList($$anchor, $$props) {
17086
17097
  append($$anchor3, button);
17087
17098
  };
17088
17099
  var alternate = ($$anchor3) => {
17089
- var div_2 = root_4$w();
17100
+ var div_2 = root_4$x();
17090
17101
  set_class(div_2, 1, clsx(HEADER_CLS));
17091
17102
  var node_2 = child(div_2);
17092
17103
  {
@@ -17120,13 +17131,13 @@ function GroupedList($$anchor, $$props) {
17120
17131
  var node_3 = sibling(node, 2);
17121
17132
  {
17122
17133
  var consequent_6 = ($$anchor3) => {
17123
- var ul = root_6$6();
17134
+ var ul = root_6$7();
17124
17135
  each(ul, 21, () => get(group).items, index, ($$anchor4, item) => {
17125
- var li = root_7$6();
17136
+ var li = root_7$7();
17126
17137
  var node_4 = child(li);
17127
17138
  {
17128
17139
  var consequent_3 = ($$anchor5) => {
17129
- var span_6 = root_8$7();
17140
+ var span_6 = root_8$6();
17130
17141
  template_effect(() => {
17131
17142
  set_style(span_6, `background:${STATUS_COLORS[get(item).status] ?? ""}`);
17132
17143
  set_attribute(span_6, "aria-label", get(item).status);
@@ -17652,7 +17663,7 @@ customElements.define("uni-heat-map", create_custom_element(
17652
17663
  { mode: "open" }
17653
17664
  ));
17654
17665
  var root_2$11 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
17655
- var root_4$v = /* @__PURE__ */ from_svg(`<path stroke="rgba(0,111,255,0.2)" stroke-width="0.5"></path>`);
17666
+ var root_4$w = /* @__PURE__ */ from_svg(`<path stroke="rgba(0,111,255,0.2)" stroke-width="0.5"></path>`);
17656
17667
  var root_5$h = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
17657
17668
  var root_1$1k = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
17658
17669
  function HexbinChart($$anchor, $$props) {
@@ -17763,7 +17774,7 @@ function HexbinChart($$anchor, $$props) {
17763
17774
  {
17764
17775
  var consequent = ($$anchor4) => {
17765
17776
  const alpha = /* @__PURE__ */ user_derived(() => (0.15 + 0.85 * (count() / get(maxCount))).toFixed(3));
17766
- var path = root_4$v();
17777
+ var path = root_4$w();
17767
17778
  template_effect(
17768
17779
  ($0) => {
17769
17780
  set_attribute(path, "d", $0);
@@ -18074,7 +18085,7 @@ function Histogram_wc($$anchor, $$props) {
18074
18085
  customElements.define("uni-histogram", create_custom_element(Histogram_wc, { bins: {}, height: {}, color: {}, xUnit: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
18075
18086
  var root_3$G = /* @__PURE__ */ from_svg(`<rect rx="1"></rect>`);
18076
18087
  var root_2$$ = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#C8C9D0" font-size="9" font-family="inherit"> </text><rect fill="rgba(255,255,255,0.04)" rx="2"></rect><!>`, 1);
18077
- var root_4$u = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
18088
+ var root_4$v = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
18078
18089
  var root_1$1i = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
18079
18090
  function HorizonChart($$anchor, $$props) {
18080
18091
  push($$props, true);
@@ -18158,7 +18169,7 @@ function HorizonChart($$anchor, $$props) {
18158
18169
  });
18159
18170
  var node_3 = sibling(node_1);
18160
18171
  each(node_3, 17, () => get(xTickPositions), index, ($$anchor3, tick2) => {
18161
- var text_2 = root_4$u();
18172
+ var text_2 = root_4$v();
18162
18173
  var text_3 = child(text_2, true);
18163
18174
  reset(text_2);
18164
18175
  template_effect(() => {
@@ -18548,7 +18559,7 @@ function IPInput_wc($$anchor, $$props) {
18548
18559
  }
18549
18560
  customElements.define("uni-ipinput", create_custom_element(IPInput_wc, { label: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
18550
18561
  var root_5$g = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
18551
- var root_4$t = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
18562
+ var root_4$u = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
18552
18563
  var root_2$Z = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
18553
18564
  function IcicleChart($$anchor, $$props) {
18554
18565
  let height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Icicle chart");
@@ -18604,7 +18615,7 @@ function IcicleChart($$anchor, $$props) {
18604
18615
  var node_2 = first_child(fragment_1);
18605
18616
  {
18606
18617
  var consequent_1 = ($$anchor4) => {
18607
- var g = root_4$t();
18618
+ var g = root_4$u();
18608
18619
  var rect = child(g);
18609
18620
  set_attribute(rect, "rx", 2);
18610
18621
  var node_3 = sibling(rect);
@@ -18904,7 +18915,7 @@ customElements.define("uni-inline-edit", create_custom_element(InlineEdit_wc, {
18904
18915
  var root_1$1e = /* @__PURE__ */ from_html(`<input type="text"/>`);
18905
18916
  var root_2$X = /* @__PURE__ */ from_html(`<input type="password"/>`);
18906
18917
  var root_3$E = /* @__PURE__ */ from_html(`<input type="number"/>`);
18907
- var root_4$s = /* @__PURE__ */ from_html(`<input/>`);
18918
+ var root_4$t = /* @__PURE__ */ from_html(`<input/>`);
18908
18919
  function Input($$anchor, $$props) {
18909
18920
  push($$props, true);
18910
18921
  let value = prop($$props, "value", 15, ""), placeholder = prop($$props, "placeholder", 3, ""), type = prop($$props, "type", 3, "text"), className = prop($$props, "class", 3, ""), style = prop($$props, "style", 3, "");
@@ -18981,7 +18992,7 @@ function Input($$anchor, $$props) {
18981
18992
  append($$anchor2, input_2);
18982
18993
  };
18983
18994
  var alternate = ($$anchor2) => {
18984
- var input_3 = root_4$s();
18995
+ var input_3 = root_4$t();
18985
18996
  remove_input_defaults(input_3);
18986
18997
  template_effect(() => {
18987
18998
  set_class(input_3, 1, `h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)] ${className() ?? ""}`);
@@ -19162,14 +19173,14 @@ function InputGroup_wc($$anchor, $$props) {
19162
19173
  customElements.define("uni-input-group", create_custom_element(InputGroup_wc, { prefix: {}, suffix: {} }, ["default"], [], { mode: "open" }));
19163
19174
  var root_2$V = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19164
19175
  var root_3$D = /* @__PURE__ */ from_html(`<span>null</span>`);
19165
- var root_4$r = /* @__PURE__ */ from_html(`<span> </span>`);
19176
+ var root_4$s = /* @__PURE__ */ from_html(`<span> </span>`);
19166
19177
  var root_5$f = /* @__PURE__ */ from_html(`<span> </span>`);
19167
- var root_6$5 = /* @__PURE__ */ from_html(`<span> </span>`);
19178
+ var root_6$6 = /* @__PURE__ */ from_html(`<span> </span>`);
19168
19179
  var root_1$1c = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="px-3 py-px"><!> <!></div>`);
19169
- var root_8$6 = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19180
+ var root_8$5 = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19170
19181
  var root_9$2 = /* @__PURE__ */ from_html(`<span> </span><span> </span>`, 1);
19171
19182
  var root_10$1 = /* @__PURE__ */ from_html(`<div role="group" class="block"><!> <div class="px-3 py-px"><span> </span></div></div>`);
19172
- var root_7$5 = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="block"><button type="button" class="flex w-full cursor-pointer items-baseline border-0 bg-transparent px-3 py-px text-left font-mono text-12 leading-[1.8] hover:bg-divider focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><span class="mr-1 inline-block w-3 text-text-4" aria-hidden="true"> </span> <!> <span> </span> <!></button> <!></div>`);
19183
+ var root_7$6 = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="block"><button type="button" class="flex w-full cursor-pointer items-baseline border-0 bg-transparent px-3 py-px text-left font-mono text-12 leading-[1.8] hover:bg-divider focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><span class="mr-1 inline-block w-3 text-text-4" aria-hidden="true"> </span> <!> <span> </span> <!></button> <!></div>`);
19173
19184
  function JsonViewerNode_1($$anchor, $$props) {
19174
19185
  push($$props, true);
19175
19186
  let k = prop($$props, "k", 3, void 0), depth = prop($$props, "depth", 3, 0), maxDepth = prop($$props, "maxDepth", 3, 3), startOpen = prop($$props, "startOpen", 3, true);
@@ -19221,7 +19232,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19221
19232
  append($$anchor3, span_2);
19222
19233
  };
19223
19234
  var consequent_2 = ($$anchor3) => {
19224
- var span_3 = root_4$r();
19235
+ var span_3 = root_4$s();
19225
19236
  set_class(span_3, 1, clsx(STR));
19226
19237
  var text_1 = child(span_3);
19227
19238
  reset(span_3);
@@ -19237,7 +19248,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19237
19248
  append($$anchor3, span_4);
19238
19249
  };
19239
19250
  var alternate = ($$anchor3) => {
19240
- var span_5 = root_6$5();
19251
+ var span_5 = root_6$6();
19241
19252
  set_class(span_5, 1, clsx(BOOL));
19242
19253
  var text_3 = child(span_5, true);
19243
19254
  reset(span_5);
@@ -19256,7 +19267,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19256
19267
  append($$anchor2, div);
19257
19268
  };
19258
19269
  var alternate_1 = ($$anchor2) => {
19259
- var div_1 = root_7$5();
19270
+ var div_1 = root_7$6();
19260
19271
  var button = child(div_1);
19261
19272
  let styles_1;
19262
19273
  var span_6 = child(button);
@@ -19265,7 +19276,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19265
19276
  var node_3 = sibling(span_6, 2);
19266
19277
  {
19267
19278
  var consequent_5 = ($$anchor3) => {
19268
- var fragment_2 = root_8$6();
19279
+ var fragment_2 = root_8$5();
19269
19280
  var span_7 = first_child(fragment_2);
19270
19281
  set_class(span_7, 1, clsx(KEY));
19271
19282
  var text_5 = child(span_7);
@@ -19602,10 +19613,10 @@ function KVTable_wc($$anchor, $$props) {
19602
19613
  }
19603
19614
  customElements.define("uni-kvtable", create_custom_element(KVTable_wc, { rows: {}, caption: {} }, ["default"], [], { mode: "open" }));
19604
19615
  var root_2$T = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
19605
- var root_4$q = /* @__PURE__ */ from_html(`<span class="text-12 text-text-3"> </span>`);
19616
+ var root_4$r = /* @__PURE__ */ from_html(`<span class="text-12 text-text-3"> </span>`);
19606
19617
  var root_5$e = /* @__PURE__ */ from_html(`<span class="text-11 text-text-4"> </span>`);
19607
19618
  var root_3$C = /* @__PURE__ */ from_html(`<li><button type="button" class="flex w-full cursor-grab flex-col items-start gap-0.5 rounded-md border border-border-1 bg-bg-1 p-2 text-left active:cursor-grabbing hover:border-border-3 data-[grabbed=true]:border-brand-05 data-[grabbed=true]:bg-brand-05/[0.08] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><span class="text-13 font-medium text-text-1"> </span> <!> <!></button></li>`);
19608
- var root_6$4 = /* @__PURE__ */ from_html(`<li class="rounded-md border border-dashed border-border-1 p-3 text-center text-11 text-text-4" role="note">Empty</li>`);
19619
+ var root_6$5 = /* @__PURE__ */ from_html(`<li class="rounded-md border border-dashed border-border-1 p-3 text-center text-11 text-text-4" role="note">Empty</li>`);
19609
19620
  var root_1$19 = /* @__PURE__ */ from_html(`<div role="listitem" class="flex min-w-[240px] flex-1 flex-col gap-2 rounded-lg border border-border-1 bg-divider p-2 data-[over=true]:border-brand-05/40 data-[over=true]:bg-brand-05/[0.04]"><div class="flex items-center gap-2 px-1 pt-0.5"><!> <span class="flex-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-4 tabular-nums"> </span></div> <ul class="m-0 flex list-none flex-col gap-1.5 p-0"><!> <!></ul></div>`);
19610
19621
  var root$1r = /* @__PURE__ */ from_html(`<div role="region"><span role="status" aria-live="assertive" aria-atomic="true" class="sr-only"> </span> <div class="flex gap-3 overflow-x-auto" role="list"></div></div>`);
19611
19622
  function KanbanBoard($$anchor, $$props) {
@@ -19716,7 +19727,7 @@ function KanbanBoard($$anchor, $$props) {
19716
19727
  var node_2 = sibling(span_4, 2);
19717
19728
  {
19718
19729
  var consequent_1 = ($$anchor4) => {
19719
- var span_5 = root_4$q();
19730
+ var span_5 = root_4$r();
19720
19731
  var text_4 = child(span_5, true);
19721
19732
  reset(span_5);
19722
19733
  template_effect(() => set_text(text_4, get(card).subtitle));
@@ -19759,7 +19770,7 @@ function KanbanBoard($$anchor, $$props) {
19759
19770
  var node_4 = sibling(node_1, 2);
19760
19771
  {
19761
19772
  var consequent_3 = ($$anchor3) => {
19762
- var li_1 = root_6$4();
19773
+ var li_1 = root_6$5();
19763
19774
  template_effect(() => set_attribute(li_1, "aria-label", `${get(col).title} is empty`));
19764
19775
  append($$anchor3, li_1);
19765
19776
  };
@@ -20604,9 +20615,9 @@ function Mac_wc($$anchor, $$props) {
20604
20615
  }
20605
20616
  customElements.define("uni-mac", create_custom_element(Mac_wc, { class: {} }, ["default"], [], { mode: "open" }));
20606
20617
  var root_3$z = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
20607
- var root_6$3 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
20618
+ var root_6$4 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
20608
20619
  var root_5$c = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
20609
- var root_7$4 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)"></line>`);
20620
+ var root_7$5 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)"></line>`);
20610
20621
  var root_1$14 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
20611
20622
  function MarimekkoChart($$anchor, $$props) {
20612
20623
  push($$props, true);
@@ -20697,7 +20708,7 @@ function MarimekkoChart($$anchor, $$props) {
20697
20708
  var node_5 = sibling(rect);
20698
20709
  {
20699
20710
  var consequent_1 = ($$anchor5) => {
20700
- var text_2 = root_6$3();
20711
+ var text_2 = root_6$4();
20701
20712
  var text_3 = child(text_2, true);
20702
20713
  reset(text_2);
20703
20714
  template_effect(
@@ -20741,7 +20752,7 @@ function MarimekkoChart($$anchor, $$props) {
20741
20752
  });
20742
20753
  var node_6 = sibling(node_3);
20743
20754
  each(node_6, 17, () => get(layout).headers.slice(0, -1), index, ($$anchor3, h) => {
20744
- var line = root_7$4();
20755
+ var line = root_7$5();
20745
20756
  set_attribute(line, "y1", LABEL_H);
20746
20757
  set_attribute(line, "stroke-width", 1);
20747
20758
  template_effect(() => {
@@ -20816,7 +20827,7 @@ customElements.define("uni-marimekko-chart", create_custom_element(MarimekkoChar
20816
20827
  var root_1$13 = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text>`);
20817
20828
  var root_2$P = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text>`);
20818
20829
  var root_5$b = /* @__PURE__ */ from_svg(`<text font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
20819
- var root_4$p = /* @__PURE__ */ from_svg(`<rect rx="3"></rect><!>`, 1);
20830
+ var root_4$q = /* @__PURE__ */ from_svg(`<rect rx="3"></rect><!>`, 1);
20820
20831
  var root$1k = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
20821
20832
  function MatrixChart($$anchor, $$props) {
20822
20833
  push($$props, true);
@@ -20876,7 +20887,7 @@ function MatrixChart($$anchor, $$props) {
20876
20887
  const y = /* @__PURE__ */ user_derived(() => TOP + ri * CELL);
20877
20888
  const cx = /* @__PURE__ */ user_derived(() => get(x) + CELL / 2);
20878
20889
  const cy = /* @__PURE__ */ user_derived(() => get(y) + CELL / 2);
20879
- var fragment_1 = root_4$p();
20890
+ var fragment_1 = root_4$q();
20880
20891
  var rect = first_child(fragment_1);
20881
20892
  set_attribute(rect, "width", CELL - 2);
20882
20893
  set_attribute(rect, "height", CELL - 2);
@@ -20990,7 +21001,7 @@ function MatrixChart_wc($$anchor, $$props) {
20990
21001
  }
20991
21002
  customElements.define("uni-matrix-chart", create_custom_element(MatrixChart_wc, { rows: {}, cols: {}, values: {}, unit: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
20992
21003
  let counter$f = 0;
20993
- var root_4$o = /* @__PURE__ */ from_html(`<li role="separator" aria-hidden="true" class="my-[3px] h-px list-none bg-row-active"></li>`);
21004
+ var root_4$p = /* @__PURE__ */ from_html(`<li role="separator" aria-hidden="true" class="my-[3px] h-px list-none bg-row-active"></li>`);
20994
21005
  var root_5$a = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer select-none items-center whitespace-nowrap rounded px-2.5 py-1.5 text-13 text-text-3 transition-colors duration-75 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-disabled:cursor-default aria-disabled:text-white/25 aria-disabled:pointer-events-none"> </li>`);
20995
21006
  var root_2$O = /* @__PURE__ */ from_html(`<ul role="menu" class="absolute left-0 top-[calc(100%+2px)] z-[200] m-0 min-w-[180px] list-none rounded-md border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.4)]"></ul>`);
20996
21007
  var root_1$12 = /* @__PURE__ */ from_html(`<div class="relative"><button type="button" role="menuitem" aria-haspopup="menu" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-2.5 py-1.5 text-13 leading-none text-text-3 transition-[background-color,color] duration-100 hover:bg-row-active hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-[1px] focus-visible:outline-brand-05 data-[open=true]:bg-row-active data-[open=true]:text-text-1"> </button> <!></div>`);
@@ -21099,7 +21110,7 @@ function Menubar($$anchor, $$props) {
21099
21110
  var node_1 = first_child(fragment);
21100
21111
  {
21101
21112
  var consequent = ($$anchor5) => {
21102
- var li = root_4$o();
21113
+ var li = root_4$p();
21103
21114
  append($$anchor5, li);
21104
21115
  };
21105
21116
  var alternate = ($$anchor5) => {
@@ -21613,9 +21624,9 @@ let counter$e = 0;
21613
21624
  var root_1$10 = /* @__PURE__ */ from_html(`<label class="sr-only"> </label>`);
21614
21625
  var root_3$x = /* @__PURE__ */ from_html(`<span class="inline-flex h-6 items-center gap-1 whitespace-nowrap rounded-full border border-brand-05/25 bg-brand-05/[0.14] pl-2.5 pr-1 text-12 font-medium text-status-info"><span class="leading-none"> </span> <button type="button" class="inline-flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded-full border-0 bg-transparent p-0 text-status-info transition-colors duration-100 hover:bg-brand-05/25 hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-brand-05"><svg viewBox="0 0 10 10" width="10" height="10" fill="none" aria-hidden="true" focusable="false"><path d="M2 2l6 6M8 2l-6 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></span>`);
21615
21626
  var root_5$9 = /* @__PURE__ */ from_html(`<li class="list-none p-2.5 text-center text-13 text-text-4">No results</li>`);
21616
- var root_8$5 = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none" aria-hidden="true"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
21617
- var root_7$3 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center gap-2 rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1"><span aria-hidden="true"><!></span> </li>`);
21618
- var root_4$n = /* @__PURE__ */ from_html(`<ul role="listbox" aria-multiselectable="true" class="absolute left-0 top-[calc(100%+4px)] z-[9000] m-0 max-h-60 min-w-full list-none overflow-y-auto rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><!></ul>`);
21627
+ var root_8$4 = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none" aria-hidden="true"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
21628
+ var root_7$4 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center gap-2 rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1"><span aria-hidden="true"><!></span> </li>`);
21629
+ var root_4$o = /* @__PURE__ */ from_html(`<ul role="listbox" aria-multiselectable="true" class="absolute left-0 top-[calc(100%+4px)] z-[9000] m-0 max-h-60 min-w-full list-none overflow-y-auto rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><!></ul>`);
21619
21630
  var root$1f = /* @__PURE__ */ from_html(`<div><!> <div class="relative flex min-h-[34px] cursor-text flex-wrap items-center gap-1 rounded-md border border-border-2 bg-bg-page py-[3px] pl-2 pr-9 transition-colors duration-100 hover:border-border-3 data-[open=true]:border-brand-05 data-[open=true]:shadow-[0_0_0_2px_rgba(0,111,255,0.2)]"><!> <input role="combobox" aria-autocomplete="list" autocomplete="off" spellcheck="false" class="h-6 min-w-[80px] flex-1 border-0 bg-transparent px-1 text-13 leading-none text-text-1 outline-none placeholder:text-text-4"/> <button type="button" aria-hidden="true" class="absolute right-2 flex cursor-pointer items-center border-0 bg-transparent p-0.5 leading-none text-text-4"><svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg></button></div> <!></div>`);
21620
21631
  function MultiSelect($$anchor, $$props) {
21621
21632
  push($$props, true);
@@ -21747,7 +21758,7 @@ function MultiSelect($$anchor, $$props) {
21747
21758
  var node_3 = sibling(div_1, 2);
21748
21759
  {
21749
21760
  var consequent_4 = ($$anchor2) => {
21750
- var ul = root_4$n();
21761
+ var ul = root_4$o();
21751
21762
  var node_4 = child(ul);
21752
21763
  {
21753
21764
  var consequent_2 = ($$anchor3) => {
@@ -21759,12 +21770,12 @@ function MultiSelect($$anchor, $$props) {
21759
21770
  var node_5 = first_child(fragment_1);
21760
21771
  each(node_5, 19, () => get(filtered), (opt) => opt.value, ($$anchor4, opt, idx) => {
21761
21772
  const selected = /* @__PURE__ */ user_derived(() => get(selectedSet).has(get(opt).value));
21762
- var li_1 = root_7$3();
21773
+ var li_1 = root_7$4();
21763
21774
  var span_2 = child(li_1);
21764
21775
  var node_6 = child(span_2);
21765
21776
  {
21766
21777
  var consequent_3 = ($$anchor5) => {
21767
- var svg_1 = root_8$5();
21778
+ var svg_1 = root_8$4();
21768
21779
  append($$anchor5, svg_1);
21769
21780
  };
21770
21781
  if_block(node_6, ($$render) => {
@@ -22048,7 +22059,7 @@ function NameCell_wc($$anchor, $$props) {
22048
22059
  }
22049
22060
  customElements.define("uni-name-cell", create_custom_element(NameCell_wc, { class: {}, thumbClass: {} }, ["default"], [], { mode: "open" }));
22050
22061
  var root_2$L = /* @__PURE__ */ from_svg(`<circle fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"></circle>`);
22051
- var root_4$m = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
22062
+ var root_4$n = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
22052
22063
  var root_3$w = /* @__PURE__ */ from_svg(`<path></path><!>`, 1);
22053
22064
  var root_1$_ = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><circle fill="#13131A" stroke="rgba(255,255,255,0.1)" stroke-width="1"></circle></svg></div>`);
22054
22065
  function NightingaleChart($$anchor, $$props) {
@@ -22108,7 +22119,7 @@ function NightingaleChart($$anchor, $$props) {
22108
22119
  var node_3 = sibling(path);
22109
22120
  {
22110
22121
  var consequent = ($$anchor4) => {
22111
- var text2 = root_4$m();
22122
+ var text2 = root_4$n();
22112
22123
  var text_1 = child(text2, true);
22113
22124
  reset(text2);
22114
22125
  template_effect(
@@ -22232,10 +22243,10 @@ customElements.define("uni-notif-dot", create_custom_element(NotifDot_wc, { clas
22232
22243
  var root_1$Z = /* @__PURE__ */ from_html(`<span class="inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-brand-05 px-1.5 text-11 font-bold text-white tabular-nums"> </span>`);
22233
22244
  var root_2$K = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer rounded border-0 bg-transparent px-1.5 py-0.5 text-11 text-brand-05 hover:text-status-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Mark all read</button>`);
22234
22245
  var root_3$v = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="cursor-pointer rounded border border-border-2 bg-transparent px-2.5 py-0.5 text-11 text-text-3 hover:bg-row-hover hover:text-text-1 data-[active=true]:border-brand-05 data-[active=true]:bg-brand-05/[0.10] data-[active=true]:text-brand-05 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
22235
- var root_4$l = /* @__PURE__ */ from_html(`<div class="p-6 text-center text-13 text-text-4">No notifications</div>`);
22236
- var root_7$2 = /* @__PURE__ */ from_html(`<p class="m-0 mt-0.5 text-12 text-text-3"> </p>`);
22237
- var root_8$4 = /* @__PURE__ */ from_html(`<button type="button" title="Mark as read" class="inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-status-success hover:bg-status-success/10 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#10003;</button>`);
22238
- var root_6$2 = /* @__PURE__ */ from_html(`<div class="flex items-start gap-2 border-b border-border-1 px-4 py-3 last:border-b-0 data-[read=true]:opacity-60"><span class="mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-2"><span class="truncate text-13 font-medium text-text-1"> </span> <span class="shrink-0 text-11 text-text-4 tabular-nums"> </span></div> <!> <span class="mt-1 inline-block rounded bg-row-active px-1.5 py-0.5 text-[10px] uppercase tracking-[0.05em] text-text-4"> </span></div> <!></div>`);
22246
+ var root_4$m = /* @__PURE__ */ from_html(`<div class="p-6 text-center text-13 text-text-4">No notifications</div>`);
22247
+ var root_7$3 = /* @__PURE__ */ from_html(`<p class="m-0 mt-0.5 text-12 text-text-3"> </p>`);
22248
+ var root_8$3 = /* @__PURE__ */ from_html(`<button type="button" title="Mark as read" class="inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-status-success hover:bg-status-success/10 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#10003;</button>`);
22249
+ var root_6$3 = /* @__PURE__ */ from_html(`<div class="flex items-start gap-2 border-b border-border-1 px-4 py-3 last:border-b-0 data-[read=true]:opacity-60"><span class="mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-2"><span class="truncate text-13 font-medium text-text-1"> </span> <span class="shrink-0 text-11 text-text-4 tabular-nums"> </span></div> <!> <span class="mt-1 inline-block rounded bg-row-active px-1.5 py-0.5 text-[10px] uppercase tracking-[0.05em] text-text-4"> </span></div> <!></div>`);
22239
22250
  var root$1b = /* @__PURE__ */ from_html(`<div class="fixed inset-0 z-[9100] hidden bg-black/45 backdrop-blur-sm data-[open=true]:block" aria-hidden="true"></div> <div class="fixed right-0 top-0 z-[9200] flex h-full w-[380px] max-w-[90vw] translate-x-full flex-col overflow-hidden border-l border-border-1 bg-bg-1 shadow-[0_0_40px_rgba(0,0,0,0.6)] transition-transform duration-200 data-[open=true]:translate-x-0 motion-reduce:transition-none" role="dialog" aria-modal="true"><div class="border-b border-border-1 px-4 py-3"><div class="flex items-center justify-between gap-2"><h2 class="m-0 flex items-center gap-2 text-15 font-semibold text-text-1">Notifications <!></h2> <div class="flex items-center gap-1.5"><!> <button type="button" aria-label="Close notifications" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.75.75 0 1 1 1.06 1.06L9.06 8l3.22 3.22a.75.75 0 1 1-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 0 1-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06z"></path></svg></button></div></div> <div class="mt-2 flex gap-1" role="tablist" aria-label="Filter by type"></div></div> <div class="flex-1 overflow-y-auto" role="log" aria-live="polite" aria-label="Notifications" aria-relevant="additions"><!></div></div>`, 1);
22240
22251
  function NotificationPanel($$anchor, $$props) {
22241
22252
  push($$props, true);
@@ -22365,14 +22376,14 @@ function NotificationPanel($$anchor, $$props) {
22365
22376
  var node_2 = child(div_6);
22366
22377
  {
22367
22378
  var consequent_2 = ($$anchor2) => {
22368
- var div_7 = root_4$l();
22379
+ var div_7 = root_4$m();
22369
22380
  append($$anchor2, div_7);
22370
22381
  };
22371
22382
  var alternate = ($$anchor2) => {
22372
22383
  var fragment_1 = comment();
22373
22384
  var node_3 = first_child(fragment_1);
22374
22385
  each(node_3, 17, () => get(filtered), (n) => n.id, ($$anchor3, n) => {
22375
- var div_8 = root_6$2();
22386
+ var div_8 = root_6$3();
22376
22387
  var span_1 = child(div_8);
22377
22388
  var div_9 = sibling(span_1, 2);
22378
22389
  var div_10 = child(div_9);
@@ -22386,7 +22397,7 @@ function NotificationPanel($$anchor, $$props) {
22386
22397
  var node_4 = sibling(div_10, 2);
22387
22398
  {
22388
22399
  var consequent_3 = ($$anchor4) => {
22389
- var p = root_7$2();
22400
+ var p = root_7$3();
22390
22401
  var text_4 = child(p, true);
22391
22402
  reset(p);
22392
22403
  template_effect(() => set_text(text_4, get(n).description));
@@ -22403,7 +22414,7 @@ function NotificationPanel($$anchor, $$props) {
22403
22414
  var node_5 = sibling(div_9, 2);
22404
22415
  {
22405
22416
  var consequent_4 = ($$anchor4) => {
22406
- var button_3 = root_8$4();
22417
+ var button_3 = root_8$3();
22407
22418
  template_effect(() => set_attribute(button_3, "aria-label", `Mark as read: ${get(n).title}`));
22408
22419
  delegated("click", button_3, () => onMarkRead()?.(get(n).id));
22409
22420
  append($$anchor4, button_3);
@@ -22977,7 +22988,7 @@ function PageHeader_wc($$anchor, $$props) {
22977
22988
  }
22978
22989
  customElements.define("uni-page-header", create_custom_element(PageHeader_wc, { title: {}, sticky: {}, class: {} }, ["default"], [], { mode: "open" }));
22979
22990
  var root_3$t = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="inline-flex h-[30px] min-w-[30px] items-center justify-center text-13 text-text-4">&#x2026;</span>`);
22980
- var root_4$k = /* @__PURE__ */ from_html(`<button type="button"> </button>`);
22991
+ var root_4$l = /* @__PURE__ */ from_html(`<button type="button"> </button>`);
22981
22992
  var root_1$V = /* @__PURE__ */ from_html(`<nav class="flex items-center gap-0.5" aria-label="Pagination"><button type="button" aria-label="Previous page">&#x2039;</button> <!> <button type="button" aria-label="Next page">&#x203A;</button></nav>`);
22982
22993
  function Pagination($$anchor, $$props) {
22983
22994
  push($$props, true);
@@ -23017,7 +23028,7 @@ function Pagination($$anchor, $$props) {
23017
23028
  append($$anchor4, span);
23018
23029
  };
23019
23030
  var alternate = ($$anchor4) => {
23020
- var button_1 = root_4$k();
23031
+ var button_1 = root_4$l();
23021
23032
  var text2 = child(button_1, true);
23022
23033
  reset(button_1);
23023
23034
  template_effect(() => {
@@ -23105,7 +23116,7 @@ customElements.define("uni-pagination", create_custom_element(Pagination_wc, { p
23105
23116
  var root_2$H = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" font-family="inherit"> </text>`);
23106
23117
  var root_3$s = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.25)" stroke-width="1"></line><text fill="#6E7079" font-size="7" text-anchor="end" font-family="inherit"> </text>`, 1);
23107
23118
  var root_1$U = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.2)" stroke-width="1"></line><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text><!><!>`, 1);
23108
- var root_4$j = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" opacity="0.75"></path>`);
23119
+ var root_4$k = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" opacity="0.75"></path>`);
23109
23120
  var root$17 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
23110
23121
  function ParallelCoordinates($$anchor, $$props) {
23111
23122
  push($$props, true);
@@ -23220,7 +23231,7 @@ function ParallelCoordinates($$anchor, $$props) {
23220
23231
  });
23221
23232
  var node_3 = sibling(node);
23222
23233
  each(node_3, 17, () => get(paths), index, ($$anchor2, p) => {
23223
- var path = root_4$j();
23234
+ var path = root_4$k();
23224
23235
  template_effect(() => {
23225
23236
  set_attribute(path, "d", get(p).d);
23226
23237
  set_attribute(path, "stroke", get(p).stroke);
@@ -23296,7 +23307,7 @@ customElements.define("uni-parallel-coordinates", create_custom_element(Parallel
23296
23307
  var root_1$T = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
23297
23308
  var root_2$G = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.85" rx="2"></rect>`);
23298
23309
  var root_3$r = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.3)" stroke-width="1" stroke-dasharray="4 3"></line>`);
23299
- var root_4$i = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8"> </text>`);
23310
+ var root_4$j = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8"> </text>`);
23300
23311
  var root_5$8 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
23301
23312
  var root$16 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><polyline fill="none" stroke-width="1.5" stroke-linejoin="round"></polyline><!><!></svg></div>`);
23302
23313
  function ParetoChart($$anchor, $$props) {
@@ -23388,7 +23399,7 @@ function ParetoChart($$anchor, $$props) {
23388
23399
  var polyline = sibling(node_2);
23389
23400
  var node_3 = sibling(polyline);
23390
23401
  each(node_3, 17, () => get(pctLabels), index, ($$anchor2, pl) => {
23391
- var text2 = root_4$i();
23402
+ var text2 = root_4$j();
23392
23403
  var text_1 = child(text2, true);
23393
23404
  reset(text2);
23394
23405
  template_effect(() => {
@@ -23681,7 +23692,7 @@ customElements.define("uni-password-input", create_custom_element(
23681
23692
  ));
23682
23693
  var root_1$R = /* @__PURE__ */ from_svg(`<path stroke="#1a1d2b" stroke-width="1.5"></path>`);
23683
23694
  var root_3$p = /* @__PURE__ */ from_svg(`<text fill="#fff" font-size="9" text-anchor="middle" dominant-baseline="middle" font-family="inherit" font-weight="600"> </text>`);
23684
- var root_4$h = /* @__PURE__ */ from_svg(`<g><rect width="8" height="8" rx="2"></rect><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
23695
+ var root_4$i = /* @__PURE__ */ from_svg(`<g><rect width="8" height="8" rx="2"></rect><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
23685
23696
  var root$14 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
23686
23697
  function PieChart($$anchor, $$props) {
23687
23698
  push($$props, true);
@@ -23780,7 +23791,7 @@ function PieChart($$anchor, $$props) {
23780
23791
  const lx = /* @__PURE__ */ user_derived(() => get(col) * get(colW) + 10);
23781
23792
  const ly = /* @__PURE__ */ user_derived(() => size() + 6 + get(row) * LEGEND_ROW);
23782
23793
  const c = /* @__PURE__ */ user_derived(() => get(sl).color ?? COLORS[get(i) % COLORS.length]);
23783
- var g = root_4$h();
23794
+ var g = root_4$i();
23784
23795
  var rect = child(g);
23785
23796
  var text_2 = sibling(rect);
23786
23797
  var text_3 = child(text_2);
@@ -23951,7 +23962,7 @@ function Pill_wc($$anchor, $$props) {
23951
23962
  customElements.define("uni-pill", create_custom_element(Pill_wc, { variant: {}, showDot: {}, class: {}, style: {} }, ["default"], [], { mode: "open" }));
23952
23963
  var root_2$E = /* @__PURE__ */ from_svg(`<circle fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"></circle>`);
23953
23964
  var root_3$o = /* @__PURE__ */ from_svg(`<path></path>`);
23954
- var root_4$g = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
23965
+ var root_4$h = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
23955
23966
  var root_1$P = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><circle fill="#13131A" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"></circle></svg></div>`);
23956
23967
  function PolarHeatmap($$anchor, $$props) {
23957
23968
  push($$props, true);
@@ -24034,7 +24045,7 @@ function PolarHeatmap($$anchor, $$props) {
24034
24045
  });
24035
24046
  var node_3 = sibling(node_2);
24036
24047
  each(node_3, 17, () => get(visibleColLabels), index, ($$anchor3, lbl) => {
24037
- var text2 = root_4$g();
24048
+ var text2 = root_4$h();
24038
24049
  var text_1 = child(text2, true);
24039
24050
  reset(text2);
24040
24051
  template_effect(() => {
@@ -24150,10 +24161,34 @@ customElements.define("uni-polar-heatmap", create_custom_element(
24150
24161
  [],
24151
24162
  { mode: "open" }
24152
24163
  ));
24164
+ const portal = (node, target = "body") => {
24165
+ const resolveTarget = (value) => {
24166
+ if (value === void 0) return document.body;
24167
+ if (typeof value === "string") {
24168
+ return document.querySelector(value);
24169
+ }
24170
+ return value;
24171
+ };
24172
+ const move2 = (value) => {
24173
+ const parent = resolveTarget(value);
24174
+ if (parent !== null && parent !== node.parentNode) {
24175
+ parent.appendChild(node);
24176
+ }
24177
+ };
24178
+ move2(target);
24179
+ return {
24180
+ update(next2) {
24181
+ move2(next2);
24182
+ },
24183
+ destroy() {
24184
+ node.remove();
24185
+ }
24186
+ };
24187
+ };
24153
24188
  let counter$a = 0;
24154
24189
  var root_5$7 = /* @__PURE__ */ from_html(`<div class="border-b border-border-1 px-3.5 pb-2 pt-2.5 text-11 font-semibold uppercase tracking-[0.06em] text-text-4"> </div>`);
24155
- var root_4$f = /* @__PURE__ */ from_html(`<div role="dialog" class="fixed z-[9100] min-w-[200px] max-w-[320px] rounded-[10px] border border-border-3 bg-bg-2 shadow-[0_8px_32px_rgba(0,0,0,0.5)] focus:outline-none"><!> <div class="flex flex-col gap-2.5 px-3.5 py-3"><!></div></div>`);
24156
- var root$12 = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
24190
+ var root_4$g = /* @__PURE__ */ from_html(`<div role="dialog" class="fixed z-[9100] min-w-[200px] max-w-[320px] rounded-[10px] border border-border-3 bg-bg-2 shadow-[0_8px_32px_rgba(0,0,0,0.5)] focus:outline-none"><!> <div class="flex flex-col gap-2.5 px-3.5 py-3"><!></div></div>`);
24191
+ var root$12 = /* @__PURE__ */ from_html(`<div class="relative inline-flex items-center"><!> <!></div>`);
24157
24192
  function Popover($$anchor, $$props) {
24158
24193
  push($$props, true);
24159
24194
  let variant = prop($$props, "variant", 3, "ghost"), title = prop($$props, "title", 3, void 0), placement = prop($$props, "placement", 3, "bottom-start"), open = prop($$props, "open", 15, false);
@@ -24217,7 +24252,11 @@ function Popover($$anchor, $$props) {
24217
24252
  }
24218
24253
  }
24219
24254
  function onPointer(e) {
24220
- if (open() && !get(rootEl)?.contains(e.target)) open(false);
24255
+ if (!open()) return;
24256
+ const target = e.target;
24257
+ if (get(rootEl)?.contains(target)) return;
24258
+ if (get(panelEl)?.contains(target)) return;
24259
+ open(false);
24221
24260
  }
24222
24261
  function onResize() {
24223
24262
  if (open()) recomputePosition();
@@ -24273,7 +24312,7 @@ function Popover($$anchor, $$props) {
24273
24312
  var node_2 = sibling(node, 2);
24274
24313
  {
24275
24314
  var consequent_2 = ($$anchor2) => {
24276
- var div_1 = root_4$f();
24315
+ var div_1 = root_4$g();
24277
24316
  set_attribute(div_1, "tabindex", -1);
24278
24317
  var node_3 = child(div_1);
24279
24318
  {
@@ -24297,6 +24336,7 @@ function Popover($$anchor, $$props) {
24297
24336
  reset(div_3);
24298
24337
  reset(div_1);
24299
24338
  bind_this(div_1, ($$value) => set(panelEl, $$value), () => get(panelEl));
24339
+ action(div_1, ($$node) => portal?.($$node));
24300
24340
  template_effect(() => {
24301
24341
  set_attribute(div_1, "aria-labelledby", title() ? titleId : void 0);
24302
24342
  set_style(div_1, `top: ${get(panelTop)}px; left: ${get(panelLeft)}px`);
@@ -24492,7 +24532,7 @@ function ProgressBar_wc($$anchor, $$props) {
24492
24532
  customElements.define("uni-progress-bar", create_custom_element(ProgressBar_wc, { value: {}, label: {}, valueText: {}, color: {} }, ["default"], [], { mode: "open" }));
24493
24533
  var root_1$N = /* @__PURE__ */ from_svg(`<text font-size="8" fill="#6E7079" text-anchor="end" font-family="inherit"> </text>`);
24494
24534
  var root_3$n = /* @__PURE__ */ from_svg(`<text font-size="7" fill="#6E7079" text-anchor="middle" font-family="inherit"> </text>`);
24495
- var root_4$e = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.72"></circle>`);
24535
+ var root_4$f = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.72"></circle>`);
24496
24536
  var root$10 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%"><svg style="width:100%;height:auto;display:block" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
24497
24537
  function PunchCard($$anchor, $$props) {
24498
24538
  push($$props, true);
@@ -24558,7 +24598,7 @@ function PunchCard($$anchor, $$props) {
24558
24598
  let cx = () => get($$item).cx;
24559
24599
  let cy = () => get($$item).cy;
24560
24600
  let r2 = () => get($$item).r;
24561
- var circle = root_4$e();
24601
+ var circle = root_4$f();
24562
24602
  template_effect(() => {
24563
24603
  set_attribute(circle, "cx", cx());
24564
24604
  set_attribute(circle, "cy", cy());
@@ -24668,11 +24708,11 @@ customElements.define("uni-punch-card", create_custom_element(
24668
24708
  ));
24669
24709
  var root_2$C = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24670
24710
  var root_3$m = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit" text-anchor="end"> </text>`);
24671
- var root_4$d = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24711
+ var root_4$e = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24672
24712
  var root_5$6 = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit" text-anchor="end"> </text>`);
24673
- var root_6$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`);
24674
- var root_7$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24675
- var root_8$3 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24713
+ var root_6$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`);
24714
+ var root_7$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24715
+ var root_8$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24676
24716
  var root_9$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24677
24717
  var root_11 = /* @__PURE__ */ from_svg(`<text fill="#CDD0DB" font-size="8" font-family="inherit"> </text>`);
24678
24718
  var root_10 = /* @__PURE__ */ from_svg(`<circle r="5" fill-opacity="0.85"></circle><!>`, 1);
@@ -24763,7 +24803,7 @@ function QuadrantChart($$anchor, $$props) {
24763
24803
  var node_3 = sibling(node_2);
24764
24804
  {
24765
24805
  var consequent_2 = ($$anchor3) => {
24766
- var text_4 = root_4$d();
24806
+ var text_4 = root_4$e();
24767
24807
  var text_5 = child(text_4, true);
24768
24808
  reset(text_4);
24769
24809
  template_effect(() => {
@@ -24796,7 +24836,7 @@ function QuadrantChart($$anchor, $$props) {
24796
24836
  }
24797
24837
  var node_5 = sibling(node_4);
24798
24838
  each(node_5, 17, () => get(yTicks), index, ($$anchor3, v) => {
24799
- var text_8 = root_6$1();
24839
+ var text_8 = root_6$2();
24800
24840
  var text_9 = child(text_8, true);
24801
24841
  reset(text_8);
24802
24842
  template_effect(
@@ -24811,7 +24851,7 @@ function QuadrantChart($$anchor, $$props) {
24811
24851
  });
24812
24852
  var node_6 = sibling(node_5);
24813
24853
  each(node_6, 17, () => get(xTicks), index, ($$anchor3, v) => {
24814
- var text_10 = root_7$1();
24854
+ var text_10 = root_7$2();
24815
24855
  var text_11 = child(text_10, true);
24816
24856
  reset(text_10);
24817
24857
  template_effect(
@@ -24827,7 +24867,7 @@ function QuadrantChart($$anchor, $$props) {
24827
24867
  var node_7 = sibling(node_6);
24828
24868
  {
24829
24869
  var consequent_4 = ($$anchor3) => {
24830
- var text_12 = root_8$3();
24870
+ var text_12 = root_8$2();
24831
24871
  var text_13 = child(text_12, true);
24832
24872
  reset(text_12);
24833
24873
  template_effect(() => {
@@ -25096,7 +25136,7 @@ customElements.define("uni-quadrant-chart", create_custom_element(
25096
25136
  var root_1$L = /* @__PURE__ */ from_svg(`<polygon fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"></polygon>`);
25097
25137
  var root_2$B = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.08)" stroke-width="1"></line>`);
25098
25138
  var root_3$l = /* @__PURE__ */ from_svg(`<polygon fill-opacity="0.12" stroke-width="1.5" stroke-linejoin="round"></polygon>`);
25099
- var root_4$c = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" font-family="inherit" dominant-baseline="middle"> </text>`);
25139
+ var root_4$d = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" font-family="inherit" dominant-baseline="middle"> </text>`);
25100
25140
  var root$$ = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
25101
25141
  function RadarChart($$anchor, $$props) {
25102
25142
  push($$props, true);
@@ -25161,7 +25201,7 @@ function RadarChart($$anchor, $$props) {
25161
25201
  });
25162
25202
  var node_3 = sibling(node_2);
25163
25203
  each(node_3, 17, () => get(axisLabels), (l) => l.label, ($$anchor2, l) => {
25164
- var text2 = root_4$c();
25204
+ var text2 = root_4$d();
25165
25205
  var text_1 = child(text2, true);
25166
25206
  reset(text2);
25167
25207
  template_effect(() => {
@@ -27140,16 +27180,16 @@ function SelectionToolbar($$anchor, $$props) {
27140
27180
  reset(span);
27141
27181
  var div_1 = sibling(span, 2);
27142
27182
  var node_1 = child(div_1);
27143
- each(node_1, 17, actions, index, ($$anchor3, action) => {
27183
+ each(node_1, 17, actions, index, ($$anchor3, action2) => {
27144
27184
  var button = root_2$s();
27145
27185
  var text_1 = child(button, true);
27146
27186
  reset(button);
27147
27187
  template_effect(() => {
27148
- set_attribute(button, "data-danger", get(action).variant === "danger" ? "true" : void 0);
27149
- set_text(text_1, get(action).label);
27188
+ set_attribute(button, "data-danger", get(action2).variant === "danger" ? "true" : void 0);
27189
+ set_text(text_1, get(action2).label);
27150
27190
  });
27151
27191
  delegated("click", button, function(...$$args) {
27152
- get(action).onClick?.apply(this, $$args);
27192
+ get(action2).onClick?.apply(this, $$args);
27153
27193
  });
27154
27194
  append($$anchor3, button);
27155
27195
  });
@@ -27225,7 +27265,7 @@ function SelectionToolbar_wc($$anchor, $$props) {
27225
27265
  }
27226
27266
  customElements.define("uni-selection-toolbar", create_custom_element(SelectionToolbar_wc, { count: {}, actions: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
27227
27267
  var root_3$g = /* @__PURE__ */ from_html(`<span> </span>`);
27228
- var root_4$b = /* @__PURE__ */ from_html(`<span class="ml-auto rounded-full bg-brand-05 px-1.5 py-px text-[10px] font-semibold text-white"> <span class="sr-only"> </span></span>`);
27268
+ var root_4$c = /* @__PURE__ */ from_html(`<span class="ml-auto rounded-full bg-brand-05 px-1.5 py-px text-[10px] font-semibold text-white"> <span class="sr-only"> </span></span>`);
27229
27269
  var root_2$r = /* @__PURE__ */ from_html(`<li><button type="button"><span class="sb-ico shrink-0 text-text-3 [&amp;_svg]:h-4 [&amp;_svg]:w-4"><!></span> <!> <!></button></li>`);
27230
27270
  var root_1$A = /* @__PURE__ */ from_html(`<h2 class="m-0 px-4 pb-1.5 pt-3.5 text-[10px] font-semibold uppercase leading-[1.4] tracking-[0.06em] text-text-4"> </h2> <ul class="m-0 flex list-none flex-col gap-px px-2"></ul>`, 1);
27231
27271
  var root$O = /* @__PURE__ */ from_html(`<nav class="overflow-auto border-r border-border-1 bg-bg-page py-2" aria-label="Primary"></nav>`);
@@ -27268,7 +27308,7 @@ function Sidebar($$anchor, $$props) {
27268
27308
  var node_2 = sibling(node_1, 2);
27269
27309
  {
27270
27310
  var consequent_1 = ($$anchor4) => {
27271
- var span_2 = root_4$b();
27311
+ var span_2 = root_4$c();
27272
27312
  var text_3 = child(span_2, true);
27273
27313
  var span_3 = sibling(text_3);
27274
27314
  var text_4 = child(span_3);
@@ -27703,7 +27743,7 @@ customElements.define("uni-slider", create_custom_element(
27703
27743
  { mode: "open" }
27704
27744
  ));
27705
27745
  var root_3$f = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27706
- var root_4$a = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27746
+ var root_4$b = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27707
27747
  var root_2$p = /* @__PURE__ */ from_svg(`<line stroke-width="1.5" opacity="0.65"></line><!><!><circle></circle><circle></circle><text fill="#A4A7B5" font-size="9" text-anchor="end" font-family="inherit"> </text><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text><text fill="#A4A7B5" font-size="9" text-anchor="start" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text><text font-size="9" text-anchor="start" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text>`, 1);
27708
27748
  var root_1$y = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><text y="14" fill="#6E7079" font-size="10" text-anchor="middle" font-family="inherit"> </text><text y="14" fill="#6E7079" font-size="10" text-anchor="middle" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.07)" stroke-width="1"></line><line stroke="rgba(255,255,255,0.07)" stroke-width="1"></line><!></svg></div>`);
27709
27749
  function SlopeChart($$anchor, $$props) {
@@ -27803,7 +27843,7 @@ function SlopeChart($$anchor, $$props) {
27803
27843
  var node_3 = sibling(node_2);
27804
27844
  {
27805
27845
  var consequent_1 = ($$anchor4) => {
27806
- var line_4 = root_4$a();
27846
+ var line_4 = root_4$b();
27807
27847
  set_attribute(line_4, "x1", COL_R + 6);
27808
27848
  set_attribute(line_4, "x2", COL_R + 6);
27809
27849
  template_effect(() => {
@@ -28278,7 +28318,7 @@ function Sparkline_wc($$anchor, $$props) {
28278
28318
  }
28279
28319
  customElements.define("uni-sparkline", create_custom_element(Sparkline_wc, { bars: {}, active: {}, seed: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
28280
28320
  var root_3$e = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
28281
- var root_4$9 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`);
28321
+ var root_4$a = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`);
28282
28322
  var root_2$n = /* @__PURE__ */ from_svg(`<g><!><text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text><!><circle r="2.5"></circle><text text-anchor="start" font-size="9" font-family="inherit"> </text></g>`);
28283
28323
  var root_1$v = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
28284
28324
  function SparklineMatrix($$anchor, $$props) {
@@ -28354,7 +28394,7 @@ function SparklineMatrix($$anchor, $$props) {
28354
28394
  var node_2 = sibling(text2);
28355
28395
  {
28356
28396
  var consequent_1 = ($$anchor4) => {
28357
- var path = root_4$9();
28397
+ var path = root_4$a();
28358
28398
  template_effect(() => {
28359
28399
  set_attribute(path, "d", get(computed)[i].d);
28360
28400
  set_attribute(path, "stroke", get(computed)[i].color);
@@ -28820,7 +28860,7 @@ function SrOnly_wc($$anchor, $$props) {
28820
28860
  customElements.define("uni-sr-only", create_custom_element(SrOnly_wc, { class: {} }, ["default"], [], { mode: "open" }));
28821
28861
  var root_2$k = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
28822
28862
  var root_5$5 = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.9"></rect>`);
28823
- var root_6 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
28863
+ var root_6$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
28824
28864
  var root_1$s = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
28825
28865
  function StackedBarChart($$anchor, $$props) {
28826
28866
  push($$props, true);
@@ -28916,7 +28956,7 @@ function StackedBarChart($$anchor, $$props) {
28916
28956
  });
28917
28957
  var node_5 = sibling(node_2);
28918
28958
  each(node_5, 17, () => get(xLabels), index, ($$anchor3, l) => {
28919
- var text_2 = root_6();
28959
+ var text_2 = root_6$1();
28920
28960
  var text_3 = child(text_2, true);
28921
28961
  reset(text_2);
28922
28962
  template_effect(() => {
@@ -29136,7 +29176,7 @@ customElements.define("uni-stacked-progress", create_custom_element(StackedProgr
29136
29176
  let counter$5 = 0;
29137
29177
  var root_2$i = /* @__PURE__ */ from_html(`<span aria-hidden="true"><svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></span>`);
29138
29178
  var root_1$q = /* @__PURE__ */ from_html(`<span class="m-0 inline-flex items-center gap-0.5 border-0 bg-transparent p-0" role="img"></span>`);
29139
- var root_4$8 = /* @__PURE__ */ from_html(`<label><input type="radio" class="sr-only"/> <svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></label>`);
29179
+ var root_4$9 = /* @__PURE__ */ from_html(`<label><input type="radio" class="sr-only"/> <svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></label>`);
29140
29180
  var root_3$c = /* @__PURE__ */ from_html(`<fieldset class="m-0 inline-flex items-center gap-0.5 border-0 bg-transparent p-0"><legend class="sr-only"> </legend> <!></fieldset>`);
29141
29181
  function StarRating($$anchor, $$props) {
29142
29182
  push($$props, true);
@@ -29178,7 +29218,7 @@ function StarRating($$anchor, $$props) {
29178
29218
  each(node_1, 17, () => Array(max()), index, ($$anchor3, _, i) => {
29179
29219
  const star = /* @__PURE__ */ user_derived(() => i + 1);
29180
29220
  const on = /* @__PURE__ */ user_derived(() => get(star) <= (get(hovered) || value()));
29181
- var label_1 = root_4$8();
29221
+ var label_1 = root_4$9();
29182
29222
  var input = child(label_1);
29183
29223
  remove_input_defaults(input);
29184
29224
  var svg_1 = sibling(input, 2);
@@ -29282,8 +29322,8 @@ function StarRating_wc($$anchor, $$props) {
29282
29322
  return pop($$exports);
29283
29323
  }
29284
29324
  customElements.define("uni-star-rating", create_custom_element(StarRating_wc, { label: {}, value: {}, max: {}, readOnly: {}, size: {} }, ["default"], [], { mode: "open" }));
29285
- var root_4$7 = /* @__PURE__ */ from_html(`<span class="ml-1 text-13 font-normal text-text-4"> </span>`);
29286
- var root_8$2 = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span><span> </span>`, 1);
29325
+ var root_4$8 = /* @__PURE__ */ from_html(`<span class="ml-1 text-13 font-normal text-text-4"> </span>`);
29326
+ var root_8$1 = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span><span> </span>`, 1);
29287
29327
  var root_5$4 = /* @__PURE__ */ from_html(`<div class="text-[11px] tabular-nums text-text-4"><!><!><!></div>`);
29288
29328
  var root_1$p = /* @__PURE__ */ from_html(`<h3> </h3> <div class="text-[28px] font-semibold leading-[1.05] tracking-[-0.01em] tabular-nums text-text-1"><!><!></div> <!>`, 1);
29289
29329
  function Stat($$anchor, $$props) {
@@ -29320,7 +29360,7 @@ function Stat($$anchor, $$props) {
29320
29360
  var node_2 = sibling(node);
29321
29361
  {
29322
29362
  var consequent_1 = ($$anchor3) => {
29323
- var span_1 = root_4$7();
29363
+ var span_1 = root_4$8();
29324
29364
  var text_2 = child(span_1, true);
29325
29365
  reset(span_1);
29326
29366
  template_effect(() => set_text(text_2, unit()));
@@ -29359,7 +29399,7 @@ function Stat($$anchor, $$props) {
29359
29399
  var node_6 = sibling(node_5);
29360
29400
  {
29361
29401
  var consequent_4 = ($$anchor4) => {
29362
- var fragment_5 = root_8$2();
29402
+ var fragment_5 = root_8$1();
29363
29403
  var span_2 = sibling(first_child(fragment_5));
29364
29404
  var text_5 = child(span_2, true);
29365
29405
  reset(span_2);
@@ -29828,7 +29868,7 @@ function StepChart_wc($$anchor, $$props) {
29828
29868
  }
29829
29869
  customElements.define("uni-step-chart", create_custom_element(StepChart_wc, { series: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
29830
29870
  var root_2$g = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
29831
- var root_4$6 = /* @__PURE__ */ from_html(`<span class="sr-only">completed:</span>`);
29871
+ var root_4$7 = /* @__PURE__ */ from_html(`<span class="sr-only">completed:</span>`);
29832
29872
  var root_1$n = /* @__PURE__ */ from_html(`<li><span aria-hidden="true"><!></span> <!> <span> </span></li>`);
29833
29873
  var root$z = /* @__PURE__ */ from_html(`<nav aria-label="Progress"><ol class="m-0 flex list-none items-start p-0"></ol></nav>`);
29834
29874
  function Stepper($$anchor, $$props) {
@@ -29878,7 +29918,7 @@ function Stepper($$anchor, $$props) {
29878
29918
  var node_1 = sibling(span, 2);
29879
29919
  {
29880
29920
  var consequent_1 = ($$anchor3) => {
29881
- var span_1 = root_4$6();
29921
+ var span_1 = root_4$7();
29882
29922
  append($$anchor3, span_1);
29883
29923
  };
29884
29924
  if_block(node_1, ($$render) => {
@@ -31566,7 +31606,7 @@ const PRESETS = [
31566
31606
  { id: "30d", label: "Last 30 days", short: "Last 30 d" }
31567
31607
  ];
31568
31608
  var root_1$e = /* @__PURE__ */ from_svg(` <svg width="10" height="6" viewBox="0 0 10 6" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M1 1l4 4 4-4"></path></svg>`, 1);
31569
- var root_4$5 = /* @__PURE__ */ from_svg(`<svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 6l3 3 5-5"></path></svg>`);
31609
+ var root_4$6 = /* @__PURE__ */ from_svg(`<svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 6l3 3 5-5"></path></svg>`);
31570
31610
  var root_3$7 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center justify-between gap-2 whitespace-nowrap rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-selected:text-status-info"> <!></li>`);
31571
31611
  var root_2$9 = /* @__PURE__ */ from_html(`<ul role="listbox" aria-label="Time range" class="absolute right-0 top-[calc(100%+4px)] z-[9100] m-0 min-w-[152px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"></ul>`);
31572
31612
  var root$l = /* @__PURE__ */ from_html(`<div class="relative inline-block" role="presentation"><!> <!></div>`);
@@ -31662,7 +31702,7 @@ function TimeRange($$anchor, $$props) {
31662
31702
  var node_2 = sibling(text_1);
31663
31703
  {
31664
31704
  var consequent = ($$anchor4) => {
31665
- var svg_1 = root_4$5();
31705
+ var svg_1 = root_4$6();
31666
31706
  append($$anchor4, svg_1);
31667
31707
  };
31668
31708
  if_block(node_2, ($$render) => {
@@ -32094,12 +32134,14 @@ function Tooltip_wc($$anchor, $$props) {
32094
32134
  }
32095
32135
  customElements.define("uni-tooltip", create_custom_element(Tooltip_wc, { label: {}, placement: {}, class: {} }, ["default"], [], { mode: "open" }));
32096
32136
  const agentsUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3ccircle%20cx='12'%20cy='6'%20r='2.5'/%3e%3ccircle%20cx='5.5'%20cy='18'%20r='2.5'/%3e%3ccircle%20cx='18.5'%20cy='18'%20r='2.5'/%3e%3cpath%20d='M11%208.2%206.8%2016M13%208.2%2017.2%2016M8%2018h8'/%3e%3c/svg%3e", import.meta.url).href;
32137
+ const brainUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M12%205a3%203%200%201%200-5.997.125%204%204%200%200%200-2.526%205.77%204%204%200%200%200%20.556%206.588A4%204%200%201%200%2012%2018Z'/%3e%3cpath%20d='M12%205a3%203%200%201%201%205.997.125%204%204%200%200%201%202.526%205.77%204%204%200%200%201-.556%206.588A4%204%200%201%201%2012%2018Z'/%3e%3cpath%20d='M15%2013a4.5%204.5%200%200%201-3-4%204.5%204.5%200%200%201-3%204'/%3e%3cpath%20d='M17.599%206.5a3%203%200%200%200%20.399-1.375M6.003%205.125A3%203%200%200%200%206.401%206.5'/%3e%3cpath%20d='M3.477%2010.896a4%204%200%200%201%20.585-.396M19.938%2010.5a4%204%200%200%201%20.585.396'/%3e%3cpath%20d='M6%2018a4%204%200%200%201-1.967-.516M19.967%2017.484A4%204%200%200%201%2018%2018'/%3e%3c/svg%3e", import.meta.url).href;
32097
32138
  new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20width='64'%20height='64'%3e%3c!--%20Charcoal%20squircle%20(neutral-08),%20deliberately%20NOT%20the%20brand-blue%20gradient%20so%20the%20mark%20does%20not%20read%20as%20a%20product-app%20icon.%20The%20brand-blue%20sparkline%20is%20the%20only%20saturated%20colour,%20kept%20small%20as%20a%20design-system%20wink.%20--%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%231C1C1E'/%3e%3c!--%20Layered%20dashboard%20panels.%20--%3e%3crect%20x='22'%20y='12'%20width='30'%20height='22'%20rx='3'%20fill='%23FFFFFF'%20fill-opacity='0.16'/%3e%3crect%20x='12'%20y='28'%20width='30'%20height='22'%20rx='3'%20fill='%23FFFFFF'/%3e%3c!--%20Sparkline%20accent.%20--%3e%3cpath%20d='M17%2043%20L22%2039%20L27%2041%20L32%2035%20L37%2038'%20stroke='%23006FFF'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'/%3e%3c/svg%3e", import.meta.url).href;
32098
32139
  new URL("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNjQiIHdpZHRoPSIzMjAiIGhlaWdodD0iNjQiPgogIDxnIGZpbGw9ImN1cnJlbnRDb2xvciIgZm9udC1mYW1pbHk9IkludGVyLCBzeXN0ZW0tdWksIHNhbnMtc2VyaWYiIGZvbnQtd2VpZ2h0PSI3MDAiPgogICAgPHRleHQgeD0iMCIgeT0iNDQiIGZvbnQtc2l6ZT0iMzYiIGxldHRlci1zcGFjaW5nPSItMC4wMmVtIj5EYXNoIFVJPC90ZXh0PgogIDwvZz4KPC9zdmc+Cg==", import.meta.url).href;
32099
32140
  const instancesUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3crect%20x='3'%20y='3'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='13'%20y='3'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='3'%20y='13'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='13'%20y='13'%20width='8'%20height='8'%20rx='1.5'/%3e%3c/svg%3e", import.meta.url).href;
32100
32141
  const systemUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3ccircle%20cx='12'%20cy='12'%20r='3'/%3e%3cpath%20d='M19.4%2015a1.65%201.65%200%200%200%20.33%201.82l.06.06a2%202%200%201%201-2.83%202.83l-.06-.06a1.65%201.65%200%200%200-1.82-.33%201.65%201.65%200%200%200-1%201.51V21a2%202%200%201%201-4%200v-.09a1.65%201.65%200%200%200-1-1.51%201.65%201.65%200%200%200-1.82.33l-.06.06a2%202%200%201%201-2.83-2.83l.06-.06a1.65%201.65%200%200%200%20.33-1.82%201.65%201.65%200%200%200-1.51-1H3a2%202%200%201%201%200-4h.09a1.65%201.65%200%200%200%201.51-1%201.65%201.65%200%200%200-.33-1.82l-.06-.06a2%202%200%201%201%202.83-2.83l.06.06a1.65%201.65%200%200%200%201.82.33h0a1.65%201.65%200%200%200%201-1.51V3a2%202%200%201%201%204%200v.09a1.65%201.65%200%200%200%201%201.51%201.65%201.65%200%200%200%201.82-.33l.06-.06a2%202%200%201%201%202.83%202.83l-.06.06a1.65%201.65%200%200%200-.33%201.82v0a1.65%201.65%200%200%200%201.51%201H21a2%202%200%201%201%200%204h-.09a1.65%201.65%200%200%200-1.51%201Z'/%3e%3c/svg%3e", import.meta.url).href;
32101
32142
  const appLogos = {
32102
32143
  agents: agentsUrl,
32144
+ brain: brainUrl,
32103
32145
  instances: instancesUrl,
32104
32146
  system: systemUrl
32105
32147
  };
@@ -32144,15 +32186,23 @@ function HelpIcon($$anchor, $$props) {
32144
32186
  });
32145
32187
  append($$anchor, svg);
32146
32188
  }
32147
- var root_1$a = /* @__PURE__ */ from_html(`<button type="button" class="flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-haspopup="menu"><span><span></span></span> <span class="text-13 font-medium text-text-1" aria-hidden="true"> </span> <!></button>`);
32148
- var root_2$7 = /* @__PURE__ */ from_html(`<div class="flex items-center gap-2 px-2.5 py-1.5" role="presentation"><span><span></span></span> <span class="text-13 font-medium text-text-1"> </span></div>`);
32149
- var root_3$6 = /* @__PURE__ */ from_html(`<button type="button"><img alt="" width="24" height="24"/> <span class="mt-0.5 text-[10px] font-medium leading-none"> </span></button>`);
32150
- var root_9 = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="absolute right-1.5 top-1.5 h-1.5 w-1.5 rounded-full border-[1.5px] border-bg-page bg-status-danger"></span>`);
32151
- var root_8$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
32152
- var root_5$2 = /* @__PURE__ */ from_html(`<!> <!> <!> <!> <!>`, 1);
32189
+ var root_2$7 = /* @__PURE__ */ from_html(`<span aria-hidden="true"><img alt="" width="24" height="24" class="h-full w-full object-cover"/></span>`);
32190
+ var root_3$6 = /* @__PURE__ */ from_html(`<span><span></span></span>`);
32191
+ var root_1$a = /* @__PURE__ */ from_html(`<button type="button" class="flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-haspopup="menu"><!> <span class="text-13 font-medium text-text-1" aria-hidden="true"> </span> <!></button>`);
32192
+ var root_5$2 = /* @__PURE__ */ from_html(`<span aria-hidden="true"><img alt="" width="24" height="24" class="h-full w-full object-cover"/></span>`);
32193
+ var root_6 = /* @__PURE__ */ from_html(`<span><span></span></span>`);
32194
+ var root_4$5 = /* @__PURE__ */ from_html(`<div class="flex items-center gap-2 px-2.5 py-1.5" role="presentation"><!> <span class="text-13 font-medium text-text-1"> </span></div>`);
32195
+ var root_7$1 = /* @__PURE__ */ from_html(`<button type="button"><img alt="" width="24" height="24"/> <span class="mt-0.5 text-[10px] font-medium leading-none"> </span></button>`);
32196
+ var root_13 = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="absolute right-1.5 top-1.5 h-1.5 w-1.5 rounded-full border-[1.5px] border-bg-page bg-status-danger"></span>`);
32197
+ var root_12 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
32198
+ var root_9 = /* @__PURE__ */ from_html(`<!> <!> <!> <!> <!>`, 1);
32153
32199
  var root$c = /* @__PURE__ */ from_html(`<header class="flex h-12 shrink-0 items-center gap-0 bg-bg-page px-2"><!> <nav class="ml-3.5 flex h-12 items-center gap-0.5" aria-label="Apps"></nav> <div class="flex-1"></div> <div class="flex items-center gap-1 pr-2"><!></div></header>`);
32154
32200
  function Topbar($$anchor, $$props) {
32155
32201
  push($$props, true);
32202
+ function resolveLogo(logo) {
32203
+ if (logo in appLogos) return appLogos[logo];
32204
+ return logo;
32205
+ }
32156
32206
  const DEFAULT_APPS2 = [
32157
32207
  { id: "system", label: "System", logo: "system" },
32158
32208
  { id: "instances", label: "Instances", logo: "instances" },
@@ -32171,69 +32221,131 @@ function Topbar($$anchor, $$props) {
32171
32221
  danger: "bg-status-danger",
32172
32222
  neutral: "bg-status-neutral"
32173
32223
  };
32224
+ const LOGO_RING = {
32225
+ ok: "ring-status-success",
32226
+ warn: "ring-status-warning",
32227
+ danger: "ring-status-danger",
32228
+ neutral: "ring-status-neutral"
32229
+ };
32174
32230
  let ringWrapClass = /* @__PURE__ */ user_derived(() => `inline-flex h-[18px] w-[18px] items-center justify-center rounded-full ${RING_BG[status()]}`);
32175
32231
  let ringDotClass = /* @__PURE__ */ user_derived(() => `h-2 w-2 rounded-full ${RING_DOT[status()]}`);
32232
+ let logoRingClass = /* @__PURE__ */ user_derived(() => `inline-flex h-6 w-6 items-center justify-center overflow-hidden rounded-full ring-2 ring-inset ${LOGO_RING[status()]}`);
32176
32233
  var $$exports = { DEFAULT_APPS: DEFAULT_APPS2 };
32177
32234
  var header = root$c();
32178
32235
  var node = child(header);
32179
32236
  {
32180
- var consequent = ($$anchor2) => {
32237
+ var consequent_1 = ($$anchor2) => {
32181
32238
  var button = root_1$a();
32182
- var span = child(button);
32183
- var span_1 = child(span);
32184
- reset(span);
32185
- var span_2 = sibling(span, 2);
32186
- var text2 = child(span_2, true);
32187
- reset(span_2);
32188
- var node_1 = sibling(span_2, 2);
32189
- CaretIcon(node_1, { class: "h-3.5 w-3.5 text-text-3" });
32239
+ var node_1 = child(button);
32240
+ {
32241
+ var consequent = ($$anchor3) => {
32242
+ var span = root_2$7();
32243
+ var img = child(span);
32244
+ reset(span);
32245
+ template_effect(
32246
+ ($0) => {
32247
+ set_class(span, 1, clsx(get(logoRingClass)));
32248
+ set_attribute(img, "src", $0);
32249
+ },
32250
+ [() => resolveLogo($$props.siteLogo)]
32251
+ );
32252
+ append($$anchor3, span);
32253
+ };
32254
+ var alternate = ($$anchor3) => {
32255
+ var span_1 = root_3$6();
32256
+ var span_2 = child(span_1);
32257
+ reset(span_1);
32258
+ template_effect(() => {
32259
+ set_class(span_1, 1, clsx(get(ringWrapClass)));
32260
+ set_class(span_2, 1, clsx(get(ringDotClass)));
32261
+ });
32262
+ append($$anchor3, span_1);
32263
+ };
32264
+ if_block(node_1, ($$render) => {
32265
+ if ($$props.siteLogo !== void 0) $$render(consequent);
32266
+ else $$render(alternate, -1);
32267
+ });
32268
+ }
32269
+ var span_3 = sibling(node_1, 2);
32270
+ var text2 = child(span_3, true);
32271
+ reset(span_3);
32272
+ var node_2 = sibling(span_3, 2);
32273
+ CaretIcon(node_2, { class: "h-3.5 w-3.5 text-text-3" });
32190
32274
  reset(button);
32191
32275
  template_effect(() => {
32192
32276
  set_attribute(button, "aria-label", `Switch site: ${$$props.siteName ?? ""}`);
32193
- set_class(span, 1, clsx(get(ringWrapClass)));
32194
- set_class(span_1, 1, clsx(get(ringDotClass)));
32277
+ set_attribute(button, "title", `${$$props.siteName} — status: ${status()}`);
32195
32278
  set_text(text2, $$props.siteName);
32196
32279
  });
32197
32280
  append($$anchor2, button);
32198
32281
  };
32199
- var alternate = ($$anchor2) => {
32200
- var div = root_2$7();
32201
- var span_3 = child(div);
32202
- var span_4 = child(span_3);
32203
- reset(span_3);
32204
- var span_5 = sibling(span_3, 2);
32205
- var text_1 = child(span_5, true);
32206
- reset(span_5);
32282
+ var alternate_2 = ($$anchor2) => {
32283
+ var div = root_4$5();
32284
+ var node_3 = child(div);
32285
+ {
32286
+ var consequent_2 = ($$anchor3) => {
32287
+ var span_4 = root_5$2();
32288
+ var img_1 = child(span_4);
32289
+ reset(span_4);
32290
+ template_effect(
32291
+ ($0) => {
32292
+ set_class(span_4, 1, clsx(get(logoRingClass)));
32293
+ set_attribute(img_1, "src", $0);
32294
+ },
32295
+ [() => resolveLogo($$props.siteLogo)]
32296
+ );
32297
+ append($$anchor3, span_4);
32298
+ };
32299
+ var alternate_1 = ($$anchor3) => {
32300
+ var span_5 = root_6();
32301
+ var span_6 = child(span_5);
32302
+ reset(span_5);
32303
+ template_effect(() => {
32304
+ set_class(span_5, 1, clsx(get(ringWrapClass)));
32305
+ set_class(span_6, 1, clsx(get(ringDotClass)));
32306
+ });
32307
+ append($$anchor3, span_5);
32308
+ };
32309
+ if_block(node_3, ($$render) => {
32310
+ if ($$props.siteLogo !== void 0) $$render(consequent_2);
32311
+ else $$render(alternate_1, -1);
32312
+ });
32313
+ }
32314
+ var span_7 = sibling(node_3, 2);
32315
+ var text_1 = child(span_7, true);
32316
+ reset(span_7);
32207
32317
  reset(div);
32208
32318
  template_effect(() => {
32209
- set_class(span_3, 1, clsx(get(ringWrapClass)));
32210
- set_class(span_4, 1, clsx(get(ringDotClass)));
32319
+ set_attribute(div, "title", `${$$props.siteName} — status: ${status()}`);
32211
32320
  set_text(text_1, $$props.siteName);
32212
32321
  });
32213
32322
  append($$anchor2, div);
32214
32323
  };
32215
32324
  if_block(node, ($$render) => {
32216
- if (siteSwitchable()) $$render(consequent);
32217
- else $$render(alternate, -1);
32325
+ if (siteSwitchable()) $$render(consequent_1);
32326
+ else $$render(alternate_2, -1);
32218
32327
  });
32219
32328
  }
32220
32329
  var nav = sibling(node, 2);
32221
32330
  each(nav, 21, apps, (a) => a.id, ($$anchor2, a) => {
32222
- var button_1 = root_3$6();
32223
- var img = child(button_1);
32224
- var span_6 = sibling(img, 2);
32225
- var text_2 = child(span_6, true);
32226
- reset(span_6);
32331
+ var button_1 = root_7$1();
32332
+ var img_2 = child(button_1);
32333
+ var span_8 = sibling(img_2, 2);
32334
+ var text_2 = child(span_8, true);
32335
+ reset(span_8);
32227
32336
  reset(button_1);
32228
- template_effect(() => {
32229
- set_class(button_1, 1, `flex h-12 w-16 cursor-pointer flex-col items-center justify-center py-1.5 transition-colors duration-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05
32337
+ template_effect(
32338
+ ($0) => {
32339
+ set_class(button_1, 1, `flex h-12 w-16 cursor-pointer flex-col items-center justify-center py-1.5 transition-colors duration-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05
32230
32340
  ${get(a).id === activeApp() ? "bg-bg-1 text-text-1" : "bg-transparent text-text-3 hover:text-text-1"}`);
32231
- set_attribute(button_1, "aria-current", get(a).id === activeApp() ? "page" : void 0);
32232
- set_attribute(img, "src", appLogos[get(a).logo]);
32233
- set_class(img, 1, `transition-[opacity,filter] duration-150
32341
+ set_attribute(button_1, "aria-current", get(a).id === activeApp() ? "page" : void 0);
32342
+ set_attribute(img_2, "src", $0);
32343
+ set_class(img_2, 1, `transition-[opacity,filter] duration-150
32234
32344
  ${get(a).id === activeApp() ? "opacity-100 dark:brightness-[1.6]" : "opacity-65 hover:opacity-90 dark:hover:brightness-[1.4]"}`);
32235
- set_text(text_2, get(a).label);
32236
- });
32345
+ set_text(text_2, get(a).label);
32346
+ },
32347
+ [() => resolveLogo(get(a).logo)]
32348
+ );
32237
32349
  delegated("click", button_1, () => {
32238
32350
  activeApp(get(a).id);
32239
32351
  $$props.onappchange?.(get(a).id);
@@ -32242,18 +32354,18 @@ function Topbar($$anchor, $$props) {
32242
32354
  });
32243
32355
  reset(nav);
32244
32356
  var div_1 = sibling(nav, 4);
32245
- var node_2 = child(div_1);
32357
+ var node_4 = child(div_1);
32246
32358
  {
32247
- var consequent_1 = ($$anchor2) => {
32359
+ var consequent_3 = ($$anchor2) => {
32248
32360
  var fragment = comment();
32249
- var node_3 = first_child(fragment);
32250
- snippet(node_3, () => $$props.actions);
32361
+ var node_5 = first_child(fragment);
32362
+ snippet(node_5, () => $$props.actions);
32251
32363
  append($$anchor2, fragment);
32252
32364
  };
32253
- var alternate_1 = ($$anchor2) => {
32254
- var fragment_1 = root_5$2();
32255
- var node_4 = first_child(fragment_1);
32256
- IconButton(node_4, {
32365
+ var alternate_3 = ($$anchor2) => {
32366
+ var fragment_1 = root_9();
32367
+ var node_6 = first_child(fragment_1);
32368
+ IconButton(node_6, {
32257
32369
  "aria-label": "Search",
32258
32370
  title: "Search",
32259
32371
  children: ($$anchor3, $$slotProps) => {
@@ -32261,8 +32373,8 @@ function Topbar($$anchor, $$props) {
32261
32373
  },
32262
32374
  $$slots: { default: true }
32263
32375
  });
32264
- var node_5 = sibling(node_4, 2);
32265
- IconButton(node_5, {
32376
+ var node_7 = sibling(node_6, 2);
32377
+ IconButton(node_7, {
32266
32378
  "aria-label": "Updates",
32267
32379
  title: "Updates",
32268
32380
  children: ($$anchor3, $$slotProps) => {
@@ -32270,27 +32382,27 @@ function Topbar($$anchor, $$props) {
32270
32382
  },
32271
32383
  $$slots: { default: true }
32272
32384
  });
32273
- var node_6 = sibling(node_5, 2);
32385
+ var node_8 = sibling(node_7, 2);
32274
32386
  {
32275
32387
  let $0 = /* @__PURE__ */ user_derived(() => notificationCount() > 0 ? `Notifications, ${notificationCount()} new` : "Notifications");
32276
- IconButton(node_6, {
32388
+ IconButton(node_8, {
32277
32389
  get "aria-label"() {
32278
32390
  return get($0);
32279
32391
  },
32280
32392
  title: "Notifications",
32281
32393
  class: "relative",
32282
32394
  children: ($$anchor3, $$slotProps) => {
32283
- var fragment_4 = root_8$1();
32284
- var node_7 = first_child(fragment_4);
32285
- BellIcon(node_7, {});
32286
- var node_8 = sibling(node_7, 2);
32395
+ var fragment_4 = root_12();
32396
+ var node_9 = first_child(fragment_4);
32397
+ BellIcon(node_9, {});
32398
+ var node_10 = sibling(node_9, 2);
32287
32399
  {
32288
- var consequent_2 = ($$anchor4) => {
32289
- var span_7 = root_9();
32290
- append($$anchor4, span_7);
32400
+ var consequent_4 = ($$anchor4) => {
32401
+ var span_9 = root_13();
32402
+ append($$anchor4, span_9);
32291
32403
  };
32292
- if_block(node_8, ($$render) => {
32293
- if (notificationCount() > 0) $$render(consequent_2);
32404
+ if_block(node_10, ($$render) => {
32405
+ if (notificationCount() > 0) $$render(consequent_4);
32294
32406
  });
32295
32407
  }
32296
32408
  append($$anchor3, fragment_4);
@@ -32298,8 +32410,8 @@ function Topbar($$anchor, $$props) {
32298
32410
  $$slots: { default: true }
32299
32411
  });
32300
32412
  }
32301
- var node_9 = sibling(node_6, 2);
32302
- IconButton(node_9, {
32413
+ var node_11 = sibling(node_8, 2);
32414
+ IconButton(node_11, {
32303
32415
  "aria-label": "Help",
32304
32416
  title: "Help",
32305
32417
  children: ($$anchor3, $$slotProps) => {
@@ -32307,8 +32419,8 @@ function Topbar($$anchor, $$props) {
32307
32419
  },
32308
32420
  $$slots: { default: true }
32309
32421
  });
32310
- var node_10 = sibling(node_9, 2);
32311
- Avatar(node_10, {
32422
+ var node_12 = sibling(node_11, 2);
32423
+ Avatar(node_12, {
32312
32424
  get initials() {
32313
32425
  return initials();
32314
32426
  },
@@ -32320,9 +32432,9 @@ function Topbar($$anchor, $$props) {
32320
32432
  });
32321
32433
  append($$anchor2, fragment_1);
32322
32434
  };
32323
- if_block(node_2, ($$render) => {
32324
- if ($$props.actions) $$render(consequent_1);
32325
- else $$render(alternate_1, -1);
32435
+ if_block(node_4, ($$render) => {
32436
+ if ($$props.actions) $$render(consequent_3);
32437
+ else $$render(alternate_3, -1);
32326
32438
  });
32327
32439
  }
32328
32440
  reset(div_1);
@@ -32333,7 +32445,7 @@ function Topbar($$anchor, $$props) {
32333
32445
  delegate(["click"]);
32334
32446
  function Topbar_wc($$anchor, $$props) {
32335
32447
  push($$props, true);
32336
- let siteName = prop($$props, "siteName", 7, void 0), activeApp = prop($$props, "activeApp", 7, void 0), apps = prop($$props, "apps", 7, DEFAULT_APPS), initials = prop($$props, "initials", 7, "MS"), notificationCount = prop($$props, "notificationCount", 7, 1), status = prop($$props, "status", 7, "ok"), siteSwitchable = prop($$props, "siteSwitchable", 7, true);
32448
+ let siteName = prop($$props, "siteName", 7, void 0), activeApp = prop($$props, "activeApp", 7, void 0), apps = prop($$props, "apps", 7, DEFAULT_APPS), initials = prop($$props, "initials", 7, "MS"), notificationCount = prop($$props, "notificationCount", 7, 1), status = prop($$props, "status", 7, "ok"), siteLogo = prop($$props, "siteLogo", 7, void 0), siteSwitchable = prop($$props, "siteSwitchable", 7, true);
32337
32449
  var $$exports = {
32338
32450
  get siteName() {
32339
32451
  return siteName();
@@ -32377,6 +32489,13 @@ function Topbar_wc($$anchor, $$props) {
32377
32489
  status($$value);
32378
32490
  flushSync();
32379
32491
  },
32492
+ get siteLogo() {
32493
+ return siteLogo();
32494
+ },
32495
+ set siteLogo($$value = void 0) {
32496
+ siteLogo($$value);
32497
+ flushSync();
32498
+ },
32380
32499
  get siteSwitchable() {
32381
32500
  return siteSwitchable();
32382
32501
  },
@@ -32404,6 +32523,9 @@ function Topbar_wc($$anchor, $$props) {
32404
32523
  get status() {
32405
32524
  return status();
32406
32525
  },
32526
+ get siteLogo() {
32527
+ return siteLogo();
32528
+ },
32407
32529
  get siteSwitchable() {
32408
32530
  return siteSwitchable();
32409
32531
  },
@@ -32426,6 +32548,7 @@ customElements.define("uni-topbar", create_custom_element(
32426
32548
  initials: {},
32427
32549
  notificationCount: {},
32428
32550
  status: {},
32551
+ siteLogo: {},
32429
32552
  siteSwitchable: {}
32430
32553
  },
32431
32554
  ["default"],