@vonage/vivid 5.15.0 → 5.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/README.md +1 -1
  2. package/accordion/definition.cjs +0 -5
  3. package/accordion/definition.js +0 -5
  4. package/accordion/index.cjs +1 -1
  5. package/accordion/index.js +3 -14
  6. package/accordion-item/definition.cjs +1 -1
  7. package/accordion-item/definition.js +1 -1
  8. package/alert/definition.cjs +2 -2
  9. package/alert/definition.js +2 -2
  10. package/alert/index.cjs +1 -1
  11. package/alert/index.js +1 -1
  12. package/audio-player/definition.cjs +2 -6
  13. package/audio-player/definition.js +2 -6
  14. package/audio-player/index.cjs +1 -1
  15. package/audio-player/index.js +2 -8
  16. package/banner/definition.cjs +1 -1
  17. package/banner/definition.js +1 -1
  18. package/breadcrumb/definition.cjs +0 -1
  19. package/breadcrumb/definition.js +0 -1
  20. package/breadcrumb/index.cjs +1 -1
  21. package/breadcrumb/index.js +0 -1
  22. package/breadcrumb-item/definition.cjs +1 -1
  23. package/breadcrumb-item/definition.js +1 -1
  24. package/breadcrumb-item/index.cjs +1 -1
  25. package/breadcrumb-item/index.js +1 -1
  26. package/bundled/attribute-binding-behaviour.cjs +1 -1
  27. package/bundled/attribute-binding-behaviour.js +1 -3
  28. package/bundled/base-color-picker.cjs +1 -1
  29. package/bundled/base-color-picker.js +2 -7
  30. package/bundled/base-progress.cjs +1 -1
  31. package/bundled/base-progress.js +0 -3
  32. package/bundled/button.cjs +1 -1
  33. package/bundled/button.js +1 -10
  34. package/bundled/calendar-picker.template.cjs +1 -1
  35. package/bundled/calendar-picker.template.js +90 -42
  36. package/bundled/children.js +1 -1
  37. package/bundled/definition.cjs +1 -1
  38. package/bundled/definition.js +1 -1
  39. package/bundled/definition10.cjs +1 -1
  40. package/bundled/definition10.js +0 -10
  41. package/bundled/definition11.cjs +1 -1
  42. package/bundled/definition11.js +0 -1
  43. package/bundled/definition12.cjs +2 -2
  44. package/bundled/definition12.js +1 -2
  45. package/bundled/definition13.cjs +1 -1
  46. package/bundled/definition13.js +1 -1
  47. package/bundled/definition17.cjs +1 -1
  48. package/bundled/definition17.js +1 -4
  49. package/bundled/definition18.cjs +1 -1
  50. package/bundled/definition18.js +6 -18
  51. package/bundled/definition19.cjs +2 -2
  52. package/bundled/definition19.js +8 -24
  53. package/bundled/definition2.cjs +5 -5
  54. package/bundled/definition2.js +26 -27
  55. package/bundled/definition20.cjs +1 -1
  56. package/bundled/definition20.js +1 -1
  57. package/bundled/definition22.cjs +5 -5
  58. package/bundled/definition22.js +2 -3
  59. package/bundled/definition3.cjs +1 -1
  60. package/bundled/definition3.js +1 -2
  61. package/bundled/definition5.cjs +1 -1
  62. package/bundled/definition5.js +1 -6
  63. package/bundled/definition6.cjs +1 -1
  64. package/bundled/definition6.js +1 -2
  65. package/bundled/definition7.cjs +1 -1
  66. package/bundled/definition7.js +2 -5
  67. package/bundled/definition8.cjs +1 -1
  68. package/bundled/definition8.js +2 -13
  69. package/bundled/definition9.js +9 -9
  70. package/bundled/delegates-aria.cjs +1 -1
  71. package/bundled/delegates-aria.js +1 -3
  72. package/bundled/floating-ui.dom.cjs +1 -1
  73. package/bundled/floating-ui.dom.js +491 -487
  74. package/bundled/form-associated.cjs +1 -1
  75. package/bundled/form-associated.js +9 -18
  76. package/bundled/key-codes.cjs +1 -1
  77. package/bundled/listbox.cjs +1 -1
  78. package/bundled/listbox.js +10 -27
  79. package/bundled/localized.cjs +1 -1
  80. package/bundled/localized.js +48 -48
  81. package/bundled/mixins.cjs +2 -2
  82. package/bundled/mixins.js +1 -4
  83. package/bundled/normalize.js +2 -2
  84. package/bundled/picker-field.template.cjs +1 -1
  85. package/bundled/picker-field.template.js +0 -1
  86. package/bundled/scrollIntoView.cjs +1 -1
  87. package/bundled/scrollIntoView.js +1 -4
  88. package/bundled/slider.template.cjs +1 -1
  89. package/bundled/slider.template.js +1 -1
  90. package/bundled/slottable-request.js +1 -1
  91. package/bundled/text-field.cjs +1 -1
  92. package/bundled/text-field.js +1 -1
  93. package/bundled/time-selection-picker.template.cjs +2 -2
  94. package/bundled/time-selection-picker.template.js +3 -6
  95. package/bundled/vivid-element.cjs +3 -3
  96. package/bundled/vivid-element.js +302 -293
  97. package/button/definition.cjs +1 -1
  98. package/button/definition.js +1 -1
  99. package/calendar/definition.cjs +0 -2
  100. package/calendar/definition.js +1 -3
  101. package/calendar/index.cjs +1 -1
  102. package/calendar/index.js +6 -8
  103. package/card/definition.cjs +1 -1
  104. package/card/definition.js +1 -1
  105. package/card/index.cjs +1 -1
  106. package/card/index.js +1 -1
  107. package/checkbox/definition.cjs +1 -2
  108. package/checkbox/definition.js +1 -2
  109. package/color-picker/definition.cjs +1 -6
  110. package/color-picker/definition.js +1 -6
  111. package/color-picker/index.cjs +1 -1
  112. package/color-picker/index.js +2 -7
  113. package/combobox/definition.cjs +2 -8
  114. package/combobox/definition.js +2 -8
  115. package/combobox/index.cjs +1 -1
  116. package/combobox/index.js +2 -9
  117. package/contextual-help/definition.cjs +1 -1
  118. package/contextual-help/definition.js +1 -1
  119. package/custom-elements.json +37 -720
  120. package/data-grid/definition.cjs +72 -85
  121. package/data-grid/definition.js +75 -88
  122. package/data-grid/index.cjs +2 -2
  123. package/data-grid/index.js +7 -39
  124. package/date-picker/definition.cjs +1 -1
  125. package/date-picker/definition.js +1 -1
  126. package/date-range-picker/definition.cjs +1 -3
  127. package/date-range-picker/definition.js +1 -3
  128. package/date-range-picker/index.cjs +1 -1
  129. package/date-range-picker/index.js +1 -5
  130. package/date-time-picker/definition.cjs +1 -1
  131. package/date-time-picker/definition.js +1 -1
  132. package/dial-pad/definition.cjs +2 -11
  133. package/dial-pad/definition.js +3 -12
  134. package/dial-pad/index.cjs +1 -1
  135. package/dial-pad/index.js +14 -38
  136. package/dialog/definition.cjs +2 -3
  137. package/dialog/definition.js +2 -3
  138. package/dialog/index.cjs +1 -1
  139. package/dialog/index.js +1 -2
  140. package/empty-state/definition.js +1 -1
  141. package/fab/definition.cjs +1 -2
  142. package/fab/definition.js +1 -2
  143. package/fab/index.cjs +1 -1
  144. package/fab/index.js +1 -2
  145. package/file-picker/definition.cjs +2 -5
  146. package/file-picker/definition.js +3 -6
  147. package/file-picker/index.cjs +1 -1
  148. package/file-picker/index.js +1 -4
  149. package/icon/definition.cjs +7 -5
  150. package/icon/definition.js +7 -5
  151. package/index.cjs +95 -95
  152. package/index.js +18 -18
  153. package/layout/definition.cjs +1 -1
  154. package/layout/definition.js +1 -1
  155. package/layout/index.cjs +1 -1
  156. package/layout/index.js +1 -1
  157. package/lib/card/card.d.ts +0 -2
  158. package/lib/combobox/combobox.d.ts +1 -1
  159. package/lib/icon/icon.d.ts +0 -1
  160. package/lib/menu/menu.d.ts +0 -1
  161. package/lib/menu-item/menu-item.d.ts +0 -1
  162. package/lib/pagination/pagination.d.ts +0 -3
  163. package/lib/select/select.d.ts +2 -2
  164. package/lib/table/table-head.d.ts +1 -0
  165. package/lib/tabs/tabs.d.ts +0 -1
  166. package/lib/text-field/text-field.d.ts +0 -1
  167. package/locales/de-DE.cjs +95 -95
  168. package/locales/de-DE.js +95 -95
  169. package/locales/en-GB.cjs +1 -1
  170. package/locales/en-GB.js +1 -1
  171. package/locales/en-US.cjs +95 -95
  172. package/locales/en-US.js +95 -95
  173. package/locales/ja-JP.cjs +94 -94
  174. package/locales/ja-JP.js +94 -94
  175. package/locales/zh-CN.cjs +94 -94
  176. package/locales/zh-CN.js +94 -94
  177. package/menu/definition.cjs +2 -3
  178. package/menu/definition.js +2 -3
  179. package/menu-item/definition.cjs +1 -1
  180. package/menu-item/definition.js +1 -1
  181. package/nav-disclosure/definition.cjs +1 -1
  182. package/nav-disclosure/definition.js +1 -1
  183. package/nav-disclosure/index.cjs +1 -1
  184. package/nav-disclosure/index.js +1 -1
  185. package/nav-item/definition.cjs +1 -1
  186. package/nav-item/definition.js +1 -1
  187. package/nav-item/index.cjs +1 -1
  188. package/nav-item/index.js +1 -1
  189. package/number-field/definition.cjs +2 -2
  190. package/number-field/definition.js +2 -2
  191. package/number-field/index.cjs +1 -1
  192. package/number-field/index.js +1 -1
  193. package/package.json +20 -18
  194. package/pagination/definition.cjs +1 -3
  195. package/pagination/definition.js +3 -5
  196. package/pagination/index.cjs +3 -3
  197. package/pagination/index.js +4 -6
  198. package/popover/definition.cjs +1 -8
  199. package/popover/definition.js +1 -8
  200. package/popover/index.cjs +1 -1
  201. package/popover/index.js +6 -17
  202. package/popup/definition.cjs +1 -1
  203. package/popup/definition.js +1 -1
  204. package/radio/definition.cjs +1 -5
  205. package/radio/definition.js +1 -5
  206. package/radio-group/definition.js +2 -2
  207. package/range-slider/definition.cjs +1 -1
  208. package/range-slider/definition.js +2 -2
  209. package/range-slider/index.cjs +1 -1
  210. package/range-slider/index.js +1 -1
  211. package/rich-text-editor/definition.cjs +128 -43
  212. package/rich-text-editor/definition.js +128 -43
  213. package/rich-text-editor/index.cjs +12 -12
  214. package/rich-text-editor/index.js +1577 -1532
  215. package/rich-text-view/definition.js +1 -1
  216. package/searchable-select/definition.cjs +2 -5
  217. package/searchable-select/definition.js +2 -5
  218. package/searchable-select/index.cjs +1 -1
  219. package/searchable-select/index.js +2 -6
  220. package/select/definition.cjs +4 -14
  221. package/select/definition.js +5 -15
  222. package/selectable-box/definition.cjs +1 -1
  223. package/selectable-box/definition.js +2 -2
  224. package/selectable-box/index.cjs +1 -1
  225. package/selectable-box/index.js +1 -1
  226. package/side-drawer/definition.cjs +1 -1
  227. package/side-drawer/definition.js +2 -2
  228. package/side-drawer/index.cjs +1 -1
  229. package/side-drawer/index.js +2 -5
  230. package/simple-color-picker/definition.cjs +18 -9
  231. package/simple-color-picker/definition.js +19 -10
  232. package/simple-color-picker/index.cjs +5 -5
  233. package/simple-color-picker/index.js +23 -23
  234. package/slider/definition.cjs +1 -6
  235. package/slider/definition.js +3 -8
  236. package/split-button/definition.cjs +1 -1
  237. package/split-button/definition.js +2 -2
  238. package/split-button/index.cjs +1 -1
  239. package/split-button/index.js +1 -1
  240. package/status/definition.cjs +9 -3
  241. package/status/definition.js +11 -5
  242. package/status/index.cjs +10 -7
  243. package/status/index.js +46 -39
  244. package/styles/core/all.css +6 -5
  245. package/styles/core/theme.css +6 -5
  246. package/styles/core/typography.css +1 -2
  247. package/styles/tokens/theme-dark.css +17 -21
  248. package/styles/tokens/theme-light.css +17 -21
  249. package/styles/tokens/vivid-2-compat.css +1 -2
  250. package/switch/definition.cjs +1 -2
  251. package/switch/definition.js +2 -3
  252. package/switch/index.cjs +1 -1
  253. package/switch/index.js +1 -2
  254. package/tab/definition.cjs +1 -1
  255. package/tab/definition.js +2 -2
  256. package/tab-panel/definition.js +1 -1
  257. package/table/definition.cjs +17 -11
  258. package/table/definition.js +19 -13
  259. package/table/index.cjs +18 -14
  260. package/table/index.js +55 -48
  261. package/tabs/definition.cjs +0 -2
  262. package/tabs/definition.js +2 -4
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.js +0 -2
  265. package/tag/definition.cjs +1 -1
  266. package/tag/definition.js +2 -2
  267. package/tag/index.cjs +1 -1
  268. package/tag/index.js +1 -1
  269. package/tag-group/definition.js +1 -1
  270. package/text-area/definition.cjs +1 -7
  271. package/text-area/definition.js +2 -8
  272. package/text-area/index.cjs +1 -1
  273. package/text-area/index.js +1 -7
  274. package/text-field/definition.cjs +0 -10
  275. package/text-field/definition.js +1 -11
  276. package/time-picker/definition.cjs +1 -1
  277. package/time-picker/definition.js +2 -2
  278. package/toggletip/definition.cjs +0 -2
  279. package/toggletip/definition.js +1 -3
  280. package/tooltip/definition.cjs +0 -1
  281. package/tooltip/definition.js +1 -2
  282. package/tree-view/definition.cjs +0 -16
  283. package/tree-view/definition.js +1 -17
  284. package/tree-view/index.cjs +1 -1
  285. package/tree-view/index.js +0 -16
  286. package/unbundled/_commonjsHelpers.cjs +6 -2
  287. package/unbundled/_commonjsHelpers.js +6 -2
  288. package/unbundled/anchored.js +1 -1
  289. package/unbundled/attribute-binding-behaviour.cjs +0 -1
  290. package/unbundled/attribute-binding-behaviour.js +0 -1
  291. package/unbundled/base-color-picker.cjs +0 -3
  292. package/unbundled/base-color-picker.js +0 -3
  293. package/unbundled/base-progress.cjs +0 -3
  294. package/unbundled/base-progress.js +0 -3
  295. package/unbundled/button.cjs +1 -10
  296. package/unbundled/button.js +1 -10
  297. package/unbundled/calendar-picker.template.cjs +2 -4
  298. package/unbundled/calendar-picker.template.js +2 -4
  299. package/unbundled/data-grid.options.js +1 -1
  300. package/unbundled/definition.cjs +349 -170
  301. package/unbundled/definition.js +348 -170
  302. package/unbundled/definition2.cjs +169 -351
  303. package/unbundled/definition2.js +169 -350
  304. package/unbundled/definition3.cjs +1 -2
  305. package/unbundled/definition3.js +1 -2
  306. package/unbundled/definition4.cjs +1 -2
  307. package/unbundled/definition4.js +3 -4
  308. package/unbundled/definition5.cjs +1 -1
  309. package/unbundled/definition5.js +2 -2
  310. package/unbundled/delegates-aria.cjs +1 -1
  311. package/unbundled/delegates-aria.js +1 -1
  312. package/unbundled/enums.js +1 -1
  313. package/unbundled/form-associated.cjs +4 -5
  314. package/unbundled/form-associated.js +4 -5
  315. package/unbundled/host-semantics.cjs +1 -0
  316. package/unbundled/host-semantics.js +2 -1
  317. package/unbundled/key-codes.js +1 -1
  318. package/unbundled/listbox.cjs +6 -14
  319. package/unbundled/listbox.js +6 -14
  320. package/unbundled/mixins.cjs +0 -2
  321. package/unbundled/mixins.js +2 -4
  322. package/unbundled/picker-field.template.cjs +1 -2
  323. package/unbundled/picker-field.template.js +1 -2
  324. package/unbundled/scrollIntoView.cjs +0 -1
  325. package/unbundled/scrollIntoView.js +0 -1
  326. package/unbundled/slider.template.js +1 -1
  327. package/unbundled/slottable-request.cjs +2 -2
  328. package/unbundled/slottable-request.js +2 -2
  329. package/unbundled/text-field.cjs +1 -1
  330. package/unbundled/text-field.js +1 -1
  331. package/unbundled/time-selection-picker.template.cjs +1 -4
  332. package/unbundled/time-selection-picker.template.js +1 -4
  333. package/unbundled/vivid-element.cjs +2 -1
  334. package/unbundled/vivid-element.js +2 -1
  335. package/video-player/definition.cjs +7953 -7720
  336. package/video-player/definition.js +7955 -7722
  337. package/video-player/index.cjs +38 -54
  338. package/video-player/index.js +12785 -12735
  339. package/visually-hidden/definition.js +1 -1
  340. package/vivid.api.json +16 -341
@@ -38,18 +38,23 @@ switch (F) {
38
38
  });
39
39
  break;
40
40
  }
41
- const E = (i) => typeof i == "function", B = (i) => typeof i == "string", pe = () => {
41
+ const E = (i) => typeof i == "function", B = (i) => typeof i == "string", ge = () => {
42
42
  };
43
43
  var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
44
- function ci(i) {
44
+ function ui(i) {
45
45
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
46
46
  }
47
- function di(i) {
48
- if (i.__esModule) return i;
47
+ function fi(i) {
48
+ if (Object.prototype.hasOwnProperty.call(i, "__esModule")) return i;
49
49
  var t = i.default;
50
50
  if (typeof t == "function") {
51
51
  var e = function s() {
52
- return this instanceof s ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
52
+ var n = !1;
53
+ try {
54
+ n = this instanceof s;
55
+ } catch {
56
+ }
57
+ return n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
53
58
  };
54
59
  e.prototype = t.prototype;
55
60
  } else e = {};
@@ -63,45 +68,48 @@ function di(i) {
63
68
  });
64
69
  }), e;
65
70
  }
66
- (function() {
67
- if (!(typeof globalThis < "u"))
68
- if (typeof tt < "u")
69
- tt.globalThis = tt;
70
- else if (typeof self < "u")
71
- self.globalThis = self;
72
- else if (typeof window < "u")
73
- window.globalThis = window;
74
- else {
75
- const t = new Function("return this")();
76
- t.globalThis = t;
77
- }
78
- })();
79
- (function() {
80
- "requestIdleCallback" in globalThis || (globalThis.requestIdleCallback = function(e, s) {
81
- const n = Date.now();
82
- return setTimeout(() => {
83
- e({
84
- didTimeout: s?.timeout ? Date.now() - n >= s.timeout : !1,
85
- timeRemaining: () => 0
86
- });
87
- }, 1);
88
- }, globalThis.cancelIdleCallback = function(e) {
89
- clearTimeout(e);
90
- });
91
- })();
92
- const Ht = {
71
+ var pt = {}, bt;
72
+ function ye() {
73
+ return bt || (bt = 1, (function() {
74
+ if (!(typeof globalThis < "u"))
75
+ if (typeof tt < "u")
76
+ tt.globalThis = tt;
77
+ else if (typeof self < "u")
78
+ self.globalThis = self;
79
+ else if (typeof window < "u")
80
+ window.globalThis = window;
81
+ else {
82
+ const t = new Function("return this")();
83
+ t.globalThis = t;
84
+ }
85
+ })(), (function() {
86
+ "requestIdleCallback" in globalThis || (globalThis.requestIdleCallback = function(e, s) {
87
+ const n = Date.now();
88
+ return setTimeout(() => {
89
+ e({
90
+ didTimeout: s?.timeout ? Date.now() - n >= s.timeout : !1,
91
+ timeRemaining: () => 0
92
+ });
93
+ }, 1);
94
+ }, globalThis.cancelIdleCallback = function(e) {
95
+ clearTimeout(e);
96
+ });
97
+ })()), pt;
98
+ }
99
+ ye();
100
+ const zt = {
93
101
  configurable: !1,
94
102
  enumerable: !1,
95
103
  writable: !1
96
104
  };
97
- globalThis.FAST === void 0 && Reflect.defineProperty(globalThis, "FAST", Object.assign({ value: /* @__PURE__ */ Object.create(null) }, Ht));
105
+ globalThis.FAST === void 0 && Reflect.defineProperty(globalThis, "FAST", Object.assign({ value: /* @__PURE__ */ Object.create(null) }, zt));
98
106
  const v = globalThis.FAST;
99
107
  if (v.getById === void 0) {
100
108
  const i = /* @__PURE__ */ Object.create(null);
101
109
  Reflect.defineProperty(v, "getById", Object.assign({ value(t, e) {
102
110
  let s = i[t];
103
111
  return s === void 0 && (s = e ? i[t] = e() : null), s;
104
- } }, Ht));
112
+ } }, zt));
105
113
  }
106
114
  v.error === void 0 && Object.assign(v, {
107
115
  warn() {
@@ -112,8 +120,8 @@ v.error === void 0 && Object.assign(v, {
112
120
  addMessages() {
113
121
  }
114
122
  });
115
- const hi = Object.freeze([]);
116
- function Pt() {
123
+ const pi = Object.freeze([]);
124
+ function Ut() {
117
125
  const i = /* @__PURE__ */ new Map();
118
126
  return Object.freeze({
119
127
  register(t) {
@@ -128,7 +136,7 @@ function Pt() {
128
136
  }
129
137
  });
130
138
  }
131
- function zt() {
139
+ function qt() {
132
140
  const i = /* @__PURE__ */ new WeakMap();
133
141
  return function(t) {
134
142
  let e = i.get(t);
@@ -142,7 +150,7 @@ function zt() {
142
150
  };
143
151
  }
144
152
  function x(i) {
145
- i.prototype.toJSON = pe;
153
+ i.prototype.toJSON = ge;
146
154
  }
147
155
  const y = Object.freeze({
148
156
  /**
@@ -173,21 +181,21 @@ const y = Object.freeze({
173
181
  * An event.
174
182
  */
175
183
  event: 6
176
- }), pt = (i) => i, be = globalThis.trustedTypes ? globalThis.trustedTypes.createPolicy("fast-html", { createHTML: pt }) : { createHTML: pt };
177
- let D = Object.freeze({
184
+ }), gt = (i) => i, ve = globalThis.trustedTypes ? globalThis.trustedTypes.createPolicy("fast-html", { createHTML: gt }) : { createHTML: gt };
185
+ let P = Object.freeze({
178
186
  createHTML(i) {
179
- return be.createHTML(i);
187
+ return ve.createHTML(i);
180
188
  },
181
189
  protect(i, t, e, s) {
182
190
  return s;
183
191
  }
184
192
  });
185
- const ge = D, T = Object.freeze({
193
+ const me = P, T = Object.freeze({
186
194
  /**
187
195
  * Gets the dom policy used by the templating system.
188
196
  */
189
197
  get policy() {
190
- return D;
198
+ return P;
191
199
  },
192
200
  /**
193
201
  * Sets the dom policy used by the templating system.
@@ -197,12 +205,12 @@ const ge = D, T = Object.freeze({
197
205
  * called by the application developer at the start of their program.
198
206
  */
199
207
  setPolicy(i) {
200
- if (D !== ge)
208
+ if (P !== me)
201
209
  throw v.error(
202
210
  1201
203
211
  /* Message.onlySetDOMPolicyOnce */
204
212
  );
205
- D = i;
213
+ P = i;
206
214
  },
207
215
  /**
208
216
  * Sets an attribute value on an element.
@@ -227,7 +235,7 @@ const ge = D, T = Object.freeze({
227
235
  setBooleanAttribute(i, t, e) {
228
236
  e ? i.setAttribute(t, "") : i.removeAttribute(t);
229
237
  }
230
- }), Ut = v.getById(N.updateQueue, () => {
238
+ }), Wt = v.getById(N.updateQueue, () => {
231
239
  const i = [], t = [], e = globalThis.requestAnimationFrame;
232
240
  let s = !0;
233
241
  function n() {
@@ -328,7 +336,7 @@ class rt {
328
336
  e[n].handleChange(s, t);
329
337
  }
330
338
  }
331
- class qt {
339
+ class Qt {
332
340
  /**
333
341
  * Creates an instance of PropertyChangeNotifier for the specified subject.
334
342
  * @param subject - The object that subscribers will receive notifications for.
@@ -375,7 +383,7 @@ const J = Object.freeze({
375
383
  */
376
384
  coupled: 1
377
385
  }), g = v.getById(N.observable, () => {
378
- const i = Ut.enqueue, t = /(:|&&|\|\||if|\?\.)/, e = /* @__PURE__ */ new WeakMap();
386
+ const i = Wt.enqueue, t = /(:|&&|\|\||if|\?\.)/, e = /* @__PURE__ */ new WeakMap();
379
387
  let s, n = (l) => {
380
388
  throw v.error(
381
389
  1101
@@ -385,9 +393,9 @@ const J = Object.freeze({
385
393
  function r(l) {
386
394
  var a;
387
395
  let h = (a = l.$fastController) !== null && a !== void 0 ? a : e.get(l);
388
- return h === void 0 && (Array.isArray(l) ? h = n(l) : e.set(l, h = new qt(l))), h;
396
+ return h === void 0 && (Array.isArray(l) ? h = n(l) : e.set(l, h = new Qt(l))), h;
389
397
  }
390
- const o = zt();
398
+ const o = qt();
391
399
  class c {
392
400
  constructor(a) {
393
401
  this.name = a, this.field = `_${a}`, this.callback = `${a}Changed`;
@@ -548,17 +556,17 @@ const J = Object.freeze({
548
556
  }
549
557
  });
550
558
  });
551
- function ui(i, t) {
559
+ function bi(i, t) {
552
560
  g.defineProperty(i, t);
553
561
  }
554
- function fi(i, t, e) {
562
+ function gi(i, t, e) {
555
563
  return Object.assign({}, e, {
556
564
  get() {
557
565
  return g.trackVolatile(), e.get.apply(this);
558
566
  }
559
567
  });
560
568
  }
561
- const bt = v.getById(N.contextEvent, () => {
569
+ const yt = v.getById(N.contextEvent, () => {
562
570
  let i = null;
563
571
  return {
564
572
  get() {
@@ -590,14 +598,14 @@ const bt = v.getById(N.contextEvent, () => {
590
598
  * @returns An event object.
591
599
  */
592
600
  getEvent() {
593
- return bt.get();
601
+ return yt.get();
594
602
  },
595
603
  /**
596
604
  * Sets the current event.
597
605
  * @param event - An event object.
598
606
  */
599
607
  setEvent(i) {
600
- bt.set(i);
608
+ yt.set(i);
601
609
  }
602
610
  });
603
611
  class lt {
@@ -611,15 +619,15 @@ class lt {
611
619
  this.evaluate = t, this.policy = e, this.isVolatile = s;
612
620
  }
613
621
  }
614
- class ye extends lt {
622
+ class we extends lt {
615
623
  createObserver(t) {
616
624
  return g.binding(this.evaluate, t, this.isVolatile);
617
625
  }
618
626
  }
619
- function Wt(i, t, e = g.isVolatileBinding(i)) {
620
- return new ye(i, t, e);
627
+ function Gt(i, t, e = g.isVolatileBinding(i)) {
628
+ return new we(i, t, e);
621
629
  }
622
- class Qt extends lt {
630
+ class Jt extends lt {
623
631
  createObserver() {
624
632
  return this;
625
633
  }
@@ -627,13 +635,13 @@ class Qt extends lt {
627
635
  return this.evaluate(t.source, t.context);
628
636
  }
629
637
  }
630
- x(Qt);
631
- function Gt(i, t) {
632
- return new Qt(i, t);
638
+ x(Jt);
639
+ function Kt(i, t) {
640
+ return new Jt(i, t);
633
641
  }
634
- let gt;
635
- function Jt(i) {
636
- return i.map((t) => t instanceof m ? Jt(t.styles) : [t]).reduce((t, e) => t.concat(e), []);
642
+ let vt;
643
+ function Xt(i) {
644
+ return i.map((t) => t instanceof m ? Xt(t.styles) : [t]).reduce((t, e) => t.concat(e), []);
637
645
  }
638
646
  class m {
639
647
  /**
@@ -647,7 +655,7 @@ class m {
647
655
  * Gets the StyleStrategy associated with these element styles.
648
656
  */
649
657
  get strategy() {
650
- return this._strategy === null && this.withStrategy(gt), this._strategy;
658
+ return this._strategy === null && this.withStrategy(vt), this._strategy;
651
659
  }
652
660
  /** @internal */
653
661
  addStylesTo(t) {
@@ -673,14 +681,14 @@ class m {
673
681
  * @param strategy - The strategy to use.
674
682
  */
675
683
  withStrategy(t) {
676
- return this._strategy = new t(Jt(this.styles)), this;
684
+ return this._strategy = new t(Xt(this.styles)), this;
677
685
  }
678
686
  /**
679
687
  * Sets the default strategy type to use when creating style strategies.
680
688
  * @param Strategy - The strategy type to construct.
681
689
  */
682
690
  static setDefaultStrategy(t) {
683
- gt = t;
691
+ vt = t;
684
692
  }
685
693
  /**
686
694
  * Normalizes a set of composable style options.
@@ -692,8 +700,8 @@ class m {
692
700
  }
693
701
  }
694
702
  m.supportsAdoptedStyleSheets = Array.isArray(document.adoptedStyleSheets) && "replace" in CSSStyleSheet.prototype;
695
- const yt = /fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/, vt = /fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/, mt = /fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/, wt = /fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/, St = /^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/, Ct = /fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;
696
- function kt(i) {
703
+ const mt = /fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/, wt = /fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/, St = /fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/, Ct = /fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/, kt = /^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/, Tt = /fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;
704
+ function $t(i) {
697
705
  return i && i.nodeType === Node.COMMENT_NODE;
698
706
  }
699
707
  const w = Object.freeze({
@@ -712,22 +720,22 @@ const w = Object.freeze({
712
720
  return `fe-repeat$$end$$${i}$$fe-repeat`;
713
721
  },
714
722
  isContentBindingStartMarker(i) {
715
- return yt.test(i);
723
+ return mt.test(i);
716
724
  },
717
725
  isContentBindingEndMarker(i) {
718
- return vt.test(i);
726
+ return wt.test(i);
719
727
  },
720
728
  isRepeatViewStartMarker(i) {
721
- return mt.test(i);
729
+ return St.test(i);
722
730
  },
723
731
  isRepeatViewEndMarker(i) {
724
- return wt.test(i);
732
+ return Ct.test(i);
725
733
  },
726
734
  isElementBoundaryStartMarker(i) {
727
- return kt(i) && St.test(i.data.trim());
735
+ return $t(i) && kt.test(i.data.trim());
728
736
  },
729
737
  isElementBoundaryEndMarker(i) {
730
- return kt(i) && Ct.test(i.data);
738
+ return $t(i) && Tt.test(i.data);
731
739
  },
732
740
  /**
733
741
  * Returns the indexes of the ViewBehaviorFactories affecting
@@ -760,49 +768,49 @@ const w = Object.freeze({
760
768
  * the binding index or null if the index cannot be retrieved.
761
769
  */
762
770
  parseContentBindingStartMarker(i) {
763
- return Nt(yt, i);
771
+ return xt(mt, i);
764
772
  },
765
773
  parseContentBindingEndMarker(i) {
766
- return Nt(vt, i);
774
+ return xt(wt, i);
767
775
  },
768
776
  /**
769
777
  * Parses the index of a repeat directive from a content string.
770
778
  */
771
779
  parseRepeatStartMarker(i) {
772
- return Tt(mt, i);
780
+ return Nt(St, i);
773
781
  },
774
782
  parseRepeatEndMarker(i) {
775
- return Tt(wt, i);
783
+ return Nt(Ct, i);
776
784
  },
777
785
  /**
778
786
  * Parses element Id from element boundary markers
779
787
  */
780
788
  parseElementBoundaryStartMarker(i) {
781
- return $t(St, i.trim());
789
+ return Bt(kt, i.trim());
782
790
  },
783
791
  parseElementBoundaryEndMarker(i) {
784
- return $t(Ct, i);
792
+ return Bt(Tt, i);
785
793
  }
786
794
  });
787
- function Tt(i, t) {
795
+ function Nt(i, t) {
788
796
  const e = i.exec(t);
789
797
  return e === null ? e : parseInt(e[1]);
790
798
  }
791
- function $t(i, t) {
799
+ function Bt(i, t) {
792
800
  const e = i.exec(t);
793
801
  return e === null ? e : e[1];
794
802
  }
795
- function Nt(i, t) {
803
+ function xt(i, t) {
796
804
  const e = i.exec(t);
797
805
  return e === null ? e : [parseInt(e[1]), e[2]];
798
806
  }
799
- const z = Symbol.for("fe-hydration");
807
+ const z = /* @__PURE__ */ Symbol.for("fe-hydration");
800
808
  function U(i) {
801
809
  return i[z] === z;
802
810
  }
803
- const ct = `fast-${Math.random().toString(36).substring(2, 8)}`, H = `${ct}{`, R = `}${ct}`, ve = R.length;
804
- let me = 0;
805
- const j = () => `${ct}-${++me}`, Kt = Object.freeze({
811
+ const ct = `fast-${Math.random().toString(36).substring(2, 8)}`, D = `${ct}{`, R = `}${ct}`, Se = R.length;
812
+ let Ce = 0;
813
+ const j = () => `${ct}-${++Ce}`, Yt = Object.freeze({
806
814
  /**
807
815
  * Creates a placeholder string suitable for marking out a location *within*
808
816
  * an attribute value or HTML content.
@@ -810,7 +818,7 @@ const j = () => `${ct}-${++me}`, Kt = Object.freeze({
810
818
  * @remarks
811
819
  * Used internally by binding directives.
812
820
  */
813
- interpolation: (i) => `${H}${i}${R}`,
821
+ interpolation: (i) => `${D}${i}${R}`,
814
822
  /**
815
823
  * Creates a placeholder that manifests itself as an attribute on an
816
824
  * element.
@@ -819,14 +827,14 @@ const j = () => `${ct}-${++me}`, Kt = Object.freeze({
819
827
  * @remarks
820
828
  * Used internally by attribute directives such as `ref`, `slotted`, and `children`.
821
829
  */
822
- attribute: (i) => `${j()}="${H}${i}${R}"`,
830
+ attribute: (i) => `${j()}="${D}${i}${R}"`,
823
831
  /**
824
832
  * Creates a placeholder that manifests itself as a marker within the DOM structure.
825
833
  * @param index - The directive index to create the placeholder for.
826
834
  * @remarks
827
835
  * Used internally by structural directives such as `repeat`.
828
836
  */
829
- comment: (i) => `<!--${H}${i}${R}-->`
837
+ comment: (i) => `<!--${D}${i}${R}-->`
830
838
  }), K = Object.freeze({
831
839
  /**
832
840
  * Parses text content or HTML attribute content, separating out the static strings
@@ -837,7 +845,7 @@ const j = () => `${ct}-${++me}`, Kt = Object.freeze({
837
845
  * directives or null if no directives are found in the string.
838
846
  */
839
847
  parse(i, t) {
840
- const e = i.split(H);
848
+ const e = i.split(D);
841
849
  if (e.length === 1)
842
850
  return null;
843
851
  const s = [];
@@ -848,13 +856,13 @@ const j = () => `${ct}-${++me}`, Kt = Object.freeze({
848
856
  d = o;
849
857
  else {
850
858
  const l = o.substring(0, c);
851
- s.push(t[l]), d = o.substring(c + ve);
859
+ s.push(t[l]), d = o.substring(c + Se);
852
860
  }
853
861
  d !== "" && s.push(d);
854
862
  }
855
863
  return s;
856
864
  }
857
- }), et = Pt(), $ = Object.freeze({
865
+ }), et = Ut(), $ = Object.freeze({
858
866
  /**
859
867
  * Gets the directive definition associated with the instance.
860
868
  * @param instance - The directive instance to retrieve the definition for.
@@ -901,7 +909,7 @@ const j = () => `${ct}-${++me}`, Kt = Object.freeze({
901
909
  }
902
910
  }
903
911
  });
904
- class we {
912
+ class ke {
905
913
  /**
906
914
  * Creates an instance of RefDirective.
907
915
  * @param options - The options to use in configuring the directive.
@@ -916,7 +924,7 @@ class we {
916
924
  * Creates a custom attribute placeholder.
917
925
  */
918
926
  createHTML(t) {
919
- return Kt.attribute(t(this));
927
+ return Yt.attribute(t(this));
920
928
  }
921
929
  /**
922
930
  * Creates a behavior.
@@ -926,8 +934,8 @@ class we {
926
934
  return this;
927
935
  }
928
936
  }
929
- x(we);
930
- class Xt extends Error {
937
+ x(ke);
938
+ class Zt extends Error {
931
939
  constructor(t, e, s) {
932
940
  super(t), this.factories = e, this.node = s;
933
941
  }
@@ -935,18 +943,18 @@ class Xt extends Error {
935
943
  function dt(i) {
936
944
  return i.nodeType === Node.COMMENT_NODE;
937
945
  }
938
- function Yt(i) {
946
+ function te(i) {
939
947
  return i.nodeType === Node.TEXT_NODE;
940
948
  }
941
- function Zt(i, t) {
949
+ function ee(i, t) {
942
950
  const e = document.createRange();
943
- return e.setStart(i, 0), e.setEnd(t, dt(t) || Yt(t) ? t.data.length : t.childNodes.length), e;
951
+ return e.setStart(i, 0), e.setEnd(t, dt(t) || te(t) ? t.data.length : t.childNodes.length), e;
944
952
  }
945
- function Se(i) {
953
+ function Te(i) {
946
954
  return i instanceof DocumentFragment && "mode" in i;
947
955
  }
948
- function Ce(i, t, e) {
949
- const s = Zt(i, t), n = s.commonAncestorContainer, r = document.createTreeWalker(n, NodeFilter.SHOW_ELEMENT + NodeFilter.SHOW_COMMENT + NodeFilter.SHOW_TEXT, {
956
+ function $e(i, t, e) {
957
+ const s = ee(i, t), n = s.commonAncestorContainer, r = document.createTreeWalker(n, NodeFilter.SHOW_ELEMENT + NodeFilter.SHOW_COMMENT + NodeFilter.SHOW_TEXT, {
950
958
  acceptNode(l) {
951
959
  return s.comparePoint(l, 0) === 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
952
960
  }
@@ -955,11 +963,11 @@ function Ce(i, t, e) {
955
963
  for (; d !== null; ) {
956
964
  switch (d.nodeType) {
957
965
  case Node.ELEMENT_NODE: {
958
- ke(d, e, o);
966
+ Ne(d, e, o);
959
967
  break;
960
968
  }
961
969
  case Node.COMMENT_NODE: {
962
- Te(d, r, e, o, c);
970
+ Be(d, r, e, o, c);
963
971
  break;
964
972
  }
965
973
  }
@@ -967,21 +975,21 @@ function Ce(i, t, e) {
967
975
  }
968
976
  return s.detach(), { targets: o, boundaries: c };
969
977
  }
970
- function ke(i, t, e) {
978
+ function Ne(i, t, e) {
971
979
  var s;
972
980
  const n = (s = w.parseAttributeBinding(i)) !== null && s !== void 0 ? s : w.parseEnumeratedAttributeBinding(i);
973
981
  if (n !== null) {
974
982
  for (const r of n) {
975
983
  if (!t[r])
976
- throw new Xt(`HydrationView was unable to successfully target factory on ${i.nodeName} inside ${i.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`, t, i);
984
+ throw new Zt(`HydrationView was unable to successfully target factory on ${i.nodeName} inside ${i.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`, t, i);
977
985
  q(t[r], i, e);
978
986
  }
979
987
  i.removeAttribute(w.attributeMarkerName);
980
988
  }
981
989
  }
982
- function Te(i, t, e, s, n) {
990
+ function Be(i, t, e, s, n) {
983
991
  if (w.isElementBoundaryStartMarker(i)) {
984
- $e(i, t);
992
+ xe(i, t);
985
993
  return;
986
994
  }
987
995
  if (w.isContentBindingStartMarker(i.data)) {
@@ -1002,9 +1010,9 @@ function Te(i, t, e, s, n) {
1002
1010
  }
1003
1011
  if (a === null) {
1004
1012
  const u = i.getRootNode();
1005
- throw new Error(`Error hydrating Comment node inside "${Se(u) ? u.host.nodeName : u.nodeName}".`);
1013
+ throw new Error(`Error hydrating Comment node inside "${Te(u) ? u.host.nodeName : u.nodeName}".`);
1006
1014
  }
1007
- if (a.data = "", l.length === 1 && Yt(l[0]))
1015
+ if (a.data = "", l.length === 1 && te(l[0]))
1008
1016
  q(d, l[0], s);
1009
1017
  else {
1010
1018
  a !== h && a.previousSibling !== null && (n[d.targetNodeId] = {
@@ -1016,7 +1024,7 @@ function Te(i, t, e, s, n) {
1016
1024
  }
1017
1025
  }
1018
1026
  }
1019
- function $e(i, t) {
1027
+ function xe(i, t) {
1020
1028
  const e = w.parseElementBoundaryStartMarker(i.data);
1021
1029
  let s = t.nextSibling();
1022
1030
  for (; s !== null; ) {
@@ -1033,7 +1041,7 @@ function q(i, t, e) {
1033
1041
  throw new Error("Factory could not be target to the node");
1034
1042
  e[i.targetNodeId] = t;
1035
1043
  }
1036
- var te;
1044
+ var ie;
1037
1045
  function at(i, t) {
1038
1046
  const e = i.parentNode;
1039
1047
  let s = i, n;
@@ -1044,7 +1052,7 @@ function at(i, t) {
1044
1052
  }
1045
1053
  e.removeChild(t);
1046
1054
  }
1047
- class ee {
1055
+ class se {
1048
1056
  constructor() {
1049
1057
  this.index = 0, this.length = 0;
1050
1058
  }
@@ -1102,7 +1110,7 @@ class ee {
1102
1110
  return this.event.target;
1103
1111
  }
1104
1112
  }
1105
- class X extends ee {
1113
+ class X extends se {
1106
1114
  /**
1107
1115
  * Constructs an instance of HTMLView.
1108
1116
  * @param fragment - The html fragment that contains the nodes for this view.
@@ -1212,14 +1220,14 @@ const A = {
1212
1220
  hydrating: "hydrating",
1213
1221
  hydrated: "hydrated"
1214
1222
  };
1215
- class Ne extends Error {
1223
+ class Ae extends Error {
1216
1224
  constructor(t, e, s, n) {
1217
1225
  super(t), this.factory = e, this.fragment = s, this.templateString = n;
1218
1226
  }
1219
1227
  }
1220
- class Be extends ee {
1228
+ class Me extends se {
1221
1229
  constructor(t, e, s, n) {
1222
- super(), this.firstChild = t, this.lastChild = e, this.sourceTemplate = s, this.hostBindingTarget = n, this[te] = z, this.context = this, this.source = null, this.isBound = !1, this.sourceLifetime = J.unknown, this.unbindables = [], this.fragment = null, this.behaviors = null, this._hydrationStage = A.unhydrated, this._bindingViewBoundaries = {}, this._targets = {}, this.factories = s.compile().factories;
1230
+ super(), this.firstChild = t, this.lastChild = e, this.sourceTemplate = s, this.hostBindingTarget = n, this[ie] = z, this.context = this, this.source = null, this.isBound = !1, this.sourceLifetime = J.unknown, this.unbindables = [], this.fragment = null, this.behaviors = null, this._hydrationStage = A.unhydrated, this._bindingViewBoundaries = {}, this._targets = {}, this.factories = s.compile().factories;
1223
1231
  }
1224
1232
  get hydrationStage() {
1225
1233
  return this._hydrationStage;
@@ -1275,10 +1283,10 @@ class Be extends ee {
1275
1283
  if (n === null) {
1276
1284
  this.source = t, this.context = e;
1277
1285
  try {
1278
- const { targets: o, boundaries: c } = Ce(this.firstChild, this.lastChild, this.factories);
1286
+ const { targets: o, boundaries: c } = $e(this.firstChild, this.lastChild, this.factories);
1279
1287
  this._targets = o, this._bindingViewBoundaries = c;
1280
1288
  } catch (o) {
1281
- if (o instanceof Xt) {
1289
+ if (o instanceof Zt) {
1282
1290
  let c = this.sourceTemplate.html;
1283
1291
  typeof c != "string" && (c = c.innerHTML), o.templateString = c;
1284
1292
  }
@@ -1303,8 +1311,8 @@ Mismatch Details:`,
1303
1311
  ];
1304
1312
  throw d.targetTagName && b.push(` - Expected tag name: "${d.targetTagName}"`), u.sourceAspect && b.push(` - Source aspect: "${u.sourceAspect}"`), u.aspectType !== void 0 && b.push(` - Aspect type: ${u.aspectType}`), b.push(`
1305
1313
  This usually means:`, " 1. The server-rendered HTML doesn't match the client template", " 2. The hydration markers are missing or corrupted", " 3. The DOM structure was modified before hydration", `
1306
- Template: ${l.slice(0, 200)}${l.length > 200 ? "..." : ""}`), new Ne(b.join(`
1307
- `), d, Zt(this.firstChild, this.lastChild).cloneContents(), l);
1314
+ Template: ${l.slice(0, 200)}${l.length > 200 ? "..." : ""}`), new Ae(b.join(`
1315
+ `), d, ee(this.firstChild, this.lastChild).cloneContents(), l);
1308
1316
  }
1309
1317
  }
1310
1318
  } else {
@@ -1334,13 +1342,13 @@ Template: ${l.slice(0, 200)}${l.length > 200 ? "..." : ""}`), new Ne(b.join(`
1334
1342
  t.length = 0;
1335
1343
  }
1336
1344
  }
1337
- te = z;
1338
- x(Be);
1339
- function xe(i) {
1345
+ ie = z;
1346
+ x(Me);
1347
+ function Oe(i) {
1340
1348
  return i.create !== void 0;
1341
1349
  }
1342
- function Ae(i, t, e, s) {
1343
- if (e == null && (e = ""), xe(e)) {
1350
+ function Ee(i, t, e, s) {
1351
+ if (e == null && (e = ""), Oe(e)) {
1344
1352
  i.textContent = "";
1345
1353
  let n = i.$fastView;
1346
1354
  if (n === void 0)
@@ -1357,7 +1365,7 @@ function Ae(i, t, e, s) {
1357
1365
  n !== void 0 && n.isComposed && (n.isComposed = !1, n.remove(), n.needsBindOnly ? n.needsBindOnly = !1 : n.unbind()), i.textContent = e;
1358
1366
  }
1359
1367
  }
1360
- function Me(i, t, e) {
1368
+ function Re(i, t, e) {
1361
1369
  var s;
1362
1370
  const n = `${this.id}-t`, r = (s = i[n]) !== null && s !== void 0 ? s : i[n] = { v: 0, cv: /* @__PURE__ */ Object.create(null) }, o = r.cv;
1363
1371
  let c = r.v;
@@ -1375,12 +1383,12 @@ function Me(i, t, e) {
1375
1383
  o[l] === c && d.remove(l);
1376
1384
  }
1377
1385
  }
1378
- const Oe = {
1386
+ const _e = {
1379
1387
  [y.attribute]: T.setAttribute,
1380
1388
  [y.booleanAttribute]: T.setBooleanAttribute,
1381
1389
  [y.property]: (i, t, e) => i[t] = e,
1382
- [y.content]: Ae,
1383
- [y.tokenList]: Me,
1390
+ [y.content]: Ee,
1391
+ [y.tokenList]: Re,
1384
1392
  [y.event]: () => {
1385
1393
  }
1386
1394
  };
@@ -1397,7 +1405,7 @@ class M {
1397
1405
  * @param add - Can be used to add behavior factories to a template.
1398
1406
  */
1399
1407
  createHTML(t) {
1400
- return Kt.interpolation(t(this));
1408
+ return Yt.interpolation(t(this));
1401
1409
  }
1402
1410
  /**
1403
1411
  * Creates a behavior.
@@ -1405,7 +1413,7 @@ class M {
1405
1413
  createBehavior() {
1406
1414
  var t;
1407
1415
  if (this.updateTarget === null) {
1408
- const e = Oe[this.aspectType], s = (t = this.dataBinding.policy) !== null && t !== void 0 ? t : this.policy;
1416
+ const e = _e[this.aspectType], s = (t = this.dataBinding.policy) !== null && t !== void 0 ? t : this.policy;
1409
1417
  if (!e)
1410
1418
  throw v.error(
1411
1419
  1205
@@ -1425,6 +1433,7 @@ class M {
1425
1433
  break;
1426
1434
  case y.content:
1427
1435
  t.onUnbind(this);
1436
+ // intentional fall through
1428
1437
  default:
1429
1438
  const r = (e = s[this.data]) !== null && e !== void 0 ? e : s[this.data] = this.dataBinding.createObserver(this, this);
1430
1439
  if (r.target = s, r.controller = t, n && (this.aspectType === y.attribute || this.aspectType === y.booleanAttribute)) {
@@ -1456,24 +1465,24 @@ class M {
1456
1465
  }
1457
1466
  }
1458
1467
  $.define(M, { aspected: !0 });
1459
- const ie = (i, t) => `${i}.${t}`, Bt = {}, C = {
1468
+ const ne = (i, t) => `${i}.${t}`, At = {}, C = {
1460
1469
  index: 0,
1461
1470
  node: null
1462
1471
  };
1463
- function xt(i) {
1472
+ function Mt(i) {
1464
1473
  i.startsWith("fast-") || v.warn(1204, { name: i });
1465
1474
  }
1466
- const Ee = new Proxy(document.createElement("div"), {
1475
+ const Ie = new Proxy(document.createElement("div"), {
1467
1476
  get(i, t) {
1468
- xt(t);
1477
+ Mt(t);
1469
1478
  const e = Reflect.get(i, t);
1470
1479
  return E(e) ? e.bind(i) : e;
1471
1480
  },
1472
1481
  set(i, t, e) {
1473
- return xt(t), Reflect.set(i, t, e);
1482
+ return Mt(t), Reflect.set(i, t, e);
1474
1483
  }
1475
1484
  });
1476
- class Re {
1485
+ class je {
1477
1486
  constructor(t, e, s) {
1478
1487
  this.fragment = t, this.directives = e, this.policy = s, this.proto = null, this.nodeIds = /* @__PURE__ */ new Set(), this.descriptors = {}, this.factories = [];
1479
1488
  }
@@ -1494,10 +1503,10 @@ class Re {
1494
1503
  const o = t.lastIndexOf("."), c = t.substring(0, o), d = parseInt(t.substring(o + 1));
1495
1504
  this.addTargetDescriptor(c, t, d);
1496
1505
  }
1497
- let r = Bt[e];
1506
+ let r = At[e];
1498
1507
  if (!r) {
1499
1508
  const o = `_${e}`;
1500
- Bt[e] = r = {
1509
+ At[e] = r = {
1501
1510
  get() {
1502
1511
  var c;
1503
1512
  return (c = this[o]) !== null && c !== void 0 ? c : this[o] = this[t].childNodes[s];
@@ -1508,46 +1517,46 @@ class Re {
1508
1517
  }
1509
1518
  createView(t) {
1510
1519
  const e = this.fragment.cloneNode(!0), s = Object.create(this.proto);
1511
- s.r = e, s.h = t ?? Ee;
1520
+ s.r = e, s.h = t ?? Ie;
1512
1521
  for (const n of this.nodeIds)
1513
1522
  s[n];
1514
1523
  return new X(e, this.factories, s);
1515
1524
  }
1516
1525
  }
1517
- function se(i, t, e, s, n, r = !1) {
1526
+ function re(i, t, e, s, n, r = !1) {
1518
1527
  const o = e.attributes, c = i.directives;
1519
1528
  for (let d = 0, l = o.length; d < l; ++d) {
1520
1529
  const a = o[d], h = a.value, u = K.parse(h, c);
1521
1530
  let b = null;
1522
- u === null ? r && (b = new M(Gt(() => h, i.policy)), $.assignAspect(b, a.name)) : b = ht.aggregate(u, i.policy), b !== null && (e.removeAttributeNode(a), d--, l--, i.addFactory(b, t, s, n, e.tagName));
1531
+ u === null ? r && (b = new M(Kt(() => h, i.policy)), $.assignAspect(b, a.name)) : b = ht.aggregate(u, i.policy), b !== null && (e.removeAttributeNode(a), d--, l--, i.addFactory(b, t, s, n, e.tagName));
1523
1532
  }
1524
1533
  }
1525
- function _e(i, t, e, s, n) {
1534
+ function Le(i, t, e, s, n) {
1526
1535
  const r = K.parse(t.textContent, i.directives);
1527
1536
  if (r === null)
1528
1537
  return C.node = t.nextSibling, C.index = n + 1, C;
1529
1538
  let o, c = o = t;
1530
1539
  for (let d = 0, l = r.length; d < l; ++d) {
1531
1540
  const a = r[d];
1532
- d !== 0 && (n++, s = ie(e, n), o = c.parentNode.insertBefore(document.createTextNode(""), c.nextSibling)), B(a) ? o.textContent = a : (o.textContent = " ", $.assignAspect(a), i.addFactory(a, e, s, n, null)), c = o;
1541
+ d !== 0 && (n++, s = ne(e, n), o = c.parentNode.insertBefore(document.createTextNode(""), c.nextSibling)), B(a) ? o.textContent = a : (o.textContent = " ", $.assignAspect(a), i.addFactory(a, e, s, n, null)), c = o;
1533
1542
  }
1534
1543
  return C.index = n + 1, C.node = c.nextSibling, C;
1535
1544
  }
1536
- function ne(i, t, e) {
1545
+ function ae(i, t, e) {
1537
1546
  let s = 0, n = t.firstChild;
1538
1547
  for (; n; ) {
1539
- const r = Ie(i, e, n, s);
1548
+ const r = Ve(i, e, n, s);
1540
1549
  n = r.node, s = r.index;
1541
1550
  }
1542
1551
  }
1543
- function Ie(i, t, e, s) {
1544
- const n = ie(t, s);
1552
+ function Ve(i, t, e, s) {
1553
+ const n = ne(t, s);
1545
1554
  switch (e.nodeType) {
1546
1555
  case 1:
1547
- se(i, t, e, n, s), ne(i, e, n);
1556
+ re(i, t, e, n, s), ae(i, e, n);
1548
1557
  break;
1549
1558
  case 3:
1550
- return _e(i, e, t, n, s);
1559
+ return Le(i, e, t, n, s);
1551
1560
  case 8:
1552
1561
  const r = K.parse(e.data, i.directives);
1553
1562
  r !== null && i.addFactory(
@@ -1562,10 +1571,10 @@ function Ie(i, t, e, s) {
1562
1571
  }
1563
1572
  return C.index = s + 1, C.node = e.nextSibling, C;
1564
1573
  }
1565
- function je(i, t) {
1574
+ function Fe(i, t) {
1566
1575
  return i && i.nodeType == 8 && K.parse(i.data, t) !== null;
1567
1576
  }
1568
- const At = "TEMPLATE", ht = {
1577
+ const Ot = "TEMPLATE", ht = {
1569
1578
  /**
1570
1579
  * Compiles a template and associated directives into a compilation
1571
1580
  * result which can be used to create views.
@@ -1581,14 +1590,14 @@ const At = "TEMPLATE", ht = {
1581
1590
  compile(i, t, e = T.policy) {
1582
1591
  let s;
1583
1592
  if (B(i)) {
1584
- s = document.createElement(At), s.innerHTML = e.createHTML(i);
1593
+ s = document.createElement(Ot), s.innerHTML = e.createHTML(i);
1585
1594
  const o = s.content.firstElementChild;
1586
- o !== null && o.tagName === At && (s = o);
1595
+ o !== null && o.tagName === Ot && (s = o);
1587
1596
  } else
1588
1597
  s = i;
1589
1598
  !s.content.firstChild && !s.content.lastChild && s.content.appendChild(document.createComment(""));
1590
- const n = document.adoptNode(s.content), r = new Re(n, t, e);
1591
- return se(
1599
+ const n = document.adoptNode(s.content), r = new je(n, t, e);
1600
+ return re(
1592
1601
  r,
1593
1602
  "",
1594
1603
  s,
@@ -1600,10 +1609,10 @@ const At = "TEMPLATE", ht = {
1600
1609
  // because something like a when, repeat, etc. could add nodes before the marker.
1601
1610
  // To mitigate this, we insert a stable first node. However, if we insert a node,
1602
1611
  // that will alter the result of the TreeWalker. So, we also need to offset the target index.
1603
- (je(n.firstChild, t) || // Or if there is only one node and a directive, it means the template's content
1612
+ (Fe(n.firstChild, t) || // Or if there is only one node and a directive, it means the template's content
1604
1613
  // is *only* the directive. In that case, HTMLView.dispose() misses any nodes inserted by
1605
1614
  // the directive. Inserting a new node ensures proper disposal of nodes added by the directive.
1606
- n.childNodes.length === 1 && Object.keys(t).length > 0) && n.insertBefore(document.createComment(""), n.firstChild), ne(
1615
+ n.childNodes.length === 1 && Object.keys(t).length > 0) && n.insertBefore(document.createComment(""), n.firstChild), ae(
1607
1616
  r,
1608
1617
  n,
1609
1618
  /* root */
@@ -1634,19 +1643,19 @@ const At = "TEMPLATE", ht = {
1634
1643
  for (let u = 0; u < r; ++u)
1635
1644
  h += o[u](l, a);
1636
1645
  return h;
1637
- }, d = new M(Wt(c, n ?? t, s));
1646
+ }, d = new M(Gt(c, n ?? t, s));
1638
1647
  return $.assignAspect(d, e), d;
1639
1648
  }
1640
- }, Le = (
1649
+ }, Pe = (
1641
1650
  /* eslint-disable-next-line no-control-regex, max-len */
1642
1651
  /([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/
1643
- ), Ve = /* @__PURE__ */ Object.create(null);
1652
+ ), De = /* @__PURE__ */ Object.create(null);
1644
1653
  class L {
1645
1654
  /**
1646
1655
  * Creates an instance of InlineTemplateDirective.
1647
1656
  * @param template - The template to inline.
1648
1657
  */
1649
- constructor(t, e = Ve) {
1658
+ constructor(t, e = De) {
1650
1659
  this.html = t, this.factories = e;
1651
1660
  }
1652
1661
  /**
@@ -1662,9 +1671,9 @@ class L {
1662
1671
  }
1663
1672
  L.empty = new L("");
1664
1673
  $.define(L);
1665
- function Fe(i, t, e, s = $.getForInstance(i)) {
1674
+ function He(i, t, e, s = $.getForInstance(i)) {
1666
1675
  if (s.aspected) {
1667
- const n = Le.exec(t);
1676
+ const n = Pe.exec(t);
1668
1677
  n !== null && $.assignAspect(i, n[2]);
1669
1678
  }
1670
1679
  return i.createHTML(e);
@@ -1754,34 +1763,34 @@ class Y {
1754
1763
  const l = t[c];
1755
1764
  let a = e[c], h;
1756
1765
  if (n += l, E(a))
1757
- a = new M(Wt(a));
1766
+ a = new M(Gt(a));
1758
1767
  else if (a instanceof lt)
1759
1768
  a = new M(a);
1760
1769
  else if (!(h = $.getForInstance(a))) {
1761
1770
  const u = a;
1762
- a = new M(Gt(() => u));
1771
+ a = new M(Kt(() => u));
1763
1772
  }
1764
- n += Fe(a, l, o, h);
1773
+ n += He(a, l, o, h);
1765
1774
  }
1766
1775
  return new Y(n + t[t.length - 1], r, s);
1767
1776
  }
1768
1777
  }
1769
1778
  x(Y);
1770
- const re = (i, ...t) => {
1779
+ const oe = ((i, ...t) => {
1771
1780
  if (Array.isArray(i) && Array.isArray(i.raw))
1772
1781
  return Y.create(i, t);
1773
1782
  throw v.error(
1774
1783
  1206
1775
1784
  /* Message.directCallToHTMLTagNotAllowed */
1776
1785
  );
1777
- };
1778
- re.partial = (i) => new L(i);
1779
- const Mt = "boolean", Ot = "reflect", ae = Object.freeze({
1786
+ });
1787
+ oe.partial = (i) => new L(i);
1788
+ const Et = "boolean", Rt = "reflect", le = Object.freeze({
1780
1789
  /**
1781
1790
  * Locates all attribute configurations associated with a type.
1782
1791
  */
1783
- locate: zt()
1784
- }), De = {
1792
+ locate: qt()
1793
+ }), ze = {
1785
1794
  toView(i) {
1786
1795
  return i ? "true" : "false";
1787
1796
  },
@@ -1789,18 +1798,18 @@ const Mt = "boolean", Ot = "reflect", ae = Object.freeze({
1789
1798
  return !(i == null || i === "false" || i === !1 || i === 0);
1790
1799
  }
1791
1800
  };
1792
- function Et(i) {
1801
+ function _t(i) {
1793
1802
  if (i == null)
1794
1803
  return null;
1795
1804
  const t = i * 1;
1796
1805
  return isNaN(t) ? null : t;
1797
1806
  }
1798
- const pi = {
1807
+ const yi = {
1799
1808
  toView(i) {
1800
- const t = Et(i);
1809
+ const t = _t(i);
1801
1810
  return t && t.toString();
1802
1811
  },
1803
- fromView: Et
1812
+ fromView: _t
1804
1813
  };
1805
1814
  class W {
1806
1815
  /**
@@ -1812,8 +1821,8 @@ class W {
1812
1821
  * @param converter - A {@link ValueConverter} that integrates with the property getter/setter
1813
1822
  * to convert values to and from a DOM string.
1814
1823
  */
1815
- constructor(t, e, s = e.toLowerCase(), n = Ot, r) {
1816
- this.guards = /* @__PURE__ */ new Set(), this.Owner = t, this.name = e, this.attribute = s, this.mode = n, this.converter = r, this.fieldName = `_${e}`, this.callbackName = `${e}Changed`, this.hasCallback = this.callbackName in t.prototype, n === Mt && r === void 0 && (this.converter = De);
1824
+ constructor(t, e, s = e.toLowerCase(), n = Rt, r) {
1825
+ this.guards = /* @__PURE__ */ new Set(), this.Owner = t, this.name = e, this.attribute = s, this.mode = n, this.converter = r, this.fieldName = `_${e}`, this.callbackName = `${e}Changed`, this.hasCallback = this.callbackName in t.prototype, n === Et && r === void 0 && (this.converter = ze);
1817
1826
  }
1818
1827
  /**
1819
1828
  * Sets the value of the attribute/property on the source element.
@@ -1837,15 +1846,15 @@ class W {
1837
1846
  }
1838
1847
  tryReflectToAttribute(t) {
1839
1848
  const e = this.mode, s = this.guards;
1840
- s.has(t) || e === "fromView" || Ut.enqueue(() => {
1849
+ s.has(t) || e === "fromView" || Wt.enqueue(() => {
1841
1850
  s.add(t);
1842
1851
  const n = t[this.fieldName];
1843
1852
  switch (e) {
1844
- case Ot:
1853
+ case Rt:
1845
1854
  const r = this.converter;
1846
1855
  T.setAttribute(t, this.attribute, r !== void 0 ? r.toView(n) : n);
1847
1856
  break;
1848
- case Mt:
1857
+ case Et:
1849
1858
  T.setBooleanAttribute(t, this.attribute, n);
1850
1859
  break;
1851
1860
  }
@@ -1860,7 +1869,7 @@ class W {
1860
1869
  */
1861
1870
  static collect(t, ...e) {
1862
1871
  const s = [];
1863
- e.push(ae.locate(t));
1872
+ e.push(le.locate(t));
1864
1873
  for (let n = 0, r = e.length; n < r; ++n) {
1865
1874
  const o = e[n];
1866
1875
  if (o !== void 0)
@@ -1872,10 +1881,10 @@ class W {
1872
1881
  return s;
1873
1882
  }
1874
1883
  }
1875
- function He(i, t) {
1884
+ function Ue(i, t) {
1876
1885
  let e;
1877
1886
  function s(n, r) {
1878
- arguments.length > 1 && (e.property = r), ae.locate(n.constructor).push(e);
1887
+ arguments.length > 1 && (e.property = r), le.locate(n.constructor).push(e);
1879
1888
  }
1880
1889
  if (arguments.length > 1) {
1881
1890
  e = {}, s(i, t);
@@ -1883,7 +1892,7 @@ function He(i, t) {
1883
1892
  }
1884
1893
  return e = i === void 0 ? {} : i, s;
1885
1894
  }
1886
- var Pe = function(i, t, e, s) {
1895
+ var qe = function(i, t, e, s) {
1887
1896
  function n(r) {
1888
1897
  return r instanceof e ? r : new e(function(o) {
1889
1898
  o(r);
@@ -1910,7 +1919,7 @@ var Pe = function(i, t, e, s) {
1910
1919
  l((s = s.apply(i, t || [])).next());
1911
1920
  });
1912
1921
  };
1913
- const Rt = { mode: "open" }, _t = {}, it = /* @__PURE__ */ new Set(), _ = v.getById(N.elementRegistry, () => Pt()), ze = {
1922
+ const It = { mode: "open" }, jt = {}, it = /* @__PURE__ */ new Set(), _ = v.getById(N.elementRegistry, () => Ut()), We = {
1914
1923
  deferAndHydrate: "defer-and-hydrate"
1915
1924
  };
1916
1925
  class p {
@@ -1925,7 +1934,7 @@ class p {
1925
1934
  Reflect.defineProperty(t, "observedAttributes", {
1926
1935
  value: o,
1927
1936
  enumerable: !0
1928
- }), this.attributes = r, this.propertyLookup = c, this.attributeLookup = d, this.shadowOptions = e.shadowOptions === void 0 ? Rt : e.shadowOptions === null ? void 0 : Object.assign(Object.assign({}, Rt), e.shadowOptions), this.elementOptions = e.elementOptions === void 0 ? _t : Object.assign(Object.assign({}, _t), e.elementOptions), this.styles = m.normalize(e.styles), _.register(this), g.defineProperty(p.isRegistered, this.name), p.isRegistered[this.name] = this.type;
1937
+ }), this.attributes = r, this.propertyLookup = c, this.attributeLookup = d, this.shadowOptions = e.shadowOptions === void 0 ? It : e.shadowOptions === null ? void 0 : Object.assign(Object.assign({}, It), e.shadowOptions), this.elementOptions = e.elementOptions === void 0 ? jt : Object.assign(Object.assign({}, jt), e.elementOptions), this.styles = m.normalize(e.styles), _.register(this), g.defineProperty(p.isRegistered, this.name), p.isRegistered[this.name] = this.type;
1929
1938
  }
1930
1939
  /**
1931
1940
  * Indicates if this element has been defined in at least one registry.
@@ -1988,13 +1997,13 @@ class p {
1988
1997
  p.isRegistered = {};
1989
1998
  p.getByType = _.getByType;
1990
1999
  p.getForInstance = _.getForInstance;
1991
- p.registerAsync = (i) => Pe(void 0, void 0, void 0, function* () {
2000
+ p.registerAsync = (i) => qe(void 0, void 0, void 0, function* () {
1992
2001
  return new Promise((t) => {
1993
2002
  p.isRegistered[i] && t(p.isRegistered[i]), g.getNotifier(p.isRegistered).subscribe({ handleChange: () => t(p.isRegistered[i]) }, i);
1994
2003
  });
1995
2004
  });
1996
2005
  g.defineProperty(p.prototype, "template");
1997
- class Ue extends MutationObserver {
2006
+ class Qe extends MutationObserver {
1998
2007
  /**
1999
2008
  * Creates an instance of UnobservableMutationObserver.
2000
2009
  * @param callback - The callback to invoke when observed nodes are changed.
@@ -2012,7 +2021,7 @@ class Ue extends MutationObserver {
2012
2021
  this.observedNodes.delete(t), this.observedNodes.size < 1 && this.disconnect();
2013
2022
  }
2014
2023
  }
2015
- const bi = Object.freeze({
2024
+ const vi = Object.freeze({
2016
2025
  /**
2017
2026
  * Creates a ViewBehaviorOrchestrator.
2018
2027
  * @param source - The source to to associate behaviors with.
@@ -2050,17 +2059,17 @@ const bi = Object.freeze({
2050
2059
  }
2051
2060
  };
2052
2061
  }
2053
- }), qe = {
2062
+ }), Ge = {
2054
2063
  bubbles: !0,
2055
2064
  composed: !0,
2056
2065
  cancelable: !0
2057
- }, P = "isConnected", oe = /* @__PURE__ */ new WeakMap();
2066
+ }, H = "isConnected", ce = /* @__PURE__ */ new WeakMap();
2058
2067
  function I(i) {
2059
2068
  var t, e;
2060
- return (e = (t = i.shadowRoot) !== null && t !== void 0 ? t : oe.get(i)) !== null && e !== void 0 ? e : null;
2069
+ return (e = (t = i.shadowRoot) !== null && t !== void 0 ? t : ce.get(i)) !== null && e !== void 0 ? e : null;
2061
2070
  }
2062
- let It;
2063
- class S extends qt {
2071
+ let Lt;
2072
+ class S extends Qt {
2064
2073
  /**
2065
2074
  * Creates a Controller to control the specified element.
2066
2075
  * @param element - The element to be controlled by this controller.
@@ -2084,7 +2093,7 @@ class S extends qt {
2084
2093
  * connected to the document.
2085
2094
  */
2086
2095
  get isConnected() {
2087
- return g.track(this, P), this.stage === 1;
2096
+ return g.track(this, H), this.stage === 1;
2088
2097
  }
2089
2098
  /**
2090
2099
  * The context the expression is evaluated against.
@@ -2133,7 +2142,7 @@ class S extends qt {
2133
2142
  if (this._shadowRootOptions === void 0 && t !== void 0) {
2134
2143
  this._shadowRootOptions = t;
2135
2144
  let e = this.source.shadowRoot;
2136
- e ? this.hasExistingShadowRoot = !0 : (e = this.source.attachShadow(t), t.mode === "closed" && oe.set(this.source, e));
2145
+ e ? this.hasExistingShadowRoot = !0 : (e = this.source.attachShadow(t), t.mode === "closed" && ce.set(this.source, e));
2137
2146
  }
2138
2147
  }
2139
2148
  /**
@@ -2220,7 +2229,7 @@ class S extends qt {
2220
2229
  * Runs connected lifecycle behavior on the associated element.
2221
2230
  */
2222
2231
  connect() {
2223
- this.stage === 3 && (this.stage = 0, this.bindObservables(), this.connectBehaviors(), this.needsInitialization ? (this.renderTemplate(this.template), this.addStyles(this.mainStyles), this.needsInitialization = !1) : this.view !== null && this.view.bind(this.source), this.stage = 1, g.notify(this, P));
2232
+ this.stage === 3 && (this.stage = 0, this.bindObservables(), this.connectBehaviors(), this.needsInitialization ? (this.renderTemplate(this.template), this.addStyles(this.mainStyles), this.needsInitialization = !1) : this.view !== null && this.view.bind(this.source), this.stage = 1, g.notify(this, H));
2224
2233
  }
2225
2234
  /**
2226
2235
  * Binds any observables that were set before upgrade.
@@ -2266,7 +2275,7 @@ class S extends qt {
2266
2275
  * Runs disconnected lifecycle behavior on the associated element.
2267
2276
  */
2268
2277
  disconnect() {
2269
- this.stage === 1 && (this.stage = 2, g.notify(this, P), this.view !== null && this.view.unbind(), this.disconnectBehaviors(), this.stage = 3);
2278
+ this.stage === 1 && (this.stage = 2, g.notify(this, H), this.view !== null && this.view.unbind(), this.disconnectBehaviors(), this.stage = 3);
2270
2279
  }
2271
2280
  /**
2272
2281
  * Runs the attribute changed callback for the associated element.
@@ -2287,7 +2296,7 @@ class S extends qt {
2287
2296
  * Only emits events if connected.
2288
2297
  */
2289
2298
  emit(t, e, s) {
2290
- return this.stage === 1 ? this.source.dispatchEvent(new CustomEvent(t, Object.assign(Object.assign({ detail: e }, qe), s))) : !1;
2299
+ return this.stage === 1 ? this.source.dispatchEvent(new CustomEvent(t, Object.assign(Object.assign({ detail: e }, Ge), s))) : !1;
2291
2300
  }
2292
2301
  /**
2293
2302
  * Renders the provided template to the element.
@@ -2335,7 +2344,7 @@ class S extends qt {
2335
2344
  handleChange: () => {
2336
2345
  S.forCustomElement(t, !0), t.$fastController.connect();
2337
2346
  }
2338
- }, "shadowOptions"), t.$fastController = new It(t, n);
2347
+ }, "shadowOptions"), t.$fastController = new Lt(t, n);
2339
2348
  }
2340
2349
  /**
2341
2350
  * Sets the strategy that ElementController.forCustomElement uses to construct
@@ -2343,7 +2352,7 @@ class S extends qt {
2343
2352
  * @param strategy - The strategy to use.
2344
2353
  */
2345
2354
  static setStrategy(t) {
2346
- It = t;
2355
+ Lt = t;
2347
2356
  }
2348
2357
  }
2349
2358
  x(S);
@@ -2363,24 +2372,24 @@ class Z {
2363
2372
  });
2364
2373
  }
2365
2374
  addStylesTo(t) {
2366
- le(Q(t), this.sheets);
2375
+ de(Q(t), this.sheets);
2367
2376
  }
2368
2377
  removeStylesFrom(t) {
2369
- ce(Q(t), this.sheets);
2378
+ he(Q(t), this.sheets);
2370
2379
  }
2371
2380
  }
2372
2381
  Z.styleSheetCache = /* @__PURE__ */ new Map();
2373
- let We = 0;
2374
- const Qe = () => `fast-${++We}`;
2375
- function jt(i) {
2382
+ let Je = 0;
2383
+ const Ke = () => `fast-${++Je}`;
2384
+ function Vt(i) {
2376
2385
  return i === document ? document.body : i;
2377
2386
  }
2378
- class Ge {
2387
+ class Xe {
2379
2388
  constructor(t) {
2380
- this.styles = t, this.styleClass = Qe();
2389
+ this.styles = t, this.styleClass = Ke();
2381
2390
  }
2382
2391
  addStylesTo(t) {
2383
- t = jt(Q(t));
2392
+ t = Vt(Q(t));
2384
2393
  const e = this.styles, s = this.styleClass;
2385
2394
  for (let n = 0; n < e.length; n++) {
2386
2395
  const r = document.createElement("style");
@@ -2388,22 +2397,22 @@ class Ge {
2388
2397
  }
2389
2398
  }
2390
2399
  removeStylesFrom(t) {
2391
- t = jt(Q(t));
2400
+ t = Vt(Q(t));
2392
2401
  const e = t.querySelectorAll(`.${this.styleClass}`);
2393
2402
  for (let s = 0, n = e.length; s < n; ++s)
2394
2403
  t.removeChild(e[s]);
2395
2404
  }
2396
2405
  }
2397
- let le = (i, t) => {
2406
+ let de = (i, t) => {
2398
2407
  i.adoptedStyleSheets = [...i.adoptedStyleSheets, ...t];
2399
- }, ce = (i, t) => {
2408
+ }, he = (i, t) => {
2400
2409
  i.adoptedStyleSheets = i.adoptedStyleSheets.filter((e) => t.indexOf(e) === -1);
2401
2410
  };
2402
2411
  if (m.supportsAdoptedStyleSheets) {
2403
2412
  try {
2404
- document.adoptedStyleSheets.push(), document.adoptedStyleSheets.splice(), le = (i, t) => {
2413
+ document.adoptedStyleSheets.push(), document.adoptedStyleSheets.splice(), de = (i, t) => {
2405
2414
  i.adoptedStyleSheets.push(...t);
2406
- }, ce = (i, t) => {
2415
+ }, he = (i, t) => {
2407
2416
  for (const e of t) {
2408
2417
  const s = i.adoptedStyleSheets.indexOf(e);
2409
2418
  s !== -1 && i.adoptedStyleSheets.splice(s, 1);
@@ -2413,7 +2422,7 @@ if (m.supportsAdoptedStyleSheets) {
2413
2422
  }
2414
2423
  m.setDefaultStrategy(Z);
2415
2424
  } else
2416
- m.setDefaultStrategy(Ge);
2425
+ m.setDefaultStrategy(Xe);
2417
2426
  const V = "defer-hydration", st = "needs-hydration";
2418
2427
  class f extends S {
2419
2428
  /**
@@ -2423,7 +2432,7 @@ class f extends S {
2423
2432
  return super.shadowOptions;
2424
2433
  }
2425
2434
  set shadowOptions(t) {
2426
- super.shadowOptions = t, (this.hasExistingShadowRoot || t !== void 0 && !this.template) && this.definition.templateOptions === ze.deferAndHydrate && (this.source.toggleAttribute(V, !0), this.source.toggleAttribute(st, !0));
2435
+ super.shadowOptions = t, (this.hasExistingShadowRoot || t !== void 0 && !this.template) && this.definition.templateOptions === We.deferAndHydrate && (this.source.toggleAttribute(V, !0), this.source.toggleAttribute(st, !0));
2427
2436
  }
2428
2437
  /**
2429
2438
  * Adds the current element instance to the hydrating instances map
@@ -2483,7 +2492,7 @@ class f extends S {
2483
2492
  o.shadowRoot === null && (w.isElementBoundaryStartMarker(d) && (d.data = "", d = d.nextSibling), w.isElementBoundaryEndMarker(l) && (l.data = "", l = l.previousSibling)), this.view = this.template.hydrate(d, l, o), (r = this.view) === null || r === void 0 || r.bind(this.source);
2484
2493
  } else
2485
2494
  this.renderTemplate(this.template);
2486
- this.addStyles(this.mainStyles), this.stage = 1, this.source.removeAttribute(st), this.needsInitialization = this.needsHydration = !1, this.removeHydratingInstance(), g.notify(this, P);
2495
+ this.addStyles(this.mainStyles), this.stage = 1, this.source.removeAttribute(st), this.needsInitialization = this.needsHydration = !1, this.removeHydratingInstance(), g.notify(this, H);
2487
2496
  }
2488
2497
  }
2489
2498
  /**
@@ -2512,10 +2521,10 @@ class f extends S {
2512
2521
  S.setStrategy(f);
2513
2522
  }
2514
2523
  }
2515
- f.hydrationObserver = new Ue(f.hydrationObserverHandler);
2524
+ f.hydrationObserver = new Qe(f.hydrationObserverHandler);
2516
2525
  f.idleCallbackId = null;
2517
2526
  f.hydratingInstances = /* @__PURE__ */ new Map();
2518
- function de(i) {
2527
+ function ue(i) {
2519
2528
  const t = class extends i {
2520
2529
  constructor() {
2521
2530
  super(), S.forCustomElement(this);
@@ -2535,10 +2544,10 @@ function de(i) {
2535
2544
  };
2536
2545
  return p.registerBaseType(t), t;
2537
2546
  }
2538
- function Je(i, t) {
2547
+ function Ye(i, t) {
2539
2548
  return E(i) ? p.compose(i, t) : p.compose(this, i);
2540
2549
  }
2541
- function Ke(i, t) {
2550
+ function Ze(i, t) {
2542
2551
  return E(i) ? new Promise((e) => {
2543
2552
  p.composeAsync(i, t).then((s) => {
2544
2553
  e(s);
@@ -2549,48 +2558,48 @@ function Ke(i, t) {
2549
2558
  });
2550
2559
  }).then((e) => e.define().type);
2551
2560
  }
2552
- function Xe(i, t) {
2561
+ function ti(i, t) {
2553
2562
  return E(i) ? p.compose(i, t).define().type : p.compose(this, i).define().type;
2554
2563
  }
2555
- function Ye(i) {
2556
- return de(i);
2564
+ function ei(i) {
2565
+ return ue(i);
2557
2566
  }
2558
- const Ze = Object.assign(de(HTMLElement), {
2567
+ const ii = Object.assign(ue(HTMLElement), {
2559
2568
  /**
2560
2569
  * Creates a new FASTElement base class inherited from the
2561
2570
  * provided base type.
2562
2571
  * @param BaseType - The base element type to inherit from.
2563
2572
  */
2564
- from: Ye,
2573
+ from: ei,
2565
2574
  /**
2566
2575
  * Defines a platform custom element based on the provided type and definition.
2567
2576
  * @param type - The custom element type to define.
2568
2577
  * @param nameOrDef - The name of the element to define or a definition object
2569
2578
  * that describes the element to define.
2570
2579
  */
2571
- define: Xe,
2580
+ define: ti,
2572
2581
  /**
2573
2582
  * Defines metadata for a FASTElement which can be used to later define the element.
2574
2583
  * @public
2575
2584
  */
2576
- compose: Je,
2585
+ compose: Ye,
2577
2586
  /**
2578
2587
  * Defines metadata for a FASTElement which can be used after it has been resolved to define the element.
2579
2588
  * @alpha
2580
2589
  */
2581
- defineAsync: Ke
2590
+ defineAsync: Ze
2582
2591
  });
2583
- function ti(i, t) {
2592
+ function si(i, t) {
2584
2593
  return i instanceof Function ? i(t) : i;
2585
2594
  }
2586
- const Lt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), gi = (i) => (t = "vwc") => {
2595
+ const Ft = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), mi = (i) => (t = "vwc") => {
2587
2596
  const e = (n) => `${t}-${n}`, s = (n) => {
2588
2597
  const r = e(n.name);
2589
2598
  let o = n.type;
2590
- if (o.componentName = n.name, Lt.has(r))
2599
+ if (o.componentName = n.name, Ft.has(r))
2591
2600
  return;
2592
2601
  nt.has(o) && nt.get(o) !== r && (o = class extends o {
2593
- }), Lt.add(r), nt.set(o, r);
2602
+ }), Ft.add(r), nt.set(o, r);
2594
2603
  for (const a of n.dependencies)
2595
2604
  s(a);
2596
2605
  const c = new Map([
@@ -2605,7 +2614,7 @@ const Lt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), gi = (i) =
2605
2614
  `Could not get tag for ${a.name} as it is not a dependency of ${n.name}.`
2606
2615
  );
2607
2616
  const u = c.get(a);
2608
- return h ? u : re.partial(u);
2617
+ return h ? u : oe.partial(u);
2609
2618
  },
2610
2619
  tagForNonDependency(a) {
2611
2620
  return e(a);
@@ -2613,7 +2622,7 @@ const Lt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), gi = (i) =
2613
2622
  };
2614
2623
  p.compose(o, {
2615
2624
  ...n.options,
2616
- template: ti(
2625
+ template: si(
2617
2626
  n.template,
2618
2627
  l
2619
2628
  ),
@@ -2621,42 +2630,42 @@ const Lt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), gi = (i) =
2621
2630
  }).define();
2622
2631
  };
2623
2632
  s(i);
2624
- }, yi = (i, t, e, s, n) => ({
2633
+ }, wi = (i, t, e, s, n) => ({
2625
2634
  name: i,
2626
2635
  type: t,
2627
2636
  template: e,
2628
2637
  dependencies: s,
2629
2638
  options: n
2630
- }), Vt = /* @__PURE__ */ new WeakMap(), he = (i) => {
2631
- let t = Vt.get(i);
2632
- return t || (t = [], Vt.set(i, t)), t;
2633
- }, vi = (i, t) => {
2634
- he(i).push(t);
2635
- }, ei = (i, t) => {
2636
- he(i).forEach((e) => e(i, t));
2637
- }, ii = (i) => i === "delegate", Ft = (i) => `vvd${i.charAt(0).toUpperCase()}${i.slice(1)}`, ue = (i, t) => {
2638
- if (ii(i._vividAriaBehaviour)) {
2639
+ }), Pt = /* @__PURE__ */ new WeakMap(), fe = (i) => {
2640
+ let t = Pt.get(i);
2641
+ return t || (t = [], Pt.set(i, t)), t;
2642
+ }, Si = (i, t) => {
2643
+ fe(i).push(t);
2644
+ }, ni = (i, t) => {
2645
+ fe(i).forEach((e) => e(i, t));
2646
+ }, ri = (i) => i === "delegate", Dt = (i) => `vvd${i.charAt(0).toUpperCase()}${i.slice(1)}`, pe = (i, t) => {
2647
+ if (ri(i._vividAriaBehaviour)) {
2639
2648
  const e = i[t];
2640
- i[`_${t}`] = null, i.removeAttribute(ot(t)), i[`_${t}`] = e, i[t] !== null ? i.dataset[Ft(t)] = i[t] : delete i.dataset[Ft(t)];
2649
+ i[`_${t}`] = null, i.removeAttribute(ot(t)), i[`_${t}`] = e, i[t] !== null ? i.dataset[Dt(t)] = i[t] : delete i.dataset[Dt(t)];
2641
2650
  } else
2642
2651
  T.setAttribute(
2643
2652
  i,
2644
2653
  ot(t),
2645
2654
  i[t]
2646
2655
  );
2647
- }, G = /* @__PURE__ */ new WeakMap(), si = (i, t) => {
2656
+ }, G = /* @__PURE__ */ new WeakMap(), ai = (i, t) => {
2648
2657
  const e = G.get(i);
2649
2658
  e ? e.add(t) : G.set(i, /* @__PURE__ */ new Set([t]));
2650
- }, ni = (i, t) => {
2651
- i.isConnected ? ue(i, t) : si(i, t);
2652
- }, ri = (i) => {
2659
+ }, oi = (i, t) => {
2660
+ i.isConnected ? pe(i, t) : ai(i, t);
2661
+ }, li = (i) => {
2653
2662
  const t = G.get(i);
2654
2663
  if (t) {
2655
2664
  for (const e of t)
2656
- ue(i, e);
2665
+ pe(i, e);
2657
2666
  G.delete(i);
2658
2667
  }
2659
- }, Dt = [
2668
+ }, Ht = [
2660
2669
  "role",
2661
2670
  "ariaAtomic",
2662
2671
  "ariaAutoComplete",
@@ -2700,36 +2709,36 @@ const Lt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Map(), gi = (i) =
2700
2709
  "ariaValueText",
2701
2710
  "ariaRelevant"
2702
2711
  // Non-standard
2703
- ], ot = (i) => i.replace("aria", "aria-").toLowerCase(), ai = (i) => {
2712
+ ], ot = (i) => i.replace("aria", "aria-").toLowerCase(), ci = (i) => {
2704
2713
  class t extends i {
2705
2714
  constructor(...s) {
2706
2715
  super(...s), this._vividAriaBehaviour = "default";
2707
- for (const n of Dt)
2716
+ for (const n of Ht)
2708
2717
  this[`_${n}`] = null;
2709
2718
  }
2710
2719
  connectedCallback() {
2711
- super.connectedCallback(), ri(this);
2720
+ super.connectedCallback(), li(this);
2712
2721
  }
2713
2722
  }
2714
- for (const e of Dt)
2715
- He({
2723
+ for (const e of Ht)
2724
+ Ue({
2716
2725
  attribute: ot(e),
2717
2726
  mode: "fromView"
2718
2727
  })(t.prototype, e), t.prototype[`${e}Changed`] = function() {
2719
- ni(this, e), this._vividAriaBehaviour !== "default" && ei(this, e);
2728
+ oi(this, e), this._vividAriaBehaviour !== "default" && ni(this, e);
2720
2729
  };
2721
2730
  return t;
2722
2731
  };
2723
- function oi() {
2732
+ function di() {
2724
2733
  const i = /* @__PURE__ */ new WeakMap();
2725
2734
  return (t) => (i.has(t) || i.set(t, []), i.get(t));
2726
2735
  }
2727
- const fe = oi(), mi = (i) => (t, e) => {
2728
- fe(t.constructor).push({
2736
+ const be = di(), Ci = (i) => (t, e) => {
2737
+ be(t.constructor).push({
2729
2738
  newPropertyName: e,
2730
2739
  ...i
2731
2740
  });
2732
- }, li = (i) => {
2741
+ }, hi = (i) => {
2733
2742
  class t extends i {
2734
2743
  #t(s) {
2735
2744
  let n = !1, r = !1;
@@ -2755,15 +2764,15 @@ const fe = oi(), mi = (i) => (t, e) => {
2755
2764
  }
2756
2765
  constructor(...s) {
2757
2766
  super(...s);
2758
- for (const n of fe(this.constructor))
2767
+ for (const n of be(this.constructor))
2759
2768
  this.#t(n);
2760
2769
  }
2761
2770
  }
2762
2771
  return t;
2763
2772
  };
2764
- class wi extends ai(li(Ze)) {
2773
+ class ki extends ci(hi(ii)) {
2765
2774
  static {
2766
- this.VIVID_VERSION = "5.15.0";
2775
+ this.VIVID_VERSION = "5.15.1";
2767
2776
  }
2768
2777
  /**
2769
2778
  * Add data-vvd-component attribute with component name globally,
@@ -2776,40 +2785,40 @@ class wi extends ai(li(Ze)) {
2776
2785
  }
2777
2786
  }
2778
2787
  export {
2779
- di as A,
2788
+ fi as A,
2780
2789
  lt as B,
2781
2790
  T as D,
2782
2791
  O as E,
2783
2792
  $ as H,
2784
- Kt as M,
2793
+ Yt as M,
2785
2794
  g as O,
2786
- we as S,
2787
- Ut as U,
2788
- wi as V,
2789
- He as a,
2790
- bi as b,
2791
- gi as c,
2792
- yi as d,
2793
- hi as e,
2795
+ ke as S,
2796
+ Wt as U,
2797
+ ki as V,
2798
+ Ue as a,
2799
+ vi as b,
2800
+ mi as c,
2801
+ wi as d,
2802
+ pi as e,
2794
2803
  E as f,
2795
- Wt as g,
2796
- re as h,
2804
+ Gt as g,
2805
+ oe as h,
2797
2806
  B as i,
2798
2807
  ot as j,
2799
- Dt as k,
2808
+ Ht as k,
2800
2809
  rt as l,
2801
2810
  U as m,
2802
- pi as n,
2803
- ui as o,
2811
+ yi as n,
2812
+ bi as o,
2804
2813
  A as p,
2805
2814
  X as q,
2806
- mi as r,
2807
- vi as s,
2815
+ Ci as r,
2816
+ Si as s,
2808
2817
  w as t,
2809
- Gt as u,
2810
- fi as v,
2818
+ Kt as u,
2819
+ gi as v,
2811
2820
  m as w,
2812
- pe as x,
2813
- ci as y,
2814
- tt as z
2821
+ ge as x,
2822
+ tt as y,
2823
+ ui as z
2815
2824
  };