@carbon/ibmdotcom-web-components 1.37.0-rc.2 → 1.37.0-rc.3

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 (1299) hide show
  1. package/custom-elements.json +141 -115
  2. package/dist/{20-d59d1252.js → 20-2de9f146.js} +8 -1
  3. package/dist/{20-0dd18a2a.js → 20-3aa01aab.js} +8 -1
  4. package/dist/{20-b13a7263.js → 20-654642bf.js} +8 -1
  5. package/dist/{20-db62d123.js → 20-e1b84375.js} +8 -1
  6. package/dist/cloud-masthead.js +55 -24
  7. package/dist/cloud-masthead.min.js +10 -3
  8. package/dist/cloud-masthead.rtl.js +55 -24
  9. package/dist/cloud-masthead.rtl.min.js +10 -3
  10. package/dist/dotcom-shell.js +9 -2
  11. package/dist/dotcom-shell.min.js +8 -1
  12. package/dist/dotcom-shell.rtl.js +9 -2
  13. package/dist/dotcom-shell.rtl.min.js +8 -1
  14. package/dist/ibmdotcom-web-components-dotcom-shell.js +252 -170
  15. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +27 -12
  16. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +252 -170
  17. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +27 -12
  18. package/dist/{left-nav-menu-e3475c54.js → left-nav-menu-0c606dc0.js} +8 -1
  19. package/dist/{left-nav-menu-9c991783.js → left-nav-menu-90492b23.js} +8 -1
  20. package/dist/{left-nav-menu-category-heading-f30c16b2.js → left-nav-menu-category-heading-3965c098.js} +8 -1
  21. package/dist/{left-nav-menu-category-heading-c408c797.js → left-nav-menu-category-heading-a1595fbe.js} +8 -1
  22. package/dist/{left-nav-menu-category-heading-c11a1c5a.js → left-nav-menu-category-heading-d4fb11a9.js} +8 -1
  23. package/dist/{left-nav-menu-category-heading-ea722d76.js → left-nav-menu-category-heading-decd4d83.js} +8 -1
  24. package/dist/{left-nav-menu-4d9029d3.js → left-nav-menu-ebbabdeb.js} +8 -1
  25. package/dist/{left-nav-menu-f949a3fc.js → left-nav-menu-fb76056e.js} +9 -2
  26. package/dist/left-nav-menu-item-0c324d91.js +78 -0
  27. package/dist/left-nav-menu-item-28c4baae.js +78 -0
  28. package/dist/{left-nav-menu-item-0c593619.js → left-nav-menu-item-b9ed3af7.js} +17 -1
  29. package/dist/{left-nav-menu-item-7a695a3a.js → left-nav-menu-item-d51991fb.js} +17 -1
  30. package/dist/{left-nav-menu-section-2b27f90c.js → left-nav-menu-section-104b952b.js} +9 -2
  31. package/dist/{left-nav-menu-section-9580fed9.js → left-nav-menu-section-35756914.js} +9 -2
  32. package/dist/{left-nav-menu-section-70361e96.js → left-nav-menu-section-7f96cd92.js} +8 -1
  33. package/dist/{left-nav-menu-section-723dabdb.js → left-nav-menu-section-ca7e49e9.js} +8 -1
  34. package/dist/{left-nav-overlay-23420664.js → left-nav-overlay-789e2c5b.js} +8 -1
  35. package/dist/{left-nav-overlay-4369f445.js → left-nav-overlay-84b5801a.js} +8 -1
  36. package/dist/{left-nav-overlay-213a2b93.js → left-nav-overlay-85a8a0da.js} +8 -1
  37. package/dist/{left-nav-overlay-39841e5b.js → left-nav-overlay-c549e901.js} +8 -1
  38. package/dist/{masthead-composite-306b9aa2.js → masthead-composite-0c8215ba.js} +25 -18
  39. package/dist/{masthead-composite-7be5e44a.js → masthead-composite-6e631d9f.js} +14 -7
  40. package/dist/{masthead-composite-549e469b.js → masthead-composite-728fb184.js} +335 -320
  41. package/dist/{masthead-composite-dfe1f02c.js → masthead-composite-e2535116.js} +335 -320
  42. package/dist/{megamenu-category-group-04d4c7b5.js → megamenu-category-group-18797750.js} +8 -1
  43. package/dist/{megamenu-category-group-72763c53.js → megamenu-category-group-6e7f9786.js} +8 -1
  44. package/dist/{megamenu-category-group-d91eb27d.js → megamenu-category-group-8a288ad7.js} +8 -1
  45. package/dist/{megamenu-category-group-ec20f1c0.js → megamenu-category-group-9778e30d.js} +8 -1
  46. package/dist/{megamenu-category-group-copy-b2e1f3b8.js → megamenu-category-group-copy-37aede70.js} +8 -1
  47. package/dist/{megamenu-category-group-copy-1734a927.js → megamenu-category-group-copy-70515553.js} +8 -1
  48. package/dist/{megamenu-category-group-copy-b388d655.js → megamenu-category-group-copy-7cc21eda.js} +8 -1
  49. package/dist/{megamenu-category-group-copy-f1dc57da.js → megamenu-category-group-copy-850e36c3.js} +8 -1
  50. package/dist/{megamenu-category-link-baa8ed55.js → megamenu-category-link-2161aebd.js} +8 -1
  51. package/dist/{megamenu-category-link-f7b52727.js → megamenu-category-link-46980387.js} +8 -1
  52. package/dist/{megamenu-category-link-43f181fe.js → megamenu-category-link-6eb6cb7d.js} +8 -1
  53. package/dist/{megamenu-category-link-7cdcb4db.js → megamenu-category-link-cb061552.js} +8 -1
  54. package/dist/{megamenu-left-navigation-024c2f3d.js → megamenu-left-navigation-21c9dd45.js} +8 -1
  55. package/dist/{megamenu-left-navigation-02cf4776.js → megamenu-left-navigation-7decd28c.js} +8 -1
  56. package/dist/{megamenu-left-navigation-c5935038.js → megamenu-left-navigation-86f2cf88.js} +8 -1
  57. package/dist/{megamenu-left-navigation-47ca8cc9.js → megamenu-left-navigation-d3e95498.js} +8 -1
  58. package/dist/{megamenu-overlay-02fda241.js → megamenu-overlay-01a8f76f.js} +8 -1
  59. package/dist/{megamenu-overlay-915d9eae.js → megamenu-overlay-1de034cf.js} +8 -1
  60. package/dist/{megamenu-overlay-2065230d.js → megamenu-overlay-96dbeb3f.js} +8 -1
  61. package/dist/{megamenu-overlay-f9f8e94a.js → megamenu-overlay-caa12c62.js} +8 -1
  62. package/es/component-mixins/callout/callout.js +1 -2
  63. package/es/component-mixins/callout/callout.js.map +1 -1
  64. package/es/component-mixins/cta/cta.js +4 -8
  65. package/es/component-mixins/cta/cta.js.map +1 -1
  66. package/es/component-mixins/cta/video.js +2 -4
  67. package/es/component-mixins/cta/video.js.map +1 -1
  68. package/es/component-mixins/media-query/media-query.js +1 -4
  69. package/es/component-mixins/media-query/media-query.js.map +1 -1
  70. package/es/component-mixins/parent-visibility/parent-visibility.js +3 -4
  71. package/es/component-mixins/parent-visibility/parent-visibility.js.map +1 -1
  72. package/es/components/back-to-top/__stories__/data/content.js +2 -4
  73. package/es/components/back-to-top/__stories__/data/content.js.map +1 -1
  74. package/es/components/back-to-top/back-to-top.js +1 -2
  75. package/es/components/back-to-top/back-to-top.js.map +1 -1
  76. package/es/components/background-media/background-media.js +4 -5
  77. package/es/components/background-media/background-media.js.map +1 -1
  78. package/es/components/background-media/defs.js +0 -2
  79. package/es/components/background-media/defs.js.map +1 -1
  80. package/es/components/button/button.js +1 -2
  81. package/es/components/button/button.js.map +1 -1
  82. package/es/components/button/defs.js +0 -3
  83. package/es/components/button/defs.js.map +1 -1
  84. package/es/components/button-group/button-group-item.js +1 -2
  85. package/es/components/button-group/button-group-item.js.map +1 -1
  86. package/es/components/button-group/button-group.js +1 -2
  87. package/es/components/button-group/button-group.js.map +1 -1
  88. package/es/components/callout-quote/callout-link-with-icon.js +1 -2
  89. package/es/components/callout-quote/callout-link-with-icon.js.map +1 -1
  90. package/es/components/callout-quote/callout-quote.js +1 -2
  91. package/es/components/callout-quote/callout-quote.js.map +1 -1
  92. package/es/components/callout-with-media/callout-with-media-copy.js +1 -2
  93. package/es/components/callout-with-media/callout-with-media-copy.js.map +1 -1
  94. package/es/components/callout-with-media/callout-with-media-image.js +1 -2
  95. package/es/components/callout-with-media/callout-with-media-image.js.map +1 -1
  96. package/es/components/callout-with-media/callout-with-media-video.js +1 -2
  97. package/es/components/callout-with-media/callout-with-media-video.js.map +1 -1
  98. package/es/components/callout-with-media/callout-with-media.js +1 -2
  99. package/es/components/callout-with-media/callout-with-media.js.map +1 -1
  100. package/es/components/card/card-eyebrow.js +1 -2
  101. package/es/components/card/card-eyebrow.js.map +1 -1
  102. package/es/components/card/card-footer.js +7 -8
  103. package/es/components/card/card-footer.js.map +1 -1
  104. package/es/components/card/card-heading.js +1 -2
  105. package/es/components/card/card-heading.js.map +1 -1
  106. package/es/components/card/card.js +2 -3
  107. package/es/components/card/card.js.map +1 -1
  108. package/es/components/card/defs.js +1 -3
  109. package/es/components/card/defs.js.map +1 -1
  110. package/es/components/card/image-logo.js +1 -2
  111. package/es/components/card/image-logo.js.map +1 -1
  112. package/es/components/card-group/card-group-card-link-item.js +1 -2
  113. package/es/components/card-group/card-group-card-link-item.js.map +1 -1
  114. package/es/components/card-group/card-group-item.js +1 -2
  115. package/es/components/card-group/card-group-item.js.map +1 -1
  116. package/es/components/card-group/card-group.js +3 -4
  117. package/es/components/card-group/card-group.js.map +1 -1
  118. package/es/components/card-group/defs.js +0 -1
  119. package/es/components/card-group/defs.js.map +1 -1
  120. package/es/components/card-in-card/card-in-card-image.js +1 -2
  121. package/es/components/card-in-card/card-in-card-image.js.map +1 -1
  122. package/es/components/card-in-card/card-in-card.js +6 -9
  123. package/es/components/card-in-card/card-in-card.js.map +1 -1
  124. package/es/components/card-link/card-link-heading.js +1 -2
  125. package/es/components/card-link/card-link-heading.js.map +1 -1
  126. package/es/components/card-link/card-link.js +1 -2
  127. package/es/components/card-link/card-link.js.map +1 -1
  128. package/es/components/card-section-carousel/card-section-carousel.js +1 -2
  129. package/es/components/card-section-carousel/card-section-carousel.js.map +1 -1
  130. package/es/components/card-section-images/card-section-images.js +1 -2
  131. package/es/components/card-section-images/card-section-images.js.map +1 -1
  132. package/es/components/card-section-offset/card-section-offset.js +1 -2
  133. package/es/components/card-section-offset/card-section-offset.js.map +1 -1
  134. package/es/components/card-section-simple/card-section-simple.js +1 -2
  135. package/es/components/card-section-simple/card-section-simple.js.map +1 -1
  136. package/es/components/carousel/carousel.js +6 -7
  137. package/es/components/carousel/carousel.js.map +1 -1
  138. package/es/components/content-block/content-block-complementary.js +1 -2
  139. package/es/components/content-block/content-block-complementary.js.map +1 -1
  140. package/es/components/content-block/content-block-copy.js +1 -2
  141. package/es/components/content-block/content-block-copy.js.map +1 -1
  142. package/es/components/content-block/content-block-heading.js +1 -2
  143. package/es/components/content-block/content-block-heading.js.map +1 -1
  144. package/es/components/content-block/content-block-paragraph.js +1 -2
  145. package/es/components/content-block/content-block-paragraph.js.map +1 -1
  146. package/es/components/content-block/content-block.js +1 -2
  147. package/es/components/content-block/content-block.js.map +1 -1
  148. package/es/components/content-block/defs.js +0 -2
  149. package/es/components/content-block/defs.js.map +1 -1
  150. package/es/components/content-block-card-static/content-block-card-static.js +2 -3
  151. package/es/components/content-block-card-static/content-block-card-static.js.map +1 -1
  152. package/es/components/content-block-cards/content-block-cards.js +1 -2
  153. package/es/components/content-block-cards/content-block-cards.js.map +1 -1
  154. package/es/components/content-block-headlines/content-block-headlines-heading.js +1 -2
  155. package/es/components/content-block-headlines/content-block-headlines-heading.js.map +1 -1
  156. package/es/components/content-block-headlines/content-block-headlines-item.js +1 -2
  157. package/es/components/content-block-headlines/content-block-headlines-item.js.map +1 -1
  158. package/es/components/content-block-headlines/content-block-headlines.js +1 -2
  159. package/es/components/content-block-headlines/content-block-headlines.js.map +1 -1
  160. package/es/components/content-block-horizontal/content-block-horizontal.js +1 -2
  161. package/es/components/content-block-horizontal/content-block-horizontal.js.map +1 -1
  162. package/es/components/content-block-media/content-block-media-content.js +1 -2
  163. package/es/components/content-block-media/content-block-media-content.js.map +1 -1
  164. package/es/components/content-block-media/content-block-media.js +1 -2
  165. package/es/components/content-block-media/content-block-media.js.map +1 -1
  166. package/es/components/content-block-mixed/content-block-mixed.js +1 -2
  167. package/es/components/content-block-mixed/content-block-mixed.js.map +1 -1
  168. package/es/components/content-block-segmented/content-block-segmented-item.js +1 -2
  169. package/es/components/content-block-segmented/content-block-segmented-item.js.map +1 -1
  170. package/es/components/content-block-segmented/content-block-segmented.js +3 -4
  171. package/es/components/content-block-segmented/content-block-segmented.js.map +1 -1
  172. package/es/components/content-block-simple/content-block-simple.css.js +1 -1
  173. package/es/components/content-block-simple/content-block-simple.js +1 -2
  174. package/es/components/content-block-simple/content-block-simple.js.map +1 -1
  175. package/es/components/content-block-simple/content-block-simple.rtl.css.js +1 -1
  176. package/es/components/content-group/content-group-copy.js +1 -2
  177. package/es/components/content-group/content-group-copy.js.map +1 -1
  178. package/es/components/content-group/content-group-heading.js +1 -2
  179. package/es/components/content-group/content-group-heading.js.map +1 -1
  180. package/es/components/content-group/content-group-paragraph.js +1 -2
  181. package/es/components/content-group/content-group-paragraph.js.map +1 -1
  182. package/es/components/content-group/content-group.js +1 -2
  183. package/es/components/content-group/content-group.js.map +1 -1
  184. package/es/components/content-group-banner/content-group-banner.js +1 -2
  185. package/es/components/content-group-banner/content-group-banner.js.map +1 -1
  186. package/es/components/content-group-cards/content-group-cards-item.js +1 -2
  187. package/es/components/content-group-cards/content-group-cards-item.js.map +1 -1
  188. package/es/components/content-group-cards/content-group-cards.js +1 -2
  189. package/es/components/content-group-cards/content-group-cards.js.map +1 -1
  190. package/es/components/content-group-horizontal/content-group-horizontal.js +1 -2
  191. package/es/components/content-group-horizontal/content-group-horizontal.js.map +1 -1
  192. package/es/components/content-group-pictograms/content-group-pictograms.js +1 -2
  193. package/es/components/content-group-pictograms/content-group-pictograms.js.map +1 -1
  194. package/es/components/content-group-simple/content-group-simple.js +1 -2
  195. package/es/components/content-group-simple/content-group-simple.js.map +1 -1
  196. package/es/components/content-group-simple/defs.js +0 -1
  197. package/es/components/content-group-simple/defs.js.map +1 -1
  198. package/es/components/content-item/content-item-copy.js +1 -2
  199. package/es/components/content-item/content-item-copy.js.map +1 -1
  200. package/es/components/content-item/content-item-heading.js +1 -2
  201. package/es/components/content-item/content-item-heading.js.map +1 -1
  202. package/es/components/content-item/content-item-paragraph.js +1 -2
  203. package/es/components/content-item/content-item-paragraph.js.map +1 -1
  204. package/es/components/content-item/content-item.js +1 -2
  205. package/es/components/content-item/content-item.js.map +1 -1
  206. package/es/components/content-item-horizontal/content-item-horizontal-copy.js +1 -2
  207. package/es/components/content-item-horizontal/content-item-horizontal-copy.js.map +1 -1
  208. package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js +1 -2
  209. package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js.map +1 -1
  210. package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js +1 -2
  211. package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js.map +1 -1
  212. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js +1 -2
  213. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js.map +1 -1
  214. package/es/components/content-item-horizontal/content-item-horizontal-media-video.js +1 -2
  215. package/es/components/content-item-horizontal/content-item-horizontal-media-video.js.map +1 -1
  216. package/es/components/content-item-horizontal/content-item-horizontal-media.js +1 -2
  217. package/es/components/content-item-horizontal/content-item-horizontal-media.js.map +1 -1
  218. package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +1 -2
  219. package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js.map +1 -1
  220. package/es/components/content-item-horizontal/content-item-horizontal.js +1 -2
  221. package/es/components/content-item-horizontal/content-item-horizontal.js.map +1 -1
  222. package/es/components/content-item-horizontal/defs.js +0 -2
  223. package/es/components/content-item-horizontal/defs.js.map +1 -1
  224. package/es/components/content-section/content-section-copy.js +2 -3
  225. package/es/components/content-section/content-section-copy.js.map +1 -1
  226. package/es/components/content-section/content-section-heading.js +1 -2
  227. package/es/components/content-section/content-section-heading.js.map +1 -1
  228. package/es/components/content-section/content-section.js +1 -2
  229. package/es/components/content-section/content-section.js.map +1 -1
  230. package/es/components/cta/button-cta.js +1 -2
  231. package/es/components/cta/button-cta.js.map +1 -1
  232. package/es/components/cta/card-cta-footer.js +1 -2
  233. package/es/components/cta/card-cta-footer.js.map +1 -1
  234. package/es/components/cta/card-cta-image.js +1 -2
  235. package/es/components/cta/card-cta-image.js.map +1 -1
  236. package/es/components/cta/card-cta.js +1 -2
  237. package/es/components/cta/card-cta.js.map +1 -1
  238. package/es/components/cta/card-link-cta.js +1 -2
  239. package/es/components/cta/card-link-cta.js.map +1 -1
  240. package/es/components/cta/cta.js +5 -6
  241. package/es/components/cta/cta.js.map +1 -1
  242. package/es/components/cta/defs.js +0 -2
  243. package/es/components/cta/defs.js.map +1 -1
  244. package/es/components/cta/feature-cta-footer.js +1 -2
  245. package/es/components/cta/feature-cta-footer.js.map +1 -1
  246. package/es/components/cta/feature-cta.js +1 -2
  247. package/es/components/cta/feature-cta.js.map +1 -1
  248. package/es/components/cta/link-list-item-card-cta.js +1 -2
  249. package/es/components/cta/link-list-item-card-cta.js.map +1 -1
  250. package/es/components/cta/link-list-item-cta.js +1 -2
  251. package/es/components/cta/link-list-item-cta.js.map +1 -1
  252. package/es/components/cta/text-cta.js +1 -2
  253. package/es/components/cta/text-cta.js.map +1 -1
  254. package/es/components/cta/video-cta-composite.d.ts +1 -0
  255. package/es/components/cta/video-cta-composite.d.ts.map +1 -1
  256. package/es/components/cta/video-cta-composite.js +2 -3
  257. package/es/components/cta/video-cta-composite.js.map +1 -1
  258. package/es/components/cta/video-cta-container.js +1 -2
  259. package/es/components/cta/video-cta-container.js.map +1 -1
  260. package/es/components/cta-block/cta-block-item-row.js +1 -2
  261. package/es/components/cta-block/cta-block-item-row.js.map +1 -1
  262. package/es/components/cta-block/cta-block-item.js +1 -2
  263. package/es/components/cta-block/cta-block-item.js.map +1 -1
  264. package/es/components/cta-block/cta-block.js +2 -3
  265. package/es/components/cta-block/cta-block.js.map +1 -1
  266. package/es/components/cta-section/cta-section.js +1 -2
  267. package/es/components/cta-section/cta-section.js.map +1 -1
  268. package/es/components/dotcom-shell/__stories__/data/content.js +12 -24
  269. package/es/components/dotcom-shell/__stories__/data/content.js.map +1 -1
  270. package/es/components/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
  271. package/es/components/dotcom-shell/dotcom-shell-composite.d.ts.map +1 -1
  272. package/es/components/dotcom-shell/dotcom-shell-composite.js +5 -21
  273. package/es/components/dotcom-shell/dotcom-shell-composite.js.map +1 -1
  274. package/es/components/dotcom-shell/dotcom-shell-container.js +17 -18
  275. package/es/components/dotcom-shell/dotcom-shell-container.js.map +1 -1
  276. package/es/components/dotcom-shell/dotcom-shell.js +1 -2
  277. package/es/components/dotcom-shell/dotcom-shell.js.map +1 -1
  278. package/es/components/expressive-modal/defs.js +0 -2
  279. package/es/components/expressive-modal/defs.js.map +1 -1
  280. package/es/components/expressive-modal/expressive-modal-body.js +1 -2
  281. package/es/components/expressive-modal/expressive-modal-body.js.map +1 -1
  282. package/es/components/expressive-modal/expressive-modal-close-button.js +1 -2
  283. package/es/components/expressive-modal/expressive-modal-close-button.js.map +1 -1
  284. package/es/components/expressive-modal/expressive-modal-footer.js +1 -2
  285. package/es/components/expressive-modal/expressive-modal-footer.js.map +1 -1
  286. package/es/components/expressive-modal/expressive-modal-header.js +1 -2
  287. package/es/components/expressive-modal/expressive-modal-header.js.map +1 -1
  288. package/es/components/expressive-modal/expressive-modal-heading.js +1 -2
  289. package/es/components/expressive-modal/expressive-modal-heading.js.map +1 -1
  290. package/es/components/expressive-modal/expressive-modal.d.ts.map +1 -1
  291. package/es/components/expressive-modal/expressive-modal.js +7 -8
  292. package/es/components/expressive-modal/expressive-modal.js.map +1 -1
  293. package/es/components/feature-card/feature-card-footer.js +1 -2
  294. package/es/components/feature-card/feature-card-footer.js.map +1 -1
  295. package/es/components/feature-card/feature-card.js +1 -2
  296. package/es/components/feature-card/feature-card.js.map +1 -1
  297. package/es/components/feature-card-block-large/feature-card-block-large-footer.js +1 -2
  298. package/es/components/feature-card-block-large/feature-card-block-large-footer.js.map +1 -1
  299. package/es/components/feature-card-block-large/feature-card-block-large.js +1 -2
  300. package/es/components/feature-card-block-large/feature-card-block-large.js.map +1 -1
  301. package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js +1 -2
  302. package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js.map +1 -1
  303. package/es/components/feature-card-block-medium/feature-card-block-medium.js +1 -2
  304. package/es/components/feature-card-block-medium/feature-card-block-medium.js.map +1 -1
  305. package/es/components/feature-section/defs.js +0 -1
  306. package/es/components/feature-section/defs.js.map +1 -1
  307. package/es/components/feature-section/feature-section-card-link.js +1 -2
  308. package/es/components/feature-section/feature-section-card-link.js.map +1 -1
  309. package/es/components/feature-section/feature-section.js +1 -2
  310. package/es/components/feature-section/feature-section.js.map +1 -1
  311. package/es/components/filter-panel/filter-group-item.js +1 -2
  312. package/es/components/filter-panel/filter-group-item.js.map +1 -1
  313. package/es/components/filter-panel/filter-group.js +1 -2
  314. package/es/components/filter-panel/filter-group.js.map +1 -1
  315. package/es/components/filter-panel/filter-modal-button.js +1 -2
  316. package/es/components/filter-panel/filter-modal-button.js.map +1 -1
  317. package/es/components/filter-panel/filter-modal-footer.js +1 -2
  318. package/es/components/filter-panel/filter-modal-footer.js.map +1 -1
  319. package/es/components/filter-panel/filter-modal-heading.js +1 -2
  320. package/es/components/filter-panel/filter-modal-heading.js.map +1 -1
  321. package/es/components/filter-panel/filter-panel-checkbox.js +1 -2
  322. package/es/components/filter-panel/filter-panel-checkbox.js.map +1 -1
  323. package/es/components/filter-panel/filter-panel-composite.d.ts +366 -35
  324. package/es/components/filter-panel/filter-panel-composite.d.ts.map +1 -1
  325. package/es/components/filter-panel/filter-panel-composite.js +99 -84
  326. package/es/components/filter-panel/filter-panel-composite.js.map +1 -1
  327. package/es/components/filter-panel/filter-panel-heading.js +1 -2
  328. package/es/components/filter-panel/filter-panel-heading.js.map +1 -1
  329. package/es/components/filter-panel/filter-panel-input-select-item.d.ts +4 -0
  330. package/es/components/filter-panel/filter-panel-input-select-item.d.ts.map +1 -1
  331. package/es/components/filter-panel/filter-panel-input-select-item.js +12 -2
  332. package/es/components/filter-panel/filter-panel-input-select-item.js.map +1 -1
  333. package/es/components/filter-panel/filter-panel-input-select.js +3 -4
  334. package/es/components/filter-panel/filter-panel-input-select.js.map +1 -1
  335. package/es/components/filter-panel/filter-panel-modal.js +1 -2
  336. package/es/components/filter-panel/filter-panel-modal.js.map +1 -1
  337. package/es/components/filter-panel/filter-panel.css.js +1 -1
  338. package/es/components/filter-panel/filter-panel.js +1 -2
  339. package/es/components/filter-panel/filter-panel.js.map +1 -1
  340. package/es/components/filter-panel/filter-panel.rtl.css.js +1 -1
  341. package/es/components/footer/combo-box.d.ts +2 -2
  342. package/es/components/footer/combo-box.d.ts.map +1 -1
  343. package/es/components/footer/combo-box.js +6 -6
  344. package/es/components/footer/combo-box.js.map +1 -1
  345. package/es/components/footer/defs.js +1 -7
  346. package/es/components/footer/defs.js.map +1 -1
  347. package/es/components/footer/dropdown.js +1 -2
  348. package/es/components/footer/dropdown.js.map +1 -1
  349. package/es/components/footer/footer-composite.d.ts +13 -17
  350. package/es/components/footer/footer-composite.d.ts.map +1 -1
  351. package/es/components/footer/footer-composite.js +79 -48
  352. package/es/components/footer/footer-composite.js.map +1 -1
  353. package/es/components/footer/footer-container.js +3 -4
  354. package/es/components/footer/footer-container.js.map +1 -1
  355. package/es/components/footer/footer-logo.js +1 -2
  356. package/es/components/footer/footer-logo.js.map +1 -1
  357. package/es/components/footer/footer-nav-group.js +3 -4
  358. package/es/components/footer/footer-nav-group.js.map +1 -1
  359. package/es/components/footer/footer-nav-item.js +1 -2
  360. package/es/components/footer/footer-nav-item.js.map +1 -1
  361. package/es/components/footer/footer-nav.js +1 -2
  362. package/es/components/footer/footer-nav.js.map +1 -1
  363. package/es/components/footer/footer.js +1 -2
  364. package/es/components/footer/footer.js.map +1 -1
  365. package/es/components/footer/language-selector-desktop.d.ts +367 -0
  366. package/es/components/footer/language-selector-desktop.d.ts.map +1 -1
  367. package/es/components/footer/language-selector-desktop.js +2 -5
  368. package/es/components/footer/language-selector-desktop.js.map +1 -1
  369. package/es/components/footer/language-selector-mobile.d.ts +14 -0
  370. package/es/components/footer/language-selector-mobile.d.ts.map +1 -1
  371. package/es/components/footer/language-selector-mobile.js +1 -3
  372. package/es/components/footer/language-selector-mobile.js.map +1 -1
  373. package/es/components/footer/legal-nav-cookie-preferences-placeholder.js +1 -2
  374. package/es/components/footer/legal-nav-cookie-preferences-placeholder.js.map +1 -1
  375. package/es/components/footer/legal-nav-item.js +1 -2
  376. package/es/components/footer/legal-nav-item.js.map +1 -1
  377. package/es/components/footer/legal-nav.js +1 -2
  378. package/es/components/footer/legal-nav.js.map +1 -1
  379. package/es/components/footer/locale-button.js +1 -2
  380. package/es/components/footer/locale-button.js.map +1 -1
  381. package/es/components/horizontal-rule/defs.js +0 -4
  382. package/es/components/horizontal-rule/defs.js.map +1 -1
  383. package/es/components/horizontal-rule/horizontal-rule.js +1 -2
  384. package/es/components/horizontal-rule/horizontal-rule.js.map +1 -1
  385. package/es/components/image/image-item.js +1 -2
  386. package/es/components/image/image-item.js.map +1 -1
  387. package/es/components/image/image.d.ts +2 -3
  388. package/es/components/image/image.d.ts.map +1 -1
  389. package/es/components/image/image.js +1 -2
  390. package/es/components/image/image.js.map +1 -1
  391. package/es/components/image-with-caption/image-with-caption.js +1 -2
  392. package/es/components/image-with-caption/image-with-caption.js.map +1 -1
  393. package/es/components/leadspace/breadcrumb-item.js +1 -2
  394. package/es/components/leadspace/breadcrumb-item.js.map +1 -1
  395. package/es/components/leadspace/breadcrumb-link.js +1 -2
  396. package/es/components/leadspace/breadcrumb-link.js.map +1 -1
  397. package/es/components/leadspace/breadcrumb.js +1 -2
  398. package/es/components/leadspace/breadcrumb.js.map +1 -1
  399. package/es/components/leadspace/defs.js +0 -3
  400. package/es/components/leadspace/defs.js.map +1 -1
  401. package/es/components/leadspace/leadspace-heading.js +1 -2
  402. package/es/components/leadspace/leadspace-heading.js.map +1 -1
  403. package/es/components/leadspace/leadspace-image.js +1 -2
  404. package/es/components/leadspace/leadspace-image.js.map +1 -1
  405. package/es/components/leadspace/leadspace.js +1 -2
  406. package/es/components/leadspace/leadspace.js.map +1 -1
  407. package/es/components/leadspace-block/leadspace-block-content.js +1 -2
  408. package/es/components/leadspace-block/leadspace-block-content.js.map +1 -1
  409. package/es/components/leadspace-block/leadspace-block-cta.js +1 -2
  410. package/es/components/leadspace-block/leadspace-block-cta.js.map +1 -1
  411. package/es/components/leadspace-block/leadspace-block-heading.js +1 -2
  412. package/es/components/leadspace-block/leadspace-block-heading.js.map +1 -1
  413. package/es/components/leadspace-block/leadspace-block-media.js +1 -2
  414. package/es/components/leadspace-block/leadspace-block-media.js.map +1 -1
  415. package/es/components/leadspace-block/leadspace-block.js +1 -2
  416. package/es/components/leadspace-block/leadspace-block.js.map +1 -1
  417. package/es/components/leadspace-with-search/defs.js +0 -1
  418. package/es/components/leadspace-with-search/defs.js.map +1 -1
  419. package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js +1 -2
  420. package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js.map +1 -1
  421. package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js +1 -2
  422. package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js.map +1 -1
  423. package/es/components/leadspace-with-search/leadspace-with-search-content.js +1 -2
  424. package/es/components/leadspace-with-search/leadspace-with-search-content.js.map +1 -1
  425. package/es/components/leadspace-with-search/leadspace-with-search-heading.js +1 -2
  426. package/es/components/leadspace-with-search/leadspace-with-search-heading.js.map +1 -1
  427. package/es/components/leadspace-with-search/leadspace-with-search.js +1 -2
  428. package/es/components/leadspace-with-search/leadspace-with-search.js.map +1 -1
  429. package/es/components/leaving-ibm/leaving-ibm-composite.d.ts +1 -0
  430. package/es/components/leaving-ibm/leaving-ibm-composite.d.ts.map +1 -1
  431. package/es/components/leaving-ibm/leaving-ibm-composite.js +4 -5
  432. package/es/components/leaving-ibm/leaving-ibm-composite.js.map +1 -1
  433. package/es/components/leaving-ibm/leaving-ibm-connect.js +3 -3
  434. package/es/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
  435. package/es/components/leaving-ibm/leaving-ibm-container.js +1 -2
  436. package/es/components/leaving-ibm/leaving-ibm-container.js.map +1 -1
  437. package/es/components/leaving-ibm/leaving-ibm-modal-body.js +1 -2
  438. package/es/components/leaving-ibm/leaving-ibm-modal-body.js.map +1 -1
  439. package/es/components/leaving-ibm/leaving-ibm-modal-heading.js +1 -2
  440. package/es/components/leaving-ibm/leaving-ibm-modal-heading.js.map +1 -1
  441. package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js +1 -2
  442. package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js.map +1 -1
  443. package/es/components/leaving-ibm/leaving-ibm-modal.js +3 -4
  444. package/es/components/leaving-ibm/leaving-ibm-modal.js.map +1 -1
  445. package/es/components/lightbox-media-viewer/lightbox-image-viewer.js +1 -2
  446. package/es/components/lightbox-media-viewer/lightbox-image-viewer.js.map +1 -1
  447. package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js +1 -2
  448. package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js.map +1 -1
  449. package/es/components/lightbox-media-viewer/lightbox-media-viewer.js +1 -2
  450. package/es/components/lightbox-media-viewer/lightbox-media-viewer.js.map +1 -1
  451. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts +1 -0
  452. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts.map +1 -1
  453. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js +8 -9
  454. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js.map +1 -1
  455. package/es/components/lightbox-media-viewer/lightbox-video-player-container.js +1 -2
  456. package/es/components/lightbox-media-viewer/lightbox-video-player-container.js.map +1 -1
  457. package/es/components/lightbox-media-viewer/lightbox-video-player.js +1 -2
  458. package/es/components/lightbox-media-viewer/lightbox-video-player.js.map +1 -1
  459. package/es/components/link-list/defs.js +0 -2
  460. package/es/components/link-list/defs.js.map +1 -1
  461. package/es/components/link-list/link-list-heading.js +1 -2
  462. package/es/components/link-list/link-list-heading.js.map +1 -1
  463. package/es/components/link-list/link-list-item-card.js +1 -2
  464. package/es/components/link-list/link-list-item-card.js.map +1 -1
  465. package/es/components/link-list/link-list-item.js +1 -2
  466. package/es/components/link-list/link-list-item.js.map +1 -1
  467. package/es/components/link-list/link-list.js +1 -3
  468. package/es/components/link-list/link-list.js.map +1 -1
  469. package/es/components/link-list-section/link-list-section.js +1 -2
  470. package/es/components/link-list-section/link-list-section.js.map +1 -1
  471. package/es/components/link-with-icon/link-with-icon.js +3 -4
  472. package/es/components/link-with-icon/link-with-icon.js.map +1 -1
  473. package/es/components/locale-modal/locale-item.js +1 -2
  474. package/es/components/locale-modal/locale-item.js.map +1 -1
  475. package/es/components/locale-modal/locale-modal-composite.d.ts +337 -17
  476. package/es/components/locale-modal/locale-modal-composite.d.ts.map +1 -1
  477. package/es/components/locale-modal/locale-modal-composite.js +50 -28
  478. package/es/components/locale-modal/locale-modal-composite.js.map +1 -1
  479. package/es/components/locale-modal/locale-modal-container.js +1 -2
  480. package/es/components/locale-modal/locale-modal-container.js.map +1 -1
  481. package/es/components/locale-modal/locale-modal.d.ts +13 -1
  482. package/es/components/locale-modal/locale-modal.d.ts.map +1 -1
  483. package/es/components/locale-modal/locale-modal.js +102 -28
  484. package/es/components/locale-modal/locale-modal.js.map +1 -1
  485. package/es/components/locale-modal/locale-search.d.ts +3 -0
  486. package/es/components/locale-modal/locale-search.d.ts.map +1 -1
  487. package/es/components/locale-modal/locale-search.js +2 -5
  488. package/es/components/locale-modal/locale-search.js.map +1 -1
  489. package/es/components/locale-modal/region-item.js +1 -2
  490. package/es/components/locale-modal/region-item.js.map +1 -1
  491. package/es/components/locale-modal/regions.js +1 -2
  492. package/es/components/locale-modal/regions.js.map +1 -1
  493. package/es/components/logo-grid/logo-grid-item.js +1 -2
  494. package/es/components/logo-grid/logo-grid-item.js.map +1 -1
  495. package/es/components/logo-grid/logo-grid-link.js +1 -2
  496. package/es/components/logo-grid/logo-grid-link.js.map +1 -1
  497. package/es/components/logo-grid/logo-grid.js +1 -2
  498. package/es/components/logo-grid/logo-grid.js.map +1 -1
  499. package/es/components/markdown/markdown.js +1 -2
  500. package/es/components/markdown/markdown.js.map +1 -1
  501. package/es/components/masthead/cloud/cloud-button-cta.js +1 -2
  502. package/es/components/masthead/cloud/cloud-button-cta.js.map +1 -1
  503. package/es/components/masthead/cloud/cloud-left-nav-item.js +1 -2
  504. package/es/components/masthead/cloud/cloud-left-nav-item.js.map +1 -1
  505. package/es/components/masthead/cloud/cloud-masthead-composite.js +11 -12
  506. package/es/components/masthead/cloud/cloud-masthead-composite.js.map +1 -1
  507. package/es/components/masthead/cloud/cloud-masthead-container.js +9 -10
  508. package/es/components/masthead/cloud/cloud-masthead-container.js.map +1 -1
  509. package/es/components/masthead/cloud/cloud-masthead-global-bar.js +1 -2
  510. package/es/components/masthead/cloud/cloud-masthead-global-bar.js.map +1 -1
  511. package/es/components/masthead/cloud/cloud-masthead-profile.js +1 -2
  512. package/es/components/masthead/cloud/cloud-masthead-profile.js.map +1 -1
  513. package/es/components/masthead/cloud/cloud-masthead.css.js +1 -1
  514. package/es/components/masthead/cloud/cloud-masthead.rtl.css.js +1 -1
  515. package/es/components/masthead/cloud/cloud-megamenu-category-heading.js +1 -2
  516. package/es/components/masthead/cloud/cloud-megamenu-category-heading.js.map +1 -1
  517. package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js +1 -2
  518. package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js.map +1 -1
  519. package/es/components/masthead/cloud/cloud-megamenu-category-link.js +1 -2
  520. package/es/components/masthead/cloud/cloud-megamenu-category-link.js.map +1 -1
  521. package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js +1 -2
  522. package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js.map +1 -1
  523. package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js +1 -2
  524. package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js.map +1 -1
  525. package/es/components/masthead/cloud/cloud-megamenu-tab.js +1 -2
  526. package/es/components/masthead/cloud/cloud-megamenu-tab.js.map +1 -1
  527. package/es/components/masthead/cloud/cloud-megamenu-tabs.js +1 -2
  528. package/es/components/masthead/cloud/cloud-megamenu-tabs.js.map +1 -1
  529. package/es/components/masthead/cloud/cloud-megamenu.js +1 -2
  530. package/es/components/masthead/cloud/cloud-megamenu.js.map +1 -1
  531. package/es/components/masthead/cloud/cloud-top-nav-name.js +1 -2
  532. package/es/components/masthead/cloud/cloud-top-nav-name.js.map +1 -1
  533. package/es/components/masthead/defs.js +0 -2
  534. package/es/components/masthead/defs.js.map +1 -1
  535. package/es/components/masthead/left-nav-item.js +1 -2
  536. package/es/components/masthead/left-nav-item.js.map +1 -1
  537. package/es/components/masthead/left-nav-menu-category-heading.js +1 -2
  538. package/es/components/masthead/left-nav-menu-category-heading.js.map +1 -1
  539. package/es/components/masthead/left-nav-menu-item.js +1 -2
  540. package/es/components/masthead/left-nav-menu-item.js.map +1 -1
  541. package/es/components/masthead/left-nav-menu-section.js +1 -2
  542. package/es/components/masthead/left-nav-menu-section.js.map +1 -1
  543. package/es/components/masthead/left-nav-menu.js +1 -2
  544. package/es/components/masthead/left-nav-menu.js.map +1 -1
  545. package/es/components/masthead/left-nav-name.js +1 -2
  546. package/es/components/masthead/left-nav-name.js.map +1 -1
  547. package/es/components/masthead/left-nav-overlay.js +1 -2
  548. package/es/components/masthead/left-nav-overlay.js.map +1 -1
  549. package/es/components/masthead/left-nav.js +7 -8
  550. package/es/components/masthead/left-nav.js.map +1 -1
  551. package/es/components/masthead/masthead-composite.js +22 -24
  552. package/es/components/masthead/masthead-composite.js.map +1 -1
  553. package/es/components/masthead/masthead-container.js +6 -7
  554. package/es/components/masthead/masthead-container.js.map +1 -1
  555. package/es/components/masthead/masthead-global-bar.js +1 -2
  556. package/es/components/masthead/masthead-global-bar.js.map +1 -1
  557. package/es/components/masthead/masthead-l1-name.js +1 -2
  558. package/es/components/masthead/masthead-l1-name.js.map +1 -1
  559. package/es/components/masthead/masthead-l1.js +1 -2
  560. package/es/components/masthead/masthead-l1.js.map +1 -1
  561. package/es/components/masthead/masthead-logo.js +1 -2
  562. package/es/components/masthead/masthead-logo.js.map +1 -1
  563. package/es/components/masthead/masthead-menu-button.js +1 -2
  564. package/es/components/masthead/masthead-menu-button.js.map +1 -1
  565. package/es/components/masthead/masthead-profile-item.js +2 -3
  566. package/es/components/masthead/masthead-profile-item.js.map +1 -1
  567. package/es/components/masthead/masthead-profile.js +1 -2
  568. package/es/components/masthead/masthead-profile.js.map +1 -1
  569. package/es/components/masthead/masthead.js +1 -2
  570. package/es/components/masthead/masthead.js.map +1 -1
  571. package/es/components/masthead/megamenu-category-group-copy.js +1 -2
  572. package/es/components/masthead/megamenu-category-group-copy.js.map +1 -1
  573. package/es/components/masthead/megamenu-category-group.js +1 -2
  574. package/es/components/masthead/megamenu-category-group.js.map +1 -1
  575. package/es/components/masthead/megamenu-category-link.js +1 -2
  576. package/es/components/masthead/megamenu-category-link.js.map +1 -1
  577. package/es/components/masthead/megamenu-left-navigation.js +1 -2
  578. package/es/components/masthead/megamenu-left-navigation.js.map +1 -1
  579. package/es/components/masthead/megamenu-link-with-icon.js +1 -2
  580. package/es/components/masthead/megamenu-link-with-icon.js.map +1 -1
  581. package/es/components/masthead/megamenu-overlay.js +1 -2
  582. package/es/components/masthead/megamenu-overlay.js.map +1 -1
  583. package/es/components/masthead/megamenu-right-navigation.js +1 -2
  584. package/es/components/masthead/megamenu-right-navigation.js.map +1 -1
  585. package/es/components/masthead/megamenu-top-nav-menu.js +3 -4
  586. package/es/components/masthead/megamenu-top-nav-menu.js.map +1 -1
  587. package/es/components/masthead/megamenu.js +1 -2
  588. package/es/components/masthead/megamenu.js.map +1 -1
  589. package/es/components/masthead/skip-to-content.js +1 -2
  590. package/es/components/masthead/skip-to-content.js.map +1 -1
  591. package/es/components/masthead/top-nav-item.js +2 -3
  592. package/es/components/masthead/top-nav-item.js.map +1 -1
  593. package/es/components/masthead/top-nav-l1.js +1 -2
  594. package/es/components/masthead/top-nav-l1.js.map +1 -1
  595. package/es/components/masthead/top-nav-menu-item.js +2 -3
  596. package/es/components/masthead/top-nav-menu-item.js.map +1 -1
  597. package/es/components/masthead/top-nav-menu.js +2 -3
  598. package/es/components/masthead/top-nav-menu.js.map +1 -1
  599. package/es/components/masthead/top-nav-name.js +1 -2
  600. package/es/components/masthead/top-nav-name.js.map +1 -1
  601. package/es/components/masthead/top-nav.d.ts.map +1 -1
  602. package/es/components/masthead/top-nav.js +2 -3
  603. package/es/components/masthead/top-nav.js.map +1 -1
  604. package/es/components/notice-choice/cc-lc-map.js +1 -2
  605. package/es/components/notice-choice/cc-lc-map.js.map +1 -1
  606. package/es/components/notice-choice/country-settings.js +1 -2
  607. package/es/components/notice-choice/country-settings.js.map +1 -1
  608. package/es/components/notice-choice/notice-choice.d.ts +5 -1
  609. package/es/components/notice-choice/notice-choice.d.ts.map +1 -1
  610. package/es/components/notice-choice/notice-choice.js +38 -10
  611. package/es/components/notice-choice/notice-choice.js.map +1 -1
  612. package/es/components/notice-choice/utils.d.ts +1 -0
  613. package/es/components/notice-choice/utils.d.ts.map +1 -1
  614. package/es/components/notice-choice/utils.js +10 -4
  615. package/es/components/notice-choice/utils.js.map +1 -1
  616. package/es/components/notice-choice/world-wide-content.js +1 -2
  617. package/es/components/notice-choice/world-wide-content.js.map +1 -1
  618. package/es/components/pictogram-item/defs.js +0 -1
  619. package/es/components/pictogram-item/defs.js.map +1 -1
  620. package/es/components/pictogram-item/pictogram-item.js +1 -2
  621. package/es/components/pictogram-item/pictogram-item.js.map +1 -1
  622. package/es/components/pricing-table/defs.js +0 -1
  623. package/es/components/pricing-table/defs.js.map +1 -1
  624. package/es/components/pricing-table/pricing-table-annotation-toggle.js +1 -2
  625. package/es/components/pricing-table/pricing-table-annotation-toggle.js.map +1 -1
  626. package/es/components/pricing-table/pricing-table-body.js +1 -2
  627. package/es/components/pricing-table/pricing-table-body.js.map +1 -1
  628. package/es/components/pricing-table/pricing-table-cell-annotation.js +1 -2
  629. package/es/components/pricing-table/pricing-table-cell-annotation.js.map +1 -1
  630. package/es/components/pricing-table/pricing-table-cell.js +2 -3
  631. package/es/components/pricing-table/pricing-table-cell.js.map +1 -1
  632. package/es/components/pricing-table/pricing-table-group.js +1 -2
  633. package/es/components/pricing-table/pricing-table-group.js.map +1 -1
  634. package/es/components/pricing-table/pricing-table-head.js +1 -2
  635. package/es/components/pricing-table/pricing-table-head.js.map +1 -1
  636. package/es/components/pricing-table/pricing-table-header-cell-caption.js +1 -2
  637. package/es/components/pricing-table/pricing-table-header-cell-caption.js.map +1 -1
  638. package/es/components/pricing-table/pricing-table-header-cell-cta.js +1 -2
  639. package/es/components/pricing-table/pricing-table-header-cell-cta.js.map +1 -1
  640. package/es/components/pricing-table/pricing-table-header-cell-description.js +1 -2
  641. package/es/components/pricing-table/pricing-table-header-cell-description.js.map +1 -1
  642. package/es/components/pricing-table/pricing-table-header-cell-headline.js +1 -2
  643. package/es/components/pricing-table/pricing-table-header-cell-headline.js.map +1 -1
  644. package/es/components/pricing-table/pricing-table-header-cell-tag.js +1 -2
  645. package/es/components/pricing-table/pricing-table-header-cell-tag.js.map +1 -1
  646. package/es/components/pricing-table/pricing-table-header-cell.js +1 -2
  647. package/es/components/pricing-table/pricing-table-header-cell.js.map +1 -1
  648. package/es/components/pricing-table/pricing-table-header-row.js +1 -2
  649. package/es/components/pricing-table/pricing-table-header-row.js.map +1 -1
  650. package/es/components/pricing-table/pricing-table-highlight-label.js +1 -2
  651. package/es/components/pricing-table/pricing-table-highlight-label.js.map +1 -1
  652. package/es/components/pricing-table/pricing-table-row.js +1 -2
  653. package/es/components/pricing-table/pricing-table-row.js.map +1 -1
  654. package/es/components/pricing-table/pricing-table.js +2 -3
  655. package/es/components/pricing-table/pricing-table.js.map +1 -1
  656. package/es/components/pricing-table/utils.js +5 -10
  657. package/es/components/pricing-table/utils.js.map +1 -1
  658. package/es/components/quote/defs.js +0 -2
  659. package/es/components/quote/defs.js.map +1 -1
  660. package/es/components/quote/index.d.ts +2 -2
  661. package/es/components/quote/index.d.ts.map +1 -1
  662. package/es/components/quote/index.js +1 -1
  663. package/es/components/quote/index.js.map +1 -1
  664. package/es/components/quote/quote-link-with-icon.js +1 -2
  665. package/es/components/quote/quote-link-with-icon.js.map +1 -1
  666. package/es/components/quote/quote-source-bottom-copy.js +1 -2
  667. package/es/components/quote/quote-source-bottom-copy.js.map +1 -1
  668. package/es/components/quote/quote-source-copy.js +1 -2
  669. package/es/components/quote/quote-source-copy.js.map +1 -1
  670. package/es/components/quote/quote-source-heading.js +1 -2
  671. package/es/components/quote/quote-source-heading.js.map +1 -1
  672. package/es/components/quote/quote.js +1 -2
  673. package/es/components/quote/quote.js.map +1 -1
  674. package/es/components/scroll-animations/defs.js +0 -1
  675. package/es/components/scroll-animations/defs.js.map +1 -1
  676. package/es/components/scroll-animations/scroll-animations.js +5 -6
  677. package/es/components/scroll-animations/scroll-animations.js.map +1 -1
  678. package/es/components/search/search.js +3 -4
  679. package/es/components/search/search.js.map +1 -1
  680. package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js +1 -2
  681. package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js.map +1 -1
  682. package/es/components/search-with-typeahead/scoped-search-dropdown.js +3 -4
  683. package/es/components/search-with-typeahead/scoped-search-dropdown.js.map +1 -1
  684. package/es/components/search-with-typeahead/search-with-typeahead-item.js +1 -2
  685. package/es/components/search-with-typeahead/search-with-typeahead-item.js.map +1 -1
  686. package/es/components/search-with-typeahead/search-with-typeahead.js +16 -17
  687. package/es/components/search-with-typeahead/search-with-typeahead.js.map +1 -1
  688. package/es/components/structured-list/structured-list-body.js +1 -2
  689. package/es/components/structured-list/structured-list-body.js.map +1 -1
  690. package/es/components/structured-list/structured-list-cell.js +1 -2
  691. package/es/components/structured-list/structured-list-cell.js.map +1 -1
  692. package/es/components/structured-list/structured-list-group.js +1 -2
  693. package/es/components/structured-list/structured-list-group.js.map +1 -1
  694. package/es/components/structured-list/structured-list-head.js +1 -2
  695. package/es/components/structured-list/structured-list-head.js.map +1 -1
  696. package/es/components/structured-list/structured-list-header-cell.js +1 -2
  697. package/es/components/structured-list/structured-list-header-cell.js.map +1 -1
  698. package/es/components/structured-list/structured-list-header-row.js +1 -2
  699. package/es/components/structured-list/structured-list-header-row.js.map +1 -1
  700. package/es/components/structured-list/structured-list-row.js +1 -2
  701. package/es/components/structured-list/structured-list-row.js.map +1 -1
  702. package/es/components/structured-list/structured-list.js +1 -2
  703. package/es/components/structured-list/structured-list.js.map +1 -1
  704. package/es/components/table-of-contents/defs.js +0 -1
  705. package/es/components/table-of-contents/defs.js.map +1 -1
  706. package/es/components/table-of-contents/table-of-contents.js +2 -3
  707. package/es/components/table-of-contents/table-of-contents.js.map +1 -1
  708. package/es/components/tabs-extended/defs.js +0 -1
  709. package/es/components/tabs-extended/defs.js.map +1 -1
  710. package/es/components/tabs-extended/tab.js +3 -4
  711. package/es/components/tabs-extended/tab.js.map +1 -1
  712. package/es/components/tabs-extended/tabs-extended.js +3 -4
  713. package/es/components/tabs-extended/tabs-extended.js.map +1 -1
  714. package/es/components/tabs-extended-media/tabs-extended-media.js +1 -2
  715. package/es/components/tabs-extended-media/tabs-extended-media.js.map +1 -1
  716. package/es/components/tag-group/tag-group.js +3 -4
  717. package/es/components/tag-group/tag-group.js.map +1 -1
  718. package/es/components/tag-link/tag-link.js +1 -2
  719. package/es/components/tag-link/tag-link.js.map +1 -1
  720. package/es/components/universal-banner/universal-banner-copy.js +2 -3
  721. package/es/components/universal-banner/universal-banner-copy.js.map +1 -1
  722. package/es/components/universal-banner/universal-banner-heading.js +1 -2
  723. package/es/components/universal-banner/universal-banner-heading.js.map +1 -1
  724. package/es/components/universal-banner/universal-banner-image.js +1 -2
  725. package/es/components/universal-banner/universal-banner-image.js.map +1 -1
  726. package/es/components/universal-banner/universal-banner.js +1 -2
  727. package/es/components/universal-banner/universal-banner.js.map +1 -1
  728. package/es/components/video-player/defs.js +0 -2
  729. package/es/components/video-player/defs.js.map +1 -1
  730. package/es/components/video-player/video-player-composite.js +4 -5
  731. package/es/components/video-player/video-player-composite.js.map +1 -1
  732. package/es/components/video-player/video-player-container.js +6 -8
  733. package/es/components/video-player/video-player-container.js.map +1 -1
  734. package/es/components/video-player/video-player.d.ts.map +1 -1
  735. package/es/components/video-player/video-player.js +22 -5
  736. package/es/components/video-player/video-player.js.map +1 -1
  737. package/es/components-react/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
  738. package/es/components-react/dotcom-shell/dotcom-shell-composite.js +0 -8
  739. package/es/components-react/filter-panel/filter-panel-composite.d.ts +2 -7
  740. package/es/components-react/filter-panel/filter-panel-composite.js +3 -10
  741. package/es/components-react/filter-panel/filter-panel-input-select-item.d.ts +4 -0
  742. package/es/components-react/filter-panel/filter-panel-input-select-item.js +5 -0
  743. package/es/components-react/locale-modal/locale-modal-composite.d.ts +4 -0
  744. package/es/components-react/locale-modal/locale-modal-composite.js +5 -0
  745. package/es/globals/defs.js +0 -2
  746. package/es/globals/defs.js.map +1 -1
  747. package/es/globals/internal/collection-helpers.js +5 -10
  748. package/es/globals/internal/collection-helpers.js.map +1 -1
  749. package/es/globals/internal/feature-flags.js +7 -14
  750. package/es/globals/internal/feature-flags.js.map +1 -1
  751. package/es/globals/internal/storybook-cdn.js +3 -6
  752. package/es/globals/internal/storybook-cdn.js.map +1 -1
  753. package/es/globals/mixins/connect.js +1 -2
  754. package/es/globals/mixins/connect.js.map +1 -1
  755. package/es/globals/mixins/hybrid-render.js +1 -2
  756. package/es/globals/mixins/hybrid-render.js.map +1 -1
  757. package/es/globals/mixins/modal-render.d.ts +6 -1
  758. package/es/globals/mixins/modal-render.d.ts.map +1 -1
  759. package/es/globals/mixins/modal-render.js +21 -4
  760. package/es/globals/mixins/modal-render.js.map +1 -1
  761. package/es/globals/mixins/stable-selector.js +3 -4
  762. package/es/globals/mixins/stable-selector.js.map +1 -1
  763. package/es/globals/mixins/throttled-input.js +2 -3
  764. package/es/globals/mixins/throttled-input.js.map +1 -1
  765. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +6 -6
  766. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +19 -19
  767. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +6 -6
  768. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +6 -6
  769. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  770. package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +3 -3
  771. package/es/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +6 -6
  772. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
  773. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
  774. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +1 -1
  775. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +1 -1
  776. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +1 -1
  777. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +1 -1
  778. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  779. package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js +1 -1
  780. package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js.map +1 -1
  781. package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js +1 -1
  782. package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js.map +1 -1
  783. package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts +4 -5
  784. package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts.map +1 -1
  785. package/es/internal/vendor/@carbon/web-components/components/input/input.js +16 -35
  786. package/es/internal/vendor/@carbon/web-components/components/input/input.js.map +1 -1
  787. package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts +7 -15
  788. package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts.map +1 -1
  789. package/es/internal/vendor/@carbon/web-components/components/link/link.js +6 -6
  790. package/es/internal/vendor/@carbon/web-components/components/link/link.js.map +1 -1
  791. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js +1 -1
  792. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js.map +1 -1
  793. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js +1 -1
  794. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js.map +1 -1
  795. package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js +1 -1
  796. package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js.map +1 -1
  797. package/es/internal/vendor/@carbon/web-components/components/slider/slider.js +1 -1
  798. package/es/internal/vendor/@carbon/web-components/components/slider/slider.js.map +1 -1
  799. package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js +1 -1
  800. package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js.map +1 -1
  801. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts +8 -0
  802. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts.map +1 -1
  803. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js +28 -4
  804. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js.map +1 -1
  805. package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js +2 -2
  806. package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js.map +1 -1
  807. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js +1 -1
  808. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js.map +1 -1
  809. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts +1 -0
  810. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts.map +1 -1
  811. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js +11 -0
  812. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js.map +1 -1
  813. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js +1 -1
  814. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js.map +1 -1
  815. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js +1 -1
  816. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js.map +1 -1
  817. package/es/internal/vendor/@carbon/web-components/components-react/input/input.d.ts +4 -4
  818. package/es/internal/vendor/@carbon/web-components/components-react/input/input.js +2 -2
  819. package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.d.ts +4 -0
  820. package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.js +2 -0
  821. package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +2 -1
  822. package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
  823. package/lib/components/background-media/defs.js +2 -4
  824. package/lib/components/background-media/defs.js.map +1 -1
  825. package/lib/components/button/defs.js +3 -6
  826. package/lib/components/button/defs.js.map +1 -1
  827. package/lib/components/card/defs.js +2 -4
  828. package/lib/components/card/defs.js.map +1 -1
  829. package/lib/components/card-group/defs.js +1 -2
  830. package/lib/components/card-group/defs.js.map +1 -1
  831. package/lib/components/content-block/defs.js +2 -4
  832. package/lib/components/content-block/defs.js.map +1 -1
  833. package/lib/components/content-item-horizontal/defs.js +2 -4
  834. package/lib/components/content-item-horizontal/defs.js.map +1 -1
  835. package/lib/components/cta/defs.js +2 -4
  836. package/lib/components/cta/defs.js.map +1 -1
  837. package/lib/components/expressive-modal/defs.js +2 -4
  838. package/lib/components/expressive-modal/defs.js.map +1 -1
  839. package/lib/components/feature-section/defs.js +1 -2
  840. package/lib/components/feature-section/defs.js.map +1 -1
  841. package/lib/components/horizontal-rule/defs.js +4 -8
  842. package/lib/components/horizontal-rule/defs.js.map +1 -1
  843. package/lib/components/leadspace/defs.js +3 -6
  844. package/lib/components/leadspace/defs.js.map +1 -1
  845. package/lib/components/leadspace-with-search/defs.js +1 -2
  846. package/lib/components/leadspace-with-search/defs.js.map +1 -1
  847. package/lib/components/leaving-ibm/leaving-ibm-connect.js +3 -3
  848. package/lib/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
  849. package/lib/components/link-list/defs.js +2 -4
  850. package/lib/components/link-list/defs.js.map +1 -1
  851. package/lib/components/pictogram-item/defs.js +1 -2
  852. package/lib/components/pictogram-item/defs.js.map +1 -1
  853. package/lib/components/quote/defs.js +2 -4
  854. package/lib/components/quote/defs.js.map +1 -1
  855. package/lib/components/table-of-contents/defs.js +1 -2
  856. package/lib/components/table-of-contents/defs.js.map +1 -1
  857. package/lib/components/tabs-extended/defs.js +1 -2
  858. package/lib/components/tabs-extended/defs.js.map +1 -1
  859. package/lib/components/video-player/defs.js +2 -4
  860. package/lib/components/video-player/defs.js.map +1 -1
  861. package/lib/components-react-node/back-to-top/back-to-top.js +25 -45
  862. package/lib/components-react-node/background-media/background-media.js +5 -8
  863. package/lib/components-react-node/button/button.js +25 -45
  864. package/lib/components-react-node/button-group/button-group-item.js +7 -6
  865. package/lib/components-react-node/button-group/button-group.js +3 -6
  866. package/lib/components-react-node/callout-quote/callout-link-with-icon.js +7 -6
  867. package/lib/components-react-node/callout-quote/callout-quote.js +7 -6
  868. package/lib/components-react-node/callout-with-media/callout-with-media-copy.js +7 -6
  869. package/lib/components-react-node/callout-with-media/callout-with-media-image.js +5 -8
  870. package/lib/components-react-node/callout-with-media/callout-with-media-video.js +10 -9
  871. package/lib/components-react-node/callout-with-media/callout-with-media.js +7 -6
  872. package/lib/components-react-node/card/card-eyebrow.js +5 -8
  873. package/lib/components-react-node/card/card-footer.js +40 -56
  874. package/lib/components-react-node/card/card-heading.js +5 -8
  875. package/lib/components-react-node/card/card.js +25 -45
  876. package/lib/components-react-node/card/image-logo.js +7 -6
  877. package/lib/components-react-node/card-group/card-group-card-link-item.js +38 -54
  878. package/lib/components-react-node/card-group/card-group-item.js +25 -45
  879. package/lib/components-react-node/card-group/card-group.js +25 -45
  880. package/lib/components-react-node/card-in-card/card-in-card-image.js +7 -6
  881. package/lib/components-react-node/card-in-card/card-in-card.js +7 -6
  882. package/lib/components-react-node/card-link/card-link-heading.js +7 -6
  883. package/lib/components-react-node/card-link/card-link.js +25 -45
  884. package/lib/components-react-node/card-section-carousel/card-section-carousel.js +7 -6
  885. package/lib/components-react-node/card-section-offset/card-section-offset.js +7 -6
  886. package/lib/components-react-node/card-section-simple/card-section-simple.js +7 -6
  887. package/lib/components-react-node/carousel/carousel.js +25 -45
  888. package/lib/components-react-node/content-block/content-block-complementary.js +5 -8
  889. package/lib/components-react-node/content-block/content-block-copy.js +5 -8
  890. package/lib/components-react-node/content-block/content-block-heading.js +5 -8
  891. package/lib/components-react-node/content-block/content-block-paragraph.js +3 -6
  892. package/lib/components-react-node/content-block/content-block.js +5 -8
  893. package/lib/components-react-node/content-block-cards/content-block-cards.js +7 -6
  894. package/lib/components-react-node/content-block-horizontal/content-block-horizontal.js +33 -49
  895. package/lib/components-react-node/content-block-media/content-block-media-content.js +7 -6
  896. package/lib/components-react-node/content-block-media/content-block-media.js +7 -6
  897. package/lib/components-react-node/content-block-mixed/content-block-mixed.js +7 -6
  898. package/lib/components-react-node/content-block-segmented/content-block-segmented-item.js +7 -6
  899. package/lib/components-react-node/content-block-segmented/content-block-segmented.js +7 -6
  900. package/lib/components-react-node/content-block-simple/content-block-simple.js +7 -6
  901. package/lib/components-react-node/content-group/content-group-copy.js +5 -8
  902. package/lib/components-react-node/content-group/content-group-heading.js +5 -8
  903. package/lib/components-react-node/content-group/content-group-paragraph.js +3 -6
  904. package/lib/components-react-node/content-group/content-group.js +7 -6
  905. package/lib/components-react-node/content-group-banner/content-group-banner.js +7 -6
  906. package/lib/components-react-node/content-group-cards/content-group-cards-item.js +3 -6
  907. package/lib/components-react-node/content-group-cards/content-group-cards.js +7 -6
  908. package/lib/components-react-node/content-group-pictograms/content-group-pictograms.js +7 -6
  909. package/lib/components-react-node/content-group-simple/content-group-simple.js +7 -6
  910. package/lib/components-react-node/content-item/content-item-copy.js +7 -6
  911. package/lib/components-react-node/content-item/content-item-heading.js +5 -8
  912. package/lib/components-react-node/content-item/content-item-paragraph.js +3 -6
  913. package/lib/components-react-node/content-item/content-item.js +3 -6
  914. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-copy.js +7 -6
  915. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-eyebrow.js +5 -8
  916. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-copy.js +7 -6
  917. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-featured.js +7 -6
  918. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-video.js +10 -9
  919. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media.js +10 -9
  920. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +7 -6
  921. package/lib/components-react-node/content-item-horizontal/content-item-horizontal.js +32 -48
  922. package/lib/components-react-node/content-section/content-section-copy.js +5 -8
  923. package/lib/components-react-node/content-section/content-section-heading.js +5 -8
  924. package/lib/components-react-node/content-section/content-section.js +5 -8
  925. package/lib/components-react-node/cta/button-cta.js +48 -64
  926. package/lib/components-react-node/cta/card-cta-footer.js +46 -62
  927. package/lib/components-react-node/cta/card-cta-image.js +7 -6
  928. package/lib/components-react-node/cta/card-cta.js +25 -45
  929. package/lib/components-react-node/cta/card-link-cta.js +25 -45
  930. package/lib/components-react-node/cta/cta.js +5 -8
  931. package/lib/components-react-node/cta/feature-cta-footer.js +45 -61
  932. package/lib/components-react-node/cta/feature-cta.js +58 -74
  933. package/lib/components-react-node/cta/link-list-item-card-cta.js +7 -6
  934. package/lib/components-react-node/cta/link-list-item-cta.js +7 -6
  935. package/lib/components-react-node/cta/text-cta.js +48 -64
  936. package/lib/components-react-node/cta/video-cta-composite.js +5 -8
  937. package/lib/components-react-node/cta/video-cta-container.js +7 -6
  938. package/lib/components-react-node/cta-block/cta-block-item-row.js +25 -45
  939. package/lib/components-react-node/cta-block/cta-block-item.js +7 -6
  940. package/lib/components-react-node/cta-block/cta-block.js +33 -49
  941. package/lib/components-react-node/cta-section/cta-section.js +12 -11
  942. package/lib/components-react-node/dotcom-shell/dotcom-shell-composite.js +25 -53
  943. package/lib/components-react-node/dotcom-shell/dotcom-shell-container.js +7 -6
  944. package/lib/components-react-node/dotcom-shell/dotcom-shell.js +3 -6
  945. package/lib/components-react-node/expressive-modal/expressive-modal-body.js +3 -6
  946. package/lib/components-react-node/expressive-modal/expressive-modal-close-button.js +5 -8
  947. package/lib/components-react-node/expressive-modal/expressive-modal-footer.js +5 -8
  948. package/lib/components-react-node/expressive-modal/expressive-modal-header.js +5 -8
  949. package/lib/components-react-node/expressive-modal/expressive-modal-heading.js +3 -6
  950. package/lib/components-react-node/expressive-modal/expressive-modal.js +25 -45
  951. package/lib/components-react-node/feature-card/feature-card-footer.js +7 -6
  952. package/lib/components-react-node/feature-card/feature-card.js +5 -8
  953. package/lib/components-react-node/feature-section/feature-section-card-link.js +7 -6
  954. package/lib/components-react-node/feature-section/feature-section.js +12 -11
  955. package/lib/components-react-node/filter-panel/filter-group-item.js +25 -45
  956. package/lib/components-react-node/filter-panel/filter-group.js +3 -6
  957. package/lib/components-react-node/filter-panel/filter-modal-button.js +3 -6
  958. package/lib/components-react-node/filter-panel/filter-modal-footer.js +3 -6
  959. package/lib/components-react-node/filter-panel/filter-modal-heading.js +3 -6
  960. package/lib/components-react-node/filter-panel/filter-panel-checkbox.js +5 -8
  961. package/lib/components-react-node/filter-panel/filter-panel-composite.js +28 -55
  962. package/lib/components-react-node/filter-panel/filter-panel-heading.js +5 -8
  963. package/lib/components-react-node/filter-panel/filter-panel-input-select-item.js +30 -45
  964. package/lib/components-react-node/filter-panel/filter-panel-input-select.js +25 -45
  965. package/lib/components-react-node/filter-panel/filter-panel-modal.js +41 -57
  966. package/lib/components-react-node/filter-panel/filter-panel.js +25 -45
  967. package/lib/components-react-node/footer/dropdown.js +5 -8
  968. package/lib/components-react-node/footer/footer-composite.js +25 -45
  969. package/lib/components-react-node/footer/footer-container.js +7 -6
  970. package/lib/components-react-node/horizontal-rule/horizontal-rule.js +5 -8
  971. package/lib/components-react-node/image/image-item.js +3 -6
  972. package/lib/components-react-node/image/image.js +25 -45
  973. package/lib/components-react-node/leadspace/breadcrumb-item.js +3 -6
  974. package/lib/components-react-node/leadspace/breadcrumb-link.js +3 -6
  975. package/lib/components-react-node/leadspace/breadcrumb.js +3 -6
  976. package/lib/components-react-node/leadspace/leadspace-heading.js +5 -8
  977. package/lib/components-react-node/leadspace/leadspace-image.js +7 -6
  978. package/lib/components-react-node/leadspace/leadspace.js +5 -8
  979. package/lib/components-react-node/leadspace-block/leadspace-block-content.js +7 -6
  980. package/lib/components-react-node/leadspace-block/leadspace-block-cta.js +7 -6
  981. package/lib/components-react-node/leadspace-block/leadspace-block-heading.js +7 -6
  982. package/lib/components-react-node/leadspace-block/leadspace-block-media.js +3 -6
  983. package/lib/components-react-node/leadspace-block/leadspace-block.js +3 -6
  984. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-copy.js +10 -9
  985. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-heading.js +7 -6
  986. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content.js +10 -9
  987. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-heading.js +7 -6
  988. package/lib/components-react-node/leadspace-with-search/leadspace-with-search.js +25 -45
  989. package/lib/components-react-node/leaving-ibm/leaving-ibm-composite.js +25 -45
  990. package/lib/components-react-node/leaving-ibm/leaving-ibm-container.js +7 -6
  991. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-body.js +5 -8
  992. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-heading.js +3 -6
  993. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-supplemental.js +5 -8
  994. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal.js +5 -8
  995. package/lib/components-react-node/lightbox-media-viewer/lightbox-image-viewer.js +15 -14
  996. package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer-body.js +2 -4
  997. package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer.js +24 -23
  998. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-composite.js +45 -61
  999. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-container.js +4 -7
  1000. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player.js +40 -56
  1001. package/lib/components-react-node/link-list/link-list-heading.js +5 -8
  1002. package/lib/components-react-node/link-list/link-list-item-card.js +7 -6
  1003. package/lib/components-react-node/link-list/link-list-item.js +33 -49
  1004. package/lib/components-react-node/link-list/link-list.js +5 -8
  1005. package/lib/components-react-node/link-list-section/link-list-section.js +7 -6
  1006. package/lib/components-react-node/link-with-icon/link-with-icon.js +25 -45
  1007. package/lib/components-react-node/locale-modal/locale-modal-composite.js +30 -45
  1008. package/lib/components-react-node/locale-modal/locale-modal-container.js +7 -6
  1009. package/lib/components-react-node/logo-grid/logo-grid-item.js +7 -6
  1010. package/lib/components-react-node/logo-grid/logo-grid-link.js +5 -8
  1011. package/lib/components-react-node/logo-grid/logo-grid.js +39 -55
  1012. package/lib/components-react-node/markdown/markdown.js +5 -8
  1013. package/lib/components-react-node/masthead/masthead-composite.js +25 -45
  1014. package/lib/components-react-node/masthead/masthead-container.js +7 -6
  1015. package/lib/components-react-node/masthead/masthead.js +3 -6
  1016. package/lib/components-react-node/pictogram-item/pictogram-item.js +12 -11
  1017. package/lib/components-react-node/quote/quote-link-with-icon.js +7 -6
  1018. package/lib/components-react-node/quote/quote-source-bottom-copy.js +5 -8
  1019. package/lib/components-react-node/quote/quote-source-copy.js +5 -8
  1020. package/lib/components-react-node/quote/quote-source-heading.js +5 -8
  1021. package/lib/components-react-node/quote/quote.js +5 -8
  1022. package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown-mobile.js +5 -8
  1023. package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown.js +5 -8
  1024. package/lib/components-react-node/search-with-typeahead/search-with-typeahead-item.js +25 -45
  1025. package/lib/components-react-node/search-with-typeahead/search-with-typeahead.js +25 -45
  1026. package/lib/components-react-node/structured-list/structured-list-body.js +3 -6
  1027. package/lib/components-react-node/structured-list/structured-list-cell.js +5 -8
  1028. package/lib/components-react-node/structured-list/structured-list-group.js +5 -8
  1029. package/lib/components-react-node/structured-list/structured-list-head.js +3 -6
  1030. package/lib/components-react-node/structured-list/structured-list-header-cell.js +3 -6
  1031. package/lib/components-react-node/structured-list/structured-list-header-row.js +3 -6
  1032. package/lib/components-react-node/structured-list/structured-list-row.js +3 -6
  1033. package/lib/components-react-node/structured-list/structured-list.js +3 -6
  1034. package/lib/components-react-node/table-of-contents/table-of-contents.js +25 -45
  1035. package/lib/components-react-node/tabs-extended/tab.js +25 -45
  1036. package/lib/components-react-node/tabs-extended/tabs-extended.js +5 -8
  1037. package/lib/components-react-node/tabs-extended-media/tabs-extended-media.js +12 -11
  1038. package/lib/components-react-node/tag-group/tag-group.js +3 -6
  1039. package/lib/components-react-node/tag-link/tag-link.js +5 -8
  1040. package/lib/components-react-node/universal-banner/universal-banner-copy.js +5 -8
  1041. package/lib/components-react-node/universal-banner/universal-banner-heading.js +5 -8
  1042. package/lib/components-react-node/universal-banner/universal-banner-image.js +7 -6
  1043. package/lib/components-react-node/universal-banner/universal-banner.js +25 -45
  1044. package/lib/components-react-node/video-player/video-player-composite.js +25 -45
  1045. package/lib/components-react-node/video-player/video-player-container.js +7 -6
  1046. package/lib/components-react-node/video-player/video-player.js +25 -45
  1047. package/lib/globals/defs.js +2 -4
  1048. package/lib/globals/defs.js.map +1 -1
  1049. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +7 -8
  1050. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
  1051. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
  1052. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
  1053. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
  1054. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
  1055. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +20 -21
  1056. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +7 -8
  1057. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
  1058. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
  1059. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +7 -8
  1060. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
  1061. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
  1062. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
  1063. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
  1064. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
  1065. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
  1066. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
  1067. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Analytics/Analytics.js +1 -2
  1068. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/CloudAccountAuth/CloudAccountAuth.js +1 -2
  1069. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/DDO/DDO.js +1 -2
  1070. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +9 -10
  1071. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +7 -8
  1072. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MarketingSearch/MarketingSearch.js +1 -2
  1073. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MastheadLogo/MastheadLogo.js +1 -2
  1074. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Profile/Profile.js +1 -2
  1075. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/SearchTypeahead/SearchTypeahead.js +1 -2
  1076. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Translation/Translation.js +1 -2
  1077. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/VideoPlayer/VideoPlayer.js +1 -2
  1078. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
  1079. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
  1080. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js +1 -2
  1081. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js.map +1 -1
  1082. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js +1 -2
  1083. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js.map +1 -1
  1084. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js +2 -4
  1085. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js.map +1 -1
  1086. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js +1 -2
  1087. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js.map +1 -1
  1088. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js +1 -2
  1089. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js.map +1 -1
  1090. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js +2 -4
  1091. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js.map +1 -1
  1092. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js +1 -2
  1093. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js.map +1 -1
  1094. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js +1 -2
  1095. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js.map +1 -1
  1096. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +2 -3
  1097. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
  1098. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
  1099. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
  1100. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
  1101. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
  1102. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +2 -3
  1103. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +2 -3
  1104. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
  1105. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
  1106. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +2 -3
  1107. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
  1108. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
  1109. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
  1110. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
  1111. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
  1112. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
  1113. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
  1114. package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js +2 -4
  1115. package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js.map +1 -1
  1116. package/lib/internal/vendor/@carbon/web-components/components/button/defs.js +3 -6
  1117. package/lib/internal/vendor/@carbon/web-components/components/button/defs.js.map +1 -1
  1118. package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js +1 -2
  1119. package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js.map +1 -1
  1120. package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js +2 -4
  1121. package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js.map +1 -1
  1122. package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js +5 -10
  1123. package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js.map +1 -1
  1124. package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js +2 -4
  1125. package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js.map +1 -1
  1126. package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js +4 -8
  1127. package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js.map +1 -1
  1128. package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js +2 -4
  1129. package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js.map +1 -1
  1130. package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js +4 -8
  1131. package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js.map +1 -1
  1132. package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js +1 -2
  1133. package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js.map +1 -1
  1134. package/lib/internal/vendor/@carbon/web-components/components/input/defs.js +2 -4
  1135. package/lib/internal/vendor/@carbon/web-components/components/input/defs.js.map +1 -1
  1136. package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js +1 -2
  1137. package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js.map +1 -1
  1138. package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js +1 -2
  1139. package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js.map +1 -1
  1140. package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js +2 -4
  1141. package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js.map +1 -1
  1142. package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js +1 -2
  1143. package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js.map +1 -1
  1144. package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js +2 -4
  1145. package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js.map +1 -1
  1146. package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js +1 -2
  1147. package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js.map +1 -1
  1148. package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js +2 -4
  1149. package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js.map +1 -1
  1150. package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js +1 -2
  1151. package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js.map +1 -1
  1152. package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js +3 -6
  1153. package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js.map +1 -1
  1154. package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js +2 -4
  1155. package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js.map +1 -1
  1156. package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js +1 -2
  1157. package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js.map +1 -1
  1158. package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js +2 -4
  1159. package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js.map +1 -1
  1160. package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js +2 -4
  1161. package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js.map +1 -1
  1162. package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion-item.js +25 -45
  1163. package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion.js +5 -8
  1164. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-item.js +3 -6
  1165. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-link.js +3 -6
  1166. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-overflow-menu.js +11 -6
  1167. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb.js +3 -6
  1168. package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button-skeleton.js +7 -6
  1169. package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button.js +25 -45
  1170. package/lib/internal/vendor/@carbon/web-components/components-react-node/checkbox/checkbox.js +25 -45
  1171. package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet-skeleton.js +5 -8
  1172. package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet.js +25 -45
  1173. package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box-item.js +11 -6
  1174. package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box.js +5 -8
  1175. package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher-item.js +25 -45
  1176. package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher.js +5 -8
  1177. package/lib/internal/vendor/@carbon/web-components/components-react-node/copy-button/copy-button.js +25 -45
  1178. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-batch-actions.js +25 -45
  1179. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-body.js +5 -8
  1180. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell-skeleton.js +11 -6
  1181. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell.js +3 -6
  1182. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expand-row.js +25 -45
  1183. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expanded-row.js +25 -45
  1184. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-head.js +3 -6
  1185. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell-skeleton.js +11 -6
  1186. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell.js +25 -45
  1187. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-expand-row.js +25 -20
  1188. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-row.js +5 -8
  1189. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-row.js +25 -45
  1190. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-content.js +25 -45
  1191. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-search.js +25 -45
  1192. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar.js +3 -6
  1193. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table.js +25 -45
  1194. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input-skeleton.js +5 -8
  1195. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input.js +25 -45
  1196. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker.js +25 -45
  1197. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-item.js +25 -45
  1198. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-skeleton.js +3 -6
  1199. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown.js +25 -45
  1200. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/drop-container.js +25 -45
  1201. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader-item.js +25 -45
  1202. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader.js +5 -8
  1203. package/lib/internal/vendor/@carbon/web-components/components-react-node/floating-menu/floating-menu.js +2 -4
  1204. package/lib/internal/vendor/@carbon/web-components/components-react-node/form/form-item.js +3 -6
  1205. package/lib/internal/vendor/@carbon/web-components/components-react-node/inline-loading/inline-loading.js +5 -8
  1206. package/lib/internal/vendor/@carbon/web-components/components-react-node/input/input.js +27 -47
  1207. package/lib/internal/vendor/@carbon/web-components/components-react-node/link/link.js +25 -45
  1208. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/list-item.js +25 -45
  1209. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/ordered-list.js +11 -6
  1210. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/unordered-list.js +25 -45
  1211. package/lib/internal/vendor/@carbon/web-components/components-react-node/loading/loading.js +25 -45
  1212. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-body.js +3 -6
  1213. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-close-button.js +5 -8
  1214. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer-button.js +7 -6
  1215. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer.js +3 -6
  1216. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-header.js +3 -6
  1217. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-heading.js +3 -6
  1218. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-label.js +3 -6
  1219. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal.js +25 -45
  1220. package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select-item.js +41 -53
  1221. package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select.js +25 -45
  1222. package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/inline-notification.js +25 -45
  1223. package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/toast-notification.js +15 -10
  1224. package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input-skeleton.js +25 -45
  1225. package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input.js +25 -45
  1226. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-body.js +45 -57
  1227. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-item.js +25 -45
  1228. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu.js +25 -45
  1229. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/page-sizes-select.js +25 -45
  1230. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pages-select.js +25 -45
  1231. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pagination.js +25 -45
  1232. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator-skeleton.js +25 -45
  1233. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator.js +25 -45
  1234. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step-skeleton.js +25 -45
  1235. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step.js +25 -45
  1236. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-group.js +25 -45
  1237. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-skeleton.js +3 -6
  1238. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button.js +25 -45
  1239. package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search-skeleton.js +5 -8
  1240. package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search.js +25 -45
  1241. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item-group.js +25 -45
  1242. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item.js +25 -45
  1243. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select.js +25 -45
  1244. package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-placeholder/skeleton-placeholder.js +3 -6
  1245. package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-text/skeleton-text.js +5 -8
  1246. package/lib/internal/vendor/@carbon/web-components/components-react-node/skip-to-content/skip-to-content.js +5 -8
  1247. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-input.js +25 -45
  1248. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-skeleton.js +3 -6
  1249. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider.js +25 -45
  1250. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-body.js +3 -6
  1251. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-cell.js +3 -6
  1252. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-head.js +3 -6
  1253. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell-skeleton.js +3 -6
  1254. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell.js +3 -6
  1255. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-row.js +5 -8
  1256. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-row.js +25 -45
  1257. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list.js +5 -8
  1258. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab-skeleton.js +3 -6
  1259. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab.js +41 -51
  1260. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs-skeleton.js +3 -6
  1261. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs.js +39 -34
  1262. package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/filter-tag.js +25 -45
  1263. package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/tag.js +25 -45
  1264. package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea-skeleton.js +3 -6
  1265. package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea.js +25 -45
  1266. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/clickable-tile.js +5 -8
  1267. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/expandable-tile.js +25 -45
  1268. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/radio-tile.js +11 -6
  1269. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/selectable-tile.js +25 -45
  1270. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile-group.js +3 -6
  1271. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile.js +5 -8
  1272. package/lib/internal/vendor/@carbon/web-components/components-react-node/toggle/toggle.js +5 -8
  1273. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-body.js +41 -53
  1274. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-definition.js +5 -8
  1275. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-footer.js +3 -6
  1276. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-icon.js +11 -6
  1277. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip.js +25 -45
  1278. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-button.js +25 -45
  1279. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-item.js +11 -6
  1280. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu.js +25 -45
  1281. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-name.js +5 -8
  1282. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav-item.js +5 -8
  1283. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav.js +5 -8
  1284. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header.js +3 -6
  1285. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-divider.js +3 -6
  1286. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-items.js +3 -6
  1287. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-link.js +25 -45
  1288. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu-item.js +25 -45
  1289. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu.js +25 -45
  1290. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav.js +25 -45
  1291. package/lib/internal/vendor/@carbon/web-components/globals/settings.js +1 -2
  1292. package/lib/internal/vendor/@carbon/web-components/globals/settings.js.map +1 -1
  1293. package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js +1 -2
  1294. package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js.map +1 -1
  1295. package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +3 -4
  1296. package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
  1297. package/package.json +17 -17
  1298. package/dist/left-nav-menu-item-28b39f86.js +0 -71
  1299. package/dist/left-nav-menu-item-38c7e8e5.js +0 -71
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -69,7 +76,7 @@
69
76
  */
70
77
 
71
78
  let process = { env: {} };
72
- import { L as LitElement, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-549e469b.js';
79
+ import { L as LitElement, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-728fb184.js';
73
80
 
74
81
  let _ = t => t,
75
82
  _t;
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -68,4 +75,4 @@
68
75
  * https://www.npmjs.com/package/axios
69
76
  */
70
77
 
71
- import{L as e,h as r,as as t,d as i,e as n}from"./masthead-composite-7be5e44a.js";let o,s=e=>e;function a(){a=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!d(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=u(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function l(e){var r,t=u(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function c(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function f(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function u(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:h}=n;let y=function(e,r,t,i){var n=a();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,p.elements)}),t),p=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(f(o.descriptor)||f(n.descriptor)){if(d(o)||d(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(d(o)){if(d(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}c(o,n)}else r.push(o)}return r}(s.d.map(l)),e);return n.initializeClassElements(s.F,p.elements),n.runClassFinishers(s.F,p.finishers)}([i(`${h}-megamenu-left-navigation`)],(function(e,i){return{F:class extends i{constructor(...r){super(...r),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(o||(o=s` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>t}]}}),e);export{y as default};
78
+ import{L as e,h as r,as as t,d as i,e as n}from"./masthead-composite-0c8215ba.js";let o,s=e=>e;function a(){a=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!d(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=u(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function l(e){var r,t=u(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function c(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function f(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function u(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:h}=n;let y=function(e,r,t,i){var n=a();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,p.elements)}),t),p=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(f(o.descriptor)||f(n.descriptor)){if(d(o)||d(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(d(o)){if(d(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}c(o,n)}else r.push(o)}return r}(s.d.map(l)),e);return n.initializeClassElements(s.F,p.elements),n.runClassFinishers(s.F,p.finishers)}([i(`${h}-megamenu-left-navigation`)],(function(e,i){return{F:class extends i{constructor(...r){super(...r),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(o||(o=s` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>t}]}}),e);export{y as default};
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -68,4 +75,4 @@
68
75
  * https://www.npmjs.com/package/axios
69
76
  */
70
77
 
71
- import{L as e,p as r,h as t,as as i,d as n,e as o}from"./masthead-composite-7be5e44a.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
78
+ import{L as e,p as r,h as t,as as i,d as n,e as o}from"./masthead-composite-0c8215ba.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -68,4 +75,4 @@
68
75
  * https://www.npmjs.com/package/axios
69
76
  */
70
77
 
71
- import{L as e,p as r,h as t,as as i,d as n,e as o}from"./masthead-composite-306b9aa2.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
78
+ import{L as e,p as r,h as t,as as i,d as n,e as o}from"./masthead-composite-6e631d9f.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){var r;if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -69,7 +76,7 @@
69
76
  */
70
77
 
71
78
  let process = { env: {} };
72
- import { L as LitElement, p as property, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-dfe1f02c.js';
79
+ import { L as LitElement, p as property, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-e2535116.js';
73
80
 
74
81
  let _ = t => t,
75
82
  _t;
@@ -39,6 +39,13 @@
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  *
42
+ * @carbon/motion:
43
+ *
44
+ * Copyright IBM Corp. 2018, 2023
45
+ *
46
+ * This source code is licensed under the Apache-2.0 license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *
42
49
  * js-cookie:
43
50
  *
44
51
  * JavaScript Cookie v2.2.1
@@ -69,7 +76,7 @@
69
76
  */
70
77
 
71
78
  let process = { env: {} };
72
- import { L as LitElement, p as property, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-549e469b.js';
79
+ import { L as LitElement, p as property, h as html, as as styles, d as carbonElement, e as settings } from './masthead-composite-728fb184.js';
73
80
 
74
81
  let _ = t => t,
75
82
  _t;
@@ -51,6 +51,5 @@ var DDSCalloutMixin = function DDSCalloutMixin(base) {
51
51
  return _class;
52
52
  }(base);
53
53
  };
54
- var _default = DDSCalloutMixin;
55
- exports["default"] = _default;
54
+ var _default = exports["default"] = DDSCalloutMixin;
56
55
  //# sourceMappingURL=callout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"callout.js","names":["_litElement","require","_settings","_interopRequireDefault","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","DDSCalloutMixin","base","_base","_inherits2","_class","_super","_classCallCheck2","_createClass2","key","value","render","html","_taggedTemplateLiteral2","_get2","_default","exports"],"sources":["component-mixins/callout/callout.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { html } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport { Constructor } from '../../globals/defs';\n\nconst { prefix } = settings;\n\n/**\n * Callout.\n *\n * @mixin dds-callout\n */\nconst DDSCalloutMixin = <T extends Constructor<HTMLElement>>(base: T) => {\n return class extends base {\n render() {\n return html`\n <div class=\"${prefix}--callout__column\">\n <div class=\"${prefix}--callout__content\">\n ${\n /* Declaring this mixin as it extends \\`LitElement\\` seems to cause a TS error\n // @ts-ignore */\n super.render()\n }\n </div>\n </div>\n `;\n }\n };\n};\n\nexport default DDSCalloutMixin;\n"],"mappings":";;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAmE,IAAAG,eAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA,sBATnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,IAAQC,MAAM,GAAKC,oBAAQ,CAAnBD,MAAM;;AAEd;AACA;AACA;AACA;AACA;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAwCC,IAAO,EAAK;EACvE,8BAAAC,KAAA;IAAA,IAAAC,UAAA,aAAAC,MAAA,EAAAF,KAAA;IAAA,IAAAG,MAAA,GAAA7B,YAAA,CAAA4B,MAAA;IAAA,SAAAA,OAAA;MAAA,IAAAE,gBAAA,mBAAAF,MAAA;MAAA,OAAAC,MAAA,CAAAhB,KAAA,OAAAD,SAAA;IAAA;IAAA,IAAAmB,aAAA,aAAAH,MAAA;MAAAI,GAAA;MAAAC,KAAA,EACE,SAAAC,OAAA,EAAS;QACP,WAAOC,gBAAI,EAAApC,eAAA,KAAAA,eAAA,OAAAqC,uBAAA,kLACKd,MAAM,EACJA,MAAM;QAEhB;AACd;QADc,IAAAe,KAAA,iBAAA/B,gBAAA,aAAAsB,MAAA,CAAAV,SAAA,mBAAAE,IAAA;MAOV;IAAC;IAAA,OAAAQ,MAAA;EAAA,EAbkBH,IAAI;AAe3B,CAAC;AAAC,IAAAa,QAAA,GAEad,eAAe;AAAAe,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"callout.js","names":["_litElement","require","_settings","_interopRequireDefault","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","DDSCalloutMixin","base","_base","_inherits2","_class","_super","_classCallCheck2","_createClass2","key","value","render","html","_taggedTemplateLiteral2","_get2","_default","exports"],"sources":["component-mixins/callout/callout.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { html } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport { Constructor } from '../../globals/defs';\n\nconst { prefix } = settings;\n\n/**\n * Callout.\n *\n * @mixin dds-callout\n */\nconst DDSCalloutMixin = <T extends Constructor<HTMLElement>>(base: T) => {\n return class extends base {\n render() {\n return html`\n <div class=\"${prefix}--callout__column\">\n <div class=\"${prefix}--callout__content\">\n ${\n /* Declaring this mixin as it extends \\`LitElement\\` seems to cause a TS error\n // @ts-ignore */\n super.render()\n }\n </div>\n </div>\n `;\n }\n };\n};\n\nexport default DDSCalloutMixin;\n"],"mappings":";;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAmE,IAAAG,eAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA,sBATnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,IAAQC,MAAM,GAAKC,oBAAQ,CAAnBD,MAAM;;AAEd;AACA;AACA;AACA;AACA;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAwCC,IAAO,EAAK;EACvE,8BAAAC,KAAA;IAAA,IAAAC,UAAA,aAAAC,MAAA,EAAAF,KAAA;IAAA,IAAAG,MAAA,GAAA7B,YAAA,CAAA4B,MAAA;IAAA,SAAAA,OAAA;MAAA,IAAAE,gBAAA,mBAAAF,MAAA;MAAA,OAAAC,MAAA,CAAAhB,KAAA,OAAAD,SAAA;IAAA;IAAA,IAAAmB,aAAA,aAAAH,MAAA;MAAAI,GAAA;MAAAC,KAAA,EACE,SAAAC,OAAA,EAAS;QACP,WAAOC,gBAAI,EAAApC,eAAA,KAAAA,eAAA,OAAAqC,uBAAA,kLACKd,MAAM,EACJA,MAAM;QAEhB;AACd;QADc,IAAAe,KAAA,iBAAA/B,gBAAA,aAAAsB,MAAA,CAAAV,SAAA,mBAAAE,IAAA;MAOV;IAAC;IAAA,OAAAQ,MAAA;EAAA,EAbkBH,IAAI;AAe3B,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEaf,eAAe"}
@@ -46,21 +46,18 @@ var ddsPrefix = _settings2["default"].stablePrefix;
46
46
  /**
47
47
  * Icons to use, keyed by CTA type.
48
48
  */
49
- var icons = (_icons = {}, (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.LOCAL, _2["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.DOWNLOAD, _3["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EXTERNAL, _4["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.NEW_TAB, _8["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.JUMP, _["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.VIDEO, _5["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.PDF, _7["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.BLOG, _6["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EMAIL, _11["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.SCHEDULE, _10["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.CHAT, _12["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.CALL, _9["default"]), _icons);
49
+ var icons = exports.icons = (_icons = {}, (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.LOCAL, _2["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.DOWNLOAD, _3["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EXTERNAL, _4["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.NEW_TAB, _8["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.JUMP, _["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.VIDEO, _5["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.PDF, _7["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.BLOG, _6["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EMAIL, _11["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.SCHEDULE, _10["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.CHAT, _12["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.CALL, _9["default"]), _icons);
50
50
 
51
51
  /**
52
52
  * Aria Labels to use, keyed by CTA type.
53
53
  */
54
- exports.icons = icons;
55
- var ariaLabels = (_ariaLabels = {}, (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.LOCAL, ''), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.DOWNLOAD, ' - This link downloads a file'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.EXTERNAL, ' - This link opens in a new tab'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.NEW_TAB, ' - This link opens in a new tab'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.JUMP, ''), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.VIDEO, ' - This link plays a video'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.PDF, ' - This link downloads a pdf'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.BLOG, ''), _ariaLabels);
56
- exports.ariaLabels = ariaLabels;
57
- var types = _defs.CTA_TYPE;
54
+ var ariaLabels = exports.ariaLabels = (_ariaLabels = {}, (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.LOCAL, ''), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.DOWNLOAD, ' - This link downloads a file'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.EXTERNAL, ' - This link opens in a new tab'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.NEW_TAB, ' - This link opens in a new tab'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.JUMP, ''), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.VIDEO, ' - This link plays a video'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.PDF, ' - This link downloads a pdf'), (0, _defineProperty2["default"])(_ariaLabels, _defs.CTA_TYPE.BLOG, ''), _ariaLabels);
55
+ var types = exports.types = _defs.CTA_TYPE;
58
56
 
59
57
  /**
60
58
  * @param Base The base class.
61
59
  * @returns A mix-in implementing the logic of handling link for CTA.
62
60
  */
63
- exports.types = types;
64
61
  var CTAMixin = function CTAMixin(Base) {
65
62
  var CTAMixinImpl = /*#__PURE__*/function (_Base) {
66
63
  (0, _inherits2["default"])(CTAMixinImpl, _Base);
@@ -182,6 +179,5 @@ var CTAMixin = function CTAMixin(Base) {
182
179
  }(Base);
183
180
  return CTAMixinImpl;
184
181
  };
185
- var _default = CTAMixin;
186
- exports["default"] = _default;
182
+ var _default = exports["default"] = CTAMixin;
187
183
  //# sourceMappingURL=cta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cta.js","names":["_litElement","require","_settings","_interopRequireDefault","_","_2","_3","_4","_5","_6","_7","_8","_9","_10","_11","_12","_settings2","_defs","_icons","_ariaLabels","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","icons","_defineProperty2","CTA_TYPE","LOCAL","ArrowRight20","DOWNLOAD","Download20","EXTERNAL","Launch20","NEW_TAB","NewTab20","JUMP","ArrowDown20","VIDEO","PlayOutline20","PDF","DocumentPDF20","BLOG","Blog20","EMAIL","Email20","SCHEDULE","Calendar20","CHAT","Chat20","CALL","Phone20","exports","ariaLabels","types","CTAMixin","Base","CTAMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_handleClick","event","disabled","preventDefault","stopPropagation","_renderIcon","_icons$ctaType","ctaType","html","_taggedTemplateLiteral2","concat","updated","changedProperties","_get2","linkNode","_linkNode","has","_contactMethods","download","downloadTypes","includes","console","warn","contactMethods","Object","keys","dataset","ibmContact","nodeName","href","hrefValue","removeAttribute","setAttribute","target","newTabTypes","targetInEffect","hasAttribute","getAttribute","_default"],"sources":["component-mixins/cta/cta.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ArrowDown20 from '../../internal/vendor/@carbon/web-components/icons/arrow--down/20.js';\nimport ArrowRight20 from '../../internal/vendor/@carbon/web-components/icons/arrow--right/20.js';\nimport Download20 from '../../internal/vendor/@carbon/web-components/icons/download/20.js';\nimport Launch20 from '../../internal/vendor/@carbon/web-components/icons/launch/20.js';\nimport PlayOutline20 from '../../internal/vendor/@carbon/web-components/icons/play--outline/20.js';\nimport Blog20 from '../../internal/vendor/@carbon/web-components/icons/blog/20.js';\nimport DocumentPDF20 from '../../internal/vendor/@carbon/web-components/icons/document--pdf/20.js';\nimport NewTab20 from '../../internal/vendor/@carbon/web-components/icons/new-tab/20.js';\nimport Phone20 from '../../internal/vendor/@carbon/web-components/icons/phone/20.js';\nimport Calendar20 from '../../internal/vendor/@carbon/web-components/icons/calendar/20.js';\nimport Email20 from '../../internal/vendor/@carbon/web-components/icons/email/20.js';\nimport Chat20 from '../../internal/vendor/@carbon/web-components/icons/chat/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport { CTA_TYPE } from '../../components/cta/defs';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Icons to use, keyed by CTA type.\n */\nexport const icons = {\n [CTA_TYPE.LOCAL]: ArrowRight20,\n [CTA_TYPE.DOWNLOAD]: Download20,\n [CTA_TYPE.EXTERNAL]: Launch20,\n [CTA_TYPE.NEW_TAB]: NewTab20,\n [CTA_TYPE.JUMP]: ArrowDown20,\n [CTA_TYPE.VIDEO]: PlayOutline20,\n [CTA_TYPE.PDF]: DocumentPDF20,\n [CTA_TYPE.BLOG]: Blog20,\n [CTA_TYPE.EMAIL]: Email20,\n [CTA_TYPE.SCHEDULE]: Calendar20,\n [CTA_TYPE.CHAT]: Chat20,\n [CTA_TYPE.CALL]: Phone20,\n};\n\n/**\n * Aria Labels to use, keyed by CTA type.\n */\nexport const ariaLabels = {\n [CTA_TYPE.LOCAL]: '',\n [CTA_TYPE.DOWNLOAD]: ' - This link downloads a file',\n [CTA_TYPE.EXTERNAL]: ' - This link opens in a new tab',\n [CTA_TYPE.NEW_TAB]: ' - This link opens in a new tab',\n [CTA_TYPE.JUMP]: '',\n [CTA_TYPE.VIDEO]: ' - This link plays a video',\n [CTA_TYPE.PDF]: ' - This link downloads a pdf',\n [CTA_TYPE.BLOG]: '',\n};\n\nexport const types = CTA_TYPE;\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic of handling link for CTA.\n */\nconst CTAMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class CTAMixinImpl extends Base {\n /**\n * The `<a>`.\n *\n * @internal\n */\n abstract _linkNode;\n\n /**\n * Handles `click` event on the `<a>.\n *\n * @param event The event.\n */\n _handleClick(event: MouseEvent) {\n const { disabled } = this;\n if (disabled) {\n event.preventDefault(); // Stop following the link\n event.stopPropagation(); // Stop firing `onClick`\n }\n }\n\n /**\n * The CTA type.\n */\n abstract ctaType: CTA_TYPE;\n\n /**\n * `true` if the button should be disabled.\n */\n abstract disabled?: boolean;\n\n /**\n * The default file name.\n */\n abstract download?: string;\n\n /**\n * Link `href`.\n */\n abstract href?: string;\n\n /**\n * The link target.\n */\n abstract target?: string;\n\n /**\n * @returns The template for the icon.\n */\n _renderIcon() {\n const { ctaType } = this;\n return html`\n <slot name=\"icon\">\n <span class=\"bx--visually-hidden\">${ariaLabels[ctaType]}</span>\n ${icons[ctaType]?.({\n class: `${prefix}--card__cta ${ddsPrefix}-ce--cta__icon`,\n })}\n </slot>\n `;\n }\n\n /**\n * Handles `.updated()` method of `lit-element`.\n */\n updated(changedProperties) {\n // Declaring this mixin as it extends `LitElement` seems to cause a TS error\n // @ts-ignore\n super.updated(changedProperties);\n const { ctaType, _linkNode: linkNode } = this;\n if (\n changedProperties.has('ctaType') ||\n changedProperties.has('download')\n ) {\n const { download } = this;\n\n const downloadTypes = [CTA_TYPE.DOWNLOAD, CTA_TYPE.PDF];\n\n if (!downloadTypes.includes(ctaType) && download) {\n // eslint-disable-next-line no-console\n console.warn(\n `\\`download\\` property used with a CTA data item besides \\`type: download|pdf\\` (\\`type: ${ctaType}\\`).`\n );\n }\n\n const contactMethods = {\n [CTA_TYPE.EMAIL]: 'email-link',\n [CTA_TYPE.SCHEDULE]: 'scheduler-link',\n [CTA_TYPE.CHAT]: 'chat-link',\n [CTA_TYPE.CALL]: 'phone-link',\n };\n\n if (Object.keys(contactMethods).includes(ctaType)) {\n linkNode.dataset.ibmContact = contactMethods[ctaType];\n }\n }\n // TODO: See why `linkNode` can possibly be `null`\n if (linkNode && linkNode.nodeName === 'A') {\n if (changedProperties.has('ctaType') || changedProperties.has('href')) {\n const { href } = this;\n const hrefValue = ctaType !== CTA_TYPE.VIDEO ? href : '#';\n // If this CTA is of video, uses the link as the action button\n if (hrefValue == null) {\n linkNode.removeAttribute('href');\n } else {\n linkNode.setAttribute('href', hrefValue);\n }\n }\n if (\n changedProperties.has('ctaType') ||\n changedProperties.has('target')\n ) {\n // Default the target to `_blank` if this CTA is an external link and\n // target is not already set\n const { target } = this;\n\n const newTabTypes = [CTA_TYPE.EXTERNAL, CTA_TYPE.NEW_TAB];\n\n const targetInEffect =\n newTabTypes.includes(ctaType) && !target ? '_blank' : target;\n\n if (!targetInEffect) {\n linkNode.removeAttribute('target');\n } else {\n linkNode.setAttribute('target', targetInEffect);\n }\n }\n if (linkNode.hasAttribute('aria-label')) {\n linkNode.setAttribute(\n 'aria-label',\n linkNode.getAttribute('aria-label') +\n (ctaType ? ariaLabels[ctaType] : '')\n );\n }\n }\n }\n }\n\n return CTAMixinImpl;\n};\n\nexport type CTAMixinImpl = InstanceType<ReturnType<typeof CTAMixin>>;\n\nexport default CTAMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,CAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,EAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,EAAA,GAAAH,sBAAA,CAAAF,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OAAO,CAAC,IAAI,CAAC0B,MAAM,GAAG,QAAQ,GAAGA,MAAM;YAE9D,IAAI,CAACE,cAAc,EAAE;cACnBrB,QAAQ,CAACiB,eAAe,CAAC,QAAQ,CAAC;YACpC,CAAC,MAAM;cACLjB,QAAQ,CAACkB,YAAY,CAAC,QAAQ,EAAEG,cAAc,CAAC;YACjD;UACF;UACA,IAAIrB,QAAQ,CAACsB,YAAY,CAAC,YAAY,CAAC,EAAE;YACvCtB,QAAQ,CAACkB,YAAY,CACnB,YAAY,EACZlB,QAAQ,CAACuB,YAAY,CAAC,YAAY,CAAC,IAChC9B,OAAO,GAAGnB,UAAU,CAACmB,OAAO,CAAC,GAAG,EAAE,CACvC,CAAC;UACH;QACF;MACF;IAAC;IAAA,OAAAf,YAAA;EAAA,EAtIiCD,IAAI;EAyIxC,OAAOC,YAAY;AACrB,CAAC;AAAC,IAAA8C,QAAA,GAIahD,QAAQ;AAAAH,OAAA,cAAAmD,QAAA"}
1
+ {"version":3,"file":"cta.js","names":["_litElement","require","_settings","_interopRequireDefault","_","_2","_3","_4","_5","_6","_7","_8","_9","_10","_11","_12","_settings2","_defs","_icons","_ariaLabels","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","icons","exports","_defineProperty2","CTA_TYPE","LOCAL","ArrowRight20","DOWNLOAD","Download20","EXTERNAL","Launch20","NEW_TAB","NewTab20","JUMP","ArrowDown20","VIDEO","PlayOutline20","PDF","DocumentPDF20","BLOG","Blog20","EMAIL","Email20","SCHEDULE","Calendar20","CHAT","Chat20","CALL","Phone20","ariaLabels","types","CTAMixin","Base","CTAMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_handleClick","event","disabled","preventDefault","stopPropagation","_renderIcon","_icons$ctaType","ctaType","html","_taggedTemplateLiteral2","concat","updated","changedProperties","_get2","linkNode","_linkNode","has","_contactMethods","download","downloadTypes","includes","console","warn","contactMethods","Object","keys","dataset","ibmContact","nodeName","href","hrefValue","removeAttribute","setAttribute","target","newTabTypes","targetInEffect","hasAttribute","getAttribute","_default"],"sources":["component-mixins/cta/cta.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ArrowDown20 from '../../internal/vendor/@carbon/web-components/icons/arrow--down/20.js';\nimport ArrowRight20 from '../../internal/vendor/@carbon/web-components/icons/arrow--right/20.js';\nimport Download20 from '../../internal/vendor/@carbon/web-components/icons/download/20.js';\nimport Launch20 from '../../internal/vendor/@carbon/web-components/icons/launch/20.js';\nimport PlayOutline20 from '../../internal/vendor/@carbon/web-components/icons/play--outline/20.js';\nimport Blog20 from '../../internal/vendor/@carbon/web-components/icons/blog/20.js';\nimport DocumentPDF20 from '../../internal/vendor/@carbon/web-components/icons/document--pdf/20.js';\nimport NewTab20 from '../../internal/vendor/@carbon/web-components/icons/new-tab/20.js';\nimport Phone20 from '../../internal/vendor/@carbon/web-components/icons/phone/20.js';\nimport Calendar20 from '../../internal/vendor/@carbon/web-components/icons/calendar/20.js';\nimport Email20 from '../../internal/vendor/@carbon/web-components/icons/email/20.js';\nimport Chat20 from '../../internal/vendor/@carbon/web-components/icons/chat/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport { CTA_TYPE } from '../../components/cta/defs';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Icons to use, keyed by CTA type.\n */\nexport const icons = {\n [CTA_TYPE.LOCAL]: ArrowRight20,\n [CTA_TYPE.DOWNLOAD]: Download20,\n [CTA_TYPE.EXTERNAL]: Launch20,\n [CTA_TYPE.NEW_TAB]: NewTab20,\n [CTA_TYPE.JUMP]: ArrowDown20,\n [CTA_TYPE.VIDEO]: PlayOutline20,\n [CTA_TYPE.PDF]: DocumentPDF20,\n [CTA_TYPE.BLOG]: Blog20,\n [CTA_TYPE.EMAIL]: Email20,\n [CTA_TYPE.SCHEDULE]: Calendar20,\n [CTA_TYPE.CHAT]: Chat20,\n [CTA_TYPE.CALL]: Phone20,\n};\n\n/**\n * Aria Labels to use, keyed by CTA type.\n */\nexport const ariaLabels = {\n [CTA_TYPE.LOCAL]: '',\n [CTA_TYPE.DOWNLOAD]: ' - This link downloads a file',\n [CTA_TYPE.EXTERNAL]: ' - This link opens in a new tab',\n [CTA_TYPE.NEW_TAB]: ' - This link opens in a new tab',\n [CTA_TYPE.JUMP]: '',\n [CTA_TYPE.VIDEO]: ' - This link plays a video',\n [CTA_TYPE.PDF]: ' - This link downloads a pdf',\n [CTA_TYPE.BLOG]: '',\n};\n\nexport const types = CTA_TYPE;\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic of handling link for CTA.\n */\nconst CTAMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class CTAMixinImpl extends Base {\n /**\n * The `<a>`.\n *\n * @internal\n */\n abstract _linkNode;\n\n /**\n * Handles `click` event on the `<a>.\n *\n * @param event The event.\n */\n _handleClick(event: MouseEvent) {\n const { disabled } = this;\n if (disabled) {\n event.preventDefault(); // Stop following the link\n event.stopPropagation(); // Stop firing `onClick`\n }\n }\n\n /**\n * The CTA type.\n */\n abstract ctaType: CTA_TYPE;\n\n /**\n * `true` if the button should be disabled.\n */\n abstract disabled?: boolean;\n\n /**\n * The default file name.\n */\n abstract download?: string;\n\n /**\n * Link `href`.\n */\n abstract href?: string;\n\n /**\n * The link target.\n */\n abstract target?: string;\n\n /**\n * @returns The template for the icon.\n */\n _renderIcon() {\n const { ctaType } = this;\n return html`\n <slot name=\"icon\">\n <span class=\"bx--visually-hidden\">${ariaLabels[ctaType]}</span>\n ${icons[ctaType]?.({\n class: `${prefix}--card__cta ${ddsPrefix}-ce--cta__icon`,\n })}\n </slot>\n `;\n }\n\n /**\n * Handles `.updated()` method of `lit-element`.\n */\n updated(changedProperties) {\n // Declaring this mixin as it extends `LitElement` seems to cause a TS error\n // @ts-ignore\n super.updated(changedProperties);\n const { ctaType, _linkNode: linkNode } = this;\n if (\n changedProperties.has('ctaType') ||\n changedProperties.has('download')\n ) {\n const { download } = this;\n\n const downloadTypes = [CTA_TYPE.DOWNLOAD, CTA_TYPE.PDF];\n\n if (!downloadTypes.includes(ctaType) && download) {\n // eslint-disable-next-line no-console\n console.warn(\n `\\`download\\` property used with a CTA data item besides \\`type: download|pdf\\` (\\`type: ${ctaType}\\`).`\n );\n }\n\n const contactMethods = {\n [CTA_TYPE.EMAIL]: 'email-link',\n [CTA_TYPE.SCHEDULE]: 'scheduler-link',\n [CTA_TYPE.CHAT]: 'chat-link',\n [CTA_TYPE.CALL]: 'phone-link',\n };\n\n if (Object.keys(contactMethods).includes(ctaType)) {\n linkNode.dataset.ibmContact = contactMethods[ctaType];\n }\n }\n // TODO: See why `linkNode` can possibly be `null`\n if (linkNode && linkNode.nodeName === 'A') {\n if (changedProperties.has('ctaType') || changedProperties.has('href')) {\n const { href } = this;\n const hrefValue = ctaType !== CTA_TYPE.VIDEO ? href : '#';\n // If this CTA is of video, uses the link as the action button\n if (hrefValue == null) {\n linkNode.removeAttribute('href');\n } else {\n linkNode.setAttribute('href', hrefValue);\n }\n }\n if (\n changedProperties.has('ctaType') ||\n changedProperties.has('target')\n ) {\n // Default the target to `_blank` if this CTA is an external link and\n // target is not already set\n const { target } = this;\n\n const newTabTypes = [CTA_TYPE.EXTERNAL, CTA_TYPE.NEW_TAB];\n\n const targetInEffect =\n newTabTypes.includes(ctaType) && !target ? '_blank' : target;\n\n if (!targetInEffect) {\n linkNode.removeAttribute('target');\n } else {\n linkNode.setAttribute('target', targetInEffect);\n }\n }\n if (linkNode.hasAttribute('aria-label')) {\n linkNode.setAttribute(\n 'aria-label',\n linkNode.getAttribute('aria-label') +\n (ctaType ? ariaLabels[ctaType] : '')\n );\n }\n }\n }\n }\n\n return CTAMixinImpl;\n};\n\nexport type CTAMixinImpl = InstanceType<ReturnType<typeof CTAMixin>>;\n\nexport default CTAMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,CAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,EAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,EAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,EAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,EAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,EAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,EAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,EAAA,GAAAR,sBAAA,CAAAF,OAAA;AACA,IAAAW,EAAA,GAAAT,sBAAA,CAAAF,OAAA;AACA,IAAAY,GAAA,GAAAV,sBAAA,CAAAF,OAAA;AACA,IAAAa,GAAA,GAAAX,sBAAA,CAAAF,OAAA;AACA,IAAAc,GAAA,GAAAZ,sBAAA,CAAAF,OAAA;AACA,IAAAe,UAAA,GAAAb,sBAAA,CAAAF,OAAA;AAEA,IAAAgB,KAAA,GAAAhB,OAAA;AAAqD,IAAAiB,MAAA,EAAAC,WAAA,EAAAC,eAAA;AAzBrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAPA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,m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ACrBhB,QAAQ,CAACiB,eAAe,CAAC,MAAM,CAAC;YAClC,CAAC,MAAM;cACLjB,QAAQ,CAACkB,YAAY,CAAC,MAAM,EAAEF,SAAS,CAAC;YAC1C;UACF;UACA,IACElB,iBAAiB,CAACI,GAAG,CAAC,SAAS,CAAC,IAChCJ,iBAAiB,CAACI,GAAG,CAAC,QAAQ,CAAC,EAC/B;YACA;YACA;YACA,IAAQiB,MAAM,GAAK,IAAI,CAAfA,MAAM;YAEd,IAAMC,WAAW,GAAG,CAACvE,cAAQ,CAACK,QAAQ,EAAEL,cAAQ,CAACO,OAAO,CAAC;YAEzD,IAAMiE,cAAc,GAClBD,WAAW,CAACd,QAAQ,CAACb,OAAO,CAAC,IAAI,CAAC0B,MAAM,GAAG,QAAQ,GAAGA,MAAM;YAE9D,IAAI,CAACE,cAAc,EAAE;cACnBrB,QAAQ,CAACiB,eAAe,CAAC,QAAQ,CAAC;YACpC,CAAC,MAAM;cACLjB,QAAQ,CAACkB,YAAY,CAAC,QAAQ,EAAEG,cAAc,CAAC;YACjD;UACF;UACA,IAAIrB,QAAQ,CAACsB,YAAY,CAAC,YAAY,CAAC,EAAE;YACvCtB,QAAQ,CAACkB,YAAY,CACnB,YAAY,EACZlB,QAAQ,CAACuB,YAAY,CAAC,YAAY,CAAC,IAChC9B,OAAO,GAAGnB,UAAU,CAACmB,OAAO,CAAC,GAAG,EAAE,CACvC,CAAC;UACH;QACF;MACF;IAAC;IAAA,OAAAf,YAAA;EAAA,EAtIiCD,IAAI;EAyIxC,OAAOC,YAAY;AACrB,CAAC;AAAC,IAAA8C,QAAA,GAAA7E,OAAA,cAIa6B,QAAQ"}
@@ -36,13 +36,12 @@ var ddsPrefix = _settings["default"].stablePrefix;
36
36
  /**
37
37
  * Icons to use, keyed by CTA type.
38
38
  */
39
- var icons = (_icons = {}, (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.LOCAL, _2["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.DOWNLOAD, _3["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EXTERNAL, _4["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.JUMP, _["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.VIDEO, _5["default"]), _icons);
39
+ var icons = exports.icons = (_icons = {}, (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.LOCAL, _2["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.DOWNLOAD, _3["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.EXTERNAL, _4["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.JUMP, _["default"]), (0, _defineProperty2["default"])(_icons, _defs.CTA_TYPE.VIDEO, _5["default"]), _icons);
40
40
 
41
41
  /**
42
42
  * @param Base The base class.
43
43
  * @returns A mix-in implementing the logic of handling link for CTA.
44
44
  */
45
- exports.icons = icons;
46
45
  var VideoCTAMixin = function VideoCTAMixin(Base) {
47
46
  var VideoCTAMixinImpl = /*#__PURE__*/function (_Base) {
48
47
  (0, _inherits2["default"])(VideoCTAMixinImpl, _Base);
@@ -206,6 +205,5 @@ var VideoCTAMixin = function VideoCTAMixin(Base) {
206
205
  }(Base);
207
206
  return VideoCTAMixinImpl;
208
207
  };
209
- var _default = VideoCTAMixin;
210
- exports["default"] = _default;
208
+ var _default = exports["default"] = VideoCTAMixin;
211
209
  //# sourceMappingURL=video.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"video.js","names":["_","_interopRequireDefault","require","_2","_3","_4","_5","_settings","_defs","_KalturaPlayer","_icons","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","icons","_defineProperty2","CTA_TYPE","LOCAL","ArrowRight20","DOWNLOAD","Download20","EXTERNAL","Launch20","JUMP","ArrowDown20","VIDEO","PlayOutline20","exports","VideoCTAMixin","Base","VideoCTAMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_handleClick","event","focus","ctaType","disabled","href","videoName","videoDescription","preventDefault","_ref","eventRunAction","dispatchEvent","CustomEvent","bubbles","cancelable","composed","detail","updated","changedProperties","_get2","videoDuration","_ref2","eventRequestVideoData","has","offsetWidth","_updateVideoThumbnailUrl","videoThumbnailUrl","KalturaPlayerAPI","getThumbnailUrl","mediaId","width","String","get","concat","_default"],"sources":["component-mixins/cta/video.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport ArrowDown20 from '../../internal/vendor/@carbon/web-components/icons/arrow--down/20.js';\nimport ArrowRight20 from '../../internal/vendor/@carbon/web-components/icons/arrow--right/20.js';\nimport Download20 from '../../internal/vendor/@carbon/web-components/icons/download/20.js';\nimport Launch20 from '../../internal/vendor/@carbon/web-components/icons/launch/20.js';\nimport PlayOutline20 from '../../internal/vendor/@carbon/web-components/icons/play--outline/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport { CTA_TYPE } from '../../components/cta/defs';\nimport KalturaPlayerAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Icons to use, keyed by CTA type.\n */\nexport const icons = {\n [CTA_TYPE.LOCAL]: ArrowRight20,\n [CTA_TYPE.DOWNLOAD]: Download20,\n [CTA_TYPE.EXTERNAL]: Launch20,\n [CTA_TYPE.JUMP]: ArrowDown20,\n [CTA_TYPE.VIDEO]: PlayOutline20,\n};\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic of handling link for CTA.\n */\nconst VideoCTAMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class VideoCTAMixinImpl extends Base {\n /**\n * Handles `click` event on the `<a>.\n *\n * @param event The event.\n */\n _handleClick(event: MouseEvent) {\n this.focus();\n const { ctaType, disabled, href, videoName, videoDescription } = this;\n if (ctaType === CTA_TYPE.VIDEO) {\n event.preventDefault(); // Stop following the link\n }\n if (!disabled) {\n const { eventRunAction } = this.constructor as typeof VideoCTAMixinImpl;\n this.dispatchEvent(\n new CustomEvent(eventRunAction, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n href,\n ctaType,\n videoName,\n videoDescription,\n },\n })\n );\n }\n }\n\n /**\n * The CTA type.\n */\n abstract ctaType: CTA_TYPE;\n\n /**\n * `true` if the button should be disabled.\n */\n abstract disabled?: boolean;\n\n /**\n * The formatter for the video caption, composed with the video name and the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n abstract formatVideoCaption?:\n | never\n | (({ duration, name }: { duration?: string; name?: string }) => string);\n\n /**\n * The formatter for the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n abstract formatVideoDuration?:\n | never\n | (({ duration }: { duration?: number }) => string);\n\n /**\n * Link `href`.\n */\n abstract href?: string;\n\n /**\n * The video duration.\n */\n abstract videoDuration?: never | number;\n\n /**\n * The video name.\n */\n abstract videoName?: never | string;\n\n /**\n * The video custom description.\n */\n abstract videoDescription?: never | string;\n\n /**\n * The video thumbnail URL.\n */\n abstract videoThumbnailUrl?: never | string;\n\n /**\n * Handles `.updated()` method of `lit-element`.\n */\n updated(changedProperties) {\n // Declaring this mixin as it extends `LitElement` seems to cause a TS error\n // @ts-ignore\n super.updated(changedProperties);\n const { ctaType, videoName, videoDescription, href, videoDuration } =\n this;\n const { eventRequestVideoData } = this\n .constructor as typeof VideoCTAMixinImpl;\n if (changedProperties.has('ctaType') && ctaType === CTA_TYPE.VIDEO) {\n if (typeof videoDuration === 'undefined') {\n this.dispatchEvent(\n new CustomEvent(eventRequestVideoData, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n href,\n videoName,\n videoDescription,\n },\n })\n );\n }\n }\n\n if (\n (changedProperties.has('videoName') &&\n (videoName === null || videoName === 'null')) ||\n changedProperties.has('videoDescription')\n ) {\n this.dispatchEvent(\n new CustomEvent(eventRequestVideoData, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n videoName,\n videoDescription,\n href,\n },\n })\n );\n }\n\n if (ctaType === CTA_TYPE.VIDEO && this.offsetWidth > 0) {\n this._updateVideoThumbnailUrl();\n }\n }\n\n /**\n * Updates video thumbnail url to match card width.\n */\n _updateVideoThumbnailUrl() {\n this.videoThumbnailUrl = KalturaPlayerAPI.getThumbnailUrl({\n mediaId: this.href,\n width: String(this.offsetWidth),\n });\n }\n\n /**\n * The name of the custom event fired when there is a user gesture to run the action.\n */\n static get eventRequestVideoData() {\n return `${ddsPrefix}-cta-request-video-data`;\n }\n\n /**\n * The name of the custom event fired when there is a user gesture to run the action.\n */\n static get eventRunAction() {\n return `${ddsPrefix}-cta-run-action`;\n }\n }\n\n return VideoCTAMixinImpl;\n};\n\nexport type VideoCTAMixinImpl = InstanceType<ReturnType<typeof VideoCTAMixin>>;\n\nexport default VideoCTAMixin;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAAA,CAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,EAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,EAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,EAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,EAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AAEA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAR,sBAAA,CAAAC,OAAA;AAAqH,IAAAQ,MAAA;AAjBrH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAPA,SAAAC,aAAAC,OAAA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S,EAATA,SAAS;cACTC,gBAAgB,EAAhBA,gBAAgB;cAChBF,IAAI,EAAJA;YACF;UACF,CAAC,CACH,CAAC;QACH;QAEA,IAAIF,OAAO,KAAKzB,cAAQ,CAACS,KAAK,IAAI,IAAI,CAACqC,WAAW,GAAG,CAAC,EAAE;UACtD,IAAI,CAACC,wBAAwB,CAAC,CAAC;QACjC;MACF;;MAEA;AACJ;AACA;IAFI;MAAA3B,GAAA;MAAAC,KAAA,EAGA,SAAA0B,yBAAA,EAA2B;QACzB,IAAI,CAACC,iBAAiB,GAAGC,yBAAgB,CAACC,eAAe,CAAC;UACxDC,OAAO,EAAE,IAAI,CAACxB,IAAI;UAClByB,KAAK,EAAEC,MAAM,CAAC,IAAI,CAACP,WAAW;QAChC,CAAC,CAAC;MACJ;;MAEA;AACJ;AACA;IAFI;MAAA1B,GAAA;MAAAkC,GAAA,EAGA,SAAAA,IAAA,EAAmC;QACjC,UAAAC,MAAA,CAAU5D,SAAS;MACrB;;MAEA;AACJ;AACA;IAFI;MAAAyB,GAAA;MAAAkC,GAAA,EAGA,SAAAA,IAAA,EAA4B;QAC1B,UAAAC,MAAA,CAAU5D,SAAS;MACrB;IAAC;IAAA,OAAAmB,iBAAA;EAAA,EA3JsCD,IAAI;EA8J7C,OAAOC,iBAAiB;AAC1B,CAAC;AAAC,IAAA0C,QAAA,GAIa5C,aAAa;AAAAD,OAAA,cAAA6C,QAAA"}
1
+ {"version":3,"file":"video.js","names":["_","_interopRequireDefault","require","_2","_3","_4","_5","_settings","_defs","_KalturaPlayer","_icons","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","icons","exports","_defineProperty2","CTA_TYPE","LOCAL","ArrowRight20","DOWNLOAD","Download20","EXTERNAL","Launch20","JUMP","ArrowDown20","VIDEO","PlayOutline20","VideoCTAMixin","Base","VideoCTAMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_handleClick","event","focus","ctaType","disabled","href","videoName","videoDescription","preventDefault","_ref","eventRunAction","dispatchEvent","CustomEvent","bubbles","cancelable","composed","detail","updated","changedProperties","_get2","videoDuration","_ref2","eventRequestVideoData","has","offsetWidth","_updateVideoThumbnailUrl","videoThumbnailUrl","KalturaPlayerAPI","getThumbnailUrl","mediaId","width","String","get","concat","_default"],"sources":["component-mixins/cta/video.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport ArrowDown20 from '../../internal/vendor/@carbon/web-components/icons/arrow--down/20.js';\nimport ArrowRight20 from '../../internal/vendor/@carbon/web-components/icons/arrow--right/20.js';\nimport Download20 from '../../internal/vendor/@carbon/web-components/icons/download/20.js';\nimport Launch20 from '../../internal/vendor/@carbon/web-components/icons/launch/20.js';\nimport PlayOutline20 from '../../internal/vendor/@carbon/web-components/icons/play--outline/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport { CTA_TYPE } from '../../components/cta/defs';\nimport KalturaPlayerAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Icons to use, keyed by CTA type.\n */\nexport const icons = {\n [CTA_TYPE.LOCAL]: ArrowRight20,\n [CTA_TYPE.DOWNLOAD]: Download20,\n [CTA_TYPE.EXTERNAL]: Launch20,\n [CTA_TYPE.JUMP]: ArrowDown20,\n [CTA_TYPE.VIDEO]: PlayOutline20,\n};\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic of handling link for CTA.\n */\nconst VideoCTAMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class VideoCTAMixinImpl extends Base {\n /**\n * Handles `click` event on the `<a>.\n *\n * @param event The event.\n */\n _handleClick(event: MouseEvent) {\n this.focus();\n const { ctaType, disabled, href, videoName, videoDescription } = this;\n if (ctaType === CTA_TYPE.VIDEO) {\n event.preventDefault(); // Stop following the link\n }\n if (!disabled) {\n const { eventRunAction } = this.constructor as typeof VideoCTAMixinImpl;\n this.dispatchEvent(\n new CustomEvent(eventRunAction, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n href,\n ctaType,\n videoName,\n videoDescription,\n },\n })\n );\n }\n }\n\n /**\n * The CTA type.\n */\n abstract ctaType: CTA_TYPE;\n\n /**\n * `true` if the button should be disabled.\n */\n abstract disabled?: boolean;\n\n /**\n * The formatter for the video caption, composed with the video name and the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n abstract formatVideoCaption?:\n | never\n | (({ duration, name }: { duration?: string; name?: string }) => string);\n\n /**\n * The formatter for the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n abstract formatVideoDuration?:\n | never\n | (({ duration }: { duration?: number }) => string);\n\n /**\n * Link `href`.\n */\n abstract href?: string;\n\n /**\n * The video duration.\n */\n abstract videoDuration?: never | number;\n\n /**\n * The video name.\n */\n abstract videoName?: never | string;\n\n /**\n * The video custom description.\n */\n abstract videoDescription?: never | string;\n\n /**\n * The video thumbnail URL.\n */\n abstract videoThumbnailUrl?: never | string;\n\n /**\n * Handles `.updated()` method of `lit-element`.\n */\n updated(changedProperties) {\n // Declaring this mixin as it extends `LitElement` seems to cause a TS error\n // @ts-ignore\n super.updated(changedProperties);\n const { ctaType, videoName, videoDescription, href, videoDuration } =\n this;\n const { eventRequestVideoData } = this\n .constructor as typeof VideoCTAMixinImpl;\n if (changedProperties.has('ctaType') && ctaType === CTA_TYPE.VIDEO) {\n if (typeof videoDuration === 'undefined') {\n this.dispatchEvent(\n new CustomEvent(eventRequestVideoData, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n href,\n videoName,\n videoDescription,\n },\n })\n );\n }\n }\n\n if (\n (changedProperties.has('videoName') &&\n (videoName === null || videoName === 'null')) ||\n changedProperties.has('videoDescription')\n ) {\n this.dispatchEvent(\n new CustomEvent(eventRequestVideoData, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n videoName,\n videoDescription,\n href,\n },\n })\n );\n }\n\n if (ctaType === CTA_TYPE.VIDEO && this.offsetWidth > 0) {\n this._updateVideoThumbnailUrl();\n }\n }\n\n /**\n * Updates video thumbnail url to match card width.\n */\n _updateVideoThumbnailUrl() {\n this.videoThumbnailUrl = KalturaPlayerAPI.getThumbnailUrl({\n mediaId: this.href,\n width: String(this.offsetWidth),\n });\n }\n\n /**\n * The name of the custom event fired when there is a user gesture to run the action.\n */\n static get eventRequestVideoData() {\n return `${ddsPrefix}-cta-request-video-data`;\n }\n\n /**\n * The name of the custom event fired when there is a user gesture to run the action.\n */\n static get eventRunAction() {\n return `${ddsPrefix}-cta-run-action`;\n }\n }\n\n return VideoCTAMixinImpl;\n};\n\nexport type VideoCTAMixinImpl = InstanceType<ReturnType<typeof VideoCTAMixin>>;\n\nexport default VideoCTAMixin;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAAA,CAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,EAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,EAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,EAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,EAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AAEA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAR,sBAAA,CAAAC,OAAA;AAAqH,IAAAQ,MAAA;AAjBrH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAPA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC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,IAAI,EAAJA;YACF;UACF,CAAC,CACH,CAAC;QACH;QAEA,IAAIF,OAAO,KAAKxB,cAAQ,CAACS,KAAK,IAAI,IAAI,CAACoC,WAAW,GAAG,CAAC,EAAE;UACtD,IAAI,CAACC,wBAAwB,CAAC,CAAC;QACjC;MACF;;MAEA;AACJ;AACA;IAFI;MAAA3B,GAAA;MAAAC,KAAA,EAGA,SAAA0B,yBAAA,EAA2B;QACzB,IAAI,CAACC,iBAAiB,GAAGC,yBAAgB,CAACC,eAAe,CAAC;UACxDC,OAAO,EAAE,IAAI,CAACxB,IAAI;UAClByB,KAAK,EAAEC,MAAM,CAAC,IAAI,CAACP,WAAW;QAChC,CAAC,CAAC;MACJ;;MAEA;AACJ;AACA;IAFI;MAAA1B,GAAA;MAAAkC,GAAA,EAGA,SAAAA,IAAA,EAAmC;QACjC,UAAAC,MAAA,CAAU5D,SAAS;MACrB;;MAEA;AACJ;AACA;IAFI;MAAAyB,GAAA;MAAAkC,GAAA,EAGA,SAAAA,IAAA,EAA4B;QAC1B,UAAAC,MAAA,CAAU5D,SAAS;MACrB;IAAC;IAAA,OAAAmB,iBAAA;EAAA,EA3JsCD,IAAI;EA8J7C,OAAOC,iBAAiB;AAC1B,CAAC;AAAC,IAAA0C,QAAA,GAAAzD,OAAA,cAIaa,aAAa"}
@@ -25,7 +25,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
25
25
  * LICENSE file in the root directory of this source tree.
26
26
  */
27
27
  var MQBreakpoints;
28
- exports.MQBreakpoints = MQBreakpoints;
29
28
  (function (MQBreakpoints) {
30
29
  MQBreakpoints["SM"] = "sm";
31
30
  MQBreakpoints["MD"] = "md";
@@ -39,7 +38,6 @@ var MQDirs;
39
38
  * @returns A mix-in implementing the logic for performing actions when the
40
39
  * viewport width crosses over configured Carbon breakpoints.
41
40
  */
42
- exports.MQDirs = MQDirs;
43
41
  (function (MQDirs) {
44
42
  MQDirs["MIN"] = "min";
45
43
  MQDirs["MAX"] = "max";
@@ -121,6 +119,5 @@ var MediaQueryMixin = function MediaQueryMixin(Base, config) {
121
119
  }(Base);
122
120
  return MediaQueryMixinImpl;
123
121
  };
124
- var _default = MediaQueryMixin;
125
- exports["default"] = _default;
122
+ var _default = exports["default"] = MediaQueryMixin;
126
123
  //# sourceMappingURL=media-query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"media-query.js","names":["_layout","require","_windowOrGlobal","_interopRequireDefault","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","MQBreakpoints","exports","MQDirs","MediaQueryMixin","Base","config","MediaQueryMixinImpl","_Base","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","_generateMediaQueriesByBreakpoint","_createClass2","key","value","_mqConfig","breakpoints","Object","keys","queries","forEach","bp","root","matchMedia","BXBreakpoints","width","_attachMediaQueryEventListeners","_this2","carbonBreakpoints","dir","MAX","toUpperCase","slice","funcName","addEventListener","bind","console","warn","nodeName","firstUpdated","_get2","_default"],"sources":["component-mixins/media-query/media-query.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Constructor } from '../../globals/defs';\nimport { breakpoints as BXBreakpoints } from '@carbon/layout';\nimport root from 'window-or-global';\n\nexport enum MQBreakpoints {\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XLG = 'xlg',\n MAX = 'max',\n}\n\nexport enum MQDirs {\n MIN = 'min',\n MAX = 'max',\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic for performing actions when the\n * viewport width crosses over configured Carbon breakpoints.\n */\nconst MediaQueryMixin = <T extends Constructor<HTMLElement>>(\n Base: T,\n config: { [Property in MQBreakpoints]?: MQDirs }\n) => {\n abstract class MediaQueryMixinImpl extends Base {\n /**\n * Configuration passed as argument into MediaQueryMixin.\n */\n _mqConfig = config;\n\n /**\n * Generates a list of MediaQueryList objects keyed by breakpoint identifiers.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList\n */\n _generateMediaQueriesByBreakpoint(): { [index: string]: MediaQueryList } {\n const { _mqConfig: config } = this;\n\n const breakpoints = Object.keys(config) as MQBreakpoints[];\n const queries: { [Property in MQBreakpoints]?: MediaQueryList } = {};\n breakpoints.forEach((bp) => {\n queries[bp] = root.matchMedia(\n `(${config[bp]}-width: ${BXBreakpoints[bp].width})`\n );\n });\n return queries;\n }\n\n /**\n * A keyed list of MediaQueryList objects.\n */\n carbonBreakpoints = this._generateMediaQueriesByBreakpoint();\n\n /**\n * Sets up event listeners that fire any defined callback methods that\n * correspond to the breakpoint being crossed over.\n *\n * Example callback method names:\n * - mediaQueryCallbackSM\n * - mediaQueryCallbackLG\n * - mediaQueryCallbackMaxMD\n * - mediaQueryCallbackMaxMAX\n */\n _attachMediaQueryEventListeners() {\n const { _mqConfig: config, carbonBreakpoints } = this;\n\n Object.keys(carbonBreakpoints).forEach((bp) => {\n const dir =\n config[bp] === MQDirs.MAX\n ? `${config[bp][0].toUpperCase()}${config[bp].slice(1)}`\n : '';\n const funcName = `mediaQueryCallback${dir}${bp.toUpperCase()}`;\n if (typeof this[funcName] === 'function') {\n this.carbonBreakpoints[bp].addEventListener(\n 'change',\n this[funcName].bind(this)\n );\n } else {\n console.warn(\n `MediaQueryMixin: Element ${this.nodeName} has not defined a callback for the \"${bp}\" breakpoint. Please remove the breakpoint from the mixin configuration or implement the following method: ${funcName}`\n );\n }\n });\n }\n\n firstUpdated() {\n this._attachMediaQueryEventListeners();\n //@ts-ignore\n super.firstUpdated();\n }\n }\n\n return MediaQueryMixinImpl;\n};\n\nexport type MediaQueryMixinImpl = InstanceType<\n ReturnType<typeof MediaQueryMixin>\n>;\n\nexport default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AAE,IAAA;MACF;IAAC;IAAA,OAAAQ,mBAAA;EAAA,EAjEwCF,IAAI;EAoE/C,OAAOE,mBAAmB;AAC5B,CAAC;AAAC,IAAA4C,QAAA,GAMa/C,eAAe;AAAAF,OAAA,cAAAiD,QAAA"}
1
+ {"version":3,"file":"media-query.js","names":["_layout","require","_windowOrGlobal","_interopRequireDefault","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","MQBreakpoints","exports","MQDirs","MediaQueryMixin","Base","config","MediaQueryMixinImpl","_Base","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","_generateMediaQueriesByBreakpoint","_createClass2","key","value","_mqConfig","breakpoints","Object","keys","queries","forEach","bp","root","matchMedia","BXBreakpoints","width","_attachMediaQueryEventListeners","_this2","carbonBreakpoints","dir","MAX","toUpperCase","slice","funcName","addEventListener","bind","console","warn","nodeName","firstUpdated","_get2","_default"],"sources":["component-mixins/media-query/media-query.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Constructor } from '../../globals/defs';\nimport { breakpoints as BXBreakpoints } from '@carbon/layout';\nimport root from 'window-or-global';\n\nexport enum MQBreakpoints {\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XLG = 'xlg',\n MAX = 'max',\n}\n\nexport enum MQDirs {\n MIN = 'min',\n MAX = 'max',\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic for performing actions when the\n * viewport width crosses over configured Carbon breakpoints.\n */\nconst MediaQueryMixin = <T extends Constructor<HTMLElement>>(\n Base: T,\n config: { [Property in MQBreakpoints]?: MQDirs }\n) => {\n abstract class MediaQueryMixinImpl extends Base {\n /**\n * Configuration passed as argument into MediaQueryMixin.\n */\n _mqConfig = config;\n\n /**\n * Generates a list of MediaQueryList objects keyed by breakpoint identifiers.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList\n */\n _generateMediaQueriesByBreakpoint(): { [index: string]: MediaQueryList } {\n const { _mqConfig: config } = this;\n\n const breakpoints = Object.keys(config) as MQBreakpoints[];\n const queries: { [Property in MQBreakpoints]?: MediaQueryList } = {};\n breakpoints.forEach((bp) => {\n queries[bp] = root.matchMedia(\n `(${config[bp]}-width: ${BXBreakpoints[bp].width})`\n );\n });\n return queries;\n }\n\n /**\n * A keyed list of MediaQueryList objects.\n */\n carbonBreakpoints = this._generateMediaQueriesByBreakpoint();\n\n /**\n * Sets up event listeners that fire any defined callback methods that\n * correspond to the breakpoint being crossed over.\n *\n * Example callback method names:\n * - mediaQueryCallbackSM\n * - mediaQueryCallbackLG\n * - mediaQueryCallbackMaxMD\n * - mediaQueryCallbackMaxMAX\n */\n _attachMediaQueryEventListeners() {\n const { _mqConfig: config, carbonBreakpoints } = this;\n\n Object.keys(carbonBreakpoints).forEach((bp) => {\n const dir =\n config[bp] === MQDirs.MAX\n ? `${config[bp][0].toUpperCase()}${config[bp].slice(1)}`\n : '';\n const funcName = `mediaQueryCallback${dir}${bp.toUpperCase()}`;\n if (typeof this[funcName] === 'function') {\n this.carbonBreakpoints[bp].addEventListener(\n 'change',\n this[funcName].bind(this)\n );\n } else {\n console.warn(\n `MediaQueryMixin: Element ${this.nodeName} has not defined a callback for the \"${bp}\" breakpoint. Please remove the breakpoint from the mixin configuration or implement the following method: ${funcName}`\n );\n }\n });\n }\n\n firstUpdated() {\n this._attachMediaQueryEventListeners();\n //@ts-ignore\n super.firstUpdated();\n }\n }\n\n return MediaQueryMixinImpl;\n};\n\nexport type MediaQueryMixinImpl = InstanceType<\n ReturnType<typeof MediaQueryMixin>\n>;\n\nexport default MediaQueryMixin;\n"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAA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OAAA,cAMaE,eAAe"}
@@ -64,9 +64,9 @@ var ParentVisibilityMixin = function ParentVisibilityMixin(Base) {
64
64
  event = _ref3[1];
65
65
  var target = _this.closest(component);
66
66
  while (target) {
67
- var _target, _target$parentElement;
67
+ var _target;
68
68
  target.addEventListener(event, _this._onParentVisible.bind(_this));
69
- target = (_target = target) === null || _target === void 0 ? void 0 : (_target$parentElement = _target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest(component);
69
+ target = (_target = target) === null || _target === void 0 || (_target = _target.parentElement) === null || _target === void 0 ? void 0 : _target.closest(component);
70
70
  }
71
71
  });
72
72
  }
@@ -86,6 +86,5 @@ var ParentVisibilityMixin = function ParentVisibilityMixin(Base) {
86
86
  }(Base);
87
87
  return ParentVisibilityMixinImpl;
88
88
  };
89
- var _default = ParentVisibilityMixin;
90
- exports["default"] = _default;
89
+ var _default = exports["default"] = ParentVisibilityMixin;
91
90
  //# sourceMappingURL=parent-visibility.js.map