@content-blocks/js 0.3.2

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 (369) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -0
  3. package/dist/cjs/BehaviorSubject-771fd78b.js +640 -0
  4. package/dist/cjs/BehaviorSubject-771fd78b.js.map +1 -0
  5. package/dist/cjs/Youtube-41424972.js +807 -0
  6. package/dist/cjs/Youtube-41424972.js.map +1 -0
  7. package/dist/cjs/content-accordion.cjs.entry.js +114 -0
  8. package/dist/cjs/content-accordion.cjs.entry.js.map +1 -0
  9. package/dist/cjs/content-blocks.cjs.js +25 -0
  10. package/dist/cjs/content-blocks.cjs.js.map +1 -0
  11. package/dist/cjs/content-button_4.cjs.entry.js +2165 -0
  12. package/dist/cjs/content-button_4.cjs.entry.js.map +1 -0
  13. package/dist/cjs/content-carousel-8b0e8962.js +1488 -0
  14. package/dist/cjs/content-carousel-8b0e8962.js.map +1 -0
  15. package/dist/cjs/content-carousel.cjs.entry.js +13 -0
  16. package/dist/cjs/content-carousel.cjs.entry.js.map +1 -0
  17. package/dist/cjs/content-grid-formatter.cjs.entry.js +50 -0
  18. package/dist/cjs/content-grid-formatter.cjs.entry.js.map +1 -0
  19. package/dist/cjs/content-hero-block.cjs.entry.js +46 -0
  20. package/dist/cjs/content-hero-block.cjs.entry.js.map +1 -0
  21. package/dist/cjs/content-image.cjs.entry.js +95 -0
  22. package/dist/cjs/content-image.cjs.entry.js.map +1 -0
  23. package/dist/cjs/content-navigation-block.cjs.entry.js +62 -0
  24. package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -0
  25. package/dist/cjs/content-split-block.cjs.entry.js +36 -0
  26. package/dist/cjs/content-split-block.cjs.entry.js.map +1 -0
  27. package/dist/cjs/content-tabs.cjs.entry.js +219 -0
  28. package/dist/cjs/content-tabs.cjs.entry.js.map +1 -0
  29. package/dist/cjs/content-text-block.cjs.entry.js +48 -0
  30. package/dist/cjs/content-text-block.cjs.entry.js.map +1 -0
  31. package/dist/cjs/content-tout-block.cjs.entry.js +32 -0
  32. package/dist/cjs/content-tout-block.cjs.entry.js.map +1 -0
  33. package/dist/cjs/content-video.cjs.entry.js +114 -0
  34. package/dist/cjs/content-video.cjs.entry.js.map +1 -0
  35. package/dist/cjs/index-a42fb1d0.js +2116 -0
  36. package/dist/cjs/index-a42fb1d0.js.map +1 -0
  37. package/dist/cjs/index.cjs.js +11 -0
  38. package/dist/cjs/index.cjs.js.map +1 -0
  39. package/dist/cjs/loader.cjs.js +15 -0
  40. package/dist/cjs/loader.cjs.js.map +1 -0
  41. package/dist/cjs/swiper-8c9ab198.js +3612 -0
  42. package/dist/cjs/swiper-8c9ab198.js.map +1 -0
  43. package/dist/cjs/utils-6c985f2f.js +113 -0
  44. package/dist/cjs/utils-6c985f2f.js.map +1 -0
  45. package/dist/cjs/video.es-7d4d33f5.js +64206 -0
  46. package/dist/cjs/video.es-7d4d33f5.js.map +1 -0
  47. package/dist/cjs/window-resize-service-c9766178.js +35 -0
  48. package/dist/cjs/window-resize-service-c9766178.js.map +1 -0
  49. package/dist/collection/blocks/content-hero-block/content-hero-block.css +39 -0
  50. package/dist/collection/blocks/content-hero-block/content-hero-block.js +138 -0
  51. package/dist/collection/blocks/content-hero-block/content-hero-block.js.map +1 -0
  52. package/dist/collection/blocks/content-hero-block/test/content-hero-block.e2e.js +10 -0
  53. package/dist/collection/blocks/content-hero-block/test/content-hero-block.e2e.js.map +1 -0
  54. package/dist/collection/blocks/content-hero-block/test/content-hero-block.spec.js +18 -0
  55. package/dist/collection/blocks/content-hero-block/test/content-hero-block.spec.js.map +1 -0
  56. package/dist/collection/blocks/content-split-block/content-split-block.css +18 -0
  57. package/dist/collection/blocks/content-split-block/content-split-block.js +125 -0
  58. package/dist/collection/blocks/content-split-block/content-split-block.js.map +1 -0
  59. package/dist/collection/blocks/content-split-block/test/content-split-block.e2e.js +10 -0
  60. package/dist/collection/blocks/content-split-block/test/content-split-block.e2e.js.map +1 -0
  61. package/dist/collection/blocks/content-split-block/test/content-split-block.spec.js +18 -0
  62. package/dist/collection/blocks/content-split-block/test/content-split-block.spec.js.map +1 -0
  63. package/dist/collection/blocks/content-text-block/content-text-block.css +47 -0
  64. package/dist/collection/blocks/content-text-block/content-text-block.js +192 -0
  65. package/dist/collection/blocks/content-text-block/content-text-block.js.map +1 -0
  66. package/dist/collection/blocks/content-text-block/test/content-text-block.e2e.js +10 -0
  67. package/dist/collection/blocks/content-text-block/test/content-text-block.e2e.js.map +1 -0
  68. package/dist/collection/blocks/content-text-block/test/content-text-block.spec.js +18 -0
  69. package/dist/collection/blocks/content-text-block/test/content-text-block.spec.js.map +1 -0
  70. package/dist/collection/blocks/content-tout-block/content-tout-block.css +35 -0
  71. package/dist/collection/blocks/content-tout-block/content-tout-block.js +74 -0
  72. package/dist/collection/blocks/content-tout-block/content-tout-block.js.map +1 -0
  73. package/dist/collection/blocks/content-tout-block/test/content-tout-block.e2e.js +10 -0
  74. package/dist/collection/blocks/content-tout-block/test/content-tout-block.e2e.js.map +1 -0
  75. package/dist/collection/blocks/content-tout-block/test/content-tout-block.spec.js +18 -0
  76. package/dist/collection/blocks/content-tout-block/test/content-tout-block.spec.js.map +1 -0
  77. package/dist/collection/collection-manifest.json +27 -0
  78. package/dist/collection/components/content-accordion/content-accordion.css +11 -0
  79. package/dist/collection/components/content-accordion/content-accordion.js +33 -0
  80. package/dist/collection/components/content-accordion/content-accordion.js.map +1 -0
  81. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js +87 -0
  82. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js.map +1 -0
  83. package/dist/collection/components/content-accordion/test/content-accordion.e2e.js +10 -0
  84. package/dist/collection/components/content-accordion/test/content-accordion.e2e.js.map +1 -0
  85. package/dist/collection/components/content-accordion/test/content-accordion.spec.js +18 -0
  86. package/dist/collection/components/content-accordion/test/content-accordion.spec.js.map +1 -0
  87. package/dist/collection/components/content-carousel/content-carousel.css +21 -0
  88. package/dist/collection/components/content-carousel/content-carousel.js +152 -0
  89. package/dist/collection/components/content-carousel/content-carousel.js.map +1 -0
  90. package/dist/collection/components/content-carousel/test/content-carousel.e2e.js +10 -0
  91. package/dist/collection/components/content-carousel/test/content-carousel.e2e.js.map +1 -0
  92. package/dist/collection/components/content-carousel/test/content-carousel.spec.js +18 -0
  93. package/dist/collection/components/content-carousel/test/content-carousel.spec.js.map +1 -0
  94. package/dist/collection/components/content-navigation-block/content-navigation-block.css +51 -0
  95. package/dist/collection/components/content-navigation-block/content-navigation-block.js +146 -0
  96. package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -0
  97. package/dist/collection/components/content-navigation-block/test/content-navigation-block.e2e.js +10 -0
  98. package/dist/collection/components/content-navigation-block/test/content-navigation-block.e2e.js.map +1 -0
  99. package/dist/collection/components/content-navigation-block/test/content-navigation-block.spec.js +18 -0
  100. package/dist/collection/components/content-navigation-block/test/content-navigation-block.spec.js.map +1 -0
  101. package/dist/collection/components/content-overlay/content-overlay.css +103 -0
  102. package/dist/collection/components/content-overlay/content-overlay.js +384 -0
  103. package/dist/collection/components/content-overlay/content-overlay.js.map +1 -0
  104. package/dist/collection/components/content-overlay/libraries/aria-dialog.js +356 -0
  105. package/dist/collection/components/content-overlay/libraries/aria-dialog.js.map +1 -0
  106. package/dist/collection/components/content-overlay/libraries/aria-utilities.js +78 -0
  107. package/dist/collection/components/content-overlay/libraries/aria-utilities.js.map +1 -0
  108. package/dist/collection/components/content-overlay/test/content-overlay.e2e.js +10 -0
  109. package/dist/collection/components/content-overlay/test/content-overlay.e2e.js.map +1 -0
  110. package/dist/collection/components/content-overlay/test/content-overlay.spec.js +18 -0
  111. package/dist/collection/components/content-overlay/test/content-overlay.spec.js.map +1 -0
  112. package/dist/collection/components/content-tabs/content-tabs.css +19 -0
  113. package/dist/collection/components/content-tabs/content-tabs.js +27 -0
  114. package/dist/collection/components/content-tabs/content-tabs.js.map +1 -0
  115. package/dist/collection/components/content-tabs/libraries/w3_tabs.js +223 -0
  116. package/dist/collection/components/content-tabs/libraries/w3_tabs.js.map +1 -0
  117. package/dist/collection/components/content-tabs/test/content-tabs.e2e.js +10 -0
  118. package/dist/collection/components/content-tabs/test/content-tabs.e2e.js.map +1 -0
  119. package/dist/collection/components/content-tabs/test/content-tabs.spec.js +18 -0
  120. package/dist/collection/components/content-tabs/test/content-tabs.spec.js.map +1 -0
  121. package/dist/collection/elements/content-button/content-button.css +37 -0
  122. package/dist/collection/elements/content-button/content-button.js +257 -0
  123. package/dist/collection/elements/content-button/content-button.js.map +1 -0
  124. package/dist/collection/elements/content-button/test/content-button.e2e.js +10 -0
  125. package/dist/collection/elements/content-button/test/content-button.e2e.js.map +1 -0
  126. package/dist/collection/elements/content-button/test/content-button.spec.js +18 -0
  127. package/dist/collection/elements/content-button/test/content-button.spec.js.map +1 -0
  128. package/dist/collection/elements/content-image/content-image.css +53 -0
  129. package/dist/collection/elements/content-image/content-image.js +305 -0
  130. package/dist/collection/elements/content-image/content-image.js.map +1 -0
  131. package/dist/collection/elements/content-image/test/content-image.e2e.js +10 -0
  132. package/dist/collection/elements/content-image/test/content-image.e2e.js.map +1 -0
  133. package/dist/collection/elements/content-image/test/content-image.spec.js +18 -0
  134. package/dist/collection/elements/content-image/test/content-image.spec.js.map +1 -0
  135. package/dist/collection/elements/content-line/content-line.css +18 -0
  136. package/dist/collection/elements/content-line/content-line.e2e.js +10 -0
  137. package/dist/collection/elements/content-line/content-line.e2e.js.map +1 -0
  138. package/dist/collection/elements/content-line/content-line.js +229 -0
  139. package/dist/collection/elements/content-line/content-line.js.map +1 -0
  140. package/dist/collection/elements/content-video/content-video.css +75 -0
  141. package/dist/collection/elements/content-video/content-video.js +391 -0
  142. package/dist/collection/elements/content-video/content-video.js.map +1 -0
  143. package/dist/collection/elements/content-video/test/content-video.e2e.js +10 -0
  144. package/dist/collection/elements/content-video/test/content-video.e2e.js.map +1 -0
  145. package/dist/collection/elements/content-video/test/content-video.spec.js +18 -0
  146. package/dist/collection/elements/content-video/test/content-video.spec.js.map +1 -0
  147. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.css +43 -0
  148. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js +269 -0
  149. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +1 -0
  150. package/dist/collection/formatters/content-grid-formatter/test/content-grid-formatter.e2e.js +10 -0
  151. package/dist/collection/formatters/content-grid-formatter/test/content-grid-formatter.e2e.js.map +1 -0
  152. package/dist/collection/formatters/content-grid-formatter/test/content-grid-formatter.spec.js +18 -0
  153. package/dist/collection/formatters/content-grid-formatter/test/content-grid-formatter.spec.js.map +1 -0
  154. package/dist/collection/formatters/content-spacer/content-spacer.css +32 -0
  155. package/dist/collection/formatters/content-spacer/content-spacer.js +350 -0
  156. package/dist/collection/formatters/content-spacer/content-spacer.js.map +1 -0
  157. package/dist/collection/formatters/content-spacer/test/content-spacer.e2e.js +10 -0
  158. package/dist/collection/formatters/content-spacer/test/content-spacer.e2e.js.map +1 -0
  159. package/dist/collection/formatters/content-spacer/test/content-spacer.spec.js +18 -0
  160. package/dist/collection/formatters/content-spacer/test/content-spacer.spec.js.map +1 -0
  161. package/dist/collection/globalScript.js +15 -0
  162. package/dist/collection/globalScript.js.map +1 -0
  163. package/dist/collection/index.js +3 -0
  164. package/dist/collection/index.js.map +1 -0
  165. package/dist/collection/sass/_mixins.scss +249 -0
  166. package/dist/collection/sass/_variables.scss +18 -0
  167. package/dist/collection/services/content-events-service.js +23 -0
  168. package/dist/collection/services/content-events-service.js.map +1 -0
  169. package/dist/collection/services/window-resize-service.js +29 -0
  170. package/dist/collection/services/window-resize-service.js.map +1 -0
  171. package/dist/collection/utils/utils.js +88 -0
  172. package/dist/collection/utils/utils.js.map +1 -0
  173. package/dist/collection/utils/utils.spec.js +1 -0
  174. package/dist/collection/utils/utils.spec.js.map +1 -0
  175. package/dist/components/BehaviorSubject.js +637 -0
  176. package/dist/components/BehaviorSubject.js.map +1 -0
  177. package/dist/components/Youtube.js +805 -0
  178. package/dist/components/Youtube.js.map +1 -0
  179. package/dist/components/content-accordion.d.ts +11 -0
  180. package/dist/components/content-accordion.js +127 -0
  181. package/dist/components/content-accordion.js.map +1 -0
  182. package/dist/components/content-button.d.ts +11 -0
  183. package/dist/components/content-button.js +88 -0
  184. package/dist/components/content-button.js.map +1 -0
  185. package/dist/components/content-carousel.d.ts +11 -0
  186. package/dist/components/content-carousel.js +1489 -0
  187. package/dist/components/content-carousel.js.map +1 -0
  188. package/dist/components/content-grid-formatter.d.ts +11 -0
  189. package/dist/components/content-grid-formatter.js +8 -0
  190. package/dist/components/content-grid-formatter.js.map +1 -0
  191. package/dist/components/content-grid-formatter2.js +68 -0
  192. package/dist/components/content-grid-formatter2.js.map +1 -0
  193. package/dist/components/content-hero-block.d.ts +11 -0
  194. package/dist/components/content-hero-block.js +63 -0
  195. package/dist/components/content-hero-block.js.map +1 -0
  196. package/dist/components/content-image.d.ts +11 -0
  197. package/dist/components/content-image.js +120 -0
  198. package/dist/components/content-image.js.map +1 -0
  199. package/dist/components/content-line.d.ts +11 -0
  200. package/dist/components/content-line.js +70 -0
  201. package/dist/components/content-line.js.map +1 -0
  202. package/dist/components/content-navigation-block.d.ts +11 -0
  203. package/dist/components/content-navigation-block.js +79 -0
  204. package/dist/components/content-navigation-block.js.map +1 -0
  205. package/dist/components/content-overlay.d.ts +11 -0
  206. package/dist/components/content-overlay.js +2048 -0
  207. package/dist/components/content-overlay.js.map +1 -0
  208. package/dist/components/content-spacer.d.ts +11 -0
  209. package/dist/components/content-spacer.js +76 -0
  210. package/dist/components/content-spacer.js.map +1 -0
  211. package/dist/components/content-split-block.d.ts +11 -0
  212. package/dist/components/content-split-block.js +58 -0
  213. package/dist/components/content-split-block.js.map +1 -0
  214. package/dist/components/content-tabs.d.ts +11 -0
  215. package/dist/components/content-tabs.js +232 -0
  216. package/dist/components/content-tabs.js.map +1 -0
  217. package/dist/components/content-text-block.d.ts +11 -0
  218. package/dist/components/content-text-block.js +66 -0
  219. package/dist/components/content-text-block.js.map +1 -0
  220. package/dist/components/content-tout-block.d.ts +11 -0
  221. package/dist/components/content-tout-block.js +46 -0
  222. package/dist/components/content-tout-block.js.map +1 -0
  223. package/dist/components/content-video.d.ts +11 -0
  224. package/dist/components/content-video.js +141 -0
  225. package/dist/components/content-video.js.map +1 -0
  226. package/dist/components/index.d.ts +33 -0
  227. package/dist/components/index.js +4 -0
  228. package/dist/components/index.js.map +1 -0
  229. package/dist/components/swiper.js +3608 -0
  230. package/dist/components/swiper.js.map +1 -0
  231. package/dist/components/utils.js +106 -0
  232. package/dist/components/utils.js.map +1 -0
  233. package/dist/components/video.es.js +64201 -0
  234. package/dist/components/video.es.js.map +1 -0
  235. package/dist/components/window-resize-service.js +33 -0
  236. package/dist/components/window-resize-service.js.map +1 -0
  237. package/dist/content-blocks/content-blocks.esm.js +2 -0
  238. package/dist/content-blocks/content-blocks.esm.js.map +1 -0
  239. package/dist/content-blocks/index.esm.js +2 -0
  240. package/dist/content-blocks/index.esm.js.map +1 -0
  241. package/dist/content-blocks/p-03ca48aa.js +2 -0
  242. package/dist/content-blocks/p-03ca48aa.js.map +1 -0
  243. package/dist/content-blocks/p-0ee5bbb6.entry.js +2 -0
  244. package/dist/content-blocks/p-0ee5bbb6.entry.js.map +1 -0
  245. package/dist/content-blocks/p-193fa2c0.entry.js +2 -0
  246. package/dist/content-blocks/p-193fa2c0.entry.js.map +1 -0
  247. package/dist/content-blocks/p-1b699607.js +2 -0
  248. package/dist/content-blocks/p-1b699607.js.map +1 -0
  249. package/dist/content-blocks/p-1efe0577.entry.js +2 -0
  250. package/dist/content-blocks/p-1efe0577.entry.js.map +1 -0
  251. package/dist/content-blocks/p-2357f07a.entry.js +2 -0
  252. package/dist/content-blocks/p-2357f07a.entry.js.map +1 -0
  253. package/dist/content-blocks/p-363e8357.entry.js +2 -0
  254. package/dist/content-blocks/p-363e8357.entry.js.map +1 -0
  255. package/dist/content-blocks/p-36793013.entry.js +10 -0
  256. package/dist/content-blocks/p-36793013.entry.js.map +1 -0
  257. package/dist/content-blocks/p-3a170c2c.entry.js +2 -0
  258. package/dist/content-blocks/p-3a170c2c.entry.js.map +1 -0
  259. package/dist/content-blocks/p-43a91cc7.js +29 -0
  260. package/dist/content-blocks/p-43a91cc7.js.map +1 -0
  261. package/dist/content-blocks/p-6d43a03c.js +2 -0
  262. package/dist/content-blocks/p-6d43a03c.js.map +1 -0
  263. package/dist/content-blocks/p-89fb0d8f.js +2 -0
  264. package/dist/content-blocks/p-89fb0d8f.js.map +1 -0
  265. package/dist/content-blocks/p-a7dfb547.entry.js +2 -0
  266. package/dist/content-blocks/p-a7dfb547.entry.js.map +1 -0
  267. package/dist/content-blocks/p-b27d54cb.entry.js +2 -0
  268. package/dist/content-blocks/p-b27d54cb.entry.js.map +1 -0
  269. package/dist/content-blocks/p-bf1cfb7b.js +3 -0
  270. package/dist/content-blocks/p-bf1cfb7b.js.map +1 -0
  271. package/dist/content-blocks/p-c5891e59.js +2 -0
  272. package/dist/content-blocks/p-c5891e59.js.map +1 -0
  273. package/dist/content-blocks/p-cd552ce2.js +2 -0
  274. package/dist/content-blocks/p-cd552ce2.js.map +1 -0
  275. package/dist/content-blocks/p-ce179781.entry.js +2 -0
  276. package/dist/content-blocks/p-ce179781.entry.js.map +1 -0
  277. package/dist/content-blocks/p-d3503dde.entry.js +2 -0
  278. package/dist/content-blocks/p-d3503dde.entry.js.map +1 -0
  279. package/dist/content-blocks/p-dca7ab2c.entry.js +2 -0
  280. package/dist/content-blocks/p-dca7ab2c.entry.js.map +1 -0
  281. package/dist/content-blocks/sass/_mixins.scss +249 -0
  282. package/dist/content-blocks/sass/_variables.scss +18 -0
  283. package/dist/esm/BehaviorSubject-bc7e0e99.js +637 -0
  284. package/dist/esm/BehaviorSubject-bc7e0e99.js.map +1 -0
  285. package/dist/esm/Youtube-6c271d8d.js +805 -0
  286. package/dist/esm/Youtube-6c271d8d.js.map +1 -0
  287. package/dist/esm/content-accordion.entry.js +110 -0
  288. package/dist/esm/content-accordion.entry.js.map +1 -0
  289. package/dist/esm/content-blocks.js +20 -0
  290. package/dist/esm/content-blocks.js.map +1 -0
  291. package/dist/esm/content-button_4.entry.js +2158 -0
  292. package/dist/esm/content-button_4.entry.js.map +1 -0
  293. package/dist/esm/content-carousel-cf7daf22.js +1469 -0
  294. package/dist/esm/content-carousel-cf7daf22.js.map +1 -0
  295. package/dist/esm/content-carousel.entry.js +5 -0
  296. package/dist/esm/content-carousel.entry.js.map +1 -0
  297. package/dist/esm/content-grid-formatter.entry.js +46 -0
  298. package/dist/esm/content-grid-formatter.entry.js.map +1 -0
  299. package/dist/esm/content-hero-block.entry.js +42 -0
  300. package/dist/esm/content-hero-block.entry.js.map +1 -0
  301. package/dist/esm/content-image.entry.js +91 -0
  302. package/dist/esm/content-image.entry.js.map +1 -0
  303. package/dist/esm/content-navigation-block.entry.js +58 -0
  304. package/dist/esm/content-navigation-block.entry.js.map +1 -0
  305. package/dist/esm/content-split-block.entry.js +32 -0
  306. package/dist/esm/content-split-block.entry.js.map +1 -0
  307. package/dist/esm/content-tabs.entry.js +215 -0
  308. package/dist/esm/content-tabs.entry.js.map +1 -0
  309. package/dist/esm/content-text-block.entry.js +44 -0
  310. package/dist/esm/content-text-block.entry.js.map +1 -0
  311. package/dist/esm/content-tout-block.entry.js +28 -0
  312. package/dist/esm/content-tout-block.entry.js.map +1 -0
  313. package/dist/esm/content-video.entry.js +110 -0
  314. package/dist/esm/content-video.entry.js.map +1 -0
  315. package/dist/esm/index-6701e2ba.js +2087 -0
  316. package/dist/esm/index-6701e2ba.js.map +1 -0
  317. package/dist/esm/index.js +3 -0
  318. package/dist/esm/index.js.map +1 -0
  319. package/dist/esm/loader.js +11 -0
  320. package/dist/esm/loader.js.map +1 -0
  321. package/dist/esm/polyfills/core-js.js +11 -0
  322. package/dist/esm/polyfills/dom.js +79 -0
  323. package/dist/esm/polyfills/es5-html-element.js +1 -0
  324. package/dist/esm/polyfills/index.js +34 -0
  325. package/dist/esm/polyfills/system.js +6 -0
  326. package/dist/esm/swiper-977c310f.js +3610 -0
  327. package/dist/esm/swiper-977c310f.js.map +1 -0
  328. package/dist/esm/utils-27374a56.js +106 -0
  329. package/dist/esm/utils-27374a56.js.map +1 -0
  330. package/dist/esm/video.es-e4c3f886.js +64201 -0
  331. package/dist/esm/video.es-e4c3f886.js.map +1 -0
  332. package/dist/esm/window-resize-service-8a52f08c.js +33 -0
  333. package/dist/esm/window-resize-service-8a52f08c.js.map +1 -0
  334. package/dist/index.cjs.js +1 -0
  335. package/dist/index.js +1 -0
  336. package/dist/types/blocks/content-hero-block/content-hero-block.d.ts +33 -0
  337. package/dist/types/blocks/content-split-block/content-split-block.d.ts +27 -0
  338. package/dist/types/blocks/content-text-block/content-text-block.d.ts +44 -0
  339. package/dist/types/blocks/content-tout-block/content-tout-block.d.ts +22 -0
  340. package/dist/types/components/content-accordion/content-accordion.d.ts +12 -0
  341. package/dist/types/components/content-accordion/libraries/w3_disclosure_button.d.ts +4 -0
  342. package/dist/types/components/content-carousel/content-carousel.d.ts +36 -0
  343. package/dist/types/components/content-navigation-block/content-navigation-block.d.ts +31 -0
  344. package/dist/types/components/content-overlay/content-overlay.d.ts +69 -0
  345. package/dist/types/components/content-overlay/libraries/aria-dialog.d.ts +5 -0
  346. package/dist/types/components/content-overlay/libraries/aria-utilities.d.ts +5 -0
  347. package/dist/types/components/content-tabs/content-tabs.d.ts +10 -0
  348. package/dist/types/components/content-tabs/libraries/w3_tabs.d.ts +4 -0
  349. package/dist/types/components.d.ts +994 -0
  350. package/dist/types/elements/content-button/content-button.d.ts +55 -0
  351. package/dist/types/elements/content-image/content-image.d.ts +56 -0
  352. package/dist/types/elements/content-line/content-line.d.ts +56 -0
  353. package/dist/types/elements/content-video/content-video.d.ts +77 -0
  354. package/dist/types/formatters/content-grid-formatter/content-grid-formatter.d.ts +52 -0
  355. package/dist/types/formatters/content-spacer/content-spacer.d.ts +73 -0
  356. package/dist/types/globalScript.d.ts +1 -0
  357. package/dist/types/index.d.ts +3 -0
  358. package/dist/types/services/content-events-service.d.ts +11 -0
  359. package/dist/types/services/window-resize-service.d.ts +11 -0
  360. package/dist/types/stencil-public-runtime.d.ts +1652 -0
  361. package/dist/types/typings.d.ts +11 -0
  362. package/dist/types/utils/utils.d.ts +13 -0
  363. package/loader/cdn.js +3 -0
  364. package/loader/index.cjs.js +3 -0
  365. package/loader/index.d.ts +21 -0
  366. package/loader/index.es2017.js +3 -0
  367. package/loader/index.js +4 -0
  368. package/loader/package.json +11 -0
  369. package/package.json +65 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isFunction","value","createErrorClass","createImpl","_super","instance","Error","call","stack","ctorFunc","prototype","Object","create","constructor","UnsubscriptionError","UnsubscriptionErrorImpl","errors","this","message","length","map","err","i","toString","join","name","arrRemove","arr","item","index","indexOf","splice","Subscription","initialTeardown","closed","_parentage","_finalizers","unsubscribe","Array","isArray","parent","remove","initialFinalizer","e","finalizer","execFinalizer","push","add","teardown","_a","_hasParent","_addParent","includes","_removeParent","EMPTY","empty","EMPTY_SUBSCRIPTION","isSubscription","config","onUnhandledError","onStoppedNotification","Promise","undefined","useDeprecatedSynchronousErrorHandling","useDeprecatedNextContext","timeoutProvider","setTimeout","handler","timeout","args","delegate","clearTimeout","handle","reportUnhandledError","noop","COMPLETE_NOTIFICATION","createNotification","errorNotification","error","nextNotification","kind","errorContext","cb","Subscriber","destination","super","isStopped","EMPTY_OBSERVER","next","complete","SafeSubscriber","handleStoppedNotification","_next","_error","_complete","_bind","Function","bind","fn","thisArg","ConsumerObserver","partialObserver","handleUnhandledError","observerOrNext","context","defaultErrorHandler","notification","subscriber","observable","Symbol","identity","x","pipeFromArray","fns","piped","input","reduce","prev","Observable","subscribe","_subscribe","lift","operator","source","isSubscriber","_trySubscribe","sink","forEach","promiseCtor","getPromiseCtor","resolve","reject","Symbol_observable","pipe","operations","toPromise","isObserver","ObjectUnsubscribedError","ObjectUnsubscribedErrorImpl","Subject","currentObservers","observers","hasError","thrownError","subject","AnonymousSubject","_throwIfClosed","from","observer","shift","observed","_checkFinalizedStatuses","_innerSubscribe","asObservable","_b","BehaviorSubject","_value","getValue","subscription"],"sources":["../../node_modules/rxjs/dist/esm/internal/util/isFunction.js","../../node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","../../node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","../../node_modules/rxjs/dist/esm/internal/util/arrRemove.js","../../node_modules/rxjs/dist/esm/internal/Subscription.js","../../node_modules/rxjs/dist/esm/internal/config.js","../../node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","../../node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","../../node_modules/rxjs/dist/esm/internal/util/noop.js","../../node_modules/rxjs/dist/esm/internal/NotificationFactories.js","../../node_modules/rxjs/dist/esm/internal/util/errorContext.js","../../node_modules/rxjs/dist/esm/internal/Subscriber.js","../../node_modules/rxjs/dist/esm/internal/symbol/observable.js","../../node_modules/rxjs/dist/esm/internal/util/identity.js","../../node_modules/rxjs/dist/esm/internal/util/pipe.js","../../node_modules/rxjs/dist/esm/internal/Observable.js","../../node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","../../node_modules/rxjs/dist/esm/internal/Subject.js","../../node_modules/rxjs/dist/esm/internal/BehaviorSubject.js"],"sourcesContent":["export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n//# sourceMappingURL=UnsubscriptionError.js.map","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map","export function noop() { }\n//# sourceMappingURL=noop.js.map","export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error,\n };\n}\n//# sourceMappingURL=NotificationFactories.js.map","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n }\n else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n//# sourceMappingURL=Subscriber.js.map","export const observable = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n//# sourceMappingURL=observable.js.map","export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n//# sourceMappingURL=pipe.js.map","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n this._subscribe(subscriber)\n :\n this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => (value = x), (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n//# sourceMappingURL=Observable.js.map","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n//# sourceMappingURL=ObjectUnsubscribedError.js.map","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n//# sourceMappingURL=Subject.js.map","import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n//# sourceMappingURL=BehaviorSubject.js.map"],"mappings":"AAAO,SAASA,EAAWC,GACvB,cAAcA,IAAU,UAC5B,CCFO,SAASC,EAAiBC,GAC7B,MAAMC,EAAUC,IACZC,MAAMC,KAAKF,GACXA,EAASG,OAAQ,IAAIF,OAAQE,KAAK,EAEtC,MAAMC,EAAWN,EAAWC,GAC5BK,EAASC,UAAYC,OAAOC,OAAON,MAAMI,WACzCD,EAASC,UAAUG,YAAcJ,EACjC,OAAOA,CACX,CCRO,MAAMK,EAAsBZ,GAAkBE,GAAW,SAASW,EAAwBC,GAC7FZ,EAAOa,MACPA,KAAKC,QAAUF,EACT,GAAGA,EAAOG,kDAClBH,EAAOI,KAAI,CAACC,EAAKC,IAAM,GAAGA,EAAI,MAAMD,EAAIE,eAAcC,KAAK,UACnD,GACNP,KAAKQ,KAAO,sBACZR,KAAKD,OAASA,CAClB,ICTO,SAASU,EAAUC,EAAKC,GAC3B,GAAID,EAAK,CACL,MAAME,EAAQF,EAAIG,QAAQF,GAC1B,GAAKC,GAASF,EAAII,OAAOF,EAAO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AWb,GACP,MAAMmD,EAAezE,MAAMmC,WAAWb,IACrCmD,EAAa5H,QAAUyE,EAAWnB,KAAKvE,KAAK2I,QAC7C,OAAOE,CACf,CACI,QAAAD,GACI,MAAMf,SAAEA,EAAQC,YAAEA,EAAWa,OAAEA,GAAW3I,KAC1C,GAAI6H,EAAU,CACV,MAAMC,CAClB,CACQ9H,KAAKiI,iBACL,OAAOU,CACf,CACI,IAAApE,CAAKvF,GACDoF,MAAMG,KAAMvE,KAAK2I,OAAS3J,EAClC,S"}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as o,H as e,g as n}from"./p-bf1cfb7b.js";import{W as c}from"./p-c5891e59.js";import"./p-89fb0d8f.js";import"./p-cd552ce2.js";const i="content-tout-block{visibility:hidden}content-tout-block.hydrated{visibility:inherit}content-tout-block .content-tout-block__media{position:relative}content-tout-block .content-tout-block__media-content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden}content-tout-block .content-tout-block__media-content [slot=mediaContent]{height:100%;width:100%}content-tout-block[hover=true] .content-tout-block__media-content{transition:opacity 0.3s}@media (hover: hover){content-tout-block[hover=true] .content-tout-block__media-content{opacity:0}content-tout-block[hover=true] .content-tout-block__media-content:hover{opacity:1}}";const s=class{constructor(o){t(this,o);this.hover="false|true";this.hasHoverContent=false}componentDidLoad(){this.hasMediaContent=!!this.hostElement.querySelector('[slot="mediaContent"]');return c.registerProp(this.hover).subscribe((t=>this.hover=t))}render(){return o(e,{hover:this.hover},o("div",{class:"content-tout-block__media"},o("slot",{name:"media"}),this.hasMediaContent&&o("div",{class:"content-tout-block__media-content"},o("slot",{name:"mediaContent"}))),o("div",{class:"content-tout-block__content"},o("slot",{name:"content"}),o("slot",null)))}get hostElement(){return n(this)}};s.style=i;export{s as content_tout_block};
2
+ //# sourceMappingURL=p-ce179781.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["contentToutBlockCss","ContentToutBlock","componentDidLoad","this","hasMediaContent","hostElement","querySelector","WindowResizeService","registerProp","hover","subscribe","newValue","render","h","Host","class","name"],"sources":["src/blocks/content-tout-block/content-tout-block.scss?tag=content-tout-block","src/blocks/content-tout-block/content-tout-block.tsx"],"sourcesContent":["content-tout-block {\n visibility: hidden;\n &.hydrated {\n visibility: inherit;\n }\n .content-tout-block__media {\n position: relative;\n }\n .content-tout-block__media-content {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n\n &[hover=\"true\"] {\n .content-tout-block__media-content {\n transition: opacity .3s;\n @media (hover: hover) {\n opacity: 0;\n &:hover {\n opacity: 1;\n }\n }\n }\n }\n}","import { Component, h, Host, Element } from '@stencil/core';\nimport { HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean } from '../../typings';\n\n/**\n * @slot media - This slot is usually a video or image component.\n * @slot mediaContent - This is a layer that floats the media layer and is revealed on hover.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-tout-block',\n styleUrl: 'content-tout-block.scss',\n shadow: false,\n})\nexport class ContentToutBlock {\n /**\n * If true, the media content will show only on hover\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) hover: ResponsiveBoolean = 'false|true';\n @Element() hostElement: HTMLStencilElement;\n hasMediaContent: boolean;\n\n @State() hasHoverContent: boolean = false;\n\n componentDidLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n return WindowResizeService.registerProp(this.hover).subscribe(newValue => this.hover = newValue as string);\n }\n \n render() {\n return (\n <Host hover={this.hover}>\n <div class=\"content-tout-block__media\">\n <slot name=\"media\"></slot>\n { this.hasMediaContent && \n <div class=\"content-tout-block__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n }\n </div>\n <div class=\"content-tout-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n\n}\n"],"mappings":"6IAAA,MAAMA,EAAsB,0rB,MCgBfC,EAAgB,M,oCASG,a,qBAIM,K,CAEpC,gBAAAC,GACEC,KAAKC,kBAAoBD,KAAKE,YAAYC,cAAc,yBACxD,OAAOC,EAAoBC,aAAaL,KAAKM,OAAOC,WAAUC,GAAYR,KAAKM,MAAQE,G,CAGzF,MAAAC,GACE,OACEC,EAACC,EAAI,CAACL,MAAON,KAAKM,OAChBI,EAAA,OAAKE,MAAM,6BACTF,EAAA,QAAMG,KAAK,UACTb,KAAKC,iBACPS,EAAA,OAAKE,MAAM,qCACTF,EAAA,QAAMG,KAAK,mBAIfH,EAAA,OAAKE,MAAM,+BACTF,EAAA,QAAMG,KAAK,YACXH,EAAA,c"}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as o,g as n}from"./p-bf1cfb7b.js";import{W as i}from"./p-c5891e59.js";import{g as c}from"./p-89fb0d8f.js";import"./p-cd552ce2.js";const s="content-text-block{display:block;width:100%;text-align:initial;visibility:hidden}content-text-block.hydrated{visibility:inherit}content-text-block[full-height=true]{height:100%}content-text-block>*[slot=footer]{margin-top:auto;margin-bottom:0;width:100%;padding-top:1rem;height:auto}content-text-block[vertical-alignment=bottom]>[slot=footer]{position:static;height:auto}content-text-block[vertical-alignment]{display:flex;flex-direction:column}content-text-block[vertical-alignment=top]{justify-content:flex-start}content-text-block[vertical-alignment=center]{justify-content:center}content-text-block[vertical-alignment=center][footer=true] .content-text-block__content{margin-top:auto;margin-bottom:0}content-text-block[vertical-alignment=bottom]{justify-content:flex-end}content-text-block[vertical-alignment=bottom][footer=true] .content-text-block__content{margin-top:auto;margin-bottom:0}content-text-block[vertical-alignment=bottom][footer=true]>[slot=footer]{margin-top:0}";const l=class{constructor(e){t(this,e);this.class=undefined;this.minHeight=undefined;this.verticalAlignment="top";this.fullHeight="false";this.inlineStyle={}}componentDidLoad(){if(!!this.hostElement.querySelector('[slot="footer"]')){this.hostElement.setAttribute("footer","true")}return Promise.allSettled([i.registerProp(this.minHeight).subscribe((t=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"min-height":isNaN(t)?t:t+"px"})})),i.registerProp(this.fullHeight).subscribe((t=>this.fullHeight=t)),i.registerProp(this.verticalAlignment).subscribe((t=>this.verticalAlignment=t))])}render(){if(!this.classSubscription$){this.classSubscription$=i.registerProp(this.class);this.classSubscription$.subscribe((t=>{this.class=c(t)}))}return e(o,{class:this.class,"vertical-alignment":this.verticalAlignment,style:this.inlineStyle},e("div",{class:"content-text-block__content"},e("slot",{name:"content"}),e("slot",null)),e("slot",{name:"footer"}))}get hostElement(){return n(this)}};l.style=s;export{l as content_text_block};
2
+ //# sourceMappingURL=p-d3503dde.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["contentTextBlockCss","ContentTextBlock","componentDidLoad","this","hostElement","querySelector","setAttribute","Promise","allSettled","WindowResizeService","registerProp","minHeight","subscribe","newValue","inlineStyle","Object","assign","isNaN","fullHeight","verticalAlignment","render","classSubscription$","class","getHydratedClassString","h","Host","style","name"],"sources":["src/blocks/content-text-block/content-text-block.scss?tag=content-text-block","src/blocks/content-text-block/content-text-block.tsx"],"sourcesContent":["content-text-block {\n display: block;\n width: 100%;\n // height: 100%; // for content-block-tout mediaContent button positioning\n text-align: initial;\n // content-hero-block &,\n // content-grid-formatter & {\n // height: auto;\n // &[vertical-alignment=\"bottom\"],\n // &[vertical-alignment=\"center\"] {\n // height: 100%;\n // }\n // }\n visibility: hidden;\n &.hydrated {\n visibility: inherit;\n }\n \n &[full-height=\"true\"] {\n height: 100%;\n }\n > *[slot=\"footer\"] {\n margin-top: auto;\n margin-bottom: 0;\n width: 100%;\n padding-top: 1rem;\n height: auto;\n // @media #{$tablet-landscape-up} {\n // margin-top: auto;\n // margin-bottom: 0;\n // width: 100%;\n // }\n }\n &[vertical-alignment=\"bottom\"] > [slot=\"footer\"] {\n position: static;\n height: auto;\n }\n &[vertical-alignment] {\n display: flex;\n flex-direction: column;\n }\n\n &[vertical-alignment=\"top\"] {\n justify-content: flex-start;\n }\n &[vertical-alignment=\"center\"] {\n justify-content: center;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n }\n }\n &[vertical-alignment=\"bottom\"] {\n justify-content: flex-end;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n > [slot=\"footer\"] {\n margin-top: 0;\n }\n }\n }\n}","import { Component, h, Host, Element, State } from '@stencil/core';\nimport { HTMLStencilElement, Prop } from '@stencil/core/internal';\nimport { Observable } from 'rxjs';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentVerticalAlignments, ResponsiveString } from '../../typings';\nimport { getHydratedClassString } from '../../utils/utils';\n\n/**\n * @slot content - This slot will usually serve a text block.\n * @slot footer - This slot is placed below the content slot\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-text-block',\n styleUrl: 'content-text-block.scss',\n shadow: false,\n})\nexport class ContentTextBlock {\n /**\n * This is a pipe separated string representing the style class.\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) class: ResponsiveString;\n\n /**\n * This is a pipe separated string representing the minimum height. Units without values default to pixels.\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) minHeight: ResponsiveString;\n \n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) verticalAlignment: ContentVerticalAlignments | ResponsiveString = 'top';\n \n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) fullHeight: ResponsiveString = 'false';\n @Element() hostElement: HTMLStencilElement;\n @State() inlineStyle?: {[key: string]: string} = {};\n classSubscription$: Observable<string | number | boolean>;\n\n componentDidLoad() {\n if (!!this.hostElement.querySelector('[slot=\"footer\"]')) {\n this.hostElement.setAttribute('footer', 'true');\n }\n return Promise.allSettled([\n WindowResizeService.registerProp(this.minHeight).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'min-height': isNaN(newValue as any) ? newValue as string : newValue + 'px' };\n }),\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => this.fullHeight = newValue as string),\n WindowResizeService.registerProp(this.verticalAlignment).subscribe(newValue => this.verticalAlignment = newValue as string)\n ])\n }\n\n render() { \n if (!this.classSubscription$) {\n this.classSubscription$ = WindowResizeService.registerProp(this.class);\n this.classSubscription$.subscribe(newValue => {\n this.class = getHydratedClassString(newValue as string);\n });\n }\n return (\n <Host class={this.class} vertical-alignment={this.verticalAlignment} style={this.inlineStyle}>\n <div class=\"content-text-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </Host>\n );\n }\n}\n"],"mappings":"yJAAA,MAAMA,EAAsB,w9B,MCiBfC,EAAgB,M,8FAgC2C,M,gBASpC,Q,iBAEe,E,CAGjD,gBAAAC,GACE,KAAMC,KAAKC,YAAYC,cAAc,mBAAoB,CACvDF,KAAKC,YAAYE,aAAa,SAAU,O,CAE1C,OAAOC,QAAQC,WAAW,CACxBC,EAAoBC,aAAaP,KAAKQ,WAAWC,WAAUC,IACzDV,KAAKW,YAAWC,OAAAC,OAAAD,OAAAC,OAAA,GAAQb,KAAKW,aAAW,CAAE,aAAcG,MAAMJ,GAAmBA,EAAqBA,EAAW,MAAM,IAEzHJ,EAAoBC,aAAaP,KAAKe,YAAYN,WAAUC,GAAYV,KAAKe,WAAaL,IAC1FJ,EAAoBC,aAAaP,KAAKgB,mBAAmBP,WAAUC,GAAYV,KAAKgB,kBAAoBN,K,CAI5G,MAAAO,GACE,IAAKjB,KAAKkB,mBAAoB,CAC5BlB,KAAKkB,mBAAqBZ,EAAoBC,aAAaP,KAAKmB,OAChEnB,KAAKkB,mBAAmBT,WAAUC,IAChCV,KAAKmB,MAAQC,EAAuBV,EAAmB,G,CAG3D,OACEW,EAACC,EAAI,CAACH,MAAOnB,KAAKmB,MAAK,qBAAsBnB,KAAKgB,kBAAmBO,MAAOvB,KAAKW,aAC/EU,EAAA,OAAKF,MAAM,+BACTE,EAAA,QAAMG,KAAK,YACXH,EAAA,cAEFA,EAAA,QAAMG,KAAK,W"}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as i,g as n}from"./p-bf1cfb7b.js";import{W as o}from"./p-c5891e59.js";import{c as s,d as a}from"./p-89fb0d8f.js";import"./p-cd552ce2.js";const h="content-image{display:block;height:auto;transition:opacity 0.3s;position:relative;visibility:hidden}content-image.hydrated{visibility:inherit}content-image.content-image-loading{opacity:0}content-image.content-image-loaded{opacity:1}content-image img,content-image picture,content-image video{display:block;width:100%;height:100%}content-hero-block content-image img,content-grid-formatter content-image img,content-hero-block content-image picture,content-grid-formatter content-image picture,content-hero-block content-image video,content-grid-formatter content-image video{height:auto}content-image .content-image__media-content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden}content-image .content-image__media-content [slot=mediaContent]{height:100%;width:100%}@media (hover: hover){content-image[hover=true] .content-image__media-content{opacity:0}content-image[hover=true] .content-image__media-content:hover{opacity:1}}";const c=class{constructor(e){t(this,e);this.lazyLoad=true;this.src=undefined;this.alt=undefined;this.width="16";this.height="9";this.videoType="video/mp4";this.hover="false|true";this.lazyLoadIsComplete=false;this.showVideoAsGif=false;this.activeLazyLoadClass="";this.inlineStyle={};this.hasMediaContent=false}preloadImage(t){return new Promise((e=>{const i=new Image;i.onload=e;i.onerror=e;i.src=t}))}componentWillLoad(){return Promise.allSettled([o.registerProp(this.hover).subscribe((t=>this.hover=t)),o.registerProp(this.src).subscribe((t=>{this.showVideoAsGif=t.indexOf(".mp4")>=0;if(!this.lazyLoadIsComplete){this.lazyLoadIsComplete=true}this.src=t})),o.registerProp(this.alt).subscribe((t=>{this.alt=t})),o.registerProp(this.height).subscribe((t=>{this.height=t}))])}componentDidLoad(){this.hasMediaContent=!!this.hostElement.querySelector('[slot="mediaContent"]')}watchLazyLoadIsComplete(t){if(t===true){this.activeLazyLoadClass="content-image-loaded"}else{if(!this.lazyLoad){this.activeLazyLoadClass="content-image-no-lazyload"}else{this.activeLazyLoadClass="content-image-loading"}}}render(){let t="";let n="";if(this.src){s.forEach(((e,i)=>{if(i===0){n=a(0,this.src)}else{t+=`${a(i,this.src)} ${s[i]}w,`}}))}return e(i,{class:this.activeLazyLoadClass,style:this.inlineStyle,hover:this.hover},this.hasMediaContent&&e("div",{class:"content-image__media-content"},e("slot",{name:"mediaContent"})),this.showVideoAsGif?e("video",{autoplay:true,muted:true,loop:true,preload:"none",playsinline:true,width:this.width,height:this.height},e("source",{src:this.lazyLoadIsComplete?this.src:null,type:this.videoType})):e("picture",null,e("source",{srcSet:t}),e("img",{width:this.width,height:this.height,src:n,alt:this.alt})))}get hostElement(){return n(this)}static get watchers(){return{lazyLoadIsComplete:["watchLazyLoadIsComplete"]}}};c.style=h;export{c as content_image};
2
+ //# sourceMappingURL=p-dca7ab2c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["contentImageCss","ContentImage","preloadImage","src","Promise","r","image","Image","onload","onerror","componentWillLoad","allSettled","WindowResizeService","registerProp","this","hover","subscribe","newValue","showVideoAsGif","indexOf","lazyLoadIsComplete","alt","height","componentDidLoad","hasMediaContent","hostElement","querySelector","watchLazyLoadIsComplete","activeLazyLoadClass","lazyLoad","render","pictureSrcSet","pictureImageSrc","breakpointValues","forEach","_bp","index","getValueAtIndex","h","Host","class","style","inlineStyle","name","autoplay","muted","loop","preload","playsinline","width","type","videoType","srcSet"],"sources":["src/elements/content-image/content-image.scss?tag=content-image","src/elements/content-image/content-image.tsx"],"sourcesContent":["content-image {\n display: block;\n height: auto;\n transition: opacity .3s;\n position: relative;\n visibility: hidden;\n &.hydrated {\n visibility: inherit;\n }\n &.content-image-loading {\n opacity: 0;\n }\n &.content-image-loaded {\n opacity: 1;\n }\n img,\n picture,\n video {\n display: block;\n width: 100%;\n height: 100%;\n content-hero-block &,\n content-grid-formatter & {\n height: auto;\n }\n }\n\n .content-image__media-content {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n\n &[hover=\"true\"] {\n .content-image__media-content {\n @media (hover: hover) {\n opacity: 0;\n &:hover {\n opacity: 1;\n }\n }\n }\n }\n}\n","import { Component, h, Host, Element, Prop, State, Watch } from '@stencil/core';\nimport { HostElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { breakpointValues, getValueAtIndex } from '../../utils/utils';\n\n/**\n * @slot mediaContent - Media content that can be revealed on hover\n */\n@Component({\n tag: 'content-image',\n styleUrl: 'content-image.scss',\n shadow: false,\n})\nexport class ContentImage {\n @Element() hostElement: HostElement;\n /**\n * @type Boolean\n */\n @Prop() lazyLoad: boolean = true;\n /**\n * @type Media\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) src!: ResponsiveString;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) alt: ResponsiveString;\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) width: ResponsiveNumber = '16';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) height: ResponsiveNumber = '9';\n /**\n * @type Select\n * @options video/mp4\n */\n @Prop() videoType?: string = 'video/mp4';\n\n /**\n * If true, the media content will show only on hover\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) hover: ResponsiveBoolean = 'false|true';\n\n @State() lazyLoadIsComplete: boolean = false;\n @State() showVideoAsGif: boolean = false;\n @State() activeLazyLoadClass = '';\n @State() inlineStyle?: {[key: string]: string} = {};\n @State() hasMediaContent: boolean = false;\n preloadImage(src) {\n return new Promise(r => {\n const image = new Image()\n image.onload = r\n image.onerror = r\n image.src = src\n });\n }\n\n componentWillLoad() {\n return Promise.allSettled([\n WindowResizeService.registerProp(this.hover).subscribe(newValue => this.hover = newValue as string),\n WindowResizeService.registerProp(this.src).subscribe(newValue => {\n this.showVideoAsGif = (newValue as string).indexOf('.mp4') >= 0;\n if (!this.lazyLoadIsComplete) {\n this.lazyLoadIsComplete = true;\n }\n this.src = newValue as string;\n }),\n WindowResizeService.registerProp(this.alt).subscribe(newValue => {\n this.alt = newValue as string;\n }),\n WindowResizeService.registerProp(this.height).subscribe(newValue => {\n this.height = newValue as string;\n }),\n ])\n }\n \n componentDidLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n }\n\n @Watch('lazyLoadIsComplete')\n watchLazyLoadIsComplete(newValue: boolean) {\n if (newValue === true) {\n this.activeLazyLoadClass = 'content-image-loaded';\n } else {\n if (!this.lazyLoad) {\n this.activeLazyLoadClass = 'content-image-no-lazyload';\n } else {\n this.activeLazyLoadClass = 'content-image-loading';\n }\n }\n }\n\n render() {\n let pictureSrcSet = '';\n let pictureImageSrc = '';\n if (this.src) {\n breakpointValues.forEach((_bp, index) => {\n if (index === 0) {\n pictureImageSrc = getValueAtIndex(0, this.src);\n } else {\n pictureSrcSet += `${getValueAtIndex(index, this.src)} ${breakpointValues[index]}w,`;\n }\n });\n }\n return (\n <Host class={this.activeLazyLoadClass} style={this.inlineStyle} hover={this.hover}>\n { this.hasMediaContent && \n <div class=\"content-image__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n }\n { this.showVideoAsGif ? (\n <video autoplay muted loop preload=\"none\" playsinline width={this.width} height={this.height}>\n <source src={this.lazyLoadIsComplete ? this.src : null } type={this.videoType} />\n </video>\n ) : (\n <picture>\n <source srcSet={pictureSrcSet} />\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,GAAGM,EAAgBD,EAAOtB,KAAKX,QAAQ8B,EAAiBG,M,KAI/E,OACEE,EAACC,EAAI,CAACC,MAAO1B,KAAKc,oBAAqBa,MAAO3B,KAAK4B,YAAa3B,MAAOD,KAAKC,OAC1ED,KAAKU,iBACLc,EAAA,OAAKE,MAAM,gCACTF,EAAA,QAAMK,KAAK,kBAGb7B,KAAKI,eACLoB,EAAA,SAAOM,SAAQ,KAACC,MAAK,KAACC,KAAI,KAACC,QAAQ,OAAOC,YAAW,KAACC,MAAOnC,KAAKmC,MAAO3B,OAAQR,KAAKQ,QACpFgB,EAAA,UAAQnC,IAAKW,KAAKM,mBAAqBN,KAAKX,IAAM,KAAO+C,KAAMpC,KAAKqC,aAGtEb,EAAA,eACEA,EAAA,UAAQc,OAAQrB,IAChBO,EAAA,OAAKW,MAAOnC,KAAKmC,MAAO3B,OAAQR,KAAKQ,OAAQnB,IAAK6B,EAAiBX,IAAKP,KAAKO,O"}
@@ -0,0 +1,249 @@
1
+ @mixin scaledProperty($property, $mobile: null, $tabletPortrait: null, $tabletLandscape: null, $desktop: null, $desktopLarge: null, $desktopWide: null) {
2
+ @if $mobile {
3
+ #{$property}: $mobile;
4
+ }
5
+ @if $tabletPortrait {
6
+ @media #{$tablet-portrait-up} {
7
+ #{$property}: $tabletPortrait;
8
+ }
9
+ }
10
+ @if $tabletLandscape {
11
+ @media #{$tablet-landscape-up} {
12
+ #{$property}: $tabletLandscape;
13
+ }
14
+ }
15
+ @if desktop {
16
+ @media #{$tablet-desktop-up} {
17
+ #{$property}: $desktop;
18
+ }
19
+ }
20
+ @if $desktopLarge {
21
+ @media #{$desktop-large-up} {
22
+ #{$property}: $desktopLarge;
23
+ }
24
+ }
25
+ @if $desktopWide {
26
+ @media #{$desktop-wide-up} {
27
+ #{$property}: $desktopWide;
28
+ }
29
+ }
30
+ }
31
+
32
+ @mixin allPercentRules($property) {
33
+ @for $i from 0 to 101 {
34
+ &-#{$i} {
35
+ #{$property}: #{1% * $i};
36
+ }
37
+ }
38
+ }
39
+
40
+ @mixin allPercentRulesAllDevices($property) {
41
+ &-mobile {
42
+ @include allPercentRules($property);
43
+ }
44
+ &-tablet-portrait {
45
+ @media #{$tablet-portrait-up} {
46
+ @include allPercentRules($property);
47
+ }
48
+ }
49
+ &-tablet-landscape {
50
+ @media #{$tablet-landscape-up} {
51
+ @include allPercentRules($property);
52
+ }
53
+ }
54
+ &-desktop {
55
+ @media #{$tablet-desktop-up} {
56
+ @include allPercentRules($property);
57
+ }
58
+ }
59
+ &-large {
60
+ @media #{$desktop-large-up} {
61
+ @include allPercentRules($property);
62
+ }
63
+ }
64
+ &-desktop-wide {
65
+ @media #{$desktop-wide-up} {
66
+ @include allPercentRules($property);
67
+ }
68
+ }
69
+ }
70
+
71
+ @mixin allVerticalFlexAlignItems {
72
+ &-top {
73
+ justify-content: flex-start;
74
+ }
75
+ &-center {
76
+ justify-content: center;
77
+ }
78
+ &-bottom {
79
+ justify-content: flex-end;
80
+ }
81
+ }
82
+
83
+ @mixin allVerticalFlexAlignItemsAllDevices {
84
+ &-mobile {
85
+ @include allVerticalFlexAlignItems;
86
+ }
87
+ &-tablet-portrait {
88
+ @media #{$tablet-portrait-up} {
89
+ @include allVerticalFlexAlignItems;
90
+ }
91
+ }
92
+ &-tablet-landscape {
93
+ @media #{$tablet-landscape-up} {
94
+ @include allVerticalFlexAlignItems;
95
+ }
96
+ }
97
+ &-desktop {
98
+ @media #{$tablet-desktop-up} {
99
+ @include allVerticalFlexAlignItems;
100
+ }
101
+ }
102
+ &-large {
103
+ @media #{$desktop-large-up} {
104
+ @include allVerticalFlexAlignItems;
105
+ }
106
+ }
107
+ &-desktop-wide {
108
+ @media #{$desktop-wide-up} {
109
+ @include allVerticalFlexAlignItems;
110
+ }
111
+ }
112
+ }
113
+
114
+ @mixin allMaxWidthRules {
115
+ &-left {
116
+ margin-left: 0;
117
+ margin-right: auto;
118
+ }
119
+ &-center {
120
+ margin-left: auto;
121
+ margin-right: auto;
122
+ }
123
+ &-right {
124
+ margin-left: auto;
125
+ margin-right: 0;
126
+ }
127
+ }
128
+ @mixin allMaxWidthRulesAllDevices {
129
+ &-mobile {
130
+ @include allMaxWidthRules;
131
+ }
132
+ &-tablet-portrait {
133
+ @media #{$tablet-portrait-up} {
134
+ @include allMaxWidthRules;
135
+ }
136
+ }
137
+ &-tablet-landscape {
138
+ @media #{$tablet-landscape-up} {
139
+ @include allMaxWidthRules;
140
+ }
141
+ }
142
+ &-desktop {
143
+ @media #{$tablet-desktop-up} {
144
+ @include allMaxWidthRules;
145
+ }
146
+ }
147
+ &-large {
148
+ @media #{$desktop-large-up} {
149
+ @include allMaxWidthRules;
150
+ }
151
+ }
152
+ &-desktop-wide {
153
+ @media #{$desktop-wide-up} {
154
+ @include allMaxWidthRules;
155
+ }
156
+ }
157
+ }
158
+
159
+ @mixin allTextAlignRules {
160
+ &-left {
161
+ text-align: left;
162
+ }
163
+ &-center {
164
+ text-align: center;
165
+ }
166
+ &-right {
167
+ text-align: right;
168
+ }
169
+ }
170
+
171
+ @mixin allHeroContentPlacementRules {
172
+ &-above {
173
+ .content-hero-block__inner {
174
+ display: grid;
175
+ grid-template-columns: 1fr;
176
+ }
177
+ .content-hero-block__media,
178
+ .content-hero-block__content {
179
+ grid-row-start: 1;
180
+ grid-column-start: 1;
181
+ }
182
+ }
183
+ &-below {
184
+ .content-hero-block__inner {
185
+ display: block;
186
+ }
187
+ }
188
+ }
189
+ @mixin allHeroContentPlacementRulesAllDevices {
190
+ &-mobile {
191
+ @include allHeroContentPlacementRules;
192
+ }
193
+ &-tablet-portrait {
194
+ @media #{$tablet-portrait-up} {
195
+ @include allHeroContentPlacementRules;
196
+ }
197
+ }
198
+ &-tablet-landscape {
199
+ @media #{$tablet-landscape-up} {
200
+ @include allHeroContentPlacementRules;
201
+ }
202
+ }
203
+ &-desktop {
204
+ @media #{$tablet-desktop-up} {
205
+ @include allHeroContentPlacementRules;
206
+ }
207
+ }
208
+ &-large {
209
+ @media #{$desktop-large-up} {
210
+ @include allHeroContentPlacementRules;
211
+ }
212
+ }
213
+ &-desktop-wide {
214
+ @media #{$desktop-wide-up} {
215
+ @include allHeroContentPlacementRules;
216
+ }
217
+ }
218
+ }
219
+
220
+ @mixin responsiveProperty($settingKey) {
221
+ #{$settingKey}-mobile {
222
+ @content;
223
+ }
224
+ #{$settingKey}-tablet-portrait {
225
+ @media #{$tablet-portrait-up} {
226
+ @content;
227
+ }
228
+ }
229
+ #{$settingKey}-tablet-landscape {
230
+ @media #{$tablet-landscape-up} {
231
+ @content;
232
+ }
233
+ }
234
+ #{$settingKey}-desktop {
235
+ @media #{$tablet-desktop-up} {
236
+ @content;
237
+ }
238
+ }
239
+ #{$settingKey}-desktop-large {
240
+ @media #{$desktop-large-up} {
241
+ @content;
242
+ }
243
+ }
244
+ #{$settingKey}-desktop-wide {
245
+ @media #{$desktop-wide-up} {
246
+ @content;
247
+ }
248
+ }
249
+ }
@@ -0,0 +1,18 @@
1
+ $mobile-only: "screen and (max-width: 767px)";
2
+ $tablet-portrait-up: "screen and (min-width: 768px)";
3
+ $tablet-portrait-down: "screen and (max-width: 768px)";
4
+
5
+ $mobile-tablet-portrait-only: "screen and (max-width: 1023px)";
6
+ $tablet-portrait-only: "screen and (min-width: 768px) and (max-width: 1023px)";
7
+ $tablet-landscape-up: "screen and (min-width: 1024px)";
8
+ $tablet-landscape-down: "screen and (min-width: 1024px)";
9
+
10
+ $mobile-tablet-portrait-landscape-desktop-only: "screen and (max-width: 1366px)";
11
+ $tablet-portrait-landscape-only: "screen and (min-width: 768px) and (max-width: 1024px)";
12
+ $tablet-portrait-landscape-pro-only: "screen and (min-width: 768px) and (max-width: 1366px)";
13
+ $tablet-landscape-pro-only: "screen and (min-width: 1024px) and (max-width: 1366px)";
14
+ $tablet-landscape-pro-down: "screen and (max-width: 1366px)";
15
+ $tablet-desktop-up: "screen and (min-width: 1280px)";
16
+
17
+ $desktop-large-up: "screen and (min-width: 1440px)";
18
+ $desktop-wide-up: "screen and (min-width: 1920px)";