@designsystem-se/af 39.4.0-beta.darkmode.1 → 39.5.0

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 (1884) hide show
  1. package/components/digi-badge-notification.js +1 -1
  2. package/components/digi-badge-status.js +2 -2
  3. package/components/digi-bar-chart.js +11 -12
  4. package/components/digi-button.js +1 -1
  5. package/components/digi-calendar-datepicker.js +16 -16
  6. package/components/digi-calendar-week-view.js +59 -36
  7. package/components/digi-calendar.js +1 -1
  8. package/components/digi-chart-line.js +8 -8
  9. package/components/digi-code-block.js +1 -1
  10. package/components/digi-code-example.js +17 -17
  11. package/components/digi-code.js +2 -2
  12. package/components/digi-context-menu.js +8 -8
  13. package/components/digi-dialog.js +9 -9
  14. package/components/digi-expandable-accordion.js +4 -4
  15. package/components/digi-expandable-faq-item.js +7 -7
  16. package/components/digi-expandable-faq.js +27 -15
  17. package/components/digi-footer-card.js +2 -2
  18. package/components/digi-footer.js +6 -6
  19. package/components/digi-form-category-filter.js +7 -7
  20. package/components/digi-form-checkbox.js +1 -1
  21. package/components/digi-form-error-list.js +12 -25
  22. package/components/digi-form-fieldset.js +1 -1
  23. package/components/digi-form-file-upload.js +20 -20
  24. package/components/digi-form-filter.js +10 -10
  25. package/components/digi-form-input-search.js +11 -11
  26. package/components/digi-form-input.js +1 -1
  27. package/components/digi-form-label.js +1 -1
  28. package/components/digi-form-radiobutton.js +1 -1
  29. package/components/digi-form-radiogroup.js +7 -7
  30. package/components/digi-form-receipt.js +5 -5
  31. package/components/digi-form-select-filter.js +20 -20
  32. package/components/digi-form-select.js +1 -1
  33. package/components/digi-form-textarea.js +9 -9
  34. package/components/digi-form-validation-message.js +1 -1
  35. package/components/digi-header-avatar.js +5 -5
  36. package/components/digi-header-navigation-item.js +2 -2
  37. package/components/digi-header-navigation.js +10 -10
  38. package/components/digi-header-notification.js +3 -3
  39. package/components/digi-header.js +10 -10
  40. package/components/digi-icon-accessibility-deaf.js +3 -3
  41. package/components/digi-icon-accessibility-universal.js +3 -3
  42. package/components/digi-icon-apple.js +3 -3
  43. package/components/digi-icon-archive-outline.js +3 -3
  44. package/components/digi-icon-archive.js +3 -3
  45. package/components/digi-icon-arrow-back.js +3 -3
  46. package/components/digi-icon-arrow-down.js +3 -3
  47. package/components/digi-icon-arrow-left.js +3 -3
  48. package/components/digi-icon-arrow-right.js +1 -1
  49. package/components/digi-icon-arrow-sign-in.js +3 -3
  50. package/components/digi-icon-arrow-sign-out.js +3 -3
  51. package/components/digi-icon-arrow-up.js +3 -3
  52. package/components/digi-icon-at.js +3 -3
  53. package/components/digi-icon-bars.js +1 -1
  54. package/components/digi-icon-bell-filled.js +3 -3
  55. package/components/digi-icon-bell.js +3 -3
  56. package/components/digi-icon-book.js +3 -3
  57. package/components/digi-icon-bookmark-outline.js +3 -3
  58. package/components/digi-icon-bookmark-solid.js +3 -3
  59. package/components/digi-icon-bubble-ellipsis.js +3 -3
  60. package/components/digi-icon-bubble.js +3 -3
  61. package/components/digi-icon-building-outline.js +3 -3
  62. package/components/digi-icon-building-solid.js +3 -3
  63. package/components/digi-icon-bullseye.js +3 -3
  64. package/components/digi-icon-calculator-solid.js +3 -3
  65. package/components/digi-icon-calendar-alt-alert.js +3 -3
  66. package/components/digi-icon-calendar-alt.js +1 -1
  67. package/components/digi-icon-calendar.js +3 -3
  68. package/components/digi-icon-caret-circle-right.js +3 -3
  69. package/components/digi-icon-caret-down.js +1 -1
  70. package/components/digi-icon-caret-left.js +3 -3
  71. package/components/digi-icon-caret-right.js +3 -3
  72. package/components/digi-icon-caret-up.js +1 -1
  73. package/components/digi-icon-chart.js +1 -1
  74. package/components/digi-icon-chat.js +3 -3
  75. package/components/digi-icon-check-circle-reg-alt.js +3 -3
  76. package/components/digi-icon-check-circle-solid.js +1 -1
  77. package/components/digi-icon-check.js +1 -1
  78. package/components/digi-icon-checklist.js +3 -3
  79. package/components/digi-icon-chevron-down.js +1 -1
  80. package/components/digi-icon-chevron-left.js +1 -1
  81. package/components/digi-icon-chevron-right.js +1 -1
  82. package/components/digi-icon-chevron-up.js +3 -3
  83. package/components/digi-icon-clock.js +3 -3
  84. package/components/digi-icon-communication-play-solid.js +3 -3
  85. package/components/digi-icon-compress-alt.js +3 -3
  86. package/components/digi-icon-comunication-case.js +3 -3
  87. package/components/digi-icon-comunication-flag.js +3 -3
  88. package/components/digi-icon-comunication-graduate.js +3 -3
  89. package/components/digi-icon-comunication-play.js +3 -3
  90. package/components/digi-icon-cooperation.js +3 -3
  91. package/components/digi-icon-copy.js +1 -1
  92. package/components/digi-icon-danger-outline.js +3 -3
  93. package/components/digi-icon-download.js +3 -3
  94. package/components/digi-icon-dxa.js +3 -3
  95. package/components/digi-icon-edit.js +3 -3
  96. package/components/digi-icon-ellipsis.js +3 -3
  97. package/components/digi-icon-envelope-filled.js +3 -3
  98. package/components/digi-icon-envelope.js +3 -3
  99. package/components/digi-icon-exclamation-circle-filled.js +3 -3
  100. package/components/digi-icon-exclamation-triangle-filled.js +3 -3
  101. package/components/digi-icon-exclamation-triangle-warning.js +3 -3
  102. package/components/digi-icon-exclamation-triangle.js +1 -46
  103. package/components/digi-icon-expand-alt.js +3 -3
  104. package/components/digi-icon-external-link-alt.js +1 -1
  105. package/components/digi-icon-eye-slash.js +3 -3
  106. package/components/digi-icon-eye.js +3 -3
  107. package/components/digi-icon-facebook-square.js +3 -3
  108. package/components/digi-icon-file-add.js +2 -2
  109. package/components/digi-icon-file-document.js +3 -3
  110. package/components/digi-icon-file-excel.js +3 -3
  111. package/components/digi-icon-file-export.js +2 -2
  112. package/components/digi-icon-file-governing.js +3 -3
  113. package/components/digi-icon-file-pdf.js +3 -3
  114. package/components/digi-icon-file-powerpoint.js +3 -3
  115. package/components/digi-icon-file-remove.js +2 -2
  116. package/components/digi-icon-file-word.js +3 -3
  117. package/components/digi-icon-film.js +3 -3
  118. package/components/digi-icon-filter.js +3 -3
  119. package/components/digi-icon-folder-add.js +2 -2
  120. package/components/digi-icon-folder-directory.js +2 -2
  121. package/components/digi-icon-folder-open.js +2 -2
  122. package/components/digi-icon-folder.js +2 -2
  123. package/components/digi-icon-globe-filled.js +3 -3
  124. package/components/digi-icon-globe.js +3 -3
  125. package/components/digi-icon-headphones.js +3 -3
  126. package/components/digi-icon-heart-solid.js +3 -3
  127. package/components/digi-icon-heart.js +3 -3
  128. package/components/digi-icon-history.js +3 -3
  129. package/components/digi-icon-home.js +3 -3
  130. package/components/digi-icon-image.js +3 -3
  131. package/components/digi-icon-info-circle-solid.js +3 -3
  132. package/components/digi-icon-input-select-marker.js +1 -1
  133. package/components/digi-icon-instagram.js +3 -3
  134. package/components/digi-icon-job-suggestion.js +3 -3
  135. package/components/digi-icon-language-outline.js +3 -3
  136. package/components/digi-icon-language.js +3 -3
  137. package/components/digi-icon-laptop-phone.js +3 -3
  138. package/components/digi-icon-lattlast.js +3 -3
  139. package/components/digi-icon-licence-bus.js +3 -3
  140. package/components/digi-icon-licence-car.js +3 -3
  141. package/components/digi-icon-licence-motorcycle.js +3 -3
  142. package/components/digi-icon-licence-truck.js +3 -3
  143. package/components/digi-icon-lightbulb.js +3 -3
  144. package/components/digi-icon-linkedin-in.js +3 -3
  145. package/components/digi-icon-list-ul.js +1 -1
  146. package/components/digi-icon-lock.js +3 -3
  147. package/components/digi-icon-marker-filled.js +3 -3
  148. package/components/digi-icon-marker.js +3 -3
  149. package/components/digi-icon-media-course.js +3 -3
  150. package/components/digi-icon-media-podcast.js +3 -3
  151. package/components/digi-icon-microphone-off.js +3 -3
  152. package/components/digi-icon-microphone.js +3 -3
  153. package/components/digi-icon-minus.js +1 -1
  154. package/components/digi-icon-move.js +3 -3
  155. package/components/digi-icon-news.js +1 -1
  156. package/components/digi-icon-notification-error.js +1 -1
  157. package/components/digi-icon-notification-info.js +1 -1
  158. package/components/digi-icon-notification-succes.js +1 -1
  159. package/components/digi-icon-notification-warning.js +1 -1
  160. package/components/digi-icon-online-computervideo.js +1 -1
  161. package/components/digi-icon-online-interview.js +3 -3
  162. package/components/digi-icon-online-meeting.js +3 -3
  163. package/components/digi-icon-online-task.js +3 -3
  164. package/components/digi-icon-online-video.js +1 -1
  165. package/components/digi-icon-open-source.js +3 -3
  166. package/components/digi-icon-palette.js +3 -3
  167. package/components/digi-icon-paperclip.js +1 -1
  168. package/components/digi-icon-paste.js +2 -2
  169. package/components/digi-icon-pen.js +3 -3
  170. package/components/digi-icon-phone-hangup.js +3 -3
  171. package/components/digi-icon-phone.js +3 -3
  172. package/components/digi-icon-pinned-outline.js +3 -3
  173. package/components/digi-icon-pinned-solid.js +3 -3
  174. package/components/digi-icon-plus.js +1 -1
  175. package/components/digi-icon-pod.js +1 -1
  176. package/components/digi-icon-print.js +3 -3
  177. package/components/digi-icon-read.js +3 -3
  178. package/components/digi-icon-redo.js +3 -3
  179. package/components/digi-icon-scale.js +2 -2
  180. package/components/digi-icon-screensharing-off.js +3 -3
  181. package/components/digi-icon-screensharing.js +3 -3
  182. package/components/digi-icon-search.js +1 -1
  183. package/components/digi-icon-send-outline.js +3 -3
  184. package/components/digi-icon-send-solid.js +3 -3
  185. package/components/digi-icon-settings.js +3 -3
  186. package/components/digi-icon-share-alt.js +3 -3
  187. package/components/digi-icon-share-chain.js +3 -3
  188. package/components/digi-icon-sign.js +3 -3
  189. package/components/digi-icon-sliders-h.js +3 -3
  190. package/components/digi-icon-sokkandidat.js +3 -3
  191. package/components/digi-icon-sort-down.js +3 -3
  192. package/components/digi-icon-sort-up.js +3 -3
  193. package/components/digi-icon-sort.js +3 -3
  194. package/components/digi-icon-spinner.js +1 -1
  195. package/components/digi-icon-star-reg.js +3 -3
  196. package/components/digi-icon-star.js +3 -3
  197. package/components/digi-icon-suitcase-outline.js +3 -3
  198. package/components/digi-icon-suitcase-solid.js +3 -3
  199. package/components/digi-icon-system-assistance.js +3 -3
  200. package/components/digi-icon-table-column.js +3 -3
  201. package/components/digi-icon-table-row.js +3 -3
  202. package/components/digi-icon-table.js +1 -1
  203. package/components/digi-icon-task-done.js +3 -3
  204. package/components/digi-icon-toggle-off.js +3 -3
  205. package/components/digi-icon-toggle-on.js +3 -3
  206. package/components/digi-icon-trash.js +1 -1
  207. package/components/digi-icon-twitter.js +3 -3
  208. package/components/digi-icon-tyck-till.js +3 -3
  209. package/components/digi-icon-unlock.js +3 -3
  210. package/components/digi-icon-update.js +3 -3
  211. package/components/digi-icon-upload.js +3 -3
  212. package/components/digi-icon-user-add.js +2 -2
  213. package/components/digi-icon-user-alt.js +3 -3
  214. package/components/digi-icon-user-edit.js +2 -2
  215. package/components/digi-icon-users-solid.js +3 -3
  216. package/components/digi-icon-validation-error.js +1 -1
  217. package/components/digi-icon-validation-success.js +1 -1
  218. package/components/digi-icon-validation-warning.js +1 -1
  219. package/components/digi-icon-videocamera-off.js +3 -3
  220. package/components/digi-icon-videocamera.js +3 -3
  221. package/components/digi-icon-volume.js +3 -3
  222. package/components/digi-icon-web-tv.js +3 -3
  223. package/components/digi-icon-webinar.js +1 -1
  224. package/components/digi-icon-wifi-signal0.js +3 -3
  225. package/components/digi-icon-wifi-signal1.js +3 -3
  226. package/components/digi-icon-wifi-signal2.js +3 -3
  227. package/components/digi-icon-wifi-signal3.js +3 -3
  228. package/components/digi-icon-window.js +3 -3
  229. package/components/digi-icon-x-button-outline.js +1 -1
  230. package/components/digi-icon-x-button.js +3 -3
  231. package/components/digi-icon-x.js +1 -1
  232. package/components/digi-icon-youtube.js +3 -3
  233. package/components/digi-info-card-multi-container.js +3 -3
  234. package/components/digi-info-card-multi.js +12 -12
  235. package/components/digi-info-card.js +6 -6
  236. package/components/digi-layout-block.js +1 -1
  237. package/components/digi-layout-columns.js +1 -1
  238. package/components/digi-layout-container.js +1 -1
  239. package/components/digi-link-button.js +4 -4
  240. package/components/digi-link-external.js +1 -1
  241. package/components/digi-link-internal.js +1 -1
  242. package/components/digi-link.js +1 -1
  243. package/components/digi-list.js +4 -4
  244. package/components/digi-loader-skeleton.js +4 -4
  245. package/components/digi-loader-spinner.js +1 -52
  246. package/components/digi-logo.js +2 -2
  247. package/components/digi-media-figure.js +2 -2
  248. package/components/digi-media-image.js +1 -1
  249. package/components/digi-media-svg.d.ts +11 -0
  250. package/components/digi-media-svg.js +802 -0
  251. package/components/digi-navigation-breadcrumbs.js +3 -3
  252. package/components/digi-navigation-pagination.js +13 -13
  253. package/components/digi-navigation-sidebar-button.js +1 -1
  254. package/components/digi-navigation-sidebar.js +8 -8
  255. package/components/digi-navigation-vertical-menu-item.js +10 -10
  256. package/components/digi-navigation-vertical-menu.js +2 -2
  257. package/components/digi-notification-alert.js +1 -1
  258. package/components/digi-notification-error-page.js +8 -8
  259. package/components/digi-progress-circle.js +11 -11
  260. package/components/digi-progress-indicator.js +8 -8
  261. package/components/digi-progress-list-item.js +10 -10
  262. package/components/digi-progress-list.js +3 -3
  263. package/components/digi-progressbar.js +3 -3
  264. package/components/digi-quote.js +4 -4
  265. package/components/digi-table.js +2 -2
  266. package/components/digi-tablist-panel.js +3 -3
  267. package/components/digi-tablist.js +10 -10
  268. package/components/digi-tag-media.js +1 -1
  269. package/components/digi-tag.js +4 -4
  270. package/components/digi-title-logo.js +4 -4
  271. package/components/digi-tools-feedback-banner.js +7 -7
  272. package/components/digi-tools-feedback-rating.js +8 -8
  273. package/components/digi-tools-feedback.js +6 -6
  274. package/components/digi-tools-theme-provider.js +6 -18
  275. package/components/digi-typography-heading-jumbo.js +2 -2
  276. package/components/digi-typography-meta.js +2 -2
  277. package/components/digi-typography-preamble.js +2 -2
  278. package/components/digi-typography-time.js +2 -2
  279. package/components/digi-typography.js +1 -1
  280. package/components/digi-util-breakpoint-observer.js +1 -1
  281. package/components/digi-util-detect-click-outside.js +2 -2
  282. package/components/digi-util-detect-focus-outside.js +2 -2
  283. package/components/digi-util-intersection-observer.js +1 -1
  284. package/components/digi-util-keydown-handler.js +1 -1
  285. package/components/digi-util-keyup-handler.js +2 -2
  286. package/components/digi-util-mutation-observer.js +2 -2
  287. package/components/digi-util-resize-observer.js +1 -1
  288. package/components/index.d.ts +2 -0
  289. package/components/index.js +3 -2
  290. package/components/p-B2EI1f4L.js +53 -0
  291. package/components/p-B36fBNpU.js +86 -0
  292. package/components/p-B3_NqXGM.js +48 -0
  293. package/components/p-B5ATcIsx.js +75 -0
  294. package/components/p-B6r6H6F1.js +48 -0
  295. package/components/p-B9UYscjl.js +48 -0
  296. package/components/p-BD4UGWHu.js +48 -0
  297. package/components/p-BIFDGB_M.js +125 -0
  298. package/components/p-BT9Do6XC.js +54 -0
  299. package/components/p-BThsC9IH.js +48 -0
  300. package/components/p-BVQZHTJY.js +48 -0
  301. package/components/p-BVxW1ZYl.js +141 -0
  302. package/components/p-BWa37pr6.js +38 -0
  303. package/components/p-BXaPOOfH.js +48 -0
  304. package/components/p-BZNtYk0r.js +48 -0
  305. package/components/p-BdkAbTb9.js +48 -0
  306. package/components/p-BmaScQ2k.js +72 -0
  307. package/components/p-BsssEw8d.js +81 -0
  308. package/components/p-Bt5oq5cL.js +15 -0
  309. package/components/p-Bul72ROf.js +48 -0
  310. package/components/p-BvvT1kPo.js +60 -0
  311. package/components/p-C209fK72.js +48 -0
  312. package/components/p-C20gV1vB.js +48 -0
  313. package/components/p-C4OUofPN.js +48 -0
  314. package/components/p-C85WTu3V.js +187 -0
  315. package/components/p-C9Xu0oM8.js +105 -0
  316. package/components/p-CAEKXbFS.js +48 -0
  317. package/components/p-CCo-vgnc.js +48 -0
  318. package/components/p-CDFZC2tI.js +48 -0
  319. package/components/p-CFvIQpHU.js +102 -0
  320. package/components/p-CGyCmc3V.js +48 -0
  321. package/components/p-CKkOUvIB.js +48 -0
  322. package/components/p-COHWSDFS.js +297 -0
  323. package/components/p-CY0fubAJ.js +48 -0
  324. package/components/p-Cc90Gv_0.js +48 -0
  325. package/components/p-Ce4qoGgu.js +60 -0
  326. package/components/p-CjZSvlFE.js +81 -0
  327. package/components/p-CnrswXTJ.js +152 -0
  328. package/components/p-Cs9lEhNQ.js +49 -0
  329. package/components/p-CzkxEIIL.js +95 -0
  330. package/components/p-D4yJX7Vy.js +48 -0
  331. package/components/p-D6LCrv8C.js +3032 -0
  332. package/components/p-DEniJ8oN.js +48 -0
  333. package/components/p-DLLEkDlG.js +200 -0
  334. package/components/p-DOZCE-s1.js +48 -0
  335. package/components/p-DOiOVxFv.js +48 -0
  336. package/components/p-DP-aVu6l.js +48 -0
  337. package/components/p-DSSKRj1T.js +48 -0
  338. package/components/p-DUbZ2eQI.js +171 -0
  339. package/components/p-DW3n3K6f.js +630 -0
  340. package/components/p-DZeolZgK.js +48 -0
  341. package/components/p-DcCpS-VQ.js +48 -0
  342. package/components/p-DemQeKh3.js +172 -0
  343. package/components/p-DmD6mpnz.js +48 -0
  344. package/components/p-DnJCFNm5.js +48 -0
  345. package/components/p-DpDyNuVC.js +7 -0
  346. package/components/p-MnNrQ_XH.js +55 -0
  347. package/components/p-QQCGWkrB.js +48 -0
  348. package/components/p-Um6DAQKg.js +87 -0
  349. package/components/p-Yrb8R-Km.js +48 -0
  350. package/components/p-bDekD2Ek.js +259 -0
  351. package/components/p-bP4AC_b6.js +48 -0
  352. package/components/p-gMNNKkdk.js +48 -0
  353. package/components/p-jYvNqdvL.js +48 -0
  354. package/components/p-o9jF3h9H.js +100 -0
  355. package/components/p-slRjy5hH.js +59 -0
  356. package/components/p-u6IFdthp.js +48 -0
  357. package/custom-elements.json +33 -4
  358. package/dist/cjs/applyStencilScope.util-Dvz01Lkf.js +17 -0
  359. package/dist/cjs/button-size.enum-DgyvMkwE.js +7 -0
  360. package/dist/cjs/button-type.enum-2UH0KkO-.js +8 -0
  361. package/dist/cjs/code-example-variation.enum-Cq-BioXW.js +27 -0
  362. package/dist/cjs/digi-arbetsformedlingen.cjs.js +2 -2
  363. package/dist/cjs/digi-badge-notification.cjs.entry.js +1 -1
  364. package/dist/cjs/digi-badge-status.cjs.entry.js +2 -2
  365. package/dist/cjs/digi-bar-chart.cjs.entry.js +4 -5
  366. package/dist/cjs/digi-button.cjs.entry.js +131 -0
  367. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2672 -0
  368. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +99 -75
  369. package/dist/cjs/digi-calendar_2.cjs.entry.js +490 -0
  370. package/dist/cjs/digi-chart-line.cjs.entry.js +3 -3
  371. package/dist/cjs/digi-code-block_3.cjs.entry.js +273 -0
  372. package/dist/cjs/digi-code-example.cjs.entry.js +10 -9
  373. package/dist/cjs/digi-code.cjs.entry.js +2 -2
  374. package/dist/cjs/digi-context-menu.cjs.entry.js +241 -0
  375. package/dist/cjs/digi-dialog.cjs.entry.js +28 -7
  376. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +2 -2
  377. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +126 -0
  378. package/dist/cjs/digi-expandable-faq.cjs.entry.js +20 -14
  379. package/dist/cjs/digi-footer-card.cjs.entry.js +30 -0
  380. package/dist/cjs/digi-footer.cjs.entry.js +80 -0
  381. package/dist/cjs/digi-form-category-filter.cjs.entry.js +152 -0
  382. package/dist/cjs/digi-form-checkbox.cjs.entry.js +141 -0
  383. package/dist/cjs/digi-form-error-list.cjs.entry.js +28 -20
  384. package/dist/cjs/digi-form-file-upload.cjs.entry.js +633 -0
  385. package/dist/cjs/digi-form-filter.cjs.entry.js +257 -0
  386. package/dist/cjs/digi-form-input-search.cjs.entry.js +11 -9
  387. package/dist/cjs/digi-form-input.cjs.entry.js +205 -0
  388. package/dist/cjs/digi-form-label_3.cjs.entry.js +147 -0
  389. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +3 -3
  390. package/dist/cjs/digi-form-receipt.cjs.entry.js +26 -5
  391. package/dist/cjs/digi-form-select-filter.cjs.entry.js +653 -0
  392. package/dist/cjs/digi-form-select_2.cjs.entry.js +201 -0
  393. package/dist/cjs/digi-form-textarea.cjs.entry.js +4 -4
  394. package/dist/cjs/digi-header-avatar.cjs.entry.js +98 -0
  395. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +23 -0
  396. package/dist/cjs/digi-header-navigation.cjs.entry.js +237 -0
  397. package/dist/cjs/digi-header-notification.cjs.entry.js +19 -0
  398. package/dist/cjs/digi-header.cjs.entry.js +116 -0
  399. package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +3 -3
  400. package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +28 -0
  401. package/dist/cjs/digi-icon-apple.cjs.entry.js +3 -3
  402. package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +3 -3
  403. package/dist/cjs/digi-icon-archive.cjs.entry.js +3 -3
  404. package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +3 -3
  405. package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +3 -3
  406. package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +3 -3
  407. package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +3 -3
  408. package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +3 -3
  409. package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +3 -3
  410. package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +3 -3
  411. package/dist/cjs/digi-icon-at.cjs.entry.js +3 -3
  412. package/dist/cjs/digi-icon-bars.cjs.entry.js +28 -0
  413. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +28 -0
  414. package/dist/cjs/digi-icon-bell.cjs.entry.js +3 -3
  415. package/dist/cjs/digi-icon-book.cjs.entry.js +3 -3
  416. package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +3 -3
  417. package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +3 -3
  418. package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +3 -3
  419. package/dist/cjs/digi-icon-bubble.cjs.entry.js +3 -3
  420. package/dist/cjs/digi-icon-building-outline.cjs.entry.js +3 -3
  421. package/dist/cjs/digi-icon-building-solid.cjs.entry.js +3 -3
  422. package/dist/cjs/digi-icon-bullseye.cjs.entry.js +3 -3
  423. package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +3 -3
  424. package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +3 -3
  425. package/dist/cjs/digi-icon-calendar.cjs.entry.js +3 -3
  426. package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +3 -3
  427. package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +5 -5
  428. package/dist/cjs/digi-icon-caret-left.cjs.entry.js +3 -3
  429. package/dist/cjs/digi-icon-caret-right.cjs.entry.js +3 -3
  430. package/dist/cjs/digi-icon-chart_2.cjs.entry.js +5 -5
  431. package/dist/cjs/digi-icon-chat.cjs.entry.js +3 -3
  432. package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +3 -3
  433. package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +97 -0
  434. package/dist/cjs/digi-icon-check.cjs.entry.js +28 -0
  435. package/dist/cjs/digi-icon-checklist.cjs.entry.js +3 -3
  436. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +28 -0
  437. package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +51 -0
  438. package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +3 -3
  439. package/dist/cjs/digi-icon-clock.cjs.entry.js +3 -3
  440. package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +3 -3
  441. package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +3 -3
  442. package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +3 -3
  443. package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +3 -3
  444. package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +3 -3
  445. package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +3 -3
  446. package/dist/cjs/digi-icon-cooperation.cjs.entry.js +3 -3
  447. package/dist/cjs/digi-icon-copy.cjs.entry.js +28 -0
  448. package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +3 -3
  449. package/dist/cjs/digi-icon-download.cjs.entry.js +3 -3
  450. package/dist/cjs/digi-icon-dxa.cjs.entry.js +3 -3
  451. package/dist/cjs/digi-icon-edit.cjs.entry.js +3 -3
  452. package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +3 -3
  453. package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +3 -3
  454. package/dist/cjs/digi-icon-envelope.cjs.entry.js +28 -0
  455. package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +3 -3
  456. package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +3 -3
  457. package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +3 -3
  458. package/dist/cjs/digi-icon-exclamation-triangle_4.cjs.entry.js +814 -0
  459. package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +3 -3
  460. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +52 -0
  461. package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +3 -3
  462. package/dist/cjs/digi-icon-eye.cjs.entry.js +3 -3
  463. package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +3 -3
  464. package/dist/cjs/digi-icon-file-add.cjs.entry.js +2 -2
  465. package/dist/cjs/digi-icon-file-document.cjs.entry.js +3 -3
  466. package/dist/cjs/digi-icon-file-excel.cjs.entry.js +3 -3
  467. package/dist/cjs/digi-icon-file-export.cjs.entry.js +2 -2
  468. package/dist/cjs/digi-icon-file-governing.cjs.entry.js +3 -3
  469. package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +3 -3
  470. package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +3 -3
  471. package/dist/cjs/digi-icon-file-remove.cjs.entry.js +2 -2
  472. package/dist/cjs/digi-icon-file-word.cjs.entry.js +3 -3
  473. package/dist/cjs/digi-icon-film.cjs.entry.js +3 -3
  474. package/dist/cjs/digi-icon-filter.cjs.entry.js +3 -3
  475. package/dist/cjs/digi-icon-folder-add.cjs.entry.js +2 -2
  476. package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +2 -2
  477. package/dist/cjs/digi-icon-folder-open.cjs.entry.js +2 -2
  478. package/dist/cjs/digi-icon-folder.cjs.entry.js +2 -2
  479. package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +3 -3
  480. package/dist/cjs/digi-icon-globe.cjs.entry.js +28 -0
  481. package/dist/cjs/digi-icon-headphones.cjs.entry.js +3 -3
  482. package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +3 -3
  483. package/dist/cjs/digi-icon-heart.cjs.entry.js +3 -3
  484. package/dist/cjs/digi-icon-history.cjs.entry.js +3 -3
  485. package/dist/cjs/digi-icon-home.cjs.entry.js +3 -3
  486. package/dist/cjs/digi-icon-image.cjs.entry.js +3 -3
  487. package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +3 -3
  488. package/dist/cjs/digi-icon-instagram.cjs.entry.js +3 -3
  489. package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +3 -3
  490. package/dist/cjs/digi-icon-language-outline.cjs.entry.js +3 -3
  491. package/dist/cjs/digi-icon-language.cjs.entry.js +3 -3
  492. package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +3 -3
  493. package/dist/cjs/digi-icon-lattlast.cjs.entry.js +3 -3
  494. package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +3 -3
  495. package/dist/cjs/digi-icon-licence-car.cjs.entry.js +3 -3
  496. package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +3 -3
  497. package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +3 -3
  498. package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +3 -3
  499. package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +3 -3
  500. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +143 -0
  501. package/dist/cjs/digi-icon-lock.cjs.entry.js +3 -3
  502. package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +3 -3
  503. package/dist/cjs/digi-icon-marker.cjs.entry.js +3 -3
  504. package/dist/cjs/digi-icon-media-course.cjs.entry.js +3 -3
  505. package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +3 -3
  506. package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +3 -3
  507. package/dist/cjs/digi-icon-microphone.cjs.entry.js +3 -3
  508. package/dist/cjs/digi-icon-minus_2.cjs.entry.js +51 -0
  509. package/dist/cjs/digi-icon-move.cjs.entry.js +3 -3
  510. package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +97 -0
  511. package/dist/cjs/digi-icon-online-interview.cjs.entry.js +3 -3
  512. package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +3 -3
  513. package/dist/cjs/digi-icon-online-task.cjs.entry.js +3 -3
  514. package/dist/cjs/digi-icon-open-source.cjs.entry.js +3 -3
  515. package/dist/cjs/digi-icon-palette.cjs.entry.js +3 -3
  516. package/dist/cjs/digi-icon-paste.cjs.entry.js +2 -2
  517. package/dist/cjs/digi-icon-pen.cjs.entry.js +3 -3
  518. package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +3 -3
  519. package/dist/cjs/digi-icon-phone.cjs.entry.js +3 -3
  520. package/dist/cjs/digi-icon-pinned-outline.cjs.entry.js +3 -3
  521. package/dist/cjs/digi-icon-pinned-solid.cjs.entry.js +3 -3
  522. package/dist/cjs/digi-icon-print.cjs.entry.js +3 -3
  523. package/dist/cjs/digi-icon-read.cjs.entry.js +3 -3
  524. package/dist/cjs/digi-icon-redo.cjs.entry.js +3 -3
  525. package/dist/cjs/digi-icon-scale.cjs.entry.js +2 -2
  526. package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +3 -3
  527. package/dist/cjs/digi-icon-screensharing.cjs.entry.js +3 -3
  528. package/dist/cjs/digi-icon-search.cjs.entry.js +3 -3
  529. package/dist/cjs/digi-icon-send-outline.cjs.entry.js +3 -3
  530. package/dist/cjs/digi-icon-send-solid.cjs.entry.js +3 -3
  531. package/dist/cjs/digi-icon-settings.cjs.entry.js +3 -3
  532. package/dist/cjs/digi-icon-share-alt.cjs.entry.js +3 -3
  533. package/dist/cjs/digi-icon-share-chain.cjs.entry.js +3 -3
  534. package/dist/cjs/digi-icon-sign.cjs.entry.js +28 -0
  535. package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +3 -3
  536. package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +3 -3
  537. package/dist/cjs/digi-icon-sort-down.cjs.entry.js +3 -3
  538. package/dist/cjs/digi-icon-sort-up.cjs.entry.js +3 -3
  539. package/dist/cjs/digi-icon-sort.cjs.entry.js +3 -3
  540. package/dist/cjs/digi-icon-star-reg.cjs.entry.js +3 -3
  541. package/dist/cjs/digi-icon-star.cjs.entry.js +3 -3
  542. package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +3 -3
  543. package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +3 -3
  544. package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +3 -3
  545. package/dist/cjs/digi-icon-table-column.cjs.entry.js +3 -3
  546. package/dist/cjs/digi-icon-table-row.cjs.entry.js +3 -3
  547. package/dist/cjs/digi-icon-task-done.cjs.entry.js +3 -3
  548. package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +3 -3
  549. package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +3 -3
  550. package/dist/cjs/digi-icon-twitter.cjs.entry.js +3 -3
  551. package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +3 -3
  552. package/dist/cjs/digi-icon-unlock.cjs.entry.js +3 -3
  553. package/dist/cjs/digi-icon-update.cjs.entry.js +3 -3
  554. package/dist/cjs/digi-icon-upload.cjs.entry.js +3 -3
  555. package/dist/cjs/digi-icon-user-add.cjs.entry.js +2 -2
  556. package/dist/cjs/digi-icon-user-alt.cjs.entry.js +3 -3
  557. package/dist/cjs/digi-icon-user-edit.cjs.entry.js +2 -2
  558. package/dist/cjs/digi-icon-users-solid.cjs.entry.js +3 -3
  559. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +51 -0
  560. package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +3 -3
  561. package/dist/cjs/digi-icon-videocamera.cjs.entry.js +3 -3
  562. package/dist/cjs/digi-icon-volume.cjs.entry.js +3 -3
  563. package/dist/cjs/digi-icon-web-tv.cjs.entry.js +3 -3
  564. package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +3 -3
  565. package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +3 -3
  566. package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +3 -3
  567. package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +3 -3
  568. package/dist/cjs/digi-icon-window.cjs.entry.js +3 -3
  569. package/dist/cjs/digi-icon-x-button.cjs.entry.js +3 -3
  570. package/dist/cjs/digi-icon-x.cjs.entry.js +28 -0
  571. package/dist/cjs/digi-icon-youtube.cjs.entry.js +3 -3
  572. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +17 -0
  573. package/dist/cjs/digi-info-card-multi.cjs.entry.js +65 -0
  574. package/dist/cjs/digi-info-card.cjs.entry.js +95 -0
  575. package/dist/cjs/digi-layout-block_2.cjs.entry.js +101 -0
  576. package/dist/cjs/digi-layout-columns.cjs.entry.js +37 -0
  577. package/dist/cjs/digi-link-button.cjs.entry.js +69 -0
  578. package/dist/cjs/digi-link-internal.cjs.entry.js +39 -0
  579. package/dist/cjs/digi-link.cjs.entry.js +75 -0
  580. package/dist/cjs/digi-list.cjs.entry.js +2 -2
  581. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +4 -4
  582. package/dist/cjs/digi-logo.cjs.entry.js +54 -0
  583. package/dist/cjs/digi-media-figure.cjs.entry.js +2 -2
  584. package/dist/cjs/digi-media-image_2.cjs.entry.js +180 -0
  585. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +3 -3
  586. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +31 -10
  587. package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +29 -0
  588. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +4 -4
  589. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +167 -0
  590. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +200 -0
  591. package/dist/cjs/digi-notification-alert.cjs.entry.js +137 -0
  592. package/dist/cjs/digi-notification-error-page.cjs.entry.js +28 -7
  593. package/dist/cjs/digi-progress-circle.cjs.entry.js +9 -9
  594. package/dist/cjs/digi-progress-indicator.cjs.entry.js +153 -0
  595. package/dist/cjs/digi-progress-list-item.cjs.entry.js +7 -7
  596. package/dist/cjs/digi-progress-list.cjs.entry.js +2 -2
  597. package/dist/cjs/digi-progressbar.cjs.entry.js +3 -3
  598. package/dist/cjs/digi-quote.cjs.entry.js +2 -2
  599. package/dist/cjs/digi-table.cjs.entry.js +2 -2
  600. package/dist/cjs/digi-tablist-panel.cjs.entry.js +3 -3
  601. package/dist/cjs/digi-tablist.cjs.entry.js +7 -7
  602. package/dist/cjs/digi-tag-media.cjs.entry.js +47 -0
  603. package/dist/cjs/digi-tag.cjs.entry.js +2 -2
  604. package/dist/cjs/digi-title-logo.cjs.entry.js +130 -0
  605. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +2 -2
  606. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +2 -2
  607. package/dist/cjs/digi-tools-feedback.cjs.entry.js +28 -7
  608. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +29 -0
  609. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +46 -0
  610. package/dist/cjs/digi-typography-meta.cjs.entry.js +2 -2
  611. package/dist/cjs/digi-typography-preamble.cjs.entry.js +17 -0
  612. package/dist/cjs/digi-typography-time.cjs.entry.js +2 -2
  613. package/dist/cjs/digi-typography.cjs.entry.js +22 -0
  614. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +45 -0
  615. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +2 -2
  616. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +2 -2
  617. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +81 -0
  618. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +2 -2
  619. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +2 -2
  620. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +2 -2
  621. package/dist/cjs/expandable-faq-item-variation.enum-aKkYAQgd.js +18 -0
  622. package/dist/cjs/footer-card-variation.enum-BPnpkC45.js +8 -0
  623. package/dist/cjs/form-checkbox-variation.enum-BfOGU4Qt.js +19 -0
  624. package/dist/cjs/form-file-upload-variation.enum-xcEOoggr.js +24 -0
  625. package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +8 -0
  626. package/dist/cjs/form-input-type.enum-DvF_MTHK.js +25 -0
  627. package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +29 -0
  628. package/dist/cjs/form-select-variation.enum-e6wjWyaS.js +16 -0
  629. package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +8 -0
  630. package/dist/cjs/index-Bdlw-Iuy.js +875 -0
  631. package/dist/cjs/index-D36hZyeW.js +4356 -0
  632. package/dist/cjs/index-Snltmefx.js +174 -0
  633. package/dist/cjs/index-r0sb9TCr.js +66 -0
  634. package/dist/cjs/index.cjs.js +190 -173
  635. package/dist/cjs/info-card-multi-type.enum-DlNiPNfH.js +18 -0
  636. package/dist/cjs/info-card-variation.enum-prsWZkWC.js +34 -0
  637. package/dist/cjs/layout-columns-variation.enum-OgD-hvRN.js +23 -0
  638. package/dist/cjs/layout-container-max-width.enum-DqWtU7WK.js +21 -0
  639. package/dist/cjs/link-button-variation.enum-03cHZQxx.js +9 -0
  640. package/dist/cjs/loader.cjs.js +2 -2
  641. package/dist/cjs/logo-color.enum-BJZv-f6R.js +7 -0
  642. package/dist/cjs/navigation-vertical-menu-variation.enum-7IUICId3.js +13 -0
  643. package/dist/cjs/progress-indicator-heading-level.enum-CNarUduE.js +23 -0
  644. package/dist/cjs/tag-media-icon.enum-DzhiwvjI.js +11 -0
  645. package/dist/cjs/tools-theme-provider.brand.enum-BzduvCUY.js +7 -0
  646. package/dist/cjs/typography-heading-jumbo-variation.enum-Di1Jeh0G.js +17 -0
  647. package/dist/cjs/typography-variation.enum-C4i5DFTI.js +218 -0
  648. package/dist/collection/collection-manifest.json +1 -0
  649. package/dist/collection/components/_badge/badge-status/badge-status.css +3 -3
  650. package/dist/collection/components/_button/button/button.css +15 -11
  651. package/dist/collection/components/_calendar/calendar/calendar.css +1 -6
  652. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +28 -577
  653. package/dist/collection/components/_calendar/week-view/calendar-week-view.js +55 -32
  654. package/dist/collection/components/_chart/bar-chart/bar-chart.js +3 -4
  655. package/dist/collection/components/_chart/chart-line/chart-line.js +2 -2
  656. package/dist/collection/components/_code/code/code.js +1 -1
  657. package/dist/collection/components/_code/code-block/code-block.js +1 -1
  658. package/dist/collection/components/_code/code-example/code-example.css +0 -6
  659. package/dist/collection/components/_code/code-example/code-example.js +5 -4
  660. package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
  661. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
  662. package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +19 -13
  663. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
  664. package/dist/collection/components/_footer/footer/footer.js +1 -1
  665. package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
  666. package/dist/collection/components/_form/form-category-filter/form-category-filter.css +2 -2
  667. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
  668. package/dist/collection/components/_form/form-checkbox/form-checkbox.css +25 -589
  669. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
  670. package/dist/collection/components/_form/form-error-list/form-error-list.js +1 -1
  671. package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
  672. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +8 -9
  673. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
  674. package/dist/collection/components/_form/form-filter/form-filter.css +4 -3
  675. package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
  676. package/dist/collection/components/_form/form-input/form-input.js +3 -3
  677. package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
  678. package/dist/collection/components/_form/form-label/form-label.js +1 -1
  679. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.css +0 -6
  680. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
  681. package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -2
  682. package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
  683. package/dist/collection/components/_form/form-select/form-select.css +2 -2
  684. package/dist/collection/components/_form/form-select/form-select.js +3 -3
  685. package/dist/collection/components/_form/form-select-filter/form-select-filter.css +4 -4
  686. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
  687. package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
  688. package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
  689. package/dist/collection/components/_header/header/header.js +2 -2
  690. package/dist/collection/components/_header/header-avatar/header-avatar.css +24 -574
  691. package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
  692. package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
  693. package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
  694. package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
  695. package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
  696. package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
  697. package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
  698. package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
  699. package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
  700. package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
  701. package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
  702. package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
  703. package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
  704. package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
  705. package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
  706. package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
  707. package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
  708. package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
  709. package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
  710. package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
  711. package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
  712. package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
  713. package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
  714. package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
  715. package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
  716. package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
  717. package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
  718. package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
  719. package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
  720. package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
  721. package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
  722. package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
  723. package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
  724. package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
  725. package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
  726. package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
  727. package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
  728. package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
  729. package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
  730. package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
  731. package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
  732. package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
  733. package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
  734. package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
  735. package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
  736. package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
  737. package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
  738. package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
  739. package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
  740. package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
  741. package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
  742. package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
  743. package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
  744. package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
  745. package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
  746. package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
  747. package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
  748. package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
  749. package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
  750. package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
  751. package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
  752. package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
  753. package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
  754. package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
  755. package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
  756. package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
  757. package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
  758. package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
  759. package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
  760. package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
  761. package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
  762. package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
  763. package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
  764. package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
  765. package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
  766. package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
  767. package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
  768. package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
  769. package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
  770. package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
  771. package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
  772. package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
  773. package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
  774. package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
  775. package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
  776. package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
  777. package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
  778. package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
  779. package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
  780. package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
  781. package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
  782. package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
  783. package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
  784. package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
  785. package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
  786. package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
  787. package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
  788. package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
  789. package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
  790. package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
  791. package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
  792. package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
  793. package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
  794. package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
  795. package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
  796. package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
  797. package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
  798. package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
  799. package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
  800. package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
  801. package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
  802. package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
  803. package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
  804. package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
  805. package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
  806. package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
  807. package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
  808. package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
  809. package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
  810. package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
  811. package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
  812. package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
  813. package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
  814. package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
  815. package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
  816. package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
  817. package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
  818. package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
  819. package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
  820. package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
  821. package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
  822. package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
  823. package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
  824. package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
  825. package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
  826. package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
  827. package/dist/collection/components/_icon/icon-pinned-outline/icon-pinned-outline.js +2 -2
  828. package/dist/collection/components/_icon/icon-pinned-solid/icon-pinned-solid.js +2 -2
  829. package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
  830. package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
  831. package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
  832. package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
  833. package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
  834. package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
  835. package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
  836. package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
  837. package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
  838. package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
  839. package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
  840. package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
  841. package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
  842. package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
  843. package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
  844. package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
  845. package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
  846. package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
  847. package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
  848. package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
  849. package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
  850. package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
  851. package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
  852. package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
  853. package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
  854. package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
  855. package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
  856. package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
  857. package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
  858. package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
  859. package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
  860. package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
  861. package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
  862. package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
  863. package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
  864. package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
  865. package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
  866. package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
  867. package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
  868. package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
  869. package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
  870. package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
  871. package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
  872. package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
  873. package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
  874. package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
  875. package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
  876. package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
  877. package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
  878. package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
  879. package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
  880. package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
  881. package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
  882. package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
  883. package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
  884. package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
  885. package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
  886. package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
  887. package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
  888. package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
  889. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
  890. package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
  891. package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
  892. package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
  893. package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
  894. package/dist/collection/components/_link/link/link.js +1 -1
  895. package/dist/collection/components/_link/link-button/link-button.css +3 -3
  896. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  897. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  898. package/dist/collection/components/_link/link-internal/link-internal.css +24 -574
  899. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  900. package/dist/collection/components/_list/list/list.js +1 -1
  901. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  902. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  903. package/dist/collection/components/_logo/logo/logo.js +1 -1
  904. package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
  905. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  906. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  907. package/dist/collection/components/_media/media-svg/interfaces/svg-source.interface.js +1 -0
  908. package/dist/collection/components/_media/media-svg/media-svg.css +30 -0
  909. package/dist/collection/components/_media/media-svg/media-svg.js +498 -0
  910. package/dist/collection/components/_media/media-svg/prepare-svg-markup.js +431 -0
  911. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  912. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +3 -4
  913. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
  914. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  915. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.css +1 -1
  916. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  917. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  918. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +6 -6
  919. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  920. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  921. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
  922. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  923. package/dist/collection/components/_notification/notification-alert/notification-alert.css +1 -1
  924. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  925. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  926. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  927. package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -5
  928. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  929. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  930. package/dist/collection/components/_progress/progress-list-item/progress-list-item.css +2 -2
  931. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  932. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  933. package/dist/collection/components/_quote/quote/quote.js +1 -1
  934. package/dist/collection/components/_table/table/table.js +1 -1
  935. package/dist/collection/components/_tag/tag/tag.js +1 -1
  936. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  937. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  938. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  939. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  940. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +18 -167
  941. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +2 -43
  942. package/dist/collection/components/_typography/typography/typography.js +1 -1
  943. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  944. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  945. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  946. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  947. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  948. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  949. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  950. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  951. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  952. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  953. package/dist/collection/components/_util/util-mutation-observer/util-mutation-observer.js +2 -1
  954. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  955. package/dist/collection/design-tokens/components/_badge-status.variables.scss +1 -1
  956. package/dist/collection/design-tokens/components/_button.variables.scss +11 -11
  957. package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +2 -1
  958. package/dist/collection/design-tokens/components/_calendar.variables.scss +1 -2
  959. package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
  960. package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +3 -5
  961. package/dist/collection/design-tokens/components/_form-filter.variables.scss +3 -2
  962. package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +3 -3
  963. package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
  964. package/dist/collection/design-tokens/components/_link-button.variables.scss +3 -3
  965. package/dist/collection/design-tokens/components/_logo.variables.scss +0 -2
  966. package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
  967. package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  968. package/dist/collection/design-tokens/components/_notification-alert.variables.scss +1 -1
  969. package/dist/collection/design-tokens/components/_progress-indicator.variables.scss +1 -1
  970. package/dist/collection/enums.js +0 -1
  971. package/dist/collection/styles/src/_alias.mixin.scss +108 -0
  972. package/dist/collection/styles/src/index.scss +2 -16
  973. package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +8 -22
  974. package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +8 -151
  975. package/dist/collection/styles/src/themes/_brand-common.mixin.scss +0 -13
  976. package/dist/collection/styles/src/tokens-documentation/web-AF25.json +160 -576
  977. package/dist/collection/styles/src/utils/_box-shadow.mixin.scss +2 -2
  978. package/dist/digi-arbetsformedlingen/design-tokens/components/_badge-status.variables.scss +1 -1
  979. package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +11 -11
  980. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +2 -1
  981. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +1 -2
  982. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
  983. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +3 -5
  984. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +3 -2
  985. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +3 -3
  986. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
  987. package/dist/digi-arbetsformedlingen/design-tokens/components/_link-button.variables.scss +3 -3
  988. package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +2 -0
  989. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
  990. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  991. package/dist/digi-arbetsformedlingen/design-tokens/components/_notification-alert.variables.scss +1 -1
  992. package/dist/digi-arbetsformedlingen/design-tokens/components/_progress-indicator.variables.scss +1 -1
  993. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
  994. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  995. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  996. package/dist/digi-arbetsformedlingen/p-00e6069b.entry.js +1 -0
  997. package/dist/digi-arbetsformedlingen/p-01ecbc83.entry.js +1 -0
  998. package/dist/digi-arbetsformedlingen/p-026914a3.entry.js +1 -0
  999. package/dist/digi-arbetsformedlingen/p-02d8bf7b.entry.js +1 -0
  1000. package/dist/digi-arbetsformedlingen/p-02e0dff3.entry.js +1 -0
  1001. package/dist/digi-arbetsformedlingen/p-03f43e2c.entry.js +1 -0
  1002. package/dist/digi-arbetsformedlingen/p-04b869a8.entry.js +1 -0
  1003. package/dist/digi-arbetsformedlingen/p-0537a17d.entry.js +1 -0
  1004. package/dist/digi-arbetsformedlingen/p-065c7366.entry.js +1 -0
  1005. package/dist/digi-arbetsformedlingen/p-06ca5c9d.entry.js +1 -0
  1006. package/dist/digi-arbetsformedlingen/p-08accb62.entry.js +1 -0
  1007. package/dist/digi-arbetsformedlingen/p-0b15590a.entry.js +1 -0
  1008. package/dist/digi-arbetsformedlingen/p-0b680f71.entry.js +1 -0
  1009. package/dist/digi-arbetsformedlingen/p-0e6d5511.entry.js +1 -0
  1010. package/dist/digi-arbetsformedlingen/p-0e833267.entry.js +1 -0
  1011. package/dist/digi-arbetsformedlingen/p-0ee88b6e.entry.js +1 -0
  1012. package/dist/digi-arbetsformedlingen/p-10da1b74.entry.js +1 -0
  1013. package/dist/digi-arbetsformedlingen/p-116a7224.entry.js +1 -0
  1014. package/dist/digi-arbetsformedlingen/p-11defb5c.entry.js +1 -0
  1015. package/dist/digi-arbetsformedlingen/p-121e5c71.entry.js +1 -0
  1016. package/dist/digi-arbetsformedlingen/p-12ddd2bf.entry.js +1 -0
  1017. package/dist/digi-arbetsformedlingen/p-13448296.entry.js +1 -0
  1018. package/dist/digi-arbetsformedlingen/p-136da509.entry.js +1 -0
  1019. package/dist/digi-arbetsformedlingen/p-14c34a92.entry.js +1 -0
  1020. package/dist/digi-arbetsformedlingen/p-1697bf5b.entry.js +1 -0
  1021. package/dist/digi-arbetsformedlingen/p-1709b9c6.entry.js +1 -0
  1022. package/dist/digi-arbetsformedlingen/p-18bd6d22.entry.js +1 -0
  1023. package/dist/digi-arbetsformedlingen/p-19f0fb43.entry.js +1 -0
  1024. package/dist/digi-arbetsformedlingen/p-1b420712.entry.js +1 -0
  1025. package/dist/digi-arbetsformedlingen/p-1c084881.entry.js +1 -0
  1026. package/dist/digi-arbetsformedlingen/p-1c8762e9.entry.js +1 -0
  1027. package/dist/digi-arbetsformedlingen/p-1d2683d6.entry.js +1 -0
  1028. package/dist/digi-arbetsformedlingen/p-1fa9fce8.entry.js +1 -0
  1029. package/dist/digi-arbetsformedlingen/p-1ffd6f0e.entry.js +1 -0
  1030. package/dist/digi-arbetsformedlingen/p-20526319.entry.js +1 -0
  1031. package/dist/digi-arbetsformedlingen/p-233917f3.entry.js +1 -0
  1032. package/dist/digi-arbetsformedlingen/p-2675412d.entry.js +1 -0
  1033. package/dist/digi-arbetsformedlingen/p-26bfbee0.entry.js +1 -0
  1034. package/dist/digi-arbetsformedlingen/p-26d9df78.entry.js +1 -0
  1035. package/dist/digi-arbetsformedlingen/p-280ecf86.entry.js +1 -0
  1036. package/dist/digi-arbetsformedlingen/p-291bda0f.entry.js +1 -0
  1037. package/dist/digi-arbetsformedlingen/p-2970474e.entry.js +1 -0
  1038. package/dist/digi-arbetsformedlingen/p-29b4cd29.entry.js +1 -0
  1039. package/dist/digi-arbetsformedlingen/p-29c9ad5b.entry.js +1 -0
  1040. package/dist/digi-arbetsformedlingen/p-29f318d6.entry.js +1 -0
  1041. package/dist/digi-arbetsformedlingen/p-2a15b607.entry.js +1 -0
  1042. package/dist/digi-arbetsformedlingen/p-2ab37b35.entry.js +1 -0
  1043. package/dist/digi-arbetsformedlingen/p-2b2ecbfa.entry.js +1 -0
  1044. package/dist/digi-arbetsformedlingen/p-2f536385.entry.js +1 -0
  1045. package/dist/digi-arbetsformedlingen/p-2fb5f6bc.entry.js +1 -0
  1046. package/dist/digi-arbetsformedlingen/p-31469d38.entry.js +1 -0
  1047. package/dist/digi-arbetsformedlingen/p-31d04380.entry.js +1 -0
  1048. package/dist/digi-arbetsformedlingen/p-31e5e4de.entry.js +1 -0
  1049. package/dist/digi-arbetsformedlingen/p-32d73259.entry.js +1 -0
  1050. package/dist/digi-arbetsformedlingen/p-33008dbc.entry.js +1 -0
  1051. package/dist/digi-arbetsformedlingen/p-340287a1.entry.js +1 -0
  1052. package/dist/digi-arbetsformedlingen/p-3462496c.entry.js +1 -0
  1053. package/dist/digi-arbetsformedlingen/p-348e5623.entry.js +1 -0
  1054. package/dist/digi-arbetsformedlingen/p-353d6fc1.entry.js +1 -0
  1055. package/dist/digi-arbetsformedlingen/p-356ad4c8.entry.js +1 -0
  1056. package/dist/digi-arbetsformedlingen/p-359d7156.entry.js +1 -0
  1057. package/dist/digi-arbetsformedlingen/p-378b056d.entry.js +1 -0
  1058. package/dist/digi-arbetsformedlingen/p-384aecff.entry.js +1 -0
  1059. package/dist/digi-arbetsformedlingen/p-38f6186d.entry.js +1 -0
  1060. package/dist/digi-arbetsformedlingen/p-3a042d19.entry.js +1 -0
  1061. package/dist/digi-arbetsformedlingen/p-3b6d9171.entry.js +1 -0
  1062. package/dist/digi-arbetsformedlingen/p-3bf6449e.entry.js +1 -0
  1063. package/dist/digi-arbetsformedlingen/p-3dbb1d43.entry.js +1 -0
  1064. package/dist/digi-arbetsformedlingen/p-3e173965.entry.js +1 -0
  1065. package/dist/digi-arbetsformedlingen/p-4190e57e.entry.js +1 -0
  1066. package/dist/digi-arbetsformedlingen/p-447e8d7b.entry.js +1 -0
  1067. package/dist/digi-arbetsformedlingen/p-45de640d.entry.js +1 -0
  1068. package/dist/digi-arbetsformedlingen/p-465d13df.entry.js +1 -0
  1069. package/dist/digi-arbetsformedlingen/p-46904d31.entry.js +1 -0
  1070. package/dist/digi-arbetsformedlingen/p-49ba9c2b.entry.js +1 -0
  1071. package/dist/digi-arbetsformedlingen/p-4a02de88.entry.js +1 -0
  1072. package/dist/digi-arbetsformedlingen/p-4b20ad9a.entry.js +1 -0
  1073. package/dist/digi-arbetsformedlingen/p-4f3b875e.entry.js +1 -0
  1074. package/dist/digi-arbetsformedlingen/p-4ffc3046.entry.js +1 -0
  1075. package/dist/digi-arbetsformedlingen/p-50043d02.entry.js +1 -0
  1076. package/dist/digi-arbetsformedlingen/p-50f116a6.entry.js +1 -0
  1077. package/dist/digi-arbetsformedlingen/p-51416291.entry.js +1 -0
  1078. package/dist/digi-arbetsformedlingen/p-53850577.entry.js +1 -0
  1079. package/dist/digi-arbetsformedlingen/p-53a00c4d.entry.js +1 -0
  1080. package/dist/digi-arbetsformedlingen/p-5470f810.entry.js +1 -0
  1081. package/dist/digi-arbetsformedlingen/p-555acc80.entry.js +1 -0
  1082. package/dist/digi-arbetsformedlingen/p-55781626.entry.js +1 -0
  1083. package/dist/digi-arbetsformedlingen/p-5697020e.entry.js +1 -0
  1084. package/dist/digi-arbetsformedlingen/p-57aeb035.entry.js +1 -0
  1085. package/dist/digi-arbetsformedlingen/p-57ce0de5.entry.js +1 -0
  1086. package/dist/digi-arbetsformedlingen/p-57ffa93a.entry.js +1 -0
  1087. package/dist/digi-arbetsformedlingen/p-58d566c1.entry.js +1 -0
  1088. package/dist/digi-arbetsformedlingen/p-591b39c9.entry.js +1 -0
  1089. package/dist/digi-arbetsformedlingen/p-5a083009.entry.js +1 -0
  1090. package/dist/digi-arbetsformedlingen/p-5a714feb.entry.js +1 -0
  1091. package/dist/digi-arbetsformedlingen/p-5be311d7.entry.js +1 -0
  1092. package/dist/digi-arbetsformedlingen/p-5ce91cbd.entry.js +1 -0
  1093. package/dist/digi-arbetsformedlingen/p-5ed588b9.entry.js +1 -0
  1094. package/dist/digi-arbetsformedlingen/p-5fb65d36.entry.js +1 -0
  1095. package/dist/digi-arbetsformedlingen/p-6-MpaVf8.js +1 -0
  1096. package/dist/digi-arbetsformedlingen/p-60272d59.entry.js +1 -0
  1097. package/dist/digi-arbetsformedlingen/p-603b51ec.entry.js +1 -0
  1098. package/dist/digi-arbetsformedlingen/p-61852193.entry.js +1 -0
  1099. package/dist/digi-arbetsformedlingen/p-627455fc.entry.js +1 -0
  1100. package/dist/digi-arbetsformedlingen/p-6322fa3e.entry.js +1 -0
  1101. package/dist/digi-arbetsformedlingen/p-63838c74.entry.js +1 -0
  1102. package/dist/digi-arbetsformedlingen/p-648e1c7d.entry.js +1 -0
  1103. package/dist/digi-arbetsformedlingen/p-65f8c1fa.entry.js +1 -0
  1104. package/dist/digi-arbetsformedlingen/p-66c362e5.entry.js +1 -0
  1105. package/dist/digi-arbetsformedlingen/p-67164d60.entry.js +1 -0
  1106. package/dist/digi-arbetsformedlingen/p-671ebfdd.entry.js +1 -0
  1107. package/dist/digi-arbetsformedlingen/p-673551ab.entry.js +1 -0
  1108. package/dist/digi-arbetsformedlingen/p-69d776a1.entry.js +1 -0
  1109. package/dist/digi-arbetsformedlingen/p-6a24d7f3.entry.js +1 -0
  1110. package/dist/digi-arbetsformedlingen/p-6af6c917.entry.js +1 -0
  1111. package/dist/digi-arbetsformedlingen/p-6b51664a.entry.js +1 -0
  1112. package/dist/digi-arbetsformedlingen/p-6bdde86e.entry.js +1 -0
  1113. package/dist/digi-arbetsformedlingen/p-6ceb4b54.entry.js +1 -0
  1114. package/dist/digi-arbetsformedlingen/p-6fdbae3d.entry.js +1 -0
  1115. package/dist/digi-arbetsformedlingen/p-6fe46fca.entry.js +1 -0
  1116. package/dist/digi-arbetsformedlingen/p-702a7980.entry.js +1 -0
  1117. package/dist/digi-arbetsformedlingen/p-7130a26f.entry.js +1 -0
  1118. package/dist/digi-arbetsformedlingen/p-71998103.entry.js +1 -0
  1119. package/dist/digi-arbetsformedlingen/p-7219798b.entry.js +1 -0
  1120. package/dist/digi-arbetsformedlingen/p-747ecf58.entry.js +1 -0
  1121. package/dist/digi-arbetsformedlingen/p-79dd0933.entry.js +1 -0
  1122. package/dist/digi-arbetsformedlingen/p-7b0d9488.entry.js +1 -0
  1123. package/dist/digi-arbetsformedlingen/p-7d724557.entry.js +1 -0
  1124. package/dist/digi-arbetsformedlingen/p-7d981753.entry.js +1 -0
  1125. package/dist/digi-arbetsformedlingen/p-7fc30e19.entry.js +1 -0
  1126. package/dist/digi-arbetsformedlingen/p-7ff3c4b5.entry.js +1 -0
  1127. package/dist/digi-arbetsformedlingen/p-814417c8.entry.js +1 -0
  1128. package/dist/digi-arbetsformedlingen/p-8369e899.entry.js +1 -0
  1129. package/dist/digi-arbetsformedlingen/p-83b04dd3.entry.js +1 -0
  1130. package/dist/digi-arbetsformedlingen/p-83b782d7.entry.js +1 -0
  1131. package/dist/digi-arbetsformedlingen/p-84833bff.entry.js +1 -0
  1132. package/dist/digi-arbetsformedlingen/p-84a5a2bf.entry.js +1 -0
  1133. package/dist/digi-arbetsformedlingen/p-865c48f6.entry.js +1 -0
  1134. package/dist/digi-arbetsformedlingen/p-8846d914.entry.js +1 -0
  1135. package/dist/digi-arbetsformedlingen/p-8856c5d8.entry.js +1 -0
  1136. package/dist/digi-arbetsformedlingen/p-8864bc16.entry.js +1 -0
  1137. package/dist/digi-arbetsformedlingen/p-89e3b132.entry.js +1 -0
  1138. package/dist/digi-arbetsformedlingen/p-8b8fe062.entry.js +1 -0
  1139. package/dist/digi-arbetsformedlingen/p-8bd86d7b.entry.js +1 -0
  1140. package/dist/digi-arbetsformedlingen/p-8e47597e.entry.js +1 -0
  1141. package/dist/digi-arbetsformedlingen/p-8e5fb238.entry.js +1 -0
  1142. package/dist/digi-arbetsformedlingen/p-8fc80ef2.entry.js +1 -0
  1143. package/dist/digi-arbetsformedlingen/p-9020194a.entry.js +1 -0
  1144. package/dist/digi-arbetsformedlingen/p-9021d60d.entry.js +1 -0
  1145. package/dist/digi-arbetsformedlingen/p-907a9d11.entry.js +1 -0
  1146. package/dist/digi-arbetsformedlingen/p-91e2e897.entry.js +1 -0
  1147. package/dist/digi-arbetsformedlingen/p-92b298dc.entry.js +1 -0
  1148. package/dist/digi-arbetsformedlingen/p-931aad11.entry.js +1 -0
  1149. package/dist/digi-arbetsformedlingen/p-966f7c5e.entry.js +1 -0
  1150. package/dist/digi-arbetsformedlingen/p-9731728b.entry.js +1 -0
  1151. package/dist/digi-arbetsformedlingen/p-997a4e02.entry.js +1 -0
  1152. package/dist/digi-arbetsformedlingen/p-9a47445d.entry.js +1 -0
  1153. package/dist/digi-arbetsformedlingen/p-9b743166.entry.js +1 -0
  1154. package/dist/digi-arbetsformedlingen/p-9c3661e2.entry.js +1 -0
  1155. package/dist/digi-arbetsformedlingen/p-9c93895e.entry.js +1 -0
  1156. package/dist/digi-arbetsformedlingen/p-9f33dac5.entry.js +1 -0
  1157. package/dist/digi-arbetsformedlingen/p-9f4c7c94.entry.js +1 -0
  1158. package/dist/digi-arbetsformedlingen/p-9f83444d.entry.js +1 -0
  1159. package/dist/digi-arbetsformedlingen/p-B8OxDoWx.js +3 -0
  1160. package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +1 -0
  1161. package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +1 -0
  1162. package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +1 -0
  1163. package/dist/digi-arbetsformedlingen/p-BixPaBHw.js +1 -0
  1164. package/dist/digi-arbetsformedlingen/p-Bt5oq5cL.js +1 -0
  1165. package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +1 -0
  1166. package/dist/digi-arbetsformedlingen/p-BvcVTm_t.js +1 -0
  1167. package/dist/digi-arbetsformedlingen/p-C6B2KRZo.js +1 -0
  1168. package/dist/digi-arbetsformedlingen/p-C7xgnp99.js +1 -0
  1169. package/dist/digi-arbetsformedlingen/p-CPzcg9n3.js +1 -0
  1170. package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +1 -0
  1171. package/dist/digi-arbetsformedlingen/p-Chk3GCYK.js +1 -0
  1172. package/dist/digi-arbetsformedlingen/p-CuhrrYGE.js +1 -0
  1173. package/dist/digi-arbetsformedlingen/p-D0J6vKy3.js +1 -0
  1174. package/dist/digi-arbetsformedlingen/p-DCS1KcvC.js +1 -0
  1175. package/dist/digi-arbetsformedlingen/p-DE6sqPn9.js +1 -0
  1176. package/dist/digi-arbetsformedlingen/p-DGI7Jkg2.js +1 -0
  1177. package/dist/digi-arbetsformedlingen/p-DJCufAhy.js +1 -0
  1178. package/dist/digi-arbetsformedlingen/p-DNjGvZvz.js +1 -0
  1179. package/dist/digi-arbetsformedlingen/p-DPkRL9Bv.js +1 -0
  1180. package/dist/digi-arbetsformedlingen/p-DShzaNrQ.js +1 -0
  1181. package/dist/digi-arbetsformedlingen/p-DbBOgLZR.js +1 -0
  1182. package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +1 -0
  1183. package/dist/digi-arbetsformedlingen/p-DpDyNuVC.js +1 -0
  1184. package/dist/digi-arbetsformedlingen/p-DzSu1-K0.js +1 -0
  1185. package/dist/digi-arbetsformedlingen/p-PuRFa9pe.js +1 -0
  1186. package/dist/digi-arbetsformedlingen/p-a03adf00.entry.js +1 -0
  1187. package/dist/digi-arbetsformedlingen/p-a2ca26fd.entry.js +1 -0
  1188. package/dist/digi-arbetsformedlingen/p-a34f62cb.entry.js +1 -0
  1189. package/dist/digi-arbetsformedlingen/p-a3724edd.entry.js +1 -0
  1190. package/dist/digi-arbetsformedlingen/p-a57d5b67.entry.js +1 -0
  1191. package/dist/digi-arbetsformedlingen/p-a59b102b.entry.js +1 -0
  1192. package/dist/digi-arbetsformedlingen/p-a625a87c.entry.js +1 -0
  1193. package/dist/digi-arbetsformedlingen/p-a84a0362.entry.js +1 -0
  1194. package/dist/digi-arbetsformedlingen/p-a8a28da6.entry.js +1 -0
  1195. package/dist/digi-arbetsformedlingen/p-a8ba86c5.entry.js +1 -0
  1196. package/dist/digi-arbetsformedlingen/p-a9c1eb1b.entry.js +1 -0
  1197. package/dist/digi-arbetsformedlingen/p-a9d9e459.entry.js +1 -0
  1198. package/dist/digi-arbetsformedlingen/p-ad524e78.entry.js +1 -0
  1199. package/dist/digi-arbetsformedlingen/p-ae1bb325.entry.js +1 -0
  1200. package/dist/digi-arbetsformedlingen/p-af38dce2.entry.js +1 -0
  1201. package/dist/digi-arbetsformedlingen/p-b2941c81.entry.js +1 -0
  1202. package/dist/digi-arbetsformedlingen/p-b48d5263.entry.js +1 -0
  1203. package/dist/digi-arbetsformedlingen/p-b52538cb.entry.js +1 -0
  1204. package/dist/digi-arbetsformedlingen/p-b64309ff.entry.js +1 -0
  1205. package/dist/digi-arbetsformedlingen/p-b644a0f7.entry.js +1 -0
  1206. package/dist/digi-arbetsformedlingen/p-b6b82872.entry.js +1 -0
  1207. package/dist/digi-arbetsformedlingen/p-b6baf8cb.entry.js +1 -0
  1208. package/dist/digi-arbetsformedlingen/p-b8971baa.entry.js +1 -0
  1209. package/dist/digi-arbetsformedlingen/p-b91c368a.entry.js +1 -0
  1210. package/dist/digi-arbetsformedlingen/p-b99fd7b5.entry.js +1 -0
  1211. package/dist/digi-arbetsformedlingen/p-b9c16bcd.entry.js +1 -0
  1212. package/dist/digi-arbetsformedlingen/p-bb78dc1f.entry.js +1 -0
  1213. package/dist/digi-arbetsformedlingen/p-bcc14cd7.entry.js +1 -0
  1214. package/dist/digi-arbetsformedlingen/p-be233c6b.entry.js +1 -0
  1215. package/dist/digi-arbetsformedlingen/p-bf1ef41d.entry.js +1 -0
  1216. package/dist/digi-arbetsformedlingen/p-bf472486.entry.js +1 -0
  1217. package/dist/digi-arbetsformedlingen/p-bf9eefe6.entry.js +1 -0
  1218. package/dist/digi-arbetsformedlingen/p-c2c88300.entry.js +1 -0
  1219. package/dist/digi-arbetsformedlingen/p-c2edbd0b.entry.js +1 -0
  1220. package/dist/digi-arbetsformedlingen/p-c3d1a699.entry.js +1 -0
  1221. package/dist/digi-arbetsformedlingen/p-c5d3a04b.entry.js +1 -0
  1222. package/dist/digi-arbetsformedlingen/p-c6ebc3b7.entry.js +1 -0
  1223. package/dist/digi-arbetsformedlingen/p-c8173c26.entry.js +1 -0
  1224. package/dist/digi-arbetsformedlingen/p-c8e184e8.entry.js +1 -0
  1225. package/dist/digi-arbetsformedlingen/p-c901480c.entry.js +1 -0
  1226. package/dist/digi-arbetsformedlingen/p-ca1a6a6f.entry.js +1 -0
  1227. package/dist/digi-arbetsformedlingen/p-cba5055b.entry.js +1 -0
  1228. package/dist/digi-arbetsformedlingen/p-cdee72e0.entry.js +1 -0
  1229. package/dist/digi-arbetsformedlingen/p-d1936b26.entry.js +1 -0
  1230. package/dist/digi-arbetsformedlingen/p-d2443600.entry.js +1 -0
  1231. package/dist/digi-arbetsformedlingen/p-d2df1e05.entry.js +1 -0
  1232. package/dist/digi-arbetsformedlingen/p-d4598483.entry.js +1 -0
  1233. package/dist/digi-arbetsformedlingen/p-d4dc62e3.entry.js +1 -0
  1234. package/dist/digi-arbetsformedlingen/p-d525d215.entry.js +1 -0
  1235. package/dist/digi-arbetsformedlingen/p-d62de42d.entry.js +1 -0
  1236. package/dist/digi-arbetsformedlingen/p-d722f264.entry.js +1 -0
  1237. package/dist/digi-arbetsformedlingen/p-d7bfc881.entry.js +1 -0
  1238. package/dist/digi-arbetsformedlingen/p-d8b3f295.entry.js +1 -0
  1239. package/dist/digi-arbetsformedlingen/p-d8d44d21.entry.js +1 -0
  1240. package/dist/digi-arbetsformedlingen/p-d9ba60d9.entry.js +1 -0
  1241. package/dist/digi-arbetsformedlingen/p-d9dbed2e.entry.js +1 -0
  1242. package/dist/digi-arbetsformedlingen/p-db24d71c.entry.js +1 -0
  1243. package/dist/digi-arbetsformedlingen/p-db84c9e2.entry.js +1 -0
  1244. package/dist/digi-arbetsformedlingen/p-dbbfbe9b.entry.js +1 -0
  1245. package/dist/digi-arbetsformedlingen/p-dbf40656.entry.js +1 -0
  1246. package/dist/digi-arbetsformedlingen/p-dc5e5711.entry.js +1 -0
  1247. package/dist/digi-arbetsformedlingen/p-ddcbea17.entry.js +1 -0
  1248. package/dist/digi-arbetsformedlingen/p-dde02da2.entry.js +1 -0
  1249. package/dist/digi-arbetsformedlingen/p-de0740cd.entry.js +1 -0
  1250. package/dist/digi-arbetsformedlingen/p-de4a3150.entry.js +1 -0
  1251. package/dist/digi-arbetsformedlingen/p-e1ebd211.entry.js +1 -0
  1252. package/dist/digi-arbetsformedlingen/p-e29e5cd4.entry.js +1 -0
  1253. package/dist/digi-arbetsformedlingen/p-e33306a2.entry.js +1 -0
  1254. package/dist/digi-arbetsformedlingen/p-e3a70ddf.entry.js +1 -0
  1255. package/dist/digi-arbetsformedlingen/p-e5775355.entry.js +1 -0
  1256. package/dist/digi-arbetsformedlingen/p-e59ad715.entry.js +1 -0
  1257. package/dist/digi-arbetsformedlingen/p-e8c20fac.entry.js +1 -0
  1258. package/dist/digi-arbetsformedlingen/p-ebcc6a2f.entry.js +1 -0
  1259. package/dist/digi-arbetsformedlingen/p-f0607f0d.entry.js +1 -0
  1260. package/dist/digi-arbetsformedlingen/p-f0abbec7.entry.js +1 -0
  1261. package/dist/digi-arbetsformedlingen/p-f1581a14.entry.js +1 -0
  1262. package/dist/digi-arbetsformedlingen/p-f1ff598f.entry.js +1 -0
  1263. package/dist/digi-arbetsformedlingen/p-f2b4dcd3.entry.js +1 -0
  1264. package/dist/digi-arbetsformedlingen/p-f2e5605f.entry.js +1 -0
  1265. package/dist/digi-arbetsformedlingen/p-f36f1692.entry.js +1 -0
  1266. package/dist/digi-arbetsformedlingen/p-f61a2cc3.entry.js +1 -0
  1267. package/dist/digi-arbetsformedlingen/p-f6cd8dbf.entry.js +1 -0
  1268. package/dist/digi-arbetsformedlingen/p-f6e90b53.entry.js +1 -0
  1269. package/dist/digi-arbetsformedlingen/p-f79e49db.entry.js +1 -0
  1270. package/dist/digi-arbetsformedlingen/p-f7a11da9.entry.js +1 -0
  1271. package/dist/digi-arbetsformedlingen/p-f89c23cb.entry.js +1 -0
  1272. package/dist/digi-arbetsformedlingen/p-f8e9a8ce.entry.js +1 -0
  1273. package/dist/digi-arbetsformedlingen/p-f905dc18.entry.js +1 -0
  1274. package/dist/digi-arbetsformedlingen/p-fa931e4f.entry.js +1 -0
  1275. package/dist/digi-arbetsformedlingen/p-fb36e947.entry.js +1 -0
  1276. package/dist/digi-arbetsformedlingen/p-fc2d127b.entry.js +1 -0
  1277. package/dist/digi-arbetsformedlingen/p-fe46eccb.entry.js +1 -0
  1278. package/dist/digi-arbetsformedlingen/p-fe5f23ea.entry.js +1 -0
  1279. package/dist/digi-arbetsformedlingen/p-feb99a81.entry.js +1 -0
  1280. package/dist/digi-arbetsformedlingen/p-ffbaf1a6.entry.js +1 -0
  1281. package/dist/digi-arbetsformedlingen/p-ffe5e7b0.entry.js +1 -0
  1282. package/dist/digi-arbetsformedlingen/p-u37CGyZ9.js +1 -0
  1283. package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +108 -0
  1284. package/dist/digi-arbetsformedlingen/styles/src/index.scss +2 -16
  1285. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +8 -22
  1286. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +8 -151
  1287. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +0 -13
  1288. package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +160 -576
  1289. package/dist/digi-arbetsformedlingen/styles/src/utils/_box-shadow.mixin.scss +2 -2
  1290. package/dist/esm/applyStencilScope.util-Bt5oq5cL.js +15 -0
  1291. package/dist/esm/button-size.enum-C7xgnp99.js +7 -0
  1292. package/dist/esm/button-type.enum-DShzaNrQ.js +8 -0
  1293. package/dist/esm/code-example-variation.enum-DGI7Jkg2.js +27 -0
  1294. package/dist/esm/digi-arbetsformedlingen.js +3 -3
  1295. package/dist/esm/digi-badge-notification.entry.js +1 -1
  1296. package/dist/esm/digi-badge-status.entry.js +2 -2
  1297. package/dist/esm/digi-bar-chart.entry.js +4 -5
  1298. package/dist/esm/digi-button.entry.js +129 -0
  1299. package/dist/esm/digi-calendar-datepicker.entry.js +2670 -0
  1300. package/dist/esm/digi-calendar-week-view.entry.js +57 -33
  1301. package/dist/esm/digi-calendar_2.entry.js +487 -0
  1302. package/dist/esm/digi-chart-line.entry.js +3 -3
  1303. package/dist/esm/digi-code-block_3.entry.js +269 -0
  1304. package/dist/esm/digi-code-example.entry.js +8 -7
  1305. package/dist/esm/digi-code.entry.js +2 -2
  1306. package/dist/esm/digi-context-menu.entry.js +239 -0
  1307. package/dist/esm/digi-dialog.entry.js +28 -7
  1308. package/dist/esm/digi-expandable-accordion.entry.js +2 -2
  1309. package/dist/esm/digi-expandable-faq-item.entry.js +124 -0
  1310. package/dist/esm/digi-expandable-faq.entry.js +20 -14
  1311. package/dist/esm/digi-footer-card.entry.js +28 -0
  1312. package/dist/esm/digi-footer.entry.js +78 -0
  1313. package/dist/esm/digi-form-category-filter.entry.js +150 -0
  1314. package/dist/esm/digi-form-checkbox.entry.js +139 -0
  1315. package/dist/esm/digi-form-error-list.entry.js +27 -19
  1316. package/dist/esm/digi-form-file-upload.entry.js +631 -0
  1317. package/dist/esm/digi-form-filter.entry.js +255 -0
  1318. package/dist/esm/digi-form-input-search.entry.js +6 -4
  1319. package/dist/esm/digi-form-input.entry.js +203 -0
  1320. package/dist/esm/digi-form-label_3.entry.js +143 -0
  1321. package/dist/esm/digi-form-radiogroup.entry.js +3 -3
  1322. package/dist/esm/digi-form-receipt.entry.js +26 -5
  1323. package/dist/esm/digi-form-select-filter.entry.js +651 -0
  1324. package/dist/esm/digi-form-select_2.entry.js +198 -0
  1325. package/dist/esm/digi-form-textarea.entry.js +4 -4
  1326. package/dist/esm/digi-header-avatar.entry.js +96 -0
  1327. package/dist/esm/digi-header-navigation-item.entry.js +21 -0
  1328. package/dist/esm/digi-header-navigation.entry.js +235 -0
  1329. package/dist/esm/digi-header-notification.entry.js +17 -0
  1330. package/dist/esm/digi-header.entry.js +114 -0
  1331. package/dist/esm/digi-icon-accessibility-deaf.entry.js +3 -3
  1332. package/dist/esm/digi-icon-accessibility-universal.entry.js +26 -0
  1333. package/dist/esm/digi-icon-apple.entry.js +3 -3
  1334. package/dist/esm/digi-icon-archive-outline.entry.js +3 -3
  1335. package/dist/esm/digi-icon-archive.entry.js +3 -3
  1336. package/dist/esm/digi-icon-arrow-back.entry.js +3 -3
  1337. package/dist/esm/digi-icon-arrow-down.entry.js +3 -3
  1338. package/dist/esm/digi-icon-arrow-left.entry.js +3 -3
  1339. package/dist/esm/digi-icon-arrow-right.entry.js +3 -3
  1340. package/dist/esm/digi-icon-arrow-sign-in.entry.js +3 -3
  1341. package/dist/esm/digi-icon-arrow-sign-out.entry.js +3 -3
  1342. package/dist/esm/digi-icon-arrow-up.entry.js +3 -3
  1343. package/dist/esm/digi-icon-at.entry.js +3 -3
  1344. package/dist/esm/digi-icon-bars.entry.js +26 -0
  1345. package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
  1346. package/dist/esm/digi-icon-bell.entry.js +3 -3
  1347. package/dist/esm/digi-icon-book.entry.js +3 -3
  1348. package/dist/esm/digi-icon-bookmark-outline.entry.js +3 -3
  1349. package/dist/esm/digi-icon-bookmark-solid.entry.js +3 -3
  1350. package/dist/esm/digi-icon-bubble-ellipsis.entry.js +3 -3
  1351. package/dist/esm/digi-icon-bubble.entry.js +3 -3
  1352. package/dist/esm/digi-icon-building-outline.entry.js +3 -3
  1353. package/dist/esm/digi-icon-building-solid.entry.js +3 -3
  1354. package/dist/esm/digi-icon-bullseye.entry.js +3 -3
  1355. package/dist/esm/digi-icon-calculator-solid.entry.js +3 -3
  1356. package/dist/esm/digi-icon-calendar-alt-alert.entry.js +3 -3
  1357. package/dist/esm/digi-icon-calendar.entry.js +3 -3
  1358. package/dist/esm/digi-icon-caret-circle-right.entry.js +3 -3
  1359. package/dist/esm/digi-icon-caret-down_2.entry.js +5 -5
  1360. package/dist/esm/digi-icon-caret-left.entry.js +3 -3
  1361. package/dist/esm/digi-icon-caret-right.entry.js +3 -3
  1362. package/dist/esm/digi-icon-chart_2.entry.js +5 -5
  1363. package/dist/esm/digi-icon-chat.entry.js +3 -3
  1364. package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +3 -3
  1365. package/dist/esm/digi-icon-check-circle-solid_4.entry.js +92 -0
  1366. package/dist/esm/digi-icon-check.entry.js +26 -0
  1367. package/dist/esm/digi-icon-checklist.entry.js +3 -3
  1368. package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
  1369. package/dist/esm/digi-icon-chevron-left_2.entry.js +48 -0
  1370. package/dist/esm/digi-icon-chevron-up.entry.js +3 -3
  1371. package/dist/esm/digi-icon-clock.entry.js +3 -3
  1372. package/dist/esm/digi-icon-communication-play-solid.entry.js +3 -3
  1373. package/dist/esm/digi-icon-compress-alt.entry.js +3 -3
  1374. package/dist/esm/digi-icon-comunication-case.entry.js +3 -3
  1375. package/dist/esm/digi-icon-comunication-flag.entry.js +3 -3
  1376. package/dist/esm/digi-icon-comunication-graduate.entry.js +3 -3
  1377. package/dist/esm/digi-icon-comunication-play.entry.js +3 -3
  1378. package/dist/esm/digi-icon-cooperation.entry.js +3 -3
  1379. package/dist/esm/digi-icon-copy.entry.js +26 -0
  1380. package/dist/esm/digi-icon-danger-outline.entry.js +3 -3
  1381. package/dist/esm/digi-icon-download.entry.js +3 -3
  1382. package/dist/esm/digi-icon-dxa.entry.js +3 -3
  1383. package/dist/esm/digi-icon-edit.entry.js +3 -3
  1384. package/dist/esm/digi-icon-ellipsis.entry.js +3 -3
  1385. package/dist/esm/digi-icon-envelope-filled.entry.js +3 -3
  1386. package/dist/esm/digi-icon-envelope.entry.js +26 -0
  1387. package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +3 -3
  1388. package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +3 -3
  1389. package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +3 -3
  1390. package/dist/esm/digi-icon-exclamation-triangle_4.entry.js +809 -0
  1391. package/dist/esm/digi-icon-expand-alt.entry.js +3 -3
  1392. package/dist/esm/digi-icon-external-link-alt_2.entry.js +49 -0
  1393. package/dist/esm/digi-icon-eye-slash.entry.js +3 -3
  1394. package/dist/esm/digi-icon-eye.entry.js +3 -3
  1395. package/dist/esm/digi-icon-facebook-square.entry.js +3 -3
  1396. package/dist/esm/digi-icon-file-add.entry.js +2 -2
  1397. package/dist/esm/digi-icon-file-document.entry.js +3 -3
  1398. package/dist/esm/digi-icon-file-excel.entry.js +3 -3
  1399. package/dist/esm/digi-icon-file-export.entry.js +2 -2
  1400. package/dist/esm/digi-icon-file-governing.entry.js +3 -3
  1401. package/dist/esm/digi-icon-file-pdf.entry.js +3 -3
  1402. package/dist/esm/digi-icon-file-powerpoint.entry.js +3 -3
  1403. package/dist/esm/digi-icon-file-remove.entry.js +2 -2
  1404. package/dist/esm/digi-icon-file-word.entry.js +3 -3
  1405. package/dist/esm/digi-icon-film.entry.js +3 -3
  1406. package/dist/esm/digi-icon-filter.entry.js +3 -3
  1407. package/dist/esm/digi-icon-folder-add.entry.js +2 -2
  1408. package/dist/esm/digi-icon-folder-directory.entry.js +2 -2
  1409. package/dist/esm/digi-icon-folder-open.entry.js +2 -2
  1410. package/dist/esm/digi-icon-folder.entry.js +2 -2
  1411. package/dist/esm/digi-icon-globe-filled.entry.js +3 -3
  1412. package/dist/esm/digi-icon-globe.entry.js +26 -0
  1413. package/dist/esm/digi-icon-headphones.entry.js +3 -3
  1414. package/dist/esm/digi-icon-heart-solid.entry.js +3 -3
  1415. package/dist/esm/digi-icon-heart.entry.js +3 -3
  1416. package/dist/esm/digi-icon-history.entry.js +3 -3
  1417. package/dist/esm/digi-icon-home.entry.js +3 -3
  1418. package/dist/esm/digi-icon-image.entry.js +3 -3
  1419. package/dist/esm/digi-icon-info-circle-solid.entry.js +3 -3
  1420. package/dist/esm/digi-icon-instagram.entry.js +3 -3
  1421. package/dist/esm/digi-icon-job-suggestion.entry.js +3 -3
  1422. package/dist/esm/digi-icon-language-outline.entry.js +3 -3
  1423. package/dist/esm/digi-icon-language.entry.js +3 -3
  1424. package/dist/esm/digi-icon-laptop-phone.entry.js +3 -3
  1425. package/dist/esm/digi-icon-lattlast.entry.js +3 -3
  1426. package/dist/esm/digi-icon-licence-bus.entry.js +3 -3
  1427. package/dist/esm/digi-icon-licence-car.entry.js +3 -3
  1428. package/dist/esm/digi-icon-licence-motorcycle.entry.js +3 -3
  1429. package/dist/esm/digi-icon-licence-truck.entry.js +3 -3
  1430. package/dist/esm/digi-icon-lightbulb.entry.js +3 -3
  1431. package/dist/esm/digi-icon-linkedin-in.entry.js +3 -3
  1432. package/dist/esm/digi-icon-list-ul_6.entry.js +136 -0
  1433. package/dist/esm/digi-icon-lock.entry.js +3 -3
  1434. package/dist/esm/digi-icon-marker-filled.entry.js +3 -3
  1435. package/dist/esm/digi-icon-marker.entry.js +3 -3
  1436. package/dist/esm/digi-icon-media-course.entry.js +3 -3
  1437. package/dist/esm/digi-icon-media-podcast.entry.js +3 -3
  1438. package/dist/esm/digi-icon-microphone-off.entry.js +3 -3
  1439. package/dist/esm/digi-icon-microphone.entry.js +3 -3
  1440. package/dist/esm/digi-icon-minus_2.entry.js +48 -0
  1441. package/dist/esm/digi-icon-move.entry.js +3 -3
  1442. package/dist/esm/digi-icon-notification-error_4.entry.js +92 -0
  1443. package/dist/esm/digi-icon-online-interview.entry.js +3 -3
  1444. package/dist/esm/digi-icon-online-meeting.entry.js +3 -3
  1445. package/dist/esm/digi-icon-online-task.entry.js +3 -3
  1446. package/dist/esm/digi-icon-open-source.entry.js +3 -3
  1447. package/dist/esm/digi-icon-palette.entry.js +3 -3
  1448. package/dist/esm/digi-icon-paste.entry.js +2 -2
  1449. package/dist/esm/digi-icon-pen.entry.js +3 -3
  1450. package/dist/esm/digi-icon-phone-hangup.entry.js +3 -3
  1451. package/dist/esm/digi-icon-phone.entry.js +3 -3
  1452. package/dist/esm/digi-icon-pinned-outline.entry.js +3 -3
  1453. package/dist/esm/digi-icon-pinned-solid.entry.js +3 -3
  1454. package/dist/esm/digi-icon-print.entry.js +3 -3
  1455. package/dist/esm/digi-icon-read.entry.js +3 -3
  1456. package/dist/esm/digi-icon-redo.entry.js +3 -3
  1457. package/dist/esm/digi-icon-scale.entry.js +2 -2
  1458. package/dist/esm/digi-icon-screensharing-off.entry.js +3 -3
  1459. package/dist/esm/digi-icon-screensharing.entry.js +3 -3
  1460. package/dist/esm/digi-icon-search.entry.js +3 -3
  1461. package/dist/esm/digi-icon-send-outline.entry.js +3 -3
  1462. package/dist/esm/digi-icon-send-solid.entry.js +3 -3
  1463. package/dist/esm/digi-icon-settings.entry.js +3 -3
  1464. package/dist/esm/digi-icon-share-alt.entry.js +3 -3
  1465. package/dist/esm/digi-icon-share-chain.entry.js +3 -3
  1466. package/dist/esm/digi-icon-sign.entry.js +26 -0
  1467. package/dist/esm/digi-icon-sliders-h.entry.js +3 -3
  1468. package/dist/esm/digi-icon-sokkandidat.entry.js +3 -3
  1469. package/dist/esm/digi-icon-sort-down.entry.js +3 -3
  1470. package/dist/esm/digi-icon-sort-up.entry.js +3 -3
  1471. package/dist/esm/digi-icon-sort.entry.js +3 -3
  1472. package/dist/esm/digi-icon-star-reg.entry.js +3 -3
  1473. package/dist/esm/digi-icon-star.entry.js +3 -3
  1474. package/dist/esm/digi-icon-suitcase-outline.entry.js +3 -3
  1475. package/dist/esm/digi-icon-suitcase-solid.entry.js +3 -3
  1476. package/dist/esm/digi-icon-system-assistance.entry.js +3 -3
  1477. package/dist/esm/digi-icon-table-column.entry.js +3 -3
  1478. package/dist/esm/digi-icon-table-row.entry.js +3 -3
  1479. package/dist/esm/digi-icon-task-done.entry.js +3 -3
  1480. package/dist/esm/digi-icon-toggle-off.entry.js +3 -3
  1481. package/dist/esm/digi-icon-toggle-on.entry.js +3 -3
  1482. package/dist/esm/digi-icon-twitter.entry.js +3 -3
  1483. package/dist/esm/digi-icon-tyck-till.entry.js +3 -3
  1484. package/dist/esm/digi-icon-unlock.entry.js +3 -3
  1485. package/dist/esm/digi-icon-update.entry.js +3 -3
  1486. package/dist/esm/digi-icon-upload.entry.js +3 -3
  1487. package/dist/esm/digi-icon-user-add.entry.js +2 -2
  1488. package/dist/esm/digi-icon-user-alt.entry.js +3 -3
  1489. package/dist/esm/digi-icon-user-edit.entry.js +2 -2
  1490. package/dist/esm/digi-icon-users-solid.entry.js +3 -3
  1491. package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
  1492. package/dist/esm/digi-icon-videocamera-off.entry.js +3 -3
  1493. package/dist/esm/digi-icon-videocamera.entry.js +3 -3
  1494. package/dist/esm/digi-icon-volume.entry.js +3 -3
  1495. package/dist/esm/digi-icon-web-tv.entry.js +3 -3
  1496. package/dist/esm/digi-icon-wifi-signal0.entry.js +3 -3
  1497. package/dist/esm/digi-icon-wifi-signal1.entry.js +3 -3
  1498. package/dist/esm/digi-icon-wifi-signal2.entry.js +3 -3
  1499. package/dist/esm/digi-icon-wifi-signal3.entry.js +3 -3
  1500. package/dist/esm/digi-icon-window.entry.js +3 -3
  1501. package/dist/esm/digi-icon-x-button.entry.js +3 -3
  1502. package/dist/esm/digi-icon-x.entry.js +26 -0
  1503. package/dist/esm/digi-icon-youtube.entry.js +3 -3
  1504. package/dist/esm/digi-info-card-multi-container.entry.js +15 -0
  1505. package/dist/esm/digi-info-card-multi.entry.js +63 -0
  1506. package/dist/esm/digi-info-card.entry.js +93 -0
  1507. package/dist/esm/digi-layout-block_2.entry.js +98 -0
  1508. package/dist/esm/digi-layout-columns.entry.js +35 -0
  1509. package/dist/esm/digi-link-button.entry.js +67 -0
  1510. package/dist/esm/digi-link-internal.entry.js +37 -0
  1511. package/dist/esm/digi-link.entry.js +73 -0
  1512. package/dist/esm/digi-list.entry.js +2 -2
  1513. package/dist/esm/digi-loader-skeleton.entry.js +4 -4
  1514. package/dist/esm/digi-logo.entry.js +52 -0
  1515. package/dist/esm/digi-media-figure.entry.js +2 -2
  1516. package/dist/esm/digi-media-image_2.entry.js +177 -0
  1517. package/dist/esm/digi-navigation-breadcrumbs.entry.js +3 -3
  1518. package/dist/esm/digi-navigation-pagination.entry.js +31 -10
  1519. package/dist/esm/digi-navigation-sidebar-button.entry.js +27 -0
  1520. package/dist/esm/digi-navigation-sidebar.entry.js +4 -4
  1521. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +165 -0
  1522. package/dist/esm/digi-navigation-vertical-menu.entry.js +198 -0
  1523. package/dist/esm/digi-notification-alert.entry.js +135 -0
  1524. package/dist/esm/digi-notification-error-page.entry.js +28 -7
  1525. package/dist/esm/digi-progress-circle.entry.js +9 -9
  1526. package/dist/esm/digi-progress-indicator.entry.js +151 -0
  1527. package/dist/esm/digi-progress-list-item.entry.js +7 -7
  1528. package/dist/esm/digi-progress-list.entry.js +2 -2
  1529. package/dist/esm/digi-progressbar.entry.js +3 -3
  1530. package/dist/esm/digi-quote.entry.js +2 -2
  1531. package/dist/esm/digi-table.entry.js +2 -2
  1532. package/dist/esm/digi-tablist-panel.entry.js +3 -3
  1533. package/dist/esm/digi-tablist.entry.js +7 -7
  1534. package/dist/esm/digi-tag-media.entry.js +45 -0
  1535. package/dist/esm/digi-tag.entry.js +2 -2
  1536. package/dist/esm/digi-title-logo.entry.js +128 -0
  1537. package/dist/esm/digi-tools-feedback-banner.entry.js +2 -2
  1538. package/dist/esm/digi-tools-feedback-rating.entry.js +2 -2
  1539. package/dist/esm/digi-tools-feedback.entry.js +26 -5
  1540. package/dist/esm/digi-tools-theme-provider.entry.js +27 -0
  1541. package/dist/esm/digi-typography-heading-jumbo.entry.js +44 -0
  1542. package/dist/esm/digi-typography-meta.entry.js +2 -2
  1543. package/dist/esm/digi-typography-preamble.entry.js +15 -0
  1544. package/dist/esm/digi-typography-time.entry.js +2 -2
  1545. package/dist/esm/digi-typography.entry.js +20 -0
  1546. package/dist/esm/digi-util-breakpoint-observer.entry.js +43 -0
  1547. package/dist/esm/digi-util-detect-click-outside.entry.js +2 -2
  1548. package/dist/esm/digi-util-detect-focus-outside.entry.js +2 -2
  1549. package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
  1550. package/dist/esm/digi-util-keyup-handler.entry.js +2 -2
  1551. package/dist/esm/digi-util-mutation-observer.entry.js +2 -2
  1552. package/dist/esm/digi-util-resize-observer.entry.js +2 -2
  1553. package/dist/esm/expandable-faq-item-variation.enum-C6B2KRZo.js +18 -0
  1554. package/dist/esm/footer-card-variation.enum-DzSu1-K0.js +8 -0
  1555. package/dist/esm/form-checkbox-variation.enum-6-MpaVf8.js +19 -0
  1556. package/dist/esm/form-file-upload-variation.enum-BfyJgcLA.js +24 -0
  1557. package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +8 -0
  1558. package/dist/esm/form-input-type.enum-BSJH8Lpg.js +25 -0
  1559. package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +29 -0
  1560. package/dist/esm/form-select-variation.enum-DCS1KcvC.js +16 -0
  1561. package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +8 -0
  1562. package/dist/esm/index-B8OxDoWx.js +4326 -0
  1563. package/dist/esm/index-BixPaBHw.js +170 -0
  1564. package/dist/esm/index-BsIL3T_0.js +63 -0
  1565. package/dist/esm/index-DnTiPaEs.js +856 -0
  1566. package/dist/esm/index.js +24 -3
  1567. package/dist/esm/info-card-multi-type.enum-u37CGyZ9.js +18 -0
  1568. package/dist/esm/info-card-variation.enum-PuRFa9pe.js +34 -0
  1569. package/dist/esm/layout-columns-variation.enum-DJCufAhy.js +23 -0
  1570. package/dist/esm/layout-container-max-width.enum-CuhrrYGE.js +21 -0
  1571. package/dist/esm/link-button-variation.enum-CPzcg9n3.js +9 -0
  1572. package/dist/esm/loader.js +3 -3
  1573. package/dist/esm/logo-color.enum-Chk3GCYK.js +7 -0
  1574. package/dist/esm/navigation-vertical-menu-variation.enum-DPkRL9Bv.js +13 -0
  1575. package/dist/esm/progress-indicator-heading-level.enum-DE6sqPn9.js +23 -0
  1576. package/dist/esm/tag-media-icon.enum-BvcVTm_t.js +11 -0
  1577. package/dist/esm/tools-theme-provider.brand.enum-DpDyNuVC.js +7 -0
  1578. package/dist/esm/typography-heading-jumbo-variation.enum-DNjGvZvz.js +17 -0
  1579. package/dist/esm/typography-variation.enum-D0J6vKy3.js +218 -0
  1580. package/dist/types/components/_calendar/week-view/calendar-week-view.d.ts +2 -0
  1581. package/dist/types/components/_expandable/expandable-faq/expandable-faq.d.ts +1 -0
  1582. package/dist/types/components/_media/media-svg/interfaces/svg-source.interface.d.ts +18 -0
  1583. package/dist/types/components/_media/media-svg/media-svg.d.ts +87 -0
  1584. package/dist/types/components/_media/media-svg/prepare-svg-markup.d.ts +6 -0
  1585. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +0 -9
  1586. package/dist/types/components/_util/util-mutation-observer/util-mutation-observer.d.ts +1 -0
  1587. package/dist/types/components.d.ts +120 -13
  1588. package/dist/types/enums.d.ts +0 -1
  1589. package/hydrate/index.js +1404 -632
  1590. package/hydrate/index.mjs +1404 -632
  1591. package/package.json +1 -1
  1592. package/components/p--YLJRmLS.js +0 -48
  1593. package/components/p-3_Ck_BWU.js +0 -48
  1594. package/components/p-3gn423rU.js +0 -48
  1595. package/components/p-7vfdf-4U.js +0 -105
  1596. package/components/p-9jEKJ0Z1.js +0 -48
  1597. package/components/p-B1SX79Lf.js +0 -630
  1598. package/components/p-BAki-15a.js +0 -60
  1599. package/components/p-BEM3xA-3.js +0 -48
  1600. package/components/p-BMr1lQHh.js +0 -141
  1601. package/components/p-BYZUJ0Q_.js +0 -13
  1602. package/components/p-BYhBNgOq.js +0 -48
  1603. package/components/p-BbUUrG89.js +0 -75
  1604. package/components/p-BcQq1buB.js +0 -48
  1605. package/components/p-BhTtquMq.js +0 -48
  1606. package/components/p-Bo9oHR9D.js +0 -81
  1607. package/components/p-BoRUMRYW.js +0 -48
  1608. package/components/p-Bum9Wl5q.js +0 -48
  1609. package/components/p-ByP83DBh.js +0 -48
  1610. package/components/p-BzMmHCSB.js +0 -49
  1611. package/components/p-BzRQHXkk.js +0 -38
  1612. package/components/p-C1N2PQN-.js +0 -48
  1613. package/components/p-C4Rio9hG.js +0 -60
  1614. package/components/p-C56QOHRm.js +0 -102
  1615. package/components/p-C9ikwWQF.js +0 -48
  1616. package/components/p-COxjzMep.js +0 -125
  1617. package/components/p-CPm-RoEd.js +0 -48
  1618. package/components/p-CSoVvaRi.js +0 -55
  1619. package/components/p-CTRQoc6X.js +0 -152
  1620. package/components/p-CYqDOjSd.js +0 -48
  1621. package/components/p-C_liG3my.js +0 -187
  1622. package/components/p-CdDAC2KP.js +0 -297
  1623. package/components/p-CniVam4y.js +0 -48
  1624. package/components/p-CoG9RI4t.js +0 -100
  1625. package/components/p-Cox56BXy.js +0 -87
  1626. package/components/p-CpZg6Iuo.js +0 -48
  1627. package/components/p-Cutmptn8.js +0 -3032
  1628. package/components/p-Cv0Cyn8V.js +0 -48
  1629. package/components/p-D-9_MtYO.js +0 -48
  1630. package/components/p-D2V5o06c.js +0 -48
  1631. package/components/p-D4cmAdFA.js +0 -48
  1632. package/components/p-D6eLfacz.js +0 -48
  1633. package/components/p-D9Zr5gxY.js +0 -48
  1634. package/components/p-DBmmQq4n.js +0 -72
  1635. package/components/p-DNfqowYt.js +0 -86
  1636. package/components/p-DOWTB5mR.js +0 -81
  1637. package/components/p-DZPk68vC.js +0 -48
  1638. package/components/p-DjL5-P92.js +0 -48
  1639. package/components/p-DlsE_Lbj.js +0 -48
  1640. package/components/p-Dq3Gzvuj.js +0 -259
  1641. package/components/p-DqNSLz9m.js +0 -48
  1642. package/components/p-Dr245DlL.js +0 -200
  1643. package/components/p-DrBrWBJQ.js +0 -48
  1644. package/components/p-Dszhojo9.js +0 -48
  1645. package/components/p-LELn8zbj.js +0 -48
  1646. package/components/p-LNwPopMi.js +0 -95
  1647. package/components/p-OmyagUm4.js +0 -171
  1648. package/components/p-eGGSFWHS.js +0 -48
  1649. package/components/p-h1nZNGEe.js +0 -48
  1650. package/components/p-h53xLQkQ.js +0 -48
  1651. package/components/p-jCc3FoaU.js +0 -48
  1652. package/components/p-p8vuAfHZ.js +0 -48
  1653. package/components/p-sBkGihbY.js +0 -172
  1654. package/components/p-uOfm1exc.js +0 -59
  1655. package/components/p-wHuigUnv.js +0 -53
  1656. package/dist/cjs/code-example-variation.enum-BCENTUV2.js +0 -33
  1657. package/dist/cjs/digi-button_83.cjs.entry.js +0 -8868
  1658. package/dist/cjs/digi-code-block_2.cjs.entry.js +0 -131
  1659. package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +0 -28
  1660. package/dist/cjs/digi-loader-spinner.cjs.entry.js +0 -31
  1661. package/dist/cjs/form-input-type.enum-B2CsNSBg.js +0 -39
  1662. package/dist/cjs/index-D09d7Toa.js +0 -4124
  1663. package/dist/cjs/index-DUQtADgG.js +0 -1045
  1664. package/dist/cjs/typography-variation.enum-B05du-qd.js +0 -511
  1665. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +0 -5
  1666. package/dist/collection/styles/src/themes/_alias-dark.mixin.scss +0 -122
  1667. package/dist/collection/styles/src/themes/_alias-light.mixin.scss +0 -122
  1668. package/dist/digi-arbetsformedlingen/p-00a22b0b.entry.js +0 -1
  1669. package/dist/digi-arbetsformedlingen/p-00be03cc.entry.js +0 -1
  1670. package/dist/digi-arbetsformedlingen/p-033c85bb.entry.js +0 -1
  1671. package/dist/digi-arbetsformedlingen/p-04fd11d4.entry.js +0 -1
  1672. package/dist/digi-arbetsformedlingen/p-05e56a1b.entry.js +0 -1
  1673. package/dist/digi-arbetsformedlingen/p-06722b9b.entry.js +0 -1
  1674. package/dist/digi-arbetsformedlingen/p-06800d28.entry.js +0 -1
  1675. package/dist/digi-arbetsformedlingen/p-0695a8ff.entry.js +0 -1
  1676. package/dist/digi-arbetsformedlingen/p-070363d0.entry.js +0 -1
  1677. package/dist/digi-arbetsformedlingen/p-07521cb5.entry.js +0 -1
  1678. package/dist/digi-arbetsformedlingen/p-08313c3d.entry.js +0 -1
  1679. package/dist/digi-arbetsformedlingen/p-0bb896cc.entry.js +0 -1
  1680. package/dist/digi-arbetsformedlingen/p-0bd72f49.entry.js +0 -1
  1681. package/dist/digi-arbetsformedlingen/p-0faeb0fd.entry.js +0 -1
  1682. package/dist/digi-arbetsformedlingen/p-112743ca.entry.js +0 -1
  1683. package/dist/digi-arbetsformedlingen/p-14b912cb.entry.js +0 -1
  1684. package/dist/digi-arbetsformedlingen/p-154a720d.entry.js +0 -1
  1685. package/dist/digi-arbetsformedlingen/p-156b09dd.entry.js +0 -1
  1686. package/dist/digi-arbetsformedlingen/p-171c7aa8.entry.js +0 -1
  1687. package/dist/digi-arbetsformedlingen/p-180374f3.entry.js +0 -1
  1688. package/dist/digi-arbetsformedlingen/p-1926b93c.entry.js +0 -1
  1689. package/dist/digi-arbetsformedlingen/p-19c79253.entry.js +0 -1
  1690. package/dist/digi-arbetsformedlingen/p-1aadc09d.entry.js +0 -1
  1691. package/dist/digi-arbetsformedlingen/p-1c015701.entry.js +0 -1
  1692. package/dist/digi-arbetsformedlingen/p-1f3ad303.entry.js +0 -1
  1693. package/dist/digi-arbetsformedlingen/p-20bf8cd5.entry.js +0 -1
  1694. package/dist/digi-arbetsformedlingen/p-2157aac9.entry.js +0 -1
  1695. package/dist/digi-arbetsformedlingen/p-22e8fc99.entry.js +0 -1
  1696. package/dist/digi-arbetsformedlingen/p-23bc93c4.entry.js +0 -1
  1697. package/dist/digi-arbetsformedlingen/p-23c50801.entry.js +0 -1
  1698. package/dist/digi-arbetsformedlingen/p-288a5840.entry.js +0 -1
  1699. package/dist/digi-arbetsformedlingen/p-288fa95a.entry.js +0 -1
  1700. package/dist/digi-arbetsformedlingen/p-29382972.entry.js +0 -1
  1701. package/dist/digi-arbetsformedlingen/p-2aac365b.entry.js +0 -1
  1702. package/dist/digi-arbetsformedlingen/p-2cceccb9.entry.js +0 -1
  1703. package/dist/digi-arbetsformedlingen/p-3026fc14.entry.js +0 -1
  1704. package/dist/digi-arbetsformedlingen/p-3167c78e.entry.js +0 -1
  1705. package/dist/digi-arbetsformedlingen/p-3207b63e.entry.js +0 -1
  1706. package/dist/digi-arbetsformedlingen/p-346ea2e8.entry.js +0 -1
  1707. package/dist/digi-arbetsformedlingen/p-379a34e9.entry.js +0 -1
  1708. package/dist/digi-arbetsformedlingen/p-381f0a30.entry.js +0 -1
  1709. package/dist/digi-arbetsformedlingen/p-3889843b.entry.js +0 -1
  1710. package/dist/digi-arbetsformedlingen/p-38ef94a1.entry.js +0 -1
  1711. package/dist/digi-arbetsformedlingen/p-3aac1d00.entry.js +0 -1
  1712. package/dist/digi-arbetsformedlingen/p-3d956ad4.entry.js +0 -1
  1713. package/dist/digi-arbetsformedlingen/p-3e550778.entry.js +0 -1
  1714. package/dist/digi-arbetsformedlingen/p-3e59199d.entry.js +0 -1
  1715. package/dist/digi-arbetsformedlingen/p-3e77976d.entry.js +0 -1
  1716. package/dist/digi-arbetsformedlingen/p-40950d94.entry.js +0 -1
  1717. package/dist/digi-arbetsformedlingen/p-40b5e63d.entry.js +0 -1
  1718. package/dist/digi-arbetsformedlingen/p-40cee4e2.entry.js +0 -1
  1719. package/dist/digi-arbetsformedlingen/p-40eef7c0.entry.js +0 -1
  1720. package/dist/digi-arbetsformedlingen/p-412566b0.entry.js +0 -1
  1721. package/dist/digi-arbetsformedlingen/p-41f64877.entry.js +0 -1
  1722. package/dist/digi-arbetsformedlingen/p-43f98e8e.entry.js +0 -1
  1723. package/dist/digi-arbetsformedlingen/p-45ec18f4.entry.js +0 -1
  1724. package/dist/digi-arbetsformedlingen/p-485735a9.entry.js +0 -1
  1725. package/dist/digi-arbetsformedlingen/p-4adef0bb.entry.js +0 -1
  1726. package/dist/digi-arbetsformedlingen/p-4d99c202.entry.js +0 -1
  1727. package/dist/digi-arbetsformedlingen/p-4e34c237.entry.js +0 -1
  1728. package/dist/digi-arbetsformedlingen/p-4e3b34fb.entry.js +0 -1
  1729. package/dist/digi-arbetsformedlingen/p-4e652924.entry.js +0 -1
  1730. package/dist/digi-arbetsformedlingen/p-4f2b8c0f.entry.js +0 -1
  1731. package/dist/digi-arbetsformedlingen/p-4f4f05fa.entry.js +0 -1
  1732. package/dist/digi-arbetsformedlingen/p-511159dd.entry.js +0 -1
  1733. package/dist/digi-arbetsformedlingen/p-52615929.entry.js +0 -1
  1734. package/dist/digi-arbetsformedlingen/p-55ec1328.entry.js +0 -1
  1735. package/dist/digi-arbetsformedlingen/p-57168029.entry.js +0 -1
  1736. package/dist/digi-arbetsformedlingen/p-5cf33e02.entry.js +0 -1
  1737. package/dist/digi-arbetsformedlingen/p-5daa575d.entry.js +0 -1
  1738. package/dist/digi-arbetsformedlingen/p-5e4a9400.entry.js +0 -1
  1739. package/dist/digi-arbetsformedlingen/p-5e996da3.entry.js +0 -1
  1740. package/dist/digi-arbetsformedlingen/p-5fb00a2c.entry.js +0 -1
  1741. package/dist/digi-arbetsformedlingen/p-60252fa9.entry.js +0 -1
  1742. package/dist/digi-arbetsformedlingen/p-61abf8f8.entry.js +0 -1
  1743. package/dist/digi-arbetsformedlingen/p-62d39849.entry.js +0 -1
  1744. package/dist/digi-arbetsformedlingen/p-62e76c7d.entry.js +0 -1
  1745. package/dist/digi-arbetsformedlingen/p-64054503.entry.js +0 -1
  1746. package/dist/digi-arbetsformedlingen/p-6455507a.entry.js +0 -1
  1747. package/dist/digi-arbetsformedlingen/p-64df0bbc.entry.js +0 -1
  1748. package/dist/digi-arbetsformedlingen/p-680af5eb.entry.js +0 -1
  1749. package/dist/digi-arbetsformedlingen/p-687fa573.entry.js +0 -1
  1750. package/dist/digi-arbetsformedlingen/p-68e02144.entry.js +0 -1
  1751. package/dist/digi-arbetsformedlingen/p-68e48d9a.entry.js +0 -1
  1752. package/dist/digi-arbetsformedlingen/p-695ada73.entry.js +0 -1
  1753. package/dist/digi-arbetsformedlingen/p-695feb02.entry.js +0 -1
  1754. package/dist/digi-arbetsformedlingen/p-698d35aa.entry.js +0 -1
  1755. package/dist/digi-arbetsformedlingen/p-6a4293b2.entry.js +0 -1
  1756. package/dist/digi-arbetsformedlingen/p-6b81d3f6.entry.js +0 -1
  1757. package/dist/digi-arbetsformedlingen/p-6d1bdeda.entry.js +0 -1
  1758. package/dist/digi-arbetsformedlingen/p-6e3fa6a0.entry.js +0 -1
  1759. package/dist/digi-arbetsformedlingen/p-710eb1b3.entry.js +0 -1
  1760. package/dist/digi-arbetsformedlingen/p-7422b8fd.entry.js +0 -1
  1761. package/dist/digi-arbetsformedlingen/p-7490c209.entry.js +0 -1
  1762. package/dist/digi-arbetsformedlingen/p-757fb041.entry.js +0 -1
  1763. package/dist/digi-arbetsformedlingen/p-75e897b5.entry.js +0 -1
  1764. package/dist/digi-arbetsformedlingen/p-76210dd9.entry.js +0 -1
  1765. package/dist/digi-arbetsformedlingen/p-768f8955.entry.js +0 -1
  1766. package/dist/digi-arbetsformedlingen/p-776b7f82.entry.js +0 -1
  1767. package/dist/digi-arbetsformedlingen/p-77abaf6d.entry.js +0 -1
  1768. package/dist/digi-arbetsformedlingen/p-77ad7b33.entry.js +0 -1
  1769. package/dist/digi-arbetsformedlingen/p-7b701d82.entry.js +0 -1
  1770. package/dist/digi-arbetsformedlingen/p-7ca8e9a0.entry.js +0 -1
  1771. package/dist/digi-arbetsformedlingen/p-7e2d681f.entry.js +0 -1
  1772. package/dist/digi-arbetsformedlingen/p-7e3c1218.entry.js +0 -1
  1773. package/dist/digi-arbetsformedlingen/p-7ee85af0.entry.js +0 -1
  1774. package/dist/digi-arbetsformedlingen/p-8013eb1f.entry.js +0 -1
  1775. package/dist/digi-arbetsformedlingen/p-807a2d79.entry.js +0 -1
  1776. package/dist/digi-arbetsformedlingen/p-809bb18a.entry.js +0 -1
  1777. package/dist/digi-arbetsformedlingen/p-83cd9691.entry.js +0 -1
  1778. package/dist/digi-arbetsformedlingen/p-85c16f41.entry.js +0 -1
  1779. package/dist/digi-arbetsformedlingen/p-882e327a.entry.js +0 -1
  1780. package/dist/digi-arbetsformedlingen/p-8e9c761c.entry.js +0 -1
  1781. package/dist/digi-arbetsformedlingen/p-8f2d259c.entry.js +0 -1
  1782. package/dist/digi-arbetsformedlingen/p-8fbae44a.entry.js +0 -1
  1783. package/dist/digi-arbetsformedlingen/p-9027e02f.entry.js +0 -1
  1784. package/dist/digi-arbetsformedlingen/p-93a6fa8e.entry.js +0 -1
  1785. package/dist/digi-arbetsformedlingen/p-997c75e9.entry.js +0 -1
  1786. package/dist/digi-arbetsformedlingen/p-99a22ee4.entry.js +0 -1
  1787. package/dist/digi-arbetsformedlingen/p-99c3df64.entry.js +0 -1
  1788. package/dist/digi-arbetsformedlingen/p-9a32d5ca.entry.js +0 -1
  1789. package/dist/digi-arbetsformedlingen/p-9c371a1d.entry.js +0 -1
  1790. package/dist/digi-arbetsformedlingen/p-9c3830ec.entry.js +0 -1
  1791. package/dist/digi-arbetsformedlingen/p-9e376586.entry.js +0 -1
  1792. package/dist/digi-arbetsformedlingen/p-9ea8e529.entry.js +0 -1
  1793. package/dist/digi-arbetsformedlingen/p-CC1-vxoR.js +0 -1
  1794. package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
  1795. package/dist/digi-arbetsformedlingen/p-Cnyfh_8_.js +0 -1
  1796. package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
  1797. package/dist/digi-arbetsformedlingen/p-a257d262.entry.js +0 -1
  1798. package/dist/digi-arbetsformedlingen/p-a394fdc9.entry.js +0 -1
  1799. package/dist/digi-arbetsformedlingen/p-a51c022c.entry.js +0 -1
  1800. package/dist/digi-arbetsformedlingen/p-a57d3ae0.entry.js +0 -1
  1801. package/dist/digi-arbetsformedlingen/p-a5a425c5.entry.js +0 -1
  1802. package/dist/digi-arbetsformedlingen/p-ab0770c5.entry.js +0 -1
  1803. package/dist/digi-arbetsformedlingen/p-b1ea38a0.entry.js +0 -1
  1804. package/dist/digi-arbetsformedlingen/p-b2ba576c.entry.js +0 -1
  1805. package/dist/digi-arbetsformedlingen/p-b4cc6011.entry.js +0 -1
  1806. package/dist/digi-arbetsformedlingen/p-b544fd2c.entry.js +0 -1
  1807. package/dist/digi-arbetsformedlingen/p-b6c279c5.entry.js +0 -1
  1808. package/dist/digi-arbetsformedlingen/p-b9e452ce.entry.js +0 -1
  1809. package/dist/digi-arbetsformedlingen/p-bb067076.entry.js +0 -1
  1810. package/dist/digi-arbetsformedlingen/p-bd1a3580.entry.js +0 -1
  1811. package/dist/digi-arbetsformedlingen/p-bd53fcb1.entry.js +0 -1
  1812. package/dist/digi-arbetsformedlingen/p-bdff5a32.entry.js +0 -1
  1813. package/dist/digi-arbetsformedlingen/p-be0d08e5.entry.js +0 -1
  1814. package/dist/digi-arbetsformedlingen/p-bf3a8638.entry.js +0 -1
  1815. package/dist/digi-arbetsformedlingen/p-c01ae726.entry.js +0 -1
  1816. package/dist/digi-arbetsformedlingen/p-c471d5a2.entry.js +0 -1
  1817. package/dist/digi-arbetsformedlingen/p-c4cfdf73.entry.js +0 -1
  1818. package/dist/digi-arbetsformedlingen/p-c6262f66.entry.js +0 -1
  1819. package/dist/digi-arbetsformedlingen/p-c8e74516.entry.js +0 -1
  1820. package/dist/digi-arbetsformedlingen/p-c9e5115a.entry.js +0 -1
  1821. package/dist/digi-arbetsformedlingen/p-cJjrzQkn.js +0 -3
  1822. package/dist/digi-arbetsformedlingen/p-ca85bc88.entry.js +0 -1
  1823. package/dist/digi-arbetsformedlingen/p-ca988802.entry.js +0 -1
  1824. package/dist/digi-arbetsformedlingen/p-cb32af0e.entry.js +0 -1
  1825. package/dist/digi-arbetsformedlingen/p-ccd7d2d0.entry.js +0 -1
  1826. package/dist/digi-arbetsformedlingen/p-cfa7c655.entry.js +0 -1
  1827. package/dist/digi-arbetsformedlingen/p-cfbcea93.entry.js +0 -1
  1828. package/dist/digi-arbetsformedlingen/p-d03d868c.entry.js +0 -1
  1829. package/dist/digi-arbetsformedlingen/p-d04453f0.entry.js +0 -1
  1830. package/dist/digi-arbetsformedlingen/p-d13183a9.entry.js +0 -1
  1831. package/dist/digi-arbetsformedlingen/p-d2939e70.entry.js +0 -1
  1832. package/dist/digi-arbetsformedlingen/p-d2a48655.entry.js +0 -1
  1833. package/dist/digi-arbetsformedlingen/p-d4d64771.entry.js +0 -1
  1834. package/dist/digi-arbetsformedlingen/p-d4dd422b.entry.js +0 -1
  1835. package/dist/digi-arbetsformedlingen/p-d7243054.entry.js +0 -1
  1836. package/dist/digi-arbetsformedlingen/p-d7e1b868.entry.js +0 -1
  1837. package/dist/digi-arbetsformedlingen/p-d896e0ed.entry.js +0 -1
  1838. package/dist/digi-arbetsformedlingen/p-da6fa9b2.entry.js +0 -1
  1839. package/dist/digi-arbetsformedlingen/p-dbb048dd.entry.js +0 -1
  1840. package/dist/digi-arbetsformedlingen/p-de1eb6fd.entry.js +0 -1
  1841. package/dist/digi-arbetsformedlingen/p-deb302c2.entry.js +0 -1
  1842. package/dist/digi-arbetsformedlingen/p-e0a1d5e3.entry.js +0 -1
  1843. package/dist/digi-arbetsformedlingen/p-e0a92ad7.entry.js +0 -1
  1844. package/dist/digi-arbetsformedlingen/p-e38bdce1.entry.js +0 -1
  1845. package/dist/digi-arbetsformedlingen/p-e5e3bc95.entry.js +0 -1
  1846. package/dist/digi-arbetsformedlingen/p-e6ac43a8.entry.js +0 -1
  1847. package/dist/digi-arbetsformedlingen/p-eb68b5a9.entry.js +0 -1
  1848. package/dist/digi-arbetsformedlingen/p-ebefba91.entry.js +0 -1
  1849. package/dist/digi-arbetsformedlingen/p-ed9a8fc0.entry.js +0 -1
  1850. package/dist/digi-arbetsformedlingen/p-efa821d7.entry.js +0 -1
  1851. package/dist/digi-arbetsformedlingen/p-f027225a.entry.js +0 -1
  1852. package/dist/digi-arbetsformedlingen/p-f0d84649.entry.js +0 -1
  1853. package/dist/digi-arbetsformedlingen/p-f0e1b8a2.entry.js +0 -1
  1854. package/dist/digi-arbetsformedlingen/p-f24d55e5.entry.js +0 -1
  1855. package/dist/digi-arbetsformedlingen/p-f3034c3a.entry.js +0 -1
  1856. package/dist/digi-arbetsformedlingen/p-f34e27b3.entry.js +0 -1
  1857. package/dist/digi-arbetsformedlingen/p-f39a7d38.entry.js +0 -1
  1858. package/dist/digi-arbetsformedlingen/p-f4fc69b0.entry.js +0 -1
  1859. package/dist/digi-arbetsformedlingen/p-f63d1390.entry.js +0 -1
  1860. package/dist/digi-arbetsformedlingen/p-f644c51e.entry.js +0 -1
  1861. package/dist/digi-arbetsformedlingen/p-f7463302.entry.js +0 -1
  1862. package/dist/digi-arbetsformedlingen/p-f806ee28.entry.js +0 -1
  1863. package/dist/digi-arbetsformedlingen/p-f86bf1ec.entry.js +0 -1
  1864. package/dist/digi-arbetsformedlingen/p-f9c9ae8c.entry.js +0 -1
  1865. package/dist/digi-arbetsformedlingen/p-f9d77caf.entry.js +0 -1
  1866. package/dist/digi-arbetsformedlingen/p-fa0ca48d.entry.js +0 -1
  1867. package/dist/digi-arbetsformedlingen/p-fb3b05bd.entry.js +0 -1
  1868. package/dist/digi-arbetsformedlingen/p-fe8f0022.entry.js +0 -1
  1869. package/dist/digi-arbetsformedlingen/p-ff9dfdda.entry.js +0 -1
  1870. package/dist/digi-arbetsformedlingen/p-ffd1add2.entry.js +0 -1
  1871. package/dist/digi-arbetsformedlingen/p-ffef6b56.entry.js +0 -1
  1872. package/dist/digi-arbetsformedlingen/p-ffffdd61.entry.js +0 -1
  1873. package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-dark.mixin.scss +0 -122
  1874. package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-light.mixin.scss +0 -122
  1875. package/dist/esm/code-example-variation.enum-Ooszw6tl.js +0 -33
  1876. package/dist/esm/digi-button_83.entry.js +0 -8784
  1877. package/dist/esm/digi-code-block_2.entry.js +0 -128
  1878. package/dist/esm/digi-icon-exclamation-triangle.entry.js +0 -26
  1879. package/dist/esm/digi-loader-spinner.entry.js +0 -29
  1880. package/dist/esm/form-input-type.enum-CN1mgrt1.js +0 -39
  1881. package/dist/esm/index-Cnyfh_8_.js +0 -1023
  1882. package/dist/esm/index-cJjrzQkn.js +0 -4094
  1883. package/dist/esm/typography-variation.enum-CC1-vxoR.js +0 -511
  1884. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +0 -4
@@ -0,0 +1,2672 @@
1
+ 'use strict';
2
+
3
+ var index$2 = require('./index-D36hZyeW.js');
4
+ var text = require('./text-Cu3CaHGj.js');
5
+ require('./badge-notification-shape.enum-CEyEo2G5.js');
6
+ var typographyVariation_enum = require('./typography-variation.enum-C4i5DFTI.js');
7
+ require('./badge-status-variation.enum-XX8d--rj.js');
8
+ require('./button-size.enum-DgyvMkwE.js');
9
+ require('./button-type.enum-2UH0KkO-.js');
10
+ require('./button-variation.enum-DkUalo9f.js');
11
+ require('./calendar-week-view-heading-level.enum-NEkm5SUq.js');
12
+ require('./bar-chart-variation.enum-BZFN4377.js');
13
+ require('./code-example-variation.enum-Cq-BioXW.js');
14
+ require('./code-variation.enum-BM-hhQuD.js');
15
+ require('./expandable-accordion-header-level.enum-CjL9V3Kt.js');
16
+ require('./expandable-faq-item-variation.enum-aKkYAQgd.js');
17
+ require('./expandable-faq-variation.enum-FEybT9s4.js');
18
+ require('./footer-card-variation.enum-BPnpkC45.js');
19
+ require('./form-checkbox-variation.enum-BfOGU4Qt.js');
20
+ require('./form-file-upload-variation.enum-xcEOoggr.js');
21
+ require('./form-input-search-variation.enum-VVfvlVeM.js');
22
+ require('./form-input-type.enum-DvF_MTHK.js');
23
+ var formInputVariation_enum = require('./form-input-variation.enum-kpoXNUuI.js');
24
+ require('./form-radiogroup-validation.enum-DBDbjF6N.js');
25
+ require('./form-select-variation.enum-e6wjWyaS.js');
26
+ require('./form-textarea-variation.enum-BcEyaR5W.js');
27
+ require('./form-validation-message-variation.enum-BA5nmCiw.js');
28
+ require('./info-card-multi-type.enum-DlNiPNfH.js');
29
+ require('./info-card-variation.enum-prsWZkWC.js');
30
+ require('./layout-container-max-width.enum-DqWtU7WK.js');
31
+ require('./layout-block-variation.enum-BldWvnDk.js');
32
+ require('./layout-columns-variation.enum-OgD-hvRN.js');
33
+ require('./link-button-variation.enum-03cHZQxx.js');
34
+ require('./list-type.enum-CkFOn-eB.js');
35
+ require('./loader-skeleton-variation.enum-UvPtdesw.js');
36
+ require('./loader-spinner-size.enum-u5AQs-UJ.js');
37
+ require('./logo-color.enum-BJZv-f6R.js');
38
+ require('./media-figure-alignment.enum-BWO1sg67.js');
39
+ require('./navigation-sidebar-variation.enum-70NIGQoi.js');
40
+ require('./navigation-vertical-menu-variation.enum-7IUICId3.js');
41
+ require('./progress-circle-heading-level.enum-DNlyzNd6.js');
42
+ require('./progress-indicator-heading-level.enum-CNarUduE.js');
43
+ require('./progress-list-item-variation.enum-Dk3YS--x.js');
44
+ require('./progress-list-variation.enum-BvLLJK9O.js');
45
+ require('./progressbar-variation.enum-CnRJPSs7.js');
46
+ require('./quote-image-inner-position.enum-CLifVlj0.js');
47
+ require('./table-variation.enum-DlDZKXbq.js');
48
+ require('./tag-media-icon.enum-DzhiwvjI.js');
49
+ require('./tag-size.enum-DFom3Smn.js');
50
+ require('./tools-feedback-banner-type.enum-Dyeg3XNb.js');
51
+ require('./tools-feedback-rating-variation.enum-CBI4GhXs.js');
52
+ require('./tools-theme-provider.brand.enum-BzduvCUY.js');
53
+ require('./typography-heading-jumbo-variation.enum-Di1Jeh0G.js');
54
+ require('./typography-meta-variation.enum-lvDemnSz.js');
55
+ require('./typography-time-variation.enum-D2gIVzYH.js');
56
+ require('./util-breakpoint-observer-breakpoints.enum-zoJiezkV.js');
57
+ var randomIdGenerator_util = require('./randomIdGenerator.util-C8XR2Tn1.js');
58
+ var detectClickOutside_util = require('./detectClickOutside.util-DKR8Sdiw.js');
59
+ var index = require('./index-Snltmefx.js');
60
+ var index$1 = require('./index-Bdlw-Iuy.js');
61
+ var index$3 = require('./index-r0sb9TCr.js');
62
+ require('./detectClosest.util-D1z809xM.js');
63
+
64
+ function assign(target, dirtyObject) {
65
+ if (target == null) {
66
+ throw new TypeError('assign requires that input parameter not be null or undefined');
67
+ }
68
+
69
+ dirtyObject = dirtyObject || {};
70
+
71
+ for (var property in dirtyObject) {
72
+ if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) {
73
+ target[property] = dirtyObject[property];
74
+ }
75
+ }
76
+
77
+ return target;
78
+ }
79
+
80
+ // See issue: https://github.com/date-fns/date-fns/issues/376
81
+
82
+ function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {
83
+ index.requiredArgs(2, arguments);
84
+ var options = dirtyOptions || {};
85
+ var locale = options.locale;
86
+ var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
87
+ var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
88
+ var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
89
+
90
+ if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
91
+ throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
92
+ }
93
+
94
+ var date = index.toDate(dirtyDate);
95
+ var day = index$1.toInteger(dirtyDay);
96
+ var currentDay = date.getUTCDay();
97
+ var remainder = day % 7;
98
+ var dayIndex = (remainder + 7) % 7;
99
+ var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
100
+ date.setUTCDate(date.getUTCDate() + diff);
101
+ return date;
102
+ }
103
+
104
+ // See issue: https://github.com/date-fns/date-fns/issues/376
105
+
106
+ function setUTCISODay(dirtyDate, dirtyDay) {
107
+ index.requiredArgs(2, arguments);
108
+ var day = index$1.toInteger(dirtyDay);
109
+
110
+ if (day % 7 === 0) {
111
+ day = day - 7;
112
+ }
113
+
114
+ var weekStartsOn = 1;
115
+ var date = index.toDate(dirtyDate);
116
+ var currentDay = date.getUTCDay();
117
+ var remainder = day % 7;
118
+ var dayIndex = (remainder + 7) % 7;
119
+ var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
120
+ date.setUTCDate(date.getUTCDate() + diff);
121
+ return date;
122
+ }
123
+
124
+ // See issue: https://github.com/date-fns/date-fns/issues/376
125
+
126
+ function setUTCISOWeek(dirtyDate, dirtyISOWeek) {
127
+ index.requiredArgs(2, arguments);
128
+ var date = index.toDate(dirtyDate);
129
+ var isoWeek = index$1.toInteger(dirtyISOWeek);
130
+ var diff = index$1.getUTCISOWeek(date) - isoWeek;
131
+ date.setUTCDate(date.getUTCDate() - diff * 7);
132
+ return date;
133
+ }
134
+
135
+ // See issue: https://github.com/date-fns/date-fns/issues/376
136
+
137
+ function setUTCWeek(dirtyDate, dirtyWeek, options) {
138
+ index.requiredArgs(2, arguments);
139
+ var date = index.toDate(dirtyDate);
140
+ var week = index$1.toInteger(dirtyWeek);
141
+ var diff = index$1.getUTCWeek(date, options) - week;
142
+ date.setUTCDate(date.getUTCDate() - diff * 7);
143
+ return date;
144
+ }
145
+
146
+ var MILLISECONDS_IN_HOUR = 3600000;
147
+ var MILLISECONDS_IN_MINUTE = 60000;
148
+ var MILLISECONDS_IN_SECOND = 1000;
149
+ var numericPatterns = {
150
+ month: /^(1[0-2]|0?\d)/,
151
+ // 0 to 12
152
+ date: /^(3[0-1]|[0-2]?\d)/,
153
+ // 0 to 31
154
+ dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
155
+ // 0 to 366
156
+ week: /^(5[0-3]|[0-4]?\d)/,
157
+ // 0 to 53
158
+ hour23h: /^(2[0-3]|[0-1]?\d)/,
159
+ // 0 to 23
160
+ hour24h: /^(2[0-4]|[0-1]?\d)/,
161
+ // 0 to 24
162
+ hour11h: /^(1[0-1]|0?\d)/,
163
+ // 0 to 11
164
+ hour12h: /^(1[0-2]|0?\d)/,
165
+ // 0 to 12
166
+ minute: /^[0-5]?\d/,
167
+ // 0 to 59
168
+ second: /^[0-5]?\d/,
169
+ // 0 to 59
170
+ singleDigit: /^\d/,
171
+ // 0 to 9
172
+ twoDigits: /^\d{1,2}/,
173
+ // 0 to 99
174
+ threeDigits: /^\d{1,3}/,
175
+ // 0 to 999
176
+ fourDigits: /^\d{1,4}/,
177
+ // 0 to 9999
178
+ anyDigitsSigned: /^-?\d+/,
179
+ singleDigitSigned: /^-?\d/,
180
+ // 0 to 9, -0 to -9
181
+ twoDigitsSigned: /^-?\d{1,2}/,
182
+ // 0 to 99, -0 to -99
183
+ threeDigitsSigned: /^-?\d{1,3}/,
184
+ // 0 to 999, -0 to -999
185
+ fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999
186
+
187
+ };
188
+ var timezonePatterns = {
189
+ basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
190
+ basic: /^([+-])(\d{2})(\d{2})|Z/,
191
+ basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
192
+ extended: /^([+-])(\d{2}):(\d{2})|Z/,
193
+ extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
194
+ };
195
+
196
+ function parseNumericPattern(pattern, string, valueCallback) {
197
+ var matchResult = string.match(pattern);
198
+
199
+ if (!matchResult) {
200
+ return null;
201
+ }
202
+
203
+ var value = parseInt(matchResult[0], 10);
204
+ return {
205
+ value: valueCallback ? valueCallback(value) : value,
206
+ rest: string.slice(matchResult[0].length)
207
+ };
208
+ }
209
+
210
+ function parseTimezonePattern(pattern, string) {
211
+ var matchResult = string.match(pattern);
212
+
213
+ if (!matchResult) {
214
+ return null;
215
+ } // Input is 'Z'
216
+
217
+
218
+ if (matchResult[0] === 'Z') {
219
+ return {
220
+ value: 0,
221
+ rest: string.slice(1)
222
+ };
223
+ }
224
+
225
+ var sign = matchResult[1] === '+' ? 1 : -1;
226
+ var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
227
+ var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
228
+ var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
229
+ return {
230
+ value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),
231
+ rest: string.slice(matchResult[0].length)
232
+ };
233
+ }
234
+
235
+ function parseAnyDigitsSigned(string, valueCallback) {
236
+ return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);
237
+ }
238
+
239
+ function parseNDigits(n, string, valueCallback) {
240
+ switch (n) {
241
+ case 1:
242
+ return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);
243
+
244
+ case 2:
245
+ return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);
246
+
247
+ case 3:
248
+ return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);
249
+
250
+ case 4:
251
+ return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);
252
+
253
+ default:
254
+ return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), string, valueCallback);
255
+ }
256
+ }
257
+
258
+ function parseNDigitsSigned(n, string, valueCallback) {
259
+ switch (n) {
260
+ case 1:
261
+ return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);
262
+
263
+ case 2:
264
+ return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);
265
+
266
+ case 3:
267
+ return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);
268
+
269
+ case 4:
270
+ return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);
271
+
272
+ default:
273
+ return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), string, valueCallback);
274
+ }
275
+ }
276
+
277
+ function dayPeriodEnumToHours(enumValue) {
278
+ switch (enumValue) {
279
+ case 'morning':
280
+ return 4;
281
+
282
+ case 'evening':
283
+ return 17;
284
+
285
+ case 'pm':
286
+ case 'noon':
287
+ case 'afternoon':
288
+ return 12;
289
+
290
+ case 'am':
291
+ case 'midnight':
292
+ case 'night':
293
+ default:
294
+ return 0;
295
+ }
296
+ }
297
+
298
+ function normalizeTwoDigitYear(twoDigitYear, currentYear) {
299
+ var isCommonEra = currentYear > 0; // Absolute number of the current year:
300
+ // 1 -> 1 AC
301
+ // 0 -> 1 BC
302
+ // -1 -> 2 BC
303
+
304
+ var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
305
+ var result;
306
+
307
+ if (absCurrentYear <= 50) {
308
+ result = twoDigitYear || 100;
309
+ } else {
310
+ var rangeEnd = absCurrentYear + 50;
311
+ var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
312
+ var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
313
+ result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
314
+ }
315
+
316
+ return isCommonEra ? result : 1 - result;
317
+ }
318
+
319
+ var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
320
+ var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // User for validation
321
+
322
+ function isLeapYearIndex(year) {
323
+ return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
324
+ }
325
+ /*
326
+ * | | Unit | | Unit |
327
+ * |-----|--------------------------------|-----|--------------------------------|
328
+ * | a | AM, PM | A* | Milliseconds in day |
329
+ * | b | AM, PM, noon, midnight | B | Flexible day period |
330
+ * | c | Stand-alone local day of week | C* | Localized hour w/ day period |
331
+ * | d | Day of month | D | Day of year |
332
+ * | e | Local day of week | E | Day of week |
333
+ * | f | | F* | Day of week in month |
334
+ * | g* | Modified Julian day | G | Era |
335
+ * | h | Hour [1-12] | H | Hour [0-23] |
336
+ * | i! | ISO day of week | I! | ISO week of year |
337
+ * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
338
+ * | k | Hour [1-24] | K | Hour [0-11] |
339
+ * | l* | (deprecated) | L | Stand-alone month |
340
+ * | m | Minute | M | Month |
341
+ * | n | | N | |
342
+ * | o! | Ordinal number modifier | O* | Timezone (GMT) |
343
+ * | p | | P | |
344
+ * | q | Stand-alone quarter | Q | Quarter |
345
+ * | r* | Related Gregorian year | R! | ISO week-numbering year |
346
+ * | s | Second | S | Fraction of second |
347
+ * | t! | Seconds timestamp | T! | Milliseconds timestamp |
348
+ * | u | Extended year | U* | Cyclic year |
349
+ * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
350
+ * | w | Local week of year | W* | Week of month |
351
+ * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
352
+ * | y | Year (abs) | Y | Local week-numbering year |
353
+ * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
354
+ *
355
+ * Letters marked by * are not implemented but reserved by Unicode standard.
356
+ *
357
+ * Letters marked by ! are non-standard, but implemented by date-fns:
358
+ * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)
359
+ * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
360
+ * i.e. 7 for Sunday, 1 for Monday, etc.
361
+ * - `I` is ISO week of year, as opposed to `w` which is local week of year.
362
+ * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
363
+ * `R` is supposed to be used in conjunction with `I` and `i`
364
+ * for universal ISO week-numbering date, whereas
365
+ * `Y` is supposed to be used in conjunction with `w` and `e`
366
+ * for week-numbering date specific to the locale.
367
+ */
368
+
369
+
370
+ var parsers = {
371
+ // Era
372
+ G: {
373
+ priority: 140,
374
+ parse: function (string, token, match, _options) {
375
+ switch (token) {
376
+ // AD, BC
377
+ case 'G':
378
+ case 'GG':
379
+ case 'GGG':
380
+ return match.era(string, {
381
+ width: 'abbreviated'
382
+ }) || match.era(string, {
383
+ width: 'narrow'
384
+ });
385
+ // A, B
386
+
387
+ case 'GGGGG':
388
+ return match.era(string, {
389
+ width: 'narrow'
390
+ });
391
+ // Anno Domini, Before Christ
392
+
393
+ case 'GGGG':
394
+ default:
395
+ return match.era(string, {
396
+ width: 'wide'
397
+ }) || match.era(string, {
398
+ width: 'abbreviated'
399
+ }) || match.era(string, {
400
+ width: 'narrow'
401
+ });
402
+ }
403
+ },
404
+ set: function (date, flags, value, _options) {
405
+ flags.era = value;
406
+ date.setUTCFullYear(value, 0, 1);
407
+ date.setUTCHours(0, 0, 0, 0);
408
+ return date;
409
+ },
410
+ incompatibleTokens: ['R', 'u', 't', 'T']
411
+ },
412
+ // Year
413
+ y: {
414
+ // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
415
+ // | Year | y | yy | yyy | yyyy | yyyyy |
416
+ // |----------|-------|----|-------|-------|-------|
417
+ // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
418
+ // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
419
+ // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
420
+ // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
421
+ // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
422
+ priority: 130,
423
+ parse: function (string, token, match, _options) {
424
+ var valueCallback = function (year) {
425
+ return {
426
+ year: year,
427
+ isTwoDigitYear: token === 'yy'
428
+ };
429
+ };
430
+
431
+ switch (token) {
432
+ case 'y':
433
+ return parseNDigits(4, string, valueCallback);
434
+
435
+ case 'yo':
436
+ return match.ordinalNumber(string, {
437
+ unit: 'year',
438
+ valueCallback: valueCallback
439
+ });
440
+
441
+ default:
442
+ return parseNDigits(token.length, string, valueCallback);
443
+ }
444
+ },
445
+ validate: function (_date, value, _options) {
446
+ return value.isTwoDigitYear || value.year > 0;
447
+ },
448
+ set: function (date, flags, value, _options) {
449
+ var currentYear = date.getUTCFullYear();
450
+
451
+ if (value.isTwoDigitYear) {
452
+ var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
453
+ date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
454
+ date.setUTCHours(0, 0, 0, 0);
455
+ return date;
456
+ }
457
+
458
+ var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
459
+ date.setUTCFullYear(year, 0, 1);
460
+ date.setUTCHours(0, 0, 0, 0);
461
+ return date;
462
+ },
463
+ incompatibleTokens: ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']
464
+ },
465
+ // Local week-numbering year
466
+ Y: {
467
+ priority: 130,
468
+ parse: function (string, token, match, _options) {
469
+ var valueCallback = function (year) {
470
+ return {
471
+ year: year,
472
+ isTwoDigitYear: token === 'YY'
473
+ };
474
+ };
475
+
476
+ switch (token) {
477
+ case 'Y':
478
+ return parseNDigits(4, string, valueCallback);
479
+
480
+ case 'Yo':
481
+ return match.ordinalNumber(string, {
482
+ unit: 'year',
483
+ valueCallback: valueCallback
484
+ });
485
+
486
+ default:
487
+ return parseNDigits(token.length, string, valueCallback);
488
+ }
489
+ },
490
+ validate: function (_date, value, _options) {
491
+ return value.isTwoDigitYear || value.year > 0;
492
+ },
493
+ set: function (date, flags, value, options) {
494
+ var currentYear = index$1.getUTCWeekYear(date, options);
495
+
496
+ if (value.isTwoDigitYear) {
497
+ var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
498
+ date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
499
+ date.setUTCHours(0, 0, 0, 0);
500
+ return index$1.startOfUTCWeek(date, options);
501
+ }
502
+
503
+ var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
504
+ date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
505
+ date.setUTCHours(0, 0, 0, 0);
506
+ return index$1.startOfUTCWeek(date, options);
507
+ },
508
+ incompatibleTokens: ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
509
+ },
510
+ // ISO week-numbering year
511
+ R: {
512
+ priority: 130,
513
+ parse: function (string, token, _match, _options) {
514
+ if (token === 'R') {
515
+ return parseNDigitsSigned(4, string);
516
+ }
517
+
518
+ return parseNDigitsSigned(token.length, string);
519
+ },
520
+ set: function (_date, _flags, value, _options) {
521
+ var firstWeekOfYear = new Date(0);
522
+ firstWeekOfYear.setUTCFullYear(value, 0, 4);
523
+ firstWeekOfYear.setUTCHours(0, 0, 0, 0);
524
+ return index$1.startOfUTCISOWeek(firstWeekOfYear);
525
+ },
526
+ incompatibleTokens: ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
527
+ },
528
+ // Extended year
529
+ u: {
530
+ priority: 130,
531
+ parse: function (string, token, _match, _options) {
532
+ if (token === 'u') {
533
+ return parseNDigitsSigned(4, string);
534
+ }
535
+
536
+ return parseNDigitsSigned(token.length, string);
537
+ },
538
+ set: function (date, _flags, value, _options) {
539
+ date.setUTCFullYear(value, 0, 1);
540
+ date.setUTCHours(0, 0, 0, 0);
541
+ return date;
542
+ },
543
+ incompatibleTokens: ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']
544
+ },
545
+ // Quarter
546
+ Q: {
547
+ priority: 120,
548
+ parse: function (string, token, match, _options) {
549
+ switch (token) {
550
+ // 1, 2, 3, 4
551
+ case 'Q':
552
+ case 'QQ':
553
+ // 01, 02, 03, 04
554
+ return parseNDigits(token.length, string);
555
+ // 1st, 2nd, 3rd, 4th
556
+
557
+ case 'Qo':
558
+ return match.ordinalNumber(string, {
559
+ unit: 'quarter'
560
+ });
561
+ // Q1, Q2, Q3, Q4
562
+
563
+ case 'QQQ':
564
+ return match.quarter(string, {
565
+ width: 'abbreviated',
566
+ context: 'formatting'
567
+ }) || match.quarter(string, {
568
+ width: 'narrow',
569
+ context: 'formatting'
570
+ });
571
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
572
+
573
+ case 'QQQQQ':
574
+ return match.quarter(string, {
575
+ width: 'narrow',
576
+ context: 'formatting'
577
+ });
578
+ // 1st quarter, 2nd quarter, ...
579
+
580
+ case 'QQQQ':
581
+ default:
582
+ return match.quarter(string, {
583
+ width: 'wide',
584
+ context: 'formatting'
585
+ }) || match.quarter(string, {
586
+ width: 'abbreviated',
587
+ context: 'formatting'
588
+ }) || match.quarter(string, {
589
+ width: 'narrow',
590
+ context: 'formatting'
591
+ });
592
+ }
593
+ },
594
+ validate: function (_date, value, _options) {
595
+ return value >= 1 && value <= 4;
596
+ },
597
+ set: function (date, _flags, value, _options) {
598
+ date.setUTCMonth((value - 1) * 3, 1);
599
+ date.setUTCHours(0, 0, 0, 0);
600
+ return date;
601
+ },
602
+ incompatibleTokens: ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
603
+ },
604
+ // Stand-alone quarter
605
+ q: {
606
+ priority: 120,
607
+ parse: function (string, token, match, _options) {
608
+ switch (token) {
609
+ // 1, 2, 3, 4
610
+ case 'q':
611
+ case 'qq':
612
+ // 01, 02, 03, 04
613
+ return parseNDigits(token.length, string);
614
+ // 1st, 2nd, 3rd, 4th
615
+
616
+ case 'qo':
617
+ return match.ordinalNumber(string, {
618
+ unit: 'quarter'
619
+ });
620
+ // Q1, Q2, Q3, Q4
621
+
622
+ case 'qqq':
623
+ return match.quarter(string, {
624
+ width: 'abbreviated',
625
+ context: 'standalone'
626
+ }) || match.quarter(string, {
627
+ width: 'narrow',
628
+ context: 'standalone'
629
+ });
630
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
631
+
632
+ case 'qqqqq':
633
+ return match.quarter(string, {
634
+ width: 'narrow',
635
+ context: 'standalone'
636
+ });
637
+ // 1st quarter, 2nd quarter, ...
638
+
639
+ case 'qqqq':
640
+ default:
641
+ return match.quarter(string, {
642
+ width: 'wide',
643
+ context: 'standalone'
644
+ }) || match.quarter(string, {
645
+ width: 'abbreviated',
646
+ context: 'standalone'
647
+ }) || match.quarter(string, {
648
+ width: 'narrow',
649
+ context: 'standalone'
650
+ });
651
+ }
652
+ },
653
+ validate: function (_date, value, _options) {
654
+ return value >= 1 && value <= 4;
655
+ },
656
+ set: function (date, _flags, value, _options) {
657
+ date.setUTCMonth((value - 1) * 3, 1);
658
+ date.setUTCHours(0, 0, 0, 0);
659
+ return date;
660
+ },
661
+ incompatibleTokens: ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
662
+ },
663
+ // Month
664
+ M: {
665
+ priority: 110,
666
+ parse: function (string, token, match, _options) {
667
+ var valueCallback = function (value) {
668
+ return value - 1;
669
+ };
670
+
671
+ switch (token) {
672
+ // 1, 2, ..., 12
673
+ case 'M':
674
+ return parseNumericPattern(numericPatterns.month, string, valueCallback);
675
+ // 01, 02, ..., 12
676
+
677
+ case 'MM':
678
+ return parseNDigits(2, string, valueCallback);
679
+ // 1st, 2nd, ..., 12th
680
+
681
+ case 'Mo':
682
+ return match.ordinalNumber(string, {
683
+ unit: 'month',
684
+ valueCallback: valueCallback
685
+ });
686
+ // Jan, Feb, ..., Dec
687
+
688
+ case 'MMM':
689
+ return match.month(string, {
690
+ width: 'abbreviated',
691
+ context: 'formatting'
692
+ }) || match.month(string, {
693
+ width: 'narrow',
694
+ context: 'formatting'
695
+ });
696
+ // J, F, ..., D
697
+
698
+ case 'MMMMM':
699
+ return match.month(string, {
700
+ width: 'narrow',
701
+ context: 'formatting'
702
+ });
703
+ // January, February, ..., December
704
+
705
+ case 'MMMM':
706
+ default:
707
+ return match.month(string, {
708
+ width: 'wide',
709
+ context: 'formatting'
710
+ }) || match.month(string, {
711
+ width: 'abbreviated',
712
+ context: 'formatting'
713
+ }) || match.month(string, {
714
+ width: 'narrow',
715
+ context: 'formatting'
716
+ });
717
+ }
718
+ },
719
+ validate: function (_date, value, _options) {
720
+ return value >= 0 && value <= 11;
721
+ },
722
+ set: function (date, _flags, value, _options) {
723
+ date.setUTCMonth(value, 1);
724
+ date.setUTCHours(0, 0, 0, 0);
725
+ return date;
726
+ },
727
+ incompatibleTokens: ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
728
+ },
729
+ // Stand-alone month
730
+ L: {
731
+ priority: 110,
732
+ parse: function (string, token, match, _options) {
733
+ var valueCallback = function (value) {
734
+ return value - 1;
735
+ };
736
+
737
+ switch (token) {
738
+ // 1, 2, ..., 12
739
+ case 'L':
740
+ return parseNumericPattern(numericPatterns.month, string, valueCallback);
741
+ // 01, 02, ..., 12
742
+
743
+ case 'LL':
744
+ return parseNDigits(2, string, valueCallback);
745
+ // 1st, 2nd, ..., 12th
746
+
747
+ case 'Lo':
748
+ return match.ordinalNumber(string, {
749
+ unit: 'month',
750
+ valueCallback: valueCallback
751
+ });
752
+ // Jan, Feb, ..., Dec
753
+
754
+ case 'LLL':
755
+ return match.month(string, {
756
+ width: 'abbreviated',
757
+ context: 'standalone'
758
+ }) || match.month(string, {
759
+ width: 'narrow',
760
+ context: 'standalone'
761
+ });
762
+ // J, F, ..., D
763
+
764
+ case 'LLLLL':
765
+ return match.month(string, {
766
+ width: 'narrow',
767
+ context: 'standalone'
768
+ });
769
+ // January, February, ..., December
770
+
771
+ case 'LLLL':
772
+ default:
773
+ return match.month(string, {
774
+ width: 'wide',
775
+ context: 'standalone'
776
+ }) || match.month(string, {
777
+ width: 'abbreviated',
778
+ context: 'standalone'
779
+ }) || match.month(string, {
780
+ width: 'narrow',
781
+ context: 'standalone'
782
+ });
783
+ }
784
+ },
785
+ validate: function (_date, value, _options) {
786
+ return value >= 0 && value <= 11;
787
+ },
788
+ set: function (date, _flags, value, _options) {
789
+ date.setUTCMonth(value, 1);
790
+ date.setUTCHours(0, 0, 0, 0);
791
+ return date;
792
+ },
793
+ incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
794
+ },
795
+ // Local week of year
796
+ w: {
797
+ priority: 100,
798
+ parse: function (string, token, match, _options) {
799
+ switch (token) {
800
+ case 'w':
801
+ return parseNumericPattern(numericPatterns.week, string);
802
+
803
+ case 'wo':
804
+ return match.ordinalNumber(string, {
805
+ unit: 'week'
806
+ });
807
+
808
+ default:
809
+ return parseNDigits(token.length, string);
810
+ }
811
+ },
812
+ validate: function (_date, value, _options) {
813
+ return value >= 1 && value <= 53;
814
+ },
815
+ set: function (date, _flags, value, options) {
816
+ return index$1.startOfUTCWeek(setUTCWeek(date, value, options), options);
817
+ },
818
+ incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
819
+ },
820
+ // ISO week of year
821
+ I: {
822
+ priority: 100,
823
+ parse: function (string, token, match, _options) {
824
+ switch (token) {
825
+ case 'I':
826
+ return parseNumericPattern(numericPatterns.week, string);
827
+
828
+ case 'Io':
829
+ return match.ordinalNumber(string, {
830
+ unit: 'week'
831
+ });
832
+
833
+ default:
834
+ return parseNDigits(token.length, string);
835
+ }
836
+ },
837
+ validate: function (_date, value, _options) {
838
+ return value >= 1 && value <= 53;
839
+ },
840
+ set: function (date, _flags, value, options) {
841
+ return index$1.startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);
842
+ },
843
+ incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
844
+ },
845
+ // Day of the month
846
+ d: {
847
+ priority: 90,
848
+ subPriority: 1,
849
+ parse: function (string, token, match, _options) {
850
+ switch (token) {
851
+ case 'd':
852
+ return parseNumericPattern(numericPatterns.date, string);
853
+
854
+ case 'do':
855
+ return match.ordinalNumber(string, {
856
+ unit: 'date'
857
+ });
858
+
859
+ default:
860
+ return parseNDigits(token.length, string);
861
+ }
862
+ },
863
+ validate: function (date, value, _options) {
864
+ var year = date.getUTCFullYear();
865
+ var isLeapYear = isLeapYearIndex(year);
866
+ var month = date.getUTCMonth();
867
+
868
+ if (isLeapYear) {
869
+ return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
870
+ } else {
871
+ return value >= 1 && value <= DAYS_IN_MONTH[month];
872
+ }
873
+ },
874
+ set: function (date, _flags, value, _options) {
875
+ date.setUTCDate(value);
876
+ date.setUTCHours(0, 0, 0, 0);
877
+ return date;
878
+ },
879
+ incompatibleTokens: ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
880
+ },
881
+ // Day of year
882
+ D: {
883
+ priority: 90,
884
+ subPriority: 1,
885
+ parse: function (string, token, match, _options) {
886
+ switch (token) {
887
+ case 'D':
888
+ case 'DD':
889
+ return parseNumericPattern(numericPatterns.dayOfYear, string);
890
+
891
+ case 'Do':
892
+ return match.ordinalNumber(string, {
893
+ unit: 'date'
894
+ });
895
+
896
+ default:
897
+ return parseNDigits(token.length, string);
898
+ }
899
+ },
900
+ validate: function (date, value, _options) {
901
+ var year = date.getUTCFullYear();
902
+ var isLeapYear = isLeapYearIndex(year);
903
+
904
+ if (isLeapYear) {
905
+ return value >= 1 && value <= 366;
906
+ } else {
907
+ return value >= 1 && value <= 365;
908
+ }
909
+ },
910
+ set: function (date, _flags, value, _options) {
911
+ date.setUTCMonth(0, value);
912
+ date.setUTCHours(0, 0, 0, 0);
913
+ return date;
914
+ },
915
+ incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']
916
+ },
917
+ // Day of week
918
+ E: {
919
+ priority: 90,
920
+ parse: function (string, token, match, _options) {
921
+ switch (token) {
922
+ // Tue
923
+ case 'E':
924
+ case 'EE':
925
+ case 'EEE':
926
+ return match.day(string, {
927
+ width: 'abbreviated',
928
+ context: 'formatting'
929
+ }) || match.day(string, {
930
+ width: 'short',
931
+ context: 'formatting'
932
+ }) || match.day(string, {
933
+ width: 'narrow',
934
+ context: 'formatting'
935
+ });
936
+ // T
937
+
938
+ case 'EEEEE':
939
+ return match.day(string, {
940
+ width: 'narrow',
941
+ context: 'formatting'
942
+ });
943
+ // Tu
944
+
945
+ case 'EEEEEE':
946
+ return match.day(string, {
947
+ width: 'short',
948
+ context: 'formatting'
949
+ }) || match.day(string, {
950
+ width: 'narrow',
951
+ context: 'formatting'
952
+ });
953
+ // Tuesday
954
+
955
+ case 'EEEE':
956
+ default:
957
+ return match.day(string, {
958
+ width: 'wide',
959
+ context: 'formatting'
960
+ }) || match.day(string, {
961
+ width: 'abbreviated',
962
+ context: 'formatting'
963
+ }) || match.day(string, {
964
+ width: 'short',
965
+ context: 'formatting'
966
+ }) || match.day(string, {
967
+ width: 'narrow',
968
+ context: 'formatting'
969
+ });
970
+ }
971
+ },
972
+ validate: function (_date, value, _options) {
973
+ return value >= 0 && value <= 6;
974
+ },
975
+ set: function (date, _flags, value, options) {
976
+ date = setUTCDay(date, value, options);
977
+ date.setUTCHours(0, 0, 0, 0);
978
+ return date;
979
+ },
980
+ incompatibleTokens: ['D', 'i', 'e', 'c', 't', 'T']
981
+ },
982
+ // Local day of week
983
+ e: {
984
+ priority: 90,
985
+ parse: function (string, token, match, options) {
986
+ var valueCallback = function (value) {
987
+ var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
988
+ return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
989
+ };
990
+
991
+ switch (token) {
992
+ // 3
993
+ case 'e':
994
+ case 'ee':
995
+ // 03
996
+ return parseNDigits(token.length, string, valueCallback);
997
+ // 3rd
998
+
999
+ case 'eo':
1000
+ return match.ordinalNumber(string, {
1001
+ unit: 'day',
1002
+ valueCallback: valueCallback
1003
+ });
1004
+ // Tue
1005
+
1006
+ case 'eee':
1007
+ return match.day(string, {
1008
+ width: 'abbreviated',
1009
+ context: 'formatting'
1010
+ }) || match.day(string, {
1011
+ width: 'short',
1012
+ context: 'formatting'
1013
+ }) || match.day(string, {
1014
+ width: 'narrow',
1015
+ context: 'formatting'
1016
+ });
1017
+ // T
1018
+
1019
+ case 'eeeee':
1020
+ return match.day(string, {
1021
+ width: 'narrow',
1022
+ context: 'formatting'
1023
+ });
1024
+ // Tu
1025
+
1026
+ case 'eeeeee':
1027
+ return match.day(string, {
1028
+ width: 'short',
1029
+ context: 'formatting'
1030
+ }) || match.day(string, {
1031
+ width: 'narrow',
1032
+ context: 'formatting'
1033
+ });
1034
+ // Tuesday
1035
+
1036
+ case 'eeee':
1037
+ default:
1038
+ return match.day(string, {
1039
+ width: 'wide',
1040
+ context: 'formatting'
1041
+ }) || match.day(string, {
1042
+ width: 'abbreviated',
1043
+ context: 'formatting'
1044
+ }) || match.day(string, {
1045
+ width: 'short',
1046
+ context: 'formatting'
1047
+ }) || match.day(string, {
1048
+ width: 'narrow',
1049
+ context: 'formatting'
1050
+ });
1051
+ }
1052
+ },
1053
+ validate: function (_date, value, _options) {
1054
+ return value >= 0 && value <= 6;
1055
+ },
1056
+ set: function (date, _flags, value, options) {
1057
+ date = setUTCDay(date, value, options);
1058
+ date.setUTCHours(0, 0, 0, 0);
1059
+ return date;
1060
+ },
1061
+ incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']
1062
+ },
1063
+ // Stand-alone local day of week
1064
+ c: {
1065
+ priority: 90,
1066
+ parse: function (string, token, match, options) {
1067
+ var valueCallback = function (value) {
1068
+ var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
1069
+ return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
1070
+ };
1071
+
1072
+ switch (token) {
1073
+ // 3
1074
+ case 'c':
1075
+ case 'cc':
1076
+ // 03
1077
+ return parseNDigits(token.length, string, valueCallback);
1078
+ // 3rd
1079
+
1080
+ case 'co':
1081
+ return match.ordinalNumber(string, {
1082
+ unit: 'day',
1083
+ valueCallback: valueCallback
1084
+ });
1085
+ // Tue
1086
+
1087
+ case 'ccc':
1088
+ return match.day(string, {
1089
+ width: 'abbreviated',
1090
+ context: 'standalone'
1091
+ }) || match.day(string, {
1092
+ width: 'short',
1093
+ context: 'standalone'
1094
+ }) || match.day(string, {
1095
+ width: 'narrow',
1096
+ context: 'standalone'
1097
+ });
1098
+ // T
1099
+
1100
+ case 'ccccc':
1101
+ return match.day(string, {
1102
+ width: 'narrow',
1103
+ context: 'standalone'
1104
+ });
1105
+ // Tu
1106
+
1107
+ case 'cccccc':
1108
+ return match.day(string, {
1109
+ width: 'short',
1110
+ context: 'standalone'
1111
+ }) || match.day(string, {
1112
+ width: 'narrow',
1113
+ context: 'standalone'
1114
+ });
1115
+ // Tuesday
1116
+
1117
+ case 'cccc':
1118
+ default:
1119
+ return match.day(string, {
1120
+ width: 'wide',
1121
+ context: 'standalone'
1122
+ }) || match.day(string, {
1123
+ width: 'abbreviated',
1124
+ context: 'standalone'
1125
+ }) || match.day(string, {
1126
+ width: 'short',
1127
+ context: 'standalone'
1128
+ }) || match.day(string, {
1129
+ width: 'narrow',
1130
+ context: 'standalone'
1131
+ });
1132
+ }
1133
+ },
1134
+ validate: function (_date, value, _options) {
1135
+ return value >= 0 && value <= 6;
1136
+ },
1137
+ set: function (date, _flags, value, options) {
1138
+ date = setUTCDay(date, value, options);
1139
+ date.setUTCHours(0, 0, 0, 0);
1140
+ return date;
1141
+ },
1142
+ incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']
1143
+ },
1144
+ // ISO day of week
1145
+ i: {
1146
+ priority: 90,
1147
+ parse: function (string, token, match, _options) {
1148
+ var valueCallback = function (value) {
1149
+ if (value === 0) {
1150
+ return 7;
1151
+ }
1152
+
1153
+ return value;
1154
+ };
1155
+
1156
+ switch (token) {
1157
+ // 2
1158
+ case 'i':
1159
+ case 'ii':
1160
+ // 02
1161
+ return parseNDigits(token.length, string);
1162
+ // 2nd
1163
+
1164
+ case 'io':
1165
+ return match.ordinalNumber(string, {
1166
+ unit: 'day'
1167
+ });
1168
+ // Tue
1169
+
1170
+ case 'iii':
1171
+ return match.day(string, {
1172
+ width: 'abbreviated',
1173
+ context: 'formatting',
1174
+ valueCallback: valueCallback
1175
+ }) || match.day(string, {
1176
+ width: 'short',
1177
+ context: 'formatting',
1178
+ valueCallback: valueCallback
1179
+ }) || match.day(string, {
1180
+ width: 'narrow',
1181
+ context: 'formatting',
1182
+ valueCallback: valueCallback
1183
+ });
1184
+ // T
1185
+
1186
+ case 'iiiii':
1187
+ return match.day(string, {
1188
+ width: 'narrow',
1189
+ context: 'formatting',
1190
+ valueCallback: valueCallback
1191
+ });
1192
+ // Tu
1193
+
1194
+ case 'iiiiii':
1195
+ return match.day(string, {
1196
+ width: 'short',
1197
+ context: 'formatting',
1198
+ valueCallback: valueCallback
1199
+ }) || match.day(string, {
1200
+ width: 'narrow',
1201
+ context: 'formatting',
1202
+ valueCallback: valueCallback
1203
+ });
1204
+ // Tuesday
1205
+
1206
+ case 'iiii':
1207
+ default:
1208
+ return match.day(string, {
1209
+ width: 'wide',
1210
+ context: 'formatting',
1211
+ valueCallback: valueCallback
1212
+ }) || match.day(string, {
1213
+ width: 'abbreviated',
1214
+ context: 'formatting',
1215
+ valueCallback: valueCallback
1216
+ }) || match.day(string, {
1217
+ width: 'short',
1218
+ context: 'formatting',
1219
+ valueCallback: valueCallback
1220
+ }) || match.day(string, {
1221
+ width: 'narrow',
1222
+ context: 'formatting',
1223
+ valueCallback: valueCallback
1224
+ });
1225
+ }
1226
+ },
1227
+ validate: function (_date, value, _options) {
1228
+ return value >= 1 && value <= 7;
1229
+ },
1230
+ set: function (date, _flags, value, options) {
1231
+ date = setUTCISODay(date, value, options);
1232
+ date.setUTCHours(0, 0, 0, 0);
1233
+ return date;
1234
+ },
1235
+ incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']
1236
+ },
1237
+ // AM or PM
1238
+ a: {
1239
+ priority: 80,
1240
+ parse: function (string, token, match, _options) {
1241
+ switch (token) {
1242
+ case 'a':
1243
+ case 'aa':
1244
+ case 'aaa':
1245
+ return match.dayPeriod(string, {
1246
+ width: 'abbreviated',
1247
+ context: 'formatting'
1248
+ }) || match.dayPeriod(string, {
1249
+ width: 'narrow',
1250
+ context: 'formatting'
1251
+ });
1252
+
1253
+ case 'aaaaa':
1254
+ return match.dayPeriod(string, {
1255
+ width: 'narrow',
1256
+ context: 'formatting'
1257
+ });
1258
+
1259
+ case 'aaaa':
1260
+ default:
1261
+ return match.dayPeriod(string, {
1262
+ width: 'wide',
1263
+ context: 'formatting'
1264
+ }) || match.dayPeriod(string, {
1265
+ width: 'abbreviated',
1266
+ context: 'formatting'
1267
+ }) || match.dayPeriod(string, {
1268
+ width: 'narrow',
1269
+ context: 'formatting'
1270
+ });
1271
+ }
1272
+ },
1273
+ set: function (date, _flags, value, _options) {
1274
+ date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1275
+ return date;
1276
+ },
1277
+ incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']
1278
+ },
1279
+ // AM, PM, midnight
1280
+ b: {
1281
+ priority: 80,
1282
+ parse: function (string, token, match, _options) {
1283
+ switch (token) {
1284
+ case 'b':
1285
+ case 'bb':
1286
+ case 'bbb':
1287
+ return match.dayPeriod(string, {
1288
+ width: 'abbreviated',
1289
+ context: 'formatting'
1290
+ }) || match.dayPeriod(string, {
1291
+ width: 'narrow',
1292
+ context: 'formatting'
1293
+ });
1294
+
1295
+ case 'bbbbb':
1296
+ return match.dayPeriod(string, {
1297
+ width: 'narrow',
1298
+ context: 'formatting'
1299
+ });
1300
+
1301
+ case 'bbbb':
1302
+ default:
1303
+ return match.dayPeriod(string, {
1304
+ width: 'wide',
1305
+ context: 'formatting'
1306
+ }) || match.dayPeriod(string, {
1307
+ width: 'abbreviated',
1308
+ context: 'formatting'
1309
+ }) || match.dayPeriod(string, {
1310
+ width: 'narrow',
1311
+ context: 'formatting'
1312
+ });
1313
+ }
1314
+ },
1315
+ set: function (date, _flags, value, _options) {
1316
+ date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1317
+ return date;
1318
+ },
1319
+ incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']
1320
+ },
1321
+ // in the morning, in the afternoon, in the evening, at night
1322
+ B: {
1323
+ priority: 80,
1324
+ parse: function (string, token, match, _options) {
1325
+ switch (token) {
1326
+ case 'B':
1327
+ case 'BB':
1328
+ case 'BBB':
1329
+ return match.dayPeriod(string, {
1330
+ width: 'abbreviated',
1331
+ context: 'formatting'
1332
+ }) || match.dayPeriod(string, {
1333
+ width: 'narrow',
1334
+ context: 'formatting'
1335
+ });
1336
+
1337
+ case 'BBBBB':
1338
+ return match.dayPeriod(string, {
1339
+ width: 'narrow',
1340
+ context: 'formatting'
1341
+ });
1342
+
1343
+ case 'BBBB':
1344
+ default:
1345
+ return match.dayPeriod(string, {
1346
+ width: 'wide',
1347
+ context: 'formatting'
1348
+ }) || match.dayPeriod(string, {
1349
+ width: 'abbreviated',
1350
+ context: 'formatting'
1351
+ }) || match.dayPeriod(string, {
1352
+ width: 'narrow',
1353
+ context: 'formatting'
1354
+ });
1355
+ }
1356
+ },
1357
+ set: function (date, _flags, value, _options) {
1358
+ date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1359
+ return date;
1360
+ },
1361
+ incompatibleTokens: ['a', 'b', 't', 'T']
1362
+ },
1363
+ // Hour [1-12]
1364
+ h: {
1365
+ priority: 70,
1366
+ parse: function (string, token, match, _options) {
1367
+ switch (token) {
1368
+ case 'h':
1369
+ return parseNumericPattern(numericPatterns.hour12h, string);
1370
+
1371
+ case 'ho':
1372
+ return match.ordinalNumber(string, {
1373
+ unit: 'hour'
1374
+ });
1375
+
1376
+ default:
1377
+ return parseNDigits(token.length, string);
1378
+ }
1379
+ },
1380
+ validate: function (_date, value, _options) {
1381
+ return value >= 1 && value <= 12;
1382
+ },
1383
+ set: function (date, _flags, value, _options) {
1384
+ var isPM = date.getUTCHours() >= 12;
1385
+
1386
+ if (isPM && value < 12) {
1387
+ date.setUTCHours(value + 12, 0, 0, 0);
1388
+ } else if (!isPM && value === 12) {
1389
+ date.setUTCHours(0, 0, 0, 0);
1390
+ } else {
1391
+ date.setUTCHours(value, 0, 0, 0);
1392
+ }
1393
+
1394
+ return date;
1395
+ },
1396
+ incompatibleTokens: ['H', 'K', 'k', 't', 'T']
1397
+ },
1398
+ // Hour [0-23]
1399
+ H: {
1400
+ priority: 70,
1401
+ parse: function (string, token, match, _options) {
1402
+ switch (token) {
1403
+ case 'H':
1404
+ return parseNumericPattern(numericPatterns.hour23h, string);
1405
+
1406
+ case 'Ho':
1407
+ return match.ordinalNumber(string, {
1408
+ unit: 'hour'
1409
+ });
1410
+
1411
+ default:
1412
+ return parseNDigits(token.length, string);
1413
+ }
1414
+ },
1415
+ validate: function (_date, value, _options) {
1416
+ return value >= 0 && value <= 23;
1417
+ },
1418
+ set: function (date, _flags, value, _options) {
1419
+ date.setUTCHours(value, 0, 0, 0);
1420
+ return date;
1421
+ },
1422
+ incompatibleTokens: ['a', 'b', 'h', 'K', 'k', 't', 'T']
1423
+ },
1424
+ // Hour [0-11]
1425
+ K: {
1426
+ priority: 70,
1427
+ parse: function (string, token, match, _options) {
1428
+ switch (token) {
1429
+ case 'K':
1430
+ return parseNumericPattern(numericPatterns.hour11h, string);
1431
+
1432
+ case 'Ko':
1433
+ return match.ordinalNumber(string, {
1434
+ unit: 'hour'
1435
+ });
1436
+
1437
+ default:
1438
+ return parseNDigits(token.length, string);
1439
+ }
1440
+ },
1441
+ validate: function (_date, value, _options) {
1442
+ return value >= 0 && value <= 11;
1443
+ },
1444
+ set: function (date, _flags, value, _options) {
1445
+ var isPM = date.getUTCHours() >= 12;
1446
+
1447
+ if (isPM && value < 12) {
1448
+ date.setUTCHours(value + 12, 0, 0, 0);
1449
+ } else {
1450
+ date.setUTCHours(value, 0, 0, 0);
1451
+ }
1452
+
1453
+ return date;
1454
+ },
1455
+ incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']
1456
+ },
1457
+ // Hour [1-24]
1458
+ k: {
1459
+ priority: 70,
1460
+ parse: function (string, token, match, _options) {
1461
+ switch (token) {
1462
+ case 'k':
1463
+ return parseNumericPattern(numericPatterns.hour24h, string);
1464
+
1465
+ case 'ko':
1466
+ return match.ordinalNumber(string, {
1467
+ unit: 'hour'
1468
+ });
1469
+
1470
+ default:
1471
+ return parseNDigits(token.length, string);
1472
+ }
1473
+ },
1474
+ validate: function (_date, value, _options) {
1475
+ return value >= 1 && value <= 24;
1476
+ },
1477
+ set: function (date, _flags, value, _options) {
1478
+ var hours = value <= 24 ? value % 24 : value;
1479
+ date.setUTCHours(hours, 0, 0, 0);
1480
+ return date;
1481
+ },
1482
+ incompatibleTokens: ['a', 'b', 'h', 'H', 'K', 't', 'T']
1483
+ },
1484
+ // Minute
1485
+ m: {
1486
+ priority: 60,
1487
+ parse: function (string, token, match, _options) {
1488
+ switch (token) {
1489
+ case 'm':
1490
+ return parseNumericPattern(numericPatterns.minute, string);
1491
+
1492
+ case 'mo':
1493
+ return match.ordinalNumber(string, {
1494
+ unit: 'minute'
1495
+ });
1496
+
1497
+ default:
1498
+ return parseNDigits(token.length, string);
1499
+ }
1500
+ },
1501
+ validate: function (_date, value, _options) {
1502
+ return value >= 0 && value <= 59;
1503
+ },
1504
+ set: function (date, _flags, value, _options) {
1505
+ date.setUTCMinutes(value, 0, 0);
1506
+ return date;
1507
+ },
1508
+ incompatibleTokens: ['t', 'T']
1509
+ },
1510
+ // Second
1511
+ s: {
1512
+ priority: 50,
1513
+ parse: function (string, token, match, _options) {
1514
+ switch (token) {
1515
+ case 's':
1516
+ return parseNumericPattern(numericPatterns.second, string);
1517
+
1518
+ case 'so':
1519
+ return match.ordinalNumber(string, {
1520
+ unit: 'second'
1521
+ });
1522
+
1523
+ default:
1524
+ return parseNDigits(token.length, string);
1525
+ }
1526
+ },
1527
+ validate: function (_date, value, _options) {
1528
+ return value >= 0 && value <= 59;
1529
+ },
1530
+ set: function (date, _flags, value, _options) {
1531
+ date.setUTCSeconds(value, 0);
1532
+ return date;
1533
+ },
1534
+ incompatibleTokens: ['t', 'T']
1535
+ },
1536
+ // Fraction of second
1537
+ S: {
1538
+ priority: 30,
1539
+ parse: function (string, token, _match, _options) {
1540
+ var valueCallback = function (value) {
1541
+ return Math.floor(value * Math.pow(10, -token.length + 3));
1542
+ };
1543
+
1544
+ return parseNDigits(token.length, string, valueCallback);
1545
+ },
1546
+ set: function (date, _flags, value, _options) {
1547
+ date.setUTCMilliseconds(value);
1548
+ return date;
1549
+ },
1550
+ incompatibleTokens: ['t', 'T']
1551
+ },
1552
+ // Timezone (ISO-8601. +00:00 is `'Z'`)
1553
+ X: {
1554
+ priority: 10,
1555
+ parse: function (string, token, _match, _options) {
1556
+ switch (token) {
1557
+ case 'X':
1558
+ return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1559
+
1560
+ case 'XX':
1561
+ return parseTimezonePattern(timezonePatterns.basic, string);
1562
+
1563
+ case 'XXXX':
1564
+ return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1565
+
1566
+ case 'XXXXX':
1567
+ return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1568
+
1569
+ case 'XXX':
1570
+ default:
1571
+ return parseTimezonePattern(timezonePatterns.extended, string);
1572
+ }
1573
+ },
1574
+ set: function (date, flags, value, _options) {
1575
+ if (flags.timestampIsSet) {
1576
+ return date;
1577
+ }
1578
+
1579
+ return new Date(date.getTime() - value);
1580
+ },
1581
+ incompatibleTokens: ['t', 'T', 'x']
1582
+ },
1583
+ // Timezone (ISO-8601)
1584
+ x: {
1585
+ priority: 10,
1586
+ parse: function (string, token, _match, _options) {
1587
+ switch (token) {
1588
+ case 'x':
1589
+ return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1590
+
1591
+ case 'xx':
1592
+ return parseTimezonePattern(timezonePatterns.basic, string);
1593
+
1594
+ case 'xxxx':
1595
+ return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1596
+
1597
+ case 'xxxxx':
1598
+ return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1599
+
1600
+ case 'xxx':
1601
+ default:
1602
+ return parseTimezonePattern(timezonePatterns.extended, string);
1603
+ }
1604
+ },
1605
+ set: function (date, flags, value, _options) {
1606
+ if (flags.timestampIsSet) {
1607
+ return date;
1608
+ }
1609
+
1610
+ return new Date(date.getTime() - value);
1611
+ },
1612
+ incompatibleTokens: ['t', 'T', 'X']
1613
+ },
1614
+ // Seconds timestamp
1615
+ t: {
1616
+ priority: 40,
1617
+ parse: function (string, _token, _match, _options) {
1618
+ return parseAnyDigitsSigned(string);
1619
+ },
1620
+ set: function (_date, _flags, value, _options) {
1621
+ return [new Date(value * 1000), {
1622
+ timestampIsSet: true
1623
+ }];
1624
+ },
1625
+ incompatibleTokens: '*'
1626
+ },
1627
+ // Milliseconds timestamp
1628
+ T: {
1629
+ priority: 20,
1630
+ parse: function (string, _token, _match, _options) {
1631
+ return parseAnyDigitsSigned(string);
1632
+ },
1633
+ set: function (_date, _flags, value, _options) {
1634
+ return [new Date(value), {
1635
+ timestampIsSet: true
1636
+ }];
1637
+ },
1638
+ incompatibleTokens: '*'
1639
+ }
1640
+ };
1641
+
1642
+ var TIMEZONE_UNIT_PRIORITY = 10; // This RegExp consists of three parts separated by `|`:
1643
+ // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
1644
+ // (one of the certain letters followed by `o`)
1645
+ // - (\w)\1* matches any sequences of the same letter
1646
+ // - '' matches two quote characters in a row
1647
+ // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
1648
+ // except a single quote symbol, which ends the sequence.
1649
+ // Two quote characters do not end the sequence.
1650
+ // If there is no matching single quote
1651
+ // then the sequence will continue until the end of the string.
1652
+ // - . matches any single character unmatched by previous parts of the RegExps
1653
+
1654
+ var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
1655
+ // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
1656
+
1657
+ var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
1658
+ var escapedStringRegExp = /^'([^]*?)'?$/;
1659
+ var doubleQuoteRegExp = /''/g;
1660
+ var notWhitespaceRegExp = /\S/;
1661
+ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
1662
+ /**
1663
+ * @name parse
1664
+ * @category Common Helpers
1665
+ * @summary Parse the date.
1666
+ *
1667
+ * @description
1668
+ * Return the date parsed from string using the given format string.
1669
+ *
1670
+ * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
1671
+ * > See: https://git.io/fxCyr
1672
+ *
1673
+ * The characters in the format string wrapped between two single quotes characters (') are escaped.
1674
+ * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
1675
+ *
1676
+ * Format of the format string is based on Unicode Technical Standard #35:
1677
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
1678
+ * with a few additions (see note 5 below the table).
1679
+ *
1680
+ * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited
1681
+ * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:
1682
+ *
1683
+ * ```javascript
1684
+ * parse('23 AM', 'HH a', new Date())
1685
+ * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time
1686
+ * ```
1687
+ *
1688
+ * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true
1689
+ *
1690
+ * Accepted format string patterns:
1691
+ * | Unit |Prior| Pattern | Result examples | Notes |
1692
+ * |---------------------------------|-----|---------|-----------------------------------|-------|
1693
+ * | Era | 140 | G..GGG | AD, BC | |
1694
+ * | | | GGGG | Anno Domini, Before Christ | 2 |
1695
+ * | | | GGGGG | A, B | |
1696
+ * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 |
1697
+ * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 |
1698
+ * | | | yy | 44, 01, 00, 17 | 4 |
1699
+ * | | | yyy | 044, 001, 123, 999 | 4 |
1700
+ * | | | yyyy | 0044, 0001, 1900, 2017 | 4 |
1701
+ * | | | yyyyy | ... | 2,4 |
1702
+ * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 |
1703
+ * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 |
1704
+ * | | | YY | 44, 01, 00, 17 | 4,6 |
1705
+ * | | | YYY | 044, 001, 123, 999 | 4 |
1706
+ * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 |
1707
+ * | | | YYYYY | ... | 2,4 |
1708
+ * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 |
1709
+ * | | | RR | -43, 01, 00, 17 | 4,5 |
1710
+ * | | | RRR | -043, 001, 123, 999, -999 | 4,5 |
1711
+ * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 |
1712
+ * | | | RRRRR | ... | 2,4,5 |
1713
+ * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 |
1714
+ * | | | uu | -43, 01, 99, -99 | 4 |
1715
+ * | | | uuu | -043, 001, 123, 999, -999 | 4 |
1716
+ * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 |
1717
+ * | | | uuuuu | ... | 2,4 |
1718
+ * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | |
1719
+ * | | | Qo | 1st, 2nd, 3rd, 4th | 5 |
1720
+ * | | | QQ | 01, 02, 03, 04 | |
1721
+ * | | | QQQ | Q1, Q2, Q3, Q4 | |
1722
+ * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
1723
+ * | | | QQQQQ | 1, 2, 3, 4 | 4 |
1724
+ * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | |
1725
+ * | | | qo | 1st, 2nd, 3rd, 4th | 5 |
1726
+ * | | | qq | 01, 02, 03, 04 | |
1727
+ * | | | qqq | Q1, Q2, Q3, Q4 | |
1728
+ * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
1729
+ * | | | qqqqq | 1, 2, 3, 4 | 3 |
1730
+ * | Month (formatting) | 110 | M | 1, 2, ..., 12 | |
1731
+ * | | | Mo | 1st, 2nd, ..., 12th | 5 |
1732
+ * | | | MM | 01, 02, ..., 12 | |
1733
+ * | | | MMM | Jan, Feb, ..., Dec | |
1734
+ * | | | MMMM | January, February, ..., December | 2 |
1735
+ * | | | MMMMM | J, F, ..., D | |
1736
+ * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | |
1737
+ * | | | Lo | 1st, 2nd, ..., 12th | 5 |
1738
+ * | | | LL | 01, 02, ..., 12 | |
1739
+ * | | | LLL | Jan, Feb, ..., Dec | |
1740
+ * | | | LLLL | January, February, ..., December | 2 |
1741
+ * | | | LLLLL | J, F, ..., D | |
1742
+ * | Local week of year | 100 | w | 1, 2, ..., 53 | |
1743
+ * | | | wo | 1st, 2nd, ..., 53th | 5 |
1744
+ * | | | ww | 01, 02, ..., 53 | |
1745
+ * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 |
1746
+ * | | | Io | 1st, 2nd, ..., 53th | 5 |
1747
+ * | | | II | 01, 02, ..., 53 | 5 |
1748
+ * | Day of month | 90 | d | 1, 2, ..., 31 | |
1749
+ * | | | do | 1st, 2nd, ..., 31st | 5 |
1750
+ * | | | dd | 01, 02, ..., 31 | |
1751
+ * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 |
1752
+ * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 |
1753
+ * | | | DD | 01, 02, ..., 365, 366 | 7 |
1754
+ * | | | DDD | 001, 002, ..., 365, 366 | |
1755
+ * | | | DDDD | ... | 2 |
1756
+ * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | |
1757
+ * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
1758
+ * | | | EEEEE | M, T, W, T, F, S, S | |
1759
+ * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
1760
+ * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 |
1761
+ * | | | io | 1st, 2nd, ..., 7th | 5 |
1762
+ * | | | ii | 01, 02, ..., 07 | 5 |
1763
+ * | | | iii | Mon, Tue, Wed, ..., Sun | 5 |
1764
+ * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 |
1765
+ * | | | iiiii | M, T, W, T, F, S, S | 5 |
1766
+ * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 |
1767
+ * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | |
1768
+ * | | | eo | 2nd, 3rd, ..., 1st | 5 |
1769
+ * | | | ee | 02, 03, ..., 01 | |
1770
+ * | | | eee | Mon, Tue, Wed, ..., Sun | |
1771
+ * | | | eeee | Monday, Tuesday, ..., Sunday | 2 |
1772
+ * | | | eeeee | M, T, W, T, F, S, S | |
1773
+ * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
1774
+ * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | |
1775
+ * | | | co | 2nd, 3rd, ..., 1st | 5 |
1776
+ * | | | cc | 02, 03, ..., 01 | |
1777
+ * | | | ccc | Mon, Tue, Wed, ..., Sun | |
1778
+ * | | | cccc | Monday, Tuesday, ..., Sunday | 2 |
1779
+ * | | | ccccc | M, T, W, T, F, S, S | |
1780
+ * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
1781
+ * | AM, PM | 80 | a..aaa | AM, PM | |
1782
+ * | | | aaaa | a.m., p.m. | 2 |
1783
+ * | | | aaaaa | a, p | |
1784
+ * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | |
1785
+ * | | | bbbb | a.m., p.m., noon, midnight | 2 |
1786
+ * | | | bbbbb | a, p, n, mi | |
1787
+ * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | |
1788
+ * | | | BBBB | at night, in the morning, ... | 2 |
1789
+ * | | | BBBBB | at night, in the morning, ... | |
1790
+ * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | |
1791
+ * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 |
1792
+ * | | | hh | 01, 02, ..., 11, 12 | |
1793
+ * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | |
1794
+ * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 |
1795
+ * | | | HH | 00, 01, 02, ..., 23 | |
1796
+ * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | |
1797
+ * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 |
1798
+ * | | | KK | 01, 02, ..., 11, 00 | |
1799
+ * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | |
1800
+ * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 |
1801
+ * | | | kk | 24, 01, 02, ..., 23 | |
1802
+ * | Minute | 60 | m | 0, 1, ..., 59 | |
1803
+ * | | | mo | 0th, 1st, ..., 59th | 5 |
1804
+ * | | | mm | 00, 01, ..., 59 | |
1805
+ * | Second | 50 | s | 0, 1, ..., 59 | |
1806
+ * | | | so | 0th, 1st, ..., 59th | 5 |
1807
+ * | | | ss | 00, 01, ..., 59 | |
1808
+ * | Seconds timestamp | 40 | t | 512969520 | |
1809
+ * | | | tt | ... | 2 |
1810
+ * | Fraction of second | 30 | S | 0, 1, ..., 9 | |
1811
+ * | | | SS | 00, 01, ..., 99 | |
1812
+ * | | | SSS | 000, 0001, ..., 999 | |
1813
+ * | | | SSSS | ... | 2 |
1814
+ * | Milliseconds timestamp | 20 | T | 512969520900 | |
1815
+ * | | | TT | ... | 2 |
1816
+ * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | |
1817
+ * | | | XX | -0800, +0530, Z | |
1818
+ * | | | XXX | -08:00, +05:30, Z | |
1819
+ * | | | XXXX | -0800, +0530, Z, +123456 | 2 |
1820
+ * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
1821
+ * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | |
1822
+ * | | | xx | -0800, +0530, +0000 | |
1823
+ * | | | xxx | -08:00, +05:30, +00:00 | 2 |
1824
+ * | | | xxxx | -0800, +0530, +0000, +123456 | |
1825
+ * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
1826
+ * | Long localized date | NA | P | 05/29/1453 | 5,8 |
1827
+ * | | | PP | May 29, 1453 | |
1828
+ * | | | PPP | May 29th, 1453 | |
1829
+ * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 |
1830
+ * | Long localized time | NA | p | 12:00 AM | 5,8 |
1831
+ * | | | pp | 12:00:00 AM | |
1832
+ * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | |
1833
+ * | | | PPpp | May 29, 1453, 12:00:00 AM | |
1834
+ * | | | PPPpp | May 29th, 1453 at ... | |
1835
+ * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 |
1836
+ * Notes:
1837
+ * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
1838
+ * are the same as "stand-alone" units, but are different in some languages.
1839
+ * "Formatting" units are declined according to the rules of the language
1840
+ * in the context of a date. "Stand-alone" units are always nominative singular.
1841
+ * In `format` function, they will produce different result:
1842
+ *
1843
+ * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
1844
+ *
1845
+ * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
1846
+ *
1847
+ * `parse` will try to match both formatting and stand-alone units interchangably.
1848
+ *
1849
+ * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
1850
+ * the single quote characters (see below).
1851
+ * If the sequence is longer than listed in table:
1852
+ * - for numerical units (`yyyyyyyy`) `parse` will try to match a number
1853
+ * as wide as the sequence
1854
+ * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.
1855
+ * These variations are marked with "2" in the last column of the table.
1856
+ *
1857
+ * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
1858
+ * These tokens represent the shortest form of the quarter.
1859
+ *
1860
+ * 4. The main difference between `y` and `u` patterns are B.C. years:
1861
+ *
1862
+ * | Year | `y` | `u` |
1863
+ * |------|-----|-----|
1864
+ * | AC 1 | 1 | 1 |
1865
+ * | BC 1 | 1 | 0 |
1866
+ * | BC 2 | 2 | -1 |
1867
+ *
1868
+ * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:
1869
+ *
1870
+ * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`
1871
+ *
1872
+ * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`
1873
+ *
1874
+ * while `uu` will just assign the year as is:
1875
+ *
1876
+ * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`
1877
+ *
1878
+ * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`
1879
+ *
1880
+ * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
1881
+ * except local week-numbering years are dependent on `options.weekStartsOn`
1882
+ * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear}
1883
+ * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}).
1884
+ *
1885
+ * 5. These patterns are not in the Unicode Technical Standard #35:
1886
+ * - `i`: ISO day of week
1887
+ * - `I`: ISO week of year
1888
+ * - `R`: ISO week-numbering year
1889
+ * - `o`: ordinal number modifier
1890
+ * - `P`: long localized date
1891
+ * - `p`: long localized time
1892
+ *
1893
+ * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
1894
+ * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
1895
+ *
1896
+ * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
1897
+ * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
1898
+ *
1899
+ * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based
1900
+ * on the given locale.
1901
+ *
1902
+ * using `en-US` locale: `P` => `MM/dd/yyyy`
1903
+ * using `en-US` locale: `p` => `hh:mm a`
1904
+ * using `pt-BR` locale: `P` => `dd/MM/yyyy`
1905
+ * using `pt-BR` locale: `p` => `HH:mm`
1906
+ *
1907
+ * Values will be assigned to the date in the descending order of its unit's priority.
1908
+ * Units of an equal priority overwrite each other in the order of appearance.
1909
+ *
1910
+ * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),
1911
+ * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.
1912
+ *
1913
+ * `referenceDate` must be passed for correct work of the function.
1914
+ * If you're not sure which `referenceDate` to supply, create a new instance of Date:
1915
+ * `parse('02/11/2014', 'MM/dd/yyyy', new Date())`
1916
+ * In this case parsing will be done in the context of the current date.
1917
+ * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,
1918
+ * then `Invalid Date` will be returned.
1919
+ *
1920
+ * The result may vary by locale.
1921
+ *
1922
+ * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.
1923
+ *
1924
+ * If parsing failed, `Invalid Date` will be returned.
1925
+ * Invalid Date is a Date, whose time value is NaN.
1926
+ * Time value of Date: http://es5.github.io/#x15.9.1.1
1927
+ *
1928
+ * ### v2.0.0 breaking changes:
1929
+ *
1930
+ * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
1931
+ *
1932
+ * - Old `parse` was renamed to `toDate`.
1933
+ * Now `parse` is a new function which parses a string using a provided format.
1934
+ *
1935
+ * ```javascript
1936
+ * // Before v2.0.0
1937
+ * parse('2016-01-01')
1938
+ *
1939
+ * // v2.0.0 onward (toDate no longer accepts a string)
1940
+ * toDate(1392098430000) // Unix to timestamp
1941
+ * toDate(new Date(2014, 1, 11, 11, 30, 30)) // Cloning the date
1942
+ * parse('2016-01-01', 'yyyy-MM-dd', new Date())
1943
+ * ```
1944
+ *
1945
+ * @param {String} dateString - the string to parse
1946
+ * @param {String} formatString - the string of tokens
1947
+ * @param {Date|Number} referenceDate - defines values missing from the parsed dateString
1948
+ * @param {Object} [options] - an object with options.
1949
+ * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
1950
+ * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
1951
+ * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year
1952
+ * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
1953
+ * see: https://git.io/fxCyr
1954
+ * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
1955
+ * see: https://git.io/fxCyr
1956
+ * @returns {Date} the parsed date
1957
+ * @throws {TypeError} 3 arguments required
1958
+ * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
1959
+ * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
1960
+ * @throws {RangeError} `options.locale` must contain `match` property
1961
+ * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1962
+ * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1963
+ * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1964
+ * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1965
+ * @throws {RangeError} format string contains an unescaped latin alphabet character
1966
+ *
1967
+ * @example
1968
+ * // Parse 11 February 2014 from middle-endian format:
1969
+ * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())
1970
+ * //=> Tue Feb 11 2014 00:00:00
1971
+ *
1972
+ * @example
1973
+ * // Parse 28th of February in Esperanto locale in the context of 2010 year:
1974
+ * import eo from 'date-fns/locale/eo'
1975
+ * var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), {
1976
+ * locale: eo
1977
+ * })
1978
+ * //=> Sun Feb 28 2010 00:00:00
1979
+ */
1980
+
1981
+ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOptions) {
1982
+ index.requiredArgs(3, arguments);
1983
+ var dateString = String(dirtyDateString);
1984
+ var formatString = String(dirtyFormatString);
1985
+ var options = {};
1986
+ var locale = options.locale || index$1.locale;
1987
+
1988
+ if (!locale.match) {
1989
+ throw new RangeError('locale must contain match property');
1990
+ }
1991
+
1992
+ var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
1993
+ var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : index$1.toInteger(localeFirstWeekContainsDate);
1994
+ var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : index$1.toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
1995
+
1996
+ if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
1997
+ throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
1998
+ }
1999
+
2000
+ var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
2001
+ var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
2002
+ var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
2003
+
2004
+ if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
2005
+ throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
2006
+ }
2007
+
2008
+ if (formatString === '') {
2009
+ if (dateString === '') {
2010
+ return index.toDate(dirtyReferenceDate);
2011
+ } else {
2012
+ return new Date(NaN);
2013
+ }
2014
+ }
2015
+
2016
+ var subFnOptions = {
2017
+ firstWeekContainsDate: firstWeekContainsDate,
2018
+ weekStartsOn: weekStartsOn,
2019
+ locale: locale
2020
+ }; // If timezone isn't specified, it will be set to the system timezone
2021
+
2022
+ var setters = [{
2023
+ priority: TIMEZONE_UNIT_PRIORITY,
2024
+ subPriority: -1,
2025
+ set: dateToSystemTimezone,
2026
+ index: 0
2027
+ }];
2028
+ var i;
2029
+ var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
2030
+ var firstCharacter = substring[0];
2031
+
2032
+ if (firstCharacter === 'p' || firstCharacter === 'P') {
2033
+ var longFormatter = index$1.longFormatters[firstCharacter];
2034
+ return longFormatter(substring, locale.formatLong, subFnOptions);
2035
+ }
2036
+
2037
+ return substring;
2038
+ }).join('').match(formattingTokensRegExp);
2039
+ var usedTokens = [];
2040
+
2041
+ for (i = 0; i < tokens.length; i++) {
2042
+ var token = tokens[i];
2043
+
2044
+ if (!options.useAdditionalWeekYearTokens && index$1.isProtectedWeekYearToken(token)) {
2045
+ index$1.throwProtectedError(token, formatString, dirtyDateString);
2046
+ }
2047
+
2048
+ if (!options.useAdditionalDayOfYearTokens && index$1.isProtectedDayOfYearToken(token)) {
2049
+ index$1.throwProtectedError(token, formatString, dirtyDateString);
2050
+ }
2051
+
2052
+ var firstCharacter = token[0];
2053
+ var parser = parsers[firstCharacter];
2054
+
2055
+ if (parser) {
2056
+ var incompatibleTokens = parser.incompatibleTokens;
2057
+
2058
+ if (Array.isArray(incompatibleTokens)) {
2059
+ var incompatibleToken = void 0;
2060
+
2061
+ for (var _i = 0; _i < usedTokens.length; _i++) {
2062
+ var usedToken = usedTokens[_i].token;
2063
+
2064
+ if (incompatibleTokens.indexOf(usedToken) !== -1 || usedToken === firstCharacter) {
2065
+ incompatibleToken = usedTokens[_i];
2066
+ break;
2067
+ }
2068
+ }
2069
+
2070
+ if (incompatibleToken) {
2071
+ throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time"));
2072
+ }
2073
+ } else if (parser.incompatibleTokens === '*' && usedTokens.length) {
2074
+ throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time"));
2075
+ }
2076
+
2077
+ usedTokens.push({
2078
+ token: firstCharacter,
2079
+ fullToken: token
2080
+ });
2081
+ var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);
2082
+
2083
+ if (!parseResult) {
2084
+ return new Date(NaN);
2085
+ }
2086
+
2087
+ setters.push({
2088
+ priority: parser.priority,
2089
+ subPriority: parser.subPriority || 0,
2090
+ set: parser.set,
2091
+ validate: parser.validate,
2092
+ value: parseResult.value,
2093
+ index: setters.length
2094
+ });
2095
+ dateString = parseResult.rest;
2096
+ } else {
2097
+ if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
2098
+ throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
2099
+ } // Replace two single quote characters with one single quote character
2100
+
2101
+
2102
+ if (token === "''") {
2103
+ token = "'";
2104
+ } else if (firstCharacter === "'") {
2105
+ token = cleanEscapedString(token);
2106
+ } // Cut token from string, or, if string doesn't match the token, return Invalid Date
2107
+
2108
+
2109
+ if (dateString.indexOf(token) === 0) {
2110
+ dateString = dateString.slice(token.length);
2111
+ } else {
2112
+ return new Date(NaN);
2113
+ }
2114
+ }
2115
+ } // Check if the remaining input contains something other than whitespace
2116
+
2117
+
2118
+ if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {
2119
+ return new Date(NaN);
2120
+ }
2121
+
2122
+ var uniquePrioritySetters = setters.map(function (setter) {
2123
+ return setter.priority;
2124
+ }).sort(function (a, b) {
2125
+ return b - a;
2126
+ }).filter(function (priority, index, array) {
2127
+ return array.indexOf(priority) === index;
2128
+ }).map(function (priority) {
2129
+ return setters.filter(function (setter) {
2130
+ return setter.priority === priority;
2131
+ }).sort(function (a, b) {
2132
+ return b.subPriority - a.subPriority;
2133
+ });
2134
+ }).map(function (setterArray) {
2135
+ return setterArray[0];
2136
+ });
2137
+ var date = index.toDate(dirtyReferenceDate);
2138
+
2139
+ if (isNaN(date)) {
2140
+ return new Date(NaN);
2141
+ } // Convert the date in system timezone to the same date in UTC+00:00 timezone.
2142
+ // This ensures that when UTC functions will be implemented, locales will be compatible with them.
2143
+ // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37
2144
+
2145
+
2146
+ var utcDate = index$1.subMilliseconds(date, index$1.getTimezoneOffsetInMilliseconds(date));
2147
+ var flags = {};
2148
+
2149
+ for (i = 0; i < uniquePrioritySetters.length; i++) {
2150
+ var setter = uniquePrioritySetters[i];
2151
+
2152
+ if (setter.validate && !setter.validate(utcDate, setter.value, subFnOptions)) {
2153
+ return new Date(NaN);
2154
+ }
2155
+
2156
+ var result = setter.set(utcDate, flags, setter.value, subFnOptions); // Result is tuple (date, flags)
2157
+
2158
+ if (result[0]) {
2159
+ utcDate = result[0];
2160
+ assign(flags, result[1]); // Result is date
2161
+ } else {
2162
+ utcDate = result;
2163
+ }
2164
+ }
2165
+
2166
+ return utcDate;
2167
+ }
2168
+
2169
+ function dateToSystemTimezone(date, flags) {
2170
+ if (flags.timestampIsSet) {
2171
+ return date;
2172
+ }
2173
+
2174
+ var convertedDate = new Date(0);
2175
+ convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
2176
+ convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
2177
+ return convertedDate;
2178
+ }
2179
+
2180
+ function cleanEscapedString(input) {
2181
+ return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
2182
+ }
2183
+
2184
+ const calendarDatepickerCss = () => `.sc-digi-calendar-datepicker:root{--digi--grayscale--0:#ffffff;--digi--grayscale--100:#f4f4f4;--digi--grayscale--1000:#000000;--digi--grayscale--200:#ededed;--digi--grayscale--300:#e4e4e4;--digi--grayscale--400:#dddddd;--digi--grayscale--50:#fbfbfb;--digi--grayscale--500:#cacaca;--digi--grayscale--600:#acacac;--digi--grayscale--700:#757575;--digi--grayscale--800:#5c5c5c;--digi--grayscale--900:#333333;--digi--misc--transparent:#ffffff00;--digi--sentiment--error--200:#fdeded;--digi--sentiment--error--500:#da0000;--digi--sentiment--error--700:#c7311a;--digi--sentiment--informative--200:#e9e9ff;--digi--sentiment--informative--500:#0a4dd1;--digi--sentiment--informative--700:#0058a3;--digi--sentiment--success--200:#e9f6ec;--digi--sentiment--success--500:#008a20;--digi--sentiment--success--700:#02703c;--digi--sentiment--warning--200:#fff398;--digi--sentiment--warning--50:#fffbdd;--digi--sentiment--warning--500:#ffe200;--digi--sentiment--warning--700:#ffc108;--digi--sentiment--warning--900:#664d00;--digi--animation--duration--base:var(--digi--global--animation--duration--base);--digi--animation--duration--small:var(--digi--global--animation--duration--short);--digi--animation--duration--large:var(--digi--global--animation--duration--longer);--digi--animation--duration--reduced:var(--digi--global--animation--duration--shortest);--digi--animation--duration--sweep:var(--digi--global--animation--duration--longest);--digi--animation--rotation--45:var(--digi--global--animation--rotation--smallest-2);--digi--animation--rotation--90:var(--digi--global--animation--rotation--smallest);--digi--animation--rotation--135:var(--digi--global--animation--rotation--smaller);--digi--animation--rotation--180:var(--digi--global--animation--rotation--small);--digi--animation--rotation--225:var(--digi--global--animation--rotation--base);--digi--animation--rotation--270:var(--digi--global--animation--rotation--large);--digi--animation--rotation--315:var(--digi--global--animation--rotation--larger);--digi--animation--rotation--360:var(--digi--global--animation--rotation--largest);--digi--global--animation--duration--base:0.3s;--digi--global--animation--duration--short:0.2s;--digi--global--animation--duration--shorter:0.1s;--digi--global--animation--duration--shortest:0.01s;--digi--global--animation--duration--long:0.4s;--digi--global--animation--duration--longer:0.5s;--digi--global--animation--duration--longest:4s;--digi--global--animation--rotation--smallest-2:0deg;--digi--global--animation--rotation--smallest:45deg;--digi--global--animation--rotation--smaller:90deg;--digi--global--animation--rotation--small:135deg;--digi--global--animation--rotation--base:180deg;--digi--global--animation--rotation--large:225deg;--digi--global--animation--rotation--larger:270deg;--digi--global--animation--rotation--largest:315deg;--digi--global--animation--rotation--largest-2:360deg;--digi--global--border-radius--base:6px;--digi--global--border-radius--small:4px;--digi--global--border-radius--smaller:3px;--digi--global--border-radius--smallest:2px;--digi--global--border-radius--smallest-2:1px;--digi--global--border-radius--smallest-3:0px;--digi--global--border-radius--large:8px;--digi--global--border-radius--larger:16px;--digi--global--border-radius--largest:32px;--digi--global--border-radius--largest-2:64px;--digi--global--border-width--base:2px;--digi--global--border-width--small:1px;--digi--global--border-width--smaller:0px;--digi--global--border-width--large:4px;--digi--global--border-width--larger:6px;--digi--global--border-width--largest:8px;--digi--global--border-width--largest-2:10px;--digi--global--border-style--solid:solid;--digi--global--border-style--none:none;--digi--global--border-style--dashed:dashed;--digi--global--spacing--base:16px;--digi--global--spacing--small:14px;--digi--global--spacing--smaller:12px;--digi--global--spacing--smallest:10px;--digi--global--spacing--smallest-2:8px;--digi--global--spacing--smallest-3:6px;--digi--global--spacing--smallest-4:4px;--digi--global--spacing--smallest-5:3px;--digi--global--spacing--smallest-6:2px;--digi--global--spacing--smallest-7:1px;--digi--global--spacing--large:18px;--digi--global--spacing--larger:20px;--digi--global--spacing---:22px;--digi--global--spacing--largest-2:24px;--digi--global--spacing--largest-3:28px;--digi--global--spacing--largest-4:32px;--digi--global--spacing--largest-5:40px;--digi--global--spacing--largest-6:48px;--digi--global--spacing--largest-7:56px;--digi--global--spacing--largest-8:64px;--digi--global--spacing--largest:22px;--digi--global--spacing--largest-3-5:30px;--digi--global--spacing--largest-9:72px;--digi--global--spacing--largest-10:80px;--digi--global--breakpoint--smallest-3:374px;--digi--global--breakpoint--smallest-2:375px;--digi--global--breakpoint--smallest:575px;--digi--global--breakpoint--smaller:576px;--digi--global--breakpoint--small:767px;--digi--global--breakpoint--medium:768px;--digi--global--breakpoint--large:991px;--digi--global--breakpoint--larger:992px;--digi--global--breakpoint--largest:1199px;--digi--global--breakpoint--largest-2:1200px;--digi--global--breakpoint--largest-3:1399px;--digi--global--breakpoint--largest-4:1400px;--digi--global--size--smaller:auto;--digi--global--size--small:36rem;--digi--global--size--base:48rem;--digi--global--size--large:62rem;--digi--global--size--larger:75rem;--digi--global--size--largest:87.5rem;--digi--global--text-width--small:31rem;--digi--global--text-width--base:35rem;--digi--global--text-width--large:40rem;--digi--global--text-width--larger:44rem;--digi--global--text-width--largest:48rem;--digi--global--text-width--largest-2:53rem;--digi--global--text-width--largest-3:61rem;--digi--global--text-width--largest-4:70rem;--digi--global--typography--line-height--base:1.5;--digi--global--typography--line-height--small:1;--digi--global--typography--line-height--large:2;--digi--global--typography--font-size--base:1rem;--digi--global--typography--font-size--small:0.875rem;--digi--global--typography--font-size--smaller:0.75rem;--digi--global--typography--font-size--large:1.125rem;--digi--global--typography--font-size--larger:1.25rem;--digi--global--typography--font-size--largest:1.375rem;--digi--global--typography--font-size--largest-2:1.5rem;--digi--global--typography--font-size--largest-3:1.75rem;--digi--global--typography--font-size--largest-4:2rem;--digi--global--typography--font-size--largest-5:2.25rem;--digi--global--typography--font-size--interaction-small:0.875rem;--digi--global--typography--font-size--interaction-medium:1rem;--digi--global--typography--font-size--interaction-large:1.125rem;--digi--global--typography--font-size--largest-6:2.5rem;--digi--global--typography--font-weight--regular:400;--digi--global--typography--font-weight--light:300;--digi--global--typography--font-weight--semibold:600;--digi--global--typography--font-weight--bold:700;--digi--global--typography--font-family--default:'Open Sans', 'Arial', sans-serif;--digi--global--typography--font-family--mono:Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;--digi--global--typography--text-decoration--default:none;--digi--global--typography--text-decoration--link:underline;--digi--border-radius--primary:var(--digi--global--border-radius--smallest-3);--digi--border-radius--secondary:var(--digi--global--border-radius--base);--digi--border-radius--tertiary:var(--digi--global--border-radius--smaller);--digi--border-radius--complementary-1:var(--digi--global--border-radius--largest);--digi--border-radius--complementary-2:var(--digi--global--border-radius--largest-2);--digi--border-radius--button:var(--digi--global--border-radius--base);--digi--border-radius--input:var(--digi--global--border-radius--smallest-3);--digi--border-radius--input-search:var(--digi--global--border-radius--base);--digi--border-radius--complementary-3:var(--digi--global--border-radius--larger);--digi--border-width--primary:var(--digi--global--border-width--small);--digi--border-width--secondary:var(--digi--global--border-width--base);--digi--border-width--complementary-1:var(--digi--global--border-width--largest);--digi--border-width--complementary-2:var(--digi--global--border-width--largest-2);--digi--border-width--input-regular:var(--digi--global--border-width--small);--digi--border-width--input-validation:var(--digi--global--border-width--base);--digi--border-width--button:var(--digi--global--border-width--small);--digi--border-style--primary:var(--digi--global--border-style--solid);--digi--border-style--secondary:var(--digi--global--border-style--none);--digi--padding--medium:var(--digi--global--spacing--base);--digi--padding--smaller:var(--digi--global--spacing--smallest-2);--digi--padding--small:var(--digi--global--spacing--smaller);--digi--padding--large:var(--digi--global--spacing--largest-2);--digi--padding--larger:var(--digi--global--spacing--largest-3);--digi--padding--largest:var(--digi--global--spacing--largest-4);--digi--padding--largest-2:var(--digi--global--spacing--largest-5);--digi--padding--largest-3:var(--digi--global--spacing--largest-6);--digi--margin--smaller:var(--digi--global--spacing--smallest-2);--digi--margin--small:var(--digi--global--spacing--smallest);--digi--margin--medium:var(--digi--global--spacing--base);--digi--margin--large:var(--digi--global--spacing--largest-2);--digi--margin--larger:var(--digi--global--spacing--largest-3);--digi--margin--largest:var(--digi--global--spacing--largest-4);--digi--margin--h1-small:var(--digi--global--spacing--base);--digi--margin--h1-medium:var(--digi--global--spacing--largest-2);--digi--margin--h1-large:var(--digi--global--spacing--largest-4);--digi--margin--h2-small:var(--digi--global--spacing--base);--digi--margin--h2-large:var(--digi--global--spacing--base);--digi--margin--h3-small:var(--digi--global--spacing--smallest-2);--digi--margin--h3-large:var(--digi--global--spacing--smallest-2);--digi--margin--h4-h6-small:var(--digi--global--spacing--smallest-2);--digi--margin--h4-h6-large:var(--digi--global--spacing--smallest-2);--digi--margin--text-small:var(--digi--global--spacing--largest-2);--digi--margin--text-large:var(--digi--global--spacing--largest-2);--digi--gutter--largest-3:var(--digi--global--spacing--largest-2);--digi--gutter--largest-2:var(--digi--global--spacing--larger);--digi--gutter--largest:var(--digi--global--spacing--base);--digi--gutter--larger:var(--digi--global--spacing--smaller);--digi--gutter--large:var(--digi--global--spacing--smallest);--digi--gutter--medium:var(--digi--global--spacing--smallest-2);--digi--gutter--small:var(--digi--global--spacing--smallest-3);--digi--gutter--smaller:var(--digi--global--spacing--smallest-4);--digi--gutter--smallest:var(--digi--global--spacing--smallest-5);--digi--gutter--smallest-2:var(--digi--global--spacing--smallest-6);--digi--gutter--smallest-3:var(--digi--global--spacing--smallest-7);--digi--gutter--button-block-small:var(--digi--global--spacing--smallest-3);--digi--gutter--button-block-medium:var(--digi--global--spacing--smallest-2);--digi--gutter--button-block-large:var(--digi--global--spacing--smallest);--digi--gutter--button-inline-small:var(--digi--global--spacing--smallest-2);--digi--gutter--button-inline-medium:var(--digi--global--spacing--base);--digi--gutter--button-inline-large:var(--digi--global--spacing--largest-2);--digi--gutter--icon:var(--digi--global--spacing--smallest);--digi--breakpoint--small-below:var(--digi--global--breakpoint--smallest);--digi--breakpoint--small:var(--digi--global--breakpoint--smaller);--digi--breakpoint--medium-below:var(--digi--global--breakpoint--small);--digi--breakpoint--medium:var(--digi--global--breakpoint--medium);--digi--breakpoint--large-below:var(--digi--global--breakpoint--large);--digi--breakpoint--large:var(--digi--global--breakpoint--larger);--digi--breakpoint--x-large-below:var(--digi--global--breakpoint--largest);--digi--breakpoint--x-large:var(--digi--global--breakpoint--largest-2);--digi--breakpoint--xx-large-below:var(--digi--global--breakpoint--largest-3);--digi--breakpoint--xx-large:var(--digi--global--breakpoint--largest-4);--digi--container-width--smaller:var(--digi--global--size--smaller);--digi--container-width--small:var(--digi--global--size--small);--digi--container-width--base:var(--digi--global--size--base);--digi--container-width--medium:var(--digi--global--size--base);--digi--container-width--large:var(--digi--global--size--large);--digi--container-width--larger:var(--digi--global--size--larger);--digi--container-width--largest:var(--digi--global--size--largest);--digi--container-gutter--smaller:var(--digi--global--spacing--base);--digi--container-gutter--small:var(--digi--global--spacing--large);--digi--container-gutter--base:var(--digi--global--spacing--base);--digi--container-gutter--medium:var(--digi--global--spacing--largest-2);--digi--container-gutter--large:var(--digi--global--spacing--base);--digi--container-gutter--larger:var(--digi--global--spacing--largest-3-5);--digi--container-gutter--largest:var(--digi--global--spacing--largest-5);--digi--paragraph-width--medium:var(--digi--global--text-width--base);--digi--paragraph-width--large:var(--digi--global--text-width--large);--digi--input-height--small:var(--digi--global--spacing--largest-4);--digi--input-height--medium:var(--digi--global--spacing--largest-5);--digi--input-height--large:var(--digi--global--spacing--largest-6);--digi--typography--body--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--body--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--body--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--body--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--body--font-weight--desktop-large:var(--digi--global--typography--font-weight--regular);--digi--typography--body--font-weight--mobile:var(--digi--global--typography--font-weight--regular);--digi--typography--body--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--body--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--body--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--body--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--body--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--body--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--description--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--description--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--description--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-size--desktop:var(--digi--global--typography--font-size--largest-4);--digi--typography--heading-1--font-size--desktop-large:var(--digi--global--typography--font-size--largest-6);--digi--typography--heading-1--font-size--mobile:var(--digi--global--typography--font-size--largest-3);--digi--typography--heading-1--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-1--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-1--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--font-size--desktop:var(--digi--global--typography--font-size--largest-2);--digi--typography--heading-2--font-size--desktop-large:var(--digi--global--typography--font-size--largest-3);--digi--typography--heading-2--font-size--mobile:var(--digi--global--typography--font-size--largest);--digi--typography--heading-2--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--font-size--desktop:var(--digi--global--typography--font-size--larger);--digi--typography--heading-3--font-size--desktop-large:var(--digi--global--typography--font-size--largest);--digi--typography--heading-3--font-size--mobile:var(--digi--global--typography--font-size--large);--digi--typography--heading-3--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--heading-4--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--heading-4--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--heading-4--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-jumbo--font-size--desktop:var(--digi--global--typography--font-size--largest-4);--digi--typography--heading-jumbo--font-size--desktop-large:var(--digi--global--typography--font-size--largest-6);--digi--typography--heading-jumbo--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--input--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--label--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--label--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--label--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--label--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--label-description--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--label-description--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--link--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--link--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--link--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--link--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--link--font-weight--desktop-large:var(--digi--global--typography--font-weight--regular);--digi--typography--link--font-weight--mobile:var(--digi--global--typography--font-weight--regular);--digi--typography--link--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--link--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--link--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--link--text-decoration--desktop:var(--digi--global--typography--text-decoration--link);--digi--typography--link--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--link);--digi--typography--link--text-decoration--mobile:var(--digi--global--typography--text-decoration--link);--digi--typography--link-bold--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--preamble--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--preamble--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--preamble--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--preamble--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--preamble--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--accordion--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--accordion--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--accordion--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--tag--font-size--desktop:var(--digi--global--typography--font-size--small);--digi--typography--tag--font-size--mobile:var(--digi--global--typography--font-size--small);--digi--typography--tag--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--breadcrumbs--font-size--desktop:var(--digi--global--typography--font-size--small);--digi--typography--breadcrumbs--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--title-logo--font-size--desktop:var(--digi--global--typography--font-size--largest-5);--digi--typography--title-logo--font-size--desktop-large:var(--digi--global--typography--font-size--largest-5);--digi--typography--title-logo--font-size--mobile:var(--digi--global--typography--font-size--largest-3);--digi--typography--title-logo--font-weight--desktop:var(--digi--global--typography--font-weight--bold);--digi--typography--button--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--button--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--button--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--color--amethyst--500:#822998;--digi--color--jade--100:#bddfda;--digi--color--jade--200:#7fc1b6;--digi--color--jade--400:#379d8d;--digi--color--jade--50:#ddeeec;--digi--color--jade--500:#058470;--digi--color--jade--600:#046a5a;--digi--color--jade--700:#035548;--digi--color--jade--900:#02372f;--digi--color--leaf--100:#f1f7e5;--digi--color--leaf--200:#ddebc1;--digi--color--leaf--400:#aace65;--digi--color--leaf--500:#95c23e;--digi--color--leaf--600:#779b32;--digi--color--pear--500:#b7ee4a;--digi--color--pear--600:#a7d943;--digi--color--rose--100:#f4cada;--digi--color--rose--200:#e997b7;--digi--color--rose--400:#dd5c8e;--digi--color--rose--50:#f9e4ec;--digi--color--rose--500:#d43372;--digi--color--rose--600:#bd2e65;--digi--color--rose--700:#882149;--digi--color--rose--900:#54172e;--digi--color--sapphire--500:#1616b2;--digi--color--stratos--100:#dddde9;--digi--color--stratos--400:#33337b;--digi--color--stratos--500:#00005a;--digi--color--stratos--600:#000048;--digi--color--water--200:#f1f8fe;--digi--color--water--500:#bdd3e7;--digi--color--water--700:#0058a3;--digi--color--background--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--background--interactive--default--input-elements--light--af18:var(--digi--grayscale--0);--digi--color--background--interactive--default--pop-out--light--af18:var(--digi--color--leaf--100);--digi--color--background--interactive--default--primary--light--af18:var(--digi--color--stratos--500);--digi--color--background--interactive--default--primary-inverted--light--af18:var(--digi--color--leaf--500);--digi--color--background--interactive--default--quaternary--light--af18:var(--digi--grayscale--100);--digi--color--background--interactive--default--secondary--light--af18:var(--digi--grayscale--0);--digi--color--background--interactive--default--secondary-inverted--light--af18:var(--digi--misc--transparent);--digi--color--background--interactive--default--tertiary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--hover--inverted--light--af18:var(--digi--color--pear--500);--digi--color--background--interactive--hover--primary--light--af18:var(--digi--color--water--700);--digi--color--background--interactive--hover--quarternary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--hover--secondary--light--af18:var(--digi--color--water--500);--digi--color--background--interactive--hover--tertiary--light--af18:var(--digi--color--sapphire--500);--digi--color--background--interactive--selected--on-menu-minus-button--light--af18:var(--digi--color--leaf--200);--digi--color--background--interactive--selected--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--background--interactive--selected--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--background--interactive--selected--tertiary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--validation--error--light--af18:var(--digi--sentiment--error--200);--digi--color--background--interactive--validation--success--light--af18:var(--digi--sentiment--success--200);--digi--color--background--interactive--validation--warning--light--af18:var(--digi--sentiment--warning--50);--digi--color--background--notification--light--af18:var(--digi--sentiment--error--500);--digi--color--background--pop-out--light--af18:var(--digi--color--leaf--100);--digi--color--background--primary--light--af18:var(--digi--grayscale--0);--digi--color--background--secondary--light--af18:var(--digi--grayscale--100);--digi--color--background--secondary-accent--light--af18:var(--digi--grayscale--400);--digi--color--background--secondary-muted--light--af18:var(--digi--grayscale--50);--digi--color--background--sentiment--beta--primary--light--af18:var(--digi--color--rose--500);--digi--color--background--sentiment--beta--secondary--light--af18:var(--digi--color--rose--100);--digi--color--background--sentiment--error--primary--light--af18:var(--digi--sentiment--error--500);--digi--color--background--sentiment--error--secondary--light--af18:var(--digi--sentiment--error--700);--digi--color--background--sentiment--error--tertiary--light--af18:var(--digi--sentiment--error--200);--digi--color--background--sentiment--info--primary--light--af18:var(--digi--sentiment--informative--500);--digi--color--background--sentiment--info--secondary--light--af18:var(--digi--sentiment--informative--700);--digi--color--background--sentiment--info--tertiary--light--af18:var(--digi--sentiment--informative--200);--digi--color--background--sentiment--neutral--primary--light--af18:var(--digi--grayscale--700);--digi--color--background--sentiment--neutral--secondary--light--af18:var(--digi--grayscale--400);--digi--color--background--sentiment--neutral--tertiary--light--af18:var(--digi--grayscale--900);--digi--color--background--sentiment--success--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--background--sentiment--success--secondary--light--af18:var(--digi--sentiment--success--700);--digi--color--background--sentiment--success--tertiary--light--af18:var(--digi--sentiment--success--200);--digi--color--background--sentiment--warning--primary--light--af18:var(--digi--sentiment--warning--500);--digi--color--background--sentiment--warning--quarternary--light--af18:var(--digi--sentiment--warning--50);--digi--color--background--sentiment--warning--secondary--light--af18:var(--digi--sentiment--warning--700);--digi--color--background--sentiment--warning--tertiary--light--af18:var(--digi--sentiment--warning--200);--digi--color--background--transparent--light--af18:var(--digi--misc--transparent);--digi--color--border--accent--primary--light--af18:var(--digi--color--stratos--500);--digi--color--border--accent--secondary--light--af18:var(--digi--color--leaf--500);--digi--color--border--interactive--default--inverted--light--af18:var(--digi--color--leaf--500);--digi--color--border--interactive--default--on-input--light--af18:var(--digi--grayscale--900);--digi--color--border--interactive--default--on-input-nuance--light--af18:var(--digi--grayscale--800);--digi--color--border--interactive--default--primary--light--af18:var(--digi--color--stratos--500);--digi--color--border--interactive--hover--inverted--light--af18:var(--digi--color--pear--500);--digi--color--border--interactive--hover--primary--light--af18:var(--digi--color--water--700);--digi--color--border--interactive--hover--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--border--interactive--selected--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--border--interactive--selected--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--border--interactive--validation--error--light--af18:var(--digi--sentiment--error--500);--digi--color--border--interactive--validation--success--light--af18:var(--digi--sentiment--success--500);--digi--color--border--interactive--validation--warning--light--af18:var(--digi--sentiment--warning--900);--digi--color--border--notification--light--af18:var(--digi--grayscale--0);--digi--color--border--sentiment--error--light--af18:var(--digi--sentiment--error--500);--digi--color--border--sentiment--info--light--af18:var(--digi--sentiment--informative--500);--digi--color--border--sentiment--success--light--af18:var(--digi--sentiment--success--500);--digi--color--border--sentiment--warning--light--af18:var(--digi--sentiment--warning--500);--digi--color--border--transparent--light--af18:var(--digi--misc--transparent);--digi--color--divider--cta--light--af18:var(--digi--color--sapphire--500);--digi--color--divider--on-brand-primary--light--af18:var(--digi--color--stratos--400);--digi--color--divider--primary--light--af18:var(--digi--grayscale--400);--digi--color--divider--secondary--light--af18:var(--digi--grayscale--200);--digi--color--icon--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--icon--brand-secondary--light--af18:var(--digi--color--leaf--500);--digi--color--icon--cta--light--af18:var(--digi--color--sapphire--500);--digi--color--icon--primary--light--af18:var(--digi--grayscale--900);--digi--color--icon--secondary--light--af18:var(--digi--grayscale--0);--digi--color--icon--validation--error--light--af18:var(--digi--sentiment--error--500);--digi--color--icon--validation--success--light--af18:var(--digi--sentiment--success--500);--digi--color--icon--validation--warning--light--af18:var(--digi--sentiment--warning--500);--digi--color--infographic--background--light--af18:var(--digi--grayscale--0);--digi--color--infographic--brand--primary--light--af18:var(--digi--color--leaf--500);--digi--color--infographic--brand--primary-alt--light--af18:var(--digi--color--leaf--500);--digi--color--infographic--brand--secondary--light--af18:var(--digi--color--leaf--200);--digi--color--infographic--brand--secondary-alt--light--af18:var(--digi--color--leaf--200);--digi--color--infographic--lineart--light--af18:var(--digi--grayscale--900);--digi--color--logotype--primary--symbol--light--af18:var(--digi--color--leaf--500);--digi--color--logotype--primary--text--light--af18:var(--digi--color--stratos--500);--digi--color--logotype--secondary--symbol--light--af18:#1db920;--digi--color--logotype--secondary--text--light--af18:var(--digi--grayscale--0);--digi--color--marking--indication--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--marking--indication--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--marking--indication--tertiary--light--af18:var(--digi--grayscale--700);--digi--color--marking--navigation--level-active--light--af18:var(--digi--color--leaf--200);--digi--color--marking--navigation--level-inactive--light--af18:var(--digi--grayscale--100);--digi--color--marking--navigation--selected--light--af18:var(--digi--color--leaf--500);--digi--color--misc--skeleton--light--af18:var(--digi--grayscale--400);--digi--color--misc--spinner-path--light--af18:var(--digi--grayscale--400);--digi--color--text--description--light--af18:var(--digi--grayscale--800);--digi--color--text--interactive--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--text--interactive--brand-secondary--light--af18:var(--digi--color--leaf--500);--digi--color--text--interactive--primary--light--af18:var(--digi--color--sapphire--500);--digi--color--text--interactive--secondary--light--af18:var(--digi--grayscale--0);--digi--color--text--interactive--tertiary--light--af18:var(--digi--grayscale--900);--digi--color--text--interactive--visited--light--af18:var(--digi--color--amethyst--500);--digi--color--text--primary--light--af18:var(--digi--grayscale--900);--digi--color--text--secondary--light--af18:var(--digi--grayscale--0);--digi--amethyst--500:#822998;--digi--granskott--150:#f2faf2;--digi--granskott--200:#ebf8eb;--digi--granskott--250:#ddf4dd;--digi--granskott--300:#cbecc9;--digi--granskott--350:#ace4ad;--digi--granskott--650:#1db920;--digi--granskott--700:#02a704;--digi--granskott--750:#018903;--digi--granskott--800:#016503;--digi--natthimmel--200:#e9f6fd;--digi--natthimmel--250:#ddf1fc;--digi--natthimmel--300:#c9e9fa;--digi--natthimmel--350:#abdef7;--digi--natthimmel--700:#043982;--digi--natthimmel--800:#091d54;--digi--natthimmel--900:#071744;--digi--norrsken--400:#aaf5ab;--digi--norrsken--500:#67ee6a;--digi--rallarros--300:#f8ddf5;--digi--rallarros--500:#ce1cbd;--digi--sapphire--500:#1616b2;--digi--color--background--brand-primary--light:var(--digi--natthimmel--800);--digi--color--background--interactive--default--input-elements--light:var(--digi--grayscale--0);--digi--color--background--interactive--default--pop-out--light:var(--digi--granskott--150);--digi--color--background--interactive--default--primary--light:var(--digi--natthimmel--800);--digi--color--background--interactive--default--primary-inverted--light:var(--digi--norrsken--500);--digi--color--background--interactive--default--quaternary--light:var(--digi--grayscale--100);--digi--color--background--interactive--default--secondary--light:var(--digi--grayscale--0);--digi--color--background--interactive--default--secondary-inverted--light:var(--digi--misc--transparent);--digi--color--background--interactive--default--tertiary--light:var(--digi--grayscale--200);--digi--color--background--interactive--hover--inverted--light:var(--digi--norrsken--400);--digi--color--background--interactive--hover--primary--light:var(--digi--natthimmel--700);--digi--color--background--interactive--hover--quarternary--light:var(--digi--grayscale--200);--digi--color--background--interactive--hover--secondary--light:var(--digi--natthimmel--250);--digi--color--background--interactive--hover--tertiary--light:var(--digi--sapphire--500);--digi--color--background--interactive--selected--on-menu-minus-button--light:var(--digi--granskott--350);--digi--color--background--interactive--selected--primary--light:var(--digi--sentiment--success--500);--digi--color--background--interactive--selected--secondary--light:var(--digi--natthimmel--800);--digi--color--background--interactive--selected--tertiary--light:var(--digi--grayscale--200);--digi--color--background--interactive--validation--error--light:var(--digi--sentiment--error--200);--digi--color--background--interactive--validation--success--light:var(--digi--sentiment--success--200);--digi--color--background--interactive--validation--warning--light:var(--digi--sentiment--warning--50);--digi--color--background--notification--light:var(--digi--sentiment--error--500);--digi--color--background--pop-out--light:var(--digi--granskott--200);--digi--color--background--primary--light:var(--digi--grayscale--0);--digi--color--background--secondary--light:var(--digi--grayscale--100);--digi--color--background--secondary-accent--light:var(--digi--grayscale--400);--digi--color--background--secondary-muted--light:var(--digi--grayscale--50);--digi--color--background--sentiment--beta--primary--light:var(--digi--rallarros--500);--digi--color--background--sentiment--beta--secondary--light:var(--digi--rallarros--300);--digi--color--background--sentiment--error--primary--light:var(--digi--sentiment--error--500);--digi--color--background--sentiment--error--secondary--light:var(--digi--sentiment--error--700);--digi--color--background--sentiment--error--tertiary--light:var(--digi--sentiment--error--200);--digi--color--background--sentiment--info--primary--light:var(--digi--sentiment--informative--500);--digi--color--background--sentiment--info--secondary--light:var(--digi--sentiment--informative--700);--digi--color--background--sentiment--info--tertiary--light:var(--digi--sentiment--informative--200);--digi--color--background--sentiment--neutral--primary--light:var(--digi--grayscale--700);--digi--color--background--sentiment--neutral--secondary--light:var(--digi--grayscale--400);--digi--color--background--sentiment--neutral--tertiary--light:var(--digi--grayscale--900);--digi--color--background--sentiment--success--primary--light:var(--digi--sentiment--success--500);--digi--color--background--sentiment--success--secondary--light:var(--digi--sentiment--success--700);--digi--color--background--sentiment--success--tertiary--light:var(--digi--sentiment--success--200);--digi--color--background--sentiment--warning--primary--light:var(--digi--sentiment--warning--500);--digi--color--background--sentiment--warning--quarternary--light:var(--digi--sentiment--warning--50);--digi--color--background--sentiment--warning--secondary--light:var(--digi--sentiment--warning--700);--digi--color--background--sentiment--warning--tertiary--light:var(--digi--sentiment--warning--200);--digi--color--background--transparent--light:var(--digi--misc--transparent);--digi--color--border--accent--primary--light:var(--digi--natthimmel--800);--digi--color--border--accent--secondary--light:var(--digi--granskott--700);--digi--color--border--interactive--default--inverted--light:var(--digi--norrsken--500);--digi--color--border--interactive--default--on-input--light:var(--digi--grayscale--900);--digi--color--border--interactive--default--on-input-nuance--light:var(--digi--grayscale--800);--digi--color--border--interactive--default--primary--light:var(--digi--natthimmel--800);--digi--color--border--interactive--hover--inverted--light:var(--digi--norrsken--400);--digi--color--border--interactive--hover--primary--light:var(--digi--natthimmel--700);--digi--color--border--interactive--hover--secondary--light:var(--digi--natthimmel--800);--digi--color--border--interactive--selected--primary--light:var(--digi--sentiment--success--500);--digi--color--border--interactive--selected--secondary--light:var(--digi--natthimmel--800);--digi--color--border--interactive--validation--error--light:var(--digi--sentiment--error--500);--digi--color--border--interactive--validation--success--light:var(--digi--sentiment--success--500);--digi--color--border--interactive--validation--warning--light:var(--digi--sentiment--warning--900);--digi--color--border--notification--light:var(--digi--grayscale--0);--digi--color--border--sentiment--error--light:var(--digi--sentiment--error--500);--digi--color--border--sentiment--info--light:var(--digi--sentiment--informative--500);--digi--color--border--sentiment--success--light:var(--digi--sentiment--success--500);--digi--color--border--sentiment--warning--light:var(--digi--sentiment--warning--500);--digi--color--border--transparent--light:var(--digi--misc--transparent);--digi--color--divider--cta--light:var(--digi--sapphire--500);--digi--color--divider--on-brand-primary--light:var(--digi--natthimmel--350);--digi--color--divider--primary--light:var(--digi--grayscale--400);--digi--color--divider--secondary--light:var(--digi--grayscale--200);--digi--color--icon--brand-primary--light:var(--digi--natthimmel--800);--digi--color--icon--brand-secondary--light:var(--digi--norrsken--500);--digi--color--icon--cta--light:var(--digi--sapphire--500);--digi--color--icon--primary--light:var(--digi--grayscale--900);--digi--color--icon--secondary--light:var(--digi--grayscale--0);--digi--color--icon--validation--error--light:var(--digi--sentiment--error--500);--digi--color--icon--validation--success--light:var(--digi--sentiment--success--500);--digi--color--icon--validation--warning--light:var(--digi--sentiment--warning--500);--digi--color--infographic--background--light:var(--digi--grayscale--0);--digi--color--infographic--brand--primary--light:var(--digi--granskott--700);--digi--color--infographic--brand--primary-alt--light:var(--digi--granskott--700);--digi--color--infographic--brand--secondary--light:var(--digi--granskott--300);--digi--color--infographic--brand--secondary-alt--light:var(--digi--granskott--300);--digi--color--infographic--lineart--light:var(--digi--grayscale--900);--digi--color--logotype--primary--symbol--light:var(--digi--granskott--700);--digi--color--logotype--primary--text--light:var(--digi--natthimmel--800);--digi--color--logotype--secondary--symbol--light:#1db920;--digi--color--logotype--secondary--text--light:var(--digi--grayscale--0);--digi--color--marking--indication--primary--light:var(--digi--sentiment--success--500);--digi--color--marking--indication--secondary--light:var(--digi--natthimmel--800);--digi--color--marking--indication--tertiary--light:var(--digi--grayscale--700);--digi--color--marking--navigation--level-active--light:var(--digi--granskott--350);--digi--color--marking--navigation--level-inactive--light:var(--digi--grayscale--100);--digi--color--marking--navigation--selected--light:var(--digi--granskott--700);--digi--color--misc--skeleton--light:var(--digi--grayscale--400);--digi--color--misc--spinner-path--light:var(--digi--grayscale--400);--digi--color--text--description--light:var(--digi--grayscale--800);--digi--color--text--interactive--brand-primary--light:var(--digi--natthimmel--800);--digi--color--text--interactive--brand-secondary--light:var(--digi--norrsken--500);--digi--color--text--interactive--primary--light:var(--digi--sapphire--500);--digi--color--text--interactive--secondary--light:var(--digi--grayscale--0);--digi--color--text--interactive--tertiary--light:var(--digi--grayscale--900);--digi--color--text--interactive--visited--light:var(--digi--amethyst--500);--digi--color--text--primary--light:var(--digi--grayscale--900);--digi--color--text--secondary--light:var(--digi--grayscale--0);--digi--color--background--brand-primary:var(--digi--color--background--brand-primary--light);--digi--color--background--interactive--default--input-elements:var(--digi--color--background--interactive--default--input-elements--light);--digi--color--background--interactive--default--pop-out:var(--digi--color--background--interactive--default--pop-out--light);--digi--color--background--interactive--default--primary:var(--digi--color--background--interactive--default--primary--light);--digi--color--background--interactive--default--primary-inverted:var(--digi--color--background--interactive--default--primary-inverted--light);--digi--color--background--interactive--default--quaternary:var(--digi--color--background--interactive--default--quaternary--light);--digi--color--background--interactive--default--secondary:var(--digi--color--background--interactive--default--secondary--light);--digi--color--background--interactive--default--secondary-inverted:var(--digi--color--background--interactive--default--secondary-inverted--light);--digi--color--background--interactive--default--tertiary:var(--digi--color--background--interactive--default--tertiary--light);--digi--color--background--interactive--hover--inverted:var(--digi--color--background--interactive--hover--inverted--light);--digi--color--background--interactive--hover--primary:var(--digi--color--background--interactive--hover--primary--light);--digi--color--background--interactive--hover--quarternary:var(--digi--color--background--interactive--hover--quarternary--light);--digi--color--background--interactive--hover--secondary:var(--digi--color--background--interactive--hover--secondary--light);--digi--color--background--interactive--hover--tertiary:var(--digi--color--background--interactive--hover--tertiary--light);--digi--color--background--interactive--selected--on-menu-minus-button:var(--digi--color--background--interactive--selected--on-menu-minus-button--light);--digi--color--background--interactive--selected--primary:var(--digi--color--background--interactive--selected--primary--light);--digi--color--background--interactive--selected--secondary:var(--digi--color--background--interactive--selected--secondary--light);--digi--color--background--interactive--selected--tertiary:var(--digi--color--background--interactive--selected--tertiary--light);--digi--color--background--interactive--validation--error:var(--digi--color--background--interactive--validation--error--light);--digi--color--background--interactive--validation--success:var(--digi--color--background--interactive--validation--success--light);--digi--color--background--interactive--validation--warning:var(--digi--color--background--interactive--validation--warning--light);--digi--color--background--notification:var(--digi--color--background--notification--light);--digi--color--background--pop-out:var(--digi--color--background--pop-out--light);--digi--color--background--primary:var(--digi--color--background--primary--light);--digi--color--background--secondary:var(--digi--color--background--secondary--light);--digi--color--background--secondary-accent:var(--digi--color--background--secondary-accent--light);--digi--color--background--secondary-muted:var(--digi--color--background--secondary-muted--light);--digi--color--background--sentiment--beta--primary:var(--digi--color--background--sentiment--beta--primary--light);--digi--color--background--sentiment--beta--secondary:var(--digi--color--background--sentiment--beta--secondary--light);--digi--color--background--sentiment--error--primary:var(--digi--color--background--sentiment--error--primary--light);--digi--color--background--sentiment--error--secondary:var(--digi--color--background--sentiment--error--secondary--light);--digi--color--background--sentiment--error--tertiary:var(--digi--color--background--sentiment--error--tertiary--light);--digi--color--background--sentiment--info--primary:var(--digi--color--background--sentiment--info--primary--light);--digi--color--background--sentiment--info--secondary:var(--digi--color--background--sentiment--info--secondary--light);--digi--color--background--sentiment--info--tertiary:var(--digi--color--background--sentiment--info--tertiary--light);--digi--color--background--sentiment--neutral--primary:var(--digi--color--background--sentiment--neutral--primary--light);--digi--color--background--sentiment--neutral--secondary:var(--digi--color--background--sentiment--neutral--secondary--light);--digi--color--background--sentiment--neutral--tertiary:var(--digi--color--background--sentiment--neutral--tertiary--light);--digi--color--background--sentiment--success--primary:var(--digi--color--background--sentiment--success--primary--light);--digi--color--background--sentiment--success--secondary:var(--digi--color--background--sentiment--success--secondary--light);--digi--color--background--sentiment--success--tertiary:var(--digi--color--background--sentiment--success--tertiary--light);--digi--color--background--sentiment--warning--primary:var(--digi--color--background--sentiment--warning--primary--light);--digi--color--background--sentiment--warning--quarternary:var(--digi--color--background--sentiment--warning--quarternary--light);--digi--color--background--sentiment--warning--secondary:var(--digi--color--background--sentiment--warning--secondary--light);--digi--color--background--sentiment--warning--tertiary:var(--digi--color--background--sentiment--warning--tertiary--light);--digi--color--background--transparent:var(--digi--color--background--transparent--light);--digi--color--border--accent--primary:var(--digi--color--border--accent--primary--light);--digi--color--border--accent--secondary:var(--digi--color--border--accent--secondary--light);--digi--color--border--interactive--default--inverted:var(--digi--color--border--interactive--default--inverted--light);--digi--color--border--interactive--default--on-input:var(--digi--color--border--interactive--default--on-input--light);--digi--color--border--interactive--default--on-input-nuance:var(--digi--color--border--interactive--default--on-input-nuance--light);--digi--color--border--interactive--default--primary:var(--digi--color--border--interactive--default--primary--light);--digi--color--border--interactive--hover--inverted:var(--digi--color--border--interactive--hover--inverted--light);--digi--color--border--interactive--hover--primary:var(--digi--color--border--interactive--hover--primary--light);--digi--color--border--interactive--hover--secondary:var(--digi--color--border--interactive--hover--secondary--light);--digi--color--border--interactive--selected--primary:var(--digi--color--border--interactive--selected--primary--light);--digi--color--border--interactive--selected--secondary:var(--digi--color--border--interactive--selected--secondary--light);--digi--color--border--interactive--validation--error:var(--digi--color--border--interactive--validation--error--light);--digi--color--border--interactive--validation--success:var(--digi--color--border--interactive--validation--success--light);--digi--color--border--interactive--validation--warning:var(--digi--color--border--interactive--validation--warning--light);--digi--color--border--notification:var(--digi--color--border--notification--light);--digi--color--border--sentiment--error:var(--digi--color--border--sentiment--error--light);--digi--color--border--sentiment--info:var(--digi--color--border--sentiment--info--light);--digi--color--border--sentiment--success:var(--digi--color--border--sentiment--success--light);--digi--color--border--sentiment--warning:var(--digi--color--border--sentiment--warning--light);--digi--color--border--transparent:var(--digi--color--border--transparent--light);--digi--color--divider--cta:var(--digi--color--divider--cta--light);--digi--color--divider--on-brand-primary:var(--digi--color--divider--on-brand-primary--light);--digi--color--divider--primary:var(--digi--color--divider--primary--light);--digi--color--divider--secondary:var(--digi--color--divider--secondary--light);--digi--color--icon--brand-primary:var(--digi--color--icon--brand-primary--light);--digi--color--icon--brand-secondary:var(--digi--color--icon--brand-secondary--light);--digi--color--icon--cta:var(--digi--color--icon--cta--light);--digi--color--icon--primary:var(--digi--color--icon--primary--light);--digi--color--icon--secondary:var(--digi--color--icon--secondary--light);--digi--color--icon--validation--error:var(--digi--color--icon--validation--error--light);--digi--color--icon--validation--success:var(--digi--color--icon--validation--success--light);--digi--color--icon--validation--warning:var(--digi--color--icon--validation--warning--light);--digi--color--infographic--background:var(--digi--color--infographic--background--light);--digi--color--infographic--brand--primary:var(--digi--color--infographic--brand--primary--light);--digi--color--infographic--brand--primary-alt:var(--digi--color--infographic--brand--primary-alt--light);--digi--color--infographic--brand--secondary:var(--digi--color--infographic--brand--secondary--light);--digi--color--infographic--brand--secondary-alt:var(--digi--color--infographic--brand--secondary-alt--light);--digi--color--infographic--lineart:var(--digi--color--infographic--lineart--light);--digi--color--logotype--primary--symbol:var(--digi--color--logotype--primary--symbol--light);--digi--color--logotype--primary--text:var(--digi--color--logotype--primary--text--light);--digi--color--logotype--secondary--symbol:var(--digi--color--logotype--secondary--symbol--light);--digi--color--logotype--secondary--text:var(--digi--color--logotype--secondary--text--light);--digi--color--marking--indication--primary:var(--digi--color--marking--indication--primary--light);--digi--color--marking--indication--secondary:var(--digi--color--marking--indication--secondary--light);--digi--color--marking--indication--tertiary:var(--digi--color--marking--indication--tertiary--light);--digi--color--marking--navigation--level-active:var(--digi--color--marking--navigation--level-active--light);--digi--color--marking--navigation--level-inactive:var(--digi--color--marking--navigation--level-inactive--light);--digi--color--marking--navigation--selected:var(--digi--color--marking--navigation--selected--light);--digi--color--misc--skeleton:var(--digi--color--misc--skeleton--light);--digi--color--misc--spinner-path:var(--digi--color--misc--spinner-path--light);--digi--color--text--description:var(--digi--color--text--description--light);--digi--color--text--interactive--brand-primary:var(--digi--color--text--interactive--brand-primary--light);--digi--color--text--interactive--brand-secondary:var(--digi--color--text--interactive--brand-secondary--light);--digi--color--text--interactive--primary:var(--digi--color--text--interactive--primary--light);--digi--color--text--interactive--secondary:var(--digi--color--text--interactive--secondary--light);--digi--color--text--interactive--tertiary:var(--digi--color--text--interactive--tertiary--light);--digi--color--text--interactive--visited:var(--digi--color--text--interactive--visited--light);--digi--color--text--primary:var(--digi--color--text--primary--light);--digi--color--text--secondary:var(--digi--color--text--secondary--light)}body.sc-digi-calendar-datepicker{font-size:1rem;font-family:var(--digi--global--typography--font-family--default)}.sc-digi-calendar-datepicker-h{--digi--datepicker--max-width:18.75rem;--digi--datepicker--border-radius:0.25rem;--digi--datepicker--calendar--max-width:20.25rem;--digi--datepicker--calendar--show-week--max-width:23.375rem;--digi--datepicker--calendar-shadow:0 0.125rem 0.375rem 0 rgba(0, 0, 0, 0.7);--digi--datepicker--calendar--background-color:var(--digi--color--background--interactive--default--secondary);--digi--datepicker--input-icon--width:0.875rem;--digi--datepicker--input-icon--horizontal-padding:0.75rem;--digi--datepicker--input-icon--vertical-padding:var(--digi--global--spacing--smallest-2);--digi--datepicker--input--inline-start:var(--digi--gutter--medium);--digi--datepicker--input--inline-end:calc(var(--digi--datepicker--input-icon--width) + var(--digi--datepicker--input-icon--horizontal-padding) * 2);box-sizing:content-box}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker.sc-digi-calendar-datepicker{position:relative;pointer-events:none}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker{position:relative;max-width:var(--digi--datepicker--max-width);pointer-events:auto}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__inactive.sc-digi-calendar-datepicker{--digi--form-input--background--empty:var(--digi--datepicker--input--inactive-background)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker{background:var(--digi--color--background--primary);height:var(--digi--form-input--height--medium);color:inherit;border:1px solid var(--digi--color--border--interactive--default--on-input);border-left:none;padding:0;font:inherit;outline:inherit;cursor:pointer}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker .digi-calendar-datepicker__button-icon.sc-digi-calendar-datepicker{box-sizing:content-box;width:var(--digi--datepicker--input-icon--width);padding:var(--digi--datepicker--input-icon--vertical-padding) var(--digi--datepicker--input-icon--horizontal-padding)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker svg.sc-digi-calendar-datepicker{color:var(--digi--color--icon--brand-primary)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker:hover,.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker:focus{background:var(--digi--color--background--interactive--hover--secondary)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--max-width);height:0px;border-radius:var(--digi--datepicker--border-radius);overflow:hidden;z-index:1}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-week-numbers.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--show-week--max-width)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-calendar.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{height:auto;background-color:var(--digi--datepicker--calendar--background-color);box-shadow:var(--digi--datepicker--calendar-shadow);position:absolute;top:var(--digi--datepicker--calendar--popup-top);left:0;pointer-events:auto}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-component.sc-digi-calendar-datepicker{--digi--form-input--padding:0 var(--digi--datepicker--input--inline-end) 0 var(--digi--datepicker--input--inline-start)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__selected-date-alert.sc-digi-calendar-datepicker{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__sr-instructions.sc-digi-calendar-datepicker{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}`;
2185
+
2186
+ const CalendarDatepicker = class {
2187
+ constructor(hostRef) {
2188
+ index$2.registerInstance(this, hostRef);
2189
+ this.afOnDateChange = index$2.createEvent(this, "afOnDateChange", 7);
2190
+ this.afOnDateChangeRawText = index$2.createEvent(this, "afOnDateChangeRawText", 7);
2191
+ this.afOnValidationChange = index$2.createEvent(this, "afOnValidationChange", 7);
2192
+ this.showWrongFormatError = false;
2193
+ this.showDisabledDateError = false;
2194
+ this.showCalendar = false;
2195
+ this.futureYears = 10;
2196
+ this.screenReaderUpdateTrigger = false;
2197
+ this.userInput = '';
2198
+ /**
2199
+ * Sätter attributet id för inputfältet, och utgör basen för andra id:n i komponenten
2200
+ * @en Sets an id attribute for the input field, and serves as the base for other ids in the component
2201
+ */
2202
+ this.afId = randomIdGenerator_util.randomIdGenerator('digi-calendar-datepicker');
2203
+ /**
2204
+ * Texten till etiketten
2205
+ * @en The label text
2206
+ */
2207
+ this.afLabel = text._t.calendar.datepicker.label;
2208
+ /**
2209
+ * Aria-label till knappen som öppnar kalendern
2210
+ * @en Aria-label for the button that opens the calendar
2211
+ */
2212
+ this.afOpenCalendarAriaLabel = text._t.calendar.datepicker.openCalendarAriaLabel;
2213
+ /**
2214
+ * Aria-label till knappen som stänger kalendern
2215
+ * @en Aria-label for the button that closes the calendar
2216
+ */
2217
+ this.afCloseCalendarAriaLabel = text._t.calendar.datepicker.closeCalendarAriaLabel;
2218
+ /**
2219
+ * Sätter valideringsstatus. Kan vara 'success', 'error', 'warning', 'neutral' eller ingenting. Om värdet är 'error' sätts också aria-invalid="true" på input-elementet.
2220
+ * @en Set input validation status
2221
+ */
2222
+ this.afValidation = typographyVariation_enum.CalendarDatepickerValidation.NEUTRAL;
2223
+ /**
2224
+ * Sätter valideringsmeddelandet för den inbyggda formatvalideringen. Default är "Fel format"
2225
+ * @en Set input validation message for the built-in format validation
2226
+ */
2227
+ this.afValidationWrongFormat = text._t.calendar.datepicker.validationWrongFormat;
2228
+ /**
2229
+ * Sätter valideringsmeddelandet för den inbyggda valideringen när man anger datum som inte är valbara. Default är "Ej valbart datum"
2230
+ * @en Set input validation message for the built-in when date is not selectable
2231
+ */
2232
+ this.afValidationDisabledDate = text._t.calendar.datepicker.validationDisabledDate;
2233
+ /**
2234
+ * Sätt denna till true för att stänga av komponentens egna validering
2235
+ * @en Set this to true to disable internal validation
2236
+ */
2237
+ this.afDisableValidation = false;
2238
+ /**
2239
+ * Valda datum i kalendern
2240
+ * @en Selected dates in calendar
2241
+ */
2242
+ this.afSelectedDates = [];
2243
+ /**
2244
+ * Sätts till true för att byta knapparna för föregående och nästa månad till dropdowns för att välja månad och år. Rekommenderas då förväntat datum är många månader bakåt eller framåt i tiden, som exempelvis ett födelsedatum.
2245
+ * @en Set this to true to change the previous/next month buttons to dropdowns for selecting month and year. Recommended when the expected date is many months back or forward in time, such as a birthdate.
2246
+ */
2247
+ this.afYearSelect = false;
2248
+ /**
2249
+ * Sätter attributet 'value'
2250
+ * @en Input value attribute
2251
+ * @ignore
2252
+ */
2253
+ this.value = [];
2254
+ /**
2255
+ * Visa veckonummer i kalender
2256
+ * @en Show week number in the calander.
2257
+ */
2258
+ this.afShowWeekNumber = false;
2259
+ /**
2260
+ * Sätt denna till true för att kunna markera mer en ett datum i kalendern
2261
+ * @en Set this to true to be able to select multiple dates in the calander
2262
+ */
2263
+ this.afMultipleDates = false;
2264
+ /**
2265
+ * Sätt denna till true om kalendern ska stängas när användaren väljer ett datum
2266
+ * @en Set this to true if the calendar should close when a date is selected
2267
+ */
2268
+ this.afCloseOnSelect = false;
2269
+ /**
2270
+ * Om värdet är true får felmeddelandet attributet role="alert".
2271
+ * Om felet visas tillsammans med flera andra fel (till exempel efter servervalidering) ska värdet sättas till false.
2272
+ * @en If the value is true, the error message gets the attribute role="alert".
2273
+ * If the error is shown together with multiple errors (for example after server-side validation), the value should be set to false.
2274
+ */
2275
+ this.afErrorMessageIsAlert = true;
2276
+ /**
2277
+ * Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
2278
+ * @en Set this to true if the form contains more required fields than optional fields.
2279
+ */
2280
+ this.afAnnounceIfOptional = false;
2281
+ }
2282
+ afDisableValidationChangeHandler(newVal) {
2283
+ if (!newVal) {
2284
+ const dates = this.userInput !== ''
2285
+ ? this.parseInputString(this.userInput)
2286
+ : this.afSelectedDates;
2287
+ this.validateInputAndShowErrors(dates);
2288
+ }
2289
+ else {
2290
+ this.showWrongFormatError = false;
2291
+ this.showDisabledDateError = false;
2292
+ }
2293
+ }
2294
+ afSelectedDatesChangeHandler(newVal) {
2295
+ if (!this.afDisableValidation && newVal.length > 0) {
2296
+ this.validateInputAndShowErrors(newVal);
2297
+ }
2298
+ }
2299
+ valueChangeHandler(newVal) {
2300
+ if (this.afDisableValidation && this.afSelectedDates.length > 0) {
2301
+ this.afSelectedDates = [];
2302
+ }
2303
+ /**
2304
+ * Behövde lägga till den här förändringen för att angular med value accessor betedde sig märkligt vid onBlur av input-fält. Den reagerade när man lämnade fältet även fast fältet var tomt (pratar om watchern). Så behövde bygga en guard/gatekeeper som kontrollerar värdet först. Ska inte påverka manuell-, eller autovalidering.
2305
+ */
2306
+ if (Array.isArray(newVal) &&
2307
+ newVal.every((d) => d instanceof Date && !isNaN(d.getTime()))) {
2308
+ this.afSelectedDates = newVal;
2309
+ this.userInput = '';
2310
+ }
2311
+ }
2312
+ afMinDateChangeHandler(newVal) {
2313
+ if (!this.afDisableValidation && newVal) {
2314
+ this.validateInputAndShowErrors(this.afSelectedDates);
2315
+ }
2316
+ }
2317
+ afMaxDateChangeHandler(newVal) {
2318
+ if (!this.afDisableValidation && newVal) {
2319
+ this.validateInputAndShowErrors(this.afSelectedDates);
2320
+ }
2321
+ }
2322
+ afMultipleDatesChangeHandler() {
2323
+ var _a;
2324
+ if (!this.afMultipleDates && this.afSelectedDates.length > 1) {
2325
+ this.afSelectedDates = this.afSelectedDates.slice(-1);
2326
+ this.value = (_a = this.afSelectedDates) !== null && _a !== void 0 ? _a : [];
2327
+ }
2328
+ }
2329
+ get errorMessageIsAlert() {
2330
+ return (this.afErrorMessageIsAlert !== false &&
2331
+ this.afErrorMessageIsAlert !== 'false');
2332
+ }
2333
+ clickHandler(e) {
2334
+ const target = e.target;
2335
+ const selector = `#${this.afId}-datepicker`;
2336
+ if (detectClickOutside_util.detectClickOutside(target, selector)) {
2337
+ this.showCalendar = false;
2338
+ }
2339
+ }
2340
+ /**
2341
+ * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva input-elementet.
2342
+ * @en Listens for when focus is set on the custom element and propagates it down to the actual input element.
2343
+ */
2344
+ focusOnInput() {
2345
+ this._input.focus();
2346
+ }
2347
+ connectedCallback() {
2348
+ this.hostElement.addEventListener('keyup', this.keyUpHandler.bind(this));
2349
+ }
2350
+ disconnectedCallback() {
2351
+ this.hostElement.removeEventListener('keyup', this.keyUpHandler.bind(this));
2352
+ }
2353
+ componentDidLoad() {
2354
+ var _a;
2355
+ if ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) {
2356
+ this.setValue(this.value);
2357
+ }
2358
+ }
2359
+ componentDidUpdate() {
2360
+ if (this.showCalendar) {
2361
+ this.positionCalendar();
2362
+ }
2363
+ }
2364
+ get cssModifiers() {
2365
+ return {
2366
+ 'digi-calendar-datepicker__show-week-numbers': this.afShowWeekNumber,
2367
+ 'digi-calendar-datepicker__show-error': this.hasBuiltInValidationError() || this.hasCustomValidationError(),
2368
+ 'digi-calendar-datepicker__show-calendar': this.showCalendar
2369
+ };
2370
+ }
2371
+ keyUpHandler(e) {
2372
+ if (e.key === 'Escape' && this.showCalendar) {
2373
+ this.showCalendar = false;
2374
+ this.focusOnCalendarButton();
2375
+ e.stopPropagation();
2376
+ }
2377
+ }
2378
+ focusOnCalendarInput() {
2379
+ const input = this.hostElement.querySelector(`#${this.afId}-datepicker input`);
2380
+ input === null || input === void 0 ? void 0 : input.focus();
2381
+ }
2382
+ focusOnCalendarButton() {
2383
+ const calendarButton = this.hostElement.querySelector(`#${this.afId}-button`);
2384
+ calendarButton.focus();
2385
+ }
2386
+ positionCalendar() {
2387
+ const btn = this.hostElement.querySelector(`#${this.afId}-button`);
2388
+ const datepickerEl = this.hostElement.querySelector(`#${this.afId}-datepicker`);
2389
+ if (!btn || !datepickerEl)
2390
+ return;
2391
+ const btnRect = btn.getBoundingClientRect();
2392
+ const containerRect = datepickerEl.getBoundingClientRect();
2393
+ datepickerEl.style.setProperty('--digi--datepicker--calendar--popup-top', `${btnRect.bottom - containerRect.top + 5}px`);
2394
+ }
2395
+ toggleCalendar() {
2396
+ if (!this.showCalendar) {
2397
+ this.positionCalendar();
2398
+ }
2399
+ this.showCalendar = !this.showCalendar;
2400
+ if (this.showCalendar) {
2401
+ this.screenReaderUpdateTrigger = !this.screenReaderUpdateTrigger;
2402
+ }
2403
+ }
2404
+ parseInputString(value) {
2405
+ return value
2406
+ .split(new RegExp(`[&,]|${text._t.and}`, 'g'))
2407
+ .map((text) => this.parseDateString(text.trim()));
2408
+ }
2409
+ resetValueAndState() {
2410
+ this.showWrongFormatError = false;
2411
+ this.showDisabledDateError = false;
2412
+ this.setValue([]);
2413
+ this.afOnDateChange.emit([]);
2414
+ this.afSelectedDates = [];
2415
+ }
2416
+ removeDuplicateDates(dates) {
2417
+ const seen = new Set();
2418
+ return dates.filter((date) => {
2419
+ if (!(date instanceof Date) || isNaN(date.getTime())) {
2420
+ return true;
2421
+ }
2422
+ const key = date.toISOString().split('T')[0]; // yyyy-mm-dd
2423
+ if (seen.has(key)) {
2424
+ return false;
2425
+ }
2426
+ seen.add(key);
2427
+ return true;
2428
+ });
2429
+ }
2430
+ validateInputAndShowErrors(dates) {
2431
+ this.showWrongFormatError = !!dates.find((date) => !index.isValid(date));
2432
+ this.showDisabledDateError = !!dates.find((date) => !this.isDateSelectable(date));
2433
+ const inputIsValid = !this.showWrongFormatError && !this.showDisabledDateError;
2434
+ this.afOnValidationChange.emit({
2435
+ isValid: inputIsValid,
2436
+ validationText: inputIsValid
2437
+ ? undefined
2438
+ : this.showWrongFormatError
2439
+ ? this.afValidationWrongFormat
2440
+ : this.afValidationDisabledDate
2441
+ });
2442
+ }
2443
+ setValue(value) {
2444
+ this.afSelectedDates = value;
2445
+ this.value = value;
2446
+ }
2447
+ parseInput(evt) {
2448
+ let newValue = '';
2449
+ if (evt.detail && typeof evt.detail.value === 'string') {
2450
+ newValue = evt.detail.value;
2451
+ }
2452
+ else if (evt.target && evt.target.value != null) {
2453
+ newValue = evt.target.value;
2454
+ }
2455
+ this.userInput = newValue;
2456
+ if (newValue === '') {
2457
+ this.resetValueAndState();
2458
+ return;
2459
+ }
2460
+ let dates = this.parseInputString(newValue);
2461
+ // Single dates - acceptera inte flera datum inskrivna
2462
+ if (!this.afDisableValidation &&
2463
+ !this.afMultipleDates &&
2464
+ dates.length > 1) {
2465
+ this.showWrongFormatError = true;
2466
+ this.afOnValidationChange.emit({
2467
+ isValid: false,
2468
+ validationText: this.afValidationWrongFormat
2469
+ });
2470
+ return;
2471
+ }
2472
+ // Multiple dates - filtrera bort dubbletter
2473
+ if (!this.afDisableValidation && this.afMultipleDates) {
2474
+ const uniqueDates = this.removeDuplicateDates(dates);
2475
+ if (uniqueDates.length !== dates.length) {
2476
+ dates = uniqueDates;
2477
+ this.userInput = this.datesToInputString(dates);
2478
+ }
2479
+ }
2480
+ this.setValue(dates);
2481
+ if (!this.afDisableValidation) {
2482
+ this.validateInputAndShowErrors(dates);
2483
+ }
2484
+ this.afOnDateChange.emit(dates);
2485
+ }
2486
+ parseCalendar(evt) {
2487
+ if (!(evt === null || evt === void 0 ? void 0 : evt.detail))
2488
+ return;
2489
+ if (!this.afDisableValidation) {
2490
+ this.showWrongFormatError = false;
2491
+ this.showDisabledDateError = false;
2492
+ }
2493
+ this.userInput = '';
2494
+ this.setValue(evt.detail);
2495
+ this.afOnDateChangeRawText.emit(this.inputValue);
2496
+ if (this.afCloseOnSelect) {
2497
+ this.toggleCalendar();
2498
+ this.focusOnCalendarButton();
2499
+ }
2500
+ this.afOnDateChange.emit(this.afSelectedDates);
2501
+ }
2502
+ /*
2503
+
2504
+ Metoden överskrider JavaScripts inbyggda "isValid"-funktion, då den tillåter att ex., "1" är rätt format medans ex., "13" är fel format vid YYYY-MM-DD krav på inmatat format.
2505
+
2506
+ */
2507
+ parseDateString(s) {
2508
+ const raw = s.trim().replace(/[./]/g, '-');
2509
+ // 1) yyyy-MM-dd
2510
+ if (/^\d{4}-\d{2}-\d{2}$/.test(raw)) {
2511
+ const d = parse(raw, 'yyyy-MM-dd', new Date());
2512
+ return index.isValid(d) ? d : new Date(NaN);
2513
+ }
2514
+ // 2) yyyymmdd
2515
+ if (/^\d{8}$/.test(raw)) {
2516
+ const yyyy = raw.slice(0, 4);
2517
+ const mm = raw.slice(4, 6);
2518
+ const dd = raw.slice(6, 8);
2519
+ const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
2520
+ return index.isValid(d) ? d : new Date(NaN);
2521
+ }
2522
+ // 3) yymmdd (map to full year using the previous futureYears logic)
2523
+ if (/^\d{6}$/.test(raw)) {
2524
+ const yy = raw.slice(0, 2);
2525
+ const mm = raw.slice(2, 4);
2526
+ const dd = raw.slice(4, 6);
2527
+ const yyyy = this.getFullYear(yy);
2528
+ const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
2529
+ return index.isValid(d) ? d : new Date(NaN);
2530
+ }
2531
+ // Everything else is invalid (so "1" and "25" will now be "Fel format")
2532
+ return new Date(NaN);
2533
+ }
2534
+ getFullYear(s) {
2535
+ if (s.length === 4)
2536
+ return s;
2537
+ const y = new Date().getFullYear().toString();
2538
+ return parseInt(s) > parseInt(y.slice(-2)) + this.futureYears
2539
+ ? parseInt(y.slice(0, -2)) - 1 + s
2540
+ : y.slice(0, -2) + s;
2541
+ }
2542
+ isDateSelectable(date) {
2543
+ if (this.afMinDate && this.isBefore(date, this.afMinDate))
2544
+ return false;
2545
+ if (this.afMaxDate && this.isAfter(date, this.afMaxDate))
2546
+ return false;
2547
+ return true;
2548
+ }
2549
+ isBefore(a, b) {
2550
+ return index$3.isBefore(this.dateWithoutTime(a), this.dateWithoutTime(b));
2551
+ }
2552
+ isAfter(a, b) {
2553
+ return index$3.isAfter(this.dateWithoutTime(a), this.dateWithoutTime(b));
2554
+ }
2555
+ dateWithoutTime(date) {
2556
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate());
2557
+ }
2558
+ hasBuiltInValidationError() {
2559
+ return this.showWrongFormatError || this.showDisabledDateError;
2560
+ }
2561
+ hasCustomValidationError() {
2562
+ return (this.afValidation &&
2563
+ this.afValidation !== typographyVariation_enum.CalendarDatepickerValidation.NEUTRAL);
2564
+ }
2565
+ getErrorText() {
2566
+ if (this.hasBuiltInValidationError()) {
2567
+ return this.showWrongFormatError
2568
+ ? this.afValidationWrongFormat
2569
+ : this.afValidationDisabledDate;
2570
+ }
2571
+ if (this.hasCustomValidationError()) {
2572
+ return this.afValidationText;
2573
+ }
2574
+ }
2575
+ get inputValue() {
2576
+ if (this.userInput !== '') {
2577
+ return this.userInput;
2578
+ }
2579
+ // otherwise format your real selected dates
2580
+ const sorted = this.afSelectedDates
2581
+ .slice()
2582
+ .sort((a, b) => (this.isBefore(a, b) ? -1 : 1));
2583
+ return this.datesToInputString(sorted);
2584
+ }
2585
+ datesToInputString(dates) {
2586
+ return dates.every((date) => date instanceof Date && !isNaN(date.getTime()))
2587
+ ? dates
2588
+ .map((date) => date.toLocaleDateString(text._t.locale))
2589
+ .flatMap((date, index, all) => {
2590
+ const isLast = index == all.length - 1;
2591
+ const isFirst = index === 0;
2592
+ if (isFirst) {
2593
+ return date;
2594
+ }
2595
+ else if (isLast) {
2596
+ return [` ${text._t.and} `, date];
2597
+ }
2598
+ else {
2599
+ return [', ', date];
2600
+ }
2601
+ })
2602
+ .join('')
2603
+ : '';
2604
+ }
2605
+ get getSelectedDates() {
2606
+ if (!this.afDisableValidation && this.hasBuiltInValidationError()) {
2607
+ return [];
2608
+ }
2609
+ return this.afSelectedDates;
2610
+ }
2611
+ render() {
2612
+ return (index$2.h(index$2.Host, { key: 'db44693d308f7de7d29e48ee20945120bad032de', tabindex: -1 }, index$2.h("div", { key: '41da06771c917b4ee8af3f7872cbf60403f1c328', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, index$2.h("div", { key: '9c556600faa4dd6010c41cefa96abe0a719afd22', class: "digi-calendar-datepicker__input-field" }, index$2.h("digi-form-input", { key: '4ba009586046a68abc27ebe122b46b52a21e66f8', ref: (el) => (this._input = el), class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afName: this.afName, afValue: this.inputValue, afValidation: this.hasBuiltInValidationError()
2613
+ ? formInputVariation_enum.FormInputValidation.ERROR
2614
+ : this.afValidation, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, afAnnounceIfOptional: this.afAnnounceIfOptional, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText, afAutocomplete: this.afAutocomplete, onAfOnChange: (evt) => {
2615
+ evt.stopImmediatePropagation();
2616
+ this.parseInput(evt);
2617
+ }, onAfOnBlur: (evt) => {
2618
+ evt.stopImmediatePropagation();
2619
+ this.afOnDateChangeRawText.emit(this.inputValue);
2620
+ }, onKeyDown: (e) => {
2621
+ // Focus trap: Catch backwards tab from input field and direct it to date button.
2622
+ if (!this.showCalendar || e.key !== 'Tab' || !e.shiftKey)
2623
+ return;
2624
+ if (e.target.tagName !== 'INPUT')
2625
+ return;
2626
+ e.preventDefault();
2627
+ const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
2628
+ focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
2629
+ } }, index$2.h("button", { key: '5725c2aa46b58dbcdffbbfbfec92f4184b49725c', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": this.showCalendar
2630
+ ? this.afCloseCalendarAriaLabel
2631
+ : this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, index$2.h("digi-icon-calendar-alt", { key: 'bd8f30026b6fe110a675f0d3f8b116418f0cc151', class: "digi-calendar-datepicker__button-icon", slot: "icon" })))), index$2.h("div", { key: '0c59285dafb3d9aadb584c9cedc5934a30369344', class: "digi-calendar-datepicker__calendar", id: "calendar-popup" }, index$2.h("p", { key: '786808e5316278fbef861fc0ca154f41cb2c1b18', role: "alert", class: "digi-calendar-datepicker__sr-instructions" }, this.showCalendar
2632
+ ? `${text._t.calendar.screenReaderInstructions}${this.screenReaderUpdateTrigger ? '\u200B' : ''}`
2633
+ : ''), index$2.h("digi-calendar", { key: '4f5d016ee1e30110c96a6e804cd9fbeb74439c34', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afYearSelect: this.afYearSelect, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, afOpenCalendarTo: this.afOpenCalendarTo, onAfOnDateSelectedChange: (evt) => {
2634
+ evt.stopImmediatePropagation();
2635
+ this.parseCalendar(evt);
2636
+ }, onKeyDown: (e) => {
2637
+ // Focus trap: Catch forward tab from last focusable element in calendar and direct it to the input.
2638
+ if (!this.showCalendar || e.key !== 'Tab' || e.shiftKey)
2639
+ return;
2640
+ if (!e.target.classList.contains('digi-calendar__date'))
2641
+ return;
2642
+ e.preventDefault();
2643
+ this.focusOnCalendarInput();
2644
+ } })), this.afCloseOnSelect && !this.afMultipleDates && (index$2.h("div", { key: 'fe09d0734554bf62f74caa0e5ca2fdf84d60361c', class: "digi-calendar-datepicker__selected-date-alert", role: this.errorMessageIsAlert ? 'alert' : null }, this.afSelectedDates.length > 0
2645
+ ? `${text._t.calendar.datepicker.selectedDate}: ${this.datesToInputString(this.afSelectedDates)}`
2646
+ : '')))));
2647
+ }
2648
+ get hostElement() { return index$2.getElement(this); }
2649
+ static get watchers() { return {
2650
+ "afDisableValidation": [{
2651
+ "afDisableValidationChangeHandler": 0
2652
+ }],
2653
+ "afSelectedDates": [{
2654
+ "afSelectedDatesChangeHandler": 0
2655
+ }],
2656
+ "value": [{
2657
+ "valueChangeHandler": 0
2658
+ }],
2659
+ "afMinDate": [{
2660
+ "afMinDateChangeHandler": 0
2661
+ }],
2662
+ "afMaxDate": [{
2663
+ "afMaxDateChangeHandler": 0
2664
+ }],
2665
+ "afMultipleDates": [{
2666
+ "afMultipleDatesChangeHandler": 0
2667
+ }]
2668
+ }; }
2669
+ };
2670
+ CalendarDatepicker.style = calendarDatepickerCss();
2671
+
2672
+ exports.digi_calendar_datepicker = CalendarDatepicker;