@glimstone/vue 4.8.1 → 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,22 +736,22 @@ 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-main" }, Ci = { class: "glim-connection-head" }, wi = { class: "glim-connection-name" }, Ti = {
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
- }, Ei = { class: "glim-connection-foot" }, Di = { class: "glim-connection-about" }, Oi = {
744
+ }, Di = { class: "glim-connection-foot" }, Oi = { class: "glim-connection-about" }, ki = {
821
745
  key: 0,
822
746
  class: "glim-connection-status"
823
- }, ki = {
747
+ }, Ai = {
824
748
  key: 0,
825
749
  class: "glim-connection-actions"
826
- }, Ai = 640, ji = /* @__PURE__ */ j({
750
+ }, ji = 640, Mi = /* @__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", { 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(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"]))], 2)], 4), D("div", Si, [D("div", Ci, [D("span", wi, W(e.name), 1), t.$slots.badges ? (R(), E("span", Ti, [V(t.$slots, "badges")])) : T("", !0)]), D("div", Ei, [D("div", Di, [e.status ? (R(), E("p", Oi, W(e.status), 1)) : T("", !0), V(t.$slots, "default")]), r.value.length > 0 ? (R(), E("span", ki, [(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,
@@ -871,7 +795,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
871
795
  busy: e.busy,
872
796
  title: e.title,
873
797
  disabled: e.disabled,
874
- "compact-below": Ai,
798
+ "compact-below": ji,
875
799
  class: P({ "glim-shake": e.face.shake }),
876
800
  "data-connection": e.id,
877
801
  onClick: e.onClick
@@ -886,25 +810,25 @@ 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
- }), Mi = {
815
+ }), Ni = {
892
816
  "data-glim": "Kbd",
893
817
  class: "glim-kbd"
894
- }, Ni = /* @__PURE__ */ j({
818
+ }, Pi = /* @__PURE__ */ j({
895
819
  __name: "Kbd",
896
820
  setup(e) {
897
- return (e, t) => (R(), E("kbd", Mi, [V(e.$slots, "default")]));
821
+ return (e, t) => (R(), E("kbd", Ni, [V(e.$slots, "default")]));
898
822
  }
899
- }), Pi = {
823
+ }), Fi = {
900
824
  key: 0,
901
825
  class: "glim-menu-sep",
902
826
  role: "separator"
903
- }, Fi = {
827
+ }, Ii = {
904
828
  key: 1,
905
829
  class: "glim-menu-head",
906
830
  role: "presentation"
907
- }, Ii = [
831
+ }, Li = [
908
832
  "role",
909
833
  "aria-checked",
910
834
  "aria-haspopup",
@@ -912,26 +836,26 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
912
836
  "disabled",
913
837
  "data-row",
914
838
  "onClick"
915
- ], Li = {
839
+ ], Ri = {
916
840
  key: 0,
917
841
  class: "glim-checkbox-box",
918
842
  "aria-hidden": "true"
919
- }, Ri = {
843
+ }, zi = {
920
844
  key: 2,
921
845
  class: "glim-menu-glyph",
922
846
  "aria-hidden": "true"
923
- }, zi = { class: "glim-menu-label" }, Bi = {
847
+ }, Bi = { class: "glim-menu-label" }, Vi = {
924
848
  key: 3,
925
849
  class: "glim-menu-end glim-menu-caret",
926
850
  "aria-hidden": "true"
927
- }, Vi = {
851
+ }, Hi = {
928
852
  key: 4,
929
853
  class: "glim-menu-end glim-menu-tick",
930
854
  "aria-hidden": "true"
931
- }, Hi = {
855
+ }, Ui = {
932
856
  key: 6,
933
857
  class: "glim-menu-end glim-menu-count glim-num"
934
- }, Ui = /* @__PURE__ */ j({
858
+ }, Wi = /* @__PURE__ */ j({
935
859
  __name: "MenuRows",
936
860
  props: {
937
861
  entries: {},
@@ -939,15 +863,15 @@ 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
- return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", Pi)) : t.kind === "head" ? (R(), E("div", Fi, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(_e, {
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,
952
876
  tip: t.head.edit.tip,
953
877
  role: "menuitem",
@@ -975,23 +899,23 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
975
899
  "data-row": n,
976
900
  onClick: (e) => r("pick", n)
977
901
  }, [
978
- t.view.lead === "box" ? (R(), E("span", Li, [A(G(b))])) : t.view.lead === "dot" ? (R(), E("span", {
902
+ t.view.lead === "box" ? (R(), E("span", Ri, [A(G(b))])) : t.view.lead === "dot" ? (R(), E("span", {
979
903
  key: 1,
980
904
  class: "glim-menu-dot",
981
905
  style: F({ backgroundColor: t.item.color }),
982
906
  "aria-hidden": "true"
983
- }, null, 4)) : (R(), E("span", Ri, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
984
- D("span", zi, W(t.item.label), 1),
985
- t.view.end === "submenu" ? (R(), E("span", Bi, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", Vi, [A(G(b))])) : t.view.end === "shortcut" ? (R(), w(Ni, {
907
+ }, null, 4)) : (R(), E("span", zi, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
908
+ D("span", Bi, W(t.item.label), 1),
909
+ t.view.end === "submenu" ? (R(), E("span", Vi, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", Hi, [A(G(b))])) : t.view.end === "shortcut" ? (R(), w(Pi, {
986
910
  key: 5,
987
911
  class: "glim-menu-end"
988
912
  }, {
989
913
  default: Y(() => [k(W(t.item.shortcut), 1)]),
990
914
  _: 2
991
- }, 1024)) : t.view.end === "count" ? (R(), E("span", Hi, W(t.item.count), 1)) : T("", !0)
992
- ], 10, Ii))], 64))), 128));
915
+ }, 1024)) : t.view.end === "count" ? (R(), E("span", Ui, W(t.item.count), 1)) : T("", !0)
916
+ ], 10, Li))], 64))), 128));
993
917
  }
994
- }), Wi = ["id", "aria-label"], Gi = ["id", "aria-label"], Ki = /* @__PURE__ */ j({
918
+ }), Gi = ["id", "aria-label"], Ki = ["id", "aria-label"], qi = /* @__PURE__ */ j({
995
919
  __name: "ContextMenu",
996
920
  props: {
997
921
  x: {},
@@ -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,
@@ -1106,11 +1030,11 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1106
1030
  onKeydown: n[1] ||= (e) => ee(e, !1),
1107
1031
  onMouseover: te,
1108
1032
  onContextmenu: n[2] ||= X(() => {}, ["prevent"])
1109
- }, [A(Ui, {
1033
+ }, [A(Wi, {
1110
1034
  entries: u.value,
1111
1035
  "open-at": c.value?.at,
1112
1036
  onPick: n[0] ||= (e) => v(u.value, e)
1113
- }, null, 8, ["entries", "open-at"])], 44, Wi), f.value ? (R(), E("div", {
1037
+ }, null, 8, ["entries", "open-at"])], 44, Gi), f.value ? (R(), E("div", {
1114
1038
  key: 0,
1115
1039
  id: d.value?.subId,
1116
1040
  ref_key: "subMenu",
@@ -1124,15 +1048,15 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1124
1048
  }),
1125
1049
  onKeydown: n[4] ||= (e) => ee(e, !0),
1126
1050
  onContextmenu: n[5] ||= X(() => {}, ["prevent"])
1127
- }, [A(Ui, {
1051
+ }, [A(Wi, {
1128
1052
  entries: f.value,
1129
1053
  onPick: n[3] ||= (e) => v(f.value, e)
1130
- }, null, 8, ["entries"])], 44, Gi)) : T("", !0)], 8, ["to"]));
1054
+ }, null, 8, ["entries"])], 44, Ki)) : T("", !0)], 8, ["to"]));
1131
1055
  }
1132
- }), qi = ["value", "aria-label"], Ji = {
1056
+ }), Ji = ["value", "aria-label"], Yi = {
1133
1057
  role: "status",
1134
1058
  class: "glim-sr-only"
1135
- }, Yi = /* @__PURE__ */ j({
1059
+ }, Xi = /* @__PURE__ */ j({
1136
1060
  __name: "CopyField",
1137
1061
  props: {
1138
1062
  value: {},
@@ -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",
@@ -1163,7 +1087,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1163
1087
  "aria-label": G(i),
1164
1088
  spellcheck: "false",
1165
1089
  class: "glim-input glim-input--mono"
1166
- }, null, 8, qi),
1090
+ }, null, 8, Ji),
1167
1091
  A(f, {
1168
1092
  label: a.value ? e.text.copied : e.text.copy,
1169
1093
  "label-key": a.value ? "copied" : "copy",
@@ -1175,27 +1099,27 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1175
1099
  "label-key",
1176
1100
  "glyph"
1177
1101
  ]),
1178
- D("span", Ji, W(a.value ? e.text.copied : ""), 1)
1102
+ D("span", Yi, W(a.value ? e.text.copied : ""), 1)
1179
1103
  ], 2));
1180
1104
  }
1181
- }), Xi = ["data-glim-title"], Zi = { class: "glim-modal-head" }, Qi = {
1105
+ }), Zi = ["data-glim-title"], Qi = { class: "glim-modal-head" }, $i = {
1182
1106
  id: "cryptodonate-title",
1183
1107
  class: "glim-modal-title"
1184
- }, $i = { class: "glim-give-body glim-give-body--scroll" }, ea = { class: "glim-give-appeal" }, ta = { class: "glim-give-intro" }, na = { class: "glim-give-well" }, ra = {
1108
+ }, ea = { class: "glim-give-body glim-give-body--scroll" }, ta = { class: "glim-give-appeal" }, na = { class: "glim-give-intro" }, ra = { class: "glim-give-well" }, ia = {
1185
1109
  dir: "ltr",
1186
1110
  class: "glim-give-address"
1187
- }, ia = ["aria-label"], aa = ["aria-selected", "onClick"], oa = {
1111
+ }, aa = ["aria-label"], oa = ["aria-selected", "onClick"], sa = {
1188
1112
  key: 0,
1189
1113
  class: "glim-give-note"
1190
- }, sa = ["aria-label"], ca = [
1114
+ }, ca = ["aria-label"], la = [
1191
1115
  "aria-selected",
1192
1116
  "aria-label",
1193
1117
  "title",
1194
1118
  "onClick"
1195
- ], la = {
1119
+ ], ua = {
1196
1120
  key: 1,
1197
1121
  class: "glim-give-ticker"
1198
- }, ua = { class: "glim-give-foot" }, da = /* @__PURE__ */ j({
1122
+ }, da = { class: "glim-give-foot" }, fa = /* @__PURE__ */ j({
1199
1123
  __name: "CryptoDonateDialog",
1200
1124
  props: {
1201
1125
  coins: {},
@@ -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
@@ -1239,7 +1163,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1239
1163
  "aria-labelledby": "cryptodonate-title",
1240
1164
  class: "glim-modal-card glim-modal-card--wide"
1241
1165
  }, [
1242
- D("div", Zi, [D("h2", Qi, [A(e, {
1166
+ D("div", Qi, [D("h2", $i, [A(e, {
1243
1167
  tone: "heading",
1244
1168
  size: "heading",
1245
1169
  wrap: ""
@@ -1247,12 +1171,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1247
1171
  default: Y(() => [k(W(t.text.title), 1)]),
1248
1172
  _: 1
1249
1173
  })])]),
1250
- D("div", $i, [
1251
- D("p", ea, W(t.text.appeal), 1),
1252
- D("p", ta, W(t.text.intro), 1),
1253
- D("div", na, [
1174
+ D("div", ea, [
1175
+ D("p", ta, W(t.text.appeal), 1),
1176
+ D("p", na, W(t.text.intro), 1),
1177
+ D("div", ra, [
1254
1178
  V(n.$slots, "qr", { value: t.network.address }),
1255
- D("p", ra, W(t.network.address), 1),
1179
+ D("p", ia, W(t.network.address), 1),
1256
1180
  D("div", {
1257
1181
  class: "glim-give-networks",
1258
1182
  role: "listbox",
@@ -1262,11 +1186,11 @@ 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
- }, W(e.name), 15, aa))), 128))], 8, ia),
1269
- t.network.note ? (R(), E("p", oa, W(t.network.note), 1)) : T("", !0),
1192
+ }, W(e.name), 15, oa))), 128))], 8, aa),
1193
+ t.network.note ? (R(), E("p", sa, W(t.network.note), 1)) : T("", !0),
1270
1194
  A(f, {
1271
1195
  label: t.text.copyLabel,
1272
1196
  "label-key": "common.copy",
@@ -1289,17 +1213,17 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1289
1213
  style: F(d(e, r)),
1290
1214
  class: P(p(e)),
1291
1215
  onClick: (t) => a("pick", e, e.networks[0])
1292
- }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", la, W(e.symbol), 1)) : T("", !0)], 14, ca))), 128))], 8, sa)
1216
+ }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", ua, W(e.symbol), 1)) : T("", !0)], 14, la))), 128))], 8, ca)
1293
1217
  ]),
1294
- D("div", ua, [A(f, {
1218
+ D("div", da, [A(f, {
1295
1219
  label: t.text.closeLabel,
1296
1220
  "label-key": "common.close",
1297
1221
  tone: "neutral",
1298
1222
  onClick: r[1] ||= (e) => a("close")
1299
1223
  }, null, 8, ["label"])])
1300
- ], 8, Xi)]));
1224
+ ], 8, Zi)]));
1301
1225
  }
1302
- }), fa = ["aria-multiselectable", "aria-label"], pa = 4, ma = /* @__PURE__ */ j({
1226
+ }), pa = ["aria-multiselectable", "aria-label"], ma = 4, ha = /* @__PURE__ */ j({
1303
1227
  __name: "DropdownListbox",
1304
1228
  props: {
1305
1229
  open: { type: Boolean },
@@ -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,10 +1248,10 @@ 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
- }, r, pa);
1254
+ }, r, ma);
1331
1255
  a.value = {
1332
1256
  left: o,
1333
1257
  top: s,
@@ -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,
@@ -1408,16 +1332,16 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1408
1332
  ...G(o).style.value
1409
1333
  }),
1410
1334
  onKeydown: g
1411
- }, [V(t.$slots, "default")], 46, fa)], 8, ["to"])) : T("", !0);
1335
+ }, [V(t.$slots, "default")], 46, pa)], 8, ["to"])) : T("", !0);
1412
1336
  }
1413
- }), ha = ["data-glim-title"], ga = {
1337
+ }), ga = ["data-glim-title"], _a = {
1414
1338
  key: 0,
1415
1339
  class: "glim-empty-glyph",
1416
1340
  "aria-hidden": "true"
1417
- }, _a = { class: "glim-empty-title" }, va = {
1341
+ }, va = { class: "glim-empty-title" }, ya = {
1418
1342
  key: 1,
1419
1343
  class: "glim-empty-hint"
1420
- }, ya = /* @__PURE__ */ j({
1344
+ }, ba = /* @__PURE__ */ j({
1421
1345
  __name: "EmptyState",
1422
1346
  props: {
1423
1347
  glyph: {},
@@ -1434,13 +1358,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1434
1358
  "data-glim-title": e.title,
1435
1359
  class: P(e.nested ? "glim-empty" : "glim-card glim-empty")
1436
1360
  }, [
1437
- e.glyph ? (R(), E("span", ga, [(R(), w(H(e.glyph)))])) : T("", !0),
1438
- D("p", _a, W(e.title), 1),
1439
- e.hint ? (R(), E("p", va, W(e.hint), 1)) : T("", !0),
1361
+ e.glyph ? (R(), E("span", _a, [(R(), w(H(e.glyph)))])) : T("", !0),
1362
+ D("p", va, W(e.title), 1),
1363
+ e.hint ? (R(), E("p", ya, W(e.hint), 1)) : T("", !0),
1440
1364
  V(t.$slots, "default")
1441
- ], 10, ha));
1365
+ ], 10, ga));
1442
1366
  }
1443
- }), ba = ["id"], xa = /* @__PURE__ */ j({
1367
+ }), xa = ["id"], Sa = /* @__PURE__ */ j({
1444
1368
  __name: "FieldError",
1445
1369
  props: { id: {} },
1446
1370
  setup(e) {
@@ -1448,22 +1372,22 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1448
1372
  "data-glim": "FieldError",
1449
1373
  id: e.id,
1450
1374
  class: "glim-field-error"
1451
- }, [A(G(p), { mark: G(Xe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, ba));
1375
+ }, [A(G(p), { mark: G(Xe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, xa));
1452
1376
  }
1453
- }), Sa = /* @__PURE__ */ j({
1377
+ }), Ca = /* @__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)
1461
1385
  }, [V(e.$slots, "default")], 2));
1462
1386
  }
1463
- }), Ca = { class: "glim-field-row-name" }, wa = {
1387
+ }), wa = { class: "glim-field-row-name" }, Ta = {
1464
1388
  key: 0,
1465
1389
  class: "glim-field-row-controls"
1466
- }, Ta = /* @__PURE__ */ j({
1390
+ }, Ea = /* @__PURE__ */ j({
1467
1391
  __name: "FieldRow",
1468
1392
  props: {
1469
1393
  label: {},
@@ -1481,20 +1405,20 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1481
1405
  ref: r,
1482
1406
  "data-glim": "FieldRow",
1483
1407
  class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
1484
- }, [D("span", Ca, [D("span", {
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
1490
- }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", wa, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Sa, {
1414
+ }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", Ta, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Ca, {
1491
1415
  key: 0,
1492
1416
  class: "glim-num",
1493
1417
  tone: e.tone
1494
1418
  }, {
1495
1419
  default: Y(() => [k(W(e.value), 1)]),
1496
1420
  _: 1
1497
- }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Sa, {
1421
+ }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Ca, {
1498
1422
  key: 0,
1499
1423
  class: "glim-num",
1500
1424
  tone: e.tone
@@ -1503,7 +1427,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1503
1427
  _: 1
1504
1428
  }, 8, ["tone"]))], void 0, 1)], 2));
1505
1429
  }
1506
- }), Ea = /* @__PURE__ */ j({
1430
+ }), Da = /* @__PURE__ */ j({
1507
1431
  __name: "FieldRowGroup",
1508
1432
  props: { columns: {} },
1509
1433
  setup(e) {
@@ -1513,13 +1437,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1513
1437
  style: F(e.columns ? { "--field-columns": e.columns } : void 0)
1514
1438
  }, [V(t.$slots, "default")], 4));
1515
1439
  }
1516
- }), Da = {
1440
+ }), Oa = {
1517
1441
  key: 0,
1518
1442
  class: "glim-modal-foot"
1519
- }, Oa = {
1443
+ }, ka = {
1520
1444
  key: 0,
1521
1445
  class: "glim-window-start"
1522
- }, ka = { class: "glim-window-actions" }, Aa = /* @__PURE__ */ j({
1446
+ }, Aa = { class: "glim-window-actions" }, ja = /* @__PURE__ */ j({
1523
1447
  __name: "WindowFootRow",
1524
1448
  props: {
1525
1449
  actions: {},
@@ -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",
@@ -1546,7 +1470,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1546
1470
  function a(e) {
1547
1471
  e.onClick?.() !== !1 && r("close");
1548
1472
  }
1549
- return (t, n) => i.value.length ? (R(), E("div", Da, [e.hasStart ? (R(), E("span", Oa, [V(t.$slots, "start", {}, () => [k(W(e.start), 1)])])) : T("", !0), D("div", ka, [(R(!0), E(S, null, B(i.value, (e, t) => (R(), w(f, N({ ref_for: !0 }, e.attrs, {
1473
+ return (t, n) => i.value.length ? (R(), E("div", Oa, [e.hasStart ? (R(), E("span", ka, [V(t.$slots, "start", {}, () => [k(W(e.start), 1)])])) : T("", !0), D("div", Aa, [(R(!0), E(S, null, B(i.value, (e, t) => (R(), w(f, N({ ref_for: !0 }, e.attrs, {
1550
1474
  key: t,
1551
1475
  label: e.label,
1552
1476
  "label-key": e.labelKey,
@@ -1567,11 +1491,11 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1567
1491
  "onClick"
1568
1492
  ]))), 128))])])) : T("", !0);
1569
1493
  }
1570
- }), ja = [
1494
+ }), Ma = [
1571
1495
  "data-glim-title",
1572
1496
  "aria-labelledby",
1573
1497
  "aria-label"
1574
- ], Ma = ["id"], Na = { class: "glim-modal-body glim-window-body" }, Pa = /* @__PURE__ */ j({
1498
+ ], Na = ["id"], Pa = { class: "glim-modal-body glim-window-body" }, Fa = /* @__PURE__ */ j({
1575
1499
  inheritAttrs: !1,
1576
1500
  __name: "Window",
1577
1501
  props: {
@@ -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({
@@ -1629,9 +1553,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1629
1553
  }, {
1630
1554
  default: Y(() => [V(n.$slots, "title", {}, () => [k(W(t.title), 1)])]),
1631
1555
  _: 3
1632
- })], 8, Ma),
1633
- D("div", Na, [V(n.$slots, "default")]),
1634
- A(Aa, {
1556
+ })], 8, Na),
1557
+ D("div", Pa, [V(n.$slots, "default")]),
1558
+ A(ja, {
1635
1559
  actions: t.actions,
1636
1560
  start: t.start,
1637
1561
  "has-start": u.value,
@@ -1647,9 +1571,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1647
1571
  "has-start",
1648
1572
  "text"
1649
1573
  ])
1650
- ], 16, ja)], 32)], 8, ["to"]));
1574
+ ], 16, Ma)], 32)], 8, ["to"]));
1651
1575
  }
1652
- }), Fa = { class: "glim-fortress-text" }, Ia = /* @__PURE__ */ j({
1576
+ }), Ia = { class: "glim-fortress-text" }, La = /* @__PURE__ */ j({
1653
1577
  __name: "FortressDoubtWindow",
1654
1578
  props: {
1655
1579
  app: {},
@@ -1659,14 +1583,14 @@ 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,
1666
1590
  attrs: { "data-fortress": "open-anyway" },
1667
1591
  onClick: () => t.onOpen()
1668
1592
  }]);
1669
- return (t, i) => (R(), w(Pa, {
1593
+ return (t, i) => (R(), w(Fa, {
1670
1594
  "data-glim": "FortressDoubtWindow",
1671
1595
  title: n.value.title,
1672
1596
  actions: r.value,
@@ -1676,7 +1600,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1676
1600
  },
1677
1601
  onClose: i[0] ||= (t) => e.onClose()
1678
1602
  }, {
1679
- default: Y(() => [D("div", Fa, [D("p", null, W(n.value.body), 1)])]),
1603
+ default: Y(() => [D("div", Ia, [D("p", null, W(n.value.body), 1)])]),
1680
1604
  _: 1
1681
1605
  }, 8, [
1682
1606
  "title",
@@ -1684,32 +1608,32 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1684
1608
  "text"
1685
1609
  ]));
1686
1610
  }
1687
- }), La = ["data-glim-title"], Ra = { class: "glim-instance-top" }, za = {
1611
+ }), Ra = ["data-glim-title"], za = { class: "glim-instance-top" }, Ba = {
1688
1612
  key: 0,
1689
1613
  class: "glim-instance-mark",
1690
1614
  "aria-hidden": "true"
1691
- }, Ba = ["src"], Va = { class: "glim-instance-main" }, Ha = { class: "glim-instance-name" }, Ua = { class: "glim-instance-title" }, Wa = {
1615
+ }, Va = ["src"], Ha = { class: "glim-instance-main" }, Ua = { class: "glim-instance-name" }, Wa = { class: "glim-instance-title" }, Ga = {
1692
1616
  key: 0,
1693
1617
  class: "glim-instance-badges"
1694
- }, Ga = {
1618
+ }, Ka = {
1695
1619
  key: 0,
1696
1620
  class: "glim-eyebrow"
1697
- }, Ka = {
1621
+ }, qa = {
1698
1622
  key: 1,
1699
1623
  class: "glim-instance-facts glim-num"
1700
- }, qa = {
1624
+ }, Ja = {
1701
1625
  key: 2,
1702
1626
  class: "glim-instance-figures"
1703
- }, Ja = { class: "glim-num" }, Ya = {
1627
+ }, Ya = { class: "glim-num" }, Xa = {
1704
1628
  key: 3,
1705
1629
  class: "glim-instance-acts"
1706
- }, Xa = {
1630
+ }, Za = {
1707
1631
  key: 0,
1708
1632
  class: "glim-instance-body"
1709
- }, Za = {
1633
+ }, Qa = {
1710
1634
  key: 1,
1711
1635
  class: "glim-instance-acts"
1712
- }, Qa = /* @__PURE__ */ j({
1636
+ }, $a = /* @__PURE__ */ j({
1713
1637
  __name: "InstanceCard",
1714
1638
  props: {
1715
1639
  logo: {},
@@ -1720,34 +1644,34 @@ 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,
1727
1651
  class: P(["glim-card glim-instance", e.hueIndex !== void 0 && "glim-hue"]),
1728
1652
  style: F(r.value)
1729
1653
  }, [
1730
- D("div", Ra, [t.$slots.logo ? (R(), E("span", za, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1654
+ D("div", za, [t.$slots.logo ? (R(), E("span", Ba, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1731
1655
  key: 1,
1732
1656
  class: "glim-instance-mark",
1733
1657
  src: e.logo,
1734
1658
  alt: "",
1735
1659
  draggable: "false"
1736
- }, null, 8, Ba)) : T("", !0), D("div", Va, [
1737
- D("div", Ha, [D("h3", Ua, W(e.name), 1), t.$slots.badges ? (R(), E("span", Wa, [V(t.$slots, "badges")])) : T("", !0)]),
1738
- e.eyebrow ? (R(), E("span", Ga, W(e.eyebrow), 1)) : T("", !0),
1739
- n.value ? (R(), E("p", Ka, W(n.value), 1)) : T("", !0),
1740
- e.figures?.length ? (R(), E("dl", qa, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", Ja, W(e.value), 1)]))), 128))])) : T("", !0),
1741
- t.$slots.actions && !t.$slots.default ? (R(), E("div", Ya, [V(t.$slots, "actions")])) : T("", !0)
1660
+ }, null, 8, Va)) : T("", !0), D("div", Ha, [
1661
+ D("div", Ua, [D("h3", Wa, W(e.name), 1), t.$slots.badges ? (R(), E("span", Ga, [V(t.$slots, "badges")])) : T("", !0)]),
1662
+ e.eyebrow ? (R(), E("span", Ka, W(e.eyebrow), 1)) : T("", !0),
1663
+ n.value ? (R(), E("p", qa, W(n.value), 1)) : T("", !0),
1664
+ e.figures?.length ? (R(), E("dl", Ja, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", Ya, W(e.value), 1)]))), 128))])) : T("", !0),
1665
+ t.$slots.actions && !t.$slots.default ? (R(), E("div", Xa, [V(t.$slots, "actions")])) : T("", !0)
1742
1666
  ])]),
1743
- t.$slots.default ? (R(), E("div", Xa, [V(t.$slots, "default")])) : T("", !0),
1744
- t.$slots.actions && t.$slots.default ? (R(), E("div", Za, [V(t.$slots, "actions")])) : T("", !0)
1745
- ], 14, La));
1667
+ t.$slots.default ? (R(), E("div", Za, [V(t.$slots, "default")])) : T("", !0),
1668
+ t.$slots.actions && t.$slots.default ? (R(), E("div", Qa, [V(t.$slots, "actions")])) : T("", !0)
1669
+ ], 14, Ra));
1746
1670
  }
1747
- }), $a = {
1671
+ }), eo = {
1748
1672
  "data-glim": "PresenceBadges",
1749
1673
  style: { display: "contents" }
1750
- }, eo = /* @__PURE__ */ j({
1674
+ }, to = /* @__PURE__ */ j({
1751
1675
  __name: "PresenceBadges",
1752
1676
  props: {
1753
1677
  instance: {},
@@ -1759,24 +1683,24 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1759
1683
  checking: n.text.checking,
1760
1684
  away: n.text.away
1761
1685
  })[n.instance.presence];
1762
- return (n, i) => (R(), E("span", $a, [t.instance.relay ? (R(), w(e, { key: 0 }, {
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"])]));
1769
1693
  }
1770
1694
  });
1771
1695
  // src/fortressParts.ts
1772
- function to(e) {
1696
+ function no(e) {
1773
1697
  return e ? me(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
1774
1698
  }
1775
1699
  // src/FortressAppCard.vue?vue&type=script&setup=true&lang.ts
1776
- var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1700
+ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
1777
1701
  class: "glim-instance-device",
1778
1702
  "aria-hidden": "true"
1779
- }, ao = { class: "glim-instance-row-text" }, oo = { class: "glim-instance-row-name" }, so = { class: "glim-instance-row-sub glim-num" }, co = { class: "glim-instance-row-end" }, lo = /* @__PURE__ */ j({
1703
+ }, oo = { class: "glim-instance-row-text" }, so = { class: "glim-instance-row-name" }, co = { class: "glim-instance-row-sub glim-num" }, lo = { class: "glim-instance-row-end" }, uo = /* @__PURE__ */ j({
1780
1704
  inheritAttrs: !1,
1781
1705
  __name: "FortressAppCard",
1782
1706
  props: {
@@ -1793,11 +1717,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1793
1717
  connected: n.text.connected,
1794
1718
  checking: n.text.checking,
1795
1719
  away: n.text.away
1796
- })[e.presence], o = (e) => to(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
- return (n, p) => (R(), E(S, null, [A(Qa, N(n.$attrs, {
1724
+ return (n, p) => (R(), E(S, null, [A($a, N(n.$attrs, {
1801
1725
  "data-glim": "FortressAppCard",
1802
1726
  "data-fortress-app": t.app.id,
1803
1727
  logo: t.app.logo,
@@ -1824,7 +1748,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1824
1748
  default: Y(() => [k(W(r.value.needs), 1)]),
1825
1749
  _: 1
1826
1750
  })) : T("", !0),
1827
- A(eo, {
1751
+ A(to, {
1828
1752
  instance: r.value.main,
1829
1753
  text: t.text
1830
1754
  }, null, 8, ["instance", "text"])
@@ -1832,15 +1756,15 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1832
1756
  _: 2
1833
1757
  }, [i.value ? void 0 : {
1834
1758
  name: "default",
1835
- fn: Y(() => [D("ul", no, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1759
+ fn: Y(() => [D("ul", ro, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1836
1760
  key: n.id,
1837
1761
  class: "glim-instance-row",
1838
1762
  "data-instance": n.id
1839
1763
  }, [
1840
- D("span", io, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1841
- D("span", ao, [D("span", oo, W(n.device), 1), D("span", so, W(r), 1)]),
1842
- D("span", co, [
1843
- A(e, { tone: G(bn)(n.presence) }, {
1764
+ D("span", ao, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1765
+ D("span", oo, [D("span", so, W(n.device), 1), D("span", co, W(r), 1)]),
1766
+ D("span", lo, [
1767
+ A(e, { tone: G(Tn)(n.presence) }, {
1844
1768
  default: Y(() => [k(W(a(n)), 1)]),
1845
1769
  _: 2
1846
1770
  }, 1032, ["tone"]),
@@ -1876,7 +1800,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1876
1800
  "onClick"
1877
1801
  ])) : T("", !0)
1878
1802
  ])
1879
- ], 8, ro))), 128))])]),
1803
+ ], 8, io))), 128))])]),
1880
1804
  key: "0"
1881
1805
  }, l.value ? {
1882
1806
  name: "actions",
@@ -1907,12 +1831,12 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1907
1831
  "eyebrow",
1908
1832
  "facts",
1909
1833
  "hue-index"
1910
- ]), u.value ? (R(), w(Ia, {
1834
+ ]), u.value ? (R(), w(La, {
1911
1835
  key: 0,
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",
@@ -1922,14 +1846,14 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1922
1846
  "on-close"
1923
1847
  ])) : T("", !0)], 64));
1924
1848
  }
1925
- }), uo = [
1849
+ }), fo = [
1926
1850
  "href",
1927
1851
  "data-sel-id",
1928
1852
  "aria-selected",
1929
1853
  "aria-current",
1930
1854
  "aria-describedby",
1931
1855
  "tabindex"
1932
- ], fo = [
1856
+ ], po = [
1933
1857
  "data-sel-id",
1934
1858
  "id",
1935
1859
  "role",
@@ -1942,7 +1866,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
1942
1866
  "aria-hidden",
1943
1867
  "disabled",
1944
1868
  "tabindex"
1945
- ], po = ["id"], mo = /* @__PURE__ */ j({
1869
+ ], mo = ["id"], ho = /* @__PURE__ */ j({
1946
1870
  __name: "SelectorSegment",
1947
1871
  props: {
1948
1872
  item: {},
@@ -1966,7 +1890,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,
@@ -2016,7 +1940,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2016
1940
  key: 1,
2017
1941
  "data-sel-label": "",
2018
1942
  class: P(s.value.labelClass)
2019
- }, W(e.item.label), 3))], 16, uo)) : (R(), E(S, { key: 1 }, [A(G(r), N({
1943
+ }, W(e.item.label), 3))], 16, fo)) : (R(), E(S, { key: 1 }, [A(G(r), N({
2020
1944
  on: u.value,
2021
1945
  show: G(c).show,
2022
1946
  hide: G(c).hide
@@ -2025,7 +1949,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,
@@ -2047,7 +1971,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2047
1971
  key: 1,
2048
1972
  "data-sel-label": "",
2049
1973
  class: P(s.value.labelClass)
2050
- }, W(e.item.label), 3))], 16, fo)]),
1974
+ }, W(e.item.label), 3))], 16, po)]),
2051
1975
  _: 1
2052
1976
  }, 16, [
2053
1977
  "on",
@@ -2057,16 +1981,16 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2057
1981
  key: 0,
2058
1982
  id: G(l),
2059
1983
  hidden: ""
2060
- }, W(s.value.tip), 9, po)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
1984
+ }, W(s.value.tip), 9, mo)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
2061
1985
  }
2062
- }), ho = [
1986
+ }), go = [
2063
1987
  "role",
2064
1988
  "aria-label",
2065
1989
  "aria-orientation"
2066
- ], go = {
1990
+ ], _o = {
2067
1991
  key: 0,
2068
1992
  class: "glim-sel-list"
2069
- }, _o = /* @__PURE__ */ j({
1993
+ }, vo = /* @__PURE__ */ j({
2070
1994
  __name: "Selector",
2071
1995
  props: {
2072
1996
  items: {},
@@ -2112,10 +2036,10 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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);
@@ -2206,7 +2130,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2206
2130
  class: P([d.value.className, { "glim-sel--listed": v.value }]),
2207
2131
  style: F(_.value.track),
2208
2132
  onKeydown: oe
2209
- }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(mo, {
2133
+ }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(ho, {
2210
2134
  key: t.id,
2211
2135
  item: t,
2212
2136
  index: n,
@@ -2247,7 +2171,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2247
2171
  "hue-offset",
2248
2172
  "panel-id",
2249
2173
  "onSelect"
2250
- ]))), 128)), v.value ? (R(), E("div", go, [A(xe, {
2174
+ ]))), 128)), v.value ? (R(), E("div", _o, [A(xe, {
2251
2175
  "model-value": te.value,
2252
2176
  label: G(o) ?? "",
2253
2177
  "hide-label": "",
@@ -2263,18 +2187,18 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2263
2187
  "size",
2264
2188
  "options",
2265
2189
  "disabled"
2266
- ])])) : T("", !0)], 46, ho));
2190
+ ])])) : T("", !0)], 46, go));
2267
2191
  }
2268
- }), vo = {
2192
+ }), yo = {
2269
2193
  key: 0,
2270
2194
  class: "glim-toggle-label"
2271
- }, yo = [
2195
+ }, bo = [
2272
2196
  "aria-checked",
2273
2197
  "aria-label",
2274
2198
  "aria-disabled",
2275
2199
  "aria-describedby",
2276
2200
  "disabled"
2277
- ], bo = ["id"], xo = /* @__PURE__ */ j({
2201
+ ], xo = ["id"], So = /* @__PURE__ */ j({
2278
2202
  inheritAttrs: !1,
2279
2203
  __name: "Toggle",
2280
2204
  props: /*@__PURE__*/ M({
@@ -2300,7 +2224,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", {
@@ -2309,7 +2233,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2309
2233
  "data-glim": "Toggle",
2310
2234
  class: P(["glim-toggle", n.$attrs.class]),
2311
2235
  style: F(n.$attrs.style)
2312
- }, [o.value ? (R(), E("span", vo, W(e.label), 1)) : T("", !0), D("button", N({
2236
+ }, [o.value ? (R(), E("span", yo, W(e.label), 1)) : T("", !0), D("button", N({
2313
2237
  ...n.$attrs,
2314
2238
  class: void 0,
2315
2239
  style: void 0
@@ -2328,25 +2252,25 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2328
2252
  onMouseleave: r[1] ||= (...e) => G(s).hide && G(s).hide(...e),
2329
2253
  onFocus: r[2] ||= (...e) => G(s).showOnFocus && G(s).showOnFocus(...e),
2330
2254
  onBlur: r[3] ||= (...e) => G(s).hide && G(s).hide(...e)
2331
- }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, yo)], 6),
2255
+ }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, bo)], 6),
2332
2256
  e.refused ? (R(), E("span", {
2333
2257
  key: 0,
2334
2258
  id: G(c),
2335
2259
  class: "glim-toggle-refusal"
2336
- }, W(e.refused), 9, bo)) : T("", !0),
2260
+ }, W(e.refused), 9, xo)) : T("", !0),
2337
2261
  A(t, { state: G(s) }, null, 8, ["state"])
2338
2262
  ], 64));
2339
2263
  }
2340
- }), So = {
2264
+ }), Co = {
2341
2265
  key: 0,
2342
2266
  class: "glim-fortress-sub"
2343
- }, Co = { class: "glim-permissions" }, wo = ["data-permission"], To = {
2267
+ }, wo = { class: "glim-permissions" }, To = ["data-permission"], Eo = {
2344
2268
  class: "glim-permission-pair",
2345
2269
  "aria-hidden": "true"
2346
- }, Eo = ["src"], Do = { class: "glim-permission-to" }, Oo = ["src"], ko = { class: "glim-permission-text" }, Ao = { class: "glim-permission-title" }, jo = {
2270
+ }, Do = ["src"], Oo = { class: "glim-permission-to" }, ko = ["src"], Ao = { class: "glim-permission-text" }, jo = { class: "glim-permission-title" }, Mo = {
2347
2271
  key: 0,
2348
2272
  class: "glim-fortress-sub"
2349
- }, Mo = /* @__PURE__ */ j({
2273
+ }, No = /* @__PURE__ */ j({
2350
2274
  __name: "FortressPermissions",
2351
2275
  props: {
2352
2276
  text: {},
@@ -2358,7 +2282,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,15 +2297,15 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,
2382
2306
  "hue-index": e.hueIndex
2383
2307
  }, {
2384
- default: Y(() => [e.permissions.length === 0 ? (R(), E("p", So, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(_o, {
2308
+ default: Y(() => [e.permissions.length === 0 ? (R(), E("p", Co, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(vo, {
2385
2309
  key: 0,
2386
2310
  modelValue: n.value,
2387
2311
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
@@ -2393,35 +2317,35 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2393
2317
  "modelValue",
2394
2318
  "label",
2395
2319
  "items"
2396
- ])) : T("", !0), D("ul", Co, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2320
+ ])) : T("", !0), D("ul", wo, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2397
2321
  key: e.id,
2398
2322
  class: P(["glim-permission", e.on && "glim-permission--on"]),
2399
2323
  "data-permission": e.id
2400
2324
  }, [
2401
- D("span", To, [
2325
+ D("span", Eo, [
2402
2326
  s(e.from) ? (R(), E("img", {
2403
2327
  key: 0,
2404
2328
  src: s(e.from),
2405
2329
  alt: "",
2406
2330
  draggable: "false"
2407
- }, null, 8, Eo)) : T("", !0),
2331
+ }, null, 8, Do)) : T("", !0),
2408
2332
  A(G(p), {
2409
2333
  mark: G(qe).expand,
2410
2334
  class: "glim-permission-arrow"
2411
2335
  }, null, 8, ["mark"]),
2412
- D("span", Do, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2336
+ D("span", Oo, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2413
2337
  key: 0,
2414
2338
  src: s(e),
2415
2339
  alt: "",
2416
2340
  draggable: "false"
2417
- }, null, 8, Oo)) : T("", !0)], 64))), 128))])
2341
+ }, null, 8, ko)) : T("", !0)], 64))), 128))])
2418
2342
  ]),
2419
- D("span", ko, [
2420
- D("span", Ao, W(e.title), 1),
2421
- e.detail ? (R(), E("span", jo, W(e.detail), 1)) : T("", !0),
2343
+ D("span", Ao, [
2344
+ D("span", jo, W(e.title), 1),
2345
+ e.detail ? (R(), E("span", Mo, W(e.detail), 1)) : T("", !0),
2422
2346
  V(t.$slots, "extra", { permission: e })
2423
2347
  ]),
2424
- A(xo, {
2348
+ A(So, {
2425
2349
  "model-value": e.on,
2426
2350
  label: e.title,
2427
2351
  "hide-label": "",
@@ -2431,7 +2355,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2431
2355
  "label",
2432
2356
  "onUpdate:modelValue"
2433
2357
  ])
2434
- ], 10, wo))), 128))])], 64))]),
2358
+ ], 10, To))), 128))])], 64))]),
2435
2359
  _: 3
2436
2360
  }, 8, [
2437
2361
  "title",
@@ -2439,26 +2363,26 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2439
2363
  "hue-index"
2440
2364
  ]));
2441
2365
  }
2442
- }), No = [
2366
+ }), Po = [
2443
2367
  "autocomplete",
2444
2368
  "aria-label",
2445
2369
  "aria-invalid",
2446
2370
  "aria-describedby",
2447
2371
  "disabled",
2448
2372
  "type"
2449
- ], Po = {
2373
+ ], Fo = {
2450
2374
  key: 1,
2451
2375
  class: "glim-secret-confirm"
2452
- }, Fo = ["for"], Io = { class: "glim-secret" }, Lo = [
2376
+ }, Io = ["for"], Lo = { class: "glim-secret" }, Ro = [
2453
2377
  "id",
2454
2378
  "aria-invalid",
2455
2379
  "aria-describedby",
2456
2380
  "disabled",
2457
2381
  "type"
2458
- ], Ro = {
2382
+ ], zo = {
2459
2383
  "aria-live": "polite",
2460
2384
  class: "glim-secret-confirm-live"
2461
- }, zo = /* @__PURE__ */ j({
2385
+ }, Bo = /* @__PURE__ */ j({
2462
2386
  inheritAttrs: !1,
2463
2387
  __name: "PasswordField",
2464
2388
  props: /*@__PURE__*/ M({
@@ -2483,7 +2407,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 });
@@ -2514,7 +2438,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2514
2438
  disabled: e.disabled,
2515
2439
  type: s.value ? "text" : "password",
2516
2440
  class: "glim-input"
2517
- }), null, 16, No), [[Fe, i.value]]), A(_e, N(e.eyeAttrs, {
2441
+ }), null, 16, Po), [[Fe, i.value]]), A(_e, N(e.eyeAttrs, {
2518
2442
  tip: s.value ? o.value.hide : o.value.show,
2519
2443
  class: "glim-secret-eye",
2520
2444
  disabled: e.disabled,
@@ -2523,17 +2447,17 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2523
2447
  default: Y(() => [(R(), w(H(s.value ? G(ie) : G(ee))))]),
2524
2448
  _: 1
2525
2449
  }, 16, ["tip", "disabled"])], 6),
2526
- h.value.errorId ? (R(), w(xa, {
2450
+ h.value.errorId ? (R(), w(Sa, {
2527
2451
  key: 0,
2528
2452
  id: h.value.errorId
2529
2453
  }, {
2530
2454
  default: Y(() => [k(W(e.error), 1)]),
2531
2455
  _: 1
2532
2456
  }, 8, ["id"])) : T("", !0),
2533
- e.confirm && g.value.shown ? (R(), E("span", Po, [D("label", {
2457
+ e.confirm && g.value.shown ? (R(), E("span", Fo, [D("label", {
2534
2458
  for: `${m.value}-confirm`,
2535
2459
  class: "glim-secret-confirm-label"
2536
- }, W(o.value.confirm), 9, Fo), D("span", { class: P(["glim-secret-confirm-box", f.value]) }, [D("span", Io, [ze(D("input", {
2460
+ }, W(o.value.confirm), 9, Io), D("span", { class: P(["glim-secret-confirm-box", f.value]) }, [D("span", Lo, [ze(D("input", {
2537
2461
  id: `${m.value}-confirm`,
2538
2462
  "onUpdate:modelValue": n[2] ||= (e) => l.value = e,
2539
2463
  autocomplete: "new-password",
@@ -2543,7 +2467,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2543
2467
  disabled: e.disabled,
2544
2468
  type: c.value ? "text" : "password",
2545
2469
  class: "glim-input"
2546
- }, null, 8, Lo), [[Fe, l.value]]), A(_e, {
2470
+ }, null, 8, Ro), [[Fe, l.value]]), A(_e, {
2547
2471
  tip: c.value ? o.value.hide : o.value.show,
2548
2472
  class: "glim-secret-eye",
2549
2473
  disabled: e.disabled,
@@ -2551,7 +2475,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2551
2475
  }, {
2552
2476
  default: Y(() => [(R(), w(H(c.value ? G(ie) : G(ee))))]),
2553
2477
  _: 1
2554
- }, 8, ["tip", "disabled"])]), D("span", Ro, [_.value.errorId ? (R(), w(xa, {
2478
+ }, 8, ["tip", "disabled"])]), D("span", zo, [_.value.errorId ? (R(), w(Sa, {
2555
2479
  key: 0,
2556
2480
  id: _.value.errorId
2557
2481
  }, {
@@ -2560,67 +2484,67 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2560
2484
  }, 8, ["id"])) : T("", !0)])], 2)])) : T("", !0)
2561
2485
  ], 64));
2562
2486
  }
2563
- }), Bo = { class: "glim-phrase-fields" }, Vo = { class: "glim-phrase-number glim-num" }, Ho = [
2487
+ }), Vo = { class: "glim-phrase-fields" }, Ho = { class: "glim-phrase-number glim-num" }, Uo = [
2564
2488
  "data-word",
2565
2489
  "value",
2566
2490
  "aria-label",
2567
2491
  "onInput"
2568
- ], Uo = { class: "glim-fortress-sub" }, Wo = {
2492
+ ], Wo = { class: "glim-fortress-sub" }, Go = {
2569
2493
  key: 0,
2570
2494
  class: "glim-fortress-note",
2571
2495
  "data-fortress": "moves"
2572
- }, Go = {
2496
+ }, Ko = {
2573
2497
  key: 1,
2574
2498
  class: "glim-fortress-error",
2575
2499
  role: "alert"
2576
- }, Ko = {
2500
+ }, qo = {
2577
2501
  key: 1,
2578
2502
  class: "glim-fortress-result"
2579
- }, qo = {
2503
+ }, Jo = {
2580
2504
  class: "glim-fortress-result-mark",
2581
2505
  "aria-hidden": "true"
2582
- }, Jo = { class: "glim-fortress-text" }, Yo = { class: "glim-fortress-result-title" }, Xo = { class: "glim-fortress-sub" }, Zo = {
2506
+ }, Yo = { class: "glim-fortress-text" }, Xo = { class: "glim-fortress-result-title" }, Zo = { class: "glim-fortress-sub" }, Qo = {
2583
2507
  key: 2,
2584
2508
  class: "glim-fortress-text"
2585
- }, Qo = { class: "glim-fortress-sub" }, $o = {
2509
+ }, $o = { class: "glim-fortress-sub" }, es = {
2586
2510
  key: 0,
2587
2511
  class: "glim-fortress-error",
2588
2512
  role: "alert"
2589
- }, es = {
2513
+ }, ts = {
2590
2514
  key: 3,
2591
2515
  class: "glim-fortress-text"
2592
- }, ts = { class: "glim-fortress-sub" }, ns = {
2516
+ }, ns = { class: "glim-fortress-sub" }, rs = {
2593
2517
  key: 0,
2594
2518
  class: "glim-fortress-error",
2595
2519
  role: "alert"
2596
- }, rs = {
2520
+ }, is = {
2597
2521
  key: 4,
2598
2522
  class: "glim-fortress-text"
2599
- }, is = {
2523
+ }, as = {
2600
2524
  key: 0,
2601
2525
  class: "glim-fortress-error",
2602
2526
  role: "alert"
2603
- }, as = {
2527
+ }, os = {
2604
2528
  key: 0,
2605
2529
  class: "glim-fortress-error",
2606
2530
  role: "alert"
2607
- }, os = {
2531
+ }, ss = {
2608
2532
  key: 6,
2609
2533
  class: "glim-fortress-text"
2610
- }, ss = { class: "glim-fortress-sub" }, cs = {
2534
+ }, cs = { class: "glim-fortress-sub" }, ls = {
2611
2535
  key: 0,
2612
2536
  class: "glim-fortress-error",
2613
2537
  role: "alert"
2614
- }, ls = {
2538
+ }, us = {
2615
2539
  key: 7,
2616
2540
  class: "glim-fortress-text"
2617
- }, us = { class: "glim-phrase-show" }, ds = {
2541
+ }, ds = { class: "glim-phrase-show" }, fs = {
2618
2542
  class: "glim-phrase-words",
2619
2543
  "data-fortress": "words"
2620
- }, fs = { class: "glim-phrase-number glim-num" }, ps = ["aria-label", "viewBox"], ms = ["width", "height"], hs = ["d"], gs = { class: "glim-phrase-scan" }, _s = {
2544
+ }, ps = { class: "glim-phrase-number glim-num" }, ms = ["aria-label", "viewBox"], hs = ["width", "height"], gs = ["d"], _s = { class: "glim-phrase-scan" }, vs = {
2621
2545
  key: 0,
2622
2546
  class: "glim-fortress-sub"
2623
- }, vs = /* @__PURE__ */ j({
2547
+ }, ys = /* @__PURE__ */ j({
2624
2548
  __name: "FortressWindow",
2625
2549
  props: {
2626
2550
  flow: {},
@@ -2636,19 +2560,19 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,
@@ -2735,7 +2659,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2735
2659
  actions: []
2736
2660
  };
2737
2661
  });
2738
- return (t, i) => (R(), w(Pa, {
2662
+ return (t, i) => (R(), w(Fa, {
2739
2663
  ref_key: "win",
2740
2664
  ref: n,
2741
2665
  title: h.value.title,
@@ -2751,10 +2675,10 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2751
2675
  onSubmit: i[0] ||= X((t) => e.flow.join(), ["prevent"])
2752
2676
  }, [
2753
2677
  D("p", null, W(e.text.about), 1),
2754
- D("div", Bo, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2678
+ D("div", Vo, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2755
2679
  key: n,
2756
2680
  class: "glim-phrase-field"
2757
- }, [D("span", Vo, W(n + 1), 1), D("input", {
2681
+ }, [D("span", Ho, W(n + 1), 1), D("input", {
2758
2682
  class: "glim-input",
2759
2683
  "data-word": n,
2760
2684
  value: t,
@@ -2764,32 +2688,32 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2764
2688
  autocorrect: "off",
2765
2689
  spellcheck: "false",
2766
2690
  onInput: (t) => e.flow.enter(n, t.target.value)
2767
- }, null, 40, Ho)]))), 128))]),
2691
+ }, null, 40, Uo)]))), 128))]),
2768
2692
  i[4] ||= D("button", {
2769
2693
  type: "submit",
2770
2694
  hidden: ""
2771
2695
  }, null, -1),
2772
- D("p", Uo, W(e.text.phraseWhere), 1),
2773
- o.value ? (R(), E("p", Wo, [G(me)("info") ? (R(), w(H(G(me)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2696
+ D("p", Wo, W(e.text.phraseWhere), 1),
2697
+ o.value ? (R(), E("p", Go, [G(me)("info") ? (R(), w(H(G(me)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2774
2698
  app: e.app.name,
2775
2699
  devices: o.value
2776
2700
  })), 1)])) : T("", !0),
2777
- e.state.error ? (R(), E("p", Go, W(e.state.error), 1)) : T("", !0)
2778
- ], 32)) : a.value.kind === "joined" ? (R(), E("div", Ko, [D("span", qo, [A(G(p), { mark: G(qe).check }, null, 8, ["mark"])]), D("div", Jo, [D("p", Yo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", Xo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", Zo, [
2701
+ e.state.error ? (R(), E("p", Ko, W(e.state.error), 1)) : T("", !0)
2702
+ ], 32)) : a.value.kind === "joined" ? (R(), E("div", qo, [D("span", Jo, [A(G(p), { mark: G(qe).check }, null, 8, ["mark"])]), D("div", Yo, [D("p", Xo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", Zo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", Qo, [
2779
2703
  D("p", null, W(G(Z)(e.text.leaveBody, { app: e.app.name })) + W(o.value ? ` ${G(Z)(e.text.leavePairing, { devices: o.value })}` : "") + W(e.leaveNote ? ` ${e.leaveNote}` : ""), 1),
2780
- D("p", Qo, W(e.text.leaveBack), 1),
2781
- e.state.error ? (R(), E("p", $o, W(e.state.error), 1)) : T("", !0)
2782
- ])) : a.value.kind === "remove" ? (R(), E("div", es, [
2704
+ D("p", $o, W(e.text.leaveBack), 1),
2705
+ e.state.error ? (R(), E("p", es, W(e.state.error), 1)) : T("", !0)
2706
+ ])) : a.value.kind === "remove" ? (R(), E("div", ts, [
2783
2707
  D("p", null, W(G(Z)(e.text.removeBody, { device: a.value.device })), 1),
2784
- D("p", ts, W(e.text.removeBack), 1),
2785
- e.state.error ? (R(), E("p", ns, W(e.state.error), 1)) : T("", !0)
2786
- ])) : a.value.kind === "removed" ? (R(), E("div", rs, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", is, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2708
+ D("p", ns, W(e.text.removeBack), 1),
2709
+ e.state.error ? (R(), E("p", rs, W(e.state.error), 1)) : T("", !0)
2710
+ ])) : a.value.kind === "removed" ? (R(), E("div", is, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", as, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2787
2711
  key: 5,
2788
2712
  class: "glim-fortress-text",
2789
2713
  onSubmit: i[2] ||= X((t) => e.flow.unlock(), ["prevent"])
2790
2714
  }, [
2791
2715
  D("p", null, W(G(Z)(e.text.phrasePassword, { app: e.app.name })), 1),
2792
- A(zo, {
2716
+ A(Bo, {
2793
2717
  "model-value": a.value.password,
2794
2718
  "aria-label": G(Z)(e.text.password, { app: e.app.name }),
2795
2719
  placeholder: G(Z)(e.text.password, { app: e.app.name }),
@@ -2804,15 +2728,15 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2804
2728
  "placeholder",
2805
2729
  "text"
2806
2730
  ]),
2807
- e.state.error ? (R(), E("p", as, W(e.state.error), 1)) : T("", !0)
2808
- ], 32)) : a.value.kind === "change" ? (R(), E("div", os, [
2731
+ e.state.error ? (R(), E("p", os, W(e.state.error), 1)) : T("", !0)
2732
+ ], 32)) : a.value.kind === "change" ? (R(), E("div", ss, [
2809
2733
  D("p", null, W(e.text.changeBody), 1),
2810
- D("p", ss, W(e.text.changeAway), 1),
2811
- e.state.error ? (R(), E("p", cs, W(e.state.error), 1)) : T("", !0)
2812
- ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", ls, [
2734
+ D("p", cs, W(e.text.changeAway), 1),
2735
+ e.state.error ? (R(), E("p", ls, W(e.state.error), 1)) : T("", !0)
2736
+ ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", us, [
2813
2737
  D("p", null, W(e.text.phraseBody), 1),
2814
- D("div", us, [
2815
- D("ol", ds, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", fs, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2738
+ D("div", ds, [
2739
+ D("ol", fs, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", ps, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2816
2740
  f.value ? (R(), E("svg", {
2817
2741
  key: 0,
2818
2742
  class: "glim-phrase-qr",
@@ -2827,13 +2751,13 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2827
2751
  width: f.value.side,
2828
2752
  height: f.value.side,
2829
2753
  fill: "#ffffff"
2830
- }, null, 8, ms), D("path", {
2754
+ }, null, 8, hs), D("path", {
2831
2755
  d: f.value.path,
2832
2756
  fill: "#161616"
2833
- }, null, 8, hs)], 8, ps)) : T("", !0),
2834
- D("p", gs, W(e.text.scanHint), 1)
2757
+ }, null, 8, gs)], 8, ms)) : T("", !0),
2758
+ D("p", _s, W(e.text.scanHint), 1)
2835
2759
  ]),
2836
- a.value.kind === "changed" && a.value.left.length ? (R(), E("p", _s, 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, [
@@ -2844,25 +2768,25 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2844
2768
  "text"
2845
2769
  ]));
2846
2770
  }
2847
- }), ys = {
2771
+ }), bs = {
2848
2772
  "data-glim": "Fortress",
2849
2773
  class: "glim-fortress"
2850
- }, bs = { class: "glim-fortress-grid" }, xs = {
2774
+ }, xs = { class: "glim-fortress-grid" }, Ss = {
2851
2775
  key: 0,
2852
2776
  class: "glim-card glim-instance glim-instance--out",
2853
2777
  "data-fortress": "out"
2854
- }, Ss = { class: "glim-instance-title" }, Cs = { class: "glim-instance-hint" }, ws = {
2778
+ }, Cs = { class: "glim-instance-title" }, ws = { class: "glim-instance-hint" }, Ts = {
2855
2779
  key: 0,
2856
2780
  class: "glim-instance-found"
2857
- }, Ts = ["src"], Es = { class: "glim-fortress-switch-text" }, Ds = { class: "glim-fortress-switch-name" }, Os = { class: "glim-fortress-sub" }, ks = {
2781
+ }, Es = ["src"], Ds = { class: "glim-fortress-switch-text" }, Os = { class: "glim-fortress-switch-name" }, ks = { class: "glim-fortress-sub" }, As = {
2858
2782
  key: 1,
2859
2783
  class: "glim-fortress-removed",
2860
2784
  "data-fortress": "removed",
2861
2785
  role: "status"
2862
- }, As = { class: "glim-fortress-grid" }, js = {
2786
+ }, js = { class: "glim-fortress-grid" }, Ms = {
2863
2787
  key: 3,
2864
2788
  class: "glim-fortress-actions"
2865
- }, Ms = /* @__PURE__ */ j({
2789
+ }, Ns = /* @__PURE__ */ j({
2866
2790
  __name: "Fortress",
2867
2791
  props: {
2868
2792
  text: {},
@@ -2900,10 +2824,10 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,20 +2840,20 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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));
2924
- return (t, n) => (R(), E("div", ys, [
2925
- D("div", bs, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", xs, [
2926
- D("h3", Ss, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2927
- D("p", Cs, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2928
- e.found ? (R(), E("p", ws, [e.found.logo ? (R(), E("img", {
2847
+ let d = C(() => Z(n.text.removedNote, { devices: Vt(n.lang, n.removed) })), p = C(() => ln(n.text, n.lang, n.apps));
2848
+ return (t, n) => (R(), E("div", bs, [
2849
+ D("div", xs, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Ss, [
2850
+ D("h3", Cs, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2851
+ D("p", ws, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2852
+ e.found ? (R(), E("p", Ts, [e.found.logo ? (R(), E("img", {
2929
2853
  key: 0,
2930
2854
  src: e.found.logo,
2931
2855
  alt: ""
2932
- }, null, 8, Ts)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2856
+ }, null, 8, Es)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2933
2857
  app: e.found.app,
2934
2858
  device: e.found.device
2935
2859
  })), 1)])) : T("", !0)
@@ -2937,15 +2861,15 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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))
2941
- }, [D("span", Es, [D("span", Ds, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Os, W(p.value), 1)]), A(xo, {
2864
+ style: F(G(Nt)(e.hueStart))
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,
2944
2868
  "hide-label": "",
2945
2869
  "data-fortress": "others",
2946
2870
  "onUpdate:modelValue": u
2947
2871
  }, null, 8, ["model-value", "label"])], 4)) : T("", !0),
2948
- e.joined && e.removed.length ? (R(), E("div", ks, [
2872
+ e.joined && e.removed.length ? (R(), E("div", As, [
2949
2873
  G(me)("info") ? (R(), w(H(G(me)("info")), { key: 0 })) : T("", !0),
2950
2874
  D("span", null, W(d.value), 1),
2951
2875
  e.onChangePhrase ? (R(), w(f, {
@@ -2957,11 +2881,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2957
2881
  onClick: n[0] ||= (e) => G(i).openChange()
2958
2882
  }, null, 8, ["label", "label-key"])) : T("", !0)
2959
2883
  ])) : T("", !0),
2960
- e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", As, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2884
+ e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", js, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2961
2885
  app: n,
2962
2886
  hueIndex: e.hueStart + 1 + r,
2963
2887
  remove: e.onRemove && G(i).openRemove
2964
- }, void 0, void 0, 0) : (R(), w(lo, {
2888
+ }, void 0, void 0, 0) : (R(), w(uo, {
2965
2889
  key: 1,
2966
2890
  app: n,
2967
2891
  text: e.text,
@@ -2978,7 +2902,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2978
2902
  "on-open",
2979
2903
  "on-remove",
2980
2904
  "remove-key"
2981
- ]))], 64))), 128))]), A(Mo, {
2905
+ ]))], 64))), 128))]), A(No, {
2982
2906
  text: e.text,
2983
2907
  app: e.app,
2984
2908
  apps: [e.app, ...e.apps],
@@ -2998,7 +2922,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
2998
2922
  "notify",
2999
2923
  "hue-index"
3000
2924
  ])], 64)) : T("", !0),
3001
- !e.joined || e.onShowPhrase ? (R(), E("div", js, [e.joined ? (R(), w(f, {
2925
+ !e.joined || e.onShowPhrase ? (R(), E("div", Ms, [e.joined ? (R(), w(f, {
3002
2926
  key: 0,
3003
2927
  label: e.text.showPhrase,
3004
2928
  "label-key": s.value.showPhrase,
@@ -3020,7 +2944,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3020
2944
  "data-fortress": "open-join",
3021
2945
  onClick: n[2] ||= (e) => G(i).openJoin()
3022
2946
  }, null, 8, ["label", "label-key"]))])) : T("", !0),
3023
- a.value.window ? (R(), w(vs, {
2947
+ a.value.window ? (R(), w(ys, {
3024
2948
  key: 4,
3025
2949
  flow: G(i),
3026
2950
  state: a.value,
@@ -3042,7 +2966,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3042
2966
  ])) : T("", !0)
3043
2967
  ]));
3044
2968
  }
3045
- }), Ns = /* @__PURE__ */ j({
2969
+ }), Ps = /* @__PURE__ */ j({
3046
2970
  __name: "FortressPairing",
3047
2971
  props: {
3048
2972
  text: {},
@@ -3059,7 +2983,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,14 +2999,14 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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
3082
3006
  }, {
3083
3007
  default: Y(() => [
3084
3008
  V(t.$slots, "default"),
3085
- e.onShowPhrase || e.onChangePhrase ? (R(), w(Ta, {
3009
+ e.onShowPhrase || e.onChangePhrase ? (R(), w(Ea, {
3086
3010
  key: 0,
3087
3011
  label: e.text.phraseTitle,
3088
3012
  hint: e.onChangePhrase ? e.text.changePhraseAbout : void 0
@@ -3107,7 +3031,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3107
3031
  }, null, 8, ["label", "label-key"])) : T("", !0)]),
3108
3032
  _: 1
3109
3033
  }, 8, ["label", "hint"])) : T("", !0),
3110
- A(Ta, {
3034
+ A(Ea, {
3111
3035
  label: e.text.leaveRow,
3112
3036
  hint: G(Z)(e.text.leaveAbout, { app: e.app.name })
3113
3037
  }, {
@@ -3120,7 +3044,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3120
3044
  _: 1
3121
3045
  }, 8, ["label", "hint"]),
3122
3046
  V(t.$slots, "after"),
3123
- r.value.window ? (R(), w(vs, {
3047
+ r.value.window ? (R(), w(ys, {
3124
3048
  key: 1,
3125
3049
  flow: G(n),
3126
3050
  state: r.value,
@@ -3146,13 +3070,13 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3146
3070
  _: 3
3147
3071
  }, 8, ["title", "hue-index"]));
3148
3072
  }
3149
- }), Ps = [
3073
+ }), Fs = [
3150
3074
  "aria-label",
3151
3075
  "aria-valuemin",
3152
3076
  "aria-valuemax",
3153
3077
  "aria-valuenow",
3154
3078
  "aria-valuetext"
3155
- ], Fs = /* @__PURE__ */ j({
3079
+ ], Is = /* @__PURE__ */ j({
3156
3080
  __name: "ProgressBar",
3157
3081
  props: {
3158
3082
  value: { default: null },
@@ -3168,7 +3092,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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
  }));
@@ -3184,48 +3108,48 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3184
3108
  }, [D("span", {
3185
3109
  class: "glim-progress-fill",
3186
3110
  style: F(n.value.width ? { width: n.value.width } : void 0)
3187
- }, null, 4)], 10, Ps));
3111
+ }, null, 4)], 10, Fs));
3188
3112
  }
3189
- }), Is = { class: "glim-status-title" }, Ls = ["src"], Rs = {
3113
+ }), Ls = { class: "glim-status-title" }, Rs = ["src"], zs = {
3190
3114
  class: "glim-fortress-text",
3191
3115
  "data-fortress": "status"
3192
- }, zs = {
3116
+ }, Bs = {
3193
3117
  key: 0,
3194
3118
  class: "glim-fortress-note",
3195
3119
  "data-fortress": "loading"
3196
- }, Bs = { role: "status" }, Vs = {
3120
+ }, Vs = { role: "status" }, Hs = {
3197
3121
  key: 1,
3198
3122
  class: "glim-fortress-note",
3199
3123
  role: "status",
3200
3124
  "data-fortress": "error"
3201
- }, Hs = {
3125
+ }, Us = {
3202
3126
  key: 2,
3203
3127
  class: "glim-status-state",
3204
3128
  "data-fortress": "state"
3205
- }, Us = {
3129
+ }, Ws = {
3206
3130
  key: 0,
3207
3131
  class: "glim-fortress-sub"
3208
- }, Ws = {
3132
+ }, Gs = {
3209
3133
  key: 3,
3210
3134
  class: "glim-status-section",
3211
3135
  "data-fortress": "needs"
3212
- }, Gs = { class: "glim-status-heading" }, Ks = { class: "glim-status-list" }, qs = {
3136
+ }, Ks = { class: "glim-status-heading" }, qs = { class: "glim-status-list" }, Js = {
3213
3137
  key: 4,
3214
3138
  class: "glim-status-section",
3215
3139
  "data-fortress": "work"
3216
- }, Js = { class: "glim-status-heading" }, Ys = { class: "glim-status-list" }, Xs = {
3140
+ }, Ys = { class: "glim-status-heading" }, Xs = { class: "glim-status-list" }, Zs = {
3217
3141
  key: 5,
3218
3142
  class: "glim-status-section",
3219
3143
  "data-fortress": "next"
3220
- }, Zs = { class: "glim-status-heading" }, Qs = { class: "glim-status-list" }, $s = { class: "glim-status-at glim-num" }, ec = {
3144
+ }, Qs = { class: "glim-status-heading" }, $s = { class: "glim-status-list" }, ec = { class: "glim-status-at glim-num" }, tc = {
3221
3145
  key: 6,
3222
3146
  class: "glim-status-section",
3223
3147
  "data-fortress": "log"
3224
- }, tc = { class: "glim-status-heading" }, nc = { class: "glim-status-list" }, rc = { class: "glim-status-at glim-num" }, ic = {
3148
+ }, nc = { class: "glim-status-heading" }, rc = { class: "glim-status-list" }, ic = { class: "glim-status-at glim-num" }, ac = {
3225
3149
  key: 7,
3226
3150
  class: "glim-fortress-sub",
3227
3151
  "data-fortress": "where"
3228
- }, ac = /* @__PURE__ */ j({
3152
+ }, oc = /* @__PURE__ */ j({
3229
3153
  __name: "FortressStatusWindow",
3230
3154
  props: {
3231
3155
  app: {},
@@ -3239,7 +3163,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,
@@ -3253,7 +3177,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3253
3177
  glyph: _,
3254
3178
  wayOut: !0
3255
3179
  }]), a = me("info");
3256
- return (n, o) => (R(), w(Pa, {
3180
+ return (n, o) => (R(), w(Fa, {
3257
3181
  "data-glim": "FortressStatusWindow",
3258
3182
  lang: t.lang,
3259
3183
  title: r.value.title,
@@ -3264,22 +3188,22 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3264
3188
  },
3265
3189
  onClose: o[0] ||= (e) => t.onClose()
3266
3190
  }, {
3267
- title: Y(() => [D("span", Is, [t.app.logo ? (R(), E("img", {
3191
+ title: Y(() => [D("span", Ls, [t.app.logo ? (R(), E("img", {
3268
3192
  key: 0,
3269
3193
  src: t.app.logo,
3270
3194
  alt: ""
3271
- }, null, 8, Ls)) : T("", !0), k(W(r.value.title), 1)])]),
3272
- default: Y(() => [D("div", Rs, [
3273
- r.value.loading ? (R(), E("p", zs, [A(c, {
3195
+ }, null, 8, Rs)) : T("", !0), k(W(r.value.title), 1)])]),
3196
+ default: Y(() => [D("div", zs, [
3197
+ r.value.loading ? (R(), E("p", Bs, [A(c, {
3274
3198
  size: "small",
3275
3199
  delay: 0
3276
- }), D("span", Bs, W(r.value.loading), 1)])) : T("", !0),
3277
- r.value.error === void 0 ? T("", !0) : (R(), E("p", Vs, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3278
- r.value.state ? (R(), E("p", Hs, [A(e, { tone: r.value.state.tone }, {
3200
+ }), D("span", Vs, W(r.value.loading), 1)])) : T("", !0),
3201
+ r.value.error === void 0 ? T("", !0) : (R(), E("p", Hs, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3202
+ r.value.state ? (R(), E("p", Us, [A(e, { tone: r.value.state.tone }, {
3279
3203
  default: Y(() => [k(W(r.value.state.label), 1)]),
3280
3204
  _: 1
3281
- }, 8, ["tone"]), r.value.quiet ? (R(), E("span", Us, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3282
- r.value.needsYou.length ? (R(), E("section", Ws, [D("h3", Gs, W(t.text.statusNeedsYou), 1), D("ul", Ks, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3205
+ }, 8, ["tone"]), r.value.quiet ? (R(), E("span", Ws, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3206
+ r.value.needsYou.length ? (R(), E("section", Gs, [D("h3", Ks, W(t.text.statusNeedsYou), 1), D("ul", qs, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3283
3207
  key: n,
3284
3208
  class: "glim-status-line"
3285
3209
  }, [
@@ -3293,26 +3217,26 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3293
3217
  o[1] ||= k(),
3294
3218
  D("span", null, W(t.text), 1)
3295
3219
  ]))), 128))])])) : T("", !0),
3296
- r.value.work.length ? (R(), E("section", qs, [D("h3", Js, W(t.text.statusWork), 1), D("ul", Ys, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3220
+ r.value.work.length ? (R(), E("section", Js, [D("h3", Ys, W(t.text.statusWork), 1), D("ul", Xs, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3297
3221
  key: t,
3298
3222
  class: "glim-status-work"
3299
- }, [D("span", null, W(e.title), 1), A(Fs, {
3223
+ }, [D("span", null, W(e.title), 1), A(Is, {
3300
3224
  value: e.progress,
3301
3225
  label: e.title
3302
3226
  }, null, 8, ["value", "label"])]))), 128))])])) : T("", !0),
3303
- r.value.next.length ? (R(), E("section", Xs, [D("h3", Zs, W(t.text.statusNext), 1), D("ul", Qs, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3227
+ r.value.next.length ? (R(), E("section", Zs, [D("h3", Qs, W(t.text.statusNext), 1), D("ul", $s, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3304
3228
  key: t,
3305
3229
  class: "glim-status-line"
3306
3230
  }, [
3307
3231
  D("span", null, W(e.title), 1),
3308
3232
  o[2] ||= k(),
3309
- D("span", $s, W(e.at), 1)
3233
+ D("span", ec, W(e.at), 1)
3310
3234
  ]))), 128))])])) : T("", !0),
3311
- r.value.log.length ? (R(), E("section", ec, [D("h3", tc, W(t.text.statusLog), 1), D("ul", nc, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3235
+ r.value.log.length ? (R(), E("section", tc, [D("h3", nc, W(t.text.statusLog), 1), D("ul", rc, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3312
3236
  key: n,
3313
3237
  class: "glim-status-line"
3314
3238
  }, [
3315
- D("span", rc, W(t.at), 1),
3239
+ D("span", ic, W(t.at), 1),
3316
3240
  o[3] ||= k(),
3317
3241
  t.level ? (R(), w(e, {
3318
3242
  key: 0,
@@ -3324,7 +3248,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3324
3248
  o[4] ||= k(),
3325
3249
  D("span", null, W(t.text), 1)
3326
3250
  ]))), 128))])])) : T("", !0),
3327
- r.value.where ? (R(), E("p", ic, W(r.value.where), 1)) : T("", !0)
3251
+ r.value.where ? (R(), E("p", ac, W(r.value.where), 1)) : T("", !0)
3328
3252
  ])]),
3329
3253
  _: 1
3330
3254
  }, 8, [
@@ -3334,14 +3258,14 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3334
3258
  "text"
3335
3259
  ]));
3336
3260
  }
3337
- }), oc = {
3261
+ }), sc = {
3338
3262
  class: "glim-glyph-field-glyph",
3339
3263
  "aria-hidden": "true"
3340
- }, sc = ["aria-label"], cc = /* @__PURE__ */ j({
3264
+ }, cc = ["aria-label"], lc = /* @__PURE__ */ j({
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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([
@@ -3363,7 +3287,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3363
3287
  ]),
3364
3288
  style: F(t.$attrs.style)
3365
3289
  }, [
3366
- D("span", oc, [(R(), w(H(e.glyph)))]),
3290
+ D("span", sc, [(R(), w(H(e.glyph)))]),
3367
3291
  ze(D("input", N({
3368
3292
  ref_key: "input",
3369
3293
  ref: o,
@@ -3374,14 +3298,14 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3374
3298
  ...t.$attrs,
3375
3299
  class: void 0,
3376
3300
  style: void 0
3377
- }, { class: "glim-glyph-field-input" }), null, 16, sc), [[Ie, r.value]]),
3301
+ }, { class: "glim-glyph-field-input" }), null, 16, cc), [[Ie, r.value]]),
3378
3302
  V(t.$slots, "after")
3379
3303
  ], 6));
3380
3304
  }
3381
- }), lc = /* @__PURE__ */ j({
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3397
3321
  "aria-hidden": "true"
3398
3322
  }, [(R(), w(H(e.glyph)))], 2));
3399
3323
  }
3400
- }), uc = [
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
- ], dc = {
3585
+ ], Pc = {
3405
3586
  key: 0,
3406
3587
  class: "glim-list-row-tile"
3407
- }, fc = { class: "glim-list-row-title" }, pc = {
3588
+ }, Fc = { class: "glim-list-row-title" }, Ic = {
3408
3589
  key: 1,
3409
3590
  class: "glim-list-row-badges"
3410
- }, mc = /* @__PURE__ */ j({
3591
+ }, Lc = /* @__PURE__ */ j({
3411
3592
  __name: "ListRow",
3412
3593
  props: {
3413
3594
  name: {},
@@ -3427,21 +3608,21 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", dc, [V(t.$slots, "tile")])) : T("", !0),
3431
- D("span", { class: P(i.value) }, [D("span", fc, 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", pc, [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, uc));
3623
+ ], 42, Nc));
3443
3624
  }
3444
- }), hc = ["aria-label"], gc = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3466
3647
  role: "dialog",
3467
3648
  "aria-label": e.label,
3468
3649
  class: "glim-popover"
3469
- }, [V(t.$slots, "default")], 8, hc)) : T("", !0);
3650
+ }, [V(t.$slots, "default")], 8, Rc)) : T("", !0);
3470
3651
  }
3471
- }), _c = {
3652
+ }), Bc = {
3472
3653
  "data-glim": "ListTable",
3473
3654
  class: "glim-list"
3474
- }, vc = ["aria-label", "onKeydown"], yc = ["aria-label", "aria-describedby"], bc = ["aria-sort"], xc = { class: "glim-list-th-box" }, Sc = ["onClick"], Cc = [
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
- ], wc = [
3660
+ ], qc = [
3480
3661
  "aria-selected",
3481
3662
  "onClick",
3482
3663
  "onDblclick"
3483
- ], Tc = ["tabindex"], Ec = {
3664
+ ], Jc = ["tabindex"], Yc = {
3484
3665
  key: 1,
3485
3666
  class: "glim-list-empty"
3486
- }, Dc = ["id"], Oc = { class: "glim-list-filter-values" }, kc = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3554
3735
  };
3555
3736
  }
3556
3737
  let ie = (e, t) => String(e[t] ?? "");
3557
- return (t, n) => (R(), E("div", _c, [
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3564
3745
  type: "search",
3565
3746
  "aria-label": e.text.search,
3566
3747
  onKeydown: Be(X(te, ["prevent", "stop"]), ["esc"])
3567
- }, null, 40, vc)), [[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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", xc, [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, Sc), 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, Cc)) : T("", !0)])], 10, bc))), 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, Tc))), 128))], 40, wc))), 128))], 32)], 8, yc),
3612
- f.value.length === 0 ? (R(), E("p", Ec, 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, Dc),
3617
- y.value ? (R(), w(gc, {
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", Oc, [(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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3635
3816
  }, 8, ["anchor", "label"])) : T("", !0)
3636
3817
  ]));
3637
3818
  }
3638
- }), Ac = ["aria-label"], jc = [
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
- ], Mc = /* @__PURE__ */ j({
3826
+ ], tl = /* @__PURE__ */ j({
3646
3827
  __name: "MenuBar",
3647
3828
  props: {
3648
3829
  label: {},
@@ -3696,7 +3877,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, jc))), 128)), i.value && e.menus[i.value.at] ? (R(), w(Ki, {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3715
3896
  "id",
3716
3897
  "opener",
3717
3898
  "from-end"
3718
- ])) : T("", !0)], 8, Ac));
3899
+ ])) : T("", !0)], 8, $c));
3719
3900
  }
3720
- }), Nc = [
3901
+ }), nl = [
3721
3902
  "role",
3722
3903
  "aria-label",
3723
3904
  "aria-valuemin",
@@ -3725,7 +3906,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3725
3906
  "aria-valuenow",
3726
3907
  "aria-valuetext",
3727
3908
  "aria-busy"
3728
- ], Pc = /* @__PURE__ */ j({
3909
+ ], rl = /* @__PURE__ */ j({
3729
3910
  inheritAttrs: !1,
3730
3911
  __name: "Meter",
3731
3912
  props: {
@@ -3740,7 +3921,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, Nc), 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
- }), Fc = {
3946
+ }), il = {
3766
3947
  "data-glim": "NumberField",
3767
3948
  class: "glim-num-wrap"
3768
- }, Ic = [
3949
+ }, al = [
3769
3950
  "aria-label",
3770
3951
  "aria-invalid",
3771
3952
  "aria-describedby"
3772
- ], Lc = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", Fc, [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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3809
3990
  type: "number",
3810
3991
  class: "glim-num-input glim-num-field glim-num",
3811
3992
  onInput: u
3812
- }), null, 16, Ic)]), o.value.errorId ? (R(), w(xa, {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3817
3998
  _: 1
3818
3999
  }, 8, ["id"])) : T("", !0)], 64));
3819
4000
  }
3820
- }), Rc = ["aria-label", "disabled"], zc = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3871
4052
  }, {
3872
4053
  disabled: e.disabled,
3873
4054
  class: "glim-input glim-input--mono"
3874
- }), null, 16, Rc), [[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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3886
4067
  "disabled"
3887
4068
  ])], 6));
3888
4069
  }
3889
- }), Bc = ["data-glim-title"], Vc = { class: "glim-modal-head" }, Hc = {
4070
+ }), ll = ["data-glim-title"], ul = { class: "glim-modal-head" }, dl = {
3890
4071
  id: "paypal-window-title",
3891
4072
  class: "glim-modal-title"
3892
- }, Uc = { class: "glim-give-body glim-give-body--scroll" }, Wc = { class: "glim-give-appeal" }, Gc = { class: "glim-give-intro" }, Kc = { class: "glim-give-group" }, qc = {
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
- }, Jc = { class: "glim-give-group" }, Yc = {
4076
+ }, _l = { class: "glim-give-group" }, vl = {
3896
4077
  id: "paypal-amount",
3897
4078
  class: "glim-eyebrow"
3898
- }, Xc = { class: "glim-give-amounts" }, Zc = [
4079
+ }, yl = { class: "glim-give-amounts" }, bl = [
3899
4080
  "value",
3900
4081
  "placeholder",
3901
4082
  "aria-label",
3902
4083
  "aria-invalid"
3903
- ], Qc = { class: "glim-give-loading" }, $c = {
4084
+ ], xl = { class: "glim-give-loading" }, Sl = {
3904
4085
  key: 0,
3905
4086
  class: "glim-give-status glim-give-status--ok"
3906
- }, el = {
4087
+ }, Cl = {
3907
4088
  key: 1,
3908
4089
  class: "glim-give-status glim-give-status--fail"
3909
- }, tl = { class: "glim-give-foot" }, nl = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3947
4128
  "aria-labelledby": "paypal-window-title",
3948
4129
  class: "glim-modal-card glim-modal-card--wide"
3949
4130
  }, [
3950
- D("div", Vc, [D("h2", Hc, [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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3955
4136
  default: Y(() => [k(W(t.text.title), 1)]),
3956
4137
  _: 1
3957
4138
  })])]),
3958
- D("div", Uc, [
3959
- D("p", Wc, W(t.text.appeal), 1),
3960
- D("p", Gc, W(t.text.intro), 1),
3961
- D("div", Kc, [D("span", qc, 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
3967
4148
  value: t.frequency,
3968
4149
  onChange: s
3969
4150
  })]),
3970
- D("div", Jc, [D("span", Yc, W(t.text.amountLabel), 1), D("div", Xc, [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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, Zc)])]),
4168
+ }, null, 42, bl)])]),
3988
4169
  D("div", {
3989
4170
  ref: t.buttonsRef,
3990
4171
  class: "glim-give-wallet"
3991
- }, [D("p", Qc, W(t.text.loading), 1)], 512),
3992
- t.status === "done" ? (R(), E("p", $c, W(t.text.thanks), 1)) : T("", !0),
3993
- t.status === "failed" ? (R(), E("p", el, 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", tl, [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, Bc)]));
4182
+ ], 8, ll)]));
4002
4183
  }
4003
- }), rl = {
4184
+ }), El = {
4004
4185
  key: 0,
4005
4186
  class: "glim-pick-none"
4006
- }, il = {
4187
+ }, Dl = {
4007
4188
  key: 0,
4008
4189
  class: "glim-pick-eyebrow"
4009
- }, al = { class: "glim-eyebrow" }, ol = { class: "glim-provider-pick" }, sl = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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,16 +4221,16 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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
- return (n, r) => (R(), w(Pa, {
4233
+ return (n, r) => (R(), w(Fa, {
4053
4234
  ref_key: "win",
4054
4235
  ref: s,
4055
4236
  "data-glim": "PickerWindow",
@@ -4068,7 +4249,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4068
4249
  actions: h(),
4069
4250
  onClose: r[1] ||= (e) => i("close")
4070
4251
  }, O({
4071
- default: Y(() => [f() ? V(n.$slots, "default", {}, void 0, void 0, 0) : (R(), E(S, { key: 1 }, [A(cc, {
4252
+ default: Y(() => [f() ? V(n.$slots, "default", {}, void 0, void 0, 0) : (R(), E(S, { key: 1 }, [A(lc, {
4072
4253
  ref_key: "field",
4073
4254
  ref: c,
4074
4255
  modelValue: o.value,
@@ -4099,11 +4280,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4099
4280
  ref: d,
4100
4281
  class: "glim-pick-scroll",
4101
4282
  onKeydown: y
4102
- }, [g.value.length === 0 ? (R(), E("p", rl, 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", il, [
4106
- D("h3", al, 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4116
4297
  key: 1,
4117
4298
  tip: n.hint
4118
4299
  }, null, 8, ["tip"])) : T("", !0)
4119
- ])) : T("", !0), D("ul", ol, [(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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4169
4350
  "actions"
4170
4351
  ]));
4171
4352
  }
4172
- }), cl = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4179
4360
  "aria-hidden": "true"
4180
4361
  }, [A(G(b))], 2));
4181
4362
  }
4182
- }), ll = { class: "glim-sr-only" }, ul = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", ll, 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4229
4410
  "onBlur"
4230
4411
  ])), A(t, { state: G(i) }, null, 8, ["state"])], 64));
4231
4412
  }
4232
- }), dl = {
4413
+ }), Pl = {
4233
4414
  key: 0,
4234
4415
  class: "glim-nav-row-slot"
4235
- }, fl = {
4416
+ }, Fl = {
4236
4417
  key: 1,
4237
4418
  class: "glim-nav-row-slot"
4238
- }, pl = /* @__PURE__ */ j({
4419
+ }, Il = /* @__PURE__ */ j({
4239
4420
  inheritAttrs: !1,
4240
4421
  __name: "SidebarRow",
4241
4422
  props: {
@@ -4251,7 +4432,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4278
4459
  ]),
4279
4460
  style: F([i.value.style, e.$attrs.style])
4280
4461
  }, [
4281
- e.$slots.before ? (R(), E("span", dl, [V(e.$slots, "before")])) : T("", !0),
4282
- A(ul, 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", fl, [V(e.$slots, "after")])) : T("", !0)
4289
- ], 6)) : (R(), w(ul, 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4303
4484
  "style"
4304
4485
  ]));
4305
4486
  }
4306
- }), ml = ["data-glim-title", "aria-labelledby"], hl = { class: "glim-sheet-panel" }, gl = ["id"], _l = { class: "glim-sheet-body" }, vl = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4325
4506
  ref: o,
4326
4507
  "aria-labelledby": G(s),
4327
4508
  class: "glim-sheet"
4328
- }, [D("div", hl, [
4509
+ }, [D("div", Rl, [
4329
4510
  D("h2", {
4330
4511
  id: G(s),
4331
4512
  class: "glim-sheet-title"
@@ -4337,9 +4518,9 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4337
4518
  }, {
4338
4519
  default: Y(() => [k(W(t.title), 1)]),
4339
4520
  _: 1
4340
- })], 8, gl),
4341
- D("div", _l, [V(n.$slots, "default")]),
4342
- A(Aa, {
4521
+ })], 8, zl),
4522
+ D("div", Bl, [V(n.$slots, "default")]),
4523
+ A(ja, {
4343
4524
  actions: t.actions,
4344
4525
  start: t.start,
4345
4526
  "has-start": c.value,
@@ -4355,12 +4536,12 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4355
4536
  "has-start",
4356
4537
  "text"
4357
4538
  ])
4358
- ])], 8, ml)) : T("", !0);
4539
+ ])], 8, Ll)) : T("", !0);
4359
4540
  }
4360
- }), yl = {
4541
+ }), Hl = {
4361
4542
  "data-glim": "SignInField",
4362
4543
  class: "glim-signin-field"
4363
- }, bl = ["for"], xl = /* @__PURE__ */ j({
4544
+ }, Ul = ["for"], Wl = /* @__PURE__ */ j({
4364
4545
  __name: "SignInField",
4365
4546
  props: {
4366
4547
  label: {},
@@ -4369,21 +4550,21 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", yl, [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, bl), V(t.$slots, "default")]));
4561
+ }, null, 8, ["tip"])) : T("", !0)], 10, Ul), V(t.$slots, "default")]));
4381
4562
  }
4382
- }), Sl = [
4563
+ }), Gl = [
4383
4564
  "aria-label",
4384
4565
  "aria-invalid",
4385
4566
  "aria-describedby"
4386
- ], Cl = /* @__PURE__ */ j({
4567
+ ], Kl = /* @__PURE__ */ j({
4387
4568
  inheritAttrs: !1,
4388
4569
  __name: "TextField",
4389
4570
  props: /*@__PURE__*/ M({
@@ -4397,10 +4578,10 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4410
4591
  "aria-invalid": c.value.invalid,
4411
4592
  "aria-describedby": c.value.describedBy,
4412
4593
  class: a.value
4413
- }), null, 16, Sl), [[Ie, r.value]]), c.value.errorId ? (R(), w(xa, {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4418
4599
  _: 1
4419
4600
  }, 8, ["id"])) : T("", !0)], 64));
4420
4601
  }
4421
- }), wl = {
4602
+ }), ql = {
4422
4603
  "data-glim": "SignInCard",
4423
4604
  class: "glim-signin"
4424
- }, Tl = { class: "glim-signin-head" }, El = {
4605
+ }, Jl = { class: "glim-signin-head" }, Yl = {
4425
4606
  key: 0,
4426
4607
  class: "glim-signin-logo",
4427
4608
  "aria-hidden": "true"
4428
- }, Dl = ["src"], Ol = { class: "glim-signin-name" }, kl = {
4609
+ }, Xl = ["src"], Zl = { class: "glim-signin-name" }, Ql = {
4429
4610
  key: 0,
4430
4611
  class: "glim-signin-error",
4431
4612
  role: "alert"
4432
- }, Al = {
4613
+ }, $l = {
4433
4614
  key: 0,
4434
4615
  class: "glim-signin-note",
4435
4616
  role: "status"
4436
- }, jl = { class: "glim-signin-hint" }, Ml = {
4617
+ }, eu = { class: "glim-signin-hint" }, tu = {
4437
4618
  key: 3,
4438
4619
  class: "glim-signin-error",
4439
4620
  role: "alert"
4440
- }, Nl = /* @__PURE__ */ j({
4621
+ }, nu = /* @__PURE__ */ j({
4441
4622
  __name: "SignInCard",
4442
4623
  props: {
4443
4624
  logo: {},
@@ -4465,7 +4646,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", wl, [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", Tl, [e.logo || t.$slots.logo ? (R(), E("span", El, [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, Dl)])])) : T("", !0), D("h1", Ol, 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(xl, {
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(Cl, {
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,11 +4702,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4521
4702
  "for",
4522
4703
  "hint"
4523
4704
  ]),
4524
- A(xl, {
4705
+ A(Wl, {
4525
4706
  label: e.text.newPassword,
4526
4707
  for: s("new")
4527
4708
  }, {
4528
- default: Y(() => [A(zo, {
4709
+ default: Y(() => [A(Bo, {
4529
4710
  id: s("new"),
4530
4711
  "data-signin-field": "newPassword",
4531
4712
  "model-value": i.value.newPassword,
@@ -4539,11 +4720,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4539
4720
  ])]),
4540
4721
  _: 1
4541
4722
  }, 8, ["label", "for"]),
4542
- A(xl, {
4723
+ A(Wl, {
4543
4724
  label: e.text.confirmPassword,
4544
4725
  for: s("confirm")
4545
4726
  }, {
4546
- default: Y(() => [A(zo, {
4727
+ default: Y(() => [A(Bo, {
4547
4728
  id: s("confirm"),
4548
4729
  "data-signin-field": "confirm",
4549
4730
  "model-value": i.value.confirm,
@@ -4557,14 +4738,14 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4557
4738
  ])]),
4558
4739
  _: 1
4559
4740
  }, 8, ["label", "for"]),
4560
- i.value.error ? (R(), E("p", kl, 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,13 +4773,13 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4592
4773
  novalidate: "",
4593
4774
  onSubmit: n[10] ||= X((e) => G(r).submit(), ["prevent"])
4594
4775
  }, [
4595
- e.note ? (R(), E("p", Al, 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(xl, {
4778
+ ze(A(Wl, {
4598
4779
  label: e.text.password,
4599
4780
  for: s("password")
4600
4781
  }, {
4601
- default: Y(() => [A(zo, {
4782
+ default: Y(() => [A(Bo, {
4602
4783
  id: s("password"),
4603
4784
  "data-signin-field": "password",
4604
4785
  "model-value": i.value.password,
@@ -4612,12 +4793,12 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4612
4793
  ])]),
4613
4794
  _: 1
4614
4795
  }, 8, ["label", "for"]), [[Le, !i.value.viaPasskey]]),
4615
- i.value.needCode ? (R(), w(xl, {
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(Cl, {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", jl, 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", Ml, 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4691
4872
  ])) : T("", !0)
4692
4873
  ], 32))], 512)]));
4693
4874
  }
4694
- }), Pl = {
4875
+ }), ru = {
4695
4876
  key: 0,
4696
4877
  class: "glim-skeleton-block glim-skeleton-tile"
4697
- }, Fl = {
4878
+ }, iu = {
4698
4879
  key: 1,
4699
4880
  class: "glim-skeleton-block glim-skeleton-badge"
4700
- }, Il = /* @__PURE__ */ j({
4881
+ }, au = /* @__PURE__ */ j({
4701
4882
  __name: "SkeletonRow",
4702
4883
  props: {
4703
4884
  delay: {},
@@ -4711,7 +4892,7 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4722
4903
  class: P(n.value.className),
4723
4904
  style: F(n.value.style)
4724
4905
  }, [
4725
- n.value.tile ? (R(), E("span", Pl)) : 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", Fl)) : T("", !0)
4908
+ n.value.badge ? (R(), E("span", iu)) : T("", !0)
4728
4909
  ], 6));
4729
4910
  }
4730
- }), Ll = ["data-glim-title", "aria-labelledby"], Rl = {
4911
+ }), ou = ["data-glim-title", "aria-labelledby"], su = {
4731
4912
  key: 0,
4732
4913
  class: "glim-panel-heading"
4733
- }, zl = ["id"], Bl = {
4914
+ }, cu = ["id"], lu = {
4734
4915
  key: 1,
4735
4916
  class: "glim-subcard-end"
4736
- }, Vl = /* @__PURE__ */ j({
4917
+ }, uu = /* @__PURE__ */ j({
4737
4918
  __name: "SubCard",
4738
4919
  props: {
4739
4920
  title: {},
@@ -4747,23 +4928,23 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", Rl, [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, zl), 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", Bl, [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, Ll));
4945
+ ], 10, ou));
4765
4946
  }
4766
- }), Hl = ["aria-label"], Ul = { key: 0 }, Wl = { key: 0 }, Gl = ["colspan"], Kl = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4777
4958
  "data-glim": "Table",
4778
4959
  class: "glim-table",
4779
4960
  "aria-label": e.label
4780
- }, [n.value ? (R(), E("thead", Ul, [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", Wl, [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, Gl)])) : T("", !0)])], 8, Hl));
4975
+ }, W(e.more), 9, mu)])) : T("", !0)])], 8, du));
4795
4976
  }
4796
- }), ql = [
4977
+ }), gu = [
4797
4978
  "aria-label",
4798
4979
  "aria-invalid",
4799
4980
  "aria-describedby"
4800
- ], Jl = /* @__PURE__ */ j({
4981
+ ], _u = /* @__PURE__ */ j({
4801
4982
  inheritAttrs: !1,
4802
4983
  __name: "TextArea",
4803
4984
  props: /*@__PURE__*/ M({
@@ -4811,11 +4992,11 @@ var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4824
5005
  "aria-invalid": c.value.invalid,
4825
5006
  "aria-describedby": c.value.describedBy,
4826
5007
  class: a.value
4827
- }), null, 16, ql), [[Ie, r.value]]), c.value.errorId ? (R(), w(xa, {
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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
4832
5013
  _: 1
4833
5014
  }, 8, ["id"])) : T("", !0)], 64));
4834
5015
  }
4835
- }), Yl = { class: "glim-toast-body" }, Xl = { class: "glim-toast-message" }, Zl = { key: 0 }, Ql = ["aria-label"], $l = /* @__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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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", Yl, [D("p", Xl, [(R(!0), E(S, null, B(G(Kn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", Zl)) : 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 no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
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, Ql)
5063
+ }, [A(G(p), { mark: G(qe).dismiss }, null, 8, ["mark"])], 8, xu)
4883
5064
  ], 32));
4884
5065
  }
4885
- }), eu = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4886
- function tu(e, t, n, r) {
4887
- for (let i of Object.values(t)) typeof n[eu(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[eu(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 nu = /* @__PURE__ */ j({
5075
+ var Tu = /* @__PURE__ */ j({
4895
5076
  inheritAttrs: !1,
4896
5077
  __name: "ToastViewport",
4897
5078
  props: {
@@ -4910,12 +5091,12 @@ var nu = /* @__PURE__ */ j({
4910
5091
  "blur"
4911
5092
  ],
4912
5093
  setup(e, { emit: t }) {
4913
- let n = e, r = t, i = tu("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 nu = /* @__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($l, {
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 nu = /* @__PURE__ */ j({
4964
5145
  ]))), 128))], 16)
4965
5146
  ], 64));
4966
5147
  }
4967
- }), ru = ["aria-label"], iu = [
5148
+ }), Eu = ["aria-label"], Du = [
4968
5149
  "aria-level",
4969
5150
  "aria-posinset",
4970
5151
  "aria-setsize",
@@ -4975,11 +5156,11 @@ var nu = /* @__PURE__ */ j({
4975
5156
  "onClick",
4976
5157
  "onDblclick",
4977
5158
  "onKeydown"
4978
- ], au = ["onClick"], ou = {
5159
+ ], Ou = ["onClick"], ku = {
4979
5160
  key: 0,
4980
5161
  class: "glim-tree-glyph",
4981
5162
  "aria-hidden": "true"
4982
- }, su = { class: "glim-tree-label" }, cu = /* @__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 nu = /* @__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 nu = /* @__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 nu = /* @__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, au),
5043
- e.node.glyph ? (R(), E("span", ou, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
5044
- D("span", su, W(e.node.label), 1)
5045
- ], 16, iu))), 128))], 8, ru));
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
- }), lu = ["data-glim-title"], uu = { class: "glim-notice-title" }, du = { class: "glim-notice-reason" }, fu = {
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
- }, pu = /* @__PURE__ */ j({
5231
+ }, Iu = /* @__PURE__ */ j({
5051
5232
  __name: "UnavailableNotice",
5052
5233
  props: { title: {} },
5053
5234
  setup(e) {
@@ -5056,12 +5237,12 @@ var nu = /* @__PURE__ */ j({
5056
5237
  "data-glim-title": e.title,
5057
5238
  class: "glim-notice"
5058
5239
  }, [
5059
- D("p", uu, W(e.title), 1),
5060
- D("p", du, [V(t.$slots, "default")]),
5061
- t.$slots.action ? (R(), E("div", fu, [V(t.$slots, "action")])) : T("", !0)
5062
- ], 8, lu));
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
- }), mu = ["aria-label"], hu = { class: "glim-window-square" }, gu = { class: "glim-window-square" }, _u = { class: "glim-window-square" }, vu = /* @__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 nu = /* @__PURE__ */ j({
5102
5283
  class: "glim-window-button",
5103
5284
  onClick: r[0] ||= (e) => n("minimise")
5104
5285
  }, {
5105
- default: Y(() => [D("span", hu, [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 nu = /* @__PURE__ */ j({
5110
5291
  class: "glim-window-button",
5111
5292
  onClick: r[1] ||= (e) => n("toggleMaximise")
5112
5293
  }, {
5113
- default: Y(() => [D("span", gu, [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 nu = /* @__PURE__ */ j({
5118
5299
  class: "glim-window-button",
5119
5300
  onClick: r[2] ||= (e) => n("close")
5120
5301
  }, {
5121
- default: Y(() => [D("span", _u, [A(G(_))])]),
5302
+ default: Y(() => [D("span", Bu, [A(G(_))])]),
5122
5303
  _: 1
5123
5304
  }, 8, ["tip"])
5124
- ], 40, mu));
5305
+ ], 40, Lu));
5125
5306
  }
5126
5307
  });
5127
5308
  // src/confirm.ts
5128
- function yu(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 yu(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 bu(() => 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 yu(e) {
5158
5339
  })
5159
5340
  };
5160
5341
  }
5161
- function bu(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 xu(e) {
5348
+ function Wu(e) {
5168
5349
  let t = U(null), n = () => {};
5169
5350
  return J([
5170
5351
  t,
@@ -5176,7 +5357,7 @@ function xu(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 xu(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 xu(e) {
5198
5379
  }), De(() => n()), (e) => t.value = e;
5199
5380
  }
5200
5381
  // src/dragArmed.ts
5201
- function Su(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, ji as ConnectionRow, Ki as ContextMenu, Yi as CopyField, da as CryptoDonateDialog, ma as DropdownListbox, ya as EmptyState, xa as FieldError, Ta as FieldRow, Ea as FieldRowGroup, Ms as Fortress, lo as FortressAppCard, Ia as FortressDoubtWindow, Ns as FortressPairing, Mo as FortressPermissions, ac as FortressStatusWindow, We as GLIMSTONE_RELEASE_URL, Ge as GLIMSTONE_REPO, Ke as GLIMSTONE_VERSION, cc as GlyphField, lc 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, Qa as InstanceCard, Ni as Kbd, mc as ListRow, kc as ListTable, p as MarkSvg, Mc as MenuBar, Pc as Meter, Lc as NumberField, zo as PasswordField, zc as PathField, nl as PaypalDialog, sl as PickerWindow, Sa as Pill, gc as Popover, eo as PresenceBadges, Fs as ProgressBar, $ as ReadmeButton, cl as RowMark, _o as Selector, vl as Sheet, pl as SidebarRow, Nl as SignInCard, xl as SignInField, Il as SkeletonRow, Vl as SubCard, Kl as Table, Jl as TextArea, Cl as TextField, $l as ToastCard, nu as ToastViewport, xo as Toggle, cu as Tree, pu as UnavailableNotice, Pa as Window, vu as WindowBar, to as deviceGlyph, me as glyphFor, Ln as selectorTabId, h as setGlyphResolver, u as useAccent, yu as useConfirm, o as useDensity, bu as useDialogKeys, Su as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, xu 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 };