@telia-ace/alliance-ui 1.0.2 → 1.0.3-next.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 (291) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +190 -7
  3. package/{dist/check-circle-filled.15ce385b.js → chunks/check-circle-filled-5d4848cd.js} +1 -1
  4. package/{dist/check-circle-filled.15ce385b.js.map → chunks/check-circle-filled-5d4848cd.js.map} +1 -1
  5. package/{dist/chevron-down.b9f6ab41.js → chunks/chevron-down-f30b592b.js} +1 -1
  6. package/{dist/chevron-down.b9f6ab41.js.map → chunks/chevron-down-f30b592b.js.map} +1 -1
  7. package/chunks/chevron-right-bc7b760b.js +6 -0
  8. package/chunks/chevron-right-bc7b760b.js.map +1 -0
  9. package/{dist/close.463d2363.js → chunks/close-9af7d517.js} +1 -1
  10. package/{dist/close.463d2363.js.map → chunks/close-9af7d517.js.map} +1 -1
  11. package/{dist/error-filled.c558cf39.js → chunks/error-filled-e7de17f8.js} +1 -1
  12. package/{dist/error-filled.c558cf39.js.map → chunks/error-filled-e7de17f8.js.map} +1 -1
  13. package/{dist/getSvgContent.d049b7fe.js → chunks/getSvgContent-c9406894.js} +1 -1
  14. package/{dist/getSvgContent.d049b7fe.js.map → chunks/getSvgContent-c9406894.js.map} +1 -1
  15. package/{dist/index.022d1bd0.js → chunks/index-f01c7229.js} +1 -1
  16. package/{dist/index.022d1bd0.js.map → chunks/index-f01c7229.js.map} +1 -1
  17. package/{dist/stringCombiner.85170030.js → chunks/stringCombiner-e800a63c.js} +1 -1
  18. package/{dist/stringCombiner.85170030.js.map → chunks/stringCombiner-e800a63c.js.map} +1 -1
  19. package/{dist/voca/components/telia-button.js → chunks/telia-button-e3163f41.js} +4 -5
  20. package/chunks/telia-button-e3163f41.js.map +1 -0
  21. package/{dist/telia-button-text2.f3b33f1c.js → chunks/telia-button-text2-9b6f9582.js} +4 -4
  22. package/{dist/telia-button-text2.f3b33f1c.js.map → chunks/telia-button-text2-9b6f9582.js.map} +1 -1
  23. package/{dist/telia-card-frame2.917aff8c.js → chunks/telia-card-frame2-5cbd8163.js} +3 -3
  24. package/{dist/telia-card-frame2.917aff8c.js.map → chunks/telia-card-frame2-5cbd8163.js.map} +1 -1
  25. package/{dist/telia-divider.2f6c500d.js → chunks/telia-divider-0c959d6c.js} +3 -3
  26. package/{dist/telia-divider.2f6c500d.js.map → chunks/telia-divider-0c959d6c.js.map} +1 -1
  27. package/{dist/telia-field-assistive-text2.115200d5.js → chunks/telia-field-assistive-text2-015aa9ee.js} +3 -3
  28. package/{dist/telia-field-assistive-text2.115200d5.js.map → chunks/telia-field-assistive-text2-015aa9ee.js.map} +1 -1
  29. package/{dist/telia-field-error2.8b77d421.js → chunks/telia-field-error2-803797ff.js} +5 -5
  30. package/{dist/telia-field-error2.8b77d421.js.map → chunks/telia-field-error2-803797ff.js.map} +1 -1
  31. package/{dist/telia-field-valid2.225eba1d.js → chunks/telia-field-valid2-708bda98.js} +5 -5
  32. package/{dist/telia-field-valid2.225eba1d.js.map → chunks/telia-field-valid2-708bda98.js.map} +1 -1
  33. package/{dist/telia-heading2.dd45b060.js → chunks/telia-heading2-f80c3d8f.js} +3 -3
  34. package/{dist/telia-heading2.dd45b060.js.map → chunks/telia-heading2-f80c3d8f.js.map} +1 -1
  35. package/{dist/telia-icon2.5d22f194.js → chunks/telia-icon2-3b2c189b.js} +4 -4
  36. package/{dist/telia-icon2.5d22f194.js.map → chunks/telia-icon2-3b2c189b.js.map} +1 -1
  37. package/{dist/telia-label2.94b013ed.js → chunks/telia-label2-36554635.js} +3 -3
  38. package/{dist/telia-label2.94b013ed.js.map → chunks/telia-label2-36554635.js.map} +1 -1
  39. package/{dist/telia-link2.6944ea99.js → chunks/telia-link2-24d1bee8.js} +4 -4
  40. package/{dist/telia-link2.6944ea99.js.map → chunks/telia-link2-24d1bee8.js.map} +1 -1
  41. package/{dist/telia-navigation-button2.09d3cd74.js → chunks/telia-navigation-button2-5ccfa534.js} +4 -4
  42. package/{dist/telia-navigation-button2.09d3cd74.js.map → chunks/telia-navigation-button2-5ccfa534.js.map} +1 -1
  43. package/{dist/telia-style-link2.2157e4d2.js → chunks/telia-style-link2-9bd055d6.js} +3 -3
  44. package/{dist/telia-style-link2.2157e4d2.js.map → chunks/telia-style-link2-9bd055d6.js.map} +1 -1
  45. package/{dist/telia-style-navigation-item2.0dd2d468.js → chunks/telia-style-navigation-item2-97a9e028.js} +3 -3
  46. package/{dist/telia-style-navigation-item2.0dd2d468.js.map → chunks/telia-style-navigation-item2-97a9e028.js.map} +1 -1
  47. package/{dist/telia-tab-header2.422e5861.js → chunks/telia-tab-header2-734add2f.js} +4 -4
  48. package/{dist/telia-tab-header2.422e5861.js.map → chunks/telia-tab-header2-734add2f.js.map} +1 -1
  49. package/{dist/telia-visually-hidden2.972955ad.js → chunks/telia-visually-hidden2-2107d70a.js} +3 -3
  50. package/{dist/telia-visually-hidden2.972955ad.js.map → chunks/telia-visually-hidden2-2107d70a.js.map} +1 -1
  51. package/{dist/telia-vst2.40d3cfa0.js → chunks/telia-vst2-db6a58b9.js} +2 -2
  52. package/{dist/telia-vst2.40d3cfa0.js.map → chunks/telia-vst2-db6a58b9.js.map} +1 -1
  53. package/{dist/uniqueId.1b972433.js → chunks/uniqueId-eb84c172.js} +1 -1
  54. package/{dist/uniqueId.1b972433.js.map → chunks/uniqueId-eb84c172.js.map} +1 -1
  55. package/{dist/variables.ea04dbc4.js → chunks/variables-825dd261.js} +1 -1
  56. package/{dist/variables.ea04dbc4.js.map → chunks/variables-825dd261.js.map} +1 -1
  57. package/{dist/components → components/alliance-object-list}/alliance-object-list-head.d.ts +1 -1
  58. package/{dist/components → components/alliance-object-list}/alliance-object-list-item.d.ts +0 -0
  59. package/{dist/components → components/alliance-object-list}/alliance-object-list-row.d.ts +1 -1
  60. package/{dist/components → components/alliance-object-list}/alliance-object-list.d.ts +1 -1
  61. package/{dist/components → components/alliance-object-list}/index.d.ts +0 -0
  62. package/components/alliance-paginator/alliance-paginator-button.d.ts +15 -0
  63. package/components/alliance-paginator/alliance-paginator.d.ts +17 -0
  64. package/components/alliance-paginator/get-pagination.d.ts +2 -0
  65. package/components/alliance-paginator/index.d.ts +2 -0
  66. package/components/index.d.ts +2 -0
  67. package/components/index.js +1051 -0
  68. package/components/index.js.map +1 -0
  69. package/package.json +18 -16
  70. package/{dist/voca → voca}/components/telia-accordion-item.d.ts +0 -0
  71. package/{dist/voca → voca}/components/telia-accordion-item.js +5 -5
  72. package/voca/components/telia-accordion-item.js.map +1 -0
  73. package/{dist/voca → voca}/components/telia-accordion.d.ts +0 -0
  74. package/{dist/voca → voca}/components/telia-accordion.js +3 -3
  75. package/voca/components/telia-accordion.js.map +1 -0
  76. package/{dist/voca → voca}/components/telia-badge.d.ts +0 -0
  77. package/{dist/voca → voca}/components/telia-badge.js +2 -2
  78. package/voca/components/telia-badge.js.map +1 -0
  79. package/{dist/voca → voca}/components/telia-button-text.d.ts +0 -0
  80. package/voca/components/telia-button-text.js +6 -0
  81. package/{dist/voca → voca}/components/telia-button-text.js.map +0 -0
  82. package/{dist/voca → voca}/components/telia-button.d.ts +0 -0
  83. package/voca/components/telia-button.js +6 -0
  84. package/voca/components/telia-button.js.map +1 -0
  85. package/{dist/voca → voca}/components/telia-card-frame-link.d.ts +0 -0
  86. package/{dist/voca → voca}/components/telia-card-frame-link.js +5 -5
  87. package/voca/components/telia-card-frame-link.js.map +1 -0
  88. package/{dist/voca → voca}/components/telia-card-frame.d.ts +0 -0
  89. package/voca/components/telia-card-frame.js +4 -0
  90. package/{dist/voca → voca}/components/telia-card-frame.js.map +0 -0
  91. package/{dist/voca → voca}/components/telia-checkbox.d.ts +0 -0
  92. package/{dist/voca → voca}/components/telia-checkbox.js +35 -25
  93. package/voca/components/telia-checkbox.js.map +1 -0
  94. package/{dist/voca → voca}/components/telia-chip-choice.d.ts +0 -0
  95. package/{dist/voca → voca}/components/telia-chip-choice.js +3 -3
  96. package/voca/components/telia-chip-choice.js.map +1 -0
  97. package/{dist/voca → voca}/components/telia-chip-filter.d.ts +0 -0
  98. package/{dist/voca → voca}/components/telia-chip-filter.js +5 -5
  99. package/voca/components/telia-chip-filter.js.map +1 -0
  100. package/{dist/voca → voca}/components/telia-col.d.ts +0 -0
  101. package/{dist/voca → voca}/components/telia-col.js +3 -3
  102. package/voca/components/telia-col.js.map +1 -0
  103. package/{dist/voca → voca}/components/telia-color-dot.d.ts +0 -0
  104. package/{dist/voca → voca}/components/telia-color-dot.js +2 -2
  105. package/voca/components/telia-color-dot.js.map +1 -0
  106. package/{dist/voca → voca}/components/telia-cta-link.d.ts +0 -0
  107. package/voca/components/telia-cta-link.js +56 -0
  108. package/voca/components/telia-cta-link.js.map +1 -0
  109. package/{dist/voca → voca}/components/telia-date-picker.d.ts +0 -0
  110. package/{dist/voca → voca}/components/telia-date-picker.js +13 -13
  111. package/voca/components/telia-date-picker.js.map +1 -0
  112. package/{dist/voca → voca}/components/telia-divider.d.ts +0 -0
  113. package/voca/components/telia-divider.js +4 -0
  114. package/{dist/voca → voca}/components/telia-divider.js.map +0 -0
  115. package/{dist/voca → voca}/components/telia-field-assistive-text.d.ts +0 -0
  116. package/voca/components/telia-field-assistive-text.js +4 -0
  117. package/{dist/voca → voca}/components/telia-field-assistive-text.js.map +0 -0
  118. package/{dist/voca → voca}/components/telia-field-error.d.ts +0 -0
  119. package/voca/components/telia-field-error.js +7 -0
  120. package/{dist/voca → voca}/components/telia-field-error.js.map +0 -0
  121. package/{dist/voca → voca}/components/telia-field-valid.d.ts +0 -0
  122. package/voca/components/telia-field-valid.js +7 -0
  123. package/{dist/voca → voca}/components/telia-field-valid.js.map +0 -0
  124. package/{dist/voca → voca}/components/telia-fieldset.d.ts +0 -0
  125. package/{dist/voca → voca}/components/telia-fieldset.js +2 -2
  126. package/voca/components/telia-fieldset.js.map +1 -0
  127. package/{dist/voca → voca}/components/telia-focus-trap.d.ts +0 -0
  128. package/{dist/voca → voca}/components/telia-focus-trap.js +2 -2
  129. package/voca/components/telia-focus-trap.js.map +1 -0
  130. package/{dist/voca → voca}/components/telia-form.d.ts +0 -0
  131. package/{dist/voca → voca}/components/telia-form.js +2 -2
  132. package/voca/components/telia-form.js.map +1 -0
  133. package/{dist/voca → voca}/components/telia-grid.d.ts +0 -0
  134. package/{dist/voca → voca}/components/telia-grid.js +2 -2
  135. package/voca/components/telia-grid.js.map +1 -0
  136. package/{dist/voca → voca}/components/telia-heading.d.ts +0 -0
  137. package/voca/components/telia-heading.js +4 -0
  138. package/{dist/voca → voca}/components/telia-heading.js.map +0 -0
  139. package/{dist/voca → voca}/components/telia-icon.d.ts +0 -0
  140. package/voca/components/telia-icon.js +5 -0
  141. package/{dist/voca → voca}/components/telia-icon.js.map +0 -0
  142. package/{dist/voca → voca}/components/telia-image.d.ts +0 -0
  143. package/{dist/voca → voca}/components/telia-image.js +2 -2
  144. package/voca/components/telia-image.js.map +1 -0
  145. package/{dist/voca → voca}/components/telia-label.d.ts +0 -0
  146. package/voca/components/telia-label.js +4 -0
  147. package/{dist/voca → voca}/components/telia-label.js.map +0 -0
  148. package/{dist/voca → voca}/components/telia-link-image.d.ts +0 -0
  149. package/{dist/voca → voca}/components/telia-link-image.js +5 -5
  150. package/voca/components/telia-link-image.js.map +1 -0
  151. package/{dist/voca → voca}/components/telia-link.d.ts +0 -0
  152. package/voca/components/telia-link.js +5 -0
  153. package/{dist/voca → voca}/components/telia-link.js.map +0 -0
  154. package/{dist/voca → voca}/components/telia-list.d.ts +0 -0
  155. package/{dist/voca → voca}/components/telia-list.js +2 -2
  156. package/voca/components/telia-list.js.map +1 -0
  157. package/{dist/voca → voca}/components/telia-logo.d.ts +0 -0
  158. package/{dist/voca → voca}/components/telia-logo.js +2 -2
  159. package/voca/components/telia-logo.js.map +1 -0
  160. package/{dist/voca → voca}/components/telia-navigation-button.d.ts +0 -0
  161. package/voca/components/telia-navigation-button.js +5 -0
  162. package/{dist/voca → voca}/components/telia-navigation-button.js.map +0 -0
  163. package/{dist/voca → voca}/components/telia-navigation-dropdown.d.ts +0 -0
  164. package/{dist/voca → voca}/components/telia-navigation-dropdown.js +6 -6
  165. package/voca/components/telia-navigation-dropdown.js.map +1 -0
  166. package/{dist/voca → voca}/components/telia-navigation-link.d.ts +0 -0
  167. package/{dist/voca → voca}/components/telia-navigation-link.js +3 -3
  168. package/voca/components/telia-navigation-link.js.map +1 -0
  169. package/{dist/voca → voca}/components/telia-notification.d.ts +0 -0
  170. package/{dist/voca → voca}/components/telia-notification.js +9 -9
  171. package/voca/components/telia-notification.js.map +1 -0
  172. package/{dist/voca → voca}/components/telia-overlay.d.ts +0 -0
  173. package/{dist/voca → voca}/components/telia-overlay.js +2 -2
  174. package/voca/components/telia-overlay.js.map +1 -0
  175. package/{dist/voca → voca}/components/telia-p.d.ts +0 -0
  176. package/{dist/voca → voca}/components/telia-p.js +2 -2
  177. package/voca/components/telia-p.js.map +1 -0
  178. package/{dist/voca → voca}/components/telia-pictogram.d.ts +0 -0
  179. package/{dist/voca → voca}/components/telia-pictogram.js +3 -3
  180. package/voca/components/telia-pictogram.js.map +1 -0
  181. package/{dist/voca → voca}/components/telia-radio-button.d.ts +0 -0
  182. package/voca/components/telia-radio-button.js +54 -0
  183. package/voca/components/telia-radio-button.js.map +1 -0
  184. package/{dist/voca → voca}/components/telia-row.d.ts +0 -0
  185. package/{dist/voca → voca}/components/telia-row.js +2 -2
  186. package/voca/components/telia-row.js.map +1 -0
  187. package/{dist/voca → voca}/components/telia-select.d.ts +0 -0
  188. package/{dist/voca → voca}/components/telia-select.js +10 -10
  189. package/voca/components/telia-select.js.map +1 -0
  190. package/{dist/voca → voca}/components/telia-skeleton.d.ts +0 -0
  191. package/{dist/voca → voca}/components/telia-skeleton.js +2 -2
  192. package/voca/components/telia-skeleton.js.map +1 -0
  193. package/{dist/voca → voca}/components/telia-status-badge.d.ts +0 -0
  194. package/{dist/voca → voca}/components/telia-status-badge.js +4 -4
  195. package/voca/components/telia-status-badge.js.map +1 -0
  196. package/{dist/voca → voca}/components/telia-style-link.d.ts +0 -0
  197. package/voca/components/telia-style-link.js +4 -0
  198. package/{dist/voca → voca}/components/telia-style-link.js.map +0 -0
  199. package/{dist/voca → voca}/components/telia-style-navigation-item.d.ts +0 -0
  200. package/voca/components/telia-style-navigation-item.js +4 -0
  201. package/{dist/voca → voca}/components/telia-style-navigation-item.js.map +0 -0
  202. package/{dist/voca → voca}/components/telia-tab-content.d.ts +0 -0
  203. package/{dist/voca → voca}/components/telia-tab-content.js +2 -2
  204. package/voca/components/telia-tab-content.js.map +1 -0
  205. package/{dist/voca → voca}/components/telia-tab-header.d.ts +0 -0
  206. package/voca/components/telia-tab-header.js +6 -0
  207. package/{dist/voca → voca}/components/telia-tab-header.js.map +0 -0
  208. package/{dist/voca → voca}/components/telia-tab.d.ts +0 -0
  209. package/{dist/voca → voca}/components/telia-tab.js +5 -5
  210. package/voca/components/telia-tab.js.map +1 -0
  211. package/{dist/voca → voca}/components/telia-text-input.d.ts +0 -0
  212. package/{dist/voca → voca}/components/telia-text-input.js +12 -12
  213. package/voca/components/telia-text-input.js.map +1 -0
  214. package/{dist/voca → voca}/components/telia-text-spacing.d.ts +0 -0
  215. package/{dist/voca → voca}/components/telia-text-spacing.js +2 -2
  216. package/voca/components/telia-text-spacing.js.map +1 -0
  217. package/{dist/voca → voca}/components/telia-textarea.d.ts +0 -0
  218. package/{dist/voca → voca}/components/telia-textarea.js +10 -10
  219. package/voca/components/telia-textarea.js.map +1 -0
  220. package/{dist/voca → voca}/components/telia-toggle.d.ts +0 -0
  221. package/{dist/voca → voca}/components/telia-toggle.js +3 -3
  222. package/voca/components/telia-toggle.js.map +1 -0
  223. package/{dist/voca → voca}/components/telia-visually-hidden.d.ts +0 -0
  224. package/voca/components/telia-visually-hidden.js +4 -0
  225. package/{dist/voca → voca}/components/telia-visually-hidden.js.map +0 -0
  226. package/voca/foundations/index.d.ts +4 -0
  227. package/voca/foundations/index.js +183 -0
  228. package/voca/foundations/index.js.map +1 -0
  229. package/{dist/voca → voca}/icons/index.d.ts +0 -0
  230. package/{dist/voca → voca}/icons/index.js +268 -267
  231. package/voca/icons/index.js.map +1 -0
  232. package/dist/components/index.js +0 -886
  233. package/dist/components/index.js.map +0 -1
  234. package/dist/voca/components/telia-accordion-item.js.map +0 -1
  235. package/dist/voca/components/telia-accordion.js.map +0 -1
  236. package/dist/voca/components/telia-badge.js.map +0 -1
  237. package/dist/voca/components/telia-button-text.js +0 -6
  238. package/dist/voca/components/telia-button.js.map +0 -1
  239. package/dist/voca/components/telia-card-frame-link.js.map +0 -1
  240. package/dist/voca/components/telia-card-frame.js +0 -4
  241. package/dist/voca/components/telia-checkbox.js.map +0 -1
  242. package/dist/voca/components/telia-chip-choice.js.map +0 -1
  243. package/dist/voca/components/telia-chip-filter.js.map +0 -1
  244. package/dist/voca/components/telia-col.js.map +0 -1
  245. package/dist/voca/components/telia-color-dot.js.map +0 -1
  246. package/dist/voca/components/telia-cta-link.js +0 -56
  247. package/dist/voca/components/telia-cta-link.js.map +0 -1
  248. package/dist/voca/components/telia-date-picker.js.map +0 -1
  249. package/dist/voca/components/telia-divider.js +0 -4
  250. package/dist/voca/components/telia-field-assistive-text.js +0 -4
  251. package/dist/voca/components/telia-field-error.js +0 -7
  252. package/dist/voca/components/telia-field-valid.js +0 -7
  253. package/dist/voca/components/telia-fieldset.js.map +0 -1
  254. package/dist/voca/components/telia-focus-trap.js.map +0 -1
  255. package/dist/voca/components/telia-form.js.map +0 -1
  256. package/dist/voca/components/telia-grid.js.map +0 -1
  257. package/dist/voca/components/telia-heading.js +0 -4
  258. package/dist/voca/components/telia-icon.js +0 -5
  259. package/dist/voca/components/telia-image.js.map +0 -1
  260. package/dist/voca/components/telia-label.js +0 -4
  261. package/dist/voca/components/telia-link-image.js.map +0 -1
  262. package/dist/voca/components/telia-link.js +0 -5
  263. package/dist/voca/components/telia-list.js.map +0 -1
  264. package/dist/voca/components/telia-logo.js.map +0 -1
  265. package/dist/voca/components/telia-navigation-button.js +0 -5
  266. package/dist/voca/components/telia-navigation-dropdown.js.map +0 -1
  267. package/dist/voca/components/telia-navigation-link.js.map +0 -1
  268. package/dist/voca/components/telia-notification.js.map +0 -1
  269. package/dist/voca/components/telia-overlay.js.map +0 -1
  270. package/dist/voca/components/telia-p.js.map +0 -1
  271. package/dist/voca/components/telia-pictogram.js.map +0 -1
  272. package/dist/voca/components/telia-radio-button.js +0 -46
  273. package/dist/voca/components/telia-radio-button.js.map +0 -1
  274. package/dist/voca/components/telia-row.js.map +0 -1
  275. package/dist/voca/components/telia-select.js.map +0 -1
  276. package/dist/voca/components/telia-skeleton.js.map +0 -1
  277. package/dist/voca/components/telia-status-badge.js.map +0 -1
  278. package/dist/voca/components/telia-style-link.js +0 -4
  279. package/dist/voca/components/telia-style-navigation-item.js +0 -4
  280. package/dist/voca/components/telia-tab-content.js.map +0 -1
  281. package/dist/voca/components/telia-tab-header.js +0 -6
  282. package/dist/voca/components/telia-tab.js.map +0 -1
  283. package/dist/voca/components/telia-text-input.js.map +0 -1
  284. package/dist/voca/components/telia-text-spacing.js.map +0 -1
  285. package/dist/voca/components/telia-textarea.js.map +0 -1
  286. package/dist/voca/components/telia-toggle.js.map +0 -1
  287. package/dist/voca/components/telia-visually-hidden.js +0 -4
  288. package/dist/voca/foundations/index.d.ts +0 -2
  289. package/dist/voca/foundations/index.js +0 -14
  290. package/dist/voca/foundations/index.js.map +0 -1
  291. package/dist/voca/icons/index.js.map +0 -1
@@ -1,886 +0,0 @@
1
- import "../telia-label2.94b013ed.js";
2
- import { s as St, m as lt, c as at, f as ht } from "../variables.ea04dbc4.js";
3
- import "../telia-divider.2f6c500d.js";
4
- import "../index.022d1bd0.js";
5
- import "../telia-vst2.40d3cfa0.js";
6
- /**
7
- * @license
8
- * Copyright 2019 Google LLC
9
- * SPDX-License-Identifier: BSD-3-Clause
10
- */
11
- const L = window, st = L.ShadowRoot && (L.ShadyCSS === void 0 || L.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, it = Symbol(), ct = /* @__PURE__ */ new WeakMap();
12
- class wt {
13
- constructor(t, e, s) {
14
- if (this._$cssResult$ = !0, s !== it)
15
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
16
- this.cssText = t, this.t = e;
17
- }
18
- get styleSheet() {
19
- let t = this.o;
20
- const e = this.t;
21
- if (st && t === void 0) {
22
- const s = e !== void 0 && e.length === 1;
23
- s && (t = ct.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && ct.set(e, t));
24
- }
25
- return t;
26
- }
27
- toString() {
28
- return this.cssText;
29
- }
30
- }
31
- const f = (n) => new wt(typeof n == "string" ? n : n + "", void 0, it), q = (n, ...t) => {
32
- const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
33
- if (o._$cssResult$ === !0)
34
- return o.cssText;
35
- if (typeof o == "number")
36
- return o;
37
- throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
38
- })(i) + n[r + 1], n[0]);
39
- return new wt(e, n, it);
40
- }, Lt = (n, t) => {
41
- st ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
42
- const s = document.createElement("style"), i = L.litNonce;
43
- i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
44
- });
45
- }, dt = st ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
46
- let e = "";
47
- for (const s of t.cssRules)
48
- e += s.cssText;
49
- return f(e);
50
- })(n) : n;
51
- /**
52
- * @license
53
- * Copyright 2017 Google LLC
54
- * SPDX-License-Identifier: BSD-3-Clause
55
- */
56
- var J;
57
- const D = window, ut = D.trustedTypes, Dt = ut ? ut.emptyScript : "", pt = D.reactiveElementPolyfillSupport, et = { toAttribute(n, t) {
58
- switch (t) {
59
- case Boolean:
60
- n = n ? Dt : null;
61
- break;
62
- case Object:
63
- case Array:
64
- n = n == null ? n : JSON.stringify(n);
65
- }
66
- return n;
67
- }, fromAttribute(n, t) {
68
- let e = n;
69
- switch (t) {
70
- case Boolean:
71
- e = n !== null;
72
- break;
73
- case Number:
74
- e = n === null ? null : Number(n);
75
- break;
76
- case Object:
77
- case Array:
78
- try {
79
- e = JSON.parse(n);
80
- } catch {
81
- e = null;
82
- }
83
- }
84
- return e;
85
- } }, Ct = (n, t) => t !== n && (t == t || n == n), F = { attribute: !0, type: String, converter: et, reflect: !1, hasChanged: Ct };
86
- class w extends HTMLElement {
87
- constructor() {
88
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
89
- }
90
- static addInitializer(t) {
91
- var e;
92
- (e = this.h) !== null && e !== void 0 || (this.h = []), this.h.push(t);
93
- }
94
- static get observedAttributes() {
95
- this.finalize();
96
- const t = [];
97
- return this.elementProperties.forEach((e, s) => {
98
- const i = this._$Ep(s, e);
99
- i !== void 0 && (this._$Ev.set(i, s), t.push(i));
100
- }), t;
101
- }
102
- static createProperty(t, e = F) {
103
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
104
- const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
105
- i !== void 0 && Object.defineProperty(this.prototype, t, i);
106
- }
107
- }
108
- static getPropertyDescriptor(t, e, s) {
109
- return { get() {
110
- return this[e];
111
- }, set(i) {
112
- const r = this[t];
113
- this[e] = i, this.requestUpdate(t, r, s);
114
- }, configurable: !0, enumerable: !0 };
115
- }
116
- static getPropertyOptions(t) {
117
- return this.elementProperties.get(t) || F;
118
- }
119
- static finalize() {
120
- if (this.hasOwnProperty("finalized"))
121
- return !1;
122
- this.finalized = !0;
123
- const t = Object.getPrototypeOf(this);
124
- if (t.finalize(), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
125
- const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
126
- for (const i of s)
127
- this.createProperty(i, e[i]);
128
- }
129
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
130
- }
131
- static finalizeStyles(t) {
132
- const e = [];
133
- if (Array.isArray(t)) {
134
- const s = new Set(t.flat(1 / 0).reverse());
135
- for (const i of s)
136
- e.unshift(dt(i));
137
- } else
138
- t !== void 0 && e.push(dt(t));
139
- return e;
140
- }
141
- static _$Ep(t, e) {
142
- const s = e.attribute;
143
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
144
- }
145
- u() {
146
- var t;
147
- this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
148
- }
149
- addController(t) {
150
- var e, s;
151
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) === null || s === void 0 || s.call(t));
152
- }
153
- removeController(t) {
154
- var e;
155
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
156
- }
157
- _$Eg() {
158
- this.constructor.elementProperties.forEach((t, e) => {
159
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
160
- });
161
- }
162
- createRenderRoot() {
163
- var t;
164
- const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
165
- return Lt(e, this.constructor.elementStyles), e;
166
- }
167
- connectedCallback() {
168
- var t;
169
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
170
- var s;
171
- return (s = e.hostConnected) === null || s === void 0 ? void 0 : s.call(e);
172
- });
173
- }
174
- enableUpdating(t) {
175
- }
176
- disconnectedCallback() {
177
- var t;
178
- (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
179
- var s;
180
- return (s = e.hostDisconnected) === null || s === void 0 ? void 0 : s.call(e);
181
- });
182
- }
183
- attributeChangedCallback(t, e, s) {
184
- this._$AK(t, s);
185
- }
186
- _$EO(t, e, s = F) {
187
- var i;
188
- const r = this.constructor._$Ep(t, s);
189
- if (r !== void 0 && s.reflect === !0) {
190
- const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : et).toAttribute(e, s.type);
191
- this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
192
- }
193
- }
194
- _$AK(t, e) {
195
- var s;
196
- const i = this.constructor, r = i._$Ev.get(t);
197
- if (r !== void 0 && this._$El !== r) {
198
- const o = i.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : et;
199
- this._$El = r, this[r] = c.fromAttribute(e, o.type), this._$El = null;
200
- }
201
- }
202
- requestUpdate(t, e, s) {
203
- let i = !0;
204
- t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || Ct)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
205
- }
206
- async _$Ej() {
207
- this.isUpdatePending = !0;
208
- try {
209
- await this._$E_;
210
- } catch (e) {
211
- Promise.reject(e);
212
- }
213
- const t = this.scheduleUpdate();
214
- return t != null && await t, !this.isUpdatePending;
215
- }
216
- scheduleUpdate() {
217
- return this.performUpdate();
218
- }
219
- performUpdate() {
220
- var t;
221
- if (!this.isUpdatePending)
222
- return;
223
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((i, r) => this[r] = i), this._$Ei = void 0);
224
- let e = !1;
225
- const s = this._$AL;
226
- try {
227
- e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((i) => {
228
- var r;
229
- return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
230
- }), this.update(s)) : this._$Ek();
231
- } catch (i) {
232
- throw e = !1, this._$Ek(), i;
233
- }
234
- e && this._$AE(s);
235
- }
236
- willUpdate(t) {
237
- }
238
- _$AE(t) {
239
- var e;
240
- (e = this._$ES) === null || e === void 0 || e.forEach((s) => {
241
- var i;
242
- return (i = s.hostUpdated) === null || i === void 0 ? void 0 : i.call(s);
243
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
244
- }
245
- _$Ek() {
246
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
247
- }
248
- get updateComplete() {
249
- return this.getUpdateComplete();
250
- }
251
- getUpdateComplete() {
252
- return this._$E_;
253
- }
254
- shouldUpdate(t) {
255
- return !0;
256
- }
257
- update(t) {
258
- this._$EC !== void 0 && (this._$EC.forEach((e, s) => this._$EO(s, this[s], e)), this._$EC = void 0), this._$Ek();
259
- }
260
- updated(t) {
261
- }
262
- firstUpdated(t) {
263
- }
264
- }
265
- w.finalized = !0, w.elementProperties = /* @__PURE__ */ new Map(), w.elementStyles = [], w.shadowRootOptions = { mode: "open" }, pt == null || pt({ ReactiveElement: w }), ((J = D.reactiveElementVersions) !== null && J !== void 0 ? J : D.reactiveElementVersions = []).push("1.4.1");
266
- /**
267
- * @license
268
- * Copyright 2017 Google LLC
269
- * SPDX-License-Identifier: BSD-3-Clause
270
- */
271
- var Q;
272
- const I = window, x = I.trustedTypes, $t = x ? x.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, y = `lit$${(Math.random() + "").slice(9)}$`, nt = "?" + y, It = `<${nt}>`, O = document, j = (n = "") => O.createComment(n), N = (n) => n === null || typeof n != "object" && typeof n != "function", Pt = Array.isArray, xt = (n) => Pt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, vt = /-->/g, _t = />/g, g = RegExp(`>|[
273
- \f\r](?:([^\\s"'>=/]+)([
274
- \f\r]*=[
275
- \f\r]*(?:[^
276
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ft = /'/g, At = /"/g, Ot = /^(?:script|style|textarea|title)$/i, zt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), C = zt(1), E = Symbol.for("lit-noChange"), v = Symbol.for("lit-nothing"), yt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129, null, !1), Ut = (n, t) => {
277
- const e = n.length - 1, s = [];
278
- let i, r = t === 2 ? "<svg>" : "", o = T;
279
- for (let a = 0; a < e; a++) {
280
- const l = n[a];
281
- let _, d, h = -1, u = 0;
282
- for (; u < l.length && (o.lastIndex = u, d = o.exec(l), d !== null); )
283
- u = o.lastIndex, o === T ? d[1] === "!--" ? o = vt : d[1] !== void 0 ? o = _t : d[2] !== void 0 ? (Ot.test(d[2]) && (i = RegExp("</" + d[2], "g")), o = g) : d[3] !== void 0 && (o = g) : o === g ? d[0] === ">" ? (o = i != null ? i : T, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, _ = d[1], o = d[3] === void 0 ? g : d[3] === '"' ? At : ft) : o === At || o === ft ? o = g : o === vt || o === _t ? o = T : (o = g, i = void 0);
284
- const p = o === g && n[a + 1].startsWith("/>") ? " " : "";
285
- r += o === T ? l + It : h >= 0 ? (s.push(_), l.slice(0, h) + "$lit$" + l.slice(h) + y + p) : l + y + (h === -2 ? (s.push(void 0), a) : p);
286
- }
287
- const c = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
288
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
289
- throw Error("invalid template strings array");
290
- return [$t !== void 0 ? $t.createHTML(c) : c, s];
291
- };
292
- class M {
293
- constructor({ strings: t, _$litType$: e }, s) {
294
- let i;
295
- this.parts = [];
296
- let r = 0, o = 0;
297
- const c = t.length - 1, a = this.parts, [l, _] = Ut(t, e);
298
- if (this.el = M.createElement(l, s), P.currentNode = this.el.content, e === 2) {
299
- const d = this.el.content, h = d.firstChild;
300
- h.remove(), d.append(...h.childNodes);
301
- }
302
- for (; (i = P.nextNode()) !== null && a.length < c; ) {
303
- if (i.nodeType === 1) {
304
- if (i.hasAttributes()) {
305
- const d = [];
306
- for (const h of i.getAttributeNames())
307
- if (h.endsWith("$lit$") || h.startsWith(y)) {
308
- const u = _[o++];
309
- if (d.push(h), u !== void 0) {
310
- const p = i.getAttribute(u.toLowerCase() + "$lit$").split(y), $ = /([.?@])?(.*)/.exec(u);
311
- a.push({ type: 1, index: r, name: $[2], strings: p, ctor: $[1] === "." ? Ht : $[1] === "?" ? jt : $[1] === "@" ? Nt : k });
312
- } else
313
- a.push({ type: 6, index: r });
314
- }
315
- for (const h of d)
316
- i.removeAttribute(h);
317
- }
318
- if (Ot.test(i.tagName)) {
319
- const d = i.textContent.split(y), h = d.length - 1;
320
- if (h > 0) {
321
- i.textContent = x ? x.emptyScript : "";
322
- for (let u = 0; u < h; u++)
323
- i.append(d[u], j()), P.nextNode(), a.push({ type: 2, index: ++r });
324
- i.append(d[h], j());
325
- }
326
- }
327
- } else if (i.nodeType === 8)
328
- if (i.data === nt)
329
- a.push({ type: 2, index: r });
330
- else {
331
- let d = -1;
332
- for (; (d = i.data.indexOf(y, d + 1)) !== -1; )
333
- a.push({ type: 7, index: r }), d += y.length - 1;
334
- }
335
- r++;
336
- }
337
- }
338
- static createElement(t, e) {
339
- const s = O.createElement("template");
340
- return s.innerHTML = t, s;
341
- }
342
- }
343
- function S(n, t, e = n, s) {
344
- var i, r, o, c;
345
- if (t === E)
346
- return t;
347
- let a = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
348
- const l = N(t) ? void 0 : t._$litDirective$;
349
- return (a == null ? void 0 : a.constructor) !== l && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), l === void 0 ? a = void 0 : (a = new l(n), a._$AT(n, e, s)), s !== void 0 ? ((o = (c = e)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[s] = a : e._$Cl = a), a !== void 0 && (t = S(n, a._$AS(n, t.values), a, s)), t;
350
- }
351
- class Tt {
352
- constructor(t, e) {
353
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
354
- }
355
- get parentNode() {
356
- return this._$AM.parentNode;
357
- }
358
- get _$AU() {
359
- return this._$AM._$AU;
360
- }
361
- v(t) {
362
- var e;
363
- const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : O).importNode(s, !0);
364
- P.currentNode = r;
365
- let o = P.nextNode(), c = 0, a = 0, l = i[0];
366
- for (; l !== void 0; ) {
367
- if (c === l.index) {
368
- let _;
369
- l.type === 2 ? _ = new U(o, o.nextSibling, this, t) : l.type === 1 ? _ = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (_ = new Mt(o, this, t)), this.u.push(_), l = i[++a];
370
- }
371
- c !== (l == null ? void 0 : l.index) && (o = P.nextNode(), c++);
372
- }
373
- return r;
374
- }
375
- p(t) {
376
- let e = 0;
377
- for (const s of this.u)
378
- s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
379
- }
380
- }
381
- class U {
382
- constructor(t, e, s, i) {
383
- var r;
384
- this.type = 2, this._$AH = v, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cm = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
385
- }
386
- get _$AU() {
387
- var t, e;
388
- return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
389
- }
390
- get parentNode() {
391
- let t = this._$AA.parentNode;
392
- const e = this._$AM;
393
- return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
394
- }
395
- get startNode() {
396
- return this._$AA;
397
- }
398
- get endNode() {
399
- return this._$AB;
400
- }
401
- _$AI(t, e = this) {
402
- t = S(this, t, e), N(t) ? t === v || t == null || t === "" ? (this._$AH !== v && this._$AR(), this._$AH = v) : t !== this._$AH && t !== E && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xt(t) ? this.k(t) : this.g(t);
403
- }
404
- O(t, e = this._$AB) {
405
- return this._$AA.parentNode.insertBefore(t, e);
406
- }
407
- T(t) {
408
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
409
- }
410
- g(t) {
411
- this._$AH !== v && N(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
412
- }
413
- $(t) {
414
- var e;
415
- const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = M.createElement(i.h, this.options)), i);
416
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
417
- this._$AH.p(s);
418
- else {
419
- const o = new Tt(r, this), c = o.v(this.options);
420
- o.p(s), this.T(c), this._$AH = o;
421
- }
422
- }
423
- _$AC(t) {
424
- let e = yt.get(t.strings);
425
- return e === void 0 && yt.set(t.strings, e = new M(t)), e;
426
- }
427
- k(t) {
428
- Pt(this._$AH) || (this._$AH = [], this._$AR());
429
- const e = this._$AH;
430
- let s, i = 0;
431
- for (const r of t)
432
- i === e.length ? e.push(s = new U(this.O(j()), this.O(j()), this, this.options)) : s = e[i], s._$AI(r), i++;
433
- i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
434
- }
435
- _$AR(t = this._$AA.nextSibling, e) {
436
- var s;
437
- for ((s = this._$AP) === null || s === void 0 || s.call(this, !1, !0, e); t && t !== this._$AB; ) {
438
- const i = t.nextSibling;
439
- t.remove(), t = i;
440
- }
441
- }
442
- setConnected(t) {
443
- var e;
444
- this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
445
- }
446
- }
447
- class k {
448
- constructor(t, e, s, i, r) {
449
- this.type = 1, this._$AH = v, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = v;
450
- }
451
- get tagName() {
452
- return this.element.tagName;
453
- }
454
- get _$AU() {
455
- return this._$AM._$AU;
456
- }
457
- _$AI(t, e = this, s, i) {
458
- const r = this.strings;
459
- let o = !1;
460
- if (r === void 0)
461
- t = S(this, t, e, 0), o = !N(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
462
- else {
463
- const c = t;
464
- let a, l;
465
- for (t = r[0], a = 0; a < r.length - 1; a++)
466
- l = S(this, c[s + a], e, a), l === E && (l = this._$AH[a]), o || (o = !N(l) || l !== this._$AH[a]), l === v ? t = v : t !== v && (t += (l != null ? l : "") + r[a + 1]), this._$AH[a] = l;
467
- }
468
- o && !i && this.j(t);
469
- }
470
- j(t) {
471
- t === v ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
472
- }
473
- }
474
- class Ht extends k {
475
- constructor() {
476
- super(...arguments), this.type = 3;
477
- }
478
- j(t) {
479
- this.element[this.name] = t === v ? void 0 : t;
480
- }
481
- }
482
- const Vt = x ? x.emptyScript : "";
483
- class jt extends k {
484
- constructor() {
485
- super(...arguments), this.type = 4;
486
- }
487
- j(t) {
488
- t && t !== v ? this.element.setAttribute(this.name, Vt) : this.element.removeAttribute(this.name);
489
- }
490
- }
491
- class Nt extends k {
492
- constructor(t, e, s, i, r) {
493
- super(t, e, s, i, r), this.type = 5;
494
- }
495
- _$AI(t, e = this) {
496
- var s;
497
- if ((t = (s = S(this, t, e, 0)) !== null && s !== void 0 ? s : v) === E)
498
- return;
499
- const i = this._$AH, r = t === v && i !== v || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== v && (i === v || r);
500
- r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
501
- }
502
- handleEvent(t) {
503
- var e, s;
504
- typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
505
- }
506
- }
507
- class Mt {
508
- constructor(t, e, s) {
509
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
510
- }
511
- get _$AU() {
512
- return this._$AM._$AU;
513
- }
514
- _$AI(t) {
515
- S(this, t);
516
- }
517
- }
518
- const Wt = { P: "$lit$", A: y, M: nt, C: 1, L: Ut, R: Tt, D: xt, V: S, I: U, H: k, N: jt, U: Nt, B: Ht, F: Mt }, mt = I.litHtmlPolyfillSupport;
519
- mt == null || mt(M, U), ((Q = I.litHtmlVersions) !== null && Q !== void 0 ? Q : I.litHtmlVersions = []).push("2.4.0");
520
- const qt = (n, t, e) => {
521
- var s, i;
522
- const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
523
- let o = r._$litPart$;
524
- if (o === void 0) {
525
- const c = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
526
- r._$litPart$ = o = new U(t.insertBefore(j(), c), c, void 0, e != null ? e : {});
527
- }
528
- return o._$AI(n), o;
529
- };
530
- /**
531
- * @license
532
- * Copyright 2017 Google LLC
533
- * SPDX-License-Identifier: BSD-3-Clause
534
- */
535
- var Y, G;
536
- class m extends w {
537
- constructor() {
538
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
539
- }
540
- createRenderRoot() {
541
- var t, e;
542
- const s = super.createRenderRoot();
543
- return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = s.firstChild), s;
544
- }
545
- update(t) {
546
- const e = this.render();
547
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = qt(e, this.renderRoot, this.renderOptions);
548
- }
549
- connectedCallback() {
550
- var t;
551
- super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
552
- }
553
- disconnectedCallback() {
554
- var t;
555
- super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
556
- }
557
- render() {
558
- return E;
559
- }
560
- }
561
- m.finalized = !0, m._$litElement$ = !0, (Y = globalThis.litElementHydrateSupport) === null || Y === void 0 || Y.call(globalThis, { LitElement: m });
562
- const gt = globalThis.litElementPolyfillSupport;
563
- gt == null || gt({ LitElement: m });
564
- ((G = globalThis.litElementVersions) !== null && G !== void 0 ? G : globalThis.litElementVersions = []).push("3.2.2");
565
- /**
566
- * @license
567
- * Copyright 2017 Google LLC
568
- * SPDX-License-Identifier: BSD-3-Clause
569
- */
570
- const K = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
571
- const { kind: i, elements: r } = s;
572
- return { kind: i, elements: r, finisher(o) {
573
- customElements.define(e, o);
574
- } };
575
- })(n, t);
576
- /**
577
- * @license
578
- * Copyright 2017 Google LLC
579
- * SPDX-License-Identifier: BSD-3-Clause
580
- */
581
- const Kt = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
582
- e.createProperty(t.key, n);
583
- } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
584
- typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
585
- }, finisher(e) {
586
- e.createProperty(t.key, n);
587
- } };
588
- function B(n) {
589
- return (t, e) => e !== void 0 ? ((s, i, r) => {
590
- i.constructor.createProperty(r, s);
591
- })(n, t, e) : Kt(n, t);
592
- }
593
- /**
594
- * @license
595
- * Copyright 2021 Google LLC
596
- * SPDX-License-Identifier: BSD-3-Clause
597
- */
598
- var X;
599
- ((X = window.HTMLSlotElement) === null || X === void 0 ? void 0 : X.prototype.assignedElements) != null;
600
- /**
601
- * @license
602
- * Copyright 2017 Google LLC
603
- * SPDX-License-Identifier: BSD-3-Clause
604
- */
605
- const Zt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Jt = (n) => (...t) => ({ _$litDirective$: n, values: t });
606
- class Ft {
607
- constructor(t) {
608
- }
609
- get _$AU() {
610
- return this._$AM._$AU;
611
- }
612
- _$AT(t, e, s) {
613
- this._$Ct = t, this._$AM = e, this._$Ci = s;
614
- }
615
- _$AS(t, e) {
616
- return this.update(t, e);
617
- }
618
- update(t, e) {
619
- return this.render(...e);
620
- }
621
- }
622
- /**
623
- * @license
624
- * Copyright 2020 Google LLC
625
- * SPDX-License-Identifier: BSD-3-Clause
626
- */
627
- const { I: Qt } = Wt, bt = () => document.createComment(""), H = (n, t, e) => {
628
- var s;
629
- const i = n._$AA.parentNode, r = t === void 0 ? n._$AB : t._$AA;
630
- if (e === void 0) {
631
- const o = i.insertBefore(bt(), r), c = i.insertBefore(bt(), r);
632
- e = new Qt(o, c, n, n.options);
633
- } else {
634
- const o = e._$AB.nextSibling, c = e._$AM, a = c !== n;
635
- if (a) {
636
- let l;
637
- (s = e._$AQ) === null || s === void 0 || s.call(e, n), e._$AM = n, e._$AP !== void 0 && (l = n._$AU) !== c._$AU && e._$AP(l);
638
- }
639
- if (o !== r || a) {
640
- let l = e._$AA;
641
- for (; l !== o; ) {
642
- const _ = l.nextSibling;
643
- i.insertBefore(l, r), l = _;
644
- }
645
- }
646
- }
647
- return e;
648
- }, b = (n, t, e = n) => (n._$AI(t, e), n), Yt = {}, Gt = (n, t = Yt) => n._$AH = t, Xt = (n) => n._$AH, tt = (n) => {
649
- var t;
650
- (t = n._$AP) === null || t === void 0 || t.call(n, !1, !0);
651
- let e = n._$AA;
652
- const s = n._$AB.nextSibling;
653
- for (; e !== s; ) {
654
- const i = e.nextSibling;
655
- e.remove(), e = i;
656
- }
657
- };
658
- /**
659
- * @license
660
- * Copyright 2017 Google LLC
661
- * SPDX-License-Identifier: BSD-3-Clause
662
- */
663
- const Et = (n, t, e) => {
664
- const s = /* @__PURE__ */ new Map();
665
- for (let i = t; i <= e; i++)
666
- s.set(n[i], i);
667
- return s;
668
- }, te = Jt(class extends Ft {
669
- constructor(n) {
670
- if (super(n), n.type !== Zt.CHILD)
671
- throw Error("repeat() can only be used in text expressions");
672
- }
673
- ht(n, t, e) {
674
- let s;
675
- e === void 0 ? e = t : t !== void 0 && (s = t);
676
- const i = [], r = [];
677
- let o = 0;
678
- for (const c of n)
679
- i[o] = s ? s(c, o) : o, r[o] = e(c, o), o++;
680
- return { values: r, keys: i };
681
- }
682
- render(n, t, e) {
683
- return this.ht(n, t, e).values;
684
- }
685
- update(n, [t, e, s]) {
686
- var i;
687
- const r = Xt(n), { values: o, keys: c } = this.ht(t, e, s);
688
- if (!Array.isArray(r))
689
- return this.ut = c, o;
690
- const a = (i = this.ut) !== null && i !== void 0 ? i : this.ut = [], l = [];
691
- let _, d, h = 0, u = r.length - 1, p = 0, $ = o.length - 1;
692
- for (; h <= u && p <= $; )
693
- if (r[h] === null)
694
- h++;
695
- else if (r[u] === null)
696
- u--;
697
- else if (a[h] === c[p])
698
- l[p] = b(r[h], o[p]), h++, p++;
699
- else if (a[u] === c[$])
700
- l[$] = b(r[u], o[$]), u--, $--;
701
- else if (a[h] === c[$])
702
- l[$] = b(r[h], o[$]), H(n, l[$ + 1], r[h]), h++, $--;
703
- else if (a[u] === c[p])
704
- l[p] = b(r[u], o[p]), H(n, r[h], r[u]), u--, p++;
705
- else if (_ === void 0 && (_ = Et(c, p, $), d = Et(a, h, u)), _.has(a[h]))
706
- if (_.has(a[u])) {
707
- const A = d.get(c[p]), Z = A !== void 0 ? r[A] : null;
708
- if (Z === null) {
709
- const ot = H(n, r[h]);
710
- b(ot, o[p]), l[p] = ot;
711
- } else
712
- l[p] = b(Z, o[p]), H(n, r[h], Z), r[A] = null;
713
- p++;
714
- } else
715
- tt(r[u]), u--;
716
- else
717
- tt(r[h]), h++;
718
- for (; p <= $; ) {
719
- const A = H(n, l[$ + 1]);
720
- b(A, o[p]), l[p++] = A;
721
- }
722
- for (; h <= u; ) {
723
- const A = r[h++];
724
- A !== null && tt(A);
725
- }
726
- return this.ut = c, Gt(n, l), E;
727
- }
728
- });
729
- var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, Rt = (n, t, e, s) => {
730
- for (var i = s > 1 ? void 0 : s ? se(t, e) : t, r = n.length - 1, o; r >= 0; r--)
731
- (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
732
- return s && i && ee(t, e, i), i;
733
- };
734
- let z = class extends m {
735
- constructor() {
736
- super(...arguments), this.columns = [];
737
- }
738
- render() {
739
- return C`
740
- ${this.columns.length ? C`
741
- <alliance-object-list-row>
742
- ${te(
743
- this.columns,
744
- (n) => C` <alliance-object-list-head label=${n.title} /> `
745
- )}
746
- </alliance-object-list-row>
747
- ` : null}
748
- <slot></slot>
749
- `;
750
- }
751
- };
752
- z.styles = q`
753
- :host {
754
- display: flex;
755
- flex-direction: column;
756
- }
757
- `;
758
- Rt([
759
- B({ type: Array })
760
- ], z.prototype, "columns", 2);
761
- z = Rt([
762
- K("alliance-object-list")
763
- ], z);
764
- var ie = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, rt = (n, t, e, s) => {
765
- for (var i = s > 1 ? void 0 : s ? ne(t, e) : t, r = n.length - 1, o; r >= 0; r--)
766
- (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
767
- return s && i && ie(t, e, i), i;
768
- };
769
- let R = class extends m {
770
- constructor() {
771
- super(...arguments), this.padded = !0, this.label = "";
772
- }
773
- render() {
774
- return C`
775
- <style>
776
- :host {
777
- padding: ${this.padded ? f(St.spacing24) : "inherit"};
778
- }
779
- </style>
780
- <telia-label>${this.label}</telia-label>
781
- `;
782
- }
783
- };
784
- R.styles = q`
785
- :host {
786
- flex: 1;
787
- }
788
- `;
789
- rt([
790
- B({ type: Boolean })
791
- ], R.prototype, "padded", 2);
792
- rt([
793
- B({ type: String })
794
- ], R.prototype, "label", 2);
795
- R = rt([
796
- K("alliance-object-list-head")
797
- ], R);
798
- const re = "calc(2.4rem * var(--voca-rem-multiplier))";
799
- var oe = Object.defineProperty, le = Object.getOwnPropertyDescriptor, kt = (n, t, e, s) => {
800
- for (var i = s > 1 ? void 0 : s ? le(t, e) : t, r = n.length - 1, o; r >= 0; r--)
801
- (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
802
- return s && i && oe(t, e, i), i;
803
- };
804
- let V = class extends m {
805
- constructor() {
806
- super(...arguments), this.padded = !0;
807
- }
808
- render() {
809
- return C`
810
- <style>
811
- :host {
812
- padding: ${this.padded ? f(re) : "inherit"};
813
- }
814
- </style>
815
- <slot></slot>
816
- `;
817
- }
818
- };
819
- V.styles = q`
820
- :host {
821
- flex: 1;
822
- display: flex;
823
- align-items: center;
824
- }
825
- `;
826
- kt([
827
- B({ type: Boolean })
828
- ], V.prototype, "padded", 2);
829
- V = kt([
830
- K("alliance-object-list-item")
831
- ], V);
832
- var ae = Object.defineProperty, he = Object.getOwnPropertyDescriptor, Bt = (n, t, e, s) => {
833
- for (var i = s > 1 ? void 0 : s ? he(t, e) : t, r = n.length - 1, o; r >= 0; r--)
834
- (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
835
- return s && i && ae(t, e, i), i;
836
- };
837
- let W = class extends m {
838
- constructor() {
839
- super(...arguments), this.clickable = !1;
840
- }
841
- render() {
842
- return C`
843
- <div
844
- tabindex="${this.clickable ? "0" : "-1"}"
845
- class="${"object-list-row"}${this.clickable ? " object-list-clickable" : ""}"
846
- >
847
- <slot></slot>
848
- </div>
849
- <telia-divider />
850
- `;
851
- }
852
- };
853
- W.styles = q`
854
- .object-list-row {
855
- display: flex;
856
- flex-direction: row;
857
- }
858
- .object-list-clickable {
859
- background-color: transparent;
860
- transition: background-color ${f(lt.duration150)}
861
- ${f(lt.easeIn)};
862
- cursor: pointer;
863
- }
864
-
865
- .object-list-clickable:hover,
866
- .object-list-clickable:focus-visible,
867
- .object-list-clickable:focus {
868
- background-color: ${f(at.gray200)};
869
- }
870
-
871
- .object-list-clickable:active {
872
- background-color: ${f(at.gray300)};
873
- }
874
-
875
- .object-list-clickable:focus-visible {
876
- outline: solid ${f(ht.focusBorderWidth)} ${f(ht.focusColor)};
877
- outline-offset: ${f(St.spacing4)};
878
- }
879
- `;
880
- Bt([
881
- B({ type: Boolean })
882
- ], W.prototype, "clickable", 2);
883
- W = Bt([
884
- K("alliance-object-list-row")
885
- ], W);
886
- //# sourceMappingURL=index.js.map