@ds-autonomie/web-components 2.19.0 → 2.21.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 (730) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/cdn/chunks/{chunk.63UE4VAO.js → chunk.2FPBPQUJ.js} +4 -6
  3. package/cdn/chunks/chunk.2OLHSSGN.js +60 -0
  4. package/cdn/chunks/{chunk.HEWKH2LT.js → chunk.2OZWUNZO.js} +2 -2
  5. package/cdn/chunks/{chunk.FX5UP23Z.js → chunk.2TZ4LFPJ.js} +1 -1
  6. package/cdn/chunks/{chunk.WWTHUDXI.js → chunk.2V4YCZ2W.js} +5 -2
  7. package/cdn/chunks/chunk.2YKQ7H24.js +3 -0
  8. package/cdn/chunks/{chunk.KWBL3MII.js → chunk.353PHEPC.js} +1 -1
  9. package/cdn/chunks/{chunk.ZMEW7RFS.js → chunk.3I36IGZA.js} +1 -1
  10. package/cdn/chunks/chunk.3NZ4VRJF.js +62 -0
  11. package/cdn/chunks/{chunk.DRNNBI43.js → chunk.3Z6ANWYS.js} +1 -1
  12. package/cdn/chunks/{chunk.JR3UZ7RV.js → chunk.4DONSG7S.js} +5 -4
  13. package/cdn/chunks/chunk.4HFX2WWN.js +26 -0
  14. package/cdn/chunks/{chunk.GFXPRQI6.js → chunk.4IZELNZN.js} +4 -4
  15. package/cdn/chunks/{chunk.EFCT4GFV.js → chunk.52THFY6J.js} +1 -0
  16. package/cdn/chunks/{chunk.5KCVCUSX.js → chunk.5VZFKPSK.js} +1 -1
  17. package/cdn/chunks/chunk.5YSNZTMZ.js +1 -0
  18. package/cdn/chunks/{chunk.WRM72LHH.js → chunk.5ZXHNMZU.js} +1 -1
  19. package/cdn/chunks/{chunk.IDWQZLCM.js → chunk.67T75VHN.js} +8 -8
  20. package/cdn/chunks/{chunk.CEKPJB4F.js → chunk.6B4U6EHI.js} +7 -13
  21. package/cdn/chunks/{chunk.ZCITPD2M.js → chunk.6DSY52TF.js} +5 -5
  22. package/cdn/chunks/{chunk.JFT7O46L.js → chunk.6DVHKT6J.js} +1 -1
  23. package/cdn/chunks/{chunk.5OGTGPR7.js → chunk.6ETSOBAB.js} +1 -1
  24. package/cdn/chunks/{chunk.6MYWUUAG.js → chunk.6QUNPG2K.js} +11 -12
  25. package/cdn/chunks/{chunk.NEWW6U6M.js → chunk.6WO7QCUB.js} +2 -0
  26. package/cdn/chunks/{chunk.AZVWRRFP.js → chunk.6XSWDZ3K.js} +1 -1
  27. package/cdn/chunks/chunk.75OMKNKV.js +35 -0
  28. package/cdn/chunks/{chunk.JLB52ESL.js → chunk.7DI4X2VG.js} +1 -1
  29. package/cdn/chunks/chunk.7JVAXVTA.js +1 -0
  30. package/cdn/chunks/{chunk.H6KRGKOT.js → chunk.7T3GRSME.js} +1 -1
  31. package/cdn/chunks/{chunk.WMOV27WV.js → chunk.7U5JEAWJ.js} +1 -1
  32. package/cdn/chunks/{chunk.7WZQFRLE.js → chunk.A7WF23I3.js} +1 -1
  33. package/cdn/chunks/{chunk.VOJKFSPN.js → chunk.AGV4A3YT.js} +1 -1
  34. package/cdn/chunks/{chunk.KHGWE5IX.js → chunk.ALIA5R6V.js} +32 -34
  35. package/cdn/chunks/chunk.AM2ZR2Y2.js +19 -0
  36. package/cdn/chunks/{chunk.WYKFMOCB.js → chunk.AQOO2T52.js} +1 -1
  37. package/cdn/chunks/{chunk.7ZYAJWHQ.js → chunk.AWM5EZRY.js} +1 -1
  38. package/cdn/chunks/{chunk.CWT6MEMU.js → chunk.B6OZRSZK.js} +19 -23
  39. package/cdn/chunks/chunk.BFOG2B56.js +121 -0
  40. package/cdn/chunks/{chunk.JP66XCHO.js → chunk.BNTHEAJN.js} +8 -9
  41. package/cdn/chunks/chunk.BWWABV2J.js +66 -0
  42. package/cdn/chunks/{chunk.IUOHXTHC.js → chunk.C6L5URBB.js} +1 -1
  43. package/cdn/chunks/chunk.CFJ4QXH4.js +19 -0
  44. package/cdn/chunks/{chunk.U6OE2WNY.js → chunk.CT4MJF6T.js} +5 -5
  45. package/cdn/chunks/{chunk.KX5QV54N.js → chunk.CWRA4UT2.js} +1 -1
  46. package/cdn/chunks/chunk.DBVKBRPG.js +47 -0
  47. package/cdn/chunks/{chunk.SN7BDOHN.js → chunk.DEILGCUT.js} +12 -35
  48. package/cdn/chunks/{chunk.CIFSYLTI.js → chunk.DFZPEZNV.js} +1 -1
  49. package/cdn/chunks/{chunk.CMPRHBFO.js → chunk.DGEG6HVV.js} +1 -1
  50. package/cdn/chunks/{chunk.THWI644G.js → chunk.DZNXUAKA.js} +2 -2
  51. package/cdn/chunks/{chunk.43ZUOVN3.js → chunk.EMVVCZ7J.js} +8 -5
  52. package/cdn/chunks/{chunk.M5ND6PIZ.js → chunk.EQQUOYXA.js} +6 -6
  53. package/cdn/chunks/{chunk.STCKZYIM.js → chunk.EV47H3BZ.js} +1 -1
  54. package/cdn/chunks/chunk.EXQPVGOS.js +1 -0
  55. package/cdn/chunks/{chunk.AB4OF3RS.js → chunk.FASLFYND.js} +1 -1
  56. package/cdn/chunks/{chunk.K747WAAP.js → chunk.FSDHPRBJ.js} +9 -13
  57. package/cdn/chunks/{chunk.WWRGGVFZ.js → chunk.FVTT4MMC.js} +1 -1
  58. package/cdn/chunks/chunk.G4QC72M3.js +90 -0
  59. package/cdn/chunks/{chunk.F6P3DA77.js → chunk.GA4W656I.js} +3 -4
  60. package/cdn/chunks/chunk.GGN6W46J.js +33 -0
  61. package/cdn/chunks/{chunk.7IFO43EM.js → chunk.GHH7XYKB.js} +1 -1
  62. package/cdn/chunks/{chunk.YZO4H6DD.js → chunk.GL7V5QFT.js} +1 -1
  63. package/cdn/chunks/{chunk.CIKTPEVX.js → chunk.GLMWJUWZ.js} +2 -0
  64. package/cdn/chunks/chunk.GNP3HUWO.js +80 -0
  65. package/cdn/chunks/{chunk.MRVUEYXZ.js → chunk.GSE4BYLS.js} +1 -1
  66. package/cdn/chunks/{chunk.WEWRFZAQ.js → chunk.HACTOR3N.js} +1 -1
  67. package/cdn/chunks/{chunk.HCFW7RW4.js → chunk.HJIBYZA7.js} +33 -37
  68. package/cdn/chunks/{chunk.FYJYTPOV.js → chunk.HLXIBAA3.js} +2 -3
  69. package/cdn/chunks/{chunk.XOEINTMR.js → chunk.HPYWAFMA.js} +8 -11
  70. package/cdn/chunks/{chunk.RGBTVRRP.js → chunk.HTMFQPE5.js} +10 -12
  71. package/cdn/chunks/{chunk.VIXRVYB7.js → chunk.HZV5COH7.js} +1 -1
  72. package/cdn/chunks/chunk.I2EMSNY5.js +3 -0
  73. package/cdn/chunks/{chunk.MK2QCBNO.js → chunk.I2SFPZRT.js} +13 -13
  74. package/cdn/chunks/{chunk.HGNNGE53.js → chunk.I4AEWSTQ.js} +5 -5
  75. package/cdn/chunks/chunk.I6KH3RXW.js +31 -0
  76. package/cdn/chunks/{chunk.4IWXGSUM.js → chunk.IJ4EFTP2.js} +2 -2
  77. package/cdn/chunks/{chunk.T5OLUN3T.js → chunk.IZDRYSJI.js} +8 -8
  78. package/cdn/chunks/chunk.J34FMZ22.js +20 -0
  79. package/cdn/chunks/chunk.J5KWRJTH.js +121 -0
  80. package/cdn/chunks/{chunk.A5DTG2XB.js → chunk.JU47KXI6.js} +3 -3
  81. package/cdn/chunks/{chunk.GPW6JCHZ.js → chunk.K6LO352V.js} +1 -1
  82. package/cdn/chunks/{chunk.4VP4RPNY.js → chunk.KDJOQQSW.js} +1 -1
  83. package/cdn/chunks/{chunk.EJ5DXQU3.js → chunk.KIBXAWKS.js} +1 -0
  84. package/cdn/chunks/{chunk.LOZ2JZLU.js → chunk.KLTVL4KH.js} +12 -15
  85. package/cdn/chunks/{chunk.AYT5ORA7.js → chunk.KUSB4WKX.js} +1 -1
  86. package/cdn/chunks/{chunk.IDTMD6WQ.js → chunk.KZKCBYIC.js} +1 -1
  87. package/cdn/chunks/chunk.LCXOBOTQ.js +64 -0
  88. package/cdn/chunks/{chunk.5V6ZBY2X.js → chunk.LPXI2TGU.js} +1 -1
  89. package/cdn/chunks/{chunk.2JTZGBMF.js → chunk.LXVTY3UZ.js} +1 -1
  90. package/cdn/chunks/{chunk.2J6VNJAV.js → chunk.M4NNGNSF.js} +1 -1
  91. package/cdn/chunks/chunk.MIF4MK3R.js +47 -0
  92. package/cdn/chunks/{chunk.6HXGZFOB.js → chunk.MPOEF2AD.js} +1 -1
  93. package/cdn/chunks/{chunk.TS5WHKH6.js → chunk.N35G45JG.js} +1 -1
  94. package/cdn/chunks/{chunk.2QQVNGQU.js → chunk.NG2DZYRR.js} +1 -1
  95. package/cdn/chunks/{chunk.RNR6P3VA.js → chunk.NWYSJOVO.js} +1 -1
  96. package/cdn/chunks/{chunk.H46NZIZH.js → chunk.O7SAIPOG.js} +1 -1
  97. package/cdn/chunks/chunk.OE4QGAVP.js +40 -0
  98. package/cdn/chunks/{chunk.YBVIKP5F.js → chunk.OHC3KP3N.js} +2 -2
  99. package/cdn/chunks/chunk.OR4BPTYF.js +4 -0
  100. package/cdn/chunks/{chunk.E2GQJ6JW.js → chunk.OSQWNBGB.js} +1 -1
  101. package/cdn/chunks/{chunk.5PWPU25F.js → chunk.OX4H5VZP.js} +5 -5
  102. package/cdn/chunks/{chunk.YDZQVGSP.js → chunk.OZUBIMSO.js} +2 -2
  103. package/cdn/chunks/{chunk.RMI7CBAO.js → chunk.P5OHHVIZ.js} +4 -4
  104. package/cdn/chunks/{chunk.PIWF5VEN.js → chunk.PNTZLR2X.js} +1 -1
  105. package/cdn/chunks/chunk.POOZWGH5.js +64 -0
  106. package/cdn/chunks/chunk.Q54GPNUS.js +1 -0
  107. package/cdn/chunks/chunk.QHQUGZAC.js +1 -0
  108. package/cdn/chunks/{chunk.4GV3WJET.js → chunk.QXQFA2PL.js} +2 -2
  109. package/cdn/chunks/chunk.QZ7M6OGO.js +123 -0
  110. package/cdn/chunks/{chunk.RCGUDUP2.js → chunk.R2SAERUV.js} +14 -15
  111. package/cdn/chunks/{chunk.EZQSKUPG.js → chunk.RKAXCU2K.js} +1 -1
  112. package/cdn/chunks/{chunk.4A2SP2JA.js → chunk.RMHUEO6M.js} +1 -1
  113. package/cdn/chunks/{chunk.LLP7EPAY.js → chunk.RUMRXWLX.js} +1 -1
  114. package/cdn/chunks/{chunk.BARZKNDN.js → chunk.RXX4NY67.js} +5 -10
  115. package/cdn/chunks/{chunk.NJOCDP2A.js → chunk.SARJ4UB5.js} +1 -1
  116. package/cdn/chunks/chunk.SCA6KI3Y.js +108 -0
  117. package/cdn/chunks/{chunk.2MY5TX6M.js → chunk.SK27PJHT.js} +1 -2
  118. package/cdn/chunks/{chunk.DR6FOTG4.js → chunk.TBAF2O5H.js} +1 -1
  119. package/cdn/chunks/chunk.THBCP6LI.js +173 -0
  120. package/cdn/chunks/{chunk.II4JQ433.js → chunk.U5TCFENL.js} +1 -1
  121. package/cdn/chunks/{chunk.HW5UT2FF.js → chunk.UB73V5BI.js} +3 -3
  122. package/cdn/chunks/chunk.UIEL566X.js +59 -0
  123. package/cdn/chunks/{chunk.U7X2EV5T.js → chunk.UIKL7DR3.js} +119 -91
  124. package/cdn/chunks/{chunk.3FMDB6AF.js → chunk.UPTGFHYO.js} +1 -1
  125. package/cdn/chunks/{chunk.KOU7YZ7Z.js → chunk.UPUWTQY3.js} +1 -1
  126. package/cdn/chunks/{chunk.3URUFDPU.js → chunk.UQC4FZQO.js} +1 -1
  127. package/cdn/chunks/{chunk.COMV5MJ5.js → chunk.UREKS7QR.js} +1 -1
  128. package/cdn/chunks/{chunk.6GC5ODVL.js → chunk.UVI76N5N.js} +7 -7
  129. package/cdn/chunks/chunk.V6G6DQFY.js +25 -0
  130. package/cdn/chunks/{chunk.GVL377SN.js → chunk.VBIJSQJQ.js} +1 -1
  131. package/cdn/chunks/chunk.VCAUYLU6.js +53 -0
  132. package/cdn/chunks/chunk.VEWOSPRC.js +19 -0
  133. package/cdn/chunks/chunk.VK2CO5ZK.js +5 -0
  134. package/cdn/chunks/{chunk.EG6MMAM3.js → chunk.VM2KBACU.js} +1 -1
  135. package/cdn/chunks/{chunk.76OQZSVD.js → chunk.VPHVZMUY.js} +1 -1
  136. package/cdn/chunks/chunk.VRETONIU.js +112 -0
  137. package/cdn/chunks/{chunk.7OMTHUFI.js → chunk.VSTKTCJY.js} +1 -1
  138. package/cdn/chunks/{chunk.7RWZ2YNR.js → chunk.VVBLZBT2.js} +1 -1
  139. package/cdn/chunks/{chunk.IMDJ7GD2.js → chunk.W6E7LGND.js} +1 -1
  140. package/cdn/chunks/{chunk.U72UDJIM.js → chunk.WADWJFMR.js} +1 -1
  141. package/cdn/chunks/chunk.WDYFEO2Q.js +6 -0
  142. package/cdn/chunks/{chunk.NJBAMERR.js → chunk.WFPILKOS.js} +1 -1
  143. package/cdn/chunks/{chunk.JOY25RSZ.js → chunk.X4AWEYYO.js} +0 -5
  144. package/cdn/chunks/{chunk.M7BLJVGV.js → chunk.XBO6BPEL.js} +1 -1
  145. package/cdn/chunks/chunk.XDSXN7TT.js +17 -0
  146. package/cdn/chunks/{chunk.F4EQPWW4.js → chunk.XP43FQ5R.js} +3 -3
  147. package/cdn/chunks/{chunk.J7MFL7JZ.js → chunk.XXFCN6MW.js} +1 -1
  148. package/cdn/chunks/{chunk.JPOWE7L2.js → chunk.YDZDEOUX.js} +1 -1
  149. package/cdn/chunks/chunk.YEEGO6X3.js +85 -0
  150. package/cdn/chunks/chunk.YG7EIWOO.js +27 -0
  151. package/cdn/chunks/{chunk.BS2OSSAE.js → chunk.YOPYBUGE.js} +1 -1
  152. package/cdn/chunks/{chunk.67UP3FZD.js → chunk.Z33ITBWZ.js} +5 -5
  153. package/cdn/chunks/{chunk.F6YFQ3GB.js → chunk.ZEMA7TWY.js} +15 -2
  154. package/cdn/chunks/chunk.ZNP3XUGI.js +9 -0
  155. package/cdn/chunks/chunk.ZNUQSSRL.js +24 -0
  156. package/cdn/chunks/{chunk.BDRT5OOU.js → chunk.ZQPFBR34.js} +1 -1
  157. package/cdn/chunks/{chunk.CLIKZB5P.js → chunk.ZZEMBF7E.js} +1 -1
  158. package/cdn/components/accordion/accordion.js +1 -1
  159. package/cdn/components/accordion-group/accordion-group.js +1 -1
  160. package/cdn/components/alert/alert.js +1 -1
  161. package/cdn/components/avatar/avatar.js +1 -1
  162. package/cdn/components/banner/banner.d.ts +36 -0
  163. package/cdn/components/banner/banner.js +1 -0
  164. package/cdn/components/banner/banner.styles.d.ts +2 -0
  165. package/cdn/components/banner/banner.styles.js +1 -0
  166. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  167. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  168. package/cdn/components/button/button.js +1 -1
  169. package/cdn/components/calendar/calendar.js +1 -1
  170. package/cdn/components/card-content/card-content.js +1 -1
  171. package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -1
  172. package/cdn/components/card-nav-item/card-nav-item.js +1 -1
  173. package/cdn/components/checkbox/checkbox.js +1 -1
  174. package/cdn/components/checkbox/checkbox.styles.js +1 -1
  175. package/cdn/components/checkbox-button/checkbox-button.js +1 -1
  176. package/cdn/components/checkbox-card/checkbox-card.js +1 -1
  177. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  178. package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
  179. package/cdn/components/combobox/combobox.d.ts +3 -0
  180. package/cdn/components/combobox/combobox.js +1 -1
  181. package/cdn/components/combobox/combobox.styles.js +1 -1
  182. package/cdn/components/copy-button/copy-button.js +1 -1
  183. package/cdn/components/dialog/dialog.js +1 -1
  184. package/cdn/components/download-card/download-card.d.ts +3 -1
  185. package/cdn/components/download-card/download-card.js +1 -1
  186. package/cdn/components/download-card/download-card.styles.js +1 -1
  187. package/cdn/components/download-link/download-link.d.ts +3 -1
  188. package/cdn/components/download-link/download-link.js +1 -1
  189. package/cdn/components/download-link/download-link.styles.js +1 -1
  190. package/cdn/components/drawer/drawer.js +1 -1
  191. package/cdn/components/drawer/drawer.styles.js +1 -1
  192. package/cdn/components/dropdown/dropdown.js +1 -1
  193. package/cdn/components/error-message-panel/error-message-panel.js +1 -1
  194. package/cdn/components/error-message-panel/error-message-panel.styles.js +1 -1
  195. package/cdn/components/error-text/error-text.js +1 -1
  196. package/cdn/components/fieldset/fieldset.js +1 -1
  197. package/cdn/components/fieldset/fieldset.styles.js +1 -1
  198. package/cdn/components/file-upload/file-upload.d.ts +10 -0
  199. package/cdn/components/file-upload/file-upload.js +1 -1
  200. package/cdn/components/file-upload/file-upload.styles.js +1 -1
  201. package/cdn/components/file-upload-item/file-upload-item.js +1 -1
  202. package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -1
  203. package/cdn/components/filter-button/filter-button.js +1 -1
  204. package/cdn/components/filter-counter/filter-counter.d.ts +2 -0
  205. package/cdn/components/filter-counter/filter-counter.js +1 -1
  206. package/cdn/components/filter-date/filter-date.js +1 -1
  207. package/cdn/components/filter-date/filter-date.styles.js +1 -1
  208. package/cdn/components/filter-range/filter-range.js +1 -1
  209. package/cdn/components/filter-select/filter-select.d.ts +3 -0
  210. package/cdn/components/filter-select/filter-select.js +1 -1
  211. package/cdn/components/footer/footer.js +1 -1
  212. package/cdn/components/footer/footer.styles.js +1 -1
  213. package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
  214. package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
  215. package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
  216. package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -1
  217. package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
  218. package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
  219. package/cdn/components/format-bytes/format-bytes.js +1 -1
  220. package/cdn/components/format-date/format-date.js +1 -1
  221. package/cdn/components/format-number/format-number.js +1 -1
  222. package/cdn/components/graphic-element/graphic-element.js +1 -1
  223. package/cdn/components/graphic-element/graphic-element.library.js +1 -1
  224. package/cdn/components/header/header.js +1 -1
  225. package/cdn/components/header-external-link/header-external-link.js +1 -1
  226. package/cdn/components/header-modern/header-modern.js +1 -1
  227. package/cdn/components/header-search/header-search.js +1 -1
  228. package/cdn/components/icon/icon.js +1 -1
  229. package/cdn/components/icon/library.js +1 -1
  230. package/cdn/components/icon-button/icon-button.js +1 -1
  231. package/cdn/components/icon-button/icon-button.styles.js +1 -1
  232. package/cdn/components/input/input.js +1 -1
  233. package/cdn/components/input-amount/input-amount.js +1 -1
  234. package/cdn/components/input-amount/input-amount.styles.js +1 -1
  235. package/cdn/components/input-amount/input-amount.utils.js +1 -1
  236. package/cdn/components/input-date/input-date.js +1 -1
  237. package/cdn/components/input-date/input-date.styles.js +1 -1
  238. package/cdn/components/input-mask/input-mask.configs.js +1 -1
  239. package/cdn/components/input-mask/input-mask.d.ts +6 -1
  240. package/cdn/components/input-mask/input-mask.js +1 -1
  241. package/cdn/components/input-mask/input-mask.styles.js +1 -1
  242. package/cdn/components/input-mask/input-mask.utils.d.ts +3 -0
  243. package/cdn/components/input-mask/input-mask.utils.js +1 -1
  244. package/cdn/components/input-native/input-native.js +1 -1
  245. package/cdn/components/input-native/input-native.styles.js +1 -1
  246. package/cdn/components/input-otp/input-otp.js +1 -1
  247. package/cdn/components/input-otp/input-otp.styles.js +1 -1
  248. package/cdn/components/input-phone/input-phone.configs.js +1 -1
  249. package/cdn/components/input-phone/input-phone.d.ts +6 -2
  250. package/cdn/components/input-phone/input-phone.js +1 -1
  251. package/cdn/components/input-phone/input-phone.styles.js +1 -1
  252. package/cdn/components/input-time/input-time.d.ts +2 -0
  253. package/cdn/components/input-time/input-time.js +1 -1
  254. package/cdn/components/input-time/input-time.styles.js +1 -1
  255. package/cdn/components/menu-accordion/menu-accordion.d.ts +7 -2
  256. package/cdn/components/menu-accordion/menu-accordion.js +1 -1
  257. package/cdn/components/menu-accordion/menu-accordion.styles.js +1 -1
  258. package/cdn/components/menu-item/menu-item.d.ts +1 -0
  259. package/cdn/components/menu-item/menu-item.js +1 -1
  260. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  261. package/cdn/components/menu-navigation/menu-navigation.js +1 -1
  262. package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -1
  263. package/cdn/components/mutation-observer/mutation-observer.js +1 -1
  264. package/cdn/components/navbar/navbar.d.ts +4 -5
  265. package/cdn/components/navbar/navbar.js +1 -1
  266. package/cdn/components/navbar/navbar.styles.js +1 -1
  267. package/cdn/components/navbar-link/navbar-link.js +1 -1
  268. package/cdn/components/navbar-menu/navbar-menu.d.ts +3 -0
  269. package/cdn/components/navbar-menu/navbar-menu.js +1 -1
  270. package/cdn/components/option/option.js +1 -1
  271. package/cdn/components/page-header/page-header.js +1 -1
  272. package/cdn/components/page-header/page-header.styles.js +1 -1
  273. package/cdn/components/pagination/pagination.d.ts +3 -1
  274. package/cdn/components/pagination/pagination.js +1 -1
  275. package/cdn/components/pagination/pagination.styles.js +1 -1
  276. package/cdn/components/pagination-button/pagination-button.js +1 -1
  277. package/cdn/components/popup/popup.js +1 -1
  278. package/cdn/components/profile-button/profile-button.js +1 -1
  279. package/cdn/components/progress-bar/progress-bar.js +1 -1
  280. package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
  281. package/cdn/components/progress-ring/progress-ring.d.ts +2 -0
  282. package/cdn/components/progress-ring/progress-ring.js +1 -1
  283. package/cdn/components/progress-ring/progress-ring.styles.js +1 -1
  284. package/cdn/components/radio/radio.js +1 -1
  285. package/cdn/components/radio-button/radio-button.js +1 -1
  286. package/cdn/components/radio-card/radio-card.js +1 -1
  287. package/cdn/components/radio-group/radio-group.js +1 -1
  288. package/cdn/components/radio-group/radio-group.styles.js +1 -1
  289. package/cdn/components/range-slider/range-slider.d.ts +1 -0
  290. package/cdn/components/range-slider/range-slider.js +1 -1
  291. package/cdn/components/relative-time/relative-time.js +1 -1
  292. package/cdn/components/resize-observer/resize-observer.js +1 -1
  293. package/cdn/components/search/search.js +1 -1
  294. package/cdn/components/select/select.js +1 -1
  295. package/cdn/components/select/select.styles.js +1 -1
  296. package/cdn/components/sidenav/sidenav.js +1 -1
  297. package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
  298. package/cdn/components/skip-links/skip-links.js +1 -1
  299. package/cdn/components/spinner/spinner.js +1 -1
  300. package/cdn/components/spinner/spinner.styles.js +1 -1
  301. package/cdn/components/split-panel/split-panel.d.ts +2 -0
  302. package/cdn/components/split-panel/split-panel.js +1 -1
  303. package/cdn/components/split-panel/split-panel.styles.js +1 -1
  304. package/cdn/components/step/step.js +1 -1
  305. package/cdn/components/success-text/success-text.js +1 -1
  306. package/cdn/components/switch/switch.js +1 -1
  307. package/cdn/components/tab/tab.js +1 -1
  308. package/cdn/components/tab-group/tab-group.js +1 -1
  309. package/cdn/components/table-action/table-action.d.ts +2 -0
  310. package/cdn/components/table-action/table-action.js +1 -1
  311. package/cdn/components/table-caption/table-caption.js +1 -1
  312. package/cdn/components/table-container/table-container.js +1 -1
  313. package/cdn/components/table-header-cell/table-header-cell.js +1 -1
  314. package/cdn/components/table-header-row/table-header-row.js +1 -1
  315. package/cdn/components/table-of-contents/table-of-contents.js +1 -1
  316. package/cdn/components/table-of-contents/table-of-contents.styles.js +1 -1
  317. package/cdn/components/table-row/table-row.js +1 -1
  318. package/cdn/components/tag/tag.js +1 -1
  319. package/cdn/components/textarea/textarea.js +1 -1
  320. package/cdn/components/textarea/textarea.styles.js +1 -1
  321. package/cdn/components/tooltip/tooltip.js +1 -1
  322. package/cdn/components/tree/tree.js +1 -1
  323. package/cdn/components/tree-item/tree-item.d.ts +1 -2
  324. package/cdn/components/tree-item/tree-item.js +1 -1
  325. package/cdn/components/tree-item/tree-item.styles.js +1 -1
  326. package/cdn/custom-elements.json +625 -49
  327. package/cdn/design-system.d.ts +1 -0
  328. package/cdn/design-system.js +1 -1
  329. package/cdn/internal/components/date-field/date-field.d.ts +1 -0
  330. package/cdn/internal/components/date-field/date-field.js +24 -8
  331. package/cdn/internal/components/form-control/form-control-layout.js +16 -15
  332. package/cdn/internal/components/input-base/input-base.js +4 -3
  333. package/cdn/internal/components/input-base/input-base.styles.js +6 -6
  334. package/cdn/styles/form-control.styles.js +32 -34
  335. package/cdn/templates/utilities/decorator.js +1 -1
  336. package/cdn/templates/utilities/header.js +1 -1
  337. package/cdn/templates/utilities/template-story-config.js +0 -3
  338. package/cdn/themes/dsa-wc-theme.css +2 -4
  339. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  340. package/cdn/themes/dsa-wc-theme.styles.js +2 -4
  341. package/cdn/translations/en-gb.js +1 -1
  342. package/cdn/translations/en.js +1 -1
  343. package/cdn/translations/fr.js +1 -1
  344. package/cdn/utilities/icon-library.js +1 -1
  345. package/cdn/utilities/localize.d.ts +1 -0
  346. package/cdn/utilities/localize.js +1 -1
  347. package/cdn/utilities/storybook.js +2 -2
  348. package/cdn/vscode.html-custom-data.json +37 -0
  349. package/cdn/web-types.json +340 -21
  350. package/dist/chunks/{chunk.SXFVCR7O.js → chunk.2G35OVLZ.js} +3 -3
  351. package/dist/chunks/{chunk.WNESPUKK.js → chunk.2GTXVMMC.js} +4 -6
  352. package/dist/chunks/{chunk.JKNKFWLE.js → chunk.2I4VZQYC.js} +5 -6
  353. package/dist/chunks/{chunk.7OLEA3GQ.js → chunk.3D7AGBFQ.js} +55 -28
  354. package/dist/chunks/{chunk.MFGYIAUT.js → chunk.3TAGND37.js} +1 -1
  355. package/dist/chunks/{chunk.QEXDSP5Y.js → chunk.47CX6JJX.js} +0 -5
  356. package/dist/chunks/{chunk.CQR34TNY.js → chunk.4AUOO4K2.js} +9 -13
  357. package/dist/chunks/{chunk.V4SDZV6L.js → chunk.4IDR4RJI.js} +7 -7
  358. package/dist/chunks/{chunk.LYVWDO7O.js → chunk.5DVIZLXZ.js} +9 -8
  359. package/dist/chunks/{chunk.4535HZ7L.js → chunk.5ESJXERV.js} +5 -5
  360. package/dist/chunks/{chunk.5NSAEDEE.js → chunk.5NGXTSAJ.js} +1 -1
  361. package/dist/chunks/{chunk.I522XZAV.js → chunk.65EFQZ4A.js} +1 -2
  362. package/dist/chunks/{chunk.TLQMWL6I.js → chunk.67J6LDJW.js} +5 -2
  363. package/dist/chunks/{chunk.GUKOZGE3.js → chunk.6EU6GX26.js} +1 -1
  364. package/dist/chunks/{chunk.33P7XYHC.js → chunk.6KY7LP6G.js} +5 -3
  365. package/dist/chunks/{chunk.UHF3BDIM.js → chunk.6PI2M6R6.js} +1 -2
  366. package/dist/chunks/{chunk.6Q5DARJM.js → chunk.6ZVGYVEL.js} +1 -1
  367. package/dist/chunks/{chunk.V26NK6TM.js → chunk.73XHVQNA.js} +1 -1
  368. package/dist/chunks/{chunk.K27SKJCO.js → chunk.74CLWWSO.js} +3 -2
  369. package/dist/chunks/{chunk.T6OAGTAP.js → chunk.7EVHJ2OT.js} +3 -3
  370. package/dist/chunks/{chunk.WMFEJDPX.js → chunk.7HMEK2ND.js} +6 -5
  371. package/dist/chunks/{chunk.7MY3WW7C.js → chunk.7PE2PORN.js} +2 -2
  372. package/dist/chunks/{chunk.YI6BUIUL.js → chunk.7WMOPNN5.js} +26 -10
  373. package/dist/chunks/{chunk.QKT5LLDM.js → chunk.7YNHLXVZ.js} +1 -1
  374. package/dist/chunks/chunk.7Z3P7ZIT.js +100 -0
  375. package/dist/chunks/{chunk.PENDUUVT.js → chunk.A4X3GH4U.js} +46 -41
  376. package/dist/chunks/{chunk.6BCJJGLC.js → chunk.ABXTXNT4.js} +2 -2
  377. package/dist/chunks/{chunk.767V7QP2.js → chunk.ADV67KWS.js} +5 -10
  378. package/dist/chunks/{chunk.EMPEBDHH.js → chunk.ADVAWXPE.js} +8 -10
  379. package/dist/chunks/{chunk.VNGKMC5T.js → chunk.AEU5B6YK.js} +1 -1
  380. package/dist/chunks/{chunk.RG7MUNLM.js → chunk.AL6PYL6U.js} +10 -9
  381. package/dist/chunks/{chunk.FLI47BNN.js → chunk.BAWCVSXY.js} +4 -4
  382. package/dist/chunks/{chunk.ZS3JNRJE.js → chunk.BIB7IJGE.js} +4 -4
  383. package/dist/chunks/{chunk.BJ76CXBF.js → chunk.BWP55AAX.js} +1 -1
  384. package/dist/chunks/{chunk.O65OOIT6.js → chunk.BZFZTT6Z.js} +4 -2
  385. package/dist/chunks/{chunk.EWMFHVNW.js → chunk.C4SE3ULG.js} +7 -7
  386. package/dist/chunks/{chunk.QUEYKUIS.js → chunk.C6BC46KV.js} +7 -7
  387. package/dist/chunks/{chunk.KD27MP6C.js → chunk.D7HT35YE.js} +1 -1
  388. package/dist/chunks/{chunk.JATRBE3H.js → chunk.DEEMRWEE.js} +41 -19
  389. package/dist/chunks/{chunk.WJFVQRWU.js → chunk.DIRVCY5C.js} +1 -1
  390. package/dist/chunks/{chunk.XAYOMJ4X.js → chunk.DJFSPHO4.js} +5 -5
  391. package/dist/chunks/{chunk.34HS7ICN.js → chunk.DVIHNMQQ.js} +4 -2
  392. package/dist/chunks/{chunk.H26XMOUA.js → chunk.DX7525EY.js} +1 -1
  393. package/dist/chunks/{chunk.WEPA3NJG.js → chunk.DZLEAEG5.js} +61 -61
  394. package/dist/chunks/chunk.E2AA6JZR.js +102 -0
  395. package/dist/chunks/{chunk.6QE4MIXY.js → chunk.E6D26DI7.js} +2 -5
  396. package/dist/chunks/{chunk.KAG2EIKO.js → chunk.EH2DQIPN.js} +9 -10
  397. package/dist/chunks/{chunk.U4W57NV6.js → chunk.EPG5ZB4T.js} +2 -2
  398. package/dist/chunks/{chunk.VYX5ZSFI.js → chunk.EQNOUAQ6.js} +8 -4
  399. package/dist/chunks/{chunk.RU7L7OSM.js → chunk.ESWLZEFC.js} +12 -15
  400. package/dist/chunks/{chunk.HRZVG552.js → chunk.EX63QI6Z.js} +27 -20
  401. package/dist/chunks/{chunk.SGRSRDWP.js → chunk.F4DMZGND.js} +10 -10
  402. package/dist/chunks/{chunk.GTO6NACR.js → chunk.FLCLDNUC.js} +2 -2
  403. package/dist/chunks/{chunk.LHKUT7UW.js → chunk.GDRWZRCN.js} +16 -9
  404. package/dist/chunks/{chunk.5SH25FOL.js → chunk.GM3QM4YJ.js} +3 -3
  405. package/dist/chunks/{chunk.47AQXN3U.js → chunk.GOVTNZ72.js} +52 -31
  406. package/dist/chunks/{chunk.2GJ46J7Q.js → chunk.GQZAFXU6.js} +1 -1
  407. package/dist/chunks/{chunk.M47KXEXM.js → chunk.GSRQID3H.js} +32 -10
  408. package/dist/chunks/{chunk.IMZ2EJ3J.js → chunk.H5G2LRCX.js} +85 -85
  409. package/dist/chunks/{chunk.4E2FKC3C.js → chunk.H7QHCUBR.js} +2 -2
  410. package/dist/chunks/{chunk.LT44CVRV.js → chunk.H7TB3KTK.js} +6 -10
  411. package/dist/chunks/{chunk.LO42XUHN.js → chunk.HAWD2P5K.js} +12 -13
  412. package/dist/chunks/{chunk.WO56WJXU.js → chunk.HG526A44.js} +1 -0
  413. package/dist/chunks/{chunk.6WPKFGU3.js → chunk.HIABUXVS.js} +13 -13
  414. package/dist/chunks/{chunk.2WW7OJZT.js → chunk.IDMG3YLC.js} +2 -2
  415. package/dist/chunks/{chunk.JVIWPP43.js → chunk.IEYQPZRM.js} +1 -0
  416. package/dist/chunks/{chunk.SRLGPXHB.js → chunk.IJYHCSO5.js} +1 -1
  417. package/dist/chunks/{chunk.SP2SVH7K.js → chunk.IQY2ZVAV.js} +17 -11
  418. package/dist/chunks/{chunk.SAKI57GG.js → chunk.ITBFUL7J.js} +48 -24
  419. package/dist/chunks/{chunk.TURUUPFG.js → chunk.ITD5BZEA.js} +1 -1
  420. package/dist/chunks/{chunk.PSWGNIVT.js → chunk.ITFYDUMM.js} +3 -3
  421. package/dist/chunks/{chunk.R3PD3TNK.js → chunk.IWCSAXJN.js} +2 -2
  422. package/dist/chunks/{chunk.5R7OHVIP.js → chunk.IYGSQFGQ.js} +5 -5
  423. package/dist/chunks/{chunk.4NY2E4AU.js → chunk.JBFJWJUF.js} +5 -5
  424. package/dist/chunks/{chunk.UC5S2IUH.js → chunk.JLAQUWWF.js} +1 -1
  425. package/dist/chunks/{chunk.WSQ2ZYD4.js → chunk.JMA3VRB4.js} +2 -2
  426. package/dist/chunks/{chunk.LFCY7UUJ.js → chunk.JZAQYPUX.js} +31 -35
  427. package/dist/chunks/{chunk.WFACPRM5.js → chunk.K64V2XZO.js} +5 -1
  428. package/dist/chunks/{chunk.WAEFCPAX.js → chunk.KC2ZHNPC.js} +1 -1
  429. package/dist/chunks/{chunk.H4WJ64X5.js → chunk.KGP2JSZ7.js} +58 -53
  430. package/dist/chunks/{chunk.FLRNIL37.js → chunk.KN6JQY6O.js} +1 -1
  431. package/dist/chunks/{chunk.4VSGAJJL.js → chunk.KOO2JWHZ.js} +2 -2
  432. package/dist/chunks/{chunk.XZU6MLWO.js → chunk.LBLBASKK.js} +14 -8
  433. package/dist/chunks/{chunk.FZFK3D6L.js → chunk.LUN6HLAE.js} +22 -31
  434. package/dist/chunks/{chunk.ZFGRB56M.js → chunk.LVSZUO34.js} +5 -5
  435. package/dist/chunks/{chunk.7BBNETYY.js → chunk.M347TELO.js} +8 -8
  436. package/dist/chunks/{chunk.XL3HVVDK.js → chunk.M47YUO2L.js} +1 -1
  437. package/dist/chunks/{chunk.6HSTAJNR.js → chunk.M6X2ZDO6.js} +2 -2
  438. package/dist/chunks/{chunk.DN3K2GHZ.js → chunk.MRGJKLE3.js} +1 -1
  439. package/dist/chunks/{chunk.YKL22V4E.js → chunk.N2V4KI76.js} +1 -1
  440. package/dist/chunks/{chunk.UQ7ZIOBO.js → chunk.N2XNANRE.js} +2 -2
  441. package/dist/chunks/{chunk.YMBSK45L.js → chunk.NBEDK6M4.js} +2 -0
  442. package/dist/chunks/{chunk.34BCRRRT.js → chunk.NTKYNRVQ.js} +8 -3
  443. package/dist/chunks/{chunk.ERMNNF77.js → chunk.ORAH2BHK.js} +3 -3
  444. package/dist/chunks/{chunk.3SAKVK56.js → chunk.P57KFF6A.js} +12 -7
  445. package/dist/chunks/{chunk.5TBGCNJD.js → chunk.PCTIMH5D.js} +26 -11
  446. package/dist/chunks/{chunk.JBKNTRA7.js → chunk.PFPVUCRD.js} +20 -7
  447. package/dist/chunks/{chunk.ZYGCOBUE.js → chunk.PT2BKEDG.js} +1 -1
  448. package/dist/chunks/{chunk.Q7YCE4UA.js → chunk.Q45EA7A6.js} +8 -3
  449. package/dist/chunks/{chunk.QKUUHXNR.js → chunk.Q6GPBRDV.js} +6 -6
  450. package/dist/chunks/{chunk.MDQDWJCR.js → chunk.QCVOP7JL.js} +13 -0
  451. package/dist/chunks/{chunk.ODOHKR6J.js → chunk.QHEMM3XC.js} +18 -16
  452. package/dist/chunks/{chunk.KPVDLRVV.js → chunk.QLJNW3TZ.js} +3 -3
  453. package/dist/chunks/{chunk.64EGGLHL.js → chunk.QWPEXQZX.js} +7 -13
  454. package/dist/chunks/{chunk.TCW77JY3.js → chunk.RJAOB66Y.js} +50 -41
  455. package/dist/chunks/{chunk.RVUUZ3KA.js → chunk.RLLACUYR.js} +27 -15
  456. package/dist/chunks/{chunk.LH65ZIEN.js → chunk.RMOUFLCI.js} +7 -7
  457. package/dist/chunks/{chunk.S5FAXONJ.js → chunk.RVOALTE4.js} +5 -5
  458. package/dist/chunks/{chunk.XTVVSORU.js → chunk.S4ZCJOC5.js} +16 -14
  459. package/dist/chunks/{chunk.CFBX4SXO.js → chunk.SEMHY47B.js} +1 -1
  460. package/dist/chunks/{chunk.6LLDVH7Y.js → chunk.SJNFRQKU.js} +1 -1
  461. package/dist/chunks/{chunk.FBY2IM6R.js → chunk.SKY7526Z.js} +19 -14
  462. package/dist/chunks/{chunk.RZRBWZ7K.js → chunk.SPIKJZGM.js} +1 -1
  463. package/dist/chunks/{chunk.QGSBICBZ.js → chunk.SWKXQDKB.js} +1 -1
  464. package/dist/chunks/{chunk.VOKBXFKF.js → chunk.SYQNO5B4.js} +5 -5
  465. package/dist/chunks/{chunk.SGPAUD26.js → chunk.SYZVBVOX.js} +4 -4
  466. package/dist/chunks/{chunk.CKEB7DWU.js → chunk.T43D4ETK.js} +32 -34
  467. package/dist/chunks/{chunk.J476JEKY.js → chunk.T7O6NKFH.js} +1 -1
  468. package/dist/chunks/{chunk.V3LWOWUB.js → chunk.TAMFIHNV.js} +2 -2
  469. package/dist/chunks/{chunk.KIN7BJ2S.js → chunk.TILFUJJ2.js} +3 -4
  470. package/dist/chunks/{chunk.2DYEXJNV.js → chunk.TJNOM7IR.js} +117 -89
  471. package/dist/chunks/{chunk.4XPBWICF.js → chunk.TNWA2A3X.js} +1 -1
  472. package/dist/chunks/{chunk.KW762SFE.js → chunk.TOXFYUP5.js} +7 -11
  473. package/dist/chunks/{chunk.CFUNT7FK.js → chunk.TXX2YIZA.js} +6 -7
  474. package/dist/chunks/{chunk.VJMPU2K5.js → chunk.U5AWZEM5.js} +5 -5
  475. package/dist/chunks/{chunk.HYAC2WLH.js → chunk.U6SFJUEX.js} +4 -3
  476. package/dist/chunks/{chunk.ELOLGOFM.js → chunk.UBA2H662.js} +1 -1
  477. package/dist/chunks/{chunk.SZDGGP2Y.js → chunk.VDZUSRNI.js} +12 -35
  478. package/dist/chunks/{chunk.XSXVVUKP.js → chunk.VILH76T7.js} +2 -0
  479. package/dist/chunks/{chunk.IER4ZBFV.js → chunk.VNBYO53K.js} +2 -1
  480. package/dist/chunks/{chunk.EGJGLON7.js → chunk.VRUSJUXU.js} +7 -4
  481. package/dist/chunks/{chunk.72FKNFBS.js → chunk.VTNFE6PI.js} +4 -5
  482. package/dist/chunks/{chunk.GSSDOCVR.js → chunk.W2GBRU2D.js} +5 -5
  483. package/dist/chunks/{chunk.SAQFLKP7.js → chunk.WEWJQ2AA.js} +6 -6
  484. package/dist/chunks/{chunk.TW7OE55S.js → chunk.WQA4XJEW.js} +1 -1
  485. package/dist/chunks/{chunk.2AMILV3O.js → chunk.WQMUNZSA.js} +31 -6
  486. package/dist/chunks/{chunk.YYKAI7FO.js → chunk.WZBEL7FC.js} +1 -1
  487. package/dist/chunks/{chunk.VPBDM3F2.js → chunk.X3H6MOUU.js} +1 -1
  488. package/dist/chunks/{chunk.RK2WN36C.js → chunk.XBQTTKJU.js} +1 -1
  489. package/dist/chunks/{chunk.JTPMSU67.js → chunk.XCSAMBUB.js} +8 -8
  490. package/dist/chunks/{chunk.Q4BEX42U.js → chunk.XGEWLFBF.js} +8 -8
  491. package/dist/chunks/{chunk.6TDF44UO.js → chunk.XHZ5CCR7.js} +1 -1
  492. package/dist/chunks/{chunk.UESIZCBP.js → chunk.Y4KCVPIC.js} +49 -49
  493. package/dist/chunks/{chunk.V2HQ7IVJ.js → chunk.Y7UR2ZKQ.js} +8 -7
  494. package/dist/chunks/{chunk.CKJJ4MSU.js → chunk.YPBLUIU7.js} +11 -7
  495. package/dist/chunks/{chunk.6RXEQKWZ.js → chunk.Z4TGH2YA.js} +3 -3
  496. package/dist/chunks/{chunk.KUXAIXES.js → chunk.ZAYEYBAY.js} +8 -11
  497. package/dist/chunks/{chunk.E6D32GY2.js → chunk.ZDRQOJI6.js} +4 -4
  498. package/dist/chunks/{chunk.QS7BPH3Y.js → chunk.ZSPNI52I.js} +9 -18
  499. package/dist/chunks/{chunk.XMBQRPGX.js → chunk.ZUG2HYP5.js} +7 -7
  500. package/dist/components/accordion/accordion.js +6 -5
  501. package/dist/components/accordion-group/accordion-group.js +9 -8
  502. package/dist/components/alert/alert.js +8 -7
  503. package/dist/components/avatar/avatar.js +5 -4
  504. package/dist/components/banner/banner.d.ts +36 -0
  505. package/dist/components/banner/banner.js +24 -0
  506. package/dist/components/banner/banner.styles.d.ts +2 -0
  507. package/dist/components/banner/banner.styles.js +8 -0
  508. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  509. package/dist/components/breadcrumb-item/breadcrumb-item.js +6 -5
  510. package/dist/components/button/button.js +8 -7
  511. package/dist/components/calendar/calendar.js +2 -2
  512. package/dist/components/card-content/card-content.js +5 -4
  513. package/dist/components/card-nav-accordion/card-nav-accordion.js +6 -5
  514. package/dist/components/card-nav-item/card-nav-item.js +5 -4
  515. package/dist/components/checkbox/checkbox.js +11 -11
  516. package/dist/components/checkbox/checkbox.styles.js +2 -2
  517. package/dist/components/checkbox-button/checkbox-button.js +10 -10
  518. package/dist/components/checkbox-card/checkbox-card.js +8 -8
  519. package/dist/components/checkbox-group/checkbox-group.js +8 -7
  520. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  521. package/dist/components/combobox/combobox.d.ts +3 -0
  522. package/dist/components/combobox/combobox.js +17 -17
  523. package/dist/components/combobox/combobox.styles.js +2 -2
  524. package/dist/components/copy-button/copy-button.js +7 -6
  525. package/dist/components/dialog/dialog.js +8 -7
  526. package/dist/components/download-card/download-card.d.ts +3 -1
  527. package/dist/components/download-card/download-card.js +6 -5
  528. package/dist/components/download-card/download-card.styles.js +1 -1
  529. package/dist/components/download-link/download-link.d.ts +3 -1
  530. package/dist/components/download-link/download-link.js +6 -5
  531. package/dist/components/download-link/download-link.styles.js +1 -1
  532. package/dist/components/drawer/drawer.js +9 -8
  533. package/dist/components/drawer/drawer.styles.js +1 -1
  534. package/dist/components/dropdown/dropdown.js +2 -2
  535. package/dist/components/error-message-panel/error-message-panel.js +3 -3
  536. package/dist/components/error-message-panel/error-message-panel.styles.js +1 -1
  537. package/dist/components/error-text/error-text.js +5 -4
  538. package/dist/components/fieldset/fieldset.js +2 -2
  539. package/dist/components/fieldset/fieldset.styles.js +1 -1
  540. package/dist/components/file-upload/file-upload.d.ts +10 -0
  541. package/dist/components/file-upload/file-upload.js +12 -11
  542. package/dist/components/file-upload/file-upload.styles.js +2 -2
  543. package/dist/components/file-upload-item/file-upload-item.js +7 -6
  544. package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
  545. package/dist/components/filter-button/filter-button.js +6 -5
  546. package/dist/components/filter-counter/filter-counter.d.ts +2 -0
  547. package/dist/components/filter-counter/filter-counter.js +33 -32
  548. package/dist/components/filter-date/filter-date.js +16 -15
  549. package/dist/components/filter-date/filter-date.styles.js +1 -1
  550. package/dist/components/filter-range/filter-range.js +33 -32
  551. package/dist/components/filter-select/filter-select.d.ts +3 -0
  552. package/dist/components/filter-select/filter-select.js +33 -33
  553. package/dist/components/footer/footer.js +3 -3
  554. package/dist/components/footer/footer.styles.js +1 -1
  555. package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
  556. package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
  557. package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
  558. package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
  559. package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -2
  560. package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
  561. package/dist/components/format-bytes/format-bytes.js +2 -2
  562. package/dist/components/format-date/format-date.js +2 -2
  563. package/dist/components/format-number/format-number.js +2 -2
  564. package/dist/components/header/header.js +4 -4
  565. package/dist/components/header-external-link/header-external-link.js +2 -2
  566. package/dist/components/header-modern/header-modern.js +3 -3
  567. package/dist/components/header-search/header-search.js +13 -12
  568. package/dist/components/icon/icon.js +4 -3
  569. package/dist/components/icon/library.js +2 -2
  570. package/dist/components/icon-button/icon-button.js +6 -5
  571. package/dist/components/icon-button/icon-button.styles.js +1 -1
  572. package/dist/components/input/input.js +26 -25
  573. package/dist/components/input-amount/input-amount.js +16 -15
  574. package/dist/components/input-amount/input-amount.styles.js +3 -3
  575. package/dist/components/input-amount/input-amount.utils.js +1 -1
  576. package/dist/components/input-date/input-date.js +17 -16
  577. package/dist/components/input-date/input-date.styles.js +3 -3
  578. package/dist/components/input-mask/input-mask.configs.js +1 -1
  579. package/dist/components/input-mask/input-mask.d.ts +6 -1
  580. package/dist/components/input-mask/input-mask.js +16 -15
  581. package/dist/components/input-mask/input-mask.styles.js +3 -3
  582. package/dist/components/input-mask/input-mask.utils.d.ts +3 -0
  583. package/dist/components/input-mask/input-mask.utils.js +5 -1
  584. package/dist/components/input-native/input-native.js +15 -14
  585. package/dist/components/input-native/input-native.styles.js +3 -3
  586. package/dist/components/input-otp/input-otp.js +11 -10
  587. package/dist/components/input-otp/input-otp.styles.js +2 -2
  588. package/dist/components/input-phone/input-phone.d.ts +6 -2
  589. package/dist/components/input-phone/input-phone.js +21 -21
  590. package/dist/components/input-phone/input-phone.styles.js +2 -2
  591. package/dist/components/input-time/input-time.d.ts +2 -0
  592. package/dist/components/input-time/input-time.js +16 -15
  593. package/dist/components/input-time/input-time.styles.js +3 -3
  594. package/dist/components/menu-accordion/menu-accordion.d.ts +7 -2
  595. package/dist/components/menu-accordion/menu-accordion.js +8 -7
  596. package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
  597. package/dist/components/menu-item/menu-item.d.ts +1 -0
  598. package/dist/components/menu-item/menu-item.js +4 -4
  599. package/dist/components/menu-item/menu-item.styles.js +1 -1
  600. package/dist/components/menu-navigation/menu-navigation.js +5 -5
  601. package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
  602. package/dist/components/mutation-observer/mutation-observer.js +1 -1
  603. package/dist/components/navbar/navbar.d.ts +4 -5
  604. package/dist/components/navbar/navbar.js +2 -2
  605. package/dist/components/navbar/navbar.styles.js +1 -1
  606. package/dist/components/navbar-link/navbar-link.js +10 -9
  607. package/dist/components/navbar-menu/navbar-menu.d.ts +3 -0
  608. package/dist/components/navbar-menu/navbar-menu.js +6 -5
  609. package/dist/components/option/option.js +6 -6
  610. package/dist/components/page-header/page-header.js +2 -2
  611. package/dist/components/page-header/page-header.styles.js +1 -1
  612. package/dist/components/pagination/pagination.d.ts +3 -1
  613. package/dist/components/pagination/pagination.js +29 -28
  614. package/dist/components/pagination/pagination.styles.js +1 -1
  615. package/dist/components/pagination-button/pagination-button.js +1 -1
  616. package/dist/components/profile-button/profile-button.js +8 -7
  617. package/dist/components/progress-bar/progress-bar.js +3 -3
  618. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  619. package/dist/components/progress-ring/progress-ring.d.ts +2 -0
  620. package/dist/components/progress-ring/progress-ring.js +2 -2
  621. package/dist/components/progress-ring/progress-ring.styles.js +1 -1
  622. package/dist/components/radio/radio.js +6 -6
  623. package/dist/components/radio-button/radio-button.js +10 -10
  624. package/dist/components/radio-card/radio-card.js +12 -12
  625. package/dist/components/radio-group/radio-group.js +8 -8
  626. package/dist/components/radio-group/radio-group.styles.js +2 -2
  627. package/dist/components/range-slider/range-slider.d.ts +1 -0
  628. package/dist/components/range-slider/range-slider.js +1 -1
  629. package/dist/components/relative-time/relative-time.js +2 -2
  630. package/dist/components/resize-observer/resize-observer.js +1 -1
  631. package/dist/components/search/search.js +9 -8
  632. package/dist/components/select/select.js +15 -14
  633. package/dist/components/select/select.styles.js +2 -2
  634. package/dist/components/sidenav/sidenav.js +7 -7
  635. package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +9 -8
  636. package/dist/components/skip-links/skip-links.js +2 -2
  637. package/dist/components/spinner/spinner.js +3 -3
  638. package/dist/components/spinner/spinner.styles.js +1 -1
  639. package/dist/components/split-panel/split-panel.d.ts +2 -0
  640. package/dist/components/split-panel/split-panel.js +7 -6
  641. package/dist/components/split-panel/split-panel.styles.js +1 -1
  642. package/dist/components/step/step.js +6 -6
  643. package/dist/components/success-text/success-text.js +5 -4
  644. package/dist/components/switch/switch.js +7 -6
  645. package/dist/components/tab/tab.js +8 -8
  646. package/dist/components/tab-group/tab-group.js +8 -8
  647. package/dist/components/table-action/table-action.d.ts +2 -0
  648. package/dist/components/table-action/table-action.js +9 -8
  649. package/dist/components/table-caption/table-caption.js +2 -2
  650. package/dist/components/table-container/table-container.js +3 -3
  651. package/dist/components/table-header-cell/table-header-cell.js +5 -4
  652. package/dist/components/table-header-row/table-header-row.js +19 -19
  653. package/dist/components/table-of-contents/table-of-contents.js +7 -6
  654. package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
  655. package/dist/components/table-row/table-row.js +15 -15
  656. package/dist/components/tag/tag.js +9 -8
  657. package/dist/components/textarea/textarea.js +9 -8
  658. package/dist/components/textarea/textarea.styles.js +2 -2
  659. package/dist/components/tooltip/tooltip.js +2 -2
  660. package/dist/components/tree/tree.js +11 -26
  661. package/dist/components/tree-item/tree-item.d.ts +1 -2
  662. package/dist/components/tree-item/tree-item.js +10 -25
  663. package/dist/components/tree-item/tree-item.styles.js +1 -1
  664. package/dist/custom-elements.json +625 -49
  665. package/dist/design-system.d.ts +1 -0
  666. package/dist/design-system.js +240 -235
  667. package/dist/internal/components/date-field/date-field.d.ts +1 -0
  668. package/dist/internal/components/date-field/date-field.js +24 -8
  669. package/dist/internal/components/form-control/form-control-layout.js +16 -15
  670. package/dist/internal/components/input-base/input-base.js +4 -3
  671. package/dist/internal/components/input-base/input-base.styles.js +6 -6
  672. package/dist/styles/form-control.styles.js +32 -34
  673. package/dist/templates/utilities/decorator.js +1 -1
  674. package/dist/templates/utilities/header.js +1 -1
  675. package/dist/templates/utilities/template-story-config.js +0 -3
  676. package/dist/themes/dsa-wc-theme.css +2 -4
  677. package/dist/themes/dsa-wc-theme.min.css +1 -1
  678. package/dist/themes/dsa-wc-theme.styles.js +2 -4
  679. package/dist/translations/en-gb.js +1 -1
  680. package/dist/translations/en.js +1 -1
  681. package/dist/translations/fr.js +1 -1
  682. package/dist/utilities/icon-library.js +2 -2
  683. package/dist/utilities/localize.d.ts +1 -0
  684. package/dist/utilities/localize.js +1 -1
  685. package/dist/utilities/storybook.js +2 -2
  686. package/dist/vscode.html-custom-data.json +37 -0
  687. package/dist/web-types.json +340 -21
  688. package/package.json +18 -18
  689. package/cdn/chunks/chunk.2EC2JS5U.js +0 -60
  690. package/cdn/chunks/chunk.4NE2V6DW.js +0 -9
  691. package/cdn/chunks/chunk.5MXBS7CA.js +0 -62
  692. package/cdn/chunks/chunk.77YRGKFQ.js +0 -53
  693. package/cdn/chunks/chunk.7TKKYYU2.js +0 -112
  694. package/cdn/chunks/chunk.7Y7CQMR6.js +0 -3
  695. package/cdn/chunks/chunk.AGA6W4U2.js +0 -26
  696. package/cdn/chunks/chunk.BOCMAV5D.js +0 -51
  697. package/cdn/chunks/chunk.C2H2IJ5N.js +0 -19
  698. package/cdn/chunks/chunk.CCKFL63L.js +0 -31
  699. package/cdn/chunks/chunk.CUYQOZPJ.js +0 -20
  700. package/cdn/chunks/chunk.DFIOQK4K.js +0 -108
  701. package/cdn/chunks/chunk.EAWHOXCM.js +0 -24
  702. package/cdn/chunks/chunk.GDNVDKSZ.js +0 -4
  703. package/cdn/chunks/chunk.H7CICKO6.js +0 -173
  704. package/cdn/chunks/chunk.HCJCL2UD.js +0 -23
  705. package/cdn/chunks/chunk.IYPKQQOD.js +0 -35
  706. package/cdn/chunks/chunk.KD3BHBHK.js +0 -19
  707. package/cdn/chunks/chunk.KH2JVAEZ.js +0 -3
  708. package/cdn/chunks/chunk.KTJAW66F.js +0 -73
  709. package/cdn/chunks/chunk.KVPC6DC4.js +0 -121
  710. package/cdn/chunks/chunk.LBAIMDY3.js +0 -1
  711. package/cdn/chunks/chunk.MN7GWB3J.js +0 -66
  712. package/cdn/chunks/chunk.PICWAFB5.js +0 -1
  713. package/cdn/chunks/chunk.PVV7WADS.js +0 -121
  714. package/cdn/chunks/chunk.QXMNA43O.js +0 -19
  715. package/cdn/chunks/chunk.RGOPSYRZ.js +0 -1
  716. package/cdn/chunks/chunk.RTVNV4IL.js +0 -27
  717. package/cdn/chunks/chunk.S5XJPLVO.js +0 -51
  718. package/cdn/chunks/chunk.TPKY6SO3.js +0 -94
  719. package/cdn/chunks/chunk.U5DYVPGP.js +0 -1
  720. package/cdn/chunks/chunk.ULWBK7T7.js +0 -40
  721. package/cdn/chunks/chunk.UXV7IG5J.js +0 -1
  722. package/cdn/chunks/chunk.VL5LPHV3.js +0 -47
  723. package/cdn/chunks/chunk.VVOUCVXZ.js +0 -123
  724. package/cdn/chunks/chunk.WFR7MSMI.js +0 -1
  725. package/cdn/chunks/chunk.WXQKHJC3.js +0 -5
  726. package/cdn/chunks/chunk.XGUKMUW4.js +0 -25
  727. package/cdn/chunks/chunk.YWOAIOEZ.js +0 -75
  728. package/cdn/chunks/chunk.Z226LHQY.js +0 -64
  729. package/dist/chunks/{chunk.WJU4UHF5.js → chunk.24VWWARJ.js} +3 -3
  730. package/dist/chunks/{chunk.GBZY2OWL.js → chunk.BIDMVL7F.js} +3 -3
@@ -0,0 +1,85 @@
1
+ import{a as C}from"./chunk.7DI4X2VG.js";import{a as U}from"./chunk.UIKL7DR3.js";import{a as N,b as T}from"./chunk.ZA2UO7BF.js";import{a as m}from"./chunk.VPHVZMUY.js";import{d as o,e as v,f as L,g as S,h as z}from"./chunk.WDYFEO2Q.js";import{a as y}from"./chunk.6DSY52TF.js";import{a as E}from"./chunk.2OZWUNZO.js";import{a as g}from"./chunk.2TZ4LFPJ.js";import{a as M}from"./chunk.2FPBPQUJ.js";import{a as c}from"./chunk.NIRNX67K.js";import{b as w}from"./chunk.HJGLYEWV.js";import{c as F}from"./chunk.AM2ZR2Y2.js";import{a}from"./chunk.2RF4WD6T.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as p}from"./chunk.BWEPOOQP.js";import{a as _,b as h,c as l,d as b}from"./chunk.KBZ32KWP.js";import{a as u}from"./chunk.GP725TPQ.js";import{a as k,b as V,f as s}from"./chunk.IZ2HVRME.js";var $=m("+33"),i=class extends y{constructor(){super(...arguments);this.localize=new w(this);this.phonePattern=new RegExp($.pattern);this.placeholderLength=o($.placeholder).length;this.maskedNumber="";this.phoneConfig=$;this.placeholder=this.phoneConfig.placeholder;this.pattern=this.phoneConfig.pattern;this._isSyncing=!1;this.value="";this.phonePrefix="+33";this.phoneNumber="";this.inputPrefix="";this.placement="bottom-start"}get validity(){let e=this.phoneNumber.length>0?this.phonePattern.test(this.value):void 0;return S(this.input.validity,e)}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value,this.setPhoneFromValue(this.value),this.syncMaskedNumber()}willUpdate(e){e.has("phonePrefix")&&!N.includes(this.phonePrefix)&&(this.phonePrefix=e.get("phonePrefix"))}syncMaskedNumber(){let e=v(this.phoneNumber,this.placeholder);this.maskedNumber!==e&&(this.maskedNumber=e),this.input&&this.input.value!==e&&(this.input.value=e)}handleInputValueChange(){let e=this.input,t=o(e.value),r=L(t,this.phoneConfig.mask),n=v(r,this.placeholder);this.phoneNumber===r&&this.maskedNumber===n&&e.value===n||(this.phoneNumber=r,this.maskedNumber=n,e.value!==n&&(e.value=n),this.updateValue(),this.formControlController.updateValidity(),this.emit("dsa-input"))}handlePhonePrefixSelectChange(e){e.stopPropagation();let{target:t}=e;t instanceof C&&(this.phonePrefix=t.value,this.updateValue(),this.emit("dsa-change"))}handleInputChange(e){let{target:t}=e;if(t instanceof HTMLInputElement){let r=o(t.value);this.phoneNumber=r,this.updateValue(),this.emit("dsa-change")}}handleClearIconClick(e){this.phonePrefix="+33",this.applyPhoneConfig(this.phonePrefix),this.phoneNumber="",this.maskedNumber="",this.value="",this.input.value!==""&&(this.input.value=""),this.emit("dsa-clear"),this.emit("dsa-input"),this.emit("dsa-change"),this.input.focus(),e.stopPropagation()}updateValue(){this._isSyncing||(this._isSyncing=!0,this.phoneNumber.length===0?this.value="":this.value=`${this.phonePrefix}${this.phoneNumber.substring(0,this.placeholderLength)}`,this._isSyncing=!1)}applyPhoneConfig(e){this.phoneConfig=m(e),this.placeholder=this.phoneConfig.placeholder,this.pattern=this.phoneConfig.pattern,this.placeholderLength=o(this.placeholder).length,this.phonePattern=new RegExp(this.pattern)}getPhonePrefixFromValue(e){for(let t of N)if(e.startsWith(t))return t;return"+33"}setPhoneFromValue(e){if(e===""){this.phonePrefix="+33",this.applyPhoneConfig(this.phonePrefix),this.phoneNumber="",this.value="";return}let t=this.getPhonePrefixFromValue(e),r=m(t),n=o(r.placeholder).length;this.phonePrefix=t,this.applyPhoneConfig(t),this.phoneNumber=e.replace(t,"").substring(0,n)}getDescriptionIds(){let e=["input-phone"];return this.error&&(e=[...e,"error-text"]),e=[...e,"help-text","description"],e.join(" ")}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}async handleValueChange(){this._isSyncing||(this._isSyncing=!0,this.setPhoneFromValue(this.value),this.syncMaskedNumber(),await this.updateComplete,this.formControlController.updateValidity(),this._isSyncing=!1)}handlePhonePrefixChange(){this.applyPhoneConfig(this.phonePrefix),this.phoneNumber.length>this.placeholderLength&&(this.phoneNumber=this.phoneNumber.substring(0,this.placeholderLength)),this.syncMaskedNumber(),this.updateValue()}handlePhoneNumberChange(){this.syncMaskedNumber(),this.updateValue()}checkValidity(){var t;let e=(t=this.input)==null?void 0:t.checkValidity();return this.phoneNumber.length===0?e!=null?e:!1:this.phonePattern.test(this.value)}reportValidity(){var t;let e=(t=this.input)==null?void 0:t.reportValidity();return this.phoneNumber.length===0?e!=null?e:!1:this.phonePattern.test(this.value)}renderInput(){var n,x,P;let e=this.hasSlotController.test("label"),t=this.label?!0:!!e,r=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.phoneNumber=="number"||((n=this.phoneNumber)==null?void 0:n.length)>0);return u`
2
+ <div part="base" class="input-phone__input form-control__field">
3
+ <dsa-select
4
+ id="prefix"
5
+ part="select"
6
+ class=${d({"input-phone__select":!0,"input-phone__select-error":this.error,"input-phone__select-success":this.success&&!this.error})}
7
+ .variant=${g(this.variant)}
8
+ .value=${this.phonePrefix}
9
+ ?disabled=${this.disabled}
10
+ ?readonly=${this.readonly}
11
+ accessible-name=${this.localize.term("countryCallingCode")}
12
+ .placement=${this.placement}
13
+ hoist
14
+ .size=${this.size}
15
+ @dsa-change=${this.handlePhonePrefixSelectChange}
16
+ enterkeyhint="enter"
17
+ display-value
18
+ no-sync-width
19
+ >
20
+ ${T.map(f=>u`
21
+ <dsa-option value=${f.value} .size=${this.size}>
22
+ <dsa-icon
23
+ slot="prefix"
24
+ name="french_flag"
25
+ library="system"
26
+ class="input-phone__flag"
27
+ ></dsa-icon>
28
+ ${this.localize.term(f.label)} (${f.value})
29
+ </dsa-option>
30
+ `)}
31
+ </dsa-select>
32
+
33
+ <div
34
+ class=${d({"input-phone":!0,"input-phone--error":this.error,"input-phone--success":this.success&&!this.error,"input-phone--on-layer":this.variant==="layer","input-phone--on-base":this.variant==="base","input-phone--disabled":this.disabled,"input-phone--readonly":this.readonly,"input-phone--focused":this.hasFocus,"input-phone--empty":this.phoneNumber===""})}
35
+ >
36
+ <span>${this.inputPrefix}</span>
37
+
38
+ <div class="input-phone__mask">
39
+ ${z(this.maskedNumber,this.placeholder,"input-phone")}
40
+
41
+ <input
42
+ part="input"
43
+ id="input"
44
+ class=${d({"input-phone__control":!0})}
45
+ type="text"
46
+ title=${c(t?void 0:(x=this.accessibleName)!=null?x:this.title)}
47
+ name=${c(this.name)}
48
+ ?disabled=${this.disabled}
49
+ ?readonly=${this.readonly}
50
+ aria-disabled=${a(this.readonly?"true":void 0)}
51
+ ?required=${this.required}
52
+ minlength=${a(this.placeholder.length)}
53
+ maxlength=${a(this.placeholder.length)}
54
+ size=${a(this.placeholder.length)}
55
+ placeholder=${a(this.placeholder)}
56
+ .value=${g(this.maskedNumber)}
57
+ autocomplete="tel-national"
58
+ ?autofocus=${this.autofocus}
59
+ enterkeyhint=${a(this.enterkeyhint)}
60
+ inputmode="tel"
61
+ aria-label=${c(t?void 0:(P=this.accessibleName)!=null?P:this.title)}
62
+ aria-describedby=${this.getDescriptionIds()}
63
+ aria-invalid=${a(this.error?"true":void 0)}
64
+ @change=${this.handleInputChange}
65
+ @input=${this.handleInputValueChange}
66
+ @keydown=${this.handleKeyDown}
67
+ @focus=${this.handleFocus}
68
+ @blur=${this.handleBlur}
69
+ @invalid=${this.handleInvalid}
70
+ />
71
+ </div>
72
+ ${r?u`
73
+ <dsa-icon-button
74
+ part="clear-button"
75
+ class="input-phone__clear"
76
+ label=${this.localize.term("clearEntry")}
77
+ @click=${this.handleClearIconClick}
78
+ name="close"
79
+ library="system"
80
+ >
81
+ </dsa-icon-button>
82
+ `:""}
83
+ </div>
84
+ </div>
85
+ `}};i.styles=U,i.dependencies=V(k({},y.dependencies),{"dsa-icon":F,"dsa-icon-button":M,"dsa-option":E,"dsa-select":C}),s([b(".input-phone__control")],i.prototype,"input",2),s([b(".input-phone__select")],i.prototype,"phonePrefixEl",2),s([l()],i.prototype,"maskedNumber",2),s([l()],i.prototype,"phoneConfig",2),s([l()],i.prototype,"placeholder",2),s([l()],i.prototype,"pattern",2),s([h()],i.prototype,"value",2),s([h({attribute:!1})],i.prototype,"phonePrefix",2),s([h({attribute:!1})],i.prototype,"phoneNumber",2),s([h({attribute:"input-prefix"})],i.prototype,"inputPrefix",2),s([h({reflect:!0})],i.prototype,"placement",2),s([p("disabled",{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([p("value")],i.prototype,"handleValueChange",1),s([p("phonePrefix",{waitUntilFirstUpdate:!0})],i.prototype,"handlePhonePrefixChange",1),s([p("phoneNumber",{waitUntilFirstUpdate:!0})],i.prototype,"handlePhoneNumberChange",1),i=s([_("dsa-input-phone")],i);export{i as a};
@@ -0,0 +1,27 @@
1
+ import{a as x}from"./chunk.6B4U6EHI.js";import{a as b}from"./chunk.CWRA4UT2.js";import{a as p,b as f}from"./chunk.ELL45QD3.js";import{a as o,b as r}from"./chunk.FDMPUSVV.js";import{a as u}from"./chunk.NIRNX67K.js";import{a as s}from"./chunk.2RF4WD6T.js";import{d as h}from"./chunk.ZBHHLRFH.js";import{a as m}from"./chunk.BWEPOOQP.js";import{a as d,b as i,d as a,f as c}from"./chunk.KBZ32KWP.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends c{constructor(){super(...arguments);this.hasSlotController=new p(this,"prefix");this.cachedTextLabel="";this.type="button";this.size="medium";this.disabled=!1;this.href="";this.rel="noreferrer noopener";this.collapsed=!1}connectedCallback(){super.connectedCallback(),this.handleHostClick=this.handleHostClick.bind(this),this.addEventListener("click",this.handleHostClick),this.hasAttribute("role")||this.setAttribute("role","listitem")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick)}firstUpdated(){this.cachedTextLabel=this.getTextLabel()}handleDefaultSlotChange(){let l=this.getTextLabel();l!==this.cachedTextLabel&&(this.cachedTextLabel=l,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleHostClick(l){this.disabled&&(l.preventDefault(),l.stopImmediatePropagation())}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}getTextLabel(){return f(this.defaultSlot)}focus(l){this.menuItem.focus(l)}blur(){this.menuItem.blur()}click(){this.menuItem.click()}render(){let l=this.type==="link"?o`a`:o`button`,n=this.cachedTextLabel||this.getTextLabel();return this.collapsed&&!this.hasSlotController.test("prefix")?r``:r`
2
+ <dsa-tooltip placement="right" hoist ?disabled=${!this.collapsed}>
3
+ <${l}
4
+ part="base"
5
+ class=${h({"menu-item":!0,"menu-item--small":this.size==="small","menu-item--medium":this.size==="medium","menu-item--large":this.size==="large","menu-item--disabled":this.disabled,"menu-item--button":this.type==="button","menu-item--link":this.type==="link","menu-item--collapsed":this.collapsed,"menu-item--highlight":!!(this.current||this.expanded)})}
6
+ href=${s(this.type==="link"?this.href:void 0)}
7
+ target=${s(this.type==="link"?this.target:void 0)}
8
+ rel=${s(this.type==="link"?this.rel:void 0)}
9
+ download=${s(this.type==="link"?this.download:void 0)}
10
+ aria-current=${u(this.current)}
11
+ aria-expanded=${s(this.expanded)}
12
+ tabindex=${s(this.disabled?"-1":void 0)}
13
+ aria-label=${s(this.collapsed?n:void 0)}
14
+ >
15
+ <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
16
+
17
+ <slot
18
+ part="label"
19
+ class="menu-item__label"
20
+ @slotchange=${this.handleDefaultSlotChange}
21
+ ></slot>
22
+
23
+ <slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
24
+ </${l}>
25
+ <span slot="content" aria-hidden="true">${n}</span>
26
+ </dsa-tooltip>
27
+ `}};e.styles=x,e.dependencies={"dsa-tooltip":b},t([a("slot:not([name])")],e.prototype,"defaultSlot",2),t([a(".menu-item")],e.prototype,"menuItem",2),t([i()],e.prototype,"type",2),t([i({reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"href",2),t([i()],e.prototype,"target",2),t([i()],e.prototype,"rel",2),t([i()],e.prototype,"download",2),t([i()],e.prototype,"current",2),t([i({type:Boolean,reflect:!0})],e.prototype,"collapsed",2),t([i()],e.prototype,"expanded",2),t([m("disabled")],e.prototype,"handleDisabledChange",1),e=t([d("dsa-menu-item")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk.GFXPRQI6.js";import{a as r,f as s}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends s{connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}render(){return l` <slot></slot> `}};t.styles=o,t=e([r("dsa-footer-sitemap-item")],t);export{t as a};
1
+ import{a as o}from"./chunk.4IZELNZN.js";import{a as r,f as s}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends s{connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}render(){return l` <slot></slot> `}};t.styles=o,t=e([r("dsa-footer-sitemap-item")],t);export{t as a};
@@ -1,8 +1,8 @@
1
- import{e as ie,f as j}from"./chunk.IFSGAJQ4.js";import{a as Ae}from"./chunk.XZWROQBU.js";import{c as Ne}from"./chunk.LBAIMDY3.js";import{a as Te}from"./chunk.2RF4WD6T.js";import{a as ae}from"./chunk.BWEPOOQP.js";import{a as xe,b as Y,d as Le,f as Me}from"./chunk.KBZ32KWP.js";import{a as ke}from"./chunk.GP725TPQ.js";import{c as Ce,f as w}from"./chunk.IZ2HVRME.js";var o={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};var q="app";var Mt=Ce({});var O,Je,_,Nt,At=0,Ze=!1,Q=!1,ge=!1,y=!1,Ee=null,re=0,X=!1,Ns={isDev:!!o.isDev,isBrowser:!0,isServer:!1,isTesting:!!o.isTesting};var C=(e,t="")=>{if(o.profile&&performance.mark){let s=`st:${e}:${t}:${At++}`;return performance.mark(s),()=>performance.measure(`[Stencil] ${e}() <${t}>`,s)}else return()=>{}},Et=(e,t)=>o.profile&&performance.mark?(performance.getEntriesByName(e,"mark").length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,"measure").length===0&&performance.measure(t,e)}):()=>{};var It="r",Ot="o",Bt="s",Rt="t",de="s-id",Ie="sty-id",Oe="c-id";var Be="http://www.w3.org/1999/xlink",Re={},_t="http://www.w3.org/2000/svg",Pt="http://www.w3.org/1999/xhtml",zt=e=>e!=null,me=e=>(e=typeof e,e==="object"||e==="function");function Ft(e){var t,s,n;return(n=(s=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||s===void 0?void 0:s.getAttribute("content"))!==null&&n!==void 0?n:void 0}var $=(e,t,...s)=>{let n=null,a=null,i=null,r=!1,l=!1,c=[],d=h=>{for(let f=0;f<h.length;f++)n=h[f],Array.isArray(n)?d(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!me(n))?n=String(n):o.isDev&&typeof e!="function"&&n.$flags$===void 0&&J(`vNode passed as children has unexpected type.
1
+ import{e as ie,f as j}from"./chunk.IFSGAJQ4.js";import{a as Ae}from"./chunk.XZWROQBU.js";import{c as Ne}from"./chunk.Q54GPNUS.js";import{a as Te}from"./chunk.2RF4WD6T.js";import{a as ae}from"./chunk.BWEPOOQP.js";import{a as xe,b as Y,d as Le,f as Me}from"./chunk.KBZ32KWP.js";import{a as ke}from"./chunk.GP725TPQ.js";import{c as Ce,f as w}from"./chunk.IZ2HVRME.js";var o={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};var q="app";var Mt=Ce({});var O,Je,_,Nt,At=0,Ze=!1,Q=!1,ge=!1,y=!1,Ee=null,re=0,X=!1,Ns={isDev:!!o.isDev,isBrowser:!0,isServer:!1,isTesting:!!o.isTesting};var C=(e,t="")=>{if(o.profile&&performance.mark){let s=`st:${e}:${t}:${At++}`;return performance.mark(s),()=>performance.measure(`[Stencil] ${e}() <${t}>`,s)}else return()=>{}},Et=(e,t)=>o.profile&&performance.mark?(performance.getEntriesByName(e,"mark").length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,"measure").length===0&&performance.measure(t,e)}):()=>{};var It="r",Ot="o",Bt="s",Rt="t",de="s-id",Ie="sty-id",Oe="c-id";var Be="http://www.w3.org/1999/xlink",Re={},_t="http://www.w3.org/2000/svg",Pt="http://www.w3.org/1999/xhtml",Ft=e=>e!=null,me=e=>(e=typeof e,e==="object"||e==="function");function zt(e){var t,s,n;return(n=(s=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||s===void 0?void 0:s.getAttribute("content"))!==null&&n!==void 0?n:void 0}var $=(e,t,...s)=>{let n=null,a=null,i=null,r=!1,l=!1,c=[],d=h=>{for(let f=0;f<h.length;f++)n=h[f],Array.isArray(n)?d(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!me(n))?n=String(n):o.isDev&&typeof e!="function"&&n.$flags$===void 0&&J(`vNode passed as children has unexpected type.
2
2
  Make sure it's using the correct h() function.
3
3
  Empty objects can also be the cause, look for JSX comments that became objects.`),r&&l?c[c.length-1].$text$+=n:c.push(r?P(null,n):n),l=r)};if(d(s),t&&(o.isDev&&e==="input"&&Ut(t),o.vdomKey&&t.key&&(a=t.key),o.slotRelocation&&t.name&&(i=t.name),o.vdomClass)){let h=t.className||t.class;h&&(t.class=typeof h!="object"?h:Object.keys(h).filter(f=>h[f]).join(" "))}if(o.isDev&&c.some(ue)&&J(`The <Host> must be the single root component. Make sure:
4
4
  - You are NOT using hostData() and <Host> in the same component.
5
- - <Host> is used once, and it's the single root component of the render() function.`),o.vdomFunctional&&typeof e=="function")return e(t===null?{}:t,c,Yt);let u=P(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),o.vdomKey&&(u.$key$=a),o.slotRelocation&&(u.$name$=i),u},P=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return o.vdomAttribute&&(s.$attrs$=null),o.vdomKey&&(s.$key$=null),o.slotRelocation&&(s.$name$=null),s},ye={},ue=e=>e&&e.$tag$===ye,Yt={forEach:(e,t)=>e.map(_e).forEach(t),map:(e,t)=>e.map(_e).map(t).map(Ht)},_e=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ht=e=>{if(typeof e.vtag=="function"){let s=Object.assign({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),$(e.vtag,s,...e.vchildren||[])}let t=P(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ut=e=>{let t=Object.keys(e),s=t.indexOf("value");if(s===-1)return;let n=t.indexOf("type"),a=t.indexOf("min"),i=t.indexOf("max"),r=t.indexOf("step");(s<n||s<a||s<i||s<r)&&U('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Wt=(e,t,s,n)=>{let a=C("hydrateClient",t),i=e.shadowRoot,r=[],l=[],c=o.shadowDom&&i?[]:null,d=n.$vnode$=P(t,null);p.$orgLocNodes$||fe(m.body,p.$orgLocNodes$=new Map),e[de]=s,e.removeAttribute(de),he(d,r,l,c,e,e,s),r.map(u=>{let h=u.$hostId$+"."+u.$nodeId$,f=p.$orgLocNodes$.get(h),g=u.$elm$;f&&z&&f["s-en"]===""&&f.parentNode.insertBefore(g,f.nextSibling),i||(g["s-hn"]=t,f&&(g["s-ol"]=f,g["s-ol"]["s-nr"]=g)),p.$orgLocNodes$.delete(h)}),o.shadowDom&&i&&c.map(u=>{u&&i.appendChild(u)}),a()},he=(e,t,s,n,a,i,r)=>{let l,c,d,u;if(i.nodeType===1){for(l=i.getAttribute(Oe),l&&(c=l.split("."),(c[0]===r||c[0]==="0")&&(d={$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(d),i.removeAttribute(Oe),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d,e=d,n&&d.$depth$==="0"&&(n[d.$index$]=d.$elm$))),u=i.childNodes.length-1;u>=0;u--)he(e,t,s,n,a,i.childNodes[u],r);if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)he(e,t,s,n,a,i.shadowRoot.childNodes[u],r)}else if(i.nodeType===8)c=i.nodeValue.split("."),(c[1]===r||c[1]==="0")&&(l=c[0],d={$flags$:0,$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},l===Rt?(d.$elm$=i.nextSibling,d.$elm$&&d.$elm$.nodeType===3&&(d.$text$=d.$elm$.textContent,t.push(d),i.remove(),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d,n&&d.$depth$==="0"&&(n[d.$index$]=d.$elm$))):d.$hostId$===r&&(l===Bt?(d.$tag$="slot",c[5]?i["s-sn"]=d.$name$=c[5]:i["s-sn"]="",i["s-sr"]=!0,o.shadowDom&&n&&(d.$elm$=m.createElement(d.$tag$),d.$name$&&d.$elm$.setAttribute("name",d.$name$),i.parentNode.insertBefore(d.$elm$,i),i.remove(),d.$depth$==="0"&&(n[d.$index$]=d.$elm$)),s.push(d),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d):l===It&&(o.shadowDom&&n?i.remove():o.slotRelocation&&(a["s-cr"]=i,i["s-cn"]=!0))));else if(e&&e.$tag$==="style"){let h=P(null,i.textContent);h.$elm$=i,h.$index$="0",e.$children$=[h]}},fe=(e,t)=>{if(e.nodeType===1){let s=0;for(;s<e.childNodes.length;s++)fe(e.childNodes[s],t);if(e.shadowRoot)for(s=0;s<e.shadowRoot.childNodes.length;s++)fe(e.shadowRoot.childNodes[s],t)}else if(e.nodeType===8){let s=e.nodeValue.split(".");s[0]===Ot&&(t.set(s[1]+"."+s[2],e),e.nodeValue="",e["s-en"]=s[3])}},jt=e=>fs.map(t=>t(e)).find(t=>!!t);var qt=(e,t)=>e!=null&&!me(e)?o.propBoolean&&t&4?e==="false"?!1:e===""||!!e:o.propNumber&&t&2?parseFloat(e):o.propString&&t&1?String(e):e:e,Kt=e=>o.lazyLoad?M(e).$hostElement$:e,ve=(e,t,s)=>{let n=Kt(e);return{emit:a=>(o.isDev&&!n.isConnected&&U(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),De(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:a}))}},De=(e,t,s)=>{let n=p.ce(t,s);return e.dispatchEvent(n),n},Pe=new WeakMap,Qt=(e,t,s)=>{let n=Z.get(e);gs&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,Z.set(e,n)},$e=(e,t,s,n)=>{var a;let i=Ve(t,s),r=Z.get(i);if(!o.attachStyles)return i;if(e=e.nodeType===11?e:m,r)if(typeof r=="string"){e=e.head||e;let l=Pe.get(e),c;if(l||Pe.set(e,l=new Set),!l.has(i)){if(o.hydrateClientSide&&e.host&&(c=e.querySelector(`[${Ie}="${i}"]`)))c.innerHTML=r;else{if(o.cssVarShim&&p.$cssShim$){c=p.$cssShim$.createHostStyle(n,i,r,!!(t.$flags$&10));let u=c["s-sc"];u&&(i=u,l=null)}else c=m.createElement("style"),c.innerHTML=r;let d=(a=p.$nonce$)!==null&&a!==void 0?a:Ft(m);d!=null&&c.setAttribute("nonce",d),(o.hydrateServerSide||o.hotModuleReplacement)&&c.setAttribute(Ie,i),e.insertBefore(c,e.querySelector("link"))}l&&l.add(i)}}else o.constructableCSS&&!e.adoptedStyleSheets.includes(r)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return i},Xt=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,a=C("attachStyles",t.$tagName$),i=$e(o.shadowDom&&z&&s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$,s);(o.shadowDom||o.scoped)&&o.cssAnnotations&&n&10&&(s["s-sc"]=i,s.classList.add(i+"-h"),o.scoped&&n&2&&s.classList.add(i+"-s")),a()},Ve=(e,t)=>"sc-"+(o.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$);var ze=(e,t,s,n,a,i)=>{if(s!==n){let r=Ke(e,t),l=t.toLowerCase();if(o.vdomClass&&t==="class"){let c=e.classList,d=Fe(s),u=Fe(n);c.remove(...d.filter(h=>h&&!u.includes(h))),c.add(...u.filter(h=>h&&!d.includes(h)))}else if(o.vdomStyle&&t==="style"){if(o.updatable)for(let c in s)(!n||n[c]==null)&&(!o.hydrateServerSide&&c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(!o.hydrateServerSide&&c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}else if(!(o.vdomKey&&t==="key")){if(o.vdomRef&&t==="ref")n&&n(e);else if(o.vdomListener&&(o.lazyLoad?!r:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n")t[2]==="-"?t=t.slice(3):Ke(F,l)?t=l.slice(2):t=l[2]+t.slice(3),s&&p.rel(e,t,s,!1),n&&p.ael(e,t,n,!1);else if(o.vdomPropOrAttr){let c=me(n);if((r||c&&n!==null)&&!a)try{if(e.tagName.includes("-"))e[t]=n;else{let u=n==null?"":n;t==="list"?r=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch(u){}let d=!1;o.vdomXlink&&l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(o.vdomXlink&&d?e.removeAttributeNS(Be,t):e.removeAttribute(t)):(!r||i&4||a)&&!c&&(n=n===!0?"":n,o.vdomXlink&&d?e.setAttributeNS(Be,t,n):e.setAttribute(t,n))}}}},Gt=/\s/,Fe=e=>e?e.split(Gt):[],et=(e,t,s,n)=>{let a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||Re,r=t.$attrs$||Re;if(o.updatable)for(n in i)n in r||ze(a,n,i[n],void 0,s,t.$flags$);for(n in r)ze(a,n,i[n],r[n],s,t.$flags$)},G=(e,t,s,n)=>{let a=t.$children$[s],i=0,r,l,c;if(o.slotRelocation&&!Ze&&(ge=!0,a.$tag$==="slot"&&(O&&n.classList.add(O+"-s"),a.$flags$|=a.$children$?2:1)),o.isDev&&a.$elm$&&J(`The JSX ${a.$text$!==null?`"${a.$text$}" text`:`"${a.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),o.vdomText&&a.$text$!==null)r=a.$elm$=m.createTextNode(a.$text$);else if(o.slotRelocation&&a.$flags$&1)r=a.$elm$=o.isDebug||o.hydrateServerSide?Zt(a):m.createTextNode("");else{if(o.svg&&!y&&(y=a.$tag$==="svg"),r=a.$elm$=o.svg?m.createElementNS(y?_t:Pt,o.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$):m.createElement(o.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$),o.svg&&y&&a.$tag$==="foreignObject"&&(y=!1),o.vdomAttribute&&et(null,a,y),(o.shadowDom||o.scoped)&&zt(O)&&r["s-si"]!==O&&r.classList.add(r["s-si"]=O),a.$children$)for(i=0;i<a.$children$.length;++i)l=G(e,a,i,r),l&&r.appendChild(l);o.svg&&(a.$tag$==="svg"?y=!1:r.tagName==="foreignObject"&&(y=!0))}return o.slotRelocation&&(r["s-hn"]=_,a.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=Je,r["s-sn"]=a.$name$||"",c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===a.$tag$&&e.$elm$&&H(e.$elm$,!1))),r},H=(e,t)=>{p.$flags$|=1;let s=e.childNodes;for(let n=s.length-1;n>=0;n--){let a=s[n];a["s-hn"]!==_&&a["s-ol"]&&(nt(a).insertBefore(a,be(a)),a["s-ol"].remove(),a["s-ol"]=void 0,ge=!0),t&&H(a,t)}p.$flags$&=-2},tt=(e,t,s,n,a,i)=>{let r=o.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e,l;for(o.shadowDom&&r.shadowRoot&&r.tagName===_&&(r=r.shadowRoot);a<=i;++a)n[a]&&(l=G(null,s,a,e),l&&(n[a].$elm$=l,r.insertBefore(l,o.slotRelocation?be(t):t)))},st=(e,t,s,n,a)=>{for(;t<=s;++t)(n=e[t])&&(a=n.$elm$,it(n),o.slotRelocation&&(Q=!0,a["s-ol"]?a["s-ol"].remove():H(a,!0)),a.remove())},Jt=(e,t,s,n)=>{let a=0,i=0,r=0,l=0,c=t.length-1,d=t[0],u=t[c],h=n.length-1,f=n[0],g=n[h],D,L;for(;a<=c&&i<=h;)if(d==null)d=t[++a];else if(u==null)u=t[--c];else if(f==null)f=n[++i];else if(g==null)g=n[--h];else if(K(d,f))B(d,f),d=t[++a],f=n[++i];else if(K(u,g))B(u,g),u=t[--c],g=n[--h];else if(K(d,g))o.slotRelocation&&(d.$tag$==="slot"||g.$tag$==="slot")&&H(d.$elm$.parentNode,!1),B(d,g),e.insertBefore(d.$elm$,u.$elm$.nextSibling),d=t[++a],g=n[--h];else if(K(u,f))o.slotRelocation&&(d.$tag$==="slot"||g.$tag$==="slot")&&H(u.$elm$.parentNode,!1),B(u,f),e.insertBefore(u.$elm$,d.$elm$),u=t[--c],f=n[++i];else{if(r=-1,o.vdomKey){for(l=a;l<=c;++l)if(t[l]&&t[l].$key$!==null&&t[l].$key$===f.$key$){r=l;break}}o.vdomKey&&r>=0?(L=t[r],L.$tag$!==f.$tag$?D=G(t&&t[i],s,r,e):(B(L,f),t[r]=void 0,D=L.$elm$),f=n[++i]):(D=G(t&&t[i],s,i,e),f=n[++i]),D&&(o.slotRelocation?nt(d.$elm$).insertBefore(D,be(d.$elm$)):d.$elm$.parentNode.insertBefore(D,d.$elm$))}a>c?tt(e,n[h+1]==null?null:n[h+1].$elm$,s,n,i,h):o.updatable&&i>h&&st(t,a,c)},K=(e,t)=>e.$tag$===t.$tag$?o.slotRelocation&&e.$tag$==="slot"?e.$name$===t.$name$:o.vdomKey?e.$key$===t.$key$:!0:!1,be=e=>e&&e["s-ol"]||e,nt=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,B=(e,t)=>{let s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,i=t.$tag$,r=t.$text$,l;!o.vdomText||r===null?(o.svg&&(y=i==="svg"?!0:i==="foreignObject"?!1:y),(o.vdomAttribute||o.reflect)&&(o.slot&&i==="slot"||et(e,t,y)),o.updatable&&n!==null&&a!==null?Jt(s,n,t,a):a!==null?(o.updatable&&o.vdomText&&e.$text$!==null&&(s.textContent=""),tt(s,null,t,a,0,a.length-1)):o.updatable&&n!==null&&st(n,0,n.length-1),o.svg&&y&&i==="svg"&&(y=!1)):o.vdomText&&o.slotRelocation&&(l=s["s-cr"])?l.parentNode.textContent=r:o.vdomText&&e.$text$!==r&&(s.data=r)},ot=e=>{let t=e.childNodes,s,n,a,i,r,l;for(n=0,a=t.length;n<a;n++)if(s=t[n],s.nodeType===1){if(s["s-sr"]){for(r=s["s-sn"],s.hidden=!1,i=0;i<a;i++)if(l=t[i].nodeType,t[i]["s-hn"]!==s["s-hn"]||r!==""){if(l===1&&r===t[i].getAttribute("slot")){s.hidden=!0;break}}else if(l===1||l===3&&t[i].textContent.trim()!==""){s.hidden=!0;break}}ot(s)}},b=[],at=e=>{let t,s,n,a,i,r,l=0,c=e.childNodes,d=c.length;for(;l<d;l++){if(t=c[l],t["s-sr"]&&(s=t["s-cr"])&&s.parentNode)for(n=s.parentNode.childNodes,a=t["s-sn"],r=n.length-1;r>=0;r--)s=n[r],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==t["s-hn"]&&(Ye(s,a)?(i=b.find(u=>u.$nodeToRelocate$===s),Q=!0,s["s-sn"]=s["s-sn"]||a,i?i.$slotRefNode$=t:b.push({$slotRefNode$:t,$nodeToRelocate$:s}),s["s-sr"]&&b.map(u=>{Ye(u.$nodeToRelocate$,s["s-sn"])&&(i=b.find(h=>h.$nodeToRelocate$===s),i&&!u.$slotRefNode$&&(u.$slotRefNode$=i.$slotRefNode$))})):b.some(u=>u.$nodeToRelocate$===s)||b.push({$nodeToRelocate$:s}));t.nodeType===1&&at(t)}},Ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",it=e=>{o.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(it))},He=(e,t)=>{let s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||P(null,null),i=ue(t)?t:$(null,null,t);if(_=s.tagName,o.isDev&&Array.isArray(t)&&t.some(ue))throw new Error(`The <Host> must be the single root component.
5
+ - <Host> is used once, and it's the single root component of the render() function.`),o.vdomFunctional&&typeof e=="function")return e(t===null?{}:t,c,Yt);let u=P(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),o.vdomKey&&(u.$key$=a),o.slotRelocation&&(u.$name$=i),u},P=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return o.vdomAttribute&&(s.$attrs$=null),o.vdomKey&&(s.$key$=null),o.slotRelocation&&(s.$name$=null),s},ye={},ue=e=>e&&e.$tag$===ye,Yt={forEach:(e,t)=>e.map(_e).forEach(t),map:(e,t)=>e.map(_e).map(t).map(Ht)},_e=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ht=e=>{if(typeof e.vtag=="function"){let s=Object.assign({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),$(e.vtag,s,...e.vchildren||[])}let t=P(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ut=e=>{let t=Object.keys(e),s=t.indexOf("value");if(s===-1)return;let n=t.indexOf("type"),a=t.indexOf("min"),i=t.indexOf("max"),r=t.indexOf("step");(s<n||s<a||s<i||s<r)&&U('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Wt=(e,t,s,n)=>{let a=C("hydrateClient",t),i=e.shadowRoot,r=[],l=[],c=o.shadowDom&&i?[]:null,d=n.$vnode$=P(t,null);p.$orgLocNodes$||fe(m.body,p.$orgLocNodes$=new Map),e[de]=s,e.removeAttribute(de),he(d,r,l,c,e,e,s),r.map(u=>{let h=u.$hostId$+"."+u.$nodeId$,f=p.$orgLocNodes$.get(h),g=u.$elm$;f&&F&&f["s-en"]===""&&f.parentNode.insertBefore(g,f.nextSibling),i||(g["s-hn"]=t,f&&(g["s-ol"]=f,g["s-ol"]["s-nr"]=g)),p.$orgLocNodes$.delete(h)}),o.shadowDom&&i&&c.map(u=>{u&&i.appendChild(u)}),a()},he=(e,t,s,n,a,i,r)=>{let l,c,d,u;if(i.nodeType===1){for(l=i.getAttribute(Oe),l&&(c=l.split("."),(c[0]===r||c[0]==="0")&&(d={$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(d),i.removeAttribute(Oe),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d,e=d,n&&d.$depth$==="0"&&(n[d.$index$]=d.$elm$))),u=i.childNodes.length-1;u>=0;u--)he(e,t,s,n,a,i.childNodes[u],r);if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)he(e,t,s,n,a,i.shadowRoot.childNodes[u],r)}else if(i.nodeType===8)c=i.nodeValue.split("."),(c[1]===r||c[1]==="0")&&(l=c[0],d={$flags$:0,$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},l===Rt?(d.$elm$=i.nextSibling,d.$elm$&&d.$elm$.nodeType===3&&(d.$text$=d.$elm$.textContent,t.push(d),i.remove(),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d,n&&d.$depth$==="0"&&(n[d.$index$]=d.$elm$))):d.$hostId$===r&&(l===Bt?(d.$tag$="slot",c[5]?i["s-sn"]=d.$name$=c[5]:i["s-sn"]="",i["s-sr"]=!0,o.shadowDom&&n&&(d.$elm$=m.createElement(d.$tag$),d.$name$&&d.$elm$.setAttribute("name",d.$name$),i.parentNode.insertBefore(d.$elm$,i),i.remove(),d.$depth$==="0"&&(n[d.$index$]=d.$elm$)),s.push(d),e.$children$||(e.$children$=[]),e.$children$[d.$index$]=d):l===It&&(o.shadowDom&&n?i.remove():o.slotRelocation&&(a["s-cr"]=i,i["s-cn"]=!0))));else if(e&&e.$tag$==="style"){let h=P(null,i.textContent);h.$elm$=i,h.$index$="0",e.$children$=[h]}},fe=(e,t)=>{if(e.nodeType===1){let s=0;for(;s<e.childNodes.length;s++)fe(e.childNodes[s],t);if(e.shadowRoot)for(s=0;s<e.shadowRoot.childNodes.length;s++)fe(e.shadowRoot.childNodes[s],t)}else if(e.nodeType===8){let s=e.nodeValue.split(".");s[0]===Ot&&(t.set(s[1]+"."+s[2],e),e.nodeValue="",e["s-en"]=s[3])}},jt=e=>fs.map(t=>t(e)).find(t=>!!t);var qt=(e,t)=>e!=null&&!me(e)?o.propBoolean&&t&4?e==="false"?!1:e===""||!!e:o.propNumber&&t&2?parseFloat(e):o.propString&&t&1?String(e):e:e,Kt=e=>o.lazyLoad?M(e).$hostElement$:e,De=(e,t,s)=>{let n=Kt(e);return{emit:a=>(o.isDev&&!n.isConnected&&U(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),ve(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:a}))}},ve=(e,t,s)=>{let n=p.ce(t,s);return e.dispatchEvent(n),n},Pe=new WeakMap,Qt=(e,t,s)=>{let n=Z.get(e);gs&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,Z.set(e,n)},$e=(e,t,s,n)=>{var a;let i=Ve(t,s),r=Z.get(i);if(!o.attachStyles)return i;if(e=e.nodeType===11?e:m,r)if(typeof r=="string"){e=e.head||e;let l=Pe.get(e),c;if(l||Pe.set(e,l=new Set),!l.has(i)){if(o.hydrateClientSide&&e.host&&(c=e.querySelector(`[${Ie}="${i}"]`)))c.innerHTML=r;else{if(o.cssVarShim&&p.$cssShim$){c=p.$cssShim$.createHostStyle(n,i,r,!!(t.$flags$&10));let u=c["s-sc"];u&&(i=u,l=null)}else c=m.createElement("style"),c.innerHTML=r;let d=(a=p.$nonce$)!==null&&a!==void 0?a:zt(m);d!=null&&c.setAttribute("nonce",d),(o.hydrateServerSide||o.hotModuleReplacement)&&c.setAttribute(Ie,i),e.insertBefore(c,e.querySelector("link"))}l&&l.add(i)}}else o.constructableCSS&&!e.adoptedStyleSheets.includes(r)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return i},Xt=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,a=C("attachStyles",t.$tagName$),i=$e(o.shadowDom&&F&&s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$,s);(o.shadowDom||o.scoped)&&o.cssAnnotations&&n&10&&(s["s-sc"]=i,s.classList.add(i+"-h"),o.scoped&&n&2&&s.classList.add(i+"-s")),a()},Ve=(e,t)=>"sc-"+(o.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$);var Fe=(e,t,s,n,a,i)=>{if(s!==n){let r=Ke(e,t),l=t.toLowerCase();if(o.vdomClass&&t==="class"){let c=e.classList,d=ze(s),u=ze(n);c.remove(...d.filter(h=>h&&!u.includes(h))),c.add(...u.filter(h=>h&&!d.includes(h)))}else if(o.vdomStyle&&t==="style"){if(o.updatable)for(let c in s)(!n||n[c]==null)&&(!o.hydrateServerSide&&c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(!o.hydrateServerSide&&c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}else if(!(o.vdomKey&&t==="key")){if(o.vdomRef&&t==="ref")n&&n(e);else if(o.vdomListener&&(o.lazyLoad?!r:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n")t[2]==="-"?t=t.slice(3):Ke(z,l)?t=l.slice(2):t=l[2]+t.slice(3),s&&p.rel(e,t,s,!1),n&&p.ael(e,t,n,!1);else if(o.vdomPropOrAttr){let c=me(n);if((r||c&&n!==null)&&!a)try{if(e.tagName.includes("-"))e[t]=n;else{let u=n==null?"":n;t==="list"?r=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch(u){}let d=!1;o.vdomXlink&&l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(o.vdomXlink&&d?e.removeAttributeNS(Be,t):e.removeAttribute(t)):(!r||i&4||a)&&!c&&(n=n===!0?"":n,o.vdomXlink&&d?e.setAttributeNS(Be,t,n):e.setAttribute(t,n))}}}},Gt=/\s/,ze=e=>e?e.split(Gt):[],et=(e,t,s,n)=>{let a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||Re,r=t.$attrs$||Re;if(o.updatable)for(n in i)n in r||Fe(a,n,i[n],void 0,s,t.$flags$);for(n in r)Fe(a,n,i[n],r[n],s,t.$flags$)},G=(e,t,s,n)=>{let a=t.$children$[s],i=0,r,l,c;if(o.slotRelocation&&!Ze&&(ge=!0,a.$tag$==="slot"&&(O&&n.classList.add(O+"-s"),a.$flags$|=a.$children$?2:1)),o.isDev&&a.$elm$&&J(`The JSX ${a.$text$!==null?`"${a.$text$}" text`:`"${a.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),o.vdomText&&a.$text$!==null)r=a.$elm$=m.createTextNode(a.$text$);else if(o.slotRelocation&&a.$flags$&1)r=a.$elm$=o.isDebug||o.hydrateServerSide?Zt(a):m.createTextNode("");else{if(o.svg&&!y&&(y=a.$tag$==="svg"),r=a.$elm$=o.svg?m.createElementNS(y?_t:Pt,o.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$):m.createElement(o.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$),o.svg&&y&&a.$tag$==="foreignObject"&&(y=!1),o.vdomAttribute&&et(null,a,y),(o.shadowDom||o.scoped)&&Ft(O)&&r["s-si"]!==O&&r.classList.add(r["s-si"]=O),a.$children$)for(i=0;i<a.$children$.length;++i)l=G(e,a,i,r),l&&r.appendChild(l);o.svg&&(a.$tag$==="svg"?y=!1:r.tagName==="foreignObject"&&(y=!0))}return o.slotRelocation&&(r["s-hn"]=_,a.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=Je,r["s-sn"]=a.$name$||"",c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===a.$tag$&&e.$elm$&&H(e.$elm$,!1))),r},H=(e,t)=>{p.$flags$|=1;let s=e.childNodes;for(let n=s.length-1;n>=0;n--){let a=s[n];a["s-hn"]!==_&&a["s-ol"]&&(nt(a).insertBefore(a,be(a)),a["s-ol"].remove(),a["s-ol"]=void 0,ge=!0),t&&H(a,t)}p.$flags$&=-2},tt=(e,t,s,n,a,i)=>{let r=o.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e,l;for(o.shadowDom&&r.shadowRoot&&r.tagName===_&&(r=r.shadowRoot);a<=i;++a)n[a]&&(l=G(null,s,a,e),l&&(n[a].$elm$=l,r.insertBefore(l,o.slotRelocation?be(t):t)))},st=(e,t,s,n,a)=>{for(;t<=s;++t)(n=e[t])&&(a=n.$elm$,it(n),o.slotRelocation&&(Q=!0,a["s-ol"]?a["s-ol"].remove():H(a,!0)),a.remove())},Jt=(e,t,s,n)=>{let a=0,i=0,r=0,l=0,c=t.length-1,d=t[0],u=t[c],h=n.length-1,f=n[0],g=n[h],v,L;for(;a<=c&&i<=h;)if(d==null)d=t[++a];else if(u==null)u=t[--c];else if(f==null)f=n[++i];else if(g==null)g=n[--h];else if(K(d,f))B(d,f),d=t[++a],f=n[++i];else if(K(u,g))B(u,g),u=t[--c],g=n[--h];else if(K(d,g))o.slotRelocation&&(d.$tag$==="slot"||g.$tag$==="slot")&&H(d.$elm$.parentNode,!1),B(d,g),e.insertBefore(d.$elm$,u.$elm$.nextSibling),d=t[++a],g=n[--h];else if(K(u,f))o.slotRelocation&&(d.$tag$==="slot"||g.$tag$==="slot")&&H(u.$elm$.parentNode,!1),B(u,f),e.insertBefore(u.$elm$,d.$elm$),u=t[--c],f=n[++i];else{if(r=-1,o.vdomKey){for(l=a;l<=c;++l)if(t[l]&&t[l].$key$!==null&&t[l].$key$===f.$key$){r=l;break}}o.vdomKey&&r>=0?(L=t[r],L.$tag$!==f.$tag$?v=G(t&&t[i],s,r,e):(B(L,f),t[r]=void 0,v=L.$elm$),f=n[++i]):(v=G(t&&t[i],s,i,e),f=n[++i]),v&&(o.slotRelocation?nt(d.$elm$).insertBefore(v,be(d.$elm$)):d.$elm$.parentNode.insertBefore(v,d.$elm$))}a>c?tt(e,n[h+1]==null?null:n[h+1].$elm$,s,n,i,h):o.updatable&&i>h&&st(t,a,c)},K=(e,t)=>e.$tag$===t.$tag$?o.slotRelocation&&e.$tag$==="slot"?e.$name$===t.$name$:o.vdomKey?e.$key$===t.$key$:!0:!1,be=e=>e&&e["s-ol"]||e,nt=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,B=(e,t)=>{let s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,i=t.$tag$,r=t.$text$,l;!o.vdomText||r===null?(o.svg&&(y=i==="svg"?!0:i==="foreignObject"?!1:y),(o.vdomAttribute||o.reflect)&&(o.slot&&i==="slot"||et(e,t,y)),o.updatable&&n!==null&&a!==null?Jt(s,n,t,a):a!==null?(o.updatable&&o.vdomText&&e.$text$!==null&&(s.textContent=""),tt(s,null,t,a,0,a.length-1)):o.updatable&&n!==null&&st(n,0,n.length-1),o.svg&&y&&i==="svg"&&(y=!1)):o.vdomText&&o.slotRelocation&&(l=s["s-cr"])?l.parentNode.textContent=r:o.vdomText&&e.$text$!==r&&(s.data=r)},ot=e=>{let t=e.childNodes,s,n,a,i,r,l;for(n=0,a=t.length;n<a;n++)if(s=t[n],s.nodeType===1){if(s["s-sr"]){for(r=s["s-sn"],s.hidden=!1,i=0;i<a;i++)if(l=t[i].nodeType,t[i]["s-hn"]!==s["s-hn"]||r!==""){if(l===1&&r===t[i].getAttribute("slot")){s.hidden=!0;break}}else if(l===1||l===3&&t[i].textContent.trim()!==""){s.hidden=!0;break}}ot(s)}},b=[],at=e=>{let t,s,n,a,i,r,l=0,c=e.childNodes,d=c.length;for(;l<d;l++){if(t=c[l],t["s-sr"]&&(s=t["s-cr"])&&s.parentNode)for(n=s.parentNode.childNodes,a=t["s-sn"],r=n.length-1;r>=0;r--)s=n[r],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==t["s-hn"]&&(Ye(s,a)?(i=b.find(u=>u.$nodeToRelocate$===s),Q=!0,s["s-sn"]=s["s-sn"]||a,i?i.$slotRefNode$=t:b.push({$slotRefNode$:t,$nodeToRelocate$:s}),s["s-sr"]&&b.map(u=>{Ye(u.$nodeToRelocate$,s["s-sn"])&&(i=b.find(h=>h.$nodeToRelocate$===s),i&&!u.$slotRefNode$&&(u.$slotRefNode$=i.$slotRefNode$))})):b.some(u=>u.$nodeToRelocate$===s)||b.push({$nodeToRelocate$:s}));t.nodeType===1&&at(t)}},Ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",it=e=>{o.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(it))},He=(e,t)=>{let s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||P(null,null),i=ue(t)?t:$(null,null,t);if(_=s.tagName,o.isDev&&Array.isArray(t)&&t.some(ue))throw new Error(`The <Host> must be the single root component.
6
6
  Looks like the render() function of "${_.toLowerCase()}" is returning an array that contains the <Host>.
7
7
 
8
8
  The render() function should look like this instead:
@@ -13,14 +13,14 @@ render() {
13
13
  <Host>{content}</Host>
14
14
  );
15
15
  }
16
- `);if(o.reflect&&n.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},n.$attrsToReflect$.map(([r,l])=>i.$attrs$[l]=s[r])),i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=a.$elm$=o.shadowDom&&s.shadowRoot||s,(o.scoped||o.shadowDom)&&(O=s["s-sc"]),o.slotRelocation&&(Je=s["s-cr"],Ze=z&&(n.$flags$&1)!==0,Q=!1),B(a,i),o.slotRelocation){if(p.$flags$|=1,ge){at(i.$elm$);let r,l,c,d,u,h,f=0;for(;f<b.length;f++)r=b[f],l=r.$nodeToRelocate$,l["s-ol"]||(c=o.isDebug||o.hydrateServerSide?Vt(l):m.createTextNode(""),c["s-nr"]=l,l.parentNode.insertBefore(l["s-ol"]=c,l));for(f=0;f<b.length;f++)if(r=b[f],l=r.$nodeToRelocate$,r.$slotRefNode$){for(d=r.$slotRefNode$.parentNode,u=r.$slotRefNode$.nextSibling,c=l["s-ol"];c=c.previousSibling;)if(h=c["s-nr"],h&&h["s-sn"]===l["s-sn"]&&d===h.parentNode&&(h=h.nextSibling,!h||!h["s-nr"])){u=h;break}(!u&&d!==l.parentNode||l.nextSibling!==u)&&l!==u&&(!l["s-hn"]&&l["s-ol"]&&(l["s-hn"]=l["s-ol"].parentNode.nodeName),d.insertBefore(l,u))}else l.nodeType===1&&(l.hidden=!0)}Q&&ot(i.$elm$),p.$flags$&=-2,b.length=0}},Zt=e=>m.createComment(`<slot${e.$name$?' name="'+e.$name$+'"':""}> (host=${_.toLowerCase()})`),Vt=e=>m.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`)),rt=(e,t)=>{o.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},Se=(e,t)=>{if(o.taskQueue&&o.updatable&&(e.$flags$|=16),o.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}rt(e,e.$ancestorComponent$);let s=()=>es(e,t);return o.taskQueue?ys(s):s()},es=(e,t)=>{let s=e.$hostElement$,n=C("scheduleUpdate",e.$cmpMeta$.$tagName$),a=o.lazyLoad?e.$lazyInstance$:s,i;return t?(o.lazyLoad&&o.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([r,l])=>S(a,r,l)),e.$queuedListeners$=null)),R(s,"componentWillLoad"),o.cmpWillLoad&&(i=S(a,"componentWillLoad"))):(R(s,"componentWillUpdate"),o.cmpWillUpdate&&(i=S(a,"componentWillUpdate"))),R(s,"componentWillRender"),o.cmpWillRender&&(i=je(i,()=>S(a,"componentWillRender"))),n(),je(i,()=>ts(e,a,t))},ts=async(e,t,s)=>{let n=e.$hostElement$,a=C("update",e.$cmpMeta$.$tagName$),i=n["s-rc"];o.style&&s&&Xt(e);let r=C("render",e.$cmpMeta$.$tagName$);if(o.isDev&&(e.$flags$|=1024),o.hydrateServerSide?await Ue(e,t,n):Ue(e,t,n),o.cssVarShim&&p.$cssShim$&&p.$cssShim$.updateHost(n),o.isDev&&(e.$renderCount$++,e.$flags$&=-1025),o.hydrateServerSide)try{ct(n),s&&(e.$cmpMeta$.$flags$&1?n["s-en"]="":e.$cmpMeta$.$flags$&2&&(n["s-en"]="c"))}catch(l){k(l,n)}if(o.asyncLoading&&i&&(i.map(l=>l()),n["s-rc"]=void 0),r(),a(),o.asyncLoading){let l=n["s-p"],c=()=>We(e);l.length===0?c():(Promise.all(l).then(c),e.$flags$|=4,l.length=0)}else We(e)},Ue=(e,t,s)=>{let n=!!o.allRenderFn,a=!!o.lazyLoad,i=!!o.taskQueue,r=!!o.updatable;try{if(Ee=t,t=(n||t.render)&&t.render(),r&&i&&(e.$flags$&=-17),(r||a)&&(e.$flags$|=2),o.hasRenderFn||o.reflect)if(o.vdomRender||o.reflect){if(o.hydrateServerSide)return Promise.resolve(t).then(l=>He(e,l));He(e,t)}else s.textContent=t}catch(l){k(l,e.$hostElement$)}return Ee=null,null};var We=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=C("postUpdate",t),a=o.lazyLoad?e.$lazyInstance$:s,i=e.$ancestorComponent$;o.cmpDidRender&&(o.isDev&&(e.$flags$|=1024),S(a,"componentDidRender"),o.isDev&&(e.$flags$&=-1025)),R(s,"componentDidRender"),e.$flags$&64?(o.cmpDidUpdate&&(o.isDev&&(e.$flags$|=1024),S(a,"componentDidUpdate"),o.isDev&&(e.$flags$&=-1025)),R(s,"componentDidUpdate"),n()):(e.$flags$|=64,o.asyncLoading&&o.cssAnnotations&&lt(s),o.cmpDidLoad&&(o.isDev&&(e.$flags$|=2048),S(a,"componentDidLoad"),o.isDev&&(e.$flags$&=-2049)),R(s,"componentDidLoad"),n(),o.asyncLoading&&(e.$onReadyResolve$(s),i||ss(t))),o.hotModuleReplacement&&s["s-hmr-load"]&&s["s-hmr-load"](),o.method&&o.lazyLoad&&e.$onInstanceResolve$(s),o.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&ee(()=>Se(e,!1)),e.$flags$&=-517)};var ss=e=>{o.cssAnnotations&&lt(m.documentElement),o.asyncQueue&&(p.$flags$|=2),ee(()=>De(F,"appload",{detail:{namespace:q}})),o.profile&&performance.measure&&performance.measure(`[Stencil] ${q} initial load (by ${e})`,"st:app:start")},S=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){k(n)}},je=(e,t)=>e&&e.then?e.then(t):t(),R=(e,t)=>{o.lifecycleDOMEvents&&De(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:q}})},lt=e=>o.hydratedClass?e.classList.add("hydrated"):o.hydratedAttribute?e.setAttribute("hydrated",""):void 0,ct=e=>{let t=e.children;if(t!=null)for(let s=0,n=t.length;s<n;s++){let a=t[s];typeof a.connectedCallback=="function"&&a.connectedCallback(),ct(a)}},ns=(e,t)=>M(e).$instanceValues$.get(t),os=(e,t,s,n)=>{let a=M(e),i=o.lazyLoad?a.$hostElement$:e,r=a.$instanceValues$.get(t),l=a.$flags$,c=o.lazyLoad?a.$lazyInstance$:i;s=qt(s,n.$members$[t][0]);let d=Number.isNaN(r)&&Number.isNaN(s),u=s!==r&&!d;if((!o.lazyLoad||!(l&8)||r===void 0)&&u&&(a.$instanceValues$.set(t,s),o.isDev&&(a.$flags$&1024?U(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,`
16
+ `);if(o.reflect&&n.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},n.$attrsToReflect$.map(([r,l])=>i.$attrs$[l]=s[r])),i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=a.$elm$=o.shadowDom&&s.shadowRoot||s,(o.scoped||o.shadowDom)&&(O=s["s-sc"]),o.slotRelocation&&(Je=s["s-cr"],Ze=F&&(n.$flags$&1)!==0,Q=!1),B(a,i),o.slotRelocation){if(p.$flags$|=1,ge){at(i.$elm$);let r,l,c,d,u,h,f=0;for(;f<b.length;f++)r=b[f],l=r.$nodeToRelocate$,l["s-ol"]||(c=o.isDebug||o.hydrateServerSide?Vt(l):m.createTextNode(""),c["s-nr"]=l,l.parentNode.insertBefore(l["s-ol"]=c,l));for(f=0;f<b.length;f++)if(r=b[f],l=r.$nodeToRelocate$,r.$slotRefNode$){for(d=r.$slotRefNode$.parentNode,u=r.$slotRefNode$.nextSibling,c=l["s-ol"];c=c.previousSibling;)if(h=c["s-nr"],h&&h["s-sn"]===l["s-sn"]&&d===h.parentNode&&(h=h.nextSibling,!h||!h["s-nr"])){u=h;break}(!u&&d!==l.parentNode||l.nextSibling!==u)&&l!==u&&(!l["s-hn"]&&l["s-ol"]&&(l["s-hn"]=l["s-ol"].parentNode.nodeName),d.insertBefore(l,u))}else l.nodeType===1&&(l.hidden=!0)}Q&&ot(i.$elm$),p.$flags$&=-2,b.length=0}},Zt=e=>m.createComment(`<slot${e.$name$?' name="'+e.$name$+'"':""}> (host=${_.toLowerCase()})`),Vt=e=>m.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`)),rt=(e,t)=>{o.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},Se=(e,t)=>{if(o.taskQueue&&o.updatable&&(e.$flags$|=16),o.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}rt(e,e.$ancestorComponent$);let s=()=>es(e,t);return o.taskQueue?ys(s):s()},es=(e,t)=>{let s=e.$hostElement$,n=C("scheduleUpdate",e.$cmpMeta$.$tagName$),a=o.lazyLoad?e.$lazyInstance$:s,i;return t?(o.lazyLoad&&o.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([r,l])=>S(a,r,l)),e.$queuedListeners$=null)),R(s,"componentWillLoad"),o.cmpWillLoad&&(i=S(a,"componentWillLoad"))):(R(s,"componentWillUpdate"),o.cmpWillUpdate&&(i=S(a,"componentWillUpdate"))),R(s,"componentWillRender"),o.cmpWillRender&&(i=je(i,()=>S(a,"componentWillRender"))),n(),je(i,()=>ts(e,a,t))},ts=async(e,t,s)=>{let n=e.$hostElement$,a=C("update",e.$cmpMeta$.$tagName$),i=n["s-rc"];o.style&&s&&Xt(e);let r=C("render",e.$cmpMeta$.$tagName$);if(o.isDev&&(e.$flags$|=1024),o.hydrateServerSide?await Ue(e,t,n):Ue(e,t,n),o.cssVarShim&&p.$cssShim$&&p.$cssShim$.updateHost(n),o.isDev&&(e.$renderCount$++,e.$flags$&=-1025),o.hydrateServerSide)try{ct(n),s&&(e.$cmpMeta$.$flags$&1?n["s-en"]="":e.$cmpMeta$.$flags$&2&&(n["s-en"]="c"))}catch(l){k(l,n)}if(o.asyncLoading&&i&&(i.map(l=>l()),n["s-rc"]=void 0),r(),a(),o.asyncLoading){let l=n["s-p"],c=()=>We(e);l.length===0?c():(Promise.all(l).then(c),e.$flags$|=4,l.length=0)}else We(e)},Ue=(e,t,s)=>{let n=!!o.allRenderFn,a=!!o.lazyLoad,i=!!o.taskQueue,r=!!o.updatable;try{if(Ee=t,t=(n||t.render)&&t.render(),r&&i&&(e.$flags$&=-17),(r||a)&&(e.$flags$|=2),o.hasRenderFn||o.reflect)if(o.vdomRender||o.reflect){if(o.hydrateServerSide)return Promise.resolve(t).then(l=>He(e,l));He(e,t)}else s.textContent=t}catch(l){k(l,e.$hostElement$)}return Ee=null,null};var We=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=C("postUpdate",t),a=o.lazyLoad?e.$lazyInstance$:s,i=e.$ancestorComponent$;o.cmpDidRender&&(o.isDev&&(e.$flags$|=1024),S(a,"componentDidRender"),o.isDev&&(e.$flags$&=-1025)),R(s,"componentDidRender"),e.$flags$&64?(o.cmpDidUpdate&&(o.isDev&&(e.$flags$|=1024),S(a,"componentDidUpdate"),o.isDev&&(e.$flags$&=-1025)),R(s,"componentDidUpdate"),n()):(e.$flags$|=64,o.asyncLoading&&o.cssAnnotations&&lt(s),o.cmpDidLoad&&(o.isDev&&(e.$flags$|=2048),S(a,"componentDidLoad"),o.isDev&&(e.$flags$&=-2049)),R(s,"componentDidLoad"),n(),o.asyncLoading&&(e.$onReadyResolve$(s),i||ss(t))),o.hotModuleReplacement&&s["s-hmr-load"]&&s["s-hmr-load"](),o.method&&o.lazyLoad&&e.$onInstanceResolve$(s),o.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&ee(()=>Se(e,!1)),e.$flags$&=-517)};var ss=e=>{o.cssAnnotations&&lt(m.documentElement),o.asyncQueue&&(p.$flags$|=2),ee(()=>ve(z,"appload",{detail:{namespace:q}})),o.profile&&performance.measure&&performance.measure(`[Stencil] ${q} initial load (by ${e})`,"st:app:start")},S=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){k(n)}},je=(e,t)=>e&&e.then?e.then(t):t(),R=(e,t)=>{o.lifecycleDOMEvents&&ve(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:q}})},lt=e=>o.hydratedClass?e.classList.add("hydrated"):o.hydratedAttribute?e.setAttribute("hydrated",""):void 0,ct=e=>{let t=e.children;if(t!=null)for(let s=0,n=t.length;s<n;s++){let a=t[s];typeof a.connectedCallback=="function"&&a.connectedCallback(),ct(a)}},ns=(e,t)=>M(e).$instanceValues$.get(t),os=(e,t,s,n)=>{let a=M(e),i=o.lazyLoad?a.$hostElement$:e,r=a.$instanceValues$.get(t),l=a.$flags$,c=o.lazyLoad?a.$lazyInstance$:i;s=qt(s,n.$members$[t][0]);let d=Number.isNaN(r)&&Number.isNaN(s),u=s!==r&&!d;if((!o.lazyLoad||!(l&8)||r===void 0)&&u&&(a.$instanceValues$.set(t,s),o.isDev&&(a.$flags$&1024?U(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,`
17
17
  Element`,i,`
18
18
  New value`,s,`
19
19
  Old value`,r):a.$flags$&2048&&U(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,`
20
20
  Element`,i,`
21
21
  New value`,s,`
22
22
  Old value`,r)),!o.lazyLoad||c)){if(o.watchCallback&&n.$watchers$&&l&128){let h=n.$watchers$[t];h&&h.map(f=>{try{c[f](s,r,t)}catch(g){k(g,i)}})}if(o.updatable&&(l&18)===2){if(o.cmpShouldUpdate&&c.componentShouldUpdate&&c.componentShouldUpdate(s,r,t)===!1)return;Se(a,!1)}}},dt=(e,t,s)=>{if(o.member&&t.$members$){o.watchCallback&&e.watchers&&(t.$watchers$=e.watchers);let n=Object.entries(t.$members$),a=e.prototype;if(n.map(([i,[r]])=>{(o.prop||o.state)&&(r&31||(!o.lazyLoad||s&2)&&r&32)?Object.defineProperty(a,i,{get(){return ns(this,i)},set(l){if(o.isDev){let c=M(this);(s&1)===0&&(c.$flags$&8)===0&&(r&31)!==0&&(r&1024)===0&&U(`@Prop() "${i}" on <${t.$tagName$}> is immutable but was modified from within the component.
23
- More information: https://stenciljs.com/docs/properties#prop-mutability`)}os(this,i,l,t)},configurable:!0,enumerable:!0}):o.lazyLoad&&o.method&&s&1&&r&64&&Object.defineProperty(a,i,{value(...l){let c=M(this);return c.$onInstancePromise$.then(()=>c.$lazyInstance$[i](...l))}})}),o.observeAttribute&&(!o.lazyLoad||s&1)){let i=new Map;a.attributeChangedCallback=function(r,l,c){p.jmp(()=>{let d=i.get(r);if(this.hasOwnProperty(d))c=this[d],delete this[d];else if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=n.filter(([r,l])=>l[0]&15).map(([r,l])=>{let c=l[1]||r;return i.set(c,r),o.reflect&&l[0]&512&&t.$attrsToReflect$.push([r,c]),c})}}return e},qe=async(e,t,s,n,a)=>{if((o.lazyLoad||o.hydrateServerSide||o.style)&&(t.$flags$&32)===0){if(o.lazyLoad||o.hydrateClientSide){if(t.$flags$|=32,a=hs(s,t,n),a.then){let c=Et(`st:load:${s.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${s.$tagName$}>`);a=await a,c()}if((o.isDev||o.isDebug)&&!a)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);o.member&&!a.isProxied&&(o.watchCallback&&(s.$watchers$=a.watchers),dt(a,s,2),a.isProxied=!0);let l=C("createInstance",s.$tagName$);o.member&&(t.$flags$|=8);try{new a(t)}catch(c){k(c)}o.member&&(t.$flags$&=-9),o.watchCallback&&(t.$flags$|=128),l(),ut(t.$lazyInstance$)}else a=e.constructor,t.$flags$|=32,customElements.whenDefined(s.$tagName$).then(()=>t.$flags$|=128);if(o.style&&a.style){let l=a.style;o.mode&&typeof l!="string"&&(l=l[t.$modeName$=jt(e)],o.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));let c=Ve(s,t.$modeName$);if(!Z.has(c)){let d=C("registerStyles",s.$tagName$);!o.hydrateServerSide&&o.shadowDom&&o.shadowDomShim&&s.$flags$&8&&(l=await import("./shadow-css.G7TZ65TM.js").then(u=>u.scopeCss(l,c,!1))),Qt(c,l,!!(s.$flags$&1)),d()}}}let i=t.$ancestorComponent$,r=()=>Se(t,!0);o.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(r):r()},ut=e=>{o.lazyLoad&&o.connectedCallback&&S(e,"connectedCallback")},as=e=>{if((p.$flags$&1)===0){let t=M(e),s=t.$cmpMeta$,n=C("connectedCallback",s.$tagName$);if(o.hostListenerTargetParent&&pe(e,t,s.$listeners$,!0),t.$flags$&1)pe(e,t,s.$listeners$,!1),ut(t.$lazyInstance$);else{t.$flags$|=1;let a;if(o.hydrateClientSide&&(a=e.getAttribute(de),a)){if(o.shadowDom&&z&&s.$flags$&1){let i=o.mode?$e(e.shadowRoot,s,e.getAttribute("s-mode")):$e(e.shadowRoot,s);e.classList.remove(i+"-h",i+"-s")}Wt(e,s.$tagName$,a,t)}if(o.slotRelocation&&!a&&(o.hydrateServerSide||(o.slot||o.shadowDom)&&s.$flags$&12)&&is(e),o.asyncLoading){let i=e;for(;i=i.parentNode||i.host;)if(o.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){rt(t,t.$ancestorComponent$=i);break}}o.prop&&!o.hydrateServerSide&&s.$members$&&Object.entries(s.$members$).map(([i,[r]])=>{if(r&31&&e.hasOwnProperty(i)){let l=e[i];delete e[i],e[i]=l}}),o.initializeNextTick?ee(()=>qe(e,t,s)):qe(e,t,s)}n()}},is=e=>{let t=e["s-cr"]=m.createComment(o.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},rs=e=>{if((p.$flags$&1)===0){let t=M(e),s=o.lazyLoad?t.$lazyInstance$:e;o.hostListener&&t.$rmListeners$&&(t.$rmListeners$.map(n=>n()),t.$rmListeners$=void 0),o.cssVarShim&&p.$cssShim$&&p.$cssShim$.removeHost(e),o.lazyLoad&&o.disconnectedCallback&&S(s,"disconnectedCallback"),o.cmpDidUnload&&S(s,"componentDidUnload")}};var ht=(e,t)=>{let s={$flags$:t[0],$tagName$:t[1]};o.member&&(s.$members$=t[2]),o.hostListener&&(s.$listeners$=t[3]),o.watchCallback&&(s.$watchers$=e.$watchers$),o.reflect&&(s.$attrsToReflect$=[]),o.shadowDom&&!z&&s.$flags$&1&&(s.$flags$|=8);let n=e.prototype.connectedCallback,a=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){us(this,s)},connectedCallback(){as(this),o.connectedCallback&&n&&n.call(this)},disconnectedCallback(){rs(this),o.disconnectedCallback&&a&&a.call(this)},__attachShadow(){z?o.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),e.is=s.$tagName$,dt(e,s,3)};var pe=(e,t,s,n)=>{o.hostListener&&s&&(o.hostListenerTargetParent&&(n?s=s.filter(([a])=>a&32):s=s.filter(([a])=>!(a&32))),s.map(([a,i,r])=>{let l=o.hostListenerTarget?cs(e,a):e,c=ls(t,r),d=ds(a);p.ael(l,i,c,d),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(l,i,c,d))}))},ls=(e,t)=>s=>{try{o.lazyLoad?e.$flags$&256?e.$lazyInstance$[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s]):e.$hostElement$[t](s)}catch(n){k(n)}},cs=(e,t)=>o.hostListenerTargetDocument&&t&4?m:o.hostListenerTargetWindow&&t&8?F:o.hostListenerTargetBody&&t&16?m.body:o.hostListenerTargetParent&&t&32?e.parentElement:e,ds=e=>$s?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var ft=new WeakMap,M=e=>ft.get(e);var us=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return o.isDev&&(s.$renderCount$=0),o.method&&o.lazyLoad&&(s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n)),o.asyncLoading&&(s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[]),pe(e,s,t.$listeners$,!1),ft.set(e,s)},Ke=(e,t)=>t in e,k=(e,t)=>(Nt||console.error)(e,t),$t=o.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],J=(...e)=>console.error(...$t,...e),U=(...e)=>console.warn(...$t,...e);var Qe=new Map,hs=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$;if(o.isDev&&typeof a!="string"){J(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);return}let i=o.hotModuleReplacement?!1:Qe.get(a);if(i)return i[n];return Mt(`./${a}.entry.js${o.hotModuleReplacement&&s?"?s-hmr="+s:""}`).then(r=>(o.hotModuleReplacement||Qe.set(a,r),r[n]),k)},Z=new Map,fs=[],F=typeof window!="undefined"?window:{},As=o.cssVarShim?F.CSS:null,m=F.document||{head:{}},pt=F.HTMLElement||class{},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)};var z=o.shadowDomShim&&o.shadowDom?(m.head.attachShadow+"").indexOf("[native")>-1:!0,$s=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),ps=e=>Promise.resolve(e),gs=o.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})():!1,le=[],T=[],ce=[],ms=(e,t)=>s=>{e.push(s),X||(X=!0,t&&p.$flags$&4?ee(V):p.raf(V))},Xe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){k(s)}e.length=0},Ge=(e,t)=>{let s=0,n=0;for(;s<e.length&&(n=performance.now())<t;)try{e[s++](n)}catch(a){k(a)}s===e.length?e.length=0:s!==0&&e.splice(0,s)},V=()=>{if(o.asyncQueue&&re++,Xe(le),o.asyncQueue){let e=(p.$flags$&6)===2?performance.now()+14*Math.ceil(re*.1):1/0;Ge(T,e),Ge(ce,e),T.length>0&&(ce.push(...T),T.length=0),(X=le.length+T.length+ce.length>0)?p.raf(V):re=0}else Xe(T),(X=le.length>0)&&p.raf(V)},ee=e=>ps().then(e);var ys=ms(T,!0);function te(e,t){let s=new Date(e);return s.setDate(s.getDate()+t),s}function vs(e,t,s){let n=[],a=we(e),i=a.getDay()===0?7:a.getDay(),r=se(e),l=r.getDay()===0?7:r.getDay(),c=s===1?7:s-1,d=[],u=[];if(t){let g=(7-s+i)%7,D=oe(a);for(;g>0;)d.push(D),D=oe(D),g-=1;d.reverse();let E=(7-l+c)%7,I=W(r);for(;E>0;)u.push(I),I=W(I),E-=1}let h=a;for(;h.getMonth()===e.getMonth();)n.push(h),h=W(h);return[...d,...n,...u]}function we(e){return A(new Date(`${String(St(e)).padStart(4,"0")}-${String(bt(e)).padStart(2,"0")}-01`))}function N(e){if(e instanceof Date)return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function se(e){let t=we(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t}function bt(e){return e.getMonth()+1}function Ds(e){return new Array(12).fill(void 0).map((t,s)=>{let n=A(new Date(`2006-${String(s+1).padStart(2,"0")}-01`));return Intl.DateTimeFormat(e,{month:"long"}).format(n)})}function W(e){return te(e,1)}function gt(e){let t=new Date(e);return t.setDate(1),t.setMonth(t.getMonth()+1),t}function mt(e){let t=new Date(e);return t.setFullYear(t.getFullYear()+1),t}function oe(e){return ne(e,1)}function yt(e){let t=new Date(e);return t.setDate(1),t.setMonth(t.getMonth()-1),t}function vt(e){let t=new Date(e);return t.setFullYear(t.getFullYear()-1),t}function bs(e,t){return new Array(7).fill(void 0).map((s,n)=>(e+n)%7+1).map(s=>{let n=A(new Date(`2006-01-0${s}`));return[Intl.DateTimeFormat(t,{weekday:"short"}).format(n).slice(0,3),Intl.DateTimeFormat(t,{weekday:"long"}).format(n)]})}function St(e){return e.getFullYear()}function Dt(e,t){if(!e||!t||!t.from||!t.to)return!1;let s=t.from<t.to?t.from:t.to,n=t.from<t.to?t.to:t.from;return e>=s&&e<=n}function x(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function A(e){let t=new Date(e);return t.setMinutes(t.getMinutes()+t.getTimezoneOffset()),t}function ne(e,t){let s=new Date(e);return s.setDate(s.getDate()-t),s}var Ss=".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}",ws={clearButton:"Clear value",monthSelect:"Select month",nextMonthButton:"Next month",nextYearButton:"Next year",picker:"Choose date",previousMonthButton:"Previous month",previousYearButton:"Previous year",todayButton:"Show today",yearSelect:"Select year"},Cs=ht(class extends pt{constructor(){super(),this.__registerHost(),this.selectDate=ve(this,"selectDate",7),this.changeMonth=ve(this,"changeMonth",7),this.disabled=!1,this.disableDate=()=>!1,this.elementClassName="wc-datepicker",this.firstDayOfWeek=0,this.labels=ws,this.locale=(navigator==null?void 0:navigator.language)||"en-US",this.showClearButton=!1,this.showMonthStepper=!0,this.showTodayButton=!1,this.showYearStepper=!1,this.startDate=N(new Date),this.maxSearchDays=365,this.goToRangeStartOnSelect=!0,this.init=()=>{this.currentDate=this.startDate?A(new Date(this.startDate)):new Date,this.updateWeekdays()},this.getAvailableDate=(e,t)=>{let s,n=!1;switch(t){case"previousDay":s=oe(e);break;case"nextDay":s=W(e);break;case"previousSameWeekDay":s=ne(e,7);break;case"nextSameWeekDay":s=te(e,7);break;case"firstOfMonth":s=we(e);break;case"lastOfMonth":s=se(e);break;case"previousMonth":s=yt(e);break;case"nextMonth":s=gt(e);break;case"previousYear":s=vt(e);break;case"nextYear":s=mt(e);break}for(;this.disableDate(s)&&!n;){switch(t){case"previousDay":case"lastOfMonth":s=oe(s);break;case"nextDay":case"firstOfMonth":case"previousMonth":case"nextMonth":case"previousYear":case"nextYear":s=W(s);break;case"previousSameWeekDay":s=ne(s,7);break;case"nextSameWeekDay":s=te(s,7);break}switch(t){case"firstOfMonth":case"lastOfMonth":case"previousYear":case"nextYear":n=s.getMonth()!==e.getMonth();break;case"previousMonth":n=s.getMonth()!==e.getMonth()-1;break;case"nextMonth":n=s.getMonth()!==e.getMonth()+1;break;default:n=!Dt(s,{from:ne(e,this.maxSearchDays),to:te(e,this.maxSearchDays)});break}}return n?e:s},this.nextMonth=()=>{this.updateCurrentDate(gt(this.currentDate))},this.nextYear=()=>{this.updateCurrentDate(mt(this.currentDate))},this.previousMonth=()=>{this.updateCurrentDate(yt(this.currentDate))},this.previousYear=()=>{this.updateCurrentDate(vt(this.currentDate))},this.showToday=()=>{this.updateCurrentDate(new Date)},this.clear=()=>{this.value=void 0,this.selectDate.emit(void 0)},this.onClick=e=>{if(this.disabled)return;let t=e.target.closest("[data-date]");if(!t)return;let s=A(new Date(t.dataset.date));this.updateCurrentDate(s),this.onSelectDate(s)},this.onMonthSelect=e=>{let t=+e.target.value-1,s=this.currentDate.getDate(),n=new Date(this.currentDate.getFullYear(),t,1),a=se(n).getDate(),i=Math.min(s,a),r=new Date(this.currentDate.getFullYear(),t,i);this.updateCurrentDate(r)},this.onYearSelect=e=>{let t=+e.target.value,s=e.target;isNaN(t)?(t=new Date().getFullYear(),s.value=String(t)):t<0?(t=0,s.value=String(t)):t>9999&&(t=9999,s.value=String(t));let n=this.currentDate.getDate(),a=this.currentDate.getMonth(),i=new Date;i.setFullYear(t,a,1);let r=se(i).getDate(),l=Math.min(n,r),c=new Date;c.setFullYear(t,a,l),this.updateCurrentDate(c)},this.onKeyDown=e=>{this.disabled||(e.code==="ArrowLeft"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousDay"),!0)):e.code==="ArrowRight"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextDay"),!0)):e.code==="ArrowUp"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousSameWeekDay"),!0)):e.code==="ArrowDown"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextSameWeekDay"),!0)):e.code==="PageUp"?(e.preventDefault(),e.shiftKey?this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousYear"),!0):this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousMonth"),!0)):e.code==="PageDown"?(e.preventDefault(),e.shiftKey?this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextYear"),!0):this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextMonth"),!0)):e.code==="Home"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"firstOfMonth"),!0)):e.code==="End"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"lastOfMonth"),!0)):(e.code==="Space"||e.code==="Enter")&&(e.preventDefault(),this.onSelectDate(this.currentDate)))},this.onMouseEnter=e=>{if(this.disabled)return;let t=A(new Date(e.target.closest("td").dataset.date));this.hoveredDate=t},this.onMouseLeave=()=>{this.hoveredDate=void 0}}componentWillLoad(){this.init()}watchFirstDayOfWeek(){this.updateWeekdays()}watchLocale(){this.locale||(this.locale=(navigator==null?void 0:navigator.language)||"en-US"),this.updateWeekdays()}watchRange(){this.value=void 0,this.selectDate.emit(void 0)}watchStartDate(){this.currentDate=this.startDate?A(new Date(this.startDate)):new Date}watchValue(){this.value&&(Array.isArray(this.value)?this.currentDate=this.value.length>1&&!this.goToRangeStartOnSelect?this.value[1]:this.value[0]:this.value instanceof Date&&(this.currentDate=this.value))}componentDidRender(){this.moveFocusAfterMonthChanged&&(this.focusDate(this.currentDate),this.moveFocusAfterMonthChanged=!1)}updateWeekdays(){this.weekdays=bs(this.firstDayOfWeek===0?7:this.firstDayOfWeek,this.locale)}getClassName(e){return e?`${this.elementClassName}__${e}`:this.elementClassName}getCalendarRows(){let e=vs(this.currentDate,!0,this.firstDayOfWeek===0?7:this.firstDayOfWeek),t=[];for(let s=0;s<e.length;s+=7){let n=e.slice(s,s+7);t.push(n)}return t}getTitle(){if(this.value)if(this.isRangeValue(this.value)){let e=Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value[0]),t=this.value[1]?Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value[1]):void 0;return t?`${e} - ${t}`:e}else return Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value)}focusDate(e){var t;(t=this.el.querySelector(`[data-date="${N(e)}"]`))===null||t===void 0||t.focus()}updateCurrentDate(e,t){let s=e.getMonth(),n=e.getFullYear();if(n>9999||n<0)return;(s!==this.currentDate.getMonth()||n!==this.currentDate.getFullYear())&&(this.changeMonth.emit({month:bt(e),year:St(e),day:e.getDate()}),t&&(this.moveFocusAfterMonthChanged=!0)),this.currentDate=e,t&&this.focusDate(this.currentDate)}onSelectDate(e){var t,s;if(!this.disableDate(e))if(this.isRangeValue(this.value)){let n=((t=this.value)===null||t===void 0?void 0:t[0])===void 0||this.value.length===2?[e]:[this.value[0],e];n.length===2&&n[0]>n[1]&&n.reverse();let a=n[1]===void 0?[N(n[0])]:[N(n[0]),N(n[1])];this.value=n,this.selectDate.emit(a)}else{if(((s=this.value)===null||s===void 0?void 0:s.getTime())===e.getTime())return;this.value=e,this.selectDate.emit(N(e))}}isRangeValue(e){return this.range}render(){let e=this.showTodayButton||this.showClearButton;return $(ye,null,$("div",{"aria-disabled":String(this.disabled),"aria-label":this.labels.picker,class:{[this.getClassName()]:!0,[`${this.getClassName()}--disabled`]:this.disabled},role:"group"},$("div",{class:this.getClassName("header")},$("span",{"aria-atomic":"true","aria-live":"polite",class:"visually-hidden"},this.getTitle()),this.showYearStepper&&$("button",{"aria-label":this.labels.previousYearButton,class:this.getClassName("previous-year-button"),disabled:this.disabled,innerHTML:this.previousYearButtonContent||void 0,onClick:this.previousYear,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"11 17 6 12 11 7"}),$("polyline",{points:"18 17 13 12 18 7"}))),this.showMonthStepper&&$("button",{"aria-label":this.labels.previousMonthButton,class:this.getClassName("previous-month-button"),disabled:this.disabled,innerHTML:this.previousMonthButtonContent||void 0,onClick:this.previousMonth,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"15 18 9 12 15 6"}))),$("span",{class:this.getClassName("current-month")},$("select",{title:this.labels.monthSelect,"aria-label":this.labels.monthSelect,class:this.getClassName("month-select"),disabled:this.disabled,name:"month",onChange:this.onMonthSelect},Ds(this.locale).map((t,s)=>$("option",{key:t,selected:this.currentDate.getMonth()===s,value:s+1},t))),$("input",{title:this.labels.yearSelect,"aria-label":this.labels.yearSelect,class:this.getClassName("year-select"),disabled:this.disabled,max:9999,maxLength:4,min:1,name:"year",onChange:this.onYearSelect,type:"number",value:this.currentDate.getFullYear()})),this.showMonthStepper&&$("button",{"aria-label":this.labels.nextMonthButton,class:this.getClassName("next-month-button"),disabled:this.disabled,innerHTML:this.nextMonthButtonContent||void 0,onClick:this.nextMonth,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"9 18 15 12 9 6"}))),this.showYearStepper&&$("button",{"aria-label":this.labels.nextYearButton,class:this.getClassName("next-year-button"),disabled:this.disabled,innerHTML:this.nextYearButtonContent||void 0,onClick:this.nextYear,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"13 17 18 12 13 7"}),$("polyline",{points:"6 17 11 12 6 7"})))),$("div",{class:this.getClassName("body")},$("table",{class:this.getClassName("calendar"),onKeyDown:this.onKeyDown,role:"grid"},$("thead",{class:this.getClassName("calendar-header")},$("tr",{class:this.getClassName("weekday-row")},this.weekdays.map(t=>$("th",{"aria-label":t[1],abbr:t[1],class:this.getClassName("weekday"),key:t[0],scope:"col"},$("span",null,t[0]))))),$("tbody",null,this.getCalendarRows().map(t=>{let s=`row-${t[0].getMonth()}-${t[0].getDate()}`;return $("tr",{class:this.getClassName("calendar-row"),key:s},t.map(n=>{var a,i,r,l,c;let d=x(n,this.currentDate),u=n.getMonth()!==this.currentDate.getMonth(),h=Array.isArray(this.value)?x(n,this.value[0])||x(n,this.value[1]):x(n,this.value),f=this.isRangeValue?Dt(n,{from:(a=this.value)===null||a===void 0?void 0:a[0],to:((i=this.value)===null||i===void 0?void 0:i[1])||this.hoveredDate||this.currentDate}):!1,g=!((r=this.value)===null||r===void 0)&&r[0]?[(l=this.value)===null||l===void 0?void 0:l[0],((c=this.value)===null||c===void 0?void 0:c[1])||this.hoveredDate].sort((Lt,Tt)=>Lt-Tt):[],D=this.range&&x(g[0],n),L=this.range&&x(g[1],n),E=x(n,new Date),I=this.disableDate(n),Ct=`cell-${n.getMonth()}-${n.getDate()}`,kt={[this.getClassName("date")]:!0,[this.getClassName("date--current")]:d,[this.getClassName("date--disabled")]:I,[this.getClassName("date--overflowing")]:u,[this.getClassName("date--today")]:E,[this.getClassName("date--selected")]:h,[this.getClassName("date--in-range")]:f,[this.getClassName("date--start")]:D,[this.getClassName("date--end")]:L},xt=h?"strong":E?"em":"span";return $("td",{"aria-disabled":String(I),"aria-selected":h?"true":void 0,"aria-current":E?"date":h?"true":void 0,class:kt,"data-date":N(n),key:Ct,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"gridcell",tabIndex:x(n,this.currentDate)&&!this.disabled?0:-1},$(xt,{"aria-hidden":"true"},n.getDate()),$("span",{class:"visually-hidden"},Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(n)))}))})))),e&&$("div",{class:this.getClassName("footer")},this.showTodayButton&&$("button",{class:this.getClassName("today-button"),disabled:this.disabled,innerHTML:this.todayButtonContent||void 0,onClick:this.showToday,type:"button"},this.labels.todayButton),this.showClearButton&&$("button",{class:this.getClassName("clear-button"),disabled:this.disabled,innerHTML:this.clearButtonContent||void 0,onClick:this.clear,type:"button"},this.labels.clearButton))))}get el(){return this}static get watchers(){return{firstDayOfWeek:["watchFirstDayOfWeek"],locale:["watchLocale"],range:["watchRange"],startDate:["watchStartDate"],value:["watchValue"]}}static get style(){return Ss}},[2,"wc-datepicker",{clearButtonContent:[1,"clear-button-content"],disabled:[4],disableDate:[16],elementClassName:[1,"element-class-name"],firstDayOfWeek:[2,"first-day-of-week"],range:[4],labels:[16],locale:[1],nextMonthButtonContent:[1,"next-month-button-content"],nextYearButtonContent:[1,"next-year-button-content"],previousMonthButtonContent:[1,"previous-month-button-content"],previousYearButtonContent:[1,"previous-year-button-content"],showClearButton:[4,"show-clear-button"],showMonthStepper:[4,"show-month-stepper"],showTodayButton:[4,"show-today-button"],showYearStepper:[4,"show-year-stepper"],startDate:[1,"start-date"],todayButtonContent:[1,"today-button-content"],value:[1040],maxSearchDays:[2,"max-search-days"],goToRangeStartOnSelect:[4,"go-to-range-start-on-select"],currentDate:[32],hoveredDate:[32],weekdays:[32]}]);var wt=Cs;customElements.define("dsa-internal-calendar",wt);var ks=1,v=class extends Me{constructor(){super(...arguments);this.localize=new Ne(this);this.value="";this.startDate=ie(new Date);this.range=!1}firstUpdated(){this.disableDate!==void 0&&(this.calendar.disableDate=this.disableDate),this.updateCalendarValue()}updateCalendarValue(){let s=this.parsedDateValue;this.calendar.value=s.length>1?s:s[0]}get parsedDateValue(){return this.value===""?[]:this.value.split(",").filter(s=>s!=="").map(s=>j(s))}handleDateSelection(s){let{detail:n}=s;if(n===void 0)return;let a=Array.isArray(n)?n.map(i=>j(i)):[j(n)];this.emit("dsa-date-selected",{detail:{dates:a}})}handleMonthSelection(s){let{month:n,year:a}=s.detail;this.emit("dsa-month-year-selected",{detail:{month:n,year:a}})}getLabels(){return{clearButton:this.localize.term("clearButton"),monthSelect:this.localize.term("monthSelect"),nextMonthButton:this.localize.term("nextMonthButton"),nextYearButton:this.localize.term("nextYearButton"),picker:this.localize.term(this.range?"pickerRange":"picker"),previousMonthButton:this.localize.term("previousMonthButton"),previousYearButton:this.localize.term("previousYearButton"),todayButton:this.localize.term("todayButton"),yearSelect:this.localize.term("yearSelect")}}handleDisableDateChange(){this.disableDate!==void 0&&(this.calendar.disableDate=this.disableDate)}handleValueChange(){if(this.value===""){this.calendar.value=void 0;return}this.updateCalendarValue()}render(){return ke`
23
+ More information: https://stenciljs.com/docs/properties#prop-mutability`)}os(this,i,l,t)},configurable:!0,enumerable:!0}):o.lazyLoad&&o.method&&s&1&&r&64&&Object.defineProperty(a,i,{value(...l){let c=M(this);return c.$onInstancePromise$.then(()=>c.$lazyInstance$[i](...l))}})}),o.observeAttribute&&(!o.lazyLoad||s&1)){let i=new Map;a.attributeChangedCallback=function(r,l,c){p.jmp(()=>{let d=i.get(r);if(this.hasOwnProperty(d))c=this[d],delete this[d];else if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=n.filter(([r,l])=>l[0]&15).map(([r,l])=>{let c=l[1]||r;return i.set(c,r),o.reflect&&l[0]&512&&t.$attrsToReflect$.push([r,c]),c})}}return e},qe=async(e,t,s,n,a)=>{if((o.lazyLoad||o.hydrateServerSide||o.style)&&(t.$flags$&32)===0){if(o.lazyLoad||o.hydrateClientSide){if(t.$flags$|=32,a=hs(s,t,n),a.then){let c=Et(`st:load:${s.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${s.$tagName$}>`);a=await a,c()}if((o.isDev||o.isDebug)&&!a)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);o.member&&!a.isProxied&&(o.watchCallback&&(s.$watchers$=a.watchers),dt(a,s,2),a.isProxied=!0);let l=C("createInstance",s.$tagName$);o.member&&(t.$flags$|=8);try{new a(t)}catch(c){k(c)}o.member&&(t.$flags$&=-9),o.watchCallback&&(t.$flags$|=128),l(),ut(t.$lazyInstance$)}else a=e.constructor,t.$flags$|=32,customElements.whenDefined(s.$tagName$).then(()=>t.$flags$|=128);if(o.style&&a.style){let l=a.style;o.mode&&typeof l!="string"&&(l=l[t.$modeName$=jt(e)],o.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));let c=Ve(s,t.$modeName$);if(!Z.has(c)){let d=C("registerStyles",s.$tagName$);!o.hydrateServerSide&&o.shadowDom&&o.shadowDomShim&&s.$flags$&8&&(l=await import("./shadow-css.G7TZ65TM.js").then(u=>u.scopeCss(l,c,!1))),Qt(c,l,!!(s.$flags$&1)),d()}}}let i=t.$ancestorComponent$,r=()=>Se(t,!0);o.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(r):r()},ut=e=>{o.lazyLoad&&o.connectedCallback&&S(e,"connectedCallback")},as=e=>{if((p.$flags$&1)===0){let t=M(e),s=t.$cmpMeta$,n=C("connectedCallback",s.$tagName$);if(o.hostListenerTargetParent&&pe(e,t,s.$listeners$,!0),t.$flags$&1)pe(e,t,s.$listeners$,!1),ut(t.$lazyInstance$);else{t.$flags$|=1;let a;if(o.hydrateClientSide&&(a=e.getAttribute(de),a)){if(o.shadowDom&&F&&s.$flags$&1){let i=o.mode?$e(e.shadowRoot,s,e.getAttribute("s-mode")):$e(e.shadowRoot,s);e.classList.remove(i+"-h",i+"-s")}Wt(e,s.$tagName$,a,t)}if(o.slotRelocation&&!a&&(o.hydrateServerSide||(o.slot||o.shadowDom)&&s.$flags$&12)&&is(e),o.asyncLoading){let i=e;for(;i=i.parentNode||i.host;)if(o.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){rt(t,t.$ancestorComponent$=i);break}}o.prop&&!o.hydrateServerSide&&s.$members$&&Object.entries(s.$members$).map(([i,[r]])=>{if(r&31&&e.hasOwnProperty(i)){let l=e[i];delete e[i],e[i]=l}}),o.initializeNextTick?ee(()=>qe(e,t,s)):qe(e,t,s)}n()}},is=e=>{let t=e["s-cr"]=m.createComment(o.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},rs=e=>{if((p.$flags$&1)===0){let t=M(e),s=o.lazyLoad?t.$lazyInstance$:e;o.hostListener&&t.$rmListeners$&&(t.$rmListeners$.map(n=>n()),t.$rmListeners$=void 0),o.cssVarShim&&p.$cssShim$&&p.$cssShim$.removeHost(e),o.lazyLoad&&o.disconnectedCallback&&S(s,"disconnectedCallback"),o.cmpDidUnload&&S(s,"componentDidUnload")}};var ht=(e,t)=>{let s={$flags$:t[0],$tagName$:t[1]};o.member&&(s.$members$=t[2]),o.hostListener&&(s.$listeners$=t[3]),o.watchCallback&&(s.$watchers$=e.$watchers$),o.reflect&&(s.$attrsToReflect$=[]),o.shadowDom&&!F&&s.$flags$&1&&(s.$flags$|=8);let n=e.prototype.connectedCallback,a=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){us(this,s)},connectedCallback(){as(this),o.connectedCallback&&n&&n.call(this)},disconnectedCallback(){rs(this),o.disconnectedCallback&&a&&a.call(this)},__attachShadow(){F?o.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),e.is=s.$tagName$,dt(e,s,3)};var pe=(e,t,s,n)=>{o.hostListener&&s&&(o.hostListenerTargetParent&&(n?s=s.filter(([a])=>a&32):s=s.filter(([a])=>!(a&32))),s.map(([a,i,r])=>{let l=o.hostListenerTarget?cs(e,a):e,c=ls(t,r),d=ds(a);p.ael(l,i,c,d),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(l,i,c,d))}))},ls=(e,t)=>s=>{try{o.lazyLoad?e.$flags$&256?e.$lazyInstance$[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s]):e.$hostElement$[t](s)}catch(n){k(n)}},cs=(e,t)=>o.hostListenerTargetDocument&&t&4?m:o.hostListenerTargetWindow&&t&8?z:o.hostListenerTargetBody&&t&16?m.body:o.hostListenerTargetParent&&t&32?e.parentElement:e,ds=e=>$s?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var ft=new WeakMap,M=e=>ft.get(e);var us=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return o.isDev&&(s.$renderCount$=0),o.method&&o.lazyLoad&&(s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n)),o.asyncLoading&&(s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[]),pe(e,s,t.$listeners$,!1),ft.set(e,s)},Ke=(e,t)=>t in e,k=(e,t)=>(Nt||console.error)(e,t),$t=o.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],J=(...e)=>console.error(...$t,...e),U=(...e)=>console.warn(...$t,...e);var Qe=new Map,hs=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$;if(o.isDev&&typeof a!="string"){J(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);return}let i=o.hotModuleReplacement?!1:Qe.get(a);if(i)return i[n];return Mt(`./${a}.entry.js${o.hotModuleReplacement&&s?"?s-hmr="+s:""}`).then(r=>(o.hotModuleReplacement||Qe.set(a,r),r[n]),k)},Z=new Map,fs=[],z=typeof window!="undefined"?window:{},As=o.cssVarShim?z.CSS:null,m=z.document||{head:{}},pt=z.HTMLElement||class{},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)};var F=o.shadowDomShim&&o.shadowDom?(m.head.attachShadow+"").indexOf("[native")>-1:!0,$s=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),ps=e=>Promise.resolve(e),gs=o.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})():!1,le=[],T=[],ce=[],ms=(e,t)=>s=>{e.push(s),X||(X=!0,t&&p.$flags$&4?ee(V):p.raf(V))},Xe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){k(s)}e.length=0},Ge=(e,t)=>{let s=0,n=0;for(;s<e.length&&(n=performance.now())<t;)try{e[s++](n)}catch(a){k(a)}s===e.length?e.length=0:s!==0&&e.splice(0,s)},V=()=>{if(o.asyncQueue&&re++,Xe(le),o.asyncQueue){let e=(p.$flags$&6)===2?performance.now()+14*Math.ceil(re*.1):1/0;Ge(T,e),Ge(ce,e),T.length>0&&(ce.push(...T),T.length=0),(X=le.length+T.length+ce.length>0)?p.raf(V):re=0}else Xe(T),(X=le.length>0)&&p.raf(V)},ee=e=>ps().then(e);var ys=ms(T,!0);function te(e,t){let s=new Date(e);return s.setDate(s.getDate()+t),s}function Ds(e,t,s){let n=[],a=we(e),i=a.getDay()===0?7:a.getDay(),r=se(e),l=r.getDay()===0?7:r.getDay(),c=s===1?7:s-1,d=[],u=[];if(t){let g=(7-s+i)%7,v=oe(a);for(;g>0;)d.push(v),v=oe(v),g-=1;d.reverse();let E=(7-l+c)%7,I=W(r);for(;E>0;)u.push(I),I=W(I),E-=1}let h=a;for(;h.getMonth()===e.getMonth();)n.push(h),h=W(h);return[...d,...n,...u]}function we(e){return A(new Date(`${String(St(e)).padStart(4,"0")}-${String(bt(e)).padStart(2,"0")}-01`))}function N(e){if(e instanceof Date)return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function se(e){let t=we(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t}function bt(e){return e.getMonth()+1}function vs(e){return new Array(12).fill(void 0).map((t,s)=>{let n=A(new Date(`2006-${String(s+1).padStart(2,"0")}-01`));return Intl.DateTimeFormat(e,{month:"long"}).format(n)})}function W(e){return te(e,1)}function gt(e){let t=new Date(e);return t.setDate(1),t.setMonth(t.getMonth()+1),t}function mt(e){let t=new Date(e);return t.setFullYear(t.getFullYear()+1),t}function oe(e){return ne(e,1)}function yt(e){let t=new Date(e);return t.setDate(1),t.setMonth(t.getMonth()-1),t}function Dt(e){let t=new Date(e);return t.setFullYear(t.getFullYear()-1),t}function bs(e,t){return new Array(7).fill(void 0).map((s,n)=>(e+n)%7+1).map(s=>{let n=A(new Date(`2006-01-0${s}`));return[Intl.DateTimeFormat(t,{weekday:"short"}).format(n).slice(0,3),Intl.DateTimeFormat(t,{weekday:"long"}).format(n)]})}function St(e){return e.getFullYear()}function vt(e,t){if(!e||!t||!t.from||!t.to)return!1;let s=t.from<t.to?t.from:t.to,n=t.from<t.to?t.to:t.from;return e>=s&&e<=n}function x(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function A(e){let t=new Date(e);return t.setMinutes(t.getMinutes()+t.getTimezoneOffset()),t}function ne(e,t){let s=new Date(e);return s.setDate(s.getDate()-t),s}var Ss=".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}",ws={clearButton:"Clear value",monthSelect:"Select month",nextMonthButton:"Next month",nextYearButton:"Next year",picker:"Choose date",previousMonthButton:"Previous month",previousYearButton:"Previous year",todayButton:"Show today",yearSelect:"Select year"},Cs=ht(class extends pt{constructor(){super(),this.__registerHost(),this.selectDate=De(this,"selectDate",7),this.changeMonth=De(this,"changeMonth",7),this.disabled=!1,this.disableDate=()=>!1,this.elementClassName="wc-datepicker",this.firstDayOfWeek=0,this.labels=ws,this.locale=(navigator==null?void 0:navigator.language)||"en-US",this.showClearButton=!1,this.showMonthStepper=!0,this.showTodayButton=!1,this.showYearStepper=!1,this.startDate=N(new Date),this.maxSearchDays=365,this.goToRangeStartOnSelect=!0,this.init=()=>{this.currentDate=this.startDate?A(new Date(this.startDate)):new Date,this.updateWeekdays()},this.getAvailableDate=(e,t)=>{let s,n=!1;switch(t){case"previousDay":s=oe(e);break;case"nextDay":s=W(e);break;case"previousSameWeekDay":s=ne(e,7);break;case"nextSameWeekDay":s=te(e,7);break;case"firstOfMonth":s=we(e);break;case"lastOfMonth":s=se(e);break;case"previousMonth":s=yt(e);break;case"nextMonth":s=gt(e);break;case"previousYear":s=Dt(e);break;case"nextYear":s=mt(e);break}for(;this.disableDate(s)&&!n;){switch(t){case"previousDay":case"lastOfMonth":s=oe(s);break;case"nextDay":case"firstOfMonth":case"previousMonth":case"nextMonth":case"previousYear":case"nextYear":s=W(s);break;case"previousSameWeekDay":s=ne(s,7);break;case"nextSameWeekDay":s=te(s,7);break}switch(t){case"firstOfMonth":case"lastOfMonth":case"previousYear":case"nextYear":n=s.getMonth()!==e.getMonth();break;case"previousMonth":n=s.getMonth()!==e.getMonth()-1;break;case"nextMonth":n=s.getMonth()!==e.getMonth()+1;break;default:n=!vt(s,{from:ne(e,this.maxSearchDays),to:te(e,this.maxSearchDays)});break}}return n?e:s},this.nextMonth=()=>{this.updateCurrentDate(gt(this.currentDate))},this.nextYear=()=>{this.updateCurrentDate(mt(this.currentDate))},this.previousMonth=()=>{this.updateCurrentDate(yt(this.currentDate))},this.previousYear=()=>{this.updateCurrentDate(Dt(this.currentDate))},this.showToday=()=>{this.updateCurrentDate(new Date)},this.clear=()=>{this.value=void 0,this.selectDate.emit(void 0)},this.onClick=e=>{if(this.disabled)return;let t=e.target.closest("[data-date]");if(!t)return;let s=A(new Date(t.dataset.date));this.updateCurrentDate(s),this.onSelectDate(s)},this.onMonthSelect=e=>{let t=+e.target.value-1,s=this.currentDate.getDate(),n=new Date(this.currentDate.getFullYear(),t,1),a=se(n).getDate(),i=Math.min(s,a),r=new Date(this.currentDate.getFullYear(),t,i);this.updateCurrentDate(r)},this.onYearSelect=e=>{let t=+e.target.value,s=e.target;isNaN(t)?(t=new Date().getFullYear(),s.value=String(t)):t<0?(t=0,s.value=String(t)):t>9999&&(t=9999,s.value=String(t));let n=this.currentDate.getDate(),a=this.currentDate.getMonth(),i=new Date;i.setFullYear(t,a,1);let r=se(i).getDate(),l=Math.min(n,r),c=new Date;c.setFullYear(t,a,l),this.updateCurrentDate(c)},this.onKeyDown=e=>{this.disabled||(e.code==="ArrowLeft"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousDay"),!0)):e.code==="ArrowRight"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextDay"),!0)):e.code==="ArrowUp"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousSameWeekDay"),!0)):e.code==="ArrowDown"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextSameWeekDay"),!0)):e.code==="PageUp"?(e.preventDefault(),e.shiftKey?this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousYear"),!0):this.updateCurrentDate(this.getAvailableDate(this.currentDate,"previousMonth"),!0)):e.code==="PageDown"?(e.preventDefault(),e.shiftKey?this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextYear"),!0):this.updateCurrentDate(this.getAvailableDate(this.currentDate,"nextMonth"),!0)):e.code==="Home"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"firstOfMonth"),!0)):e.code==="End"?(e.preventDefault(),this.updateCurrentDate(this.getAvailableDate(this.currentDate,"lastOfMonth"),!0)):(e.code==="Space"||e.code==="Enter")&&(e.preventDefault(),this.onSelectDate(this.currentDate)))},this.onMouseEnter=e=>{if(this.disabled)return;let t=A(new Date(e.target.closest("td").dataset.date));this.hoveredDate=t},this.onMouseLeave=()=>{this.hoveredDate=void 0},this.onFocus=e=>{let t=new Date(e.target.dataset.date);x(t,this.currentDate)||this.updateCurrentDate(t)}}componentWillLoad(){this.init()}watchFirstDayOfWeek(){this.updateWeekdays()}watchLocale(){this.locale||(this.locale=(navigator==null?void 0:navigator.language)||"en-US"),this.updateWeekdays()}watchRange(){this.value=void 0,this.selectDate.emit(void 0)}watchStartDate(){this.currentDate=this.startDate?A(new Date(this.startDate)):new Date}watchValue(){this.value&&(Array.isArray(this.value)?this.currentDate=this.value.length>1&&!this.goToRangeStartOnSelect?this.value[1]:this.value[0]:this.value instanceof Date&&(this.currentDate=this.value))}componentDidRender(){this.moveFocusAfterMonthChanged&&(this.focusDate(this.currentDate),this.moveFocusAfterMonthChanged=!1)}updateWeekdays(){this.weekdays=bs(this.firstDayOfWeek===0?7:this.firstDayOfWeek,this.locale)}getClassName(e){return e?`${this.elementClassName}__${e}`:this.elementClassName}getCalendarRows(){let e=Ds(this.currentDate,!0,this.firstDayOfWeek===0?7:this.firstDayOfWeek),t=[];for(let s=0;s<e.length;s+=7){let n=e.slice(s,s+7);t.push(n)}return t}getTitle(){if(this.value)if(this.isRangeValue(this.value)){let e=Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value[0]),t=this.value[1]?Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value[1]):void 0;return t?`${e} - ${t}`:e}else return Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.value)}focusDate(e){var t;(t=this.el.querySelector(`[data-date="${N(e)}"]`))===null||t===void 0||t.focus()}updateCurrentDate(e,t){let s=e.getMonth(),n=e.getFullYear();if(n>9999||n<0)return;(s!==this.currentDate.getMonth()||n!==this.currentDate.getFullYear())&&(this.changeMonth.emit({month:bt(e),year:St(e),day:e.getDate()}),t&&(this.moveFocusAfterMonthChanged=!0)),this.currentDate=e,t&&this.focusDate(this.currentDate)}onSelectDate(e){var t,s;if(!this.disableDate(e))if(this.isRangeValue(this.value)){let n=((t=this.value)===null||t===void 0?void 0:t[0])===void 0||this.value.length===2?[e]:[this.value[0],e];n.length===2&&n[0]>n[1]&&n.reverse();let a=n[1]===void 0?[N(n[0])]:[N(n[0]),N(n[1])];this.value=n,this.selectDate.emit(a)}else{if(((s=this.value)===null||s===void 0?void 0:s.getTime())===e.getTime())return;this.value=e,this.selectDate.emit(N(e))}}isRangeValue(e){return this.range}render(){let e=this.showTodayButton||this.showClearButton;return $(ye,null,$("div",{"aria-disabled":String(this.disabled),"aria-label":this.labels.picker,class:{[this.getClassName()]:!0,[`${this.getClassName()}--disabled`]:this.disabled},role:"group"},$("div",{class:this.getClassName("header")},$("span",{"aria-atomic":"true","aria-live":"polite",class:"visually-hidden"},this.getTitle()),this.showYearStepper&&$("button",{"aria-label":this.labels.previousYearButton,class:this.getClassName("previous-year-button"),disabled:this.disabled,innerHTML:this.previousYearButtonContent||void 0,onClick:this.previousYear,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"11 17 6 12 11 7"}),$("polyline",{points:"18 17 13 12 18 7"}))),this.showMonthStepper&&$("button",{"aria-label":this.labels.previousMonthButton,class:this.getClassName("previous-month-button"),disabled:this.disabled,innerHTML:this.previousMonthButtonContent||void 0,onClick:this.previousMonth,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"15 18 9 12 15 6"}))),$("span",{class:this.getClassName("current-month")},$("select",{title:this.labels.monthSelect,"aria-label":this.labels.monthSelect,class:this.getClassName("month-select"),disabled:this.disabled,name:"month",onChange:this.onMonthSelect},vs(this.locale).map((t,s)=>$("option",{key:t,selected:this.currentDate.getMonth()===s,value:s+1},t))),$("input",{title:this.labels.yearSelect,"aria-label":this.labels.yearSelect,class:this.getClassName("year-select"),disabled:this.disabled,max:9999,maxLength:4,min:1,name:"year",onChange:this.onYearSelect,type:"number",value:this.currentDate.getFullYear()})),this.showMonthStepper&&$("button",{"aria-label":this.labels.nextMonthButton,class:this.getClassName("next-month-button"),disabled:this.disabled,innerHTML:this.nextMonthButtonContent||void 0,onClick:this.nextMonth,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"9 18 15 12 9 6"}))),this.showYearStepper&&$("button",{"aria-label":this.labels.nextYearButton,class:this.getClassName("next-year-button"),disabled:this.disabled,innerHTML:this.nextYearButtonContent||void 0,onClick:this.nextYear,type:"button"},$("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},$("polyline",{points:"13 17 18 12 13 7"}),$("polyline",{points:"6 17 11 12 6 7"})))),$("div",{class:this.getClassName("body")},$("table",{class:this.getClassName("calendar"),onKeyDown:this.onKeyDown,role:"grid"},$("thead",{class:this.getClassName("calendar-header")},$("tr",{class:this.getClassName("weekday-row")},this.weekdays.map(t=>$("th",{"aria-label":t[1],abbr:t[1],class:this.getClassName("weekday"),key:t[0],scope:"col"},$("span",null,t[0]))))),$("tbody",null,this.getCalendarRows().map(t=>{let s=`row-${t[0].getMonth()}-${t[0].getDate()}`;return $("tr",{class:this.getClassName("calendar-row"),key:s},t.map(n=>{var a,i,r,l,c;let d=x(n,this.currentDate),u=n.getMonth()!==this.currentDate.getMonth(),h=Array.isArray(this.value)?x(n,this.value[0])||x(n,this.value[1]):x(n,this.value),f=this.isRangeValue?vt(n,{from:(a=this.value)===null||a===void 0?void 0:a[0],to:((i=this.value)===null||i===void 0?void 0:i[1])||this.hoveredDate||this.currentDate}):!1,g=!((r=this.value)===null||r===void 0)&&r[0]?[(l=this.value)===null||l===void 0?void 0:l[0],((c=this.value)===null||c===void 0?void 0:c[1])||this.hoveredDate].sort((Lt,Tt)=>Lt-Tt):[],v=this.range&&x(g[0],n),L=this.range&&x(g[1],n),E=x(n,new Date),I=this.disableDate(n),Ct=`cell-${n.getMonth()}-${n.getDate()}`,kt={[this.getClassName("date")]:!0,[this.getClassName("date--current")]:d,[this.getClassName("date--disabled")]:I,[this.getClassName("date--overflowing")]:u,[this.getClassName("date--today")]:E,[this.getClassName("date--selected")]:h,[this.getClassName("date--in-range")]:f,[this.getClassName("date--start")]:v,[this.getClassName("date--end")]:L},xt=h?"strong":E?"em":"span";return $("td",{"aria-disabled":String(I),"aria-selected":h?"true":void 0,"aria-current":E?"date":h?"true":void 0,class:kt,"data-date":N(n),key:Ct,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,role:"gridcell",tabIndex:x(n,this.currentDate)&&!this.disabled?0:-1},$(xt,{"aria-hidden":"true"},n.getDate()),$("span",{class:"visually-hidden"},Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(n)))}))})))),e&&$("div",{class:this.getClassName("footer")},this.showTodayButton&&$("button",{class:this.getClassName("today-button"),disabled:this.disabled,innerHTML:this.todayButtonContent||void 0,onClick:this.showToday,type:"button"},this.labels.todayButton),this.showClearButton&&$("button",{class:this.getClassName("clear-button"),disabled:this.disabled,innerHTML:this.clearButtonContent||void 0,onClick:this.clear,type:"button"},this.labels.clearButton))))}get el(){return this}static get watchers(){return{firstDayOfWeek:["watchFirstDayOfWeek"],locale:["watchLocale"],range:["watchRange"],startDate:["watchStartDate"],value:["watchValue"]}}static get style(){return Ss}},[2,"wc-datepicker",{clearButtonContent:[1,"clear-button-content"],disabled:[4],disableDate:[16],elementClassName:[1,"element-class-name"],firstDayOfWeek:[2,"first-day-of-week"],range:[4],labels:[16],locale:[1],nextMonthButtonContent:[1,"next-month-button-content"],nextYearButtonContent:[1,"next-year-button-content"],previousMonthButtonContent:[1,"previous-month-button-content"],previousYearButtonContent:[1,"previous-year-button-content"],showClearButton:[4,"show-clear-button"],showMonthStepper:[4,"show-month-stepper"],showTodayButton:[4,"show-today-button"],showYearStepper:[4,"show-year-stepper"],startDate:[1,"start-date"],todayButtonContent:[1,"today-button-content"],value:[1040],maxSearchDays:[2,"max-search-days"],goToRangeStartOnSelect:[4,"go-to-range-start-on-select"],currentDate:[32],hoveredDate:[32],weekdays:[32]}]);var wt=Cs;customElements.define("dsa-internal-calendar",wt);var ks=1,D=class extends Me{constructor(){super(...arguments);this.localize=new Ne(this);this.value="";this.startDate=ie(new Date);this.range=!1}firstUpdated(){this.disableDate!==void 0&&(this.calendar.disableDate=this.disableDate),this.updateCalendarValue()}updateCalendarValue(){let s=this.parsedDateValue;this.calendar.value=s.length>1?s:s[0]}get parsedDateValue(){return this.value===""?[]:this.value.split(",").filter(s=>s!=="").map(s=>j(s))}handleDateSelection(s){let{detail:n}=s;if(n===void 0)return;let a=Array.isArray(n)?n.map(i=>j(i)):[j(n)];this.emit("dsa-date-selected",{detail:{dates:a}})}handleMonthSelection(s){let{month:n,year:a}=s.detail;this.emit("dsa-month-year-selected",{detail:{month:n,year:a}})}getLabels(){return{clearButton:this.localize.term("clearButton"),monthSelect:this.localize.term("monthSelect"),nextMonthButton:this.localize.term("nextMonthButton"),nextYearButton:this.localize.term("nextYearButton"),picker:this.localize.term(this.range?"pickerRange":"picker"),previousMonthButton:this.localize.term("previousMonthButton"),previousYearButton:this.localize.term("previousYearButton"),todayButton:this.localize.term("todayButton"),yearSelect:this.localize.term("yearSelect")}}handleDisableDateChange(){this.disableDate!==void 0&&(this.calendar.disableDate=this.disableDate)}handleValueChange(){if(this.value===""){this.calendar.value=void 0;return}this.updateCalendarValue()}render(){return ke`
24
24
  <dsa-internal-calendar
25
25
  class="calendar"
26
26
  ?range=${Te(this.range)}
@@ -31,7 +31,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`)}os(thi
31
31
  .labels=${this.getLabels()}
32
32
  first-day-of-week=${ks}
33
33
  ></dsa-internal-calendar>
34
- `}};v.styles=Ae,w([Le(".calendar")],v.prototype,"calendar",2),w([Y()],v.prototype,"value",2),w([Y({attribute:"start-date"})],v.prototype,"startDate",2),w([Y({type:Boolean,reflect:!0})],v.prototype,"range",2),w([Y({type:Function,attribute:!1})],v.prototype,"disableDate",2),w([ae("disableDate",{waitUntilFirstUpdate:!0})],v.prototype,"handleDisableDateChange",1),w([ae("value",{waitUntilFirstUpdate:!0})],v.prototype,"handleValueChange",1),v=w([xe("dsa-calendar")],v);export{v as a};
34
+ `}};D.styles=Ae,w([Le(".calendar")],D.prototype,"calendar",2),w([Y()],D.prototype,"value",2),w([Y({attribute:"start-date"})],D.prototype,"startDate",2),w([Y({type:Boolean,reflect:!0})],D.prototype,"range",2),w([Y({type:Function,attribute:!1})],D.prototype,"disableDate",2),w([ae("disableDate",{waitUntilFirstUpdate:!0})],D.prototype,"handleDisableDateChange",1),w([ae("value",{waitUntilFirstUpdate:!0})],D.prototype,"handleValueChange",1),D=w([xe("dsa-calendar")],D);export{D as a};
35
35
  /*! Bundled license information:
36
36
 
37
37
  @stencil/core/internal/client/index.js:
@@ -1,5 +1,5 @@
1
- import{a as t}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";var n=o`
2
- ${t}
1
+ import{a as e}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";var n=o`
2
+ ${e}
3
3
 
4
4
  :host {
5
5
  display: block;
@@ -89,6 +89,7 @@ import{a as t}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
89
89
  /* Item */
90
90
  a {
91
91
  display: flex;
92
+ flex-direction: column;
92
93
  color: var(--dsa-wc-table-of-contents-link-color);
93
94
  transition: var(--dsa-wc-transition-fast) fill;
94
95
  user-select: none;
@@ -109,6 +110,18 @@ import{a as t}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
109
110
  color: var(--dsa-wc-table-of-contents-link-color-active);
110
111
  font: var(--dsa-wc-menu-item-font-current);
111
112
  }
113
+ /* Reserve the bold width so the layout doesn't shift when a link becomes active.
114
+ The ::after pseudo-element mirrors the link text in bold but stays invisible. */
115
+ a::after {
116
+ content: attr(data-text);
117
+ display: block;
118
+ font: var(--dsa-wc-menu-item-font-current);
119
+ visibility: hidden;
120
+ height: 0;
121
+ overflow: hidden;
122
+ user-select: none;
123
+ pointer-events: none;
124
+ }
112
125
  @media (forced-colors: active) {
113
126
  a:hover,
114
127
  a:focus-visible {
@@ -0,0 +1,9 @@
1
+ import{a as p}from"./chunk.PNTZLR2X.js";import{a as d}from"./chunk.BWEPOOQP.js";import{a as o,b as h,c as l,d as u,f as m}from"./chunk.KBZ32KWP.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var a="dsa-navbar-menu",c="dsa-navbar-link",t=class extends m{constructor(){super(...arguments);this.currentOpenMenu=null;this.allChildren=[];this.allMenus=[];this.mobile=!1}handleSlotChange(){let e=this.defaultSlot.assignedElements({flatten:!0}).filter(n=>{let s=n.tagName.toLowerCase();return s===a||s===c});this.allChildren=e,this.allMenus=e.filter(n=>this.isNavbarMenu(n)),this.syncChildrenMobileState(),this.syncMobileVisibility()}handleMobileChange(){this.currentOpenMenu=null,this.syncChildrenMobileState(),this.allChildren.forEach(e=>{this.isNavbarMenu(e)&&e.open&&(e.open=!1)}),this.syncMobileVisibility()}handleMenuShow(e){if(!this.mobile)return;let s=e.target.closest(a);s&&(this.currentOpenMenu=s,this.syncMobileVisibility())}handleMenuHide(){this.mobile&&(this.allMenus.some(e=>e.open)||(this.currentOpenMenu=null,this.syncMobileVisibility()))}syncChildrenMobileState(){this.allChildren.forEach(e=>{e.mobile!==this.mobile&&(e.mobile=this.mobile)})}syncMobileVisibility(){if(!this.mobile){this.allChildren.forEach(e=>{e.classList.remove("hidden")});return}this.allChildren.forEach(e=>{let n=this.currentOpenMenu!==null&&e!==this.currentOpenMenu;e.classList.toggle("hidden",n),n&&this.isNavbarMenu(e)&&e.open&&(e.open=!1)})}isNavbarMenu(e){return e.tagName.toLowerCase()===a}render(){return r`
2
+ <div role="list" class="navbar__list">
3
+ <slot
4
+ @slotchange=${this.handleSlotChange}
5
+ @dsa-show=${this.handleMenuShow}
6
+ @dsa-hide=${this.handleMenuHide}
7
+ ></slot>
8
+ </div>
9
+ `}};t.styles=p,i([u("slot")],t.prototype,"defaultSlot",2),i([l()],t.prototype,"currentOpenMenu",2),i([l()],t.prototype,"allChildren",2),i([l()],t.prototype,"allMenus",2),i([h({type:Boolean})],t.prototype,"mobile",2),i([d("mobile")],t.prototype,"handleMobileChange",1),t=i([o("dsa-navbar")],t);export{t as a};
@@ -0,0 +1,24 @@
1
+ import{a as f}from"./chunk.RXX4NY67.js";import{a as d}from"./chunk.LRR4YZGW.js";import{a as p}from"./chunk.B4KFHYLS.js";import{a}from"./chunk.NIRNX67K.js";import{c as n}from"./chunk.Q54GPNUS.js";import{a as o}from"./chunk.2RF4WD6T.js";import{d as s}from"./chunk.ZBHHLRFH.js";import{a as l,b as r,f as m}from"./chunk.KBZ32KWP.js";import{a as i}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends m{constructor(){super(...arguments);this.localize=new n(this);this.value=0;this.indeterminate=!1;this.label=""}render(){return this.label||p("<dsa-progress-bar> requires a label attribute for accessibility"),i`
2
+ <div
3
+ part="base"
4
+ class=${s({"progress-bar":!0,"progress-bar--indeterminate":this.indeterminate,"progress-bar--rtl":this.localize.dir()==="rtl"})}
5
+ role="progressbar"
6
+ title=${a(this.title)}
7
+ aria-label=${a(this.label.length>0?this.label:void 0)}
8
+ aria-valuemin="0"
9
+ aria-valuemax="100"
10
+ aria-valuenow=${o(this.indeterminate?void 0:this.value)}
11
+ >
12
+ <div
13
+ part="indicator"
14
+ class="progress-bar__indicator"
15
+ style=${d({width:`${this.value}%`})}
16
+ >
17
+ ${this.indeterminate?"":i`
18
+ <div part="label" class="progress-bar__label">
19
+ ${this.value}%
20
+ </div>
21
+ `}
22
+ </div>
23
+ </div>
24
+ `}};e.styles=f,t([r({type:Number,reflect:!0})],e.prototype,"value",2),t([r({type:Boolean,reflect:!0})],e.prototype,"indeterminate",2),t([r()],e.prototype,"label",2),e=t([l("dsa-progress-bar")],e);export{e as a};
@@ -1,4 +1,4 @@
1
- import{a as m}from"./chunk.6QPTXGCJ.js";import{a as $}from"./chunk.M5ND6PIZ.js";import{a as b}from"./chunk.HN5GRHJU.js";import{a as g}from"./chunk.7ZYAJWHQ.js";import{a as c}from"./chunk.GVL377SN.js";import{a as v}from"./chunk.ODH67RGS.js";import{a as S}from"./chunk.IMDJ7GD2.js";import{a as h}from"./chunk.NIRNX67K.js";import{c as E}from"./chunk.KD3BHBHK.js";import{a as s}from"./chunk.2RF4WD6T.js";import{a as d}from"./chunk.BWEPOOQP.js";import{a as f,b as i,c as o,d as u}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{a as p,b as V,f as e}from"./chunk.IZ2HVRME.js";var C=100,t=class extends c{constructor(){super(...arguments);this.currentStartValue="";this.currentEndValue="";this.start="";this.end="";this.defaultStart="";this.defaultEnd="";this.slider=!1}connectedCallback(){super.connectedCallback(),this.handleSliderFromValueChange=this.handleSliderFromValueChange.bind(this),this.handleSliderToValueChange=this.handleSliderToValueChange.bind(this),this.addEventListener("dsa-slider-from-value-change",this.handleSliderFromValueChange),this.addEventListener("dsa-slider-to-value-change",this.handleSliderToValueChange),this.start=this.start===""?this.defaultStart:this.start,this.currentStartValue=this.start,this.end=this.end===""?this.defaultEnd:this.end,this.currentEndValue=this.end,this.value=this.getRangeValue()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("dsa-slider-from-value-change",this.handleSliderFromValueChange),this.removeEventListener("dsa-slider-to-value-change",this.handleSliderToValueChange)}handleSliderFromValueChange(r){let a=r.detail.value;this.currentStartValue=a}handleSliderToValueChange(r){let a=r.detail.value;this.currentEndValue=a}handleReset(){var r;this.currentStartValue=this.defaultStart,this.currentEndValue=this.defaultEnd,(r=this.startValueInput)==null||r.focus({preventScroll:!0})}handleSubmit(){this.start=this.currentStartValue,this.end=this.currentEndValue,this.value=this.getRangeValue(),this.emit("dsa-submit"),this.hide(),this.filterTrigger.focus({preventScroll:!0})}handleStartInput(r){let a=r.target.value;this.currentStartValue=a,this.emit("dsa-input")}handleEndInput(r){let a=r.target.value;this.currentEndValue=a,this.emit("dsa-input")}handleStartChange(r){let a=r.target.value,n=parseFloat(this.currentEndValue);parseFloat(a)<=this.min?this.currentStartValue=`${this.min}`:parseFloat(a)<=n?this.currentStartValue=a:parseFloat(a)>n&&(this.currentStartValue=this.currentEndValue),this.emit("dsa-change")}handleEndChange(r){let a=r.target.value,n=parseFloat(this.currentStartValue);parseFloat(a)>=this.max?this.currentEndValue=`${this.max}`:parseFloat(a)>=n?this.currentEndValue=a:parseFloat(a)<n&&(this.currentEndValue=this.currentStartValue),this.emit("dsa-change")}getRangeValue(){return this.start===""&&this.end===""?"":this.start===""?`${this.localize.term("lessThan")} ${this.end}`:this.end===""?`${this.localize.term("moreThan")} ${this.start}`:`${this.start} - ${this.end}`}handleFilterRangeOpenChange(){this.open||(this.currentStartValue=this.start===""?this.defaultStart:this.start,this.currentEndValue=this.end===""?this.defaultEnd:this.end)}handleStartPropChange(){this.currentStartValue!==this.start&&(this.currentStartValue=this.start),this.value=this.getRangeValue()}handleEndPropChange(){this.currentEndValue!==this.end&&(this.currentEndValue=this.end),this.value=this.getRangeValue()}handleCurrentValuesChange(){this.drawer&&(this.start=this.currentStartValue,this.end=this.currentEndValue,this.value=this.getRangeValue())}renderPanelContent(){return l`
1
+ import{a as m}from"./chunk.6QPTXGCJ.js";import{a as $}from"./chunk.EQQUOYXA.js";import{a as b}from"./chunk.HN5GRHJU.js";import{a as g}from"./chunk.AWM5EZRY.js";import{a as c}from"./chunk.VBIJSQJQ.js";import{a as v}from"./chunk.ODH67RGS.js";import{a as S}from"./chunk.W6E7LGND.js";import{a as h}from"./chunk.NIRNX67K.js";import{c as E}from"./chunk.AM2ZR2Y2.js";import{a as s}from"./chunk.2RF4WD6T.js";import{a as d}from"./chunk.BWEPOOQP.js";import{a as f,b as i,c as o,d as u}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{a as p,b as V,f as e}from"./chunk.IZ2HVRME.js";var C=100,t=class extends c{constructor(){super(...arguments);this.currentStartValue="";this.currentEndValue="";this.start="";this.end="";this.defaultStart="";this.defaultEnd="";this.slider=!1}connectedCallback(){super.connectedCallback(),this.handleSliderFromValueChange=this.handleSliderFromValueChange.bind(this),this.handleSliderToValueChange=this.handleSliderToValueChange.bind(this),this.addEventListener("dsa-slider-from-value-change",this.handleSliderFromValueChange),this.addEventListener("dsa-slider-to-value-change",this.handleSliderToValueChange),this.start=this.start===""?this.defaultStart:this.start,this.currentStartValue=this.start,this.end=this.end===""?this.defaultEnd:this.end,this.currentEndValue=this.end,this.value=this.getRangeValue()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("dsa-slider-from-value-change",this.handleSliderFromValueChange),this.removeEventListener("dsa-slider-to-value-change",this.handleSliderToValueChange)}handleSliderFromValueChange(r){let a=r.detail.value;this.currentStartValue=a}handleSliderToValueChange(r){let a=r.detail.value;this.currentEndValue=a}handleReset(){var r;this.currentStartValue=this.defaultStart,this.currentEndValue=this.defaultEnd,(r=this.startValueInput)==null||r.focus({preventScroll:!0})}handleSubmit(){this.start=this.currentStartValue,this.end=this.currentEndValue,this.value=this.getRangeValue(),this.emit("dsa-submit"),this.hide(),this.filterTrigger.focus({preventScroll:!0})}handleStartInput(r){let a=r.target.value;this.currentStartValue=a,this.emit("dsa-input")}handleEndInput(r){let a=r.target.value;this.currentEndValue=a,this.emit("dsa-input")}handleStartChange(r){let a=r.target.value,n=parseFloat(this.currentEndValue);parseFloat(a)<=this.min?this.currentStartValue=`${this.min}`:parseFloat(a)<=n?this.currentStartValue=a:parseFloat(a)>n&&(this.currentStartValue=this.currentEndValue),this.emit("dsa-change")}handleEndChange(r){let a=r.target.value,n=parseFloat(this.currentStartValue);parseFloat(a)>=this.max?this.currentEndValue=`${this.max}`:parseFloat(a)>=n?this.currentEndValue=a:parseFloat(a)<n&&(this.currentEndValue=this.currentStartValue),this.emit("dsa-change")}getRangeValue(){return this.start===""&&this.end===""?"":this.start===""?`${this.localize.term("lessThan")} ${this.end}`:this.end===""?`${this.localize.term("moreThan")} ${this.start}`:`${this.start} - ${this.end}`}handleFilterRangeOpenChange(){this.open||(this.currentStartValue=this.start===""?this.defaultStart:this.start,this.currentEndValue=this.end===""?this.defaultEnd:this.end)}handleStartPropChange(){this.currentStartValue!==this.start&&(this.currentStartValue=this.start),this.value=this.getRangeValue()}handleEndPropChange(){this.currentEndValue!==this.end&&(this.currentEndValue=this.end),this.value=this.getRangeValue()}handleCurrentValuesChange(){this.drawer&&(this.start=this.currentStartValue,this.end=this.currentEndValue,this.value=this.getRangeValue())}renderPanelContent(){return l`
2
2
  <div class="filter__content">
3
3
  ${this.slider?l`
4
4
  <div class="filter__slider">
@@ -1,4 +1,4 @@
1
- import{a}from"./chunk.KHGWE5IX.js";import{a as o}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";var c=e`
1
+ import{a}from"./chunk.ALIA5R6V.js";import{a as o}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";var c=e`
2
2
  ${o}
3
3
  ${a}
4
4
 
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.AB4OF3RS.js";import"../../chunks/chunk.ODH67RGS.js";import"../../chunks/chunk.7FSGFZP4.js";import"../../chunks/chunk.ELL45QD3.js";import"../../chunks/chunk.MCWDTN6Q.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.HHVNQNCC.js";import"../../chunks/chunk.TV2TMO2H.js";import"../../chunks/chunk.B4KFHYLS.js";import"../../chunks/chunk.LBAIMDY3.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.KD3BHBHK.js";import"../../chunks/chunk.NJOCDP2A.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.FASLFYND.js";import"../../chunks/chunk.ODH67RGS.js";import"../../chunks/chunk.7FSGFZP4.js";import"../../chunks/chunk.ELL45QD3.js";import"../../chunks/chunk.MCWDTN6Q.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.HHVNQNCC.js";import"../../chunks/chunk.TV2TMO2H.js";import"../../chunks/chunk.B4KFHYLS.js";import"../../chunks/chunk.Q54GPNUS.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.AM2ZR2Y2.js";import"../../chunks/chunk.SARJ4UB5.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.QTD6NQFL.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.IDTMD6WQ.js";import"../../chunks/chunk.IMDJ7GD2.js";import"../../chunks/chunk.WWRGGVFZ.js";import"../../chunks/chunk.CIKTPEVX.js";import"../../chunks/chunk.FWTZS7LK.js";import"../../chunks/chunk.LIC3WRPD.js";import"../../chunks/chunk.4GFD32WP.js";import"../../chunks/chunk.FDMPUSVV.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.LBAIMDY3.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.KD3BHBHK.js";import"../../chunks/chunk.NJOCDP2A.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.KZKCBYIC.js";import"../../chunks/chunk.W6E7LGND.js";import"../../chunks/chunk.FVTT4MMC.js";import"../../chunks/chunk.GLMWJUWZ.js";import"../../chunks/chunk.FWTZS7LK.js";import"../../chunks/chunk.LIC3WRPD.js";import"../../chunks/chunk.4GFD32WP.js";import"../../chunks/chunk.FDMPUSVV.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.Q54GPNUS.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.AM2ZR2Y2.js";import"../../chunks/chunk.SARJ4UB5.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.QTD6NQFL.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.7OMTHUFI.js";import"../../chunks/chunk.63UE4VAO.js";import"../../chunks/chunk.JOY25RSZ.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.HHVNQNCC.js";import"../../chunks/chunk.TV2TMO2H.js";import"../../chunks/chunk.B4KFHYLS.js";import"../../chunks/chunk.FDMPUSVV.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.LBAIMDY3.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.KD3BHBHK.js";import"../../chunks/chunk.NJOCDP2A.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.Z4V4DU2C.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.VSTKTCJY.js";import"../../chunks/chunk.2FPBPQUJ.js";import"../../chunks/chunk.X4AWEYYO.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.HHVNQNCC.js";import"../../chunks/chunk.TV2TMO2H.js";import"../../chunks/chunk.B4KFHYLS.js";import"../../chunks/chunk.FDMPUSVV.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.Q54GPNUS.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.AM2ZR2Y2.js";import"../../chunks/chunk.SARJ4UB5.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.QTD6NQFL.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.Z4V4DU2C.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.WEWRFZAQ.js";import"../../chunks/chunk.D4Q4A62L.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.KD3BHBHK.js";import"../../chunks/chunk.NJOCDP2A.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.HACTOR3N.js";import"../../chunks/chunk.D4Q4A62L.js";import"../../chunks/chunk.NIRNX67K.js";import"../../chunks/chunk.AM2ZR2Y2.js";import"../../chunks/chunk.SARJ4UB5.js";import"../../chunks/chunk.D3S7D52C.js";import"../../chunks/chunk.LBRHB47I.js";import"../../chunks/chunk.QTD6NQFL.js";import"../../chunks/chunk.MHIIHFT3.js";import"../../chunks/chunk.2RF4WD6T.js";import"../../chunks/chunk.ZBHHLRFH.js";import"../../chunks/chunk.BWEPOOQP.js";import"../../chunks/chunk.KBZ32KWP.js";import"../../chunks/chunk.H544RQAW.js";import"../../chunks/chunk.UMC4I57R.js";import"../../chunks/chunk.6G2FNLAV.js";import"../../chunks/chunk.GP725TPQ.js";import"../../chunks/chunk.IZ2HVRME.js";export{a as default};
@@ -0,0 +1,36 @@
1
+ import type { CSSResultGroup } from 'lit';
2
+ import DSAIconButton from '../icon-button/icon-button';
3
+ import { ShoelaceElement } from '../../internal/shoelace-element';
4
+ /**
5
+ * @summary Banners are used to display key information in a contrasted area with optional actions.
6
+ *
7
+ * @dependency dsa-icon-button
8
+ *
9
+ * @slot - The banner's message content.
10
+ * @slot icon - Optional icon content.
11
+ * @slot action - Optional action content.
12
+ *
13
+ * @event dsa-close - Emitted when the user closes the banner.
14
+ */
15
+ export default class DSABanner extends ShoelaceElement {
16
+ static styles: CSSResultGroup;
17
+ static dependencies: {
18
+ 'dsa-icon-button': typeof DSAIconButton;
19
+ };
20
+ private readonly hasSlotController;
21
+ private readonly localize;
22
+ closeButton: DSAIconButton | null;
23
+ /** Enables a close button that allows users to dismiss the banner. */
24
+ closable: boolean;
25
+ /** Enables compact mobile layout. */
26
+ mobile: boolean;
27
+ /** Accessible label for the close button. */
28
+ closeLabel: string;
29
+ private handleClose;
30
+ render(): import("lit").TemplateResult<1>;
31
+ }
32
+ declare global {
33
+ interface HTMLElementTagNameMap {
34
+ 'dsa-banner': DSABanner;
35
+ }
36
+ }