@aquera/nile-elements 0.1.55-beta-1.2 → 0.1.55-patch-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 (612) hide show
  1. package/README.md +8 -0
  2. package/demo/index.html +27 -388
  3. package/dist/{fixture-ba65eb22.esm.js → fixture-90b199c4.esm.js} +1 -1
  4. package/dist/{fixture-324a7ef9.cjs.js → fixture-dbd66009.cjs.js} +2 -2
  5. package/dist/{fixture-324a7ef9.cjs.js.map → fixture-dbd66009.cjs.js.map} +1 -1
  6. package/dist/index.cjs.js +1 -1
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.js +89 -199
  9. package/dist/internal/resizable-table-helper.cjs.js +2 -0
  10. package/dist/internal/resizable-table-helper.cjs.js.map +1 -0
  11. package/dist/internal/resizable-table-helper.esm.js +1 -0
  12. package/dist/internal/resizable-table-styles.cjs.js +2 -0
  13. package/dist/internal/resizable-table-styles.cjs.js.map +1 -0
  14. package/dist/internal/resizable-table-styles.esm.js +120 -0
  15. package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
  16. package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
  17. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
  18. package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
  19. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  20. package/dist/nile-avatar/nile-avatar.test.cjs.js.map +1 -1
  21. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  22. package/dist/nile-badge/index.cjs.js +1 -1
  23. package/dist/nile-badge/index.esm.js +1 -1
  24. package/dist/nile-badge/nile-badge.cjs.js +1 -1
  25. package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
  26. package/dist/nile-badge/nile-badge.esm.js +1 -1
  27. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  28. package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
  29. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  30. package/dist/nile-button/index.cjs.js +1 -1
  31. package/dist/nile-button/index.esm.js +1 -1
  32. package/dist/nile-button/nile-button.cjs.js +1 -1
  33. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  34. package/dist/nile-button/nile-button.esm.js +1 -1
  35. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  36. package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
  37. package/dist/nile-button/nile-button.test.esm.js +1 -1
  38. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
  39. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
  40. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  41. package/dist/nile-calendar/nile-calendar.test.cjs.js.map +1 -1
  42. package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
  43. package/dist/nile-card/nile-card.test.cjs.js +1 -1
  44. package/dist/nile-card/nile-card.test.esm.js +1 -1
  45. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
  46. package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
  47. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  48. package/dist/nile-chip/nile-chip.test.cjs.js.map +1 -1
  49. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  50. package/dist/nile-code-editor/extensionSetup.cjs.js +5 -5
  51. package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
  52. package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
  53. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  54. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  55. package/dist/nile-code-editor/nile-code-editor.esm.js +3 -3
  56. package/dist/nile-code-editor/theme.cjs.js +1 -1
  57. package/dist/nile-code-editor/theme.cjs.js.map +1 -1
  58. package/dist/nile-code-editor/theme.esm.js +1 -1
  59. package/dist/nile-dialog/index.cjs.js +1 -1
  60. package/dist/nile-dialog/index.esm.js +1 -1
  61. package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
  62. package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
  63. package/dist/nile-dialog/nile-dialog.esm.js +1 -1
  64. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  65. package/dist/nile-dialog/nile-dialog.test.cjs.js.map +1 -1
  66. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  67. package/dist/nile-drawer/index.cjs.js +1 -1
  68. package/dist/nile-drawer/index.esm.js +1 -1
  69. package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
  70. package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
  71. package/dist/nile-drawer/nile-drawer.esm.js +1 -1
  72. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  73. package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
  74. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  75. package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
  76. package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
  77. package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
  78. package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
  79. package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
  80. package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
  81. package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
  82. package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
  83. package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
  84. package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
  85. package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
  86. package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
  87. package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
  88. package/dist/nile-hero/nile-hero.test.esm.js +1 -1
  89. package/dist/nile-icon/icons/svg/attribute.cjs.js +2 -0
  90. package/dist/nile-icon/icons/svg/attribute.cjs.js.map +1 -0
  91. package/dist/nile-icon/icons/svg/attribute.esm.js +1 -0
  92. package/dist/nile-icon/icons/svg/class.cjs.js +2 -0
  93. package/dist/nile-icon/icons/svg/class.cjs.js.map +1 -0
  94. package/dist/nile-icon/icons/svg/class.esm.js +1 -0
  95. package/dist/nile-icon/icons/svg/function.cjs.js +2 -0
  96. package/dist/nile-icon/icons/svg/function.cjs.js.map +1 -0
  97. package/dist/nile-icon/icons/svg/function.esm.js +1 -0
  98. package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
  99. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  100. package/dist/nile-icon/icons/svg/keyword.cjs.js +2 -0
  101. package/dist/nile-icon/icons/svg/keyword.cjs.js.map +1 -0
  102. package/dist/nile-icon/icons/svg/keyword.esm.js +1 -0
  103. package/dist/nile-icon/index.cjs.js +1 -1
  104. package/dist/nile-icon/index.cjs.js.map +1 -1
  105. package/dist/nile-icon/index.esm.js +1 -1
  106. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  107. package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
  108. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  109. package/dist/nile-icon-button/index.cjs.js +1 -1
  110. package/dist/nile-icon-button/index.esm.js +1 -1
  111. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  112. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  113. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  114. package/dist/nile-input/index.cjs.js +1 -1
  115. package/dist/nile-input/index.esm.js +1 -1
  116. package/dist/nile-input/nile-input.cjs.js +1 -1
  117. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  118. package/dist/nile-input/nile-input.esm.js +1 -1
  119. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  120. package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
  121. package/dist/nile-input/nile-input.test.esm.js +1 -1
  122. package/dist/nile-link/nile-link.test.cjs.js +1 -1
  123. package/dist/nile-link/nile-link.test.esm.js +1 -1
  124. package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
  125. package/dist/nile-loader/nile-loader.test.esm.js +1 -1
  126. package/dist/nile-menu-item/index.cjs.js +1 -1
  127. package/dist/nile-menu-item/index.esm.js +1 -1
  128. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  129. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  130. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  131. package/dist/nile-option/index.cjs.js +1 -1
  132. package/dist/nile-option/index.esm.js +1 -1
  133. package/dist/nile-option/nile-option.cjs.js +1 -1
  134. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  135. package/dist/nile-option/nile-option.esm.js +1 -1
  136. package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
  137. package/dist/nile-popover/nile-popover.test.esm.js +1 -1
  138. package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
  139. package/dist/nile-popup/nile-popup.test.esm.js +1 -1
  140. package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
  141. package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
  142. package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
  143. package/dist/nile-radio/nile-radio.test.esm.js +1 -1
  144. package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
  145. package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
  146. package/dist/nile-select/index.cjs.js +1 -1
  147. package/dist/nile-select/index.esm.js +1 -1
  148. package/dist/nile-select/nile-select.cjs.js +1 -1
  149. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  150. package/dist/nile-select/nile-select.esm.js +1 -1
  151. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  152. package/dist/nile-select/nile-select.test.cjs.js.map +1 -1
  153. package/dist/nile-select/nile-select.test.esm.js +1 -1
  154. package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
  155. package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
  156. package/dist/nile-slider/index.cjs.js +2 -0
  157. package/dist/nile-slider/index.esm.js +1 -0
  158. package/dist/nile-slider/nile-slider.cjs.js +2 -0
  159. package/dist/nile-slider/nile-slider.cjs.js.map +1 -0
  160. package/dist/nile-slider/nile-slider.css.cjs.js +2 -0
  161. package/dist/nile-slider/nile-slider.css.cjs.js.map +1 -0
  162. package/dist/nile-slider/nile-slider.css.esm.js +106 -0
  163. package/dist/nile-slider/nile-slider.esm.js +27 -0
  164. package/dist/nile-slider/nile-slider.template.cjs.js +2 -0
  165. package/dist/nile-slider/nile-slider.template.cjs.js.map +1 -0
  166. package/dist/nile-slider/nile-slider.template.esm.js +59 -0
  167. package/dist/{nile-file-upload/types/file-upload.type.cjs.js → nile-slider/types/nile-slider.enums.cjs.js} +1 -1
  168. package/dist/nile-slider/types/nile-slider.enums.cjs.js.map +1 -0
  169. package/dist/{nile-file-preview/types/nile-file-preview.interface.cjs.js → nile-slider/types/nile-slider.types.cjs.js} +1 -1
  170. package/dist/nile-slider/types/nile-slider.types.cjs.js.map +1 -0
  171. package/dist/nile-slider/utils/nile-slider.utils.cjs.js +2 -0
  172. package/dist/nile-slider/utils/nile-slider.utils.cjs.js.map +1 -0
  173. package/dist/nile-slider/utils/nile-slider.utils.esm.js +1 -0
  174. package/dist/nile-tab/index.cjs.js +1 -1
  175. package/dist/nile-tab/index.esm.js +1 -1
  176. package/dist/nile-tab/nile-tab.cjs.js +1 -1
  177. package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
  178. package/dist/nile-tab/nile-tab.esm.js +1 -1
  179. package/dist/nile-tab-group/index.cjs.js +1 -1
  180. package/dist/nile-tab-group/index.esm.js +1 -1
  181. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  182. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  183. package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
  184. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  185. package/dist/nile-tab-group/nile-tab-group.test.cjs.js.map +1 -1
  186. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  187. package/dist/nile-table-row/nile-table-row.cjs.js +1 -1
  188. package/dist/nile-table-row/nile-table-row.cjs.js.map +1 -1
  189. package/dist/nile-table-row/nile-table-row.css.cjs.js +1 -1
  190. package/dist/nile-table-row/nile-table-row.css.cjs.js.map +1 -1
  191. package/dist/nile-table-row/nile-table-row.css.esm.js +0 -91
  192. package/dist/nile-table-row/nile-table-row.esm.js +6 -25
  193. package/dist/nile-tag/index.cjs.js +1 -1
  194. package/dist/nile-tag/index.esm.js +1 -1
  195. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  196. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  197. package/dist/nile-tag/nile-tag.esm.js +1 -1
  198. package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
  199. package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
  200. package/dist/nile-toast/index.cjs.js +1 -1
  201. package/dist/nile-toast/index.esm.js +1 -1
  202. package/dist/nile-toast/nile-toast.cjs.js +1 -1
  203. package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
  204. package/dist/nile-toast/nile-toast.esm.js +1 -1
  205. package/dist/nile-tree/index.cjs.js +1 -1
  206. package/dist/nile-tree/index.esm.js +1 -1
  207. package/dist/nile-tree/nile-tree.cjs.js +1 -1
  208. package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
  209. package/dist/nile-tree/nile-tree.esm.js +1 -1
  210. package/dist/nile-tree-item/index.cjs.js +1 -1
  211. package/dist/nile-tree-item/index.esm.js +1 -1
  212. package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
  213. package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
  214. package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
  215. package/dist/src/internal/resizable-helper.d.ts +59 -0
  216. package/dist/src/internal/resizable-helper.js +115 -0
  217. package/dist/src/internal/resizable-helper.js.map +1 -0
  218. package/dist/src/internal/resizable-styles.d.ts +16 -0
  219. package/dist/src/internal/resizable-styles.js +144 -0
  220. package/dist/src/internal/resizable-styles.js.map +1 -0
  221. package/dist/src/internal/resizable-table-helper.d.ts +59 -0
  222. package/dist/src/internal/resizable-table-helper.js +111 -0
  223. package/dist/src/internal/resizable-table-helper.js.map +1 -0
  224. package/dist/src/internal/resizable-table-styles.d.ts +16 -0
  225. package/dist/src/internal/resizable-table-styles.js +149 -0
  226. package/dist/src/internal/resizable-table-styles.js.map +1 -0
  227. package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +17 -0
  228. package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +310 -0
  229. package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +34 -0
  230. package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +31 -0
  231. package/dist/src/nile-code-editor/nile-code-editor.d.ts +4 -0
  232. package/dist/src/nile-code-editor/nile-code-editor.js +35 -5
  233. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  234. package/dist/src/nile-code-editor/theme.d.ts +52 -2
  235. package/dist/src/nile-code-editor/theme.js +62 -12
  236. package/dist/src/nile-code-editor/theme.js.map +1 -1
  237. package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +47 -0
  238. package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +16 -0
  239. package/dist/src/nile-icon/icons/svg/attribute.d.ts +5 -0
  240. package/dist/src/nile-icon/icons/svg/attribute.js +5 -0
  241. package/dist/src/nile-icon/icons/svg/attribute.js.map +1 -0
  242. package/dist/src/nile-icon/icons/svg/class.d.ts +5 -0
  243. package/dist/src/nile-icon/icons/svg/class.js +5 -0
  244. package/dist/src/nile-icon/icons/svg/class.js.map +1 -0
  245. package/dist/src/nile-icon/icons/svg/function.d.ts +5 -0
  246. package/dist/src/nile-icon/icons/svg/function.js +5 -0
  247. package/dist/src/nile-icon/icons/svg/function.js.map +1 -0
  248. package/dist/src/nile-icon/icons/svg/index.d.ts +4 -0
  249. package/dist/src/nile-icon/icons/svg/index.js +4 -0
  250. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  251. package/dist/src/nile-icon/icons/svg/keyword.d.ts +5 -0
  252. package/dist/src/nile-icon/icons/svg/keyword.js +5 -0
  253. package/dist/src/nile-icon/icons/svg/keyword.js.map +1 -0
  254. package/dist/src/nile-icon/icons/svg/ng-building-01.d.ts +5 -0
  255. package/dist/src/nile-icon/icons/svg/ng-building-01.js +5 -0
  256. package/dist/src/nile-icon/icons/svg/ng-building-01.js.map +1 -0
  257. package/dist/src/nile-icon/icons/svg/ng-building-05.d.ts +5 -0
  258. package/dist/src/nile-icon/icons/svg/ng-building-05.js +5 -0
  259. package/dist/src/nile-icon/icons/svg/ng-building-05.js.map +1 -0
  260. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.d.ts +5 -0
  261. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js +5 -0
  262. package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js.map +1 -0
  263. package/dist/src/nile-icon/icons/svg/ng-eye-off.d.ts +5 -0
  264. package/dist/src/nile-icon/icons/svg/ng-eye-off.js +5 -0
  265. package/dist/src/nile-icon/icons/svg/ng-eye-off.js.map +1 -0
  266. package/dist/src/nile-icon/icons/svg/ng-eye.d.ts +5 -0
  267. package/dist/src/nile-icon/icons/svg/ng-eye.js +5 -0
  268. package/dist/src/nile-icon/icons/svg/ng-eye.js.map +1 -0
  269. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.d.ts +5 -0
  270. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js +5 -0
  271. package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js.map +1 -0
  272. package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +75 -0
  273. package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +22 -0
  274. package/dist/src/nile-select/virtual-scroll-helper.d.ts +9 -0
  275. package/dist/src/nile-select/virtual-scroll-helper.js +51 -0
  276. package/dist/src/nile-select/virtual-scroll-helper.js.map +1 -0
  277. package/dist/src/nile-slider/index.d.ts +1 -0
  278. package/dist/src/nile-slider/index.js +2 -0
  279. package/dist/src/nile-slider/index.js.map +1 -0
  280. package/dist/src/nile-slider/nile-slider.css.d.ts +6 -0
  281. package/dist/src/nile-slider/nile-slider.css.js +118 -0
  282. package/dist/src/nile-slider/nile-slider.css.js.map +1 -0
  283. package/dist/src/nile-slider/nile-slider.d.ts +48 -0
  284. package/dist/src/nile-slider/nile-slider.js +217 -0
  285. package/dist/src/nile-slider/nile-slider.js.map +1 -0
  286. package/dist/src/nile-slider/nile-slider.template.d.ts +5 -0
  287. package/dist/src/nile-slider/nile-slider.template.js +73 -0
  288. package/dist/src/nile-slider/nile-slider.template.js.map +1 -0
  289. package/dist/src/nile-slider/types/nile-slider.enums.d.ts +10 -0
  290. package/dist/src/nile-slider/types/nile-slider.enums.js +2 -0
  291. package/dist/src/nile-slider/types/nile-slider.enums.js.map +1 -0
  292. package/dist/src/nile-slider/types/nile-slider.types.d.ts +1 -0
  293. package/dist/src/nile-slider/types/nile-slider.types.js +2 -0
  294. package/dist/src/nile-slider/types/nile-slider.types.js.map +1 -0
  295. package/dist/src/nile-slider/utils/nile-slider.utils.d.ts +11 -0
  296. package/dist/src/nile-slider/utils/nile-slider.utils.js +99 -0
  297. package/dist/src/nile-slider/utils/nile-slider.utils.js.map +1 -0
  298. package/dist/src/nile-table-row/nile-table-row.css.js +0 -91
  299. package/dist/src/nile-table-row/nile-table-row.css.js.map +1 -1
  300. package/dist/src/nile-table-row/nile-table-row.d.ts +17 -17
  301. package/dist/src/nile-table-row/nile-table-row.js +32 -68
  302. package/dist/src/nile-table-row/nile-table-row.js.map +1 -1
  303. package/dist/src/nile-virtual-select/index.d.ts +1 -0
  304. package/dist/src/nile-virtual-select/index.js +2 -0
  305. package/dist/src/nile-virtual-select/index.js.map +1 -0
  306. package/dist/src/nile-virtual-select/nile-virtual-select.css.d.ts +12 -0
  307. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +489 -0
  308. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -0
  309. package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +266 -0
  310. package/dist/src/nile-virtual-select/nile-virtual-select.js +1226 -0
  311. package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -0
  312. package/dist/src/nile-virtual-select/nile-virtual-select.test.d.ts +7 -0
  313. package/dist/src/nile-virtual-select/nile-virtual-select.test.js +631 -0
  314. package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +1 -0
  315. package/dist/src/nile-virtual-select/renderer.d.ts +16 -0
  316. package/dist/src/nile-virtual-select/renderer.js +71 -0
  317. package/dist/src/nile-virtual-select/renderer.js.map +1 -0
  318. package/dist/src/nile-virtual-select/search-manager.d.ts +12 -0
  319. package/dist/src/nile-virtual-select/search-manager.js +40 -0
  320. package/dist/src/nile-virtual-select/search-manager.js.map +1 -0
  321. package/dist/src/nile-virtual-select/selection-manager.d.ts +12 -0
  322. package/dist/src/nile-virtual-select/selection-manager.js +64 -0
  323. package/dist/src/nile-virtual-select/selection-manager.js.map +1 -0
  324. package/dist/src/nile-virtual-select/types.d.ts +50 -0
  325. package/dist/src/nile-virtual-select/types.js +8 -0
  326. package/dist/src/nile-virtual-select/types.js.map +1 -0
  327. package/dist/tsconfig.tsbuildinfo +1 -1
  328. package/package.json +1 -1
  329. package/src/nile-code-editor/nile-code-editor.ts +36 -7
  330. package/src/nile-code-editor/theme.ts +63 -12
  331. package/src/nile-icon/icons/svg/attribute.ts +5 -0
  332. package/src/nile-icon/icons/svg/class.ts +5 -0
  333. package/src/nile-icon/icons/svg/function.ts +5 -0
  334. package/src/nile-icon/icons/svg/index.ts +4 -0
  335. package/src/nile-icon/icons/svg/keyword.ts +5 -0
  336. package/src/nile-table-row/nile-table-row.css.ts +0 -91
  337. package/src/nile-table-row/nile-table-row.ts +37 -59
  338. package/vscode-html-custom-data.json +9 -19
  339. package/dist/fixture-28d63bc4.cjs.js +0 -395
  340. package/dist/fixture-28d63bc4.cjs.js.map +0 -1
  341. package/dist/fixture-78a015b8.esm.js +0 -569
  342. package/dist/lit-html-39a6718c.esm.js +0 -6
  343. package/dist/lit-html-9b3af046.cjs.js +0 -6
  344. package/dist/lit-html-9b3af046.cjs.js.map +0 -1
  345. package/dist/nile-file-preview/index.cjs.js +0 -2
  346. package/dist/nile-file-preview/index.esm.js +0 -1
  347. package/dist/nile-file-preview/nile-file-preview.cjs.js +0 -2
  348. package/dist/nile-file-preview/nile-file-preview.cjs.js.map +0 -1
  349. package/dist/nile-file-preview/nile-file-preview.css.cjs.js +0 -2
  350. package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +0 -1
  351. package/dist/nile-file-preview/nile-file-preview.css.esm.js +0 -556
  352. package/dist/nile-file-preview/nile-file-preview.esm.js +0 -3
  353. package/dist/nile-file-preview/nile-file-preview.template.cjs.js +0 -2
  354. package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +0 -1
  355. package/dist/nile-file-preview/nile-file-preview.template.esm.js +0 -179
  356. package/dist/nile-file-preview/nile-file-preview.test.cjs.js +0 -2
  357. package/dist/nile-file-preview/nile-file-preview.test.cjs.js.map +0 -1
  358. package/dist/nile-file-preview/nile-file-preview.test.esm.js +0 -1
  359. package/dist/nile-file-preview/types/index.cjs.js +0 -2
  360. package/dist/nile-file-preview/types/index.cjs.js.map +0 -1
  361. package/dist/nile-file-preview/types/index.esm.js +0 -1
  362. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js +0 -2
  363. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js.map +0 -1
  364. package/dist/nile-file-preview/types/nile-file-preview.enums.esm.js +0 -1
  365. package/dist/nile-file-preview/types/nile-file-preview.interface.cjs.js.map +0 -1
  366. package/dist/nile-file-preview/utils/index.cjs.js +0 -2
  367. package/dist/nile-file-preview/utils/index.cjs.js.map +0 -1
  368. package/dist/nile-file-preview/utils/index.esm.js +0 -1
  369. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js +0 -2
  370. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js.map +0 -1
  371. package/dist/nile-file-preview/utils/nile-file-preview.util.esm.js +0 -1
  372. package/dist/nile-file-upload/index.cjs.js +0 -2
  373. package/dist/nile-file-upload/index.cjs.js.map +0 -1
  374. package/dist/nile-file-upload/index.esm.js +0 -1
  375. package/dist/nile-file-upload/nile-file-upload.cjs.js +0 -2
  376. package/dist/nile-file-upload/nile-file-upload.cjs.js.map +0 -1
  377. package/dist/nile-file-upload/nile-file-upload.css.cjs.js +0 -2
  378. package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +0 -1
  379. package/dist/nile-file-upload/nile-file-upload.css.esm.js +0 -557
  380. package/dist/nile-file-upload/nile-file-upload.esm.js +0 -3
  381. package/dist/nile-file-upload/nile-file-upload.template.cjs.js +0 -10
  382. package/dist/nile-file-upload/nile-file-upload.template.cjs.js.map +0 -1
  383. package/dist/nile-file-upload/nile-file-upload.template.esm.js +0 -163
  384. package/dist/nile-file-upload/nile-file-upload.test.cjs.js +0 -2
  385. package/dist/nile-file-upload/nile-file-upload.test.cjs.js.map +0 -1
  386. package/dist/nile-file-upload/nile-file-upload.test.esm.js +0 -1
  387. package/dist/nile-file-upload/types/file-upload.enums.cjs.js +0 -2
  388. package/dist/nile-file-upload/types/file-upload.enums.cjs.js.map +0 -1
  389. package/dist/nile-file-upload/types/file-upload.enums.esm.js +0 -1
  390. package/dist/nile-file-upload/types/file-upload.type.cjs.js.map +0 -1
  391. package/dist/nile-file-upload/types/index.cjs.js +0 -2
  392. package/dist/nile-file-upload/types/index.cjs.js.map +0 -1
  393. package/dist/nile-file-upload/types/index.esm.js +0 -1
  394. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js +0 -2
  395. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js.map +0 -1
  396. package/dist/nile-file-upload/utils/drag-drop.util.esm.js +0 -1
  397. package/dist/nile-file-upload/utils/file-validation.util.cjs.js +0 -2
  398. package/dist/nile-file-upload/utils/file-validation.util.cjs.js.map +0 -1
  399. package/dist/nile-file-upload/utils/file-validation.util.esm.js +0 -1
  400. package/dist/nile-icon/icons/svg/ng-activity.cjs.js +0 -2
  401. package/dist/nile-icon/icons/svg/ng-activity.cjs.js.map +0 -1
  402. package/dist/nile-icon/icons/svg/ng-activity.esm.js +0 -1
  403. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js +0 -2
  404. package/dist/nile-icon/icons/svg/ng-align-center.cjs.js.map +0 -1
  405. package/dist/nile-icon/icons/svg/ng-align-center.esm.js +0 -1
  406. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js +0 -2
  407. package/dist/nile-icon/icons/svg/ng-annotation-x.cjs.js.map +0 -1
  408. package/dist/nile-icon/icons/svg/ng-annotation-x.esm.js +0 -1
  409. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js +0 -2
  410. package/dist/nile-icon/icons/svg/ng-arrow-down.cjs.js.map +0 -1
  411. package/dist/nile-icon/icons/svg/ng-arrow-down.esm.js +0 -1
  412. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js +0 -2
  413. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.cjs.js.map +0 -1
  414. package/dist/nile-icon/icons/svg/ng-arrow-narrow-down.esm.js +0 -1
  415. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js +0 -2
  416. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.cjs.js.map +0 -1
  417. package/dist/nile-icon/icons/svg/ng-arrow-narrow-left.esm.js +0 -1
  418. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js +0 -2
  419. package/dist/nile-icon/icons/svg/ng-arrow-up.cjs.js.map +0 -1
  420. package/dist/nile-icon/icons/svg/ng-arrow-up.esm.js +0 -1
  421. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js +0 -2
  422. package/dist/nile-icon/icons/svg/ng-bar-chart-12.cjs.js.map +0 -1
  423. package/dist/nile-icon/icons/svg/ng-bar-chart-12.esm.js +0 -1
  424. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js +0 -2
  425. package/dist/nile-icon/icons/svg/ng-bell-01.cjs.js.map +0 -1
  426. package/dist/nile-icon/icons/svg/ng-bell-01.esm.js +0 -1
  427. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js +0 -2
  428. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.cjs.js.map +0 -1
  429. package/dist/nile-icon/icons/svg/ng-bell-ringing-04.esm.js +0 -1
  430. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js +0 -2
  431. package/dist/nile-icon/icons/svg/ng-bold-01.cjs.js.map +0 -1
  432. package/dist/nile-icon/icons/svg/ng-bold-01.esm.js +0 -1
  433. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js +0 -2
  434. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.cjs.js.map +0 -1
  435. package/dist/nile-icon/icons/svg/ng-calendar-plus-02.esm.js +0 -1
  436. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js +0 -2
  437. package/dist/nile-icon/icons/svg/ng-calendar.cjs.js.map +0 -1
  438. package/dist/nile-icon/icons/svg/ng-calendar.esm.js +0 -1
  439. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js +0 -2
  440. package/dist/nile-icon/icons/svg/ng-check-circle.cjs.js.map +0 -1
  441. package/dist/nile-icon/icons/svg/ng-check-circle.esm.js +0 -1
  442. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js +0 -2
  443. package/dist/nile-icon/icons/svg/ng-check-square-broken.cjs.js.map +0 -1
  444. package/dist/nile-icon/icons/svg/ng-check-square-broken.esm.js +0 -1
  445. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js +0 -2
  446. package/dist/nile-icon/icons/svg/ng-chevron-down.cjs.js.map +0 -1
  447. package/dist/nile-icon/icons/svg/ng-chevron-down.esm.js +0 -1
  448. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js +0 -2
  449. package/dist/nile-icon/icons/svg/ng-chevron-left.cjs.js.map +0 -1
  450. package/dist/nile-icon/icons/svg/ng-chevron-left.esm.js +0 -1
  451. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js +0 -2
  452. package/dist/nile-icon/icons/svg/ng-chevron-right.cjs.js.map +0 -1
  453. package/dist/nile-icon/icons/svg/ng-chevron-right.esm.js +0 -1
  454. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js +0 -2
  455. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.cjs.js.map +0 -1
  456. package/dist/nile-icon/icons/svg/ng-chevron-selector-vertical.esm.js +0 -1
  457. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js +0 -2
  458. package/dist/nile-icon/icons/svg/ng-chevron-up-double.cjs.js.map +0 -1
  459. package/dist/nile-icon/icons/svg/ng-chevron-up-double.esm.js +0 -1
  460. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js +0 -2
  461. package/dist/nile-icon/icons/svg/ng-chevron-up.cjs.js.map +0 -1
  462. package/dist/nile-icon/icons/svg/ng-chevron-up.esm.js +0 -1
  463. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js +0 -2
  464. package/dist/nile-icon/icons/svg/ng-copy-03.cjs.js.map +0 -1
  465. package/dist/nile-icon/icons/svg/ng-copy-03.esm.js +0 -1
  466. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js +0 -2
  467. package/dist/nile-icon/icons/svg/ng-dots-grid.cjs.js.map +0 -1
  468. package/dist/nile-icon/icons/svg/ng-dots-grid.esm.js +0 -1
  469. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js +0 -2
  470. package/dist/nile-icon/icons/svg/ng-dots-vertical.cjs.js.map +0 -1
  471. package/dist/nile-icon/icons/svg/ng-dots-vertical.esm.js +0 -1
  472. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js +0 -2
  473. package/dist/nile-icon/icons/svg/ng-download-01.cjs.js.map +0 -1
  474. package/dist/nile-icon/icons/svg/ng-download-01.esm.js +0 -1
  475. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js +0 -2
  476. package/dist/nile-icon/icons/svg/ng-dropdown.cjs.js.map +0 -1
  477. package/dist/nile-icon/icons/svg/ng-dropdown.esm.js +0 -1
  478. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js +0 -2
  479. package/dist/nile-icon/icons/svg/ng-edit-02.cjs.js.map +0 -1
  480. package/dist/nile-icon/icons/svg/ng-edit-02.esm.js +0 -1
  481. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js +0 -2
  482. package/dist/nile-icon/icons/svg/ng-edit-05.cjs.js.map +0 -1
  483. package/dist/nile-icon/icons/svg/ng-edit-05.esm.js +0 -1
  484. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js +0 -2
  485. package/dist/nile-icon/icons/svg/ng-expand-06.cjs.js.map +0 -1
  486. package/dist/nile-icon/icons/svg/ng-expand-06.esm.js +0 -1
  487. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js +0 -2
  488. package/dist/nile-icon/icons/svg/ng-file-02.cjs.js.map +0 -1
  489. package/dist/nile-icon/icons/svg/ng-file-02.esm.js +0 -1
  490. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js +0 -2
  491. package/dist/nile-icon/icons/svg/ng-file-check-02.cjs.js.map +0 -1
  492. package/dist/nile-icon/icons/svg/ng-file-check-02.esm.js +0 -1
  493. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js +0 -2
  494. package/dist/nile-icon/icons/svg/ng-file-question-03.cjs.js.map +0 -1
  495. package/dist/nile-icon/icons/svg/ng-file-question-03.esm.js +0 -1
  496. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js +0 -2
  497. package/dist/nile-icon/icons/svg/ng-filter-lines.cjs.js.map +0 -1
  498. package/dist/nile-icon/icons/svg/ng-filter-lines.esm.js +0 -1
  499. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js +0 -2
  500. package/dist/nile-icon/icons/svg/ng-grid-01.cjs.js.map +0 -1
  501. package/dist/nile-icon/icons/svg/ng-grid-01.esm.js +0 -1
  502. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js +0 -2
  503. package/dist/nile-icon/icons/svg/ng-help-circle.cjs.js.map +0 -1
  504. package/dist/nile-icon/icons/svg/ng-help-circle.esm.js +0 -1
  505. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js +0 -2
  506. package/dist/nile-icon/icons/svg/ng-image-user-left.cjs.js.map +0 -1
  507. package/dist/nile-icon/icons/svg/ng-image-user-left.esm.js +0 -1
  508. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js +0 -2
  509. package/dist/nile-icon/icons/svg/ng-info-circle.cjs.js.map +0 -1
  510. package/dist/nile-icon/icons/svg/ng-info-circle.esm.js +0 -1
  511. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js +0 -2
  512. package/dist/nile-icon/icons/svg/ng-italic-01.cjs.js.map +0 -1
  513. package/dist/nile-icon/icons/svg/ng-italic-01.esm.js +0 -1
  514. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js +0 -2
  515. package/dist/nile-icon/icons/svg/ng-layers-three-01.cjs.js.map +0 -1
  516. package/dist/nile-icon/icons/svg/ng-layers-three-01.esm.js +0 -1
  517. package/dist/nile-icon/icons/svg/ng-list.cjs.js +0 -2
  518. package/dist/nile-icon/icons/svg/ng-list.cjs.js.map +0 -1
  519. package/dist/nile-icon/icons/svg/ng-list.esm.js +0 -1
  520. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js +0 -2
  521. package/dist/nile-icon/icons/svg/ng-log-out-01.cjs.js.map +0 -1
  522. package/dist/nile-icon/icons/svg/ng-log-out-01.esm.js +0 -1
  523. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js +0 -2
  524. package/dist/nile-icon/icons/svg/ng-mail-01.cjs.js.map +0 -1
  525. package/dist/nile-icon/icons/svg/ng-mail-01.esm.js +0 -1
  526. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js +0 -2
  527. package/dist/nile-icon/icons/svg/ng-mail-04.cjs.js.map +0 -1
  528. package/dist/nile-icon/icons/svg/ng-mail-04.esm.js +0 -1
  529. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js +0 -2
  530. package/dist/nile-icon/icons/svg/ng-menu-05.cjs.js.map +0 -1
  531. package/dist/nile-icon/icons/svg/ng-menu-05.esm.js +0 -1
  532. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js +0 -2
  533. package/dist/nile-icon/icons/svg/ng-message-text-square-01.cjs.js.map +0 -1
  534. package/dist/nile-icon/icons/svg/ng-message-text-square-01.esm.js +0 -1
  535. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js +0 -2
  536. package/dist/nile-icon/icons/svg/ng-minimize-02.cjs.js.map +0 -1
  537. package/dist/nile-icon/icons/svg/ng-minimize-02.esm.js +0 -1
  538. package/dist/nile-icon/icons/svg/ng-plus.cjs.js +0 -2
  539. package/dist/nile-icon/icons/svg/ng-plus.cjs.js.map +0 -1
  540. package/dist/nile-icon/icons/svg/ng-plus.esm.js +0 -1
  541. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js +0 -2
  542. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.cjs.js.map +0 -1
  543. package/dist/nile-icon/icons/svg/ng-refresh-cw-02.esm.js +0 -1
  544. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js +0 -2
  545. package/dist/nile-icon/icons/svg/ng-rocket-02.cjs.js.map +0 -1
  546. package/dist/nile-icon/icons/svg/ng-rocket-02.esm.js +0 -1
  547. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js +0 -2
  548. package/dist/nile-icon/icons/svg/ng-search-lg.cjs.js.map +0 -1
  549. package/dist/nile-icon/icons/svg/ng-search-lg.esm.js +0 -1
  550. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js +0 -2
  551. package/dist/nile-icon/icons/svg/ng-send-01.cjs.js.map +0 -1
  552. package/dist/nile-icon/icons/svg/ng-send-01.esm.js +0 -1
  553. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js +0 -2
  554. package/dist/nile-icon/icons/svg/ng-settings-01.cjs.js.map +0 -1
  555. package/dist/nile-icon/icons/svg/ng-settings-01.esm.js +0 -1
  556. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js +0 -2
  557. package/dist/nile-icon/icons/svg/ng-share-04.cjs.js.map +0 -1
  558. package/dist/nile-icon/icons/svg/ng-share-04.esm.js +0 -1
  559. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js +0 -2
  560. package/dist/nile-icon/icons/svg/ng-share-06.cjs.js.map +0 -1
  561. package/dist/nile-icon/icons/svg/ng-share-06.esm.js +0 -1
  562. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js +0 -2
  563. package/dist/nile-icon/icons/svg/ng-stars-02.cjs.js.map +0 -1
  564. package/dist/nile-icon/icons/svg/ng-stars-02.esm.js +0 -1
  565. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js +0 -2
  566. package/dist/nile-icon/icons/svg/ng-trash-01.cjs.js.map +0 -1
  567. package/dist/nile-icon/icons/svg/ng-trash-01.esm.js +0 -1
  568. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js +0 -2
  569. package/dist/nile-icon/icons/svg/ng-trash-03.cjs.js.map +0 -1
  570. package/dist/nile-icon/icons/svg/ng-trash-03.esm.js +0 -1
  571. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js +0 -2
  572. package/dist/nile-icon/icons/svg/ng-trend-up-01.cjs.js.map +0 -1
  573. package/dist/nile-icon/icons/svg/ng-trend-up-01.esm.js +0 -1
  574. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js +0 -2
  575. package/dist/nile-icon/icons/svg/ng-underline-01.cjs.js.map +0 -1
  576. package/dist/nile-icon/icons/svg/ng-underline-01.esm.js +0 -1
  577. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js +0 -2
  578. package/dist/nile-icon/icons/svg/ng-upload-01.cjs.js.map +0 -1
  579. package/dist/nile-icon/icons/svg/ng-upload-01.esm.js +0 -1
  580. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js +0 -2
  581. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.cjs.js.map +0 -1
  582. package/dist/nile-icon/icons/svg/ng-upload-cloud-02.esm.js +0 -1
  583. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js +0 -2
  584. package/dist/nile-icon/icons/svg/ng-user-01.cjs.js.map +0 -1
  585. package/dist/nile-icon/icons/svg/ng-user-01.esm.js +0 -1
  586. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js +0 -2
  587. package/dist/nile-icon/icons/svg/ng-user-check-02-1.cjs.js.map +0 -1
  588. package/dist/nile-icon/icons/svg/ng-user-check-02-1.esm.js +0 -1
  589. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js +0 -2
  590. package/dist/nile-icon/icons/svg/ng-user-check-02.cjs.js.map +0 -1
  591. package/dist/nile-icon/icons/svg/ng-user-check-02.esm.js +0 -1
  592. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js +0 -2
  593. package/dist/nile-icon/icons/svg/ng-user-plus-02.cjs.js.map +0 -1
  594. package/dist/nile-icon/icons/svg/ng-user-plus-02.esm.js +0 -1
  595. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js +0 -2
  596. package/dist/nile-icon/icons/svg/ng-user-right-01.cjs.js.map +0 -1
  597. package/dist/nile-icon/icons/svg/ng-user-right-01.esm.js +0 -1
  598. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js +0 -2
  599. package/dist/nile-icon/icons/svg/ng-users-01.cjs.js.map +0 -1
  600. package/dist/nile-icon/icons/svg/ng-users-01.esm.js +0 -1
  601. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js +0 -2
  602. package/dist/nile-icon/icons/svg/ng-x-close.cjs.js.map +0 -1
  603. package/dist/nile-icon/icons/svg/ng-x-close.esm.js +0 -1
  604. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js +0 -2
  605. package/dist/nile-icon/icons/svg/ng-x-square.cjs.js.map +0 -1
  606. package/dist/nile-icon/icons/svg/ng-x-square.esm.js +0 -1
  607. package/dist/src/nile-calendar/test.d.ts +0 -0
  608. package/dist/src/nile-calendar/test.js +0 -2
  609. package/dist/src/nile-calendar/test.js.map +0 -1
  610. /package/dist/{nile-file-preview → nile-slider}/index.cjs.js.map +0 -0
  611. /package/dist/{nile-file-preview/types/nile-file-preview.interface.esm.js → nile-slider/types/nile-slider.enums.esm.js} +0 -0
  612. /package/dist/{nile-file-upload/types/file-upload.type.esm.js → nile-slider/types/nile-slider.types.esm.js} +0 -0
package/README.md CHANGED
@@ -79,6 +79,14 @@ To run a local development server that serves the basic demo located in `demo/in
79
79
 
80
80
  In this section, you can find the updates for each release of `nile-elements`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
81
81
 
82
+ #### Version 0.1.55-1
83
+ - Nile Code Editor: Added defaultFont property, Enabled tab completion by default [UIF-887]
84
+
85
+ #### Version 0.1.55
86
+ - Nile Code Editor: Autocomplete drop down css changed[UIF-887]
87
+ - Nile Icons: Four new icons are added[UIF-887]
88
+ - Dependency Nile 0.3.71
89
+
82
90
  #### Version 0.1.54
83
91
  - Nile Error Notification: Added Parts for Styling[UIF-888]
84
92
 
package/demo/index.html CHANGED
@@ -5,399 +5,38 @@
5
5
  <meta charset="utf-8" />
6
6
  <link rel="stylesheet" href="variables_v2.css" id="stylesheet" />
7
7
  <link rel="stylesheet" href="index.css" />
8
- <style>
9
- /* =======================
10
- Nile Table Row CSS
11
- ======================= */
12
- :host {
13
- display: block;
14
- width: 100%;
15
- }
16
-
17
- .row-container {
18
- display: flex;
19
- flex-direction: column;
20
- }
21
-
22
- .row {
23
- position: relative;
24
- display: flex;
25
- align-items: center;
26
- border-bottom: 1px solid var(--nile-table-row-border-color, #e0e0e0);
27
- cursor: default;
28
- background: var(--nile-table-row-background, #fff);
29
- }
30
-
31
- .expand-icon {
32
- position: absolute;
33
- left: 0.25em;
34
- top: 50%;
35
- transform: translateY(-50%);
36
- cursor: pointer;
37
- font-size: 1em;
38
- line-height: 1;
39
- user-select: none;
40
- z-index: 1;
41
- }
42
-
43
- .row ::slotted(nile-table-cell-item),
44
- .row ::slotted(nile-table-header-item) {
45
- flex: 1 1 0;
46
- box-sizing: border-box;
47
- padding: 0.75em 0.75em 0.75em 2em;
48
- }
49
-
50
- .row.expandable:hover {
51
- background: var(--nile-table-row-hover-background, #f9f9f9);
52
- }
53
-
54
- .expanded-content {
55
- overflow: hidden;
56
- transition: max-height 0.3s ease;
57
- max-height: 800px;
58
- background: green;
59
- padding: 0.5em 1em;
60
- }
61
-
62
-
63
- .tree-container {
64
- position: relative;
65
- z-index: 1;
66
- padding-left: 1.2em;
67
- padding-bottom: 1em;
68
- padding-right: 1em;
69
- padding-top: 1em;
70
- margin-left: 0.5em;
71
- }
72
-
73
- .tree-container .tree-svg {
74
- position: absolute;
75
- top: 0;
76
- left: 0;
77
- width: 100%;
78
- height: 100%;
79
- pointer-events: none;
80
- overflow: visible;
81
- z-index: 2;
82
- }
83
-
84
- .tree-container .tree-svg line {
85
- stroke: var(--nile-table-row-border-color, #e0e0e0);
86
- stroke-width: 2; /* thicker, visible */
87
-
88
- }
89
- </style>
90
8
  <script type="module" src="index.js"></script>
91
9
  </head>
10
+ <style>
11
+ .flex-container {
12
+ display: flex;
13
+ flex-wrap: wrap;
14
+ gap: 30px;
15
+ padding: 0;
16
+ margin: 0;
17
+ border: 1px solid silver;
18
+ height: 900px;
19
+ }
20
+
21
+ nile-button {
22
+ flex: 0 0 auto;
23
+ height: 38px;
24
+ }
25
+ </style>
92
26
 
93
27
  <body>
94
- <div style="padding: 30px;">
95
- <nile-table-body>
96
-
97
- <nile-table-row>
98
- <nile-table-header-item> <nile-checkbox></nile-checkbox>Number</nile-table-header-item>
99
- <nile-table-header-item>Name</nile-table-header-item>
100
- <nile-table-header-item>Operation</nile-table-header-item>
101
- <nile-table-header-item>Created on</nile-table-header-item>
102
- <nile-table-header-item>Action</nile-table-header-item>
103
- </nile-table-row>
104
- <!-- Top‐level expandable row -->
105
- <nile-table-row expandable>
106
- <nile-table-cell-item><nile-checkbox></nile-checkbox>U1234</nile-table-cell-item>
107
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
108
- <nile-table-cell-item>Create</nile-table-cell-item>
109
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
110
- <nile-table-cell-item>
111
- <a href="#">Approve</a> |
112
- <a href="#">Reject</a>
113
- </nile-table-cell-item>
114
-
115
- <div slot="expanded" class="tree-container">
116
- <!-- SVG overlay for connectors -->
117
- <svg class="tree-svg"></svg>
118
-
119
- <nile-table-body >
120
- <nile-table-row>
121
- <nile-table-header-item >First Name</nile-table-header-item>
122
- <nile-table-header-item >Last Name</nile-table-header-item>
123
- <nile-table-header-item >Rating</nile-table-header-item>
124
- <nile-table-header-item >Demo</nile-table-header-item>
125
- <nile-table-header-item>Description</nile-table-header-item>
126
- </nile-table-row>
127
- <nile-table-row>
128
- <nile-table-cell-item>John</nile-table-cell-item>
129
- <nile-table-cell-item>Doe</nile-table-cell-item>
130
- <nile-table-cell-item >4.5</nile-table-cell-item>
131
- <nile-table-cell-item>Yes</nile-table-cell-item>
132
- <nile-table-cell-item>Something</nile-table-cell-item>
133
- </nile-table-row>
134
- <nile-table-row>
135
- <nile-table-cell-item>John</nile-table-cell-item>
136
- <nile-table-cell-item>Doe</nile-table-cell-item>
137
- <nile-table-cell-item>4.5</nile-table-cell-item>
138
- <nile-table-cell-item>No</nile-table-cell-item>
139
- <nile-table-cell-item>Something</nile-table-cell-item>
140
- </nile-table-row>
141
- <nile-table-row>
142
- <nile-table-cell-item>John</nile-table-cell-item>
143
- <nile-table-cell-item>Doe</nile-table-cell-item>
144
- <nile-table-cell-item>4.5</nile-table-cell-item>
145
- <nile-table-cell-item>Yes</nile-table-cell-item>
146
- <nile-table-cell-item>Something</nile-table-cell-item>
147
- </nile-table-row>
148
- <nile-table-row>
149
- <nile-table-cell-item>John</nile-table-cell-item>
150
- <nile-table-cell-item>Doe</nile-table-cell-item>
151
- <nile-table-cell-item>4.5</nile-table-cell-item>
152
- <nile-table-cell-item>No</nile-table-cell-item>
153
- <nile-table-cell-item>Something</nile-table-cell-item>
154
- </nile-table-row>
155
-
156
- </nile-table-body>
157
- </div>
158
- </nile-table-row>
159
-
160
-
161
- <nile-table-row>
162
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
163
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
164
- <nile-table-cell-item>Create</nile-table-cell-item>
165
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
166
- <nile-table-cell-item>
167
- <a href="#">Approve</a> |
168
- <a href="#">Reject</a>
169
- </nile-table-cell-item>
170
- </nile-table-row>
171
-
172
- <nile-table-row>
173
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
174
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
175
- <nile-table-cell-item>Create</nile-table-cell-item>
176
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
177
- <nile-table-cell-item>
178
- <a href="#">Approve</a> |
179
- <a href="#">Reject</a>
180
- </nile-table-cell-item>
181
- </nile-table-row>
182
- <nile-table-row>
183
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
184
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
185
- <nile-table-cell-item>Create</nile-table-cell-item>
186
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
187
- <nile-table-cell-item>
188
- <a href="#">Approve</a> |
189
- <a href="#">Reject</a>
190
- </nile-table-cell-item>
191
- </nile-table-row>
192
- <nile-table-row expandable>
193
- <nile-table-cell-item><nile-checkbox></nile-checkbox>U1234</nile-table-cell-item>
194
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
195
- <nile-table-cell-item>Create</nile-table-cell-item>
196
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
197
- <nile-table-cell-item>
198
- <a href="#">Approve</a> |
199
- <a href="#">Reject</a>
200
- </nile-table-cell-item>
201
-
202
- <div slot="expanded" class="tree-container">
203
- <!-- SVG overlay for connectors -->
204
- <svg class="tree-svg"></svg>
205
-
206
- <nile-table-body >
207
- <nile-table-row>
208
- <nile-table-header-item >First Name</nile-table-header-item>
209
- <nile-table-header-item >Last Name</nile-table-header-item>
210
- <nile-table-header-item >Rating</nile-table-header-item>
211
- <nile-table-header-item >Demo</nile-table-header-item>
212
- <nile-table-header-item>Description</nile-table-header-item>
213
- </nile-table-row>
214
- <nile-table-row>
215
- <nile-table-cell-item>John</nile-table-cell-item>
216
- <nile-table-cell-item>Doe</nile-table-cell-item>
217
- <nile-table-cell-item >4.5</nile-table-cell-item>
218
- <nile-table-cell-item>Yes</nile-table-cell-item>
219
- <nile-table-cell-item>Something</nile-table-cell-item>
220
- </nile-table-row>
221
- <nile-table-row>
222
- <nile-table-cell-item>John</nile-table-cell-item>
223
- <nile-table-cell-item>Doe</nile-table-cell-item>
224
- <nile-table-cell-item>4.5</nile-table-cell-item>
225
- <nile-table-cell-item>No</nile-table-cell-item>
226
- <nile-table-cell-item>Something</nile-table-cell-item>
227
- </nile-table-row>
228
- <nile-table-row>
229
- <nile-table-cell-item>John</nile-table-cell-item>
230
- <nile-table-cell-item>Doe</nile-table-cell-item>
231
- <nile-table-cell-item>4.5</nile-table-cell-item>
232
- <nile-table-cell-item>Yes</nile-table-cell-item>
233
- <nile-table-cell-item>Something</nile-table-cell-item>
234
- </nile-table-row>
235
- <nile-table-row>
236
- <nile-table-cell-item>John</nile-table-cell-item>
237
- <nile-table-cell-item>Doe</nile-table-cell-item>
238
- <nile-table-cell-item>4.5</nile-table-cell-item>
239
- <nile-table-cell-item>No</nile-table-cell-item>
240
- <nile-table-cell-item>Something</nile-table-cell-item>
241
- </nile-table-row>
242
-
243
- </nile-table-body>
244
- </div>
245
- </nile-table-row>
246
- </nile-table-row>
247
- <nile-table-row>
248
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
249
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
250
- <nile-table-cell-item>Create</nile-table-cell-item>
251
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
252
- <nile-table-cell-item>
253
- <a href="#">Approve</a> |
254
- <a href="#">Reject</a>
255
- </nile-table-cell-item>
256
- </nile-table-row>
257
- <nile-table-row>
258
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
259
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
260
- <nile-table-cell-item>Create</nile-table-cell-item>
261
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
262
- <nile-table-cell-item>
263
- <a href="#">Approve</a> |
264
- <a href="#">Reject</a>
265
- </nile-table-cell-item>
266
- </nile-table-row>
267
- <nile-table-row expandable>
268
- <nile-table-cell-item><nile-checkbox></nile-checkbox>U1234</nile-table-cell-item>
269
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
270
- <nile-table-cell-item>Create</nile-table-cell-item>
271
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
272
- <nile-table-cell-item>
273
- <a href="#">Approve</a> |
274
- <a href="#">Reject</a>
275
- </nile-table-cell-item>
276
-
277
- <div slot="expanded" class="tree-container">
278
- <!-- SVG overlay for connectors -->
279
- <svg class="tree-svg"></svg>
280
-
281
- <nile-table-body >
282
- <nile-table-row>
283
- <nile-table-header-item >First Name</nile-table-header-item>
284
- <nile-table-header-item >Last Name</nile-table-header-item>
285
- <nile-table-header-item >Rating</nile-table-header-item>
286
- <nile-table-header-item >Demo</nile-table-header-item>
287
- <nile-table-header-item>Description</nile-table-header-item>
288
- </nile-table-row>
289
- <nile-table-row>
290
- <nile-table-cell-item>John</nile-table-cell-item>
291
- <nile-table-cell-item>Doe</nile-table-cell-item>
292
- <nile-table-cell-item >4.5</nile-table-cell-item>
293
- <nile-table-cell-item>Yes</nile-table-cell-item>
294
- <nile-table-cell-item>Something</nile-table-cell-item>
295
- </nile-table-row>
296
- <nile-table-row>
297
- <nile-table-cell-item>John</nile-table-cell-item>
298
- <nile-table-cell-item>Doe</nile-table-cell-item>
299
- <nile-table-cell-item>4.5</nile-table-cell-item>
300
- <nile-table-cell-item>No</nile-table-cell-item>
301
- <nile-table-cell-item>Something</nile-table-cell-item>
302
- </nile-table-row>
303
- <nile-table-row>
304
- <nile-table-cell-item>John</nile-table-cell-item>
305
- <nile-table-cell-item>Doe</nile-table-cell-item>
306
- <nile-table-cell-item>4.5</nile-table-cell-item>
307
- <nile-table-cell-item>Yes</nile-table-cell-item>
308
- <nile-table-cell-item>Something</nile-table-cell-item>
309
- </nile-table-row>
310
- <nile-table-row>
311
- <nile-table-cell-item>John</nile-table-cell-item>
312
- <nile-table-cell-item>Doe</nile-table-cell-item>
313
- <nile-table-cell-item>4.5</nile-table-cell-item>
314
- <nile-table-cell-item>No</nile-table-cell-item>
315
- <nile-table-cell-item>Something</nile-table-cell-item>
316
- </nile-table-row>
317
-
318
- </nile-table-body>
319
- </div>
320
- </nile-table-row>
321
- <nile-table-row>
322
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
323
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
324
- <nile-table-cell-item>Create</nile-table-cell-item>
325
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
326
- <nile-table-cell-item>
327
- <a href="#">Approve</a> |
328
- <a href="#">Reject</a>
329
- </nile-table-cell-item>
330
- </nile-table-row>
331
- <nile-table-row>
332
- <nile-table-cell-item><nile-checkbox></nile-checkbox>UI1234</nile-table-cell-item>
333
- <nile-table-cell-item>Oliver Thompson</nile-table-cell-item>
334
- <nile-table-cell-item>Create</nile-table-cell-item>
335
- <nile-table-cell-item>2023-10-10</nile-table-cell-item>
336
- <nile-table-cell-item>
337
- <a href="#">Approve</a> |
338
- <a href="#">Reject</a>
339
- </nile-table-cell-item>
340
- </nile-table-row>
341
- </nile-table-body>
342
- </div>
343
-
344
- <script>
345
-
346
- window.addEventListener('nile-row-toggle', (e) => {
347
- const rowEl = /** @type {HTMLElement & { expanded: boolean }} */ (e.target);
348
- if (!rowEl.expandable || !rowEl.expanded) return;
349
-
350
- requestAnimationFrame(() => drawConnectors(rowEl));
351
- });
352
-
353
- function drawConnectors(rowEl) {
354
- const container = rowEl.querySelector('.tree-container');
355
- const svg = container?.querySelector('svg.tree-svg');
356
- if (!svg) return;
357
-
358
- // Clear previous lines
359
- while (svg.firstChild) svg.removeChild(svg.firstChild);
360
- const icon = rowEl.shadowRoot.querySelector('.expand-icon');
361
- const iconRect = icon.getBoundingClientRect();
362
- const contRect = container.getBoundingClientRect();
363
- const width = contRect.width || container.offsetWidth;
364
- const height = contRect.height || container.offsetHeight;
365
-
366
- // Set up SVG coordinate system
367
- svg.setAttribute('viewBox', `0 0 ${width} ${height}`);
368
- svg.setAttribute('preserveAspectRatio', 'none');
369
-
370
- // Compute start of vertical line
371
- const startX = iconRect.left + iconRect.width / 2 - contRect.left;
372
- const startY = iconRect.bottom - contRect.top;
373
- const endY = height;
374
-
375
- const svgns = svg.namespaceURI;
376
-
377
- // Draw vertical line
378
- const vLine = document.createElementNS(svgns, 'line');
379
- vLine.setAttribute('x1', `${startX}`);
380
- vLine.setAttribute('y1', `${startY}`);
381
- vLine.setAttribute('x2', `${startX}`);
382
- vLine.setAttribute('y2', `${endY}`);
383
- svg.appendChild(vLine);
384
-
385
- // Draw horizontal branch for each nested row
386
- container.querySelectorAll('nile-table-row').forEach(nested => {
387
- const nestedDiv = nested.shadowRoot?.querySelector('.row');
388
- if (!nestedDiv) return;
389
- const nrRect = nestedDiv.getBoundingClientRect();
390
- const midY = nrRect.top + nrRect.height / 2 - contRect.top;
391
28
 
392
- const hLine = document.createElementNS(svgns, 'line');
393
- hLine.setAttribute('x1', `${startX}`);
394
- hLine.setAttribute('y1', `${midY}`);
395
- hLine.setAttribute('x2', `${startX + 16}`);
396
- hLine.setAttribute('y2', `${midY}`);
397
- svg.appendChild(hLine);
398
- });
399
- }
400
- </script>
29
+ <nile-code-editor
30
+ multiline
31
+ value="let randomNumber = Math.floor(Math.random() * 100) + 1;
32
+ console.log(`Generated number: ${randomNumber}`);
33
+ document.body.style.backgroundColor = randomNumber % 2 === 0 ? 'blue' : 'green';
34
+
35
+ "
36
+ >
37
+ </nile-code-editor>
38
+
39
+
401
40
  </body>
402
41
 
403
42
  </html>
@@ -566,4 +566,4 @@ function d(t){if(function(t){return"undefined"!=typeof Symbol&&"object"==typeof
566
566
  *
567
567
  * @param {Object} target
568
568
  * @returns {Array} an array of own and inherited enumerable keys from the target.
569
- */function w(t){var e=[];for(var n in t)e.push(n);return e}function b(t){return null===t||"object"!=typeof t}e.exports=c,e.exports.MemoizeMap=r},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1])}else e=t.name;return e}},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t)}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")}}))}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i))}return o}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function(t,e){return a(t,e).value},setPathValue:function(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s]}}}(t,n,o(e)),t}}},{}],39:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.typeDetect=i()}(this,(function(){var t="function"==typeof Promise,e="object"==typeof self?self:o,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,r="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=r&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf((new Set).entries()),p=l&&Object.getPrototypeOf((new Map).entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),v=u&&"function"==typeof String.prototype[Symbol.iterator],m=v&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var o=typeof n;if("object"!==o)return o;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":r&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":r&&h===d?"Set Iterator":w&&h===b?"Array Iterator":v&&h===m?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1)}}))},{}]},{},[1])(1);a.version,a.AssertionError,a.use,a.util,a.config,a.Assertion;var s=a.expect;a.should,a.Should,a.assert;const c=["script","style","svg"],u=["class","id"],f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function h(t,e={}){const n=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"==typeof t)):[],i=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"!=typeof t)):[],o=[...e.ignoreTags||[],...c],r=e.ignoreChildren||[],a=e.stripEmptyAttributes||u,s=/(&|")/g,h=t=>"&"===t?"&amp;":"&quot;";let l="",d=-1;const p=new Set,w=new Set;function b(){return" ".repeat(d)}function v(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase()}function m(t){const e=v(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t)}function g({name:t,value:e}){return a.includes(t)&&""===e.trim()}function y(t,{name:e,value:n}){return g({name:e,value:n})?"":"class"===e?` class="${function(t){return[...t.classList.values()].sort().join(" ")}(t)}"`:` ${e}="${n.replace(s,h)}"`}const x=(t,e)=>t.name.localeCompare(e.name);function j(t){let e="";const o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find((n=>{if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(v(t))&&n.attributes.includes(e.name)})))}}(t),(...t)=>!r(...t))).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(let n=0;n<o.length;n+=1)e+=`\n${b()} ${y(t,o[n])}`;e+=`\n${b()}`}return e}function E(t,e){var n;if("diff-container"!==v(t)&&!o.includes(v(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){let n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+=`${b()}${n}\n`)}(t,e);else{if(!(t instanceof Element))throw new Error(`Unknown node type: ${t}`);n=t,l+=`${b()}<${v(n)}${j(n)}>\n`}}function O(t){var e;o.includes(v(t))||t instanceof Element&&("diff-container"===v(e=t)||f.includes(v(e))||(l+=`${b()}</${v(e)}>\n`))}let S;if("string"==typeof t)S=document.createElement("diff-container"),S.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error(`Cannot create diffable HTML from: ${t}`);S=t,d=0}const k=document.createTreeWalker(S,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;k.currentNode;){const t=k.currentNode;if(E(t,k),m(t)&&k.firstChild())d+=1;else{O(t);if(!k.nextSibling()){d-=1;const t=k.parentNode();if(!t)break;p.add(t)}}}return l}const l=new URL(window.location.href).searchParams.get("wtr-session-id");function d(t){return null!=t&&"object"==typeof t}async function p(t,e,n){if("string"!=typeof l)throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let i;try{const t=await import("../../../../../../__web-dev-server__web-socket.js");({sendMessageWaitForResponse:i}=t)}catch(t){throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{const o=await i({type:"wtr-command",sessionId:l,command:t,payload:e});if(!o.executed){let e;throw e=n?`Unknown command ${t}. Add the ${n} to your config.`:`Unknown command ${t}. Did you install a plugin to handle this command?`,new Error(e)}return o.result}catch(n){throw new Error(`Error while executing command ${t}${e?` with payload ${JSON.stringify(e)}`:""}: ${n.message}`)}}let w,b;const v=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm;async function m({cache:t=!0}={}){if(t&&b)return b;const e=await p("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if("string"!=typeof e?.content)throw new Error("Expected a result as string");const n=`${(t=>([...t.matchAll(v)].forEach((({groups:{content:e}})=>{t=t.replaceAll(e,encodeURIComponent(e))})),t))(e.content)}/* ${Math.random()} */`,i=await import(`data:text/javascript;charset=utf-8,${n}`);if(!i||!d(i.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return b=i.snapshots,b}function g(t){const e=[];let n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse()}function y(...t){switch(t.length){case 2:{const[e,n]=t;return{message:e,options:n}}case 1:{const[n]=t;return(e=n)&&null!==e&&"object"==typeof e&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:n}:{message:n}}default:return{}}var e}let x;async function j(t,e){return x||await async function(){if(window.axe)x=window.axe;else if("function"!=typeof require){if(await import("./axe.min-2720cd56.esm.js").then((function(t){return t.a})),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");x=window.axe}else x=require("axe-core/axe.min.js")}(),new Promise(((n,i)=>{x.run(t,e,((t,e)=>{t?i(new Error(t)):n(e)}))}))}var E,O={};E={get exports(){return O},set exports(t){O=t}},function(t){E.exports=t}((function(t,e){var n=e.flag,i=function(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,(function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"))})),e):String(t)},o=function(t,o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==o||this.assert(!!r.attributes[t],"expected "+i(r)+" to have an attribute #{exp}","expected "+i(r)+" not to have an attribute #{exp}",t),void 0!==o&&this.assert(o===a,"expected "+i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",o,a),n(this,"object",a)},r=function(t){return 1===t.nodeType},a=function(t){return"[object NodeList]"===Object.prototype.toString.call(t)};e.elToString=i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",(function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some((function(e){return t.test(e)})),"expected "+i(e)+" to have class matching #{exp}","expected "+i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+i(e)+" to have class #{exp}","expected "+i(e)+" not to have class #{exp}",t)})),t.Assertion.addMethod("id",(function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+i(e)+" to have id #{exp}","expected "+i(e)+" not to have id #{exp}",t)})),t.Assertion.addMethod("html",(function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+i(e)+" not to have HTML #{exp}",t,o)})),t.Assertion.addChainableMethod("trimmed",null,(function(){n(this,"trim-text",!0)})),t.Assertion.addProperty("rendered",(function(){n(this,"rendered-text",!0)})),t.Assertion.addMethod("text",(function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,(function(t){return u?t[f].trim():t[f]})),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(s,(function(e){return(u?e[f].trim():e[f])===t}))})):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o)})),t.Assertion.addMethod("value",(function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+i(e)+" to have value #{exp}, but the value was #{act}","expected "+i(e)+" not to have value #{exp}",t,o)})),t.Assertion.overwriteProperty("exist",(function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+i(e)+" to not exist"):t.apply(this,arguments)}})),t.Assertion.overwriteProperty("empty",(function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("length",(function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+i(o)+" to have #{exp} children but it had #{act} children","expected "+i(o)+" to not have #{exp} children",e,s)}else t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.overwriteMethod("match",(function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,(function(t){return t.matches(e)})),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("contain",(function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+i(o)+" to contain #{exp}","expected "+i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+i(o)+" to contain "+i(e),"expected "+i(o)+" to not contain "+i(e)):t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.addMethod("descendant",(function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+i(e)+" to have descendant #{exp}","expected "+i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+i(e)+" to contain "+i(t),"expected "+i(e)+" to not contain "+i(t)),n(this,"object",o)})),t.Assertion.addMethod("descendants",(function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+i(e)+" to have descendants #{exp}","expected "+i(e)+" to not have descendants #{exp}",t),n(this,"object",o)})),t.Assertion.addProperty("displayed",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+i(t)+" to be displayed, but it was not","expected "+i(t)+" to not be displayed, but it was as "+e,e)})),t.Assertion.addProperty("visible",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+i(t)+" to not be visible, but it was",e)})),t.Assertion.addMethod("tagName",(function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+i(e)+" to have tagName "+t+", but it was "+o,"expected "+i(e)+" to not have tagName "+t+", but it was "+o,o)})),t.Assertion.addMethod("style",(function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r)})),t.Assertion.overwriteProperty("focus",(function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e)}})),t.Assertion.overwriteProperty("checked",(function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+i(t)+" to be checked","expected "+i(t)+" to not be checked")}}))}));var S=O;var k={};!function(t){!function(e){t.exports=e}((function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times"}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e)}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function(){return s(["expected %n to "+r+e+n].concat(o))},negative:function(){return s(["expected %n to not "+r+e].concat(o))}}}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,(function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative)}))}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative)}}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a)}function d(t,e,n){l(t,t,e,n)}e.addProperty(t.Assertion.prototype,"always",(function(){e.flag(this,"always",!0)})),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,(function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative)})),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r)}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1")}))}({get exports(){return k},set exports(t){k=t}});var A=k;function D(t){return new Promise((e=>{setTimeout(e,t)}))}function T(t,e){return new Promise((n=>{t.addEventListener(e,(function i(o){n(o),t.removeEventListener(e,i)}))}))}function M(t,e,n={}){const{interval:i=50,timeout:o=1e3}=n,{stack:r}=new Error;return new Promise(((n,a)=>{let s;setTimeout((()=>{clearTimeout(s);const t=new Error(e?`Timeout: ${e}`:`waitUntil timed out after ${o}ms`);t.stack=r,a(t)}),o),async function e(){try{await t()?n():s=setTimeout((()=>{e()}),i)}catch(t){a(t)}}()}))}a.use(((t,e)=>{t.Assertion.addProperty("lightDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0)})),t.Assertion.addProperty("shadowDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0)})),t.Assertion.addProperty("dom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0)}));const n=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase();let n=" ";return Array.prototype.slice.call(t.attributes).forEach((t=>{n+=`${t.name}="${t.value}" `})),n=n.slice(0,-1),`<${e}${n}>${t.innerHTML}</${e}>`}return t.outerHTML})(t),i=t=>t.innerHTML,o=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase(),n=new RegExp(e,"g");let i=t.shadowRoot.innerHTML;return i=i.replace(/style-scope/g,""),i=i.replace(n,""),i=i.replace(/(class=".*?)(\s)*"/g,'$1"'),i=i.replace(/ class="\w?"/g,""),i}return t.shadowRoot.innerHTML})(t),r=(e,n,i,...o)=>{const{message:r,options:a}=y(...o),s=new t.Assertion(h(e,a),r),c=h(n,a);i?s.not.equal(c,r):s.equal(c,r)},a=t=>function(a,...s){if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){let t;t=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(t,a,e.flag(this,"negate"),s[0])}else t.apply(this,[a,...s])};function s(e,n,...i){const o=window.__mocha_context__,r=window.__snapshot__,{message:a,options:s}=y(...i),{index:c}=o;o.index+=1;const u=g(o.runnable),f=h(e,s);if(r.update)r.set(u,c,f,"html");else{const e=r.get(u,c);if(e){const i=r.match(f,h(e.code,s));if(i&&n||!i&&!n)throw new t.AssertionError(a||`Received value does not match stored snapshot ${c}`,{actual:f,expected:e.code,showDiff:!0},t.util.flag(this,"ssfi"))}else r.set(u,c,f,"html")}}async function c(e,n,...i){const{message:o,options:r}=y(...i),a=g(window.__WTR_MOCHA_RUNNER__.test).join(" "),s=h(e,r),c=await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");return(await m(t))[t.name]}({name:a}),u=await async function(){return w||(w=await p("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),w}();if(c&&!u.updateSnapshots){if(n?c===s:c!==s)throw new t.AssertionError(o||`Snapshot ${a} does not match the saved snapshot on disk`,{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"))}else c!==s&&await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");if(void 0!==t.content&&"string"!=typeof t.content)throw new Error("You must provide a snapshot content");return(await m())[t.name]=t.content,p("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands")}({name:a,content:s})}function u(t,e,...n){if(window.__mocha_context__&&window.__snapshot__)return s.call(this,t,e,...n);if(window.__WTR_MOCHA_RUNNER__)return c.call(this,t,e,...n);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function f(n){const r=t.util.flag(this,"object");let a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n)}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal(t,e,...i){return r.call(this,n(t),e,!1,...i)},notEqual(t,e,...i){return r.call(this,n(t),e,!0,...i)},equalSnapshot(t,...e){return u.call(this,t,!1,...e)},notEqualSnapshot(t,...e){return u.call(this,t,!0,...e)}},t.assert.lightDom={equal(t,e,...n){return r.call(this,i(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,i(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,i(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,i(t),!0,...e)}},t.assert.shadowDom={equal(t,e,...n){return r.call(this,o(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,o(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,o(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,o(t),!0,...e)}}})),a.use(((t,e)=>{const{assert:n}=t;e.addMethod(t.Assertion.prototype,"accessible",(function(t){const n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;const e={};return t.forEach((t=>{e[t]={enabled:!1}})),e}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);let a=i.done?i.done:void 0;if(a||(a=()=>{}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach((t=>t.setAttribute("aria-hidden",!0)))}const s=j(n,r).then((t=>function(t,e,n){const{violations:i}=e;if(i.length&&t)return void n();if(!i.length&&!t)return void n();const o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach((t=>{o[o.length]=`Rule: ${t.id}`,o[o.length]=`Impact: ${t.impact}`,o[o.length]=`${t.help} (${t.helpUrl})`,t.nodes.forEach((t=>{o[o.length]="",t.target&&(o[o.length]=`Issue target: ${t.target}`),o[o.length]=`Context: ${t.html}`,t.failureSummary&&(o[o.length]=`${t.failureSummary}`)})),o[o.length]="---"})));const r=new Error(o.join("\n"));throw n(r),r}(e.flag(this,"negate"),t,a)));return this.then=s.then.bind(s),this})),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n)},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n)}})),a.use(S),a.use(A);const q=t=>"object"==typeof t&&Promise.resolve(t)===t;async function $(t){let e=!1,n=t&&t.updateComplete;return q(n)&&(await n,e=!0),n=!(!t||!t.componentOnReady)&&t.componentOnReady(),q(n)&&(await n,e=!0),e||await new Promise((t=>{requestAnimationFrame((()=>t()))})),window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush(),t}const P=[];function N(t=document.createElement("div")){return document.body.appendChild(t),P.push(t),t}function F(){P&&P.forEach((t=>{document.body.removeChild(t)})),P.length=0}function L(t){return i(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t}function C(t){return null!=(e=t)&&"function"==typeof e[Symbol.iterator]?[...t].every(L):L(t);var e}const R=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),I=({nodeType:t,textContent:e})=>{switch(t){case R.COMMENT_NODE:return!1;case R.TEXT_NODE:return e.trim();default:return!0}};async function _(t,e={}){const o=function(t,e={},o){const r=N(e.parentNode);if((e.render??n)(e.scopedElements?o(t,e.scopedElements):t,r),i(t))return r.firstElementChild;const[a]=Array.from(r.childNodes).filter(I);return a}(t,e,e.scopedElements?await import("./scopedElementsWrapper-4c29be11.esm.js").then((t=>t.getScopedElementsTemplate)):void 0);if(await $(o),e.scopedElements){const[t]=Array.from(o.shadowRoot.childNodes).filter(I);return await $(t),t}return o}async function U(n,i={}){if(i.scopedElements)return _(t`${e(n)}`,i);const o=function(t,e={}){const n=N(e.parentNode);return n.innerHTML=t,n.children[0]}(n,i);return await $(o),o}async function W(t,e){if("string"==typeof t)return U(t,e);if(e?.render||C(t))return _(t,e);throw new Error("Invalid template provided - string or lit-html TemplateResult is supported")}try{"afterEach"in window&&afterEach((()=>{F()})),"teardown"in window&&teardown((()=>{F()}))}catch(t){}export{s as a,D as b,$ as e,W as f,T as o,M as w};
569
+ */function w(t){var e=[];for(var n in t)e.push(n);return e}function b(t){return null===t||"object"!=typeof t}e.exports=c,e.exports.MemoizeMap=r},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1])}else e=t.name;return e}},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t)}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")}}))}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i))}return o}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function(t,e){return a(t,e).value},setPathValue:function(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s]}}}(t,n,o(e)),t}}},{}],39:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.typeDetect=i()}(this,(function(){var t="function"==typeof Promise,e="object"==typeof self?self:o,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,r="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=r&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf((new Set).entries()),p=l&&Object.getPrototypeOf((new Map).entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),v=u&&"function"==typeof String.prototype[Symbol.iterator],m=v&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var o=typeof n;if("object"!==o)return o;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":r&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":r&&h===d?"Set Iterator":w&&h===b?"Array Iterator":v&&h===m?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1)}}))},{}]},{},[1])(1);a.version,a.AssertionError,a.use,a.util,a.config,a.Assertion;var s=a.expect;a.should,a.Should,a.assert;const c=["script","style","svg"],u=["class","id"],f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function h(t,e={}){const n=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"==typeof t)):[],i=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"!=typeof t)):[],o=[...e.ignoreTags||[],...c],r=e.ignoreChildren||[],a=e.stripEmptyAttributes||u,s=/(&|")/g,h=t=>"&"===t?"&amp;":"&quot;";let l="",d=-1;const p=new Set,w=new Set;function b(){return" ".repeat(d)}function v(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase()}function m(t){const e=v(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t)}function g({name:t,value:e}){return a.includes(t)&&""===e.trim()}function y(t,{name:e,value:n}){return g({name:e,value:n})?"":"class"===e?` class="${function(t){return[...t.classList.values()].sort().join(" ")}(t)}"`:` ${e}="${n.replace(s,h)}"`}const x=(t,e)=>t.name.localeCompare(e.name);function j(t){let e="";const o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find((n=>{if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(v(t))&&n.attributes.includes(e.name)})))}}(t),(...t)=>!r(...t))).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(let n=0;n<o.length;n+=1)e+=`\n${b()} ${y(t,o[n])}`;e+=`\n${b()}`}return e}function E(t,e){var n;if("diff-container"!==v(t)&&!o.includes(v(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){let n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+=`${b()}${n}\n`)}(t,e);else{if(!(t instanceof Element))throw new Error(`Unknown node type: ${t}`);n=t,l+=`${b()}<${v(n)}${j(n)}>\n`}}function O(t){var e;o.includes(v(t))||t instanceof Element&&("diff-container"===v(e=t)||f.includes(v(e))||(l+=`${b()}</${v(e)}>\n`))}let S;if("string"==typeof t)S=document.createElement("diff-container"),S.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error(`Cannot create diffable HTML from: ${t}`);S=t,d=0}const k=document.createTreeWalker(S,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;k.currentNode;){const t=k.currentNode;if(E(t,k),m(t)&&k.firstChild())d+=1;else{O(t);if(!k.nextSibling()){d-=1;const t=k.parentNode();if(!t)break;p.add(t)}}}return l}const l=new URL(window.location.href).searchParams.get("wtr-session-id");function d(t){return null!=t&&"object"==typeof t}async function p(t,e,n){if("string"!=typeof l)throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let i;try{const t=await import("../../../../../../../../../__web-dev-server__web-socket.js");({sendMessageWaitForResponse:i}=t)}catch(t){throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{const o=await i({type:"wtr-command",sessionId:l,command:t,payload:e});if(!o.executed){let e;throw e=n?`Unknown command ${t}. Add the ${n} to your config.`:`Unknown command ${t}. Did you install a plugin to handle this command?`,new Error(e)}return o.result}catch(n){throw new Error(`Error while executing command ${t}${e?` with payload ${JSON.stringify(e)}`:""}: ${n.message}`)}}let w,b;const v=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm;async function m({cache:t=!0}={}){if(t&&b)return b;const e=await p("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if("string"!=typeof e?.content)throw new Error("Expected a result as string");const n=`${(t=>([...t.matchAll(v)].forEach((({groups:{content:e}})=>{t=t.replaceAll(e,encodeURIComponent(e))})),t))(e.content)}/* ${Math.random()} */`,i=await import(`data:text/javascript;charset=utf-8,${n}`);if(!i||!d(i.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return b=i.snapshots,b}function g(t){const e=[];let n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse()}function y(...t){switch(t.length){case 2:{const[e,n]=t;return{message:e,options:n}}case 1:{const[n]=t;return(e=n)&&null!==e&&"object"==typeof e&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:n}:{message:n}}default:return{}}var e}let x;async function j(t,e){return x||await async function(){if(window.axe)x=window.axe;else if("function"!=typeof require){if(await import("./axe.min-2720cd56.esm.js").then((function(t){return t.a})),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");x=window.axe}else x=require("axe-core/axe.min.js")}(),new Promise(((n,i)=>{x.run(t,e,((t,e)=>{t?i(new Error(t)):n(e)}))}))}var E,O={};E={get exports(){return O},set exports(t){O=t}},function(t){E.exports=t}((function(t,e){var n=e.flag,i=function(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,(function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"))})),e):String(t)},o=function(t,o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==o||this.assert(!!r.attributes[t],"expected "+i(r)+" to have an attribute #{exp}","expected "+i(r)+" not to have an attribute #{exp}",t),void 0!==o&&this.assert(o===a,"expected "+i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",o,a),n(this,"object",a)},r=function(t){return 1===t.nodeType},a=function(t){return"[object NodeList]"===Object.prototype.toString.call(t)};e.elToString=i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",(function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some((function(e){return t.test(e)})),"expected "+i(e)+" to have class matching #{exp}","expected "+i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+i(e)+" to have class #{exp}","expected "+i(e)+" not to have class #{exp}",t)})),t.Assertion.addMethod("id",(function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+i(e)+" to have id #{exp}","expected "+i(e)+" not to have id #{exp}",t)})),t.Assertion.addMethod("html",(function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+i(e)+" not to have HTML #{exp}",t,o)})),t.Assertion.addChainableMethod("trimmed",null,(function(){n(this,"trim-text",!0)})),t.Assertion.addProperty("rendered",(function(){n(this,"rendered-text",!0)})),t.Assertion.addMethod("text",(function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,(function(t){return u?t[f].trim():t[f]})),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(s,(function(e){return(u?e[f].trim():e[f])===t}))})):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o)})),t.Assertion.addMethod("value",(function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+i(e)+" to have value #{exp}, but the value was #{act}","expected "+i(e)+" not to have value #{exp}",t,o)})),t.Assertion.overwriteProperty("exist",(function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+i(e)+" to not exist"):t.apply(this,arguments)}})),t.Assertion.overwriteProperty("empty",(function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("length",(function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+i(o)+" to have #{exp} children but it had #{act} children","expected "+i(o)+" to not have #{exp} children",e,s)}else t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.overwriteMethod("match",(function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,(function(t){return t.matches(e)})),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("contain",(function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+i(o)+" to contain #{exp}","expected "+i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+i(o)+" to contain "+i(e),"expected "+i(o)+" to not contain "+i(e)):t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.addMethod("descendant",(function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+i(e)+" to have descendant #{exp}","expected "+i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+i(e)+" to contain "+i(t),"expected "+i(e)+" to not contain "+i(t)),n(this,"object",o)})),t.Assertion.addMethod("descendants",(function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+i(e)+" to have descendants #{exp}","expected "+i(e)+" to not have descendants #{exp}",t),n(this,"object",o)})),t.Assertion.addProperty("displayed",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+i(t)+" to be displayed, but it was not","expected "+i(t)+" to not be displayed, but it was as "+e,e)})),t.Assertion.addProperty("visible",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+i(t)+" to not be visible, but it was",e)})),t.Assertion.addMethod("tagName",(function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+i(e)+" to have tagName "+t+", but it was "+o,"expected "+i(e)+" to not have tagName "+t+", but it was "+o,o)})),t.Assertion.addMethod("style",(function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r)})),t.Assertion.overwriteProperty("focus",(function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e)}})),t.Assertion.overwriteProperty("checked",(function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+i(t)+" to be checked","expected "+i(t)+" to not be checked")}}))}));var S=O;var k={};!function(t){!function(e){t.exports=e}((function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times"}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e)}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function(){return s(["expected %n to "+r+e+n].concat(o))},negative:function(){return s(["expected %n to not "+r+e].concat(o))}}}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,(function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative)}))}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative)}}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a)}function d(t,e,n){l(t,t,e,n)}e.addProperty(t.Assertion.prototype,"always",(function(){e.flag(this,"always",!0)})),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,(function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative)})),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r)}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1")}))}({get exports(){return k},set exports(t){k=t}});var A=k;function D(t){return new Promise((e=>{setTimeout(e,t)}))}function T(t,e){return new Promise((n=>{t.addEventListener(e,(function i(o){n(o),t.removeEventListener(e,i)}))}))}function M(t,e,n={}){const{interval:i=50,timeout:o=1e3}=n,{stack:r}=new Error;return new Promise(((n,a)=>{let s;setTimeout((()=>{clearTimeout(s);const t=new Error(e?`Timeout: ${e}`:`waitUntil timed out after ${o}ms`);t.stack=r,a(t)}),o),async function e(){try{await t()?n():s=setTimeout((()=>{e()}),i)}catch(t){a(t)}}()}))}a.use(((t,e)=>{t.Assertion.addProperty("lightDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0)})),t.Assertion.addProperty("shadowDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0)})),t.Assertion.addProperty("dom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0)}));const n=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase();let n=" ";return Array.prototype.slice.call(t.attributes).forEach((t=>{n+=`${t.name}="${t.value}" `})),n=n.slice(0,-1),`<${e}${n}>${t.innerHTML}</${e}>`}return t.outerHTML})(t),i=t=>t.innerHTML,o=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase(),n=new RegExp(e,"g");let i=t.shadowRoot.innerHTML;return i=i.replace(/style-scope/g,""),i=i.replace(n,""),i=i.replace(/(class=".*?)(\s)*"/g,'$1"'),i=i.replace(/ class="\w?"/g,""),i}return t.shadowRoot.innerHTML})(t),r=(e,n,i,...o)=>{const{message:r,options:a}=y(...o),s=new t.Assertion(h(e,a),r),c=h(n,a);i?s.not.equal(c,r):s.equal(c,r)},a=t=>function(a,...s){if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){let t;t=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(t,a,e.flag(this,"negate"),s[0])}else t.apply(this,[a,...s])};function s(e,n,...i){const o=window.__mocha_context__,r=window.__snapshot__,{message:a,options:s}=y(...i),{index:c}=o;o.index+=1;const u=g(o.runnable),f=h(e,s);if(r.update)r.set(u,c,f,"html");else{const e=r.get(u,c);if(e){const i=r.match(f,h(e.code,s));if(i&&n||!i&&!n)throw new t.AssertionError(a||`Received value does not match stored snapshot ${c}`,{actual:f,expected:e.code,showDiff:!0},t.util.flag(this,"ssfi"))}else r.set(u,c,f,"html")}}async function c(e,n,...i){const{message:o,options:r}=y(...i),a=g(window.__WTR_MOCHA_RUNNER__.test).join(" "),s=h(e,r),c=await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");return(await m(t))[t.name]}({name:a}),u=await async function(){return w||(w=await p("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),w}();if(c&&!u.updateSnapshots){if(n?c===s:c!==s)throw new t.AssertionError(o||`Snapshot ${a} does not match the saved snapshot on disk`,{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"))}else c!==s&&await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");if(void 0!==t.content&&"string"!=typeof t.content)throw new Error("You must provide a snapshot content");return(await m())[t.name]=t.content,p("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands")}({name:a,content:s})}function u(t,e,...n){if(window.__mocha_context__&&window.__snapshot__)return s.call(this,t,e,...n);if(window.__WTR_MOCHA_RUNNER__)return c.call(this,t,e,...n);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function f(n){const r=t.util.flag(this,"object");let a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n)}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal(t,e,...i){return r.call(this,n(t),e,!1,...i)},notEqual(t,e,...i){return r.call(this,n(t),e,!0,...i)},equalSnapshot(t,...e){return u.call(this,t,!1,...e)},notEqualSnapshot(t,...e){return u.call(this,t,!0,...e)}},t.assert.lightDom={equal(t,e,...n){return r.call(this,i(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,i(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,i(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,i(t),!0,...e)}},t.assert.shadowDom={equal(t,e,...n){return r.call(this,o(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,o(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,o(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,o(t),!0,...e)}}})),a.use(((t,e)=>{const{assert:n}=t;e.addMethod(t.Assertion.prototype,"accessible",(function(t){const n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;const e={};return t.forEach((t=>{e[t]={enabled:!1}})),e}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);let a=i.done?i.done:void 0;if(a||(a=()=>{}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach((t=>t.setAttribute("aria-hidden",!0)))}const s=j(n,r).then((t=>function(t,e,n){const{violations:i}=e;if(i.length&&t)return void n();if(!i.length&&!t)return void n();const o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach((t=>{o[o.length]=`Rule: ${t.id}`,o[o.length]=`Impact: ${t.impact}`,o[o.length]=`${t.help} (${t.helpUrl})`,t.nodes.forEach((t=>{o[o.length]="",t.target&&(o[o.length]=`Issue target: ${t.target}`),o[o.length]=`Context: ${t.html}`,t.failureSummary&&(o[o.length]=`${t.failureSummary}`)})),o[o.length]="---"})));const r=new Error(o.join("\n"));throw n(r),r}(e.flag(this,"negate"),t,a)));return this.then=s.then.bind(s),this})),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n)},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n)}})),a.use(S),a.use(A);const q=t=>"object"==typeof t&&Promise.resolve(t)===t;async function $(t){let e=!1,n=t&&t.updateComplete;return q(n)&&(await n,e=!0),n=!(!t||!t.componentOnReady)&&t.componentOnReady(),q(n)&&(await n,e=!0),e||await new Promise((t=>{requestAnimationFrame((()=>t()))})),window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush(),t}const P=[];function N(t=document.createElement("div")){return document.body.appendChild(t),P.push(t),t}function F(){P&&P.forEach((t=>{document.body.removeChild(t)})),P.length=0}function L(t){return i(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t}function C(t){return null!=(e=t)&&"function"==typeof e[Symbol.iterator]?[...t].every(L):L(t);var e}const R=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),I=({nodeType:t,textContent:e})=>{switch(t){case R.COMMENT_NODE:return!1;case R.TEXT_NODE:return e.trim();default:return!0}};async function _(t,e={}){const o=function(t,e={},o){const r=N(e.parentNode);if((e.render??n)(e.scopedElements?o(t,e.scopedElements):t,r),i(t))return r.firstElementChild;const[a]=Array.from(r.childNodes).filter(I);return a}(t,e,e.scopedElements?await import("./scopedElementsWrapper-4c29be11.esm.js").then((t=>t.getScopedElementsTemplate)):void 0);if(await $(o),e.scopedElements){const[t]=Array.from(o.shadowRoot.childNodes).filter(I);return await $(t),t}return o}async function U(n,i={}){if(i.scopedElements)return _(t`${e(n)}`,i);const o=function(t,e={}){const n=N(e.parentNode);return n.innerHTML=t,n.children[0]}(n,i);return await $(o),o}async function W(t,e){if("string"==typeof t)return U(t,e);if(e?.render||C(t))return _(t,e);throw new Error("Invalid template provided - string or lit-html TemplateResult is supported")}try{"afterEach"in window&&afterEach((()=>{F()})),"teardown"in window&&teardown((()=>{F()}))}catch(t){}export{s as a,D as b,$ as e,W as f,T as o,M as w};