@glimstone/vue 4.8.0 → 4.8.2

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
@@ -8,9 +8,9 @@ import { t as be } from "./selectParts-0e1ib8BL.js";
8
8
  import { t as xe } from "./Select-DBABOjwc.js";
9
9
  import { t as Se } from "./IconButton-D5YOChZI.js";
10
10
  import { Fragment as S, Teleport as Ce, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as O, createTextVNode as k, createVNode as A, defineComponent as j, h as we, inject as Te, mergeModels as M, mergeProps as N, nextTick as Ee, normalizeClass as P, normalizeStyle as F, onBeforeUnmount as I, onMounted as L, onScopeDispose as De, onUnmounted as Oe, onUpdated as ke, openBlock as R, provide as Ae, ref as z, renderList as B, renderSlot as V, resolveDynamicComponent as H, shallowReactive as je, shallowRef as U, toDisplayString as W, toRef as Me, unref as G, useAttrs as Ne, useId as K, useModel as q, useSlots as Pe, vModelDynamic as Fe, vModelText as Ie, vShow as Le, watch as J, watchEffect as Re, withCtx as Y, withDirectives as ze, withKeys as Be, withModifiers as X } from "vue";
11
- import { COLOR_NAMES_DE as Ve, COLOR_PICKER_TEXT as He, COPIED_MS as Ue, GLIMSTONE_RELEASE_URL as We, GLIMSTONE_REPO as Ge, GLIMSTONE_VERSION as Ke, MARKS as qe, PASSWORD_FIELD_TEXT as Je, PATH_ROOM_PX as Ye, TOAST_MARKS as Xe, WIDE_QUERY as Ze, anchorName as Qe, announce as $e, appCardView as et, ariaSort as tt, attachNumberSteppers as nt, claimMenu as rt, closeMenuOutside as it, colorPicker as at, columnValues as ot, computeBubblePosition as st, connectionButtons as ct, connectionTestFace as lt, connectionTile as ut, copyText as dt, countSelector as ft, createFortressFlow as pt, createSignInFlow as mt, donationHandlers as ht, doubtView as gt, fieldErrorView as _t, fieldWidthClass as vt, fill as Z, floatColorPicker as yt, focusByLetter as bt, focusFirstField as xt, focusFirstMenuRow as St, focusMenuRow as Ct, focusMenuRowByLetter as wt, focusTreeRow as Tt, focusedAsker as Et, footStartShows as Dt, holdPickHeight as Ot, hueVars as kt, isMenuHead as At, isTileMark as jt, isTypeahead as Mt, joinRefusalText as Nt, keepReadmeFit as Pt, labelInside as Ft, listKey as It, listOf as Lt, listView as Rt, liveRegionAttrs as zt, loadPaypal as Bt, mailHref as Vt, mediaMatches as Ht, memberName as Ut, menuIsOpen as Wt, menuMove as Gt, menuRowView as Kt, meterView as qt, nearestColorName as Jt, nextSort as Yt, normalizeHex as Xt, offersDiscord as Zt, offersMail as Qt, openInBrowser as $t, openInstance as en, openPopover as tn, openSheet as nn, othersLine as rn, pageLocale as an, passwordConfirmView as on, permissionsWith as sn, phraseReady as cn, pickFocusTarget as ln, pickMarkClass as un, pickSearchKey as dn, pickSections as fn, pickTileKey as pn, pickTileStyle as mn, pickerHue as hn, pillClassName as gn, placeMenu as _n, placeSubmenu as vn, portalTarget as yn, presenceTone as bn, pressRowControl as xn, progressView as Sn, qrCode as Cn, readmePartClass as wn, readmePartLabel as Tn, readmeSoon as En, readmeUnitClass as Dn, resetBlocked as On, returnFocus as kn, roveSelector as An, rovedIndex as jn, runUpdateCheck as Mn, segmentView as Nn, selectByClick as Pn, selectorAxis as Fn, selectorFlex as In, selectorTabId as Ln, selectorTabId as Rn, selectorView as zn, shake as Bn, showRefusal as Vn, sidebarRowView as Hn, signInBlocked as Un, signInStage as Wn, skeletonRowView as Gn, softBreaks as Kn, stackWindow as qn, statusView as Jn, storeShowOthers as Yn, storedShowOthers as Xn, subscribeMedia as Zn, syncNumberSteppers as Qn, tableCellClass as $n, textFieldClass as er, tidyMenu as tr, toastPoliteness as nr, toggleSelection as rr, trapDialogKeys as ir, treeRows as ar, treeStep as or, updateFace as sr, updateStage as cr, versionLink as lr, warnDeprecated as ur, watchSelectorFit as dr, windowFocusTarget as fr, windowFoot as pr } from "@glimstone/core";
11
+ import { COLOR_NAMES_DE as Ve, COLOR_PICKER_TEXT as He, COPIED_MS as Ue, GLIMSTONE_RELEASE_URL as We, GLIMSTONE_REPO as Ge, GLIMSTONE_VERSION as Ke, MARKS as qe, PASSWORD_FIELD_TEXT as Je, PATH_ROOM_PX as Ye, TOAST_MARKS as Xe, WIDE_QUERY as Ze, anchorName as Qe, announce as $e, appCardView as et, ariaSort as tt, attachNumberSteppers as nt, autoSwitch as rt, checkButton as it, claimMenu as at, closeMenuOutside as ot, colorPicker as st, columnValues as ct, componentRows as lt, computeBubblePosition as ut, connectionButtons as dt, connectionTestFace as ft, connectionTile as pt, copyText as mt, countSelector as ht, createFortressFlow as gt, createSignInFlow as _t, designRow as vt, donationHandlers as yt, doubtView as bt, fieldErrorView as xt, fieldWidthClass as St, fill as Z, floatColorPicker as Ct, focusByLetter as wt, focusFirstField as Tt, focusFirstMenuRow as Et, focusMenuRow as Dt, focusMenuRowByLetter as Ot, focusTreeRow as kt, focusedAsker as At, footStartShows as jt, holdPickHeight as Mt, hueVars as Nt, isMenuHead as Pt, isTileMark as Ft, isTypeahead as It, joinRefusalText as Lt, keepReadmeFit as Rt, labelInside as zt, listKey as Bt, listOf as Vt, listView as Ht, liveRegionAttrs as Ut, loadPaypal as Wt, mailHref as Gt, mediaMatches as Kt, memberName as qt, menuIsOpen as Jt, menuMove as Yt, menuRowView as Xt, meterView as Zt, nearestColorName as Qt, nextSort as $t, normalizeHex as en, numberLink as tn, offersDiscord as nn, offersMail as rn, openInBrowser as an, openInstance as on, openPopover as sn, openSheet as cn, othersLine as ln, pageLocale as un, passwordConfirmView as dn, permissionsWith as fn, phraseReady as pn, pickFocusTarget as mn, pickMarkClass as hn, pickSearchKey as gn, pickSections as _n, pickTileKey as vn, pickTileStyle as yn, pickerHue as bn, pillClassName as xn, placeMenu as Sn, placeSubmenu as Cn, portalTarget as wn, presenceTone as Tn, pressRowControl as En, progressView as Dn, qrCode as On, readmePartClass as kn, readmePartLabel as An, readmeSoon as jn, readmeUnitClass as Mn, resetBlocked as Nn, returnFocus as Pn, roveSelector as Fn, rovedIndex as In, segmentView as Ln, selectByClick as Rn, selectorAxis as zn, selectorFlex as Bn, selectorTabId as Vn, selectorTabId as Hn, selectorView as Un, shake as Wn, showRefusal as Gn, sidebarRowView as Kn, signInBlocked as qn, signInStage as Jn, skeletonRowView as Yn, softBreaks as Xn, stackWindow as Zn, statusView as Qn, storeShowOthers as $n, storedShowOthers as er, subscribeMedia as tr, syncNumberSteppers as nr, tableCellClass as rr, textFieldClass as ir, tidyMenu as ar, toastPoliteness as or, toggleSelection as sr, trapDialogKeys as cr, treeRows as lr, treeStep as ur, updateAction as dr, updateLine as fr, versionLink as pr, warnDeprecated as mr, watchSelectorFit as hr, whatsNewLabel as gr, windowFocusTarget as _r, windowFoot as vr, withApp as yr } from "@glimstone/core";
12
12
  // src/InfoBubble.vue?vue&type=script&setup=true&lang.ts
13
- var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
13
+ var br = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
14
14
  __name: "InfoBubble",
15
15
  props: {
16
16
  tip: {},
@@ -60,12 +60,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
60
60
  "stroke-width": "1.3",
61
61
  "stroke-linecap": "round"
62
62
  })
63
- ], -1)]], 42, mr), A(t, { state: G(i) }, null, 8, ["state"])], 64));
63
+ ], -1)]], 42, br), A(t, { state: G(i) }, null, 8, ["state"])], 64));
64
64
  }
65
- }), hr = ["data-glim-title"], gr = {
65
+ }), xr = ["data-glim-title"], Sr = {
66
66
  key: 0,
67
67
  class: "glim-panel-heading"
68
- }, _r = /* @__PURE__ */ j({
68
+ }, Cr = /* @__PURE__ */ j({
69
69
  __name: "Card",
70
70
  props: {
71
71
  title: {},
@@ -74,7 +74,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
74
74
  nested: { type: Boolean }
75
75
  },
76
76
  setup(t) {
77
- let n = t, r = C(() => n.hueIndex === void 0 ? void 0 : kt(n.hueIndex));
77
+ let n = t, r = C(() => n.hueIndex === void 0 ? void 0 : Nt(n.hueIndex));
78
78
  return (n, i) => (R(), E("div", {
79
79
  "data-glim": "Card",
80
80
  "data-glim-title": t.title,
@@ -87,7 +87,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
87
87
  }
88
88
  ]),
89
89
  style: F(r.value)
90
- }, [t.title || t.hint || n.$slots.title ? (R(), E("h2", gr, [A(e, {
90
+ }, [t.title || t.hint || n.$slots.title ? (R(), E("h2", Sr, [A(e, {
91
91
  tone: "heading",
92
92
  size: "heading",
93
93
  wrap: "",
@@ -99,20 +99,20 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
99
99
  "on-accent": ""
100
100
  }, null, 8, ["tip"])) : T("", !0)]),
101
101
  _: 3
102
- }, 8, ["hue-index"])])) : T("", !0), V(n.$slots, "default")], 14, hr));
102
+ }, 8, ["hue-index"])])) : T("", !0), V(n.$slots, "default")], 14, xr));
103
103
  }
104
- }), vr = {
104
+ }), wr = {
105
105
  key: 0,
106
106
  class: "glim-readme-btn-art",
107
107
  "aria-hidden": "true"
108
- }, yr = { class: "glim-readme-btn-text" }, br = { class: "glim-readme-btn-name" }, xr = {
108
+ }, Tr = { class: "glim-readme-btn-text" }, Er = { class: "glim-readme-btn-name" }, Dr = {
109
109
  key: 0,
110
110
  class: "glim-readme-btn-sub"
111
- }, Sr = {
111
+ }, Or = {
112
112
  key: 0,
113
113
  class: "glim-readme-btn-sheen",
114
114
  "aria-hidden": "true"
115
- }, Cr = {
115
+ }, kr = {
116
116
  key: 1,
117
117
  class: "glim-readme-btn-hint"
118
118
  }, $ = /* @__PURE__ */ j({
@@ -135,9 +135,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
135
135
  },
136
136
  emits: ["linkClick"],
137
137
  setup(e, { emit: r }) {
138
- let i = e, a = r, o = C(() => En(i.parts)), s = U(null), c = C(() => i.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (o.value ? i.soonLabel : "")), l;
138
+ let i = e, a = r, o = C(() => jn(i.parts)), s = U(null), c = C(() => i.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (o.value ? i.soonLabel : "")), l;
139
139
  J([s, c], () => {
140
- l?.(), l = s.value ? Pt(s.value) : void 0;
140
+ l?.(), l = s.value ? Rt(s.value) : void 0;
141
141
  }, { flush: "post" }), De(() => l?.());
142
142
  let u = n(() => i.tip), d = (e) => e === 0 ? {
143
143
  ref: (e) => u.trigger.value = e,
@@ -147,7 +147,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
147
147
  onMouseleave: u.hide,
148
148
  onFocus: u.showOnFocus,
149
149
  onBlur: u.hide
150
- } : {}, f = (e) => o.value ? i.soonLabel : e.sub, p = (e) => Tn(e, f(e)), m = (e) => o.value ? "span" : e.href ? "a" : "button", h = (e) => o.value ? { "aria-disabled": !0 } : e.href ? {
150
+ } : {}, f = (e) => o.value ? i.soonLabel : e.sub, p = (e) => An(e, f(e)), m = (e) => o.value ? "span" : e.href ? "a" : "button", h = (e) => o.value ? { "aria-disabled": !0 } : e.href ? {
151
151
  href: e.href,
152
152
  target: "_blank",
153
153
  rel: "noreferrer noopener",
@@ -160,49 +160,49 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
160
160
  ref_key: "root",
161
161
  ref: s,
162
162
  "data-glim": "ReadmeButton",
163
- class: P(G(Dn)(e.brand, e.parts.length, e.note, o.value))
163
+ class: P(G(Mn)(e.brand, e.parts.length, e.note, o.value))
164
164
  }, [
165
165
  (R(!0), E(S, null, B(e.parts, (t, r) => (R(), w(H(m(t)), N({ key: r }, { ref_for: !0 }, {
166
166
  ...h(t),
167
167
  ...d(r)
168
168
  }, {
169
169
  "aria-label": p(t),
170
- class: G(wn)(r, o.value)
170
+ class: G(kn)(r, o.value)
171
171
  }), {
172
- default: Y(() => [r === 0 && n.$slots.art ? (R(), E("span", vr, [V(n.$slots, "art")])) : (R(), E(S, { key: 1 }, [r === 0 && n.$slots.mark ? (R(), E("span", {
172
+ default: Y(() => [r === 0 && n.$slots.art ? (R(), E("span", wr, [V(n.$slots, "art")])) : (R(), E(S, { key: 1 }, [r === 0 && n.$slots.mark ? (R(), E("span", {
173
173
  key: 0,
174
174
  class: P(`glim-readme-btn-mark ${e.markClass ?? ""}`),
175
175
  "aria-hidden": "true"
176
- }, [V(n.$slots, "mark")], 2)) : T("", !0), D("span", yr, [D("span", br, W(t.name), 1), f(t) ? (R(), E("span", xr, W(f(t)), 1)) : T("", !0)])], 64))]),
176
+ }, [V(n.$slots, "mark")], 2)) : T("", !0), D("span", Tr, [D("span", Er, W(t.name), 1), f(t) ? (R(), E("span", Dr, W(f(t)), 1)) : T("", !0)])], 64))]),
177
177
  _: 2
178
178
  }, 1040, ["aria-label", "class"]))), 128)),
179
- o.value ? T("", !0) : (R(), E("span", Sr)),
180
- e.hint ? (R(), E("span", Cr, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0),
179
+ o.value ? T("", !0) : (R(), E("span", Or)),
180
+ e.hint ? (R(), E("span", kr, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0),
181
181
  A(t, { state: G(u) }, null, 8, ["state"])
182
182
  ], 2));
183
183
  }
184
- }), wr = { class: "glim-info-text" }, Tr = { class: "glim-info-text" }, Er = { class: "glim-readme-btn-rows glim-about-give" }, Dr = /* @__PURE__ */ j({
184
+ }), Ar = { class: "glim-info-text" }, jr = { class: "glim-info-text" }, Mr = { class: "glim-readme-btn-rows glim-about-give" }, Nr = /* @__PURE__ */ j({
185
185
  __name: "InfoAboutCard",
186
186
  props: {
187
187
  text: {},
188
188
  onCoffee: { type: Function },
189
- coffeeArt: {},
189
+ coffeeArt: { type: [Object, Function] },
190
190
  onPaypal: { type: Function },
191
- paypalGlyph: {},
191
+ paypalGlyph: { type: [Object, Function] },
192
192
  onCrypto: { type: Function },
193
- cryptoGlyph: {},
193
+ cryptoGlyph: { type: [Object, Function] },
194
194
  hueIndex: {}
195
195
  },
196
196
  setup(e) {
197
- return (t, n) => (R(), w(_r, {
197
+ return (t, n) => (R(), w(Cr, {
198
198
  "data-glim": "InfoAboutCard",
199
199
  title: e.text.title,
200
200
  "hue-index": e.hueIndex
201
201
  }, {
202
202
  default: Y(() => [
203
- D("p", wr, W(e.text.body), 1),
204
- D("p", Tr, W(e.text.coffee), 1),
205
- D("div", Er, [
203
+ D("p", Ar, W(e.text.body), 1),
204
+ D("p", jr, W(e.text.coffee), 1),
205
+ D("div", Mr, [
206
206
  A($, {
207
207
  brand: "coffee",
208
208
  parts: [{
@@ -244,7 +244,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
244
244
  _: 1
245
245
  }, 8, ["title", "hue-index"]));
246
246
  }
247
- }), Or = { class: "glim-info-text" }, kr = { class: "glim-readme-btn-rows" }, Ar = /* @__PURE__ */ j({
247
+ }), Pr = { class: "glim-info-text" }, Fr = { class: "glim-readme-btn-rows" }, Ir = /* @__PURE__ */ j({
248
248
  __name: "InfoHelpCard",
249
249
  props: {
250
250
  text: {},
@@ -260,19 +260,19 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
260
260
  bugGlyph: {},
261
261
  openUrl: {
262
262
  type: Function,
263
- default: $t
263
+ default: an
264
264
  },
265
265
  hueIndex: {}
266
266
  },
267
267
  setup(e) {
268
- let t = e, n = C(() => Qt(t.text.report, t.mailAddress)), r = C(() => Zt(t.text.report, t.discordUrl) && !!t.text.discordButton);
269
- return (t, i) => (R(), w(_r, {
268
+ let t = e, n = C(() => rn(t.text.report, t.mailAddress)), r = C(() => nn(t.text.report, t.discordUrl) && !!t.text.discordButton);
269
+ return (t, i) => (R(), w(Cr, {
270
270
  "data-glim": "InfoHelpCard",
271
271
  title: e.text.title,
272
272
  hint: e.text.hint,
273
273
  "hue-index": e.hueIndex
274
274
  }, {
275
- default: Y(() => [D("p", Or, W(e.text.report), 1), D("div", kr, [
275
+ default: Y(() => [D("p", Pr, W(e.text.report), 1), D("div", Fr, [
276
276
  A($, {
277
277
  brand: "github",
278
278
  parts: [{
@@ -303,7 +303,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
303
303
  brand: "house",
304
304
  parts: [{
305
305
  name: e.text.mailButton,
306
- onClick: () => e.openUrl(G(Vt)(e.mailAddress, e.text.mailSubject))
306
+ onClick: () => e.openUrl(G(Gt)(e.mailAddress, e.text.mailSubject))
307
307
  }],
308
308
  "mark-class": "glim-house-mark"
309
309
  }, O({ _: 2 }, [e.mailGlyph ? {
@@ -346,114 +346,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
346
346
  "hue-index"
347
347
  ]));
348
348
  }
349
- }), jr = { class: "glim-version-rows" }, Mr = { class: "glim-version-name" }, Nr = { class: "glim-version-part" }, Pr = {
350
- key: 0,
351
- class: "glim-version-sub"
352
- }, Fr = ["href", "onClick"], Ir = {
349
+ }), Lr = {
350
+ "data-glim": "AboutCard",
351
+ style: { display: "contents" }
352
+ }, Rr = { class: "glim-version-rows" }, zr = { class: "glim-version-name" }, Br = { class: "glim-version-part" }, Vr = ["href"], Hr = {
353
353
  key: 1,
354
354
  class: "glim-num glim-version-number"
355
- }, Lr = {
356
- key: 0,
357
- class: "glim-version-actions"
358
- }, Rr = {
359
- role: "status",
360
- class: "glim-sr-only"
361
- }, zr = /* @__PURE__ */ j({
362
- __name: "InfoVersionCard",
363
- props: {
364
- text: {},
365
- rows: {},
366
- updateCheck: {},
367
- onReleaseNotes: {},
368
- openUrl: {
369
- type: Function,
370
- default: $t
371
- },
372
- hueIndex: {}
373
- },
374
- setup(e) {
375
- let t = e, n = Pe(), r = C(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = U({ kind: "idle" }), a = U(0), o = C(() => t.updateCheck && sr(i.value, t.updateCheck.text));
376
- function s() {
377
- Mn(t.updateCheck, i.value, (e) => {
378
- i.value = e, e.kind === "failed" && a.value++;
379
- });
380
- }
381
- function c(e, n) {
382
- e.preventDefault(), t.openUrl(n);
383
- }
384
- return (t, n) => (R(), w(_r, {
385
- "data-glim": "InfoVersionCard",
386
- title: e.text.title,
387
- hint: e.text.hint,
388
- "hue-index": e.hueIndex
389
- }, {
390
- default: Y(() => [D("ul", jr, [(R(!0), E(S, null, B(e.rows, (t) => (R(), E("li", {
391
- key: t.name,
392
- class: "glim-version-row"
393
- }, [D("span", Mr, [D("span", Nr, W(t.name), 1), t.sub ? (R(), E("span", Pr, W(t.sub), 1)) : T("", !0)]), G(lr)(t).href ? (R(), E("a", {
394
- key: 0,
395
- href: G(lr)(t).href,
396
- target: "_blank",
397
- rel: "noopener noreferrer",
398
- class: "glim-num glim-version-number",
399
- onClick: (e) => c(e, G(lr)(t).href)
400
- }, W(G(lr)(t).shown), 9, Fr)) : (R(), E("span", Ir, W(G(lr)(t).released ? G(lr)(t).shown : e.text.unreleased(G(lr)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (R(), E("div", Lr, [
401
- r.value ? (R(), w(f, {
402
- key: 0,
403
- label: e.text.releaseNotes,
404
- "label-key": "about.releaseNotes",
405
- onClick: n[0] ||= (t) => e.onReleaseNotes()
406
- }, null, 8, ["label"])) : T("", !0),
407
- V(t.$slots, "whats-new"),
408
- e.updateCheck && o.value ? (R(), E(S, { key: 1 }, [(R(), w(f, {
409
- key: a.value,
410
- label: o.value.label,
411
- "label-key": o.value.labelKey,
412
- tone: o.value.tone,
413
- stage: G(cr)(e.updateCheck.text, o.value.label),
414
- busy: i.value.kind === "busy",
415
- class: P(a.value > 0 ? "glim-shake" : ""),
416
- onClick: s
417
- }, null, 8, [
418
- "label",
419
- "label-key",
420
- "tone",
421
- "stage",
422
- "busy",
423
- "class"
424
- ])), D("span", Rr, W(o.value.announced), 1)], 64)) : T("", !0)
425
- ])) : T("", !0)]),
426
- _: 3
427
- }, 8, [
428
- "title",
429
- "hint",
430
- "hue-index"
431
- ]));
432
- }
433
- }), Br = {
434
- "data-glim": "InfoTile",
435
- style: { display: "contents" }
436
- }, Vr = /* @__PURE__ */ j({
437
- __name: "InfoTile",
438
- props: {
439
- version: {},
440
- help: {},
441
- about: {},
442
- hueIndex: {}
443
- },
444
- setup(e) {
445
- let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
446
- return (t, r) => (R(), E("div", Br, [
447
- A(zr, N(e.version, { "hue-index": n(0) }), O({ _: 2 }, [t.$slots["whats-new"] ? {
448
- name: "whats-new",
449
- fn: Y(() => [V(t.$slots, "whats-new")]),
450
- key: "0"
451
- } : void 0]), 1040, ["hue-index"]),
452
- A(Ar, N(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
453
- A(Dr, N(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
454
- ]));
455
- }
456
- }), Hr = /* @__PURE__ */ j({
355
+ }, Ur = /* @__PURE__ */ j({
457
356
  __name: "AboutCard",
458
357
  props: {
459
358
  text: {},
@@ -474,13 +373,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
474
373
  mailGlyph: {},
475
374
  openUrl: {
476
375
  type: Function,
477
- default: $t
376
+ default: an
478
377
  },
479
378
  hueIndex: {}
480
379
  },
481
380
  setup(e) {
482
381
  let t = e;
483
- ur("AboutCard");
382
+ mr("AboutCard");
484
383
  let n = C(() => [...t.version ? [{
485
384
  name: t.text.version,
486
385
  version: t.version,
@@ -489,28 +388,29 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
489
388
  name: "GlimStone",
490
389
  version: t.glimstoneVersion,
491
390
  repoUrl: t.glimstoneRepoUrl
492
- }]);
493
- return (t, r) => (R(), w(Vr, {
494
- "data-glim": "AboutCard",
495
- "hue-index": e.hueIndex,
496
- about: {
497
- text: e.text,
498
- onCoffee: e.onCoffee,
499
- coffeeArt: e.coffeeArt,
500
- onPaypal: e.onPaypal,
501
- paypalGlyph: e.paypalGlyph,
502
- onCrypto: e.onCrypto,
503
- cryptoGlyph: e.cryptoGlyph
504
- },
505
- version: {
506
- text: {
507
- title: e.text.version,
508
- unreleased: e.text.unreleased
509
- },
510
- rows: n.value,
511
- openUrl: e.openUrl
512
- },
513
- help: {
391
+ }].map((e) => ({
392
+ row: e,
393
+ link: pr(e)
394
+ }))), r = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
395
+ return (t, i) => (R(), E("div", Lr, [
396
+ A(Cr, {
397
+ title: e.text.version,
398
+ "hue-index": r(0)
399
+ }, {
400
+ default: Y(() => [D("ul", Rr, [(R(!0), E(S, null, B(n.value, ({ row: t, link: n }) => (R(), E("li", {
401
+ key: t.name,
402
+ class: "glim-version-row"
403
+ }, [D("span", zr, [D("span", Br, W(t.name), 1)]), n.href ? (R(), E("a", {
404
+ key: 0,
405
+ href: n.href,
406
+ target: "_blank",
407
+ rel: "noopener noreferrer",
408
+ class: "glim-num glim-version-number"
409
+ }, W(n.shown), 9, Vr)) : (R(), E("span", Hr, W(n.released ? n.shown : e.text.unreleased(n.shown)), 1))]))), 128))])]),
410
+ _: 1
411
+ }, 8, ["title", "hue-index"]),
412
+ A(Ir, {
413
+ "hue-index": r(1),
514
414
  text: {
515
415
  title: e.text.helpTitle,
516
416
  report: e.text.report,
@@ -519,55 +419,79 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
519
419
  mailButton: e.text.mailButton,
520
420
  mailSubject: e.text.mailSubject
521
421
  },
522
- repoUrl: e.repoUrl,
523
- repoGlyph: e.repoGlyph,
524
- discordUrl: e.discordUrl,
525
- discordGlyph: e.discordGlyph,
526
- mailAddress: e.mailAddress,
527
- mailGlyph: e.mailGlyph,
528
- openUrl: e.openUrl
529
- }
530
- }, null, 8, [
531
- "hue-index",
532
- "about",
533
- "version",
534
- "help"
422
+ "repo-url": e.repoUrl,
423
+ "repo-glyph": e.repoGlyph,
424
+ "discord-url": e.discordUrl,
425
+ "discord-glyph": e.discordGlyph,
426
+ "mail-address": e.mailAddress,
427
+ "mail-glyph": e.mailGlyph,
428
+ "open-url": e.openUrl
429
+ }, null, 8, [
430
+ "hue-index",
431
+ "text",
432
+ "repo-url",
433
+ "repo-glyph",
434
+ "discord-url",
435
+ "discord-glyph",
436
+ "mail-address",
437
+ "mail-glyph",
438
+ "open-url"
439
+ ]),
440
+ A(Nr, {
441
+ "hue-index": r(2),
442
+ text: e.text,
443
+ "on-coffee": e.onCoffee,
444
+ "coffee-art": e.coffeeArt,
445
+ "on-paypal": e.onPaypal,
446
+ "paypal-glyph": e.paypalGlyph,
447
+ "on-crypto": e.onCrypto,
448
+ "crypto-glyph": e.cryptoGlyph
449
+ }, null, 8, [
450
+ "hue-index",
451
+ "text",
452
+ "on-coffee",
453
+ "coffee-art",
454
+ "on-paypal",
455
+ "paypal-glyph",
456
+ "on-crypto",
457
+ "crypto-glyph"
458
+ ])
535
459
  ]));
536
460
  }
537
- }), Ur = {
461
+ }), Wr = {
538
462
  key: 0,
539
463
  "data-glim": "BrandMark",
540
464
  class: "glim-brand-svg",
541
465
  "aria-hidden": "true"
542
- }, Wr = ["innerHTML"], Gr = ["innerHTML"], Kr = ["innerHTML"], qr = /* @__PURE__ */ j({
466
+ }, Gr = ["innerHTML"], Kr = ["innerHTML"], qr = ["innerHTML"], Jr = /* @__PURE__ */ j({
543
467
  __name: "BrandMark",
544
468
  props: {
545
469
  svg: {},
546
470
  hover: {}
547
471
  },
548
472
  setup(e) {
549
- return (t, n) => e.hover ? (R(), E("span", Ur, [D("span", {
473
+ return (t, n) => e.hover ? (R(), E("span", Wr, [D("span", {
550
474
  class: "glim-mark-rest",
551
475
  innerHTML: e.svg
552
- }, null, 8, Wr), D("span", {
476
+ }, null, 8, Gr), D("span", {
553
477
  class: "glim-mark-hover",
554
478
  innerHTML: e.hover
555
- }, null, 8, Gr)])) : (R(), E("span", {
479
+ }, null, 8, Kr)])) : (R(), E("span", {
556
480
  key: 1,
557
481
  "data-glim": "BrandMark",
558
482
  class: "glim-brand-svg",
559
483
  "aria-hidden": "true",
560
484
  innerHTML: e.svg
561
- }, null, 8, Kr));
485
+ }, null, 8, qr));
562
486
  }
563
- }), Jr = [
487
+ }), Yr = [
564
488
  "aria-checked",
565
489
  "aria-label",
566
490
  "disabled"
567
- ], Yr = {
491
+ ], Xr = {
568
492
  class: "glim-checkbox-box",
569
493
  "aria-hidden": "true"
570
- }, Xr = { key: 0 }, Zr = /* @__PURE__ */ j({
494
+ }, Zr = { key: 0 }, Qr = /* @__PURE__ */ j({
571
495
  __name: "Checkbox",
572
496
  props: /*@__PURE__*/ M({
573
497
  label: {},
@@ -603,12 +527,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
603
527
  class: P(["glim-checkbox", { "glim-checkbox--slim": e.slim }]),
604
528
  onClick: i[0] ||= (e) => r.value = !r.value,
605
529
  onKeydown: i[1] ||= Be(X(() => {}, ["prevent"]), ["enter"])
606
- }, [D("span", Yr, [A(G(b))]), n.value ? T("", !0) : (R(), E("span", Xr, W(e.label), 1))], 42, Jr));
530
+ }, [D("span", Xr, [A(G(b))]), n.value ? T("", !0) : (R(), E("span", Zr, W(e.label), 1))], 42, Yr));
607
531
  }
608
- }), Qr = ["data-glim-title"], $r = { class: "glim-modal-head" }, ei = {
532
+ }), $r = ["data-glim-title"], ei = { class: "glim-modal-head" }, ti = {
609
533
  id: "coffee-title",
610
534
  class: "glim-modal-title"
611
- }, ti = { class: "glim-give-body" }, ni = { class: "glim-give-appeal" }, ri = { class: "glim-give-intro" }, ii = { class: "glim-give-frame" }, ai = ["src", "title"], oi = { class: "glim-give-foot" }, si = /* @__PURE__ */ j({
535
+ }, ni = { class: "glim-give-body" }, ri = { class: "glim-give-appeal" }, ii = { class: "glim-give-intro" }, ai = { class: "glim-give-frame" }, oi = ["src", "title"], si = { class: "glim-give-foot" }, ci = /* @__PURE__ */ j({
612
536
  __name: "CoffeeDialog",
613
537
  props: {
614
538
  widgetUrl: {},
@@ -631,7 +555,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
631
555
  "aria-labelledby": "coffee-title",
632
556
  class: "glim-modal-card glim-modal-card--wide glim-modal-card--tall"
633
557
  }, [
634
- D("div", $r, [D("h2", ei, [A(e, {
558
+ D("div", ei, [D("h2", ti, [A(e, {
635
559
  tone: "heading",
636
560
  size: "heading",
637
561
  wrap: ""
@@ -639,28 +563,28 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
639
563
  default: Y(() => [k(W(t.text.title), 1)]),
640
564
  _: 1
641
565
  })])]),
642
- D("div", ti, [
643
- D("p", ni, W(t.text.appeal), 1),
644
- D("p", ri, W(t.text.intro), 1),
645
- D("div", ii, [D("iframe", {
566
+ D("div", ni, [
567
+ D("p", ri, W(t.text.appeal), 1),
568
+ D("p", ii, W(t.text.intro), 1),
569
+ D("div", ai, [D("iframe", {
646
570
  src: t.widgetUrl,
647
571
  title: t.text.title,
648
572
  allow: "payment",
649
573
  class: "glim-give-iframe"
650
- }, null, 8, ai)])
574
+ }, null, 8, oi)])
651
575
  ]),
652
- D("div", oi, [A(f, {
576
+ D("div", si, [A(f, {
653
577
  label: t.text.closeLabel,
654
578
  "label-key": "common.close",
655
579
  tone: "neutral",
656
580
  onClick: r[0] ||= (e) => i("close")
657
581
  }, null, 8, ["label"])])
658
- ], 8, Qr)]));
582
+ ], 8, $r)]));
659
583
  }
660
- }), ci = { class: "glim-picker-foot" }, li = {
584
+ }), li = { class: "glim-picker-foot" }, ui = {
661
585
  key: 0,
662
586
  class: "glim-picker-name"
663
- }, ui = ["value", "aria-label"], di = { class: "glim-picker-actions" }, fi = /* @__PURE__ */ j({
587
+ }, di = ["value", "aria-label"], fi = { class: "glim-picker-actions" }, pi = /* @__PURE__ */ j({
664
588
  __name: "ColorPicker",
665
589
  props: /*@__PURE__*/ M({
666
590
  anchor: { default: null },
@@ -682,18 +606,18 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
682
606
  let n = e, r = q(e, "modelValue"), i = t, a = {
683
607
  ...He,
684
608
  ...n.text
685
- }, o = U(null), s = U(null), c = z(Xt(r.value) ?? "#000000"), l = z(c.value), u = C(() => n.names === !1 ? null : Jt(c.value, n.names)), d = at(c.value, (e) => {
609
+ }, o = U(null), s = U(null), c = z(en(r.value) ?? "#000000"), l = z(c.value), u = C(() => n.names === !1 ? null : Qt(c.value, n.names)), d = st(c.value, (e) => {
686
610
  c.value = e, l.value = e, i("input", e);
687
611
  }, { text: a }), p;
688
612
  L(() => {
689
- s.value.appendChild(d.el), n.anchor && o.value && (p = yt(o.value, n.anchor, () => i("close")), d.focus());
613
+ s.value.appendChild(d.el), n.anchor && o.value && (p = Ct(o.value, n.anchor, () => i("close")), d.focus());
690
614
  }), I(() => p?.()), J(r, (e) => {
691
- let t = Xt(e);
615
+ let t = en(e);
692
616
  t && (c.value = t, l.value = t, d.setValue(t));
693
617
  });
694
618
  function m(e) {
695
619
  l.value = e.target.value;
696
- let t = Xt(l.value);
620
+ let t = en(l.value);
697
621
  t && (c.value = t, d.setValue(t), i("input", t));
698
622
  }
699
623
  function h() {
@@ -703,7 +627,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
703
627
  e.key === "Enter" && !(e.target instanceof HTMLButtonElement) && (e.preventDefault(), h());
704
628
  }
705
629
  return (t, n) => (R(), w(Ce, {
706
- to: G(yn)(),
630
+ to: G(wn)(),
707
631
  disabled: !e.anchor
708
632
  }, [D("div", {
709
633
  "data-glim": "ColorPicker",
@@ -718,12 +642,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
718
642
  ref: s,
719
643
  style: { display: "contents" }
720
644
  }, null, 512),
721
- D("div", ci, [
645
+ D("div", li, [
722
646
  n[0] ||= D("span", {
723
647
  class: "glim-picker-swatch",
724
648
  "aria-hidden": "true"
725
649
  }, null, -1),
726
- u.value === null ? T("", !0) : (R(), E("span", li, W(u.value), 1)),
650
+ u.value === null ? T("", !0) : (R(), E("span", ui, W(u.value), 1)),
727
651
  D("input", {
728
652
  class: "glim-picker-hex",
729
653
  value: l.value,
@@ -731,9 +655,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
731
655
  spellcheck: "false",
732
656
  "aria-label": a.hex,
733
657
  onInput: m
734
- }, null, 40, ui)
658
+ }, null, 40, di)
735
659
  ]),
736
- D("div", di, [A(f, {
660
+ D("div", fi, [A(f, {
737
661
  label: a.apply,
738
662
  "label-key": "apply",
739
663
  glyph: G(b),
@@ -742,23 +666,23 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
742
666
  }, null, 8, ["label", "glyph"])])
743
667
  ], 38)], 8, ["to", "disabled"]));
744
668
  }
745
- }), pi = ["data-glim-title"], mi = { class: "glim-modal-head" }, hi = {
669
+ }), mi = ["data-glim-title"], hi = { class: "glim-modal-head" }, gi = {
746
670
  id: "confirmdialog-title",
747
671
  class: "glim-modal-title"
748
- }, gi = { class: "glim-modal-body" }, _i = {
672
+ }, _i = { class: "glim-modal-body" }, vi = {
749
673
  id: "confirmdialog-message",
750
674
  class: "glim-modal-text"
751
- }, vi = {
675
+ }, yi = {
752
676
  key: 0,
753
677
  class: "glim-modal-extra"
754
- }, yi = { class: "glim-modal-foot" }, bi = /* @__PURE__ */ j({
678
+ }, bi = { class: "glim-modal-foot" }, xi = /* @__PURE__ */ j({
755
679
  __name: "ConfirmDialog",
756
680
  props: {
757
681
  title: {},
758
682
  message: {},
759
683
  confirmLabel: {},
760
684
  confirmLabelKey: {},
761
- confirmGlyph: {},
685
+ confirmGlyph: { type: [Object, Function] },
762
686
  cancelLabel: {},
763
687
  closeLabel: {}
764
688
  },
@@ -779,7 +703,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
779
703
  "aria-describedby": "confirmdialog-message",
780
704
  class: "glim-modal-card"
781
705
  }, [
782
- D("div", mi, [D("h2", hi, [A(e, {
706
+ D("div", hi, [D("h2", gi, [A(e, {
783
707
  tone: "heading",
784
708
  size: "heading",
785
709
  wrap: ""
@@ -794,8 +718,8 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
794
718
  class: "glim-modal-close",
795
719
  onClick: r[0] ||= (e) => i("cancel")
796
720
  }, null, 8, ["label", "glyph"]))]),
797
- D("div", gi, [D("p", _i, W(t.message), 1), n.$slots.extra ? (R(), E("div", vi, [V(n.$slots, "extra")])) : T("", !0)]),
798
- D("div", yi, [A(f, {
721
+ D("div", _i, [D("p", vi, W(t.message), 1), n.$slots.extra ? (R(), E("div", yi, [V(n.$slots, "extra")])) : T("", !0)]),
722
+ D("div", bi, [A(f, {
799
723
  ref_key: "cancel",
800
724
  ref: o,
801
725
  label: t.cancelLabel,
@@ -812,9 +736,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
812
736
  "label-key",
813
737
  "glyph"
814
738
  ])])
815
- ], 8, pi)]));
739
+ ], 8, mi)]));
816
740
  }
817
- }), xi = ["aria-label"], Si = { class: "glim-connection-mark" }, Ci = { class: "glim-connection-main" }, wi = { class: "glim-connection-head" }, Ti = { class: "glim-connection-name" }, Ei = {
741
+ }), Si = ["aria-label"], Ci = { class: "glim-connection-main" }, wi = { class: "glim-connection-head" }, Ti = { class: "glim-connection-name" }, Ei = {
818
742
  key: 0,
819
743
  class: "glim-connection-badges"
820
744
  }, Di = { class: "glim-connection-foot" }, Oi = { class: "glim-connection-about" }, ki = {
@@ -827,7 +751,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
827
751
  __name: "ConnectionRow",
828
752
  props: {
829
753
  name: {},
830
- mark: {},
754
+ mark: { type: [Object, Function] },
831
755
  status: {},
832
756
  test: {},
833
757
  actions: {},
@@ -838,12 +762,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
838
762
  onRemove: { type: Function }
839
763
  },
840
764
  setup(e) {
841
- let t = e, n = C(() => ut(t.mark)), r = C(() => ct(t, {
765
+ let t = e, n = C(() => pt(t.mark)), r = C(() => dt(t, {
842
766
  test: b,
843
767
  edit: ce,
844
768
  remove: pe
845
769
  }).map((e) => {
846
- let t = lt(e);
770
+ let t = ft(e);
847
771
  return {
848
772
  ...e,
849
773
  face: t,
@@ -859,10 +783,10 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
859
783
  class: "glim-connection-tile",
860
784
  style: F(n.value.style),
861
785
  "aria-hidden": "true"
862
- }, [D("span", Si, [n.value.svg === void 0 ? (R(), w(H(e.mark), { key: 1 })) : (R(), w(qr, {
786
+ }, [D("span", { class: P(n.value.wordmark ? "glim-connection-mark glim-connection-mark--wordmark" : "glim-connection-mark") }, [n.value.svg === void 0 ? (R(), w(H(e.mark), { key: 1 })) : (R(), w(Jr, {
863
787
  key: 0,
864
788
  svg: n.value.svg
865
- }, null, 8, ["svg"]))])], 4), D("div", Ci, [D("div", wi, [D("span", Ti, W(e.name), 1), t.$slots.badges ? (R(), E("span", Ei, [V(t.$slots, "badges")])) : T("", !0)]), D("div", Di, [D("div", Oi, [e.status ? (R(), E("p", ki, W(e.status), 1)) : T("", !0), V(t.$slots, "default")]), r.value.length > 0 ? (R(), E("span", Ai, [(R(!0), E(S, null, B(r.value, (e) => (R(), w(f, {
789
+ }, null, 8, ["svg"]))], 2)], 4), D("div", Ci, [D("div", wi, [D("span", Ti, W(e.name), 1), t.$slots.badges ? (R(), E("span", Ei, [V(t.$slots, "badges")])) : T("", !0)]), D("div", Di, [D("div", Oi, [e.status ? (R(), E("p", ki, W(e.status), 1)) : T("", !0), V(t.$slots, "default")]), r.value.length > 0 ? (R(), E("span", Ai, [(R(!0), E(S, null, B(r.value, (e) => (R(), w(f, {
866
790
  key: e.id,
867
791
  label: e.label,
868
792
  "label-key": e.labelKey,
@@ -886,7 +810,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
886
810
  "class",
887
811
  "data-connection",
888
812
  "onClick"
889
- ]))), 128))])) : T("", !0)])])], 8, xi));
813
+ ]))), 128))])) : T("", !0)])])], 8, Si));
890
814
  }
891
815
  }), Ni = {
892
816
  "data-glim": "Kbd",
@@ -939,13 +863,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
939
863
  },
940
864
  emits: ["pick"],
941
865
  setup(e, { emit: t }) {
942
- let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : At(e) ? {
866
+ let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : Pt(e) ? {
943
867
  kind: "head",
944
868
  head: e
945
869
  } : {
946
870
  kind: "item",
947
871
  item: e,
948
- view: Kt(e)
872
+ view: Xt(e)
949
873
  }));
950
874
  return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", Fi)) : t.kind === "head" ? (R(), E("div", Ii, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(_e, {
951
875
  key: 0,
@@ -1011,22 +935,22 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1011
935
  },
1012
936
  emits: ["close", "step"],
1013
937
  setup(e, { emit: t }) {
1014
- let n = e, r = t, i = U(null), a = U(null), o = Et(), s = z({
938
+ let n = e, r = t, i = U(null), a = U(null), o = At(), s = z({
1015
939
  left: n.x,
1016
940
  top: n.y
1017
- }), c = U(null), l = z(null), u = C(() => tr(n.items)), d = C(() => {
941
+ }), c = U(null), l = z(null), u = C(() => ar(n.items)), d = C(() => {
1018
942
  let e = c.value ? u.value[c.value.at] : void 0;
1019
- return e && e !== "-" && !At(e) && e.sub ? e : null;
1020
- }), f = C(() => d.value?.sub ? tr(d.value.sub) : null), p = () => ({
943
+ return e && e !== "-" && !Pt(e) && e.sub ? e : null;
944
+ }), f = C(() => d.value?.sub ? ar(d.value.sub) : null), p = () => ({
1021
945
  width: innerWidth,
1022
946
  height: innerHeight
1023
947
  });
1024
948
  function m(e) {
1025
- r("close"), e && kn(n.opener ?? o);
949
+ r("close"), e && Pn(n.opener ?? o);
1026
950
  }
1027
951
  function h() {
1028
952
  let e = i.value;
1029
- e && (s.value = _n(n.x, n.y, {
953
+ e && (s.value = Sn(n.x, n.y, {
1030
954
  width: e.offsetWidth,
1031
955
  height: e.offsetHeight
1032
956
  }, p(), n.above));
@@ -1038,11 +962,11 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1038
962
  ], h, { flush: "post" });
1039
963
  let g, _;
1040
964
  L(() => {
1041
- h(), g = rt(m), _ = it(() => [
965
+ h(), g = at(m), _ = ot(() => [
1042
966
  i.value,
1043
967
  a.value,
1044
968
  n.opener
1045
- ], () => m(!1)), i.value && n.fromEnd ? Ct(i.value, "last") : i.value && St(i.value);
969
+ ], () => m(!1)), i.value && n.fromEnd ? Dt(i.value, "last") : i.value && Et(i.value);
1046
970
  }), Oe(() => {
1047
971
  g?.(), _?.();
1048
972
  }), J(c, (e) => {
@@ -1050,34 +974,34 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1050
974
  let t = e && i.value?.querySelector(`[data-row="${e.at}"]`), n = a.value;
1051
975
  if (!e || !t || !n) return;
1052
976
  let r = getComputedStyle(i.value).direction === "rtl";
1053
- l.value = vn(t.getBoundingClientRect(), {
977
+ l.value = Cn(t.getBoundingClientRect(), {
1054
978
  width: n.offsetWidth,
1055
979
  height: n.offsetHeight
1056
- }, p(), r), e.focus && St(n);
980
+ }, p(), r), e.focus && Et(n);
1057
981
  }, { flush: "post" });
1058
982
  function v(e, t) {
1059
983
  let n = e[t];
1060
- n !== "-" && (At(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
984
+ n !== "-" && (Pt(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
1061
985
  at: t,
1062
986
  focus: !0
1063
- } : (Kt(n).staysOpen || m(!0), n.onSelect?.()));
987
+ } : (Xt(n).staysOpen || m(!0), n.onSelect?.()));
1064
988
  }
1065
989
  function ee(e, t) {
1066
990
  if (e.key === "Tab") return m(!1);
1067
991
  let n = e.currentTarget;
1068
- if (Mt(e)) {
1069
- wt(n, e.key) && e.preventDefault();
992
+ if (It(e)) {
993
+ Ot(n, e.key) && e.preventDefault();
1070
994
  return;
1071
995
  }
1072
- let a = Gt(e.key, getComputedStyle(n).direction === "rtl");
996
+ let a = Yt(e.key, getComputedStyle(n).direction === "rtl");
1073
997
  if (!a) return;
1074
- if (e.preventDefault(), a !== "in" && a !== "out") return Ct(n, a);
998
+ if (e.preventDefault(), a !== "in" && a !== "out") return Dt(n, a);
1075
999
  if (t) {
1076
1000
  a === "out" && c.value && (i.value?.querySelector(`[data-row="${c.value.at}"]`)?.focus(), c.value = null);
1077
1001
  return;
1078
1002
  }
1079
1003
  let o = Number(document.activeElement?.dataset.row), s = u.value[o];
1080
- a === "in" && s && s !== "-" && !At(s) && s.sub && !s.disabled ? c.value = {
1004
+ a === "in" && s && s !== "-" && !Pt(s) && s.sub && !s.disabled ? c.value = {
1081
1005
  at: o,
1082
1006
  focus: !0
1083
1007
  } : r("step", a === "in" ? 1 : -1);
@@ -1085,13 +1009,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1085
1009
  function te(e) {
1086
1010
  let t = e.target.closest("[data-row]");
1087
1011
  if (!t) return;
1088
- let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !At(r) && !!r.sub && !r.disabled;
1012
+ let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !Pt(r) && !!r.sub && !r.disabled;
1089
1013
  i && c.value?.at !== n ? c.value = {
1090
1014
  at: n,
1091
1015
  focus: !1
1092
1016
  } : !i && c.value && (c.value = null);
1093
1017
  }
1094
- return (t, n) => (R(), w(Ce, { to: G(yn)() }, [D("div", {
1018
+ return (t, n) => (R(), w(Ce, { to: G(wn)() }, [D("div", {
1095
1019
  id: e.id,
1096
1020
  ref_key: "menu",
1097
1021
  ref: i,
@@ -1148,12 +1072,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1148
1072
  let n = e, r = t, i = x(() => n.label), a = z(!1), o = U(null), s;
1149
1073
  I(() => clearTimeout(s));
1150
1074
  async function c() {
1151
- let e = await dt(n.value);
1075
+ let e = await mt(n.value);
1152
1076
  r("copy", e), e ? (a.value = !0, clearTimeout(s), s = window.setTimeout(() => a.value = !1, Ue)) : (o.value?.focus(), o.value?.select());
1153
1077
  }
1154
1078
  return (t, n) => (R(), E("span", {
1155
1079
  "data-glim": "CopyField",
1156
- class: P(["glim-copy", G(vt)(e.width)])
1080
+ class: P(["glim-copy", G(St)(e.width)])
1157
1081
  }, [
1158
1082
  D("input", {
1159
1083
  ref_key: "field",
@@ -1214,7 +1138,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1214
1138
  function d(e, t) {
1215
1139
  let n = e.id !== i.coin.id && e.tile;
1216
1140
  return {
1217
- ...kt(t),
1141
+ ...Nt(t),
1218
1142
  ...n ? {
1219
1143
  "--tile": e.tile.color,
1220
1144
  "--tile-ink": e.tile.ink
@@ -1262,7 +1186,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1262
1186
  type: "button",
1263
1187
  role: "option",
1264
1188
  "aria-selected": e.id === t.network.id,
1265
- style: F(G(kt)(n)),
1189
+ style: F(G(Nt)(n)),
1266
1190
  class: P(e.id === t.network.id ? "glim-give-network glim-hue glim-active" : "glim-give-network glim-hue"),
1267
1191
  onClick: (n) => a("pick", t.coin, e)
1268
1192
  }, W(e.name), 15, oa))), 128))], 8, aa),
@@ -1310,7 +1234,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1310
1234
  emits: ["close"],
1311
1235
  setup(e, { emit: t }) {
1312
1236
  let n = e;
1313
- ur("DropdownListbox");
1237
+ mr("DropdownListbox");
1314
1238
  let r = t, i = U(null), a = U(null), o = be(() => n.open, Me(n, "triggerRef")), s = !1;
1315
1239
  J(() => n.open, (e) => {
1316
1240
  e || (s = !!i.value?.contains(document.activeElement));
@@ -1324,7 +1248,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1324
1248
  let r = {
1325
1249
  width: document.documentElement.clientWidth || window.innerWidth,
1326
1250
  height: document.documentElement.clientHeight || window.innerHeight
1327
- }, { left: o, top: s } = st(t, {
1251
+ }, { left: o, top: s } = ut(t, {
1328
1252
  width: t.width,
1329
1253
  height: i.value.offsetHeight
1330
1254
  }, r, ma);
@@ -1363,8 +1287,8 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1363
1287
  flush: "post"
1364
1288
  }), De(() => m());
1365
1289
  function g(e) {
1366
- if (Mt(e)) {
1367
- bt(c(), e.key) && e.preventDefault();
1290
+ if (It(e)) {
1291
+ wt(c(), e.key) && e.preventDefault();
1368
1292
  return;
1369
1293
  }
1370
1294
  if (![
@@ -1387,7 +1311,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1387
1311
  }
1388
1312
  return (t, n) => e.open ? (R(), w(Ce, {
1389
1313
  key: 0,
1390
- to: G(yn)()
1314
+ to: G(wn)()
1391
1315
  }, [D("div", {
1392
1316
  ref_key: "panel",
1393
1317
  ref: i,
@@ -1454,7 +1378,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1454
1378
  __name: "Pill",
1455
1379
  props: { tone: { default: "neutral" } },
1456
1380
  setup(e) {
1457
- let t = e, n = C(() => gn(t.tone));
1381
+ let t = e, n = C(() => xn(t.tone));
1458
1382
  return (e, t) => (R(), E("span", {
1459
1383
  "data-glim": "Pill",
1460
1384
  class: P(n.value)
@@ -1483,7 +1407,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1483
1407
  class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
1484
1408
  }, [D("span", wa, [D("span", {
1485
1409
  class: "glim-field-row-label",
1486
- onClick: i[0] ||= (e) => G(xn)(r.value)
1410
+ onClick: i[0] ||= (e) => G(En)(r.value)
1487
1411
  }, [V(t.$slots, "label", {}, () => [k(W(e.label), 1)])]), e.hint ? (R(), w(Q, {
1488
1412
  key: 0,
1489
1413
  tip: e.hint
@@ -1529,7 +1453,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1529
1453
  },
1530
1454
  emits: ["close"],
1531
1455
  setup(e, { emit: t }) {
1532
- let n = e, r = t, i = C(() => pr(n.actions, n.hasStart, {
1456
+ let n = e, r = t, i = C(() => vr(n.actions, n.hasStart, {
1533
1457
  cancel: {
1534
1458
  label: n.text.cancel,
1535
1459
  labelKey: "common.cancel",
@@ -1587,19 +1511,19 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1587
1511
  },
1588
1512
  emits: ["close"],
1589
1513
  setup(t, { expose: n, emit: r }) {
1590
- let i = t, a = r, o = Pe(), s = U(null), c = K(), l = Et(), u = C(() => Dt(i.start) || !!o.start), d;
1514
+ let i = t, a = r, o = Pe(), s = U(null), c = K(), l = At(), u = C(() => jt(i.start) || !!o.start), d;
1591
1515
  function f() {
1592
1516
  d?.(), a("close");
1593
1517
  }
1594
1518
  L(() => {
1595
- d = qn(() => s.value, f), s.value && fr(s.value)?.focus();
1519
+ d = Zn(() => s.value, f), s.value && _r(s.value)?.focus();
1596
1520
  }), Oe(() => {
1597
- d?.(), kn(l);
1521
+ d?.(), Pn(l);
1598
1522
  }), n({ card: s });
1599
1523
  function p() {
1600
- i.closeOnBackdrop && !Wt() && f();
1524
+ i.closeOnBackdrop && !Jt() && f();
1601
1525
  }
1602
- return (n, r) => (R(), w(Ce, { to: G(yn)() }, [D("div", {
1526
+ return (n, r) => (R(), w(Ce, { to: G(wn)() }, [D("div", {
1603
1527
  class: "glim-modal-backdrop",
1604
1528
  onMousedown: X(p, ["self"])
1605
1529
  }, [D("div", N({
@@ -1659,7 +1583,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1659
1583
  onClose: { type: Function }
1660
1584
  },
1661
1585
  setup(e) {
1662
- let t = e, n = C(() => gt(t.text, t.app, t.instance)), r = C(() => [{
1586
+ let t = e, n = C(() => bt(t.text, t.app, t.instance)), r = C(() => [{
1663
1587
  label: n.value.open,
1664
1588
  labelKey: "open",
1665
1589
  primary: !0,
@@ -1720,7 +1644,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1720
1644
  hueIndex: {}
1721
1645
  },
1722
1646
  setup(e) {
1723
- let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : kt(t.hueIndex));
1647
+ let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : Nt(t.hueIndex));
1724
1648
  return (t, i) => (R(), E("div", {
1725
1649
  "data-glim": "InstanceCard",
1726
1650
  "data-glim-title": e.name,
@@ -1762,7 +1686,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1762
1686
  return (n, i) => (R(), E("span", eo, [t.instance.relay ? (R(), w(e, { key: 0 }, {
1763
1687
  default: Y(() => [k(W(t.text.viaRelay), 1)]),
1764
1688
  _: 1
1765
- })) : T("", !0), A(e, { tone: G(bn)(t.instance.presence) }, {
1689
+ })) : T("", !0), A(e, { tone: G(Tn)(t.instance.presence) }, {
1766
1690
  default: Y(() => [k(W(r()), 1)]),
1767
1691
  _: 1
1768
1692
  }, 8, ["tone"])]));
@@ -1793,9 +1717,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
1793
1717
  connected: n.text.connected,
1794
1718
  checking: n.text.checking,
1795
1719
  away: n.text.away
1796
- })[e.presence], o = (e) => no(e.deviceKind), s = (e) => Ut(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = U(null);
1720
+ })[e.presence], o = (e) => no(e.deviceKind), s = (e) => qt(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = U(null);
1797
1721
  function d(e) {
1798
- e.doubt ? u.value = e : en(n.app, e, n.onOpen);
1722
+ e.doubt ? u.value = e : on(n.app, e, n.onOpen);
1799
1723
  }
1800
1724
  return (n, p) => (R(), E(S, null, [A($a, N(n.$attrs, {
1801
1725
  "data-glim": "FortressAppCard",
@@ -1840,7 +1764,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
1840
1764
  D("span", ao, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1841
1765
  D("span", oo, [D("span", so, W(n.device), 1), D("span", co, W(r), 1)]),
1842
1766
  D("span", lo, [
1843
- A(e, { tone: G(bn)(n.presence) }, {
1767
+ A(e, { tone: G(Tn)(n.presence) }, {
1844
1768
  default: Y(() => [k(W(a(n)), 1)]),
1845
1769
  _: 2
1846
1770
  }, 1032, ["tone"]),
@@ -1912,7 +1836,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
1912
1836
  app: t.app,
1913
1837
  instance: u.value,
1914
1838
  text: t.text,
1915
- "on-open": () => G(en)(t.app, u.value, t.onOpen),
1839
+ "on-open": () => G(on)(t.app, u.value, t.onOpen),
1916
1840
  "on-close": () => u.value = null
1917
1841
  }, null, 8, [
1918
1842
  "app",
@@ -1966,7 +1890,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
1966
1890
  },
1967
1891
  emits: ["select"],
1968
1892
  setup(e, { emit: i }) {
1969
- let a = e, o = i, s = C(() => Nn({
1893
+ let a = e, o = i, s = C(() => Ln({
1970
1894
  strip: a.strip,
1971
1895
  orientation: a.orientation,
1972
1896
  size: a.size,
@@ -2025,7 +1949,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2025
1949
  ref: m,
2026
1950
  type: "button",
2027
1951
  "data-sel-id": e.item.id,
2028
- id: e.panelId && f.value ? G(Rn)(e.panelId, e.item.id) : void 0,
1952
+ id: e.panelId && f.value ? G(Hn)(e.panelId, e.item.id) : void 0,
2029
1953
  role: e.strip.kind === "toggle" ? void 0 : e.strip.kind,
2030
1954
  "aria-selected": f.value ? e.on : void 0,
2031
1955
  "aria-controls": e.panelId && f.value && e.on ? e.panelId : void 0,
@@ -2112,10 +2036,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2112
2036
  setup(e, { emit: t }) {
2113
2037
  let n = e, r = t, i = C(() => n.modelValue);
2114
2038
  function a(e) {
2115
- let t = U(Ht(e));
2116
- return De(Zn(e, () => t.value = Ht(e))), t;
2039
+ let t = U(Kt(e));
2040
+ return De(tr(e, () => t.value = Kt(e))), t;
2117
2041
  }
2118
- let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(Fn(n.size, n.orientation)), u = a(Ze), d = C(() => zn({
2042
+ let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(zn(n.size, n.orientation)), u = a(Ze), d = C(() => Un({
2119
2043
  mode: c.value,
2120
2044
  select: n.select === "many" ? "many" : "one",
2121
2045
  activation: n.activation,
@@ -2140,7 +2064,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2140
2064
  i && r(i);
2141
2065
  }, { flush: "post" });
2142
2066
  }
2143
- g(() => d.value.counted, (e) => d.value.counted ? ft(e) : void 0), g(() => [
2067
+ g(() => d.value.counted, (e) => d.value.counted ? ht(e) : void 0), g(() => [
2144
2068
  n.orientation,
2145
2069
  d.value.pinWidth,
2146
2070
  n.fit,
@@ -2157,14 +2081,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2157
2081
  return;
2158
2082
  }
2159
2083
  let { pinWidth: t, canSqueeze: r, canList: i } = d.value;
2160
- return dr(e, {
2084
+ return hr(e, {
2161
2085
  pinWidth: t,
2162
2086
  fit: n.fit,
2163
2087
  canSqueeze: r,
2164
2088
  canList: i
2165
2089
  }, (e) => p.value = e);
2166
2090
  });
2167
- let _ = C(() => In({
2091
+ let _ = C(() => Bn({
2168
2092
  layout: p.value,
2169
2093
  inline: s.value,
2170
2094
  fit: n.fit
@@ -2173,10 +2097,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2173
2097
  label: e.label,
2174
2098
  glyph: e.glyph,
2175
2099
  disabled: re.value[t]
2176
- }))), te = C(() => i.value === null ? null : String(i.value)), y = C(() => n.select === "many"), ne = (e) => y.value ? (i.value ?? []).includes(e) : i.value === e, re = C(() => n.items.map((e) => n.disabled || !!e.disabled)), b = C(() => jn(re.value, n.items.findIndex((e) => ne(e.id))));
2100
+ }))), te = C(() => i.value === null ? null : String(i.value)), y = C(() => n.select === "many"), ne = (e) => y.value ? (i.value ?? []).includes(e) : i.value === e, re = C(() => n.items.map((e) => n.disabled || !!e.disabled)), b = C(() => In(re.value, n.items.findIndex((e) => ne(e.id))));
2177
2101
  function ie(e) {
2178
2102
  r("press", e);
2179
- let t = y.value ? rr(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2103
+ let t = y.value ? sr(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2180
2104
  t !== i.value && r("update:modelValue", t);
2181
2105
  }
2182
2106
  function ae(e) {
@@ -2190,7 +2114,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2190
2114
  e.preventDefault(), t.click();
2191
2115
  return;
2192
2116
  }
2193
- let r = An(f.value, e.key, n.orientation);
2117
+ let r = Fn(f.value, e.key, n.orientation);
2194
2118
  if (!r) return;
2195
2119
  e.preventDefault();
2196
2120
  let i = n.items.find((e) => String(e.id) === r.dataset.selId);
@@ -2300,7 +2224,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2300
2224
  let r = e, i = q(e, "modelValue"), a = x(() => r.label), o = C(() => r.label !== void 0 && !r.hideLabel), s = n(() => r.refused), c = K(), l = U(null), u;
2301
2225
  De(() => u?.());
2302
2226
  function d() {
2303
- r.refused ? (u?.(), u = Bn(l.value)) : i.value = !i.value;
2227
+ r.refused ? (u?.(), u = Wn(l.value)) : i.value = !i.value;
2304
2228
  }
2305
2229
  return (n, r) => (R(), E(S, null, [
2306
2230
  D("span", {
@@ -2358,7 +2282,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2358
2282
  hueIndex: {}
2359
2283
  },
2360
2284
  setup(e) {
2361
- let t = e, n = z("all"), r = C(() => sn(t.permissions, t.app.id)), i = C(() => r.value.length < t.permissions.length), a = C(() => n.value === "all" || !i.value ? t.permissions : r.value), o = C(() => [{
2285
+ let t = e, n = z("all"), r = C(() => fn(t.permissions, t.app.id)), i = C(() => r.value.length < t.permissions.length), a = C(() => n.value === "all" || !i.value ? t.permissions : r.value), o = C(() => [{
2362
2286
  id: "all",
2363
2287
  label: `${t.text.all} ${t.permissions.length}`
2364
2288
  }, {
@@ -2373,9 +2297,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2373
2297
  }
2374
2298
  t.notify?.(n.error ?? t.text.failed, "fail");
2375
2299
  let r = document.querySelector(`[data-permission="${CSS.escape(e.id)}"] .glim-toggle`);
2376
- r && Bn(r);
2300
+ r && Wn(r);
2377
2301
  }
2378
- return (t, r) => (R(), w(_r, {
2302
+ return (t, r) => (R(), w(Cr, {
2379
2303
  "data-glim": "FortressPermissions",
2380
2304
  title: e.text.permissions,
2381
2305
  hint: e.text.permissionsAbout,
@@ -2483,7 +2407,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2483
2407
  let r = e, i = q(e, "modelValue"), a = n, o = C(() => ({
2484
2408
  ...Je,
2485
2409
  ...r.text
2486
- })), s = z(!1), c = z(!1), l = z(""), u = Ne(), d = x(() => u["aria-label"]), f = C(() => vt(r.width)), p = K(), m = C(() => u.id ?? p), h = C(() => _t(r.error, m.value, u["aria-describedby"])), g = C(() => on(i.value, l.value)), _ = C(() => _t(g.value.mismatch ? o.value.mismatch : void 0, `${m.value}-confirm`));
2410
+ })), s = z(!1), c = z(!1), l = z(""), u = Ne(), d = x(() => u["aria-label"]), f = C(() => St(r.width)), p = K(), m = C(() => u.id ?? p), h = C(() => xt(r.error, m.value, u["aria-describedby"])), g = C(() => dn(i.value, l.value)), _ = C(() => xt(g.value.mismatch ? o.value.mismatch : void 0, `${m.value}-confirm`));
2487
2411
  J(() => g.value.shown, (e) => {
2488
2412
  e || (l.value = "");
2489
2413
  }), J(() => r.confirm && g.value.confirmed, (e) => a("confirmedChange", e), { immediate: !0 });
@@ -2636,19 +2560,19 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2636
2560
  setup(e) {
2637
2561
  let t = e, n = U(null), r = z(!1), i;
2638
2562
  De(() => clearTimeout(i));
2639
- let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? Lt(t.lang, t.pairedWith) : null), s = C(() => ({
2563
+ let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? Vt(t.lang, t.pairedWith) : null), s = C(() => ({
2640
2564
  cancel: t.text.cancel,
2641
2565
  close: t.text.close
2642
2566
  })), c = C(() => t.state.busy !== null), l;
2643
2567
  De(() => l?.()), J(() => t.state.refusal, (e) => {
2644
2568
  let t = e && n.value?.card?.querySelector(`[data-fortress="${e.button}"]`);
2645
- t && (l = Bn(t));
2569
+ t && (l = Wn(t));
2646
2570
  }), J(() => a.value.kind === "join" ? a.value.focus : -1, async (e) => {
2647
2571
  await Ee(), e >= 0 && n.value?.card?.querySelector(`[data-word="${e}"]`)?.focus();
2648
2572
  }), J(() => a.value.kind, async () => {
2649
2573
  await Ee();
2650
2574
  let e = n.value?.card;
2651
- e && fr(e)?.focus();
2575
+ e && _r(e)?.focus();
2652
2576
  });
2653
2577
  function u(e, t, n, r, i = !1) {
2654
2578
  return {
@@ -2665,7 +2589,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2665
2589
  label: t.text.copy,
2666
2590
  labelKey: t.keys.copy,
2667
2591
  attrs: { "data-fortress": "copy" },
2668
- onClick: () => (dt(e.join(" ")).then((e) => {
2592
+ onClick: () => (mt(e.join(" ")).then((e) => {
2669
2593
  r.value = e, clearTimeout(i), i = setTimeout(() => r.value = !1, Ue);
2670
2594
  }), !1)
2671
2595
  };
@@ -2673,7 +2597,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2673
2597
  let f = C(() => {
2674
2598
  let e = a.value;
2675
2599
  if (e.kind !== "phrase" && e.kind !== "changed") return null;
2676
- let n = Cn(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2600
+ let n = On(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2677
2601
  return {
2678
2602
  ...n,
2679
2603
  side: n.size + 8
@@ -2689,7 +2613,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2689
2613
  case "join": return {
2690
2614
  title: e.joinTitle,
2691
2615
  size: "wide",
2692
- actions: [u("join", r.join, e.join, i.join, !cn(n.words))]
2616
+ actions: [u("join", r.join, e.join, i.join, !pn(n.words))]
2693
2617
  };
2694
2618
  case "joined": return {
2695
2619
  title: e.joinTitle,
@@ -2833,7 +2757,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2833
2757
  }, null, 8, gs)], 8, ms)) : T("", !0),
2834
2758
  D("p", _s, W(e.text.scanHint), 1)
2835
2759
  ]),
2836
- a.value.kind === "changed" && a.value.left.length ? (R(), E("p", vs, W(G(Z)(e.text.changedLeft, { devices: G(Lt)(e.lang, a.value.left) })), 1)) : T("", !0)
2760
+ a.value.kind === "changed" && a.value.left.length ? (R(), E("p", vs, W(G(Z)(e.text.changedLeft, { devices: G(Vt)(e.lang, a.value.left) })), 1)) : T("", !0)
2837
2761
  ])) : T("", !0)]),
2838
2762
  _: 1
2839
2763
  }, 8, [
@@ -2900,10 +2824,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2900
2824
  },
2901
2825
  emits: ["update:showOthers"],
2902
2826
  setup(e, { emit: t }) {
2903
- let n = e, r = t, i = pt(() => ({
2827
+ let n = e, r = t, i = gt(() => ({
2904
2828
  ...n,
2905
2829
  failed: n.text.failed,
2906
- joinRefusal: (e) => Nt(n.text, e)
2830
+ joinRefusal: (e) => Lt(n.text, e)
2907
2831
  })), a = U(i.state()), o = i.subscribe(() => a.value = i.state());
2908
2832
  I(o);
2909
2833
  let s = C(() => ({
@@ -2916,11 +2840,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2916
2840
  unlock: "unlock",
2917
2841
  copy: "copy",
2918
2842
  ...n.labelKeys
2919
- })), c = z(Xn()), l = C(() => n.showOthers ?? c.value);
2843
+ })), c = z(er()), l = C(() => n.showOthers ?? c.value);
2920
2844
  function u(e) {
2921
- r("update:showOthers", e), n.showOthers === void 0 && (Yn(e), c.value = e);
2845
+ r("update:showOthers", e), n.showOthers === void 0 && ($n(e), c.value = e);
2922
2846
  }
2923
- let d = C(() => Z(n.text.removedNote, { devices: Lt(n.lang, n.removed) })), p = C(() => rn(n.text, n.lang, n.apps));
2847
+ let d = C(() => Z(n.text.removedNote, { devices: Vt(n.lang, n.removed) })), p = C(() => ln(n.text, n.lang, n.apps));
2924
2848
  return (t, n) => (R(), E("div", bs, [
2925
2849
  D("div", xs, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Ss, [
2926
2850
  D("h3", Cs, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
@@ -2937,7 +2861,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
2937
2861
  e.joined && !e.hideSwitch ? (R(), E("div", {
2938
2862
  key: 0,
2939
2863
  class: "glim-card glim-fortress-switch glim-hue",
2940
- style: F(G(kt)(e.hueStart))
2864
+ style: F(G(Nt)(e.hueStart))
2941
2865
  }, [D("span", Ds, [D("span", Os, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", ks, W(p.value), 1)]), A(So, {
2942
2866
  "model-value": l.value,
2943
2867
  label: e.text.showOthers,
@@ -3059,7 +2983,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3059
2983
  hueIndex: {}
3060
2984
  },
3061
2985
  setup(e) {
3062
- let t = e, n = pt(() => ({
2986
+ let t = e, n = gt(() => ({
3063
2987
  ...t,
3064
2988
  failed: t.text.failed
3065
2989
  })), r = U(n.state()), i = n.subscribe(() => r.value = n.state());
@@ -3075,7 +2999,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3075
2999
  copy: "copy",
3076
3000
  ...t.labelKeys
3077
3001
  }));
3078
- return (t, i) => (R(), w(_r, {
3002
+ return (t, i) => (R(), w(Cr, {
3079
3003
  "data-glim": "FortressPairing",
3080
3004
  title: e.text.pairing,
3081
3005
  "hue-index": e.hueIndex
@@ -3168,7 +3092,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3168
3092
  valueText: {}
3169
3093
  },
3170
3094
  setup(e) {
3171
- let t = e, n = C(() => Sn(t.value, {
3095
+ let t = e, n = C(() => Dn(t.value, {
3172
3096
  paused: t.paused,
3173
3097
  failed: t.failed
3174
3098
  }));
@@ -3239,7 +3163,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3239
3163
  onClose: { type: Function }
3240
3164
  },
3241
3165
  setup(t) {
3242
- let n = t, r = C(() => Jn({
3166
+ let n = t, r = C(() => Qn({
3243
3167
  app: n.app,
3244
3168
  instance: n.instance,
3245
3169
  report: n.report,
@@ -3341,7 +3265,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3341
3265
  inheritAttrs: !1,
3342
3266
  __name: "GlyphField",
3343
3267
  props: /*@__PURE__*/ M({
3344
- glyph: {},
3268
+ glyph: { type: [Object, Function] },
3345
3269
  label: {},
3346
3270
  mono: { type: Boolean },
3347
3271
  width: {}
@@ -3351,7 +3275,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3351
3275
  }),
3352
3276
  emits: ["update:modelValue"],
3353
3277
  setup(e, { expose: t }) {
3354
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => vt(n.width)), o = U(null);
3278
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => St(n.width)), o = U(null);
3355
3279
  return t({ input: o }), (t, n) => (R(), E("label", {
3356
3280
  "data-glim": "GlyphField",
3357
3281
  class: P([
@@ -3381,7 +3305,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3381
3305
  }), uc = /* @__PURE__ */ j({
3382
3306
  __name: "GlyphTile",
3383
3307
  props: {
3384
- glyph: {},
3308
+ glyph: { type: [Object, Function] },
3385
3309
  quiet: { type: Boolean },
3386
3310
  ground: { type: Boolean },
3387
3311
  active: { type: Boolean }
@@ -3397,17 +3321,274 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3397
3321
  "aria-hidden": "true"
3398
3322
  }, [(R(), w(H(e.glyph)))], 2));
3399
3323
  }
3400
- }), dc = [
3324
+ }), dc = { class: "glim-version-rows" }, fc = { class: "glim-version-name" }, pc = { class: "glim-version-part" }, mc = ["data-tone"], hc = ["href", "onClick"], gc = {
3325
+ key: 3,
3326
+ class: "glim-num glim-version-number"
3327
+ }, _c = {
3328
+ key: 1,
3329
+ class: "glim-version-actions"
3330
+ }, vc = /* @__PURE__ */ j({
3331
+ __name: "InfoComponentsCard",
3332
+ props: /*@__PURE__*/ M({
3333
+ text: {},
3334
+ name: {},
3335
+ rows: {},
3336
+ onUpdate: {},
3337
+ updating: {
3338
+ type: Boolean,
3339
+ default: !1
3340
+ },
3341
+ openUrl: {
3342
+ type: Function,
3343
+ default: an
3344
+ },
3345
+ hueIndex: {}
3346
+ }, {
3347
+ autoUpdate: {
3348
+ type: Boolean,
3349
+ default: void 0
3350
+ },
3351
+ autoUpdateModifiers: {}
3352
+ }),
3353
+ emits: ["update:autoUpdate"],
3354
+ setup(e) {
3355
+ let t = e, n = q(e, "autoUpdate"), r = C(() => lt([...t.rows, vt(t.text)]).map((e) => ({
3356
+ row: e,
3357
+ link: tn(e)
3358
+ })));
3359
+ function i(e, n) {
3360
+ e.preventDefault(), t.openUrl(n);
3361
+ }
3362
+ return (t, a) => (R(), w(Cr, {
3363
+ "data-glim": "InfoComponentsCard",
3364
+ title: e.text.title,
3365
+ hint: G(yr)(e.text.hint, e.name),
3366
+ "hue-index": e.hueIndex
3367
+ }, {
3368
+ default: Y(() => [
3369
+ D("ul", dc, [(R(!0), E(S, null, B(r.value, ({ row: t, link: n }) => (R(), E("li", {
3370
+ key: t.name,
3371
+ class: "glim-version-row"
3372
+ }, [
3373
+ D("span", fc, [D("span", pc, W(t.name), 1), t.hint ? (R(), w(Q, {
3374
+ key: 0,
3375
+ tip: t.hint
3376
+ }, null, 8, ["tip"])) : T("", !0)]),
3377
+ t.status ? (R(), E("span", {
3378
+ key: 0,
3379
+ class: "glim-version-status",
3380
+ "data-tone": t.tone
3381
+ }, W(t.status), 9, mc)) : T("", !0),
3382
+ t.action ? (R(), w(f, {
3383
+ key: 1,
3384
+ label: t.action.label,
3385
+ "label-key": t.action.labelKey,
3386
+ onClick: (e) => t.action.onClick()
3387
+ }, null, 8, [
3388
+ "label",
3389
+ "label-key",
3390
+ "onClick"
3391
+ ])) : T("", !0),
3392
+ n.href ? (R(), E("a", {
3393
+ key: 2,
3394
+ href: n.href,
3395
+ target: "_blank",
3396
+ rel: "noopener noreferrer",
3397
+ class: "glim-num glim-version-number",
3398
+ onClick: (e) => i(e, n.href)
3399
+ }, W(n.shown), 9, hc)) : (R(), E("span", gc, W(n.released ? n.shown : e.text.unreleased(n.shown)), 1))
3400
+ ]))), 128))]),
3401
+ n.value === void 0 ? T("", !0) : (R(), w(Ea, {
3402
+ key: 0,
3403
+ label: e.text.auto,
3404
+ hint: G(yr)(e.text.autoHint, e.name)
3405
+ }, {
3406
+ default: Y(() => [A(So, {
3407
+ modelValue: n.value,
3408
+ "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
3409
+ label: e.text.auto,
3410
+ "hide-label": ""
3411
+ }, null, 8, ["modelValue", "label"])]),
3412
+ _: 1
3413
+ }, 8, ["label", "hint"])),
3414
+ e.onUpdate ? (R(), E("div", _c, [A(f, {
3415
+ label: e.text.update,
3416
+ "label-key": "components.update",
3417
+ busy: e.updating,
3418
+ onClick: a[1] ||= (t) => e.onUpdate()
3419
+ }, null, 8, ["label", "busy"])])) : T("", !0)
3420
+ ]),
3421
+ _: 1
3422
+ }, 8, [
3423
+ "title",
3424
+ "hint",
3425
+ "hue-index"
3426
+ ]));
3427
+ }
3428
+ }), yc = { class: "glim-version-head" }, bc = { class: "glim-version-app" }, xc = ["href"], Sc = {
3429
+ key: 1,
3430
+ class: "glim-num glim-version-number"
3431
+ }, Cc = ["aria-label", "aria-valuenow"], wc = { class: "glim-version-foot" }, Tc = ["data-tone"], Ec = { class: "glim-version-line" }, Dc = {
3432
+ key: 0,
3433
+ class: "glim-version-note"
3434
+ }, Oc = { class: "glim-version-actions" }, kc = ["data-unseen"], Ac = /* @__PURE__ */ j({
3435
+ __name: "InfoVersionCard",
3436
+ props: /*@__PURE__*/ M({
3437
+ text: {},
3438
+ name: {},
3439
+ version: {},
3440
+ repoUrl: {},
3441
+ route: {},
3442
+ state: {},
3443
+ onCheck: {},
3444
+ onUpdate: {},
3445
+ onRestart: {},
3446
+ guideUrl: {},
3447
+ onWhatsNew: {},
3448
+ unseen: { default: 0 },
3449
+ openUrl: {
3450
+ type: Function,
3451
+ default: an
3452
+ },
3453
+ hueIndex: {}
3454
+ }, {
3455
+ autoUpdate: {
3456
+ type: Boolean,
3457
+ default: void 0
3458
+ },
3459
+ autoUpdateModifiers: {}
3460
+ }),
3461
+ emits: ["update:autoUpdate"],
3462
+ setup(e) {
3463
+ let t = e, n = q(e, "autoUpdate"), r = C(() => fr(t.state, t.text)), i = C(() => dr(t.route, t.state, t.text)), a = C(() => rt(t.route, t.text)), o = C(() => tn({
3464
+ name: t.name,
3465
+ version: t.version,
3466
+ repoUrl: t.repoUrl
3467
+ })), s = C(() => it(t.route, t.state));
3468
+ function c() {
3469
+ i.value?.kind === "restart" ? t.onRestart?.() : i.value?.kind === "guide" ? t.guideUrl && t.openUrl(t.guideUrl) : t.onUpdate?.();
3470
+ }
3471
+ function l(e, n) {
3472
+ e.preventDefault(), t.openUrl(n);
3473
+ }
3474
+ return (t, u) => (R(), w(Cr, {
3475
+ "data-glim": "InfoVersionCard",
3476
+ title: e.text.title,
3477
+ hint: G(yr)(e.text.hint, e.name),
3478
+ "hue-index": e.hueIndex
3479
+ }, {
3480
+ default: Y(() => [
3481
+ D("div", yc, [D("span", bc, W(e.name), 1), o.value.href ? (R(), E("a", {
3482
+ key: 0,
3483
+ href: o.value.href,
3484
+ target: "_blank",
3485
+ rel: "noopener noreferrer",
3486
+ class: "glim-num glim-version-number",
3487
+ onClick: u[0] ||= (e) => l(e, o.value.href)
3488
+ }, W(o.value.shown), 9, xc)) : (R(), E("span", Sc, W(o.value.released ? o.value.shown : e.text.unreleased(o.value.shown)), 1))]),
3489
+ a.value && n.value !== void 0 ? (R(), w(Ea, {
3490
+ key: 0,
3491
+ label: a.value.label,
3492
+ hint: G(yr)(a.value.hint, e.name)
3493
+ }, {
3494
+ default: Y(() => [A(So, {
3495
+ modelValue: n.value,
3496
+ "onUpdate:modelValue": u[1] ||= (e) => n.value = e,
3497
+ label: a.value.label,
3498
+ "hide-label": ""
3499
+ }, null, 8, ["modelValue", "label"])]),
3500
+ _: 1
3501
+ }, 8, ["label", "hint"])) : T("", !0),
3502
+ e.state.kind === "downloading" ? (R(), E("div", {
3503
+ key: 1,
3504
+ class: "glim-version-progress",
3505
+ role: "progressbar",
3506
+ "aria-label": r.value.line,
3507
+ "aria-valuemin": 0,
3508
+ "aria-valuemax": 100,
3509
+ "aria-valuenow": e.state.percent
3510
+ }, [D("span", { style: F({ width: `${e.state.percent}%` }) }, null, 4)], 8, Cc)) : T("", !0),
3511
+ D("div", wc, [D("p", {
3512
+ class: "glim-version-state",
3513
+ "data-tone": r.value.tone,
3514
+ role: "status"
3515
+ }, [D("span", Ec, W(r.value.line), 1), r.value.note ? (R(), E("span", Dc, W(r.value.note), 1)) : T("", !0)], 8, Tc), D("div", Oc, [
3516
+ A(f, {
3517
+ label: G(gr)(e.text, e.unseen),
3518
+ "label-key": "version.whatsNew",
3519
+ onClick: u[2] ||= (t) => e.onWhatsNew()
3520
+ }, {
3521
+ before: Y(() => [D("span", {
3522
+ class: "glim-version-dot",
3523
+ "data-unseen": e.unseen > 0 ? "" : void 0,
3524
+ "aria-hidden": "true"
3525
+ }, null, 8, kc)]),
3526
+ _: 1
3527
+ }, 8, ["label"]),
3528
+ s.value && e.onCheck ? (R(), w(f, {
3529
+ key: 0,
3530
+ label: e.text.check,
3531
+ "label-key": "version.check",
3532
+ busy: s.value.busy,
3533
+ disabled: s.value.busy,
3534
+ onClick: u[3] ||= (t) => e.onCheck()
3535
+ }, null, 8, [
3536
+ "label",
3537
+ "busy",
3538
+ "disabled"
3539
+ ])) : T("", !0),
3540
+ i.value ? (R(), w(f, {
3541
+ key: 1,
3542
+ label: i.value.label,
3543
+ "label-key": i.value.labelKey,
3544
+ tone: i.value.kind === "guide" ? "neutral" : "accent",
3545
+ onClick: c
3546
+ }, null, 8, [
3547
+ "label",
3548
+ "label-key",
3549
+ "tone"
3550
+ ])) : T("", !0)
3551
+ ])])
3552
+ ]),
3553
+ _: 1
3554
+ }, 8, [
3555
+ "title",
3556
+ "hint",
3557
+ "hue-index"
3558
+ ]));
3559
+ }
3560
+ }), jc = {
3561
+ "data-glim": "InfoTile",
3562
+ style: { display: "contents" }
3563
+ }, Mc = /* @__PURE__ */ j({
3564
+ __name: "InfoTile",
3565
+ props: {
3566
+ version: {},
3567
+ components: {},
3568
+ help: {},
3569
+ about: {},
3570
+ hueIndex: {}
3571
+ },
3572
+ setup(e) {
3573
+ let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
3574
+ return (t, r) => (R(), E("div", jc, [
3575
+ A(Ac, N(e.version, { "hue-index": n(0) }), null, 16, ["hue-index"]),
3576
+ A(vc, N(e.components, { "hue-index": n(1) }), null, 16, ["hue-index"]),
3577
+ A(Ir, N(e.help, { "hue-index": n(2) }), null, 16, ["hue-index"]),
3578
+ A(Nr, N(e.about, { "hue-index": n(3) }), null, 16, ["hue-index"])
3579
+ ]));
3580
+ }
3581
+ }), Nc = [
3401
3582
  "aria-label",
3402
3583
  "tabindex",
3403
3584
  "onKeydown"
3404
- ], fc = {
3585
+ ], Pc = {
3405
3586
  key: 0,
3406
3587
  class: "glim-list-row-tile"
3407
- }, pc = { class: "glim-list-row-title" }, mc = {
3588
+ }, Fc = { class: "glim-list-row-title" }, Ic = {
3408
3589
  key: 1,
3409
3590
  class: "glim-list-row-badges"
3410
- }, hc = /* @__PURE__ */ j({
3591
+ }, Lc = /* @__PURE__ */ j({
3411
3592
  __name: "ListRow",
3412
3593
  props: {
3413
3594
  name: {},
@@ -3427,21 +3608,21 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3427
3608
  class: P(["glim-list-row", { "glim-list-row--opens": r.value }]),
3428
3609
  onKeydown: [Be(X(a, ["self"]), ["enter"]), Be(X(a, ["self"]), ["space"])]
3429
3610
  }, [
3430
- t.$slots.tile ? (R(), E("span", fc, [V(t.$slots, "tile")])) : T("", !0),
3431
- D("span", { class: P(i.value) }, [D("span", pc, W(e.name), 1), e.tip ? (R(), E("span", {
3611
+ t.$slots.tile ? (R(), E("span", Pc, [V(t.$slots, "tile")])) : T("", !0),
3612
+ D("span", { class: P(i.value) }, [D("span", Fc, W(e.name), 1), e.tip ? (R(), E("span", {
3432
3613
  key: 0,
3433
3614
  class: "glim-list-row-tip",
3434
3615
  onClick: n[0] ||= X(() => {}, ["stop"])
3435
3616
  }, [A(Q, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2),
3436
- t.$slots.badges ? (R(), E("span", mc, [V(t.$slots, "badges")])) : T("", !0),
3617
+ t.$slots.badges ? (R(), E("span", Ic, [V(t.$slots, "badges")])) : T("", !0),
3437
3618
  t.$slots.actions ? (R(), E("span", {
3438
3619
  key: 2,
3439
3620
  class: "glim-list-row-actions",
3440
3621
  onClick: n[1] ||= X(() => {}, ["stop"])
3441
3622
  }, [V(t.$slots, "actions")])) : T("", !0)
3442
- ], 42, dc));
3623
+ ], 42, Nc));
3443
3624
  }
3444
- }), gc = ["aria-label"], _c = /* @__PURE__ */ j({
3625
+ }), Rc = ["aria-label"], zc = /* @__PURE__ */ j({
3445
3626
  __name: "Popover",
3446
3627
  props: {
3447
3628
  open: { type: Boolean },
@@ -3456,7 +3637,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3456
3637
  () => n.anchor,
3457
3638
  i
3458
3639
  ], ([e, t, n]) => {
3459
- o?.(), o = void 0, e && t && n && (o = tn(n, t, a, () => r("close")));
3640
+ o?.(), o = void 0, e && t && n && (o = sn(n, t, a, () => r("close")));
3460
3641
  }, { flush: "post" }), I(() => o?.()), (t, n) => e.open ? (R(), E("div", {
3461
3642
  key: 0,
3462
3643
  "data-glim": "Popover",
@@ -3466,24 +3647,24 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3466
3647
  role: "dialog",
3467
3648
  "aria-label": e.label,
3468
3649
  class: "glim-popover"
3469
- }, [V(t.$slots, "default")], 8, gc)) : T("", !0);
3650
+ }, [V(t.$slots, "default")], 8, Rc)) : T("", !0);
3470
3651
  }
3471
- }), vc = {
3652
+ }), Bc = {
3472
3653
  "data-glim": "ListTable",
3473
3654
  class: "glim-list"
3474
- }, yc = ["aria-label", "onKeydown"], bc = ["aria-label", "aria-describedby"], xc = ["aria-sort"], Sc = { class: "glim-list-th-box" }, Cc = ["onClick"], wc = [
3655
+ }, Vc = ["aria-label", "onKeydown"], Hc = ["aria-label", "aria-describedby"], Uc = ["aria-sort"], Wc = { class: "glim-list-th-box" }, Gc = ["onClick"], Kc = [
3475
3656
  "aria-label",
3476
3657
  "aria-expanded",
3477
3658
  "aria-pressed",
3478
3659
  "onClick"
3479
- ], Tc = [
3660
+ ], qc = [
3480
3661
  "aria-selected",
3481
3662
  "onClick",
3482
3663
  "onDblclick"
3483
- ], Ec = ["tabindex"], Dc = {
3664
+ ], Jc = ["tabindex"], Yc = {
3484
3665
  key: 1,
3485
3666
  class: "glim-list-empty"
3486
- }, Oc = ["id"], kc = { class: "glim-list-filter-values" }, Ac = /* @__PURE__ */ j({
3667
+ }, Xc = ["id"], Zc = { class: "glim-list-filter-values" }, Qc = /* @__PURE__ */ j({
3487
3668
  __name: "ListTable",
3488
3669
  props: {
3489
3670
  label: {},
@@ -3499,7 +3680,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3499
3680
  keys: [],
3500
3681
  anchor: null,
3501
3682
  focus: null
3502
- }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => Rt(n.rows, {
3683
+ }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => Ht(n.rows, {
3503
3684
  sort: i.value,
3504
3685
  filters: a.value,
3505
3686
  query: o.value ?? "",
@@ -3524,14 +3705,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3524
3705
  }, r("select", e.selected.map((e) => f.value[e])), g();
3525
3706
  }
3526
3707
  function v(e) {
3527
- let t = It(h.value, e.key, {
3708
+ let t = Bt(h.value, e.key, {
3528
3709
  toggle: e.ctrlKey || e.metaKey,
3529
3710
  range: e.shiftKey
3530
3711
  }, f.value.length);
3531
3712
  t && !e.altKey && (e.preventDefault(), "open" in t ? r("open", f.value[t.open]) : "search" in t ? (o.value = (o.value ?? "") + t.search, Ee(() => u.value?.focus())) : _(t.select));
3532
3713
  }
3533
3714
  function ee(e, t) {
3534
- _(Pn(h.value, t, {
3715
+ _(Rn(h.value, t, {
3535
3716
  toggle: e.ctrlKey || e.metaKey,
3536
3717
  range: e.shiftKey
3537
3718
  }));
@@ -3554,7 +3735,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3554
3735
  };
3555
3736
  }
3556
3737
  let ie = (e, t) => String(e[t] ?? "");
3557
- return (t, n) => (R(), E("div", vc, [
3738
+ return (t, n) => (R(), E("div", Bc, [
3558
3739
  o.value === null ? T("", !0) : ze((R(), E("input", {
3559
3740
  key: 0,
3560
3741
  ref_key: "searchField",
@@ -3564,7 +3745,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3564
3745
  type: "search",
3565
3746
  "aria-label": e.text.search,
3566
3747
  onKeydown: Be(X(te, ["prevent", "stop"]), ["esc"])
3567
- }, null, 40, yc)), [[Ie, o.value]]),
3748
+ }, null, 40, Vc)), [[Ie, o.value]]),
3568
3749
  D("table", {
3569
3750
  ref_key: "grid",
3570
3751
  ref: l,
@@ -3578,15 +3759,15 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3578
3759
  scope: "col",
3579
3760
  "aria-sort": G(tt)(i.value, t.key),
3580
3761
  class: P(t.end ? "glim-list-th glim-table-end" : "glim-list-th")
3581
- }, [D("span", Sc, [D("button", {
3762
+ }, [D("span", Wc, [D("button", {
3582
3763
  type: "button",
3583
3764
  class: "glim-list-sort",
3584
- onClick: (e) => i.value = G(Yt)(i.value, t.key)
3765
+ onClick: (e) => i.value = G($t)(i.value, t.key)
3585
3766
  }, [k(W(t.label) + " ", 1), i.value?.key === t.key ? (R(), w(G(p), {
3586
3767
  key: 0,
3587
3768
  mark: G(qe).expand,
3588
3769
  class: P(`glim-list-sort-mark glim-list-sort-mark--${i.value.dir}`)
3589
- }, null, 8, ["mark", "class"])) : T("", !0)], 8, Cc), t.filter ? (R(), E("button", {
3770
+ }, null, 8, ["mark", "class"])) : T("", !0)], 8, Gc), t.filter ? (R(), E("button", {
3590
3771
  key: 0,
3591
3772
  type: "button",
3592
3773
  "aria-label": e.text.filterOf(t.label),
@@ -3595,7 +3776,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3595
3776
  "aria-pressed": ne(t.key).length > 0,
3596
3777
  class: "glim-list-filter",
3597
3778
  onClick: (e) => b(t.key, e.currentTarget)
3598
- }, [A(G(p), { mark: G(qe).expand }, null, 8, ["mark"])], 8, wc)) : T("", !0)])], 10, xc))), 128))])]), D("tbody", { onKeydown: v }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3779
+ }, [A(G(p), { mark: G(qe).expand }, null, 8, ["mark"])], 8, Kc)) : T("", !0)])], 10, Uc))), 128))])]), D("tbody", { onKeydown: v }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3599
3780
  key: m.value[i],
3600
3781
  "aria-selected": h.value.selected.includes(i),
3601
3782
  class: "glim-list-tr",
@@ -3604,24 +3785,24 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3604
3785
  }, [(R(!0), E(S, null, B(e.columns, (e, r) => (R(), E("td", {
3605
3786
  key: e.key,
3606
3787
  tabindex: r === 0 ? i === h.value.focus ? 0 : -1 : void 0,
3607
- class: P(G($n)(e) || void 0)
3788
+ class: P(G(rr)(e) || void 0)
3608
3789
  }, [V(t.$slots, "cell", {
3609
3790
  row: n,
3610
3791
  column: e
3611
- }, () => [k(W(ie(n, e.key)), 1)])], 10, Ec))), 128))], 40, Tc))), 128))], 32)], 8, bc),
3612
- f.value.length === 0 ? (R(), E("p", Dc, W(e.text.noMatch), 1)) : T("", !0),
3792
+ }, () => [k(W(ie(n, e.key)), 1)])], 10, Jc))), 128))], 40, qc))), 128))], 32)], 8, Hc),
3793
+ f.value.length === 0 ? (R(), E("p", Yc, W(e.text.noMatch), 1)) : T("", !0),
3613
3794
  D("p", {
3614
3795
  id: G(d),
3615
3796
  class: "glim-list-hint"
3616
- }, W(e.text.hint), 9, Oc),
3617
- y.value ? (R(), w(_c, {
3797
+ }, W(e.text.hint), 9, Xc),
3798
+ y.value ? (R(), w(zc, {
3618
3799
  key: 2,
3619
3800
  open: !0,
3620
3801
  anchor: c.value.at,
3621
3802
  label: e.text.filterOf(y.value.label),
3622
3803
  onClose: n[1] ||= (e) => c.value = null
3623
3804
  }, {
3624
- default: Y(() => [D("div", kc, [(R(!0), E(S, null, B(G(ot)(e.rows, y.value.key), (e) => (R(), w(Zr, {
3805
+ default: Y(() => [D("div", Zc, [(R(!0), E(S, null, B(G(ct)(e.rows, y.value.key), (e) => (R(), w(Qr, {
3625
3806
  key: e,
3626
3807
  label: e,
3627
3808
  "model-value": ne(y.value.key).includes(e),
@@ -3635,14 +3816,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3635
3816
  }, 8, ["anchor", "label"])) : T("", !0)
3636
3817
  ]));
3637
3818
  }
3638
- }), jc = ["aria-label"], Mc = [
3819
+ }), $c = ["aria-label"], el = [
3639
3820
  "aria-expanded",
3640
3821
  "tabindex",
3641
3822
  "onClick",
3642
3823
  "onMouseenter",
3643
3824
  "onKeydown",
3644
3825
  "onFocus"
3645
- ], Nc = /* @__PURE__ */ j({
3826
+ ], tl = /* @__PURE__ */ j({
3646
3827
  __name: "MenuBar",
3647
3828
  props: {
3648
3829
  label: {},
@@ -3696,7 +3877,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3696
3877
  onMouseenter: (e) => i.value && i.value.at !== t && o(t),
3697
3878
  onKeydown: (e) => l(e, t),
3698
3879
  onFocus: (e) => a.value = t
3699
- }, W(e.label), 41, Mc))), 128)), i.value && e.menus[i.value.at] ? (R(), w(qi, {
3880
+ }, W(e.label), 41, el))), 128)), i.value && e.menus[i.value.at] ? (R(), w(qi, {
3700
3881
  key: i.value.at,
3701
3882
  x: i.value.x,
3702
3883
  y: i.value.y,
@@ -3715,9 +3896,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3715
3896
  "id",
3716
3897
  "opener",
3717
3898
  "from-end"
3718
- ])) : T("", !0)], 8, jc));
3899
+ ])) : T("", !0)], 8, $c));
3719
3900
  }
3720
- }), Pc = [
3901
+ }), nl = [
3721
3902
  "role",
3722
3903
  "aria-label",
3723
3904
  "aria-valuemin",
@@ -3725,7 +3906,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3725
3906
  "aria-valuenow",
3726
3907
  "aria-valuetext",
3727
3908
  "aria-busy"
3728
- ], Fc = /* @__PURE__ */ j({
3909
+ ], rl = /* @__PURE__ */ j({
3729
3910
  inheritAttrs: !1,
3730
3911
  __name: "Meter",
3731
3912
  props: {
@@ -3740,7 +3921,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3740
3921
  valueText: {}
3741
3922
  },
3742
3923
  setup(e) {
3743
- let r = e, i = C(() => qt(r.value, {
3924
+ let r = e, i = C(() => Zt(r.value, {
3744
3925
  size: r.size,
3745
3926
  threshold: r.threshold,
3746
3927
  quiet: r.quiet
@@ -3760,16 +3941,16 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3760
3941
  }), [D("span", {
3761
3942
  class: "glim-meter-fill",
3762
3943
  style: F(i.value.width ? { width: i.value.width } : void 0)
3763
- }, null, 4)], 16, Pc), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3944
+ }, null, 4)], 16, nl), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3764
3945
  }
3765
- }), Ic = {
3946
+ }), il = {
3766
3947
  "data-glim": "NumberField",
3767
3948
  class: "glim-num-wrap"
3768
- }, Lc = [
3949
+ }, al = [
3769
3950
  "aria-label",
3770
3951
  "aria-invalid",
3771
3952
  "aria-describedby"
3772
- ], Rc = /* @__PURE__ */ j({
3953
+ ], ol = /* @__PURE__ */ j({
3773
3954
  inheritAttrs: !1,
3774
3955
  __name: "NumberField",
3775
3956
  props: /*@__PURE__*/ M({ error: {} }, {
@@ -3778,7 +3959,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3778
3959
  }),
3779
3960
  emits: ["update:modelValue"],
3780
3961
  setup(e) {
3781
- let t = e, n = q(e, "modelValue"), r = Ne(), i = x(() => r["aria-label"]), a = K(), o = C(() => _t(t.error, r.id ?? a, r["aria-describedby"])), s = U(null), c;
3962
+ let t = e, n = q(e, "modelValue"), r = Ne(), i = x(() => r["aria-label"]), a = K(), o = C(() => xt(t.error, r.id ?? a, r["aria-describedby"])), s = U(null), c;
3782
3963
  L(() => {
3783
3964
  l(n.value), c = nt(s.value);
3784
3965
  }), I(() => c?.());
@@ -3794,13 +3975,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3794
3975
  () => r.disabled,
3795
3976
  () => r.readonly
3796
3977
  ], () => {
3797
- l(n.value), s.value && Qn(s.value);
3978
+ l(n.value), s.value && nr(s.value);
3798
3979
  }, { flush: "post" });
3799
3980
  function u(e) {
3800
3981
  let t = e.target;
3801
3982
  n.value = t.value === "" ? null : t.valueAsNumber;
3802
3983
  }
3803
- return (t, n) => (R(), E(S, null, [D("span", Ic, [D("input", N(t.$attrs, {
3984
+ return (t, n) => (R(), E(S, null, [D("span", il, [D("input", N(t.$attrs, {
3804
3985
  ref_key: "input",
3805
3986
  ref: s,
3806
3987
  "aria-label": G(i),
@@ -3809,7 +3990,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3809
3990
  type: "number",
3810
3991
  class: "glim-num-input glim-num-field glim-num",
3811
3992
  onInput: u
3812
- }), null, 16, Lc)]), o.value.errorId ? (R(), w(Sa, {
3993
+ }), null, 16, al)]), o.value.errorId ? (R(), w(Sa, {
3813
3994
  key: 0,
3814
3995
  id: o.value.errorId
3815
3996
  }, {
@@ -3817,7 +3998,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3817
3998
  _: 1
3818
3999
  }, 8, ["id"])) : T("", !0)], 64));
3819
4000
  }
3820
- }), zc = ["aria-label", "disabled"], Bc = /* @__PURE__ */ j({
4001
+ }), sl = ["aria-label", "disabled"], cl = /* @__PURE__ */ j({
3821
4002
  inheritAttrs: !1,
3822
4003
  __name: "PathField",
3823
4004
  props: /*@__PURE__*/ M({
@@ -3852,7 +4033,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3852
4033
  "data-glim": "PathField",
3853
4034
  class: P([
3854
4035
  "glim-path",
3855
- G(vt)(e.width),
4036
+ G(St)(e.width),
3856
4037
  t.$attrs.class
3857
4038
  ]),
3858
4039
  style: F(t.$attrs.style)
@@ -3871,7 +4052,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3871
4052
  }, {
3872
4053
  disabled: e.disabled,
3873
4054
  class: "glim-input glim-input--mono"
3874
- }), null, 16, zc), [[Ie, i.value]]), A(f, N(e.buttonAttrs, {
4055
+ }), null, 16, sl), [[Ie, i.value]]), A(f, N(e.buttonAttrs, {
3875
4056
  variant: "icon",
3876
4057
  label: e.text.pick,
3877
4058
  "label-key": null,
@@ -3886,27 +4067,27 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3886
4067
  "disabled"
3887
4068
  ])], 6));
3888
4069
  }
3889
- }), Vc = ["data-glim-title"], Hc = { class: "glim-modal-head" }, Uc = {
4070
+ }), ll = ["data-glim-title"], ul = { class: "glim-modal-head" }, dl = {
3890
4071
  id: "paypal-window-title",
3891
4072
  class: "glim-modal-title"
3892
- }, Wc = { class: "glim-give-body glim-give-body--scroll" }, Gc = { class: "glim-give-appeal" }, Kc = { class: "glim-give-intro" }, qc = { class: "glim-give-group" }, Jc = {
4073
+ }, fl = { class: "glim-give-body glim-give-body--scroll" }, pl = { class: "glim-give-appeal" }, ml = { class: "glim-give-intro" }, hl = { class: "glim-give-group" }, gl = {
3893
4074
  id: "paypal-frequency",
3894
4075
  class: "glim-eyebrow"
3895
- }, Yc = { class: "glim-give-group" }, Xc = {
4076
+ }, _l = { class: "glim-give-group" }, vl = {
3896
4077
  id: "paypal-amount",
3897
4078
  class: "glim-eyebrow"
3898
- }, Zc = { class: "glim-give-amounts" }, Qc = [
4079
+ }, yl = { class: "glim-give-amounts" }, bl = [
3899
4080
  "value",
3900
4081
  "placeholder",
3901
4082
  "aria-label",
3902
4083
  "aria-invalid"
3903
- ], $c = { class: "glim-give-loading" }, el = {
4084
+ ], xl = { class: "glim-give-loading" }, Sl = {
3904
4085
  key: 0,
3905
4086
  class: "glim-give-status glim-give-status--ok"
3906
- }, tl = {
4087
+ }, Cl = {
3907
4088
  key: 1,
3908
4089
  class: "glim-give-status glim-give-status--fail"
3909
- }, nl = { class: "glim-give-foot" }, rl = /* @__PURE__ */ j({
4090
+ }, wl = { class: "glim-give-foot" }, Tl = /* @__PURE__ */ j({
3910
4091
  __name: "PaypalDialog",
3911
4092
  props: {
3912
4093
  text: {},
@@ -3947,7 +4128,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3947
4128
  "aria-labelledby": "paypal-window-title",
3948
4129
  class: "glim-modal-card glim-modal-card--wide"
3949
4130
  }, [
3950
- D("div", Hc, [D("h2", Uc, [A(e, {
4131
+ D("div", ul, [D("h2", dl, [A(e, {
3951
4132
  tone: "heading",
3952
4133
  size: "heading",
3953
4134
  wrap: ""
@@ -3955,10 +4136,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3955
4136
  default: Y(() => [k(W(t.text.title), 1)]),
3956
4137
  _: 1
3957
4138
  })])]),
3958
- D("div", Wc, [
3959
- D("p", Gc, W(t.text.appeal), 1),
3960
- D("p", Kc, W(t.text.intro), 1),
3961
- D("div", qc, [D("span", Jc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
4139
+ D("div", fl, [
4140
+ D("p", pl, W(t.text.appeal), 1),
4141
+ D("p", ml, W(t.text.intro), 1),
4142
+ D("div", hl, [D("span", gl, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
3962
4143
  labelledBy: "paypal-frequency",
3963
4144
  options: a.map((e) => ({
3964
4145
  value: e,
@@ -3967,7 +4148,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3967
4148
  value: t.frequency,
3968
4149
  onChange: s
3969
4150
  })]),
3970
- D("div", Yc, [D("span", Xc, W(t.text.amountLabel), 1), D("div", Zc, [D("div", null, [V(n.$slots, "selector", {
4151
+ D("div", _l, [D("span", vl, W(t.text.amountLabel), 1), D("div", yl, [D("div", null, [V(n.$slots, "selector", {
3971
4152
  labelledBy: "paypal-amount",
3972
4153
  options: t.amounts.map((e) => ({
3973
4154
  value: e,
@@ -3984,29 +4165,29 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
3984
4165
  "aria-invalid": t.typed !== "" && !t.typedValid,
3985
4166
  class: P(t.typedValid ? "glim-give-amount glim-give-amount--valid" : "glim-give-amount"),
3986
4167
  onInput: l
3987
- }, null, 42, Qc)])]),
4168
+ }, null, 42, bl)])]),
3988
4169
  D("div", {
3989
4170
  ref: t.buttonsRef,
3990
4171
  class: "glim-give-wallet"
3991
- }, [D("p", $c, W(t.text.loading), 1)], 512),
3992
- t.status === "done" ? (R(), E("p", el, W(t.text.thanks), 1)) : T("", !0),
3993
- t.status === "failed" ? (R(), E("p", tl, W(t.text.failed), 1)) : T("", !0)
4172
+ }, [D("p", xl, W(t.text.loading), 1)], 512),
4173
+ t.status === "done" ? (R(), E("p", Sl, W(t.text.thanks), 1)) : T("", !0),
4174
+ t.status === "failed" ? (R(), E("p", Cl, W(t.text.failed), 1)) : T("", !0)
3994
4175
  ]),
3995
- D("div", nl, [A(f, {
4176
+ D("div", wl, [A(f, {
3996
4177
  label: t.text.closeLabel,
3997
4178
  "label-key": "common.close",
3998
4179
  tone: "neutral",
3999
4180
  onClick: r[0] ||= (e) => i("close")
4000
4181
  }, null, 8, ["label"])])
4001
- ], 8, Vc)]));
4182
+ ], 8, ll)]));
4002
4183
  }
4003
- }), il = {
4184
+ }), El = {
4004
4185
  key: 0,
4005
4186
  class: "glim-pick-none"
4006
- }, al = {
4187
+ }, Dl = {
4007
4188
  key: 0,
4008
4189
  class: "glim-pick-eyebrow"
4009
- }, ol = { class: "glim-eyebrow" }, sl = { class: "glim-provider-pick" }, cl = /* @__PURE__ */ j({
4190
+ }, Ol = { class: "glim-eyebrow" }, kl = { class: "glim-provider-pick" }, Al = /* @__PURE__ */ j({
4010
4191
  __name: "PickerWindow",
4011
4192
  props: {
4012
4193
  title: {},
@@ -4024,11 +4205,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4024
4205
  "close"
4025
4206
  ],
4026
4207
  setup(t, { emit: n }) {
4027
- let r = t, i = n, a = Pe(), o = z(""), s = U(null), c = U(null), l = () => c.value?.input ?? null, u = hn(), d = U(null), f = () => !!a.default, p = !1;
4208
+ let r = t, i = n, a = Pe(), o = z(""), s = U(null), c = U(null), l = () => c.value?.input ?? null, u = bn(), d = U(null), f = () => !!a.default, p = !1;
4028
4209
  L(() => {
4029
- p = f(), d.value && Ot(d.value), r.selected && s.value?.card && ln(s.value.card, d.value)?.focus();
4210
+ p = f(), d.value && Mt(d.value), r.selected && s.value?.card && mn(s.value.card, d.value)?.focus();
4030
4211
  }), ke(() => {
4031
- f() !== p && (p = f(), d.value && Ot(d.value), s.value?.card && ln(s.value.card, d.value)?.focus());
4212
+ f() !== p && (p = f(), d.value && Mt(d.value), s.value?.card && mn(s.value.card, d.value)?.focus());
4032
4213
  });
4033
4214
  let m = C(() => ({
4034
4215
  label: r.text.back,
@@ -4040,14 +4221,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4040
4221
  labelKey: "common.close",
4041
4222
  glyph: _,
4042
4223
  wayOut: !0
4043
- }], g = C(() => fn(r.items, r.groups, o.value, an())), v = (e, t) => {
4224
+ }], g = C(() => _n(r.items, r.groups, o.value, un())), v = (e, t) => {
4044
4225
  t && (e.preventDefault(), e.stopPropagation());
4045
4226
  };
4046
4227
  function ee() {
4047
4228
  o.value = "", l()?.focus();
4048
4229
  }
4049
- let te = (e) => v(e, dn(e.key, o.value, d.value, () => o.value = "")), y = (e) => {
4050
- e.target !== e.currentTarget && v(e, pn(e.key, e.target, e.currentTarget, l()));
4230
+ let te = (e) => v(e, gn(e.key, o.value, d.value, () => o.value = "")), y = (e) => {
4231
+ e.target !== e.currentTarget && v(e, vn(e.key, e.target, e.currentTarget, l()));
4051
4232
  };
4052
4233
  return (n, r) => (R(), w(Fa, {
4053
4234
  ref_key: "win",
@@ -4099,11 +4280,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4099
4280
  ref: d,
4100
4281
  class: "glim-pick-scroll",
4101
4282
  onKeydown: y
4102
- }, [g.value.length === 0 ? (R(), E("p", il, W(G(Z)(t.text.none, { query: o.value.trim() })), 1)) : (R(!0), E(S, { key: 1 }, B(g.value, (n) => (R(), E("section", {
4283
+ }, [g.value.length === 0 ? (R(), E("p", El, W(G(Z)(t.text.none, { query: o.value.trim() })), 1)) : (R(!0), E(S, { key: 1 }, B(g.value, (n) => (R(), E("section", {
4103
4284
  key: n.id,
4104
4285
  class: "glim-pick-section"
4105
- }, [n.title ? (R(), E("div", al, [
4106
- D("h3", ol, W(n.title), 1),
4286
+ }, [n.title ? (R(), E("div", Dl, [
4287
+ D("h3", Ol, W(n.title), 1),
4107
4288
  n.badge ? (R(), w(e, {
4108
4289
  key: 0,
4109
4290
  size: "small",
@@ -4116,9 +4297,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4116
4297
  key: 1,
4117
4298
  tip: n.hint
4118
4299
  }, null, 8, ["tip"])) : T("", !0)
4119
- ])) : T("", !0), D("ul", sl, [(R(!0), E(S, null, B(n.items, (e) => (R(), E("li", {
4300
+ ])) : T("", !0), D("ul", kl, [(R(!0), E(S, null, B(n.items, (e) => (R(), E("li", {
4120
4301
  key: e.id,
4121
- style: F(G(mn)(e.mark))
4302
+ style: F(G(yn)(e.mark))
4122
4303
  }, [A($, {
4123
4304
  brand: "house",
4124
4305
  parts: [{
@@ -4128,12 +4309,12 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4128
4309
  }],
4129
4310
  "soon-label": e.status,
4130
4311
  current: e.id === t.selected,
4131
- "mark-class": G(un)(e.mark),
4312
+ "mark-class": G(hn)(e.mark),
4132
4313
  hint: e.hint,
4133
4314
  tip: e.tip
4134
4315
  }, O({ _: 2 }, [e.mark ? {
4135
4316
  name: "mark",
4136
- fn: Y(() => [G(jt)(e.mark) ? (R(), w(qr, {
4317
+ fn: Y(() => [G(Ft)(e.mark) ? (R(), w(Jr, {
4137
4318
  key: 0,
4138
4319
  svg: e.mark.svg,
4139
4320
  hover: e.mark.hover
@@ -4169,7 +4350,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4169
4350
  "actions"
4170
4351
  ]));
4171
4352
  }
4172
- }), ll = /* @__PURE__ */ j({
4353
+ }), jl = /* @__PURE__ */ j({
4173
4354
  __name: "RowMark",
4174
4355
  props: { on: { type: Boolean } },
4175
4356
  setup(e) {
@@ -4179,14 +4360,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4179
4360
  "aria-hidden": "true"
4180
4361
  }, [A(G(b))], 2));
4181
4362
  }
4182
- }), ul = { class: "glim-sr-only" }, dl = /* @__PURE__ */ j({
4363
+ }), Ml = { class: "glim-sr-only" }, Nl = /* @__PURE__ */ j({
4183
4364
  inheritAttrs: !1,
4184
4365
  __name: "SidebarRowLink",
4185
4366
  props: {
4186
4367
  view: {},
4187
4368
  className: {},
4188
4369
  label: {},
4189
- glyph: {},
4370
+ glyph: { type: [Object, Function] },
4190
4371
  href: {},
4191
4372
  active: { type: Boolean },
4192
4373
  count: {}
@@ -4214,7 +4395,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4214
4395
  e.view.countClass && e.count ? (R(), E(S, { key: 1 }, [D("span", {
4215
4396
  class: P(e.view.countClass),
4216
4397
  "aria-hidden": "true"
4217
- }, W(e.count.value), 3), D("span", ul, W(e.count.label), 1)], 64)) : T("", !0)
4398
+ }, W(e.count.value), 3), D("span", Ml, W(e.count.label), 1)], 64)) : T("", !0)
4218
4399
  ]),
4219
4400
  _: 1
4220
4401
  }, 16, [
@@ -4229,13 +4410,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4229
4410
  "onBlur"
4230
4411
  ])), A(t, { state: G(i) }, null, 8, ["state"])], 64));
4231
4412
  }
4232
- }), fl = {
4413
+ }), Pl = {
4233
4414
  key: 0,
4234
4415
  class: "glim-nav-row-slot"
4235
- }, pl = {
4416
+ }, Fl = {
4236
4417
  key: 1,
4237
4418
  class: "glim-nav-row-slot"
4238
- }, ml = /* @__PURE__ */ j({
4419
+ }, Il = /* @__PURE__ */ j({
4239
4420
  inheritAttrs: !1,
4240
4421
  __name: "SidebarRow",
4241
4422
  props: {
@@ -4251,7 +4432,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4251
4432
  depth: {}
4252
4433
  },
4253
4434
  setup(e) {
4254
- let t = e, n = l("sidebar"), r = Pe(), i = C(() => Hn({
4435
+ let t = e, n = l("sidebar"), r = Pe(), i = C(() => Kn({
4255
4436
  mode: n.value,
4256
4437
  label: t.label,
4257
4438
  hasGlyph: !!t.glyph,
@@ -4278,15 +4459,15 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4278
4459
  ]),
4279
4460
  style: F([i.value.style, e.$attrs.style])
4280
4461
  }, [
4281
- e.$slots.before ? (R(), E("span", fl, [V(e.$slots, "before")])) : T("", !0),
4282
- A(dl, N({
4462
+ e.$slots.before ? (R(), E("span", Pl, [V(e.$slots, "before")])) : T("", !0),
4463
+ A(Nl, N({
4283
4464
  ...e.$attrs,
4284
4465
  ...a.value,
4285
4466
  class: void 0,
4286
4467
  style: void 0
4287
4468
  }, { "class-name": "glim-nav-row-main" }), null, 16),
4288
- e.$slots.after ? (R(), E("span", pl, [V(e.$slots, "after")])) : T("", !0)
4289
- ], 6)) : (R(), w(dl, N({
4469
+ e.$slots.after ? (R(), E("span", Fl, [V(e.$slots, "after")])) : T("", !0)
4470
+ ], 6)) : (R(), w(Nl, N({
4290
4471
  key: 1,
4291
4472
  "data-glim": "SidebarRow"
4292
4473
  }, {
@@ -4303,7 +4484,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4303
4484
  "style"
4304
4485
  ]));
4305
4486
  }
4306
- }), hl = ["data-glim-title", "aria-labelledby"], gl = { class: "glim-sheet-panel" }, _l = ["id"], vl = { class: "glim-sheet-body" }, yl = /* @__PURE__ */ j({
4487
+ }), Ll = ["data-glim-title", "aria-labelledby"], Rl = { class: "glim-sheet-panel" }, zl = ["id"], Bl = { class: "glim-sheet-body" }, Vl = /* @__PURE__ */ j({
4307
4488
  __name: "Sheet",
4308
4489
  props: {
4309
4490
  open: { type: Boolean },
@@ -4314,9 +4495,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4314
4495
  },
4315
4496
  emits: ["close"],
4316
4497
  setup(t, { emit: n }) {
4317
- let r = t, i = n, a = Pe(), o = z(null), s = K(), c = C(() => Dt(r.start) || !!a.start), l;
4498
+ let r = t, i = n, a = Pe(), o = z(null), s = K(), c = C(() => jt(r.start) || !!a.start), l;
4318
4499
  return J([() => r.open, o], ([e, t]) => {
4319
- l?.(), l = void 0, e && t && (l = nn(t, () => i("close")));
4500
+ l?.(), l = void 0, e && t && (l = cn(t, () => i("close")));
4320
4501
  }, { flush: "post" }), I(() => l?.()), (n, r) => t.open ? (R(), E("dialog", {
4321
4502
  key: 0,
4322
4503
  "data-glim": "Sheet",
@@ -4325,7 +4506,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4325
4506
  ref: o,
4326
4507
  "aria-labelledby": G(s),
4327
4508
  class: "glim-sheet"
4328
- }, [D("div", gl, [
4509
+ }, [D("div", Rl, [
4329
4510
  D("h2", {
4330
4511
  id: G(s),
4331
4512
  class: "glim-sheet-title"
@@ -4337,8 +4518,8 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4337
4518
  }, {
4338
4519
  default: Y(() => [k(W(t.title), 1)]),
4339
4520
  _: 1
4340
- })], 8, _l),
4341
- D("div", vl, [V(n.$slots, "default")]),
4521
+ })], 8, zl),
4522
+ D("div", Bl, [V(n.$slots, "default")]),
4342
4523
  A(ja, {
4343
4524
  actions: t.actions,
4344
4525
  start: t.start,
@@ -4355,12 +4536,12 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4355
4536
  "has-start",
4356
4537
  "text"
4357
4538
  ])
4358
- ])], 8, hl)) : T("", !0);
4539
+ ])], 8, Ll)) : T("", !0);
4359
4540
  }
4360
- }), bl = {
4541
+ }), Hl = {
4361
4542
  "data-glim": "SignInField",
4362
4543
  class: "glim-signin-field"
4363
- }, xl = ["for"], Sl = /* @__PURE__ */ j({
4544
+ }, Ul = ["for"], Wl = /* @__PURE__ */ j({
4364
4545
  __name: "SignInField",
4365
4546
  props: {
4366
4547
  label: {},
@@ -4369,21 +4550,21 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4369
4550
  },
4370
4551
  setup(e) {
4371
4552
  let t = e, n = z(!1), r = (e) => {
4372
- n.value = Ft(document.getElementById(t.for), t.label, t.hint, e);
4553
+ n.value = zt(document.getElementById(t.for), t.label, t.hint, e);
4373
4554
  };
4374
- return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", bl, [D("label", {
4555
+ return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", Hl, [D("label", {
4375
4556
  for: t.$props.for,
4376
4557
  class: P(n.value ? "glim-sr-only" : "glim-signin-label")
4377
4558
  }, [k(W(e.label), 1), e.hint ? (R(), w(Q, {
4378
4559
  key: 0,
4379
4560
  tip: e.hint
4380
- }, null, 8, ["tip"])) : T("", !0)], 10, xl), V(t.$slots, "default")]));
4561
+ }, null, 8, ["tip"])) : T("", !0)], 10, Ul), V(t.$slots, "default")]));
4381
4562
  }
4382
- }), Cl = [
4563
+ }), Gl = [
4383
4564
  "aria-label",
4384
4565
  "aria-invalid",
4385
4566
  "aria-describedby"
4386
- ], wl = /* @__PURE__ */ j({
4567
+ ], Kl = /* @__PURE__ */ j({
4387
4568
  inheritAttrs: !1,
4388
4569
  __name: "TextField",
4389
4570
  props: /*@__PURE__*/ M({
@@ -4397,10 +4578,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4397
4578
  }),
4398
4579
  emits: ["update:modelValue"],
4399
4580
  setup(e, { expose: t }) {
4400
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => er({
4581
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => ir({
4401
4582
  width: n.width,
4402
4583
  mono: n.mono
4403
- })), o = Ne(), s = K(), c = C(() => _t(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4584
+ })), o = Ne(), s = K(), c = C(() => xt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4404
4585
  return t({ input: l }), (t, n) => (R(), E(S, null, [ze(D("input", N({ "data-glim": "TextField" }, t.$attrs, {
4405
4586
  ref_key: "input",
4406
4587
  ref: l,
@@ -4410,7 +4591,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4410
4591
  "aria-invalid": c.value.invalid,
4411
4592
  "aria-describedby": c.value.describedBy,
4412
4593
  class: a.value
4413
- }), null, 16, Cl), [[Ie, r.value]]), c.value.errorId ? (R(), w(Sa, {
4594
+ }), null, 16, Gl), [[Ie, r.value]]), c.value.errorId ? (R(), w(Sa, {
4414
4595
  key: 0,
4415
4596
  id: c.value.errorId
4416
4597
  }, {
@@ -4418,26 +4599,26 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4418
4599
  _: 1
4419
4600
  }, 8, ["id"])) : T("", !0)], 64));
4420
4601
  }
4421
- }), Tl = {
4602
+ }), ql = {
4422
4603
  "data-glim": "SignInCard",
4423
4604
  class: "glim-signin"
4424
- }, El = { class: "glim-signin-head" }, Dl = {
4605
+ }, Jl = { class: "glim-signin-head" }, Yl = {
4425
4606
  key: 0,
4426
4607
  class: "glim-signin-logo",
4427
4608
  "aria-hidden": "true"
4428
- }, Ol = ["src"], kl = { class: "glim-signin-name" }, Al = {
4609
+ }, Xl = ["src"], Zl = { class: "glim-signin-name" }, Ql = {
4429
4610
  key: 0,
4430
4611
  class: "glim-signin-error",
4431
4612
  role: "alert"
4432
- }, jl = {
4613
+ }, $l = {
4433
4614
  key: 0,
4434
4615
  class: "glim-signin-note",
4435
4616
  role: "status"
4436
- }, Ml = { class: "glim-signin-hint" }, Nl = {
4617
+ }, eu = { class: "glim-signin-hint" }, tu = {
4437
4618
  key: 3,
4438
4619
  class: "glim-signin-error",
4439
4620
  role: "alert"
4440
- }, Pl = /* @__PURE__ */ j({
4621
+ }, nu = /* @__PURE__ */ j({
4441
4622
  __name: "SignInCard",
4442
4623
  props: {
4443
4624
  logo: {},
@@ -4465,7 +4646,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4465
4646
  onSetPassword: {}
4466
4647
  },
4467
4648
  setup(e) {
4468
- let t = e, n = Pe(), r = mt(() => t), i = U(r.state()), a = r.subscribe(() => i.value = r.state());
4649
+ let t = e, n = Pe(), r = _t(() => t), i = U(r.state()), a = r.subscribe(() => i.value = r.state());
4469
4650
  I(a);
4470
4651
  let o = K(), s = (e) => `${t.idPrefix ?? o}-${e}`, c = C(() => ({
4471
4652
  signIn: "signIn",
@@ -4479,32 +4660,32 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4479
4660
  hide: t.text.hide
4480
4661
  })), u = U(null), d = "";
4481
4662
  function p() {
4482
- let e = n.step ? "step" : Wn(i.value);
4483
- e !== d && ((d || t.autoFocus) && xt(u.value), d = e);
4663
+ let e = n.step ? "step" : Jn(i.value);
4664
+ e !== d && ((d || t.autoFocus) && Tt(u.value), d = e);
4484
4665
  }
4485
4666
  return L(p), ke(p), J(() => i.value.refusal?.count, (e, t, n) => {
4486
4667
  let r = i.value.refusal;
4487
- r && n(Vn(u.value, r));
4488
- }, { flush: "post" }), (t, n) => (R(), E("div", Tl, [D("div", {
4668
+ r && n(Gn(u.value, r));
4669
+ }, { flush: "post" }), (t, n) => (R(), E("div", ql, [D("div", {
4489
4670
  ref_key: "card",
4490
4671
  ref: u,
4491
4672
  class: "glim-card glim-signin-card"
4492
- }, [D("div", El, [e.logo || t.$slots.logo ? (R(), E("span", Dl, [V(t.$slots, "logo", {}, () => [D("img", {
4673
+ }, [D("div", Jl, [e.logo || t.$slots.logo ? (R(), E("span", Yl, [V(t.$slots, "logo", {}, () => [D("img", {
4493
4674
  src: e.logo,
4494
4675
  alt: "",
4495
4676
  draggable: "false"
4496
- }, null, 8, Ol)])])) : T("", !0), D("h1", kl, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4677
+ }, null, 8, Xl)])])) : T("", !0), D("h1", Zl, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4497
4678
  key: 1,
4498
4679
  class: "glim-signin-form",
4499
4680
  novalidate: "",
4500
4681
  onSubmit: n[4] ||= X((e) => G(r).submit(), ["prevent"])
4501
4682
  }, [
4502
- A(Sl, {
4683
+ A(Wl, {
4503
4684
  label: e.text.resetCode,
4504
4685
  for: s("reset-code"),
4505
4686
  hint: e.text.resetCodeTip
4506
4687
  }, {
4507
- default: Y(() => [A(wl, {
4688
+ default: Y(() => [A(Kl, {
4508
4689
  id: s("reset-code"),
4509
4690
  "data-signin-field": "resetCode",
4510
4691
  class: "glim-signin-log-code",
@@ -4521,7 +4702,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4521
4702
  "for",
4522
4703
  "hint"
4523
4704
  ]),
4524
- A(Sl, {
4705
+ A(Wl, {
4525
4706
  label: e.text.newPassword,
4526
4707
  for: s("new")
4527
4708
  }, {
@@ -4539,7 +4720,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4539
4720
  ])]),
4540
4721
  _: 1
4541
4722
  }, 8, ["label", "for"]),
4542
- A(Sl, {
4723
+ A(Wl, {
4543
4724
  label: e.text.confirmPassword,
4544
4725
  for: s("confirm")
4545
4726
  }, {
@@ -4557,14 +4738,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4557
4738
  ])]),
4558
4739
  _: 1
4559
4740
  }, 8, ["label", "for"]),
4560
- i.value.error ? (R(), E("p", Al, W(i.value.error), 1)) : T("", !0),
4741
+ i.value.error ? (R(), E("p", Ql, W(i.value.error), 1)) : T("", !0),
4561
4742
  A(f, {
4562
4743
  label: e.text.setPassword,
4563
4744
  "label-key": c.value.setPassword,
4564
4745
  tone: "accent",
4565
4746
  type: "submit",
4566
4747
  "data-signin": "set-password",
4567
- disabled: G(On)(i.value),
4748
+ disabled: G(Nn)(i.value),
4568
4749
  busy: i.value.busy === "setPassword",
4569
4750
  title: i.value.busy === "setPassword" ? e.text.saving : void 0
4570
4751
  }, null, 8, [
@@ -4592,9 +4773,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4592
4773
  novalidate: "",
4593
4774
  onSubmit: n[10] ||= X((e) => G(r).submit(), ["prevent"])
4594
4775
  }, [
4595
- e.note ? (R(), E("p", jl, W(e.note), 1)) : T("", !0),
4776
+ e.note ? (R(), E("p", $l, W(e.note), 1)) : T("", !0),
4596
4777
  i.value.viaPasskey ? T("", !0) : V(t.$slots, "fields", {}, void 0, void 0, 1),
4597
- ze(A(Sl, {
4778
+ ze(A(Wl, {
4598
4779
  label: e.text.password,
4599
4780
  for: s("password")
4600
4781
  }, {
@@ -4612,12 +4793,12 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4612
4793
  ])]),
4613
4794
  _: 1
4614
4795
  }, 8, ["label", "for"]), [[Le, !i.value.viaPasskey]]),
4615
- i.value.needCode ? (R(), w(Sl, {
4796
+ i.value.needCode ? (R(), w(Wl, {
4616
4797
  key: 2,
4617
4798
  label: e.text.code,
4618
4799
  for: s("code")
4619
4800
  }, {
4620
- default: Y(() => [A(wl, {
4801
+ default: Y(() => [A(Kl, {
4621
4802
  id: s("code"),
4622
4803
  "data-signin-field": "code",
4623
4804
  class: "glim-signin-code",
@@ -4627,17 +4808,17 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4627
4808
  spellcheck: "false",
4628
4809
  placeholder: "000000",
4629
4810
  "onUpdate:modelValue": n[6] ||= (e) => G(r).set("code", e)
4630
- }, null, 8, ["id", "model-value"]), D("p", Ml, W(e.text.codeHint), 1)]),
4811
+ }, null, 8, ["id", "model-value"]), D("p", eu, W(e.text.codeHint), 1)]),
4631
4812
  _: 1
4632
4813
  }, 8, ["label", "for"])) : T("", !0),
4633
- i.value.error ? (R(), E("p", Nl, W(i.value.error), 1)) : T("", !0),
4814
+ i.value.error ? (R(), E("p", tu, W(i.value.error), 1)) : T("", !0),
4634
4815
  A(f, {
4635
4816
  label: e.text.signIn,
4636
4817
  "label-key": c.value.signIn,
4637
4818
  tone: "accent",
4638
4819
  type: "submit",
4639
4820
  "data-signin": "submit",
4640
- disabled: G(Un)(i.value),
4821
+ disabled: G(qn)(i.value),
4641
4822
  busy: i.value.busy === "signIn",
4642
4823
  title: i.value.busy === "signIn" ? e.text.signingIn : void 0
4643
4824
  }, null, 8, [
@@ -4691,13 +4872,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4691
4872
  ])) : T("", !0)
4692
4873
  ], 32))], 512)]));
4693
4874
  }
4694
- }), Fl = {
4875
+ }), ru = {
4695
4876
  key: 0,
4696
4877
  class: "glim-skeleton-block glim-skeleton-tile"
4697
- }, Il = {
4878
+ }, iu = {
4698
4879
  key: 1,
4699
4880
  class: "glim-skeleton-block glim-skeleton-badge"
4700
- }, Ll = /* @__PURE__ */ j({
4881
+ }, au = /* @__PURE__ */ j({
4701
4882
  __name: "SkeletonRow",
4702
4883
  props: {
4703
4884
  delay: {},
@@ -4711,7 +4892,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4711
4892
  }
4712
4893
  },
4713
4894
  setup(e) {
4714
- let t = e, n = C(() => Gn({
4895
+ let t = e, n = C(() => Yn({
4715
4896
  delay: t.delay,
4716
4897
  tile: t.tile,
4717
4898
  badge: t.badge
@@ -4722,18 +4903,18 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4722
4903
  class: P(n.value.className),
4723
4904
  style: F(n.value.style)
4724
4905
  }, [
4725
- n.value.tile ? (R(), E("span", Fl)) : T("", !0),
4906
+ n.value.tile ? (R(), E("span", ru)) : T("", !0),
4726
4907
  t[0] ||= D("span", { class: "glim-skeleton-block glim-skeleton-name" }, null, -1),
4727
- n.value.badge ? (R(), E("span", Il)) : T("", !0)
4908
+ n.value.badge ? (R(), E("span", iu)) : T("", !0)
4728
4909
  ], 6));
4729
4910
  }
4730
- }), Rl = ["data-glim-title", "aria-labelledby"], zl = {
4911
+ }), ou = ["data-glim-title", "aria-labelledby"], su = {
4731
4912
  key: 0,
4732
4913
  class: "glim-panel-heading"
4733
- }, Bl = ["id"], Vl = {
4914
+ }, cu = ["id"], lu = {
4734
4915
  key: 1,
4735
4916
  class: "glim-subcard-end"
4736
- }, Hl = /* @__PURE__ */ j({
4917
+ }, uu = /* @__PURE__ */ j({
4737
4918
  __name: "SubCard",
4738
4919
  props: {
4739
4920
  title: {},
@@ -4747,23 +4928,23 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4747
4928
  class: P(["glim-subcard", { "glim-subcard--titled": t.title }]),
4748
4929
  "aria-labelledby": t.title ? G(n) : void 0
4749
4930
  }, [
4750
- t.title ? (R(), E("h3", zl, [A(e, {
4931
+ t.title ? (R(), E("h3", su, [A(e, {
4751
4932
  tone: "heading",
4752
4933
  size: "heading",
4753
4934
  wrap: ""
4754
4935
  }, {
4755
- default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, Bl), t.hint ? (R(), w(Q, {
4936
+ default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, cu), t.hint ? (R(), w(Q, {
4756
4937
  key: 0,
4757
4938
  tip: t.hint,
4758
4939
  "on-accent": ""
4759
4940
  }, null, 8, ["tip"])) : T("", !0)]),
4760
4941
  _: 1
4761
4942
  })])) : T("", !0),
4762
- r.$slots.end ? (R(), E("div", Vl, [V(r.$slots, "end")])) : T("", !0),
4943
+ r.$slots.end ? (R(), E("div", lu, [V(r.$slots, "end")])) : T("", !0),
4763
4944
  V(r.$slots, "default")
4764
- ], 10, Rl));
4945
+ ], 10, ou));
4765
4946
  }
4766
- }), Ul = ["aria-label"], Wl = { key: 0 }, Gl = { key: 0 }, Kl = ["colspan"], ql = /* @__PURE__ */ j({
4947
+ }), du = ["aria-label"], fu = { key: 0 }, pu = { key: 0 }, mu = ["colspan"], hu = /* @__PURE__ */ j({
4767
4948
  __name: "Table",
4768
4949
  props: {
4769
4950
  label: {},
@@ -4777,27 +4958,27 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4777
4958
  "data-glim": "Table",
4778
4959
  class: "glim-table",
4779
4960
  "aria-label": e.label
4780
- }, [n.value ? (R(), E("thead", Wl, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4961
+ }, [n.value ? (R(), E("thead", fu, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4781
4962
  key: e.key,
4782
4963
  scope: "col",
4783
4964
  class: P({ "glim-table-end": e.end })
4784
4965
  }, W(e.label), 3))), 128))])])) : T("", !0), D("tbody", null, [(R(!0), E(S, null, B(e.rows, (n, i) => (R(), E("tr", { key: i }, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("td", {
4785
4966
  key: e.key,
4786
- class: P(G($n)(e))
4967
+ class: P(G(rr)(e))
4787
4968
  }, [V(t.$slots, "cell", {
4788
4969
  row: n,
4789
4970
  column: e,
4790
4971
  value: r(n, e)
4791
- }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", Gl, [D("td", {
4972
+ }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", pu, [D("td", {
4792
4973
  colspan: e.columns.length,
4793
4974
  class: "glim-table-muted"
4794
- }, W(e.more), 9, Kl)])) : T("", !0)])], 8, Ul));
4975
+ }, W(e.more), 9, mu)])) : T("", !0)])], 8, du));
4795
4976
  }
4796
- }), Jl = [
4977
+ }), gu = [
4797
4978
  "aria-label",
4798
4979
  "aria-invalid",
4799
4980
  "aria-describedby"
4800
- ], Yl = /* @__PURE__ */ j({
4981
+ ], _u = /* @__PURE__ */ j({
4801
4982
  inheritAttrs: !1,
4802
4983
  __name: "TextArea",
4803
4984
  props: /*@__PURE__*/ M({
@@ -4811,11 +4992,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4811
4992
  }),
4812
4993
  emits: ["update:modelValue"],
4813
4994
  setup(e, { expose: t }) {
4814
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => er({
4995
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => ir({
4815
4996
  width: n.width,
4816
4997
  mono: n.mono,
4817
4998
  area: !0
4818
- })), o = Ne(), s = K(), c = C(() => _t(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4999
+ })), o = Ne(), s = K(), c = C(() => xt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4819
5000
  return t({ input: l }), (t, n) => (R(), E(S, null, [ze(D("textarea", N({ "data-glim": "TextArea" }, t.$attrs, {
4820
5001
  ref_key: "input",
4821
5002
  ref: l,
@@ -4824,7 +5005,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4824
5005
  "aria-invalid": c.value.invalid,
4825
5006
  "aria-describedby": c.value.describedBy,
4826
5007
  class: a.value
4827
- }), null, 16, Jl), [[Ie, r.value]]), c.value.errorId ? (R(), w(Sa, {
5008
+ }), null, 16, gu), [[Ie, r.value]]), c.value.errorId ? (R(), w(Sa, {
4828
5009
  key: 0,
4829
5010
  id: c.value.errorId
4830
5011
  }, {
@@ -4832,7 +5013,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4832
5013
  _: 1
4833
5014
  }, 8, ["id"])) : T("", !0)], 64));
4834
5015
  }
4835
- }), Xl = { class: "glim-toast-body" }, Zl = { class: "glim-toast-message" }, Ql = { key: 0 }, $l = ["aria-label"], eu = /* @__PURE__ */ j({
5016
+ }), vu = { class: "glim-toast-body" }, yu = { class: "glim-toast-message" }, bu = { key: 0 }, xu = ["aria-label"], Su = /* @__PURE__ */ j({
4836
5017
  __name: "ToastCard",
4837
5018
  props: {
4838
5019
  id: {},
@@ -4866,7 +5047,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4866
5047
  mark: G(Xe)[e.severity],
4867
5048
  class: P(`glim-toast-glyph glim-toast-glyph--${e.severity}`)
4868
5049
  }, null, 8, ["mark", "class"]),
4869
- D("div", Xl, [D("p", Zl, [(R(!0), E(S, null, B(G(Kn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", Ql)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
5050
+ D("div", vu, [D("p", yu, [(R(!0), E(S, null, B(G(Xn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", bu)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
4870
5051
  key: 0,
4871
5052
  class: "glim-toast-action",
4872
5053
  tone: "subtle",
@@ -4879,19 +5060,19 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
4879
5060
  "aria-label": e.dismissLabel,
4880
5061
  class: "glim-btn-bare glim-toast-dismiss",
4881
5062
  onClick: n[1] ||= (t) => r("dismiss", e.id)
4882
- }, [A(G(p), { mark: G(qe).dismiss }, null, 8, ["mark"])], 8, $l)
5063
+ }, [A(G(p), { mark: G(qe).dismiss }, null, 8, ["mark"])], 8, xu)
4883
5064
  ], 32));
4884
5065
  }
4885
- }), tu = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4886
- function nu(e, t, n, r) {
4887
- for (let i of Object.values(t)) typeof n[tu(i)] == "function" && r(`${e} ${i}`);
5066
+ }), Cu = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
5067
+ function wu(e, t, n, r) {
5068
+ for (let i of Object.values(t)) typeof n[Cu(i)] == "function" && r(`${e} ${i}`);
4888
5069
  return (e, ...r) => {
4889
- let i = t[e], a = i === void 0 ? void 0 : n[tu(i)];
5070
+ let i = t[e], a = i === void 0 ? void 0 : n[Cu(i)];
4890
5071
  typeof a == "function" && a(...r);
4891
5072
  };
4892
5073
  }
4893
5074
  // src/ToastViewport.vue
4894
- var ru = /* @__PURE__ */ j({
5075
+ var Tu = /* @__PURE__ */ j({
4895
5076
  inheritAttrs: !1,
4896
5077
  __name: "ToastViewport",
4897
5078
  props: {
@@ -4910,12 +5091,12 @@ var ru = /* @__PURE__ */ j({
4910
5091
  "blur"
4911
5092
  ],
4912
5093
  setup(e, { emit: t }) {
4913
- let n = e, r = t, i = nu("ToastViewport", {
5094
+ let n = e, r = t, i = wu("ToastViewport", {
4914
5095
  mouseEnter: "enter",
4915
5096
  mouseLeave: "leave",
4916
5097
  focus: "focusin",
4917
5098
  blur: "focusout"
4918
- }, n, ur);
5099
+ }, n, mr);
4919
5100
  function a(e) {
4920
5101
  r("mouseEnter", e), i("mouseEnter", e);
4921
5102
  }
@@ -4932,18 +5113,18 @@ var ru = /* @__PURE__ */ j({
4932
5113
  return J(() => n.toasts, (e) => {
4933
5114
  let t = new Set(e.map((e) => e.id));
4934
5115
  for (let e of l) t.has(e) || l.delete(e);
4935
- for (let t of e) l.has(t.id) || (l.add(t.id), $e(t.message, nr(t.severity)));
5116
+ for (let t of e) l.has(t.id) || (l.add(t.id), $e(t.message, or(t.severity)));
4936
5117
  }, {
4937
5118
  immediate: !0,
4938
5119
  deep: 1,
4939
5120
  flush: "post"
4940
5121
  }), (t, n) => (R(), E(S, null, [
4941
- D("div", N({ class: "glim-sr-only" }, G(zt)("polite")), null, 16),
4942
- D("div", N({ class: "glim-sr-only" }, G(zt)("assertive")), null, 16),
5122
+ D("div", N({ class: "glim-sr-only" }, G(Ut)("polite")), null, 16),
5123
+ D("div", N({ class: "glim-sr-only" }, G(Ut)("assertive")), null, 16),
4943
5124
  D("div", N({
4944
5125
  "data-glim": "ToastViewport",
4945
5126
  class: "glim-toast-stack"
4946
- }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(eu, {
5127
+ }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(Su, {
4947
5128
  id: t.id,
4948
5129
  key: t.id,
4949
5130
  message: t.message,
@@ -4964,7 +5145,7 @@ var ru = /* @__PURE__ */ j({
4964
5145
  ]))), 128))], 16)
4965
5146
  ], 64));
4966
5147
  }
4967
- }), iu = ["aria-label"], au = [
5148
+ }), Eu = ["aria-label"], Du = [
4968
5149
  "aria-level",
4969
5150
  "aria-posinset",
4970
5151
  "aria-setsize",
@@ -4975,11 +5156,11 @@ var ru = /* @__PURE__ */ j({
4975
5156
  "onClick",
4976
5157
  "onDblclick",
4977
5158
  "onKeydown"
4978
- ], ou = ["onClick"], su = {
5159
+ ], Ou = ["onClick"], ku = {
4979
5160
  key: 0,
4980
5161
  class: "glim-tree-glyph",
4981
5162
  "aria-hidden": "true"
4982
- }, cu = { class: "glim-tree-label" }, lu = /* @__PURE__ */ j({
5163
+ }, Au = { class: "glim-tree-label" }, ju = /* @__PURE__ */ j({
4983
5164
  __name: "Tree",
4984
5165
  props: /*@__PURE__*/ M({
4985
5166
  label: {},
@@ -4997,7 +5178,7 @@ var ru = /* @__PURE__ */ j({
4997
5178
  s.has(e) || (s.add(e), Promise.resolve(n.load(e)).then((t) => o.set(e, t), () => s.delete(e)));
4998
5179
  }
4999
5180
  J(i, (e) => [null, ...e].forEach(l), { immediate: !0 });
5000
- let u = C(() => ar(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
5181
+ let u = C(() => lr(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
5001
5182
  function f(e) {
5002
5183
  i.value = i.value.includes(e) ? i.value.filter((t) => t !== e) : [...i.value, e];
5003
5184
  }
@@ -5008,8 +5189,8 @@ var ru = /* @__PURE__ */ j({
5008
5189
  e.preventDefault(), r.value = n, e.key === "Enter" && a("activate", n);
5009
5190
  return;
5010
5191
  }
5011
- let i = or(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
5012
- i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, Tt(c.value, i.focus)) : f("open" in i ? i.open : i.close));
5192
+ let i = ur(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
5193
+ i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, kt(c.value, i.focus)) : f("open" in i ? i.open : i.close));
5013
5194
  }
5014
5195
  return (t, n) => (R(), E("div", {
5015
5196
  ref_key: "tree",
@@ -5039,15 +5220,15 @@ var ru = /* @__PURE__ */ j({
5039
5220
  "aria-hidden": "true",
5040
5221
  onClick: X((t) => e.node.hasChildren && f(e.node.id), ["stop"]),
5041
5222
  onDblclick: n[0] ||= X(() => {}, ["stop"])
5042
- }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, ou),
5043
- e.node.glyph ? (R(), E("span", su, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
5044
- D("span", cu, W(e.node.label), 1)
5045
- ], 16, au))), 128))], 8, iu));
5223
+ }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, Ou),
5224
+ e.node.glyph ? (R(), E("span", ku, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
5225
+ D("span", Au, W(e.node.label), 1)
5226
+ ], 16, Du))), 128))], 8, Eu));
5046
5227
  }
5047
- }), uu = ["data-glim-title"], du = { class: "glim-notice-title" }, fu = { class: "glim-notice-reason" }, pu = {
5228
+ }), Mu = ["data-glim-title"], Nu = { class: "glim-notice-title" }, Pu = { class: "glim-notice-reason" }, Fu = {
5048
5229
  key: 0,
5049
5230
  class: "glim-notice-action"
5050
- }, mu = /* @__PURE__ */ j({
5231
+ }, Iu = /* @__PURE__ */ j({
5051
5232
  __name: "UnavailableNotice",
5052
5233
  props: { title: {} },
5053
5234
  setup(e) {
@@ -5056,12 +5237,12 @@ var ru = /* @__PURE__ */ j({
5056
5237
  "data-glim-title": e.title,
5057
5238
  class: "glim-notice"
5058
5239
  }, [
5059
- D("p", du, W(e.title), 1),
5060
- D("p", fu, [V(t.$slots, "default")]),
5061
- t.$slots.action ? (R(), E("div", pu, [V(t.$slots, "action")])) : T("", !0)
5062
- ], 8, uu));
5240
+ D("p", Nu, W(e.title), 1),
5241
+ D("p", Pu, [V(t.$slots, "default")]),
5242
+ t.$slots.action ? (R(), E("div", Fu, [V(t.$slots, "action")])) : T("", !0)
5243
+ ], 8, Mu));
5063
5244
  }
5064
- }), hu = ["aria-label"], gu = { class: "glim-window-square" }, _u = { class: "glim-window-square" }, vu = { class: "glim-window-square" }, yu = /* @__PURE__ */ j({
5245
+ }), Lu = ["aria-label"], Ru = { class: "glim-window-square" }, zu = { class: "glim-window-square" }, Bu = { class: "glim-window-square" }, Vu = /* @__PURE__ */ j({
5065
5246
  __name: "WindowBar",
5066
5247
  props: {
5067
5248
  appName: {},
@@ -5102,7 +5283,7 @@ var ru = /* @__PURE__ */ j({
5102
5283
  class: "glim-window-button",
5103
5284
  onClick: r[0] ||= (e) => n("minimise")
5104
5285
  }, {
5105
- default: Y(() => [D("span", gu, [A(G(he))])]),
5286
+ default: Y(() => [D("span", Ru, [A(G(he))])]),
5106
5287
  _: 1
5107
5288
  }, 8, ["tip"]),
5108
5289
  A(_e, {
@@ -5110,7 +5291,7 @@ var ru = /* @__PURE__ */ j({
5110
5291
  class: "glim-window-button",
5111
5292
  onClick: r[1] ||= (e) => n("toggleMaximise")
5112
5293
  }, {
5113
- default: Y(() => [D("span", _u, [e.maximised ? (R(), w(G(m), { key: 0 })) : (R(), w(G(v), { key: 1 }))])]),
5294
+ default: Y(() => [D("span", zu, [e.maximised ? (R(), w(G(m), { key: 0 })) : (R(), w(G(v), { key: 1 }))])]),
5114
5295
  _: 1
5115
5296
  }, 8, ["tip"]),
5116
5297
  A(_e, {
@@ -5118,17 +5299,17 @@ var ru = /* @__PURE__ */ j({
5118
5299
  class: "glim-window-button",
5119
5300
  onClick: r[2] ||= (e) => n("close")
5120
5301
  }, {
5121
- default: Y(() => [D("span", vu, [A(G(_))])]),
5302
+ default: Y(() => [D("span", Bu, [A(G(_))])]),
5122
5303
  _: 1
5123
5304
  }, 8, ["tip"])
5124
- ], 40, hu));
5305
+ ], 40, Lu));
5125
5306
  }
5126
5307
  });
5127
5308
  // src/confirm.ts
5128
- function bu(e) {
5309
+ function Hu(e) {
5129
5310
  let t = U(null), n = U(null), r = null, i = null;
5130
5311
  function a(e, n) {
5131
- return i = Et(), new Promise((i) => {
5312
+ return i = At(), new Promise((i) => {
5132
5313
  r = i, t.value = {
5133
5314
  message: e,
5134
5315
  ...n
@@ -5136,15 +5317,15 @@ function bu(e) {
5136
5317
  });
5137
5318
  }
5138
5319
  function o(e) {
5139
- r?.(e), r = null, t.value = null, kn(i), i = null;
5320
+ r?.(e), r = null, t.value = null, Pn(i), i = null;
5140
5321
  }
5141
5322
  let s = () => o(!1);
5142
- return xu(() => t.value !== null, n, s), {
5323
+ return Uu(() => t.value !== null, n, s), {
5143
5324
  confirm: a,
5144
5325
  dismiss: s,
5145
5326
  ConfirmHost: j(() => () => {
5146
5327
  let r = t.value;
5147
- return r ? we(Ce, { to: yn() }, [we(bi, {
5328
+ return r ? we(Ce, { to: wn() }, [we(xi, {
5148
5329
  ref: (e) => n.value = e?.card ?? null,
5149
5330
  title: e.title,
5150
5331
  message: r.message,
@@ -5158,13 +5339,13 @@ function bu(e) {
5158
5339
  })
5159
5340
  };
5160
5341
  }
5161
- function xu(e, t, n) {
5342
+ function Uu(e, t, n) {
5162
5343
  J(e, (e, r, i) => {
5163
- e && i(ir(() => t.value, n));
5344
+ e && i(cr(() => t.value, n));
5164
5345
  }, { immediate: !0 });
5165
5346
  }
5166
5347
  // src/paypalButtons.ts
5167
- function Su(e) {
5348
+ function Wu(e) {
5168
5349
  let t = U(null), n = () => {};
5169
5350
  return J([
5170
5351
  t,
@@ -5176,7 +5357,7 @@ function Su(e) {
5176
5357
  let o = null, s = !1;
5177
5358
  n = () => {
5178
5359
  s = !0, o?.close().catch(() => {});
5179
- }, Bt(r, i !== "once").then((n) => {
5360
+ }, Wt(r, i !== "once").then((n) => {
5180
5361
  if (s) return;
5181
5362
  let c = n.Buttons({
5182
5363
  style: {
@@ -5188,7 +5369,7 @@ function Su(e) {
5188
5369
  height: 40
5189
5370
  },
5190
5371
  onClick: (t, n) => e().amount ? n.resolve() : n.reject(),
5191
- ...ht(r, i, () => e().amount ?? "0", a, () => e().onDone()),
5372
+ ...yt(r, i, () => e().amount ?? "0", a, () => e().onDone()),
5192
5373
  onError: () => e().onError()
5193
5374
  });
5194
5375
  o = c, t.replaceChildren(), c.render(t).catch(() => e().onError());
@@ -5198,8 +5379,8 @@ function Su(e) {
5198
5379
  }), De(() => n()), (e) => t.value = e;
5199
5380
  }
5200
5381
  // src/dragArmed.ts
5201
- function Cu(e, t) {
5382
+ function Gu(e, t) {
5202
5383
  let n = () => e.value?.classList.toggle("glim-drag-armed", t());
5203
5384
  Re(n, { flush: "post" }), ke(n);
5204
5385
  }
5205
- export { Hr as AboutCard, e as Badge, qr as BrandMark, c as BusyRing, f as Button, _r as Card, Zr as Checkbox, si as CoffeeDialog, fi as ColorPicker, bi as ConfirmDialog, Mi as ConnectionRow, qi as ContextMenu, Xi as CopyField, fa as CryptoDonateDialog, ha as DropdownListbox, ba as EmptyState, Sa as FieldError, Ea as FieldRow, Da as FieldRowGroup, Ns as Fortress, uo as FortressAppCard, La as FortressDoubtWindow, Ps as FortressPairing, No as FortressPermissions, oc as FortressStatusWindow, We as GLIMSTONE_RELEASE_URL, Ge as GLIMSTONE_REPO, Ke as GLIMSTONE_VERSION, lc as GlyphField, uc as GlyphTile, de as IconBack, Se as IconButton, oe as IconCalendar, le as IconCancel, b as IconCheck, _ as IconClose, se as IconCopy, ue as IconExpand, ee as IconEye, ie as IconEyeOff, fe as IconFolderOpen, te as IconForward, y as IconPause, ce as IconPencil, ae as IconPlay, re as IconResetArrow, ne as IconSearch, g as IconStar, _e as IconTipButton, pe as IconTrash, ge as IconUpload, v as IconWindowMaximise, he as IconWindowMinimise, m as IconWindowRestore, Dr as InfoAboutCard, Q as InfoBubble, Ar as InfoHelpCard, Vr as InfoTile, zr as InfoVersionCard, $a as InstanceCard, Pi as Kbd, hc as ListRow, Ac as ListTable, p as MarkSvg, Nc as MenuBar, Fc as Meter, Rc as NumberField, Bo as PasswordField, Bc as PathField, rl as PaypalDialog, cl as PickerWindow, Ca as Pill, _c as Popover, to as PresenceBadges, Is as ProgressBar, $ as ReadmeButton, ll as RowMark, vo as Selector, yl as Sheet, ml as SidebarRow, Pl as SignInCard, Sl as SignInField, Ll as SkeletonRow, Hl as SubCard, ql as Table, Yl as TextArea, wl as TextField, eu as ToastCard, ru as ToastViewport, So as Toggle, lu as Tree, mu as UnavailableNotice, Fa as Window, yu as WindowBar, no as deviceGlyph, me as glyphFor, Ln as selectorTabId, h as setGlyphResolver, u as useAccent, bu as useConfirm, o as useDensity, xu as useDialogKeys, Cu as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, Su as usePaypalButtons, be as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };
5386
+ export { Ur as AboutCard, e as Badge, Jr as BrandMark, c as BusyRing, f as Button, Cr as Card, Qr as Checkbox, ci as CoffeeDialog, pi as ColorPicker, xi as ConfirmDialog, Mi as ConnectionRow, qi as ContextMenu, Xi as CopyField, fa as CryptoDonateDialog, ha as DropdownListbox, ba as EmptyState, Sa as FieldError, Ea as FieldRow, Da as FieldRowGroup, Ns as Fortress, uo as FortressAppCard, La as FortressDoubtWindow, Ps as FortressPairing, No as FortressPermissions, oc as FortressStatusWindow, We as GLIMSTONE_RELEASE_URL, Ge as GLIMSTONE_REPO, Ke as GLIMSTONE_VERSION, lc as GlyphField, uc as GlyphTile, de as IconBack, Se as IconButton, oe as IconCalendar, le as IconCancel, b as IconCheck, _ as IconClose, se as IconCopy, ue as IconExpand, ee as IconEye, ie as IconEyeOff, fe as IconFolderOpen, te as IconForward, y as IconPause, ce as IconPencil, ae as IconPlay, re as IconResetArrow, ne as IconSearch, g as IconStar, _e as IconTipButton, pe as IconTrash, ge as IconUpload, v as IconWindowMaximise, he as IconWindowMinimise, m as IconWindowRestore, Nr as InfoAboutCard, Q as InfoBubble, vc as InfoComponentsCard, Ir as InfoHelpCard, Mc as InfoTile, Ac as InfoVersionCard, $a as InstanceCard, Pi as Kbd, Lc as ListRow, Qc as ListTable, p as MarkSvg, tl as MenuBar, rl as Meter, ol as NumberField, Bo as PasswordField, cl as PathField, Tl as PaypalDialog, Al as PickerWindow, Ca as Pill, zc as Popover, to as PresenceBadges, Is as ProgressBar, $ as ReadmeButton, jl as RowMark, vo as Selector, Vl as Sheet, Il as SidebarRow, nu as SignInCard, Wl as SignInField, au as SkeletonRow, uu as SubCard, hu as Table, _u as TextArea, Kl as TextField, Su as ToastCard, Tu as ToastViewport, So as Toggle, ju as Tree, Iu as UnavailableNotice, Fa as Window, Vu as WindowBar, no as deviceGlyph, me as glyphFor, Vn as selectorTabId, h as setGlyphResolver, u as useAccent, Hu as useConfirm, o as useDensity, Uu as useDialogKeys, Gu as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, Wu as usePaypalButtons, be as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };