@ptcwebops/ptcw-design 1.2.7 → 1.2.9

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 (379) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/bundle-example.cjs.entry.js +30 -30
  3. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +35 -32
  4. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  5. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  6. package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
  7. package/dist/cjs/list-item.cjs.entry.js +23 -23
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  10. package/dist/cjs/max-width-container_6.cjs.entry.js +487 -485
  11. package/dist/cjs/my-component.cjs.entry.js +15 -15
  12. package/dist/cjs/ptc-accordion-item.cjs.entry.js +83 -83
  13. package/dist/cjs/ptc-accordion.cjs.entry.js +35 -35
  14. package/dist/cjs/ptc-announcement.cjs.entry.js +51 -51
  15. package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
  16. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +127 -126
  17. package/dist/cjs/ptc-button_8.cjs.entry.js +481 -481
  18. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +122 -122
  19. package/dist/cjs/ptc-card.cjs.entry.js +66 -65
  20. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  21. package/dist/cjs/ptc-collapse-list.cjs.entry.js +346 -346
  22. package/dist/cjs/ptc-container.cjs.entry.js +33 -32
  23. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  24. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  25. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +38 -38
  26. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  27. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  28. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  29. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  30. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
  31. package/dist/cjs/ptc-link.cjs.entry.js +30 -30
  32. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  33. package/dist/cjs/ptc-lottie.cjs.entry.js +10 -10
  34. package/dist/cjs/ptc-media-card.cjs.entry.js +24 -24
  35. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  36. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  37. package/dist/cjs/ptc-mobile-select.cjs.entry.js +53 -53
  38. package/dist/cjs/ptc-nav-card.cjs.entry.js +40 -40
  39. package/dist/cjs/ptc-nav-link.cjs.entry.js +47 -0
  40. package/dist/cjs/ptc-nav-slider.cjs.entry.js +94 -0
  41. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +29 -0
  42. package/dist/cjs/ptc-pagenation.cjs.entry.js +213 -213
  43. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  44. package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
  45. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
  46. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  47. package/dist/cjs/ptc-readmore.cjs.entry.js +73 -73
  48. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  49. package/dist/cjs/ptc-search-field.cjs.entry.js +66 -66
  50. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  51. package/dist/cjs/ptc-social-share.cjs.entry.js +59 -59
  52. package/dist/cjs/ptc-span.cjs.entry.js +18 -18
  53. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  54. package/dist/cjs/ptc-sticky-section.cjs.entry.js +38 -0
  55. package/dist/cjs/ptc-subnav-card.cjs.entry.js +26 -0
  56. package/dist/cjs/ptc-subnav.cjs.entry.js +32 -0
  57. package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
  58. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  59. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  60. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +27 -27
  61. package/dist/cjs/ptc-tooltip.cjs.entry.js +83 -80
  62. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  63. package/dist/cjs/ptcw-design.cjs.js +1 -1
  64. package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
  65. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  66. package/dist/cjs/tab-header.cjs.entry.js +64 -64
  67. package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
  68. package/dist/collection/collection-manifest.json +6 -0
  69. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  70. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  71. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  72. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  73. package/dist/collection/components/icon-asset/media/designer.svg +397 -387
  74. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  75. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  76. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  77. package/dist/collection/components/list-item/list-item.css +19 -0
  78. package/dist/collection/components/list-item/list-item.js +144 -144
  79. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  80. package/dist/collection/components/max-width-container/max-width-container.js +105 -105
  81. package/dist/collection/components/my-component/my-component.css +3 -3
  82. package/dist/collection/components/my-component/my-component.js +82 -82
  83. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  84. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
  85. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  86. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +87 -66
  87. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  88. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +89 -89
  89. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +152 -152
  90. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
  91. package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
  92. package/dist/collection/components/ptc-announcement/ptc-announcement.css +0 -5
  93. package/dist/collection/components/ptc-announcement/ptc-announcement.js +237 -237
  94. package/dist/collection/components/ptc-background-video/ptc-background-video.js +122 -102
  95. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  96. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  97. package/dist/collection/components/ptc-button/ptc-button.js +283 -283
  98. package/dist/collection/components/ptc-card/ptc-card.js +362 -344
  99. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  100. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  101. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
  102. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  103. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
  104. package/dist/collection/components/ptc-container/ptc-container.js +138 -120
  105. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  106. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  107. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  108. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  109. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
  110. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  111. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  112. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  113. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  114. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  115. package/dist/collection/components/ptc-img/ptc-img.js +293 -293
  116. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +21 -0
  117. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +297 -278
  118. package/dist/collection/components/ptc-link/ptc-link.js +222 -222
  119. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  120. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  121. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  122. package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
  123. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  124. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  125. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  126. package/dist/collection/components/ptc-modal/ptc-modal.css +1 -1
  127. package/dist/collection/components/ptc-modal/ptc-modal.js +389 -389
  128. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +228 -228
  129. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  130. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +468 -468
  131. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  132. package/dist/collection/components/ptc-picture/ptc-picture.js +453 -453
  133. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  134. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +16 -4
  135. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  136. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +23 -1
  137. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  138. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  139. package/dist/collection/components/ptc-readmore/ptc-readmore.js +298 -298
  140. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  141. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  142. package/dist/collection/components/ptc-search-field/ptc-search-field.css +1 -1
  143. package/dist/collection/components/ptc-search-field/ptc-search-field.js +239 -239
  144. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  145. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  146. package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
  147. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  148. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  149. package/dist/collection/components/ptc-span/ptc-span.js +87 -87
  150. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  151. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +10 -0
  152. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +46 -0
  153. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  154. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
  155. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  156. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  157. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +166 -166
  158. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  159. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +270 -267
  160. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  161. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +79 -0
  162. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -0
  163. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +72 -0
  164. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +126 -0
  165. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +159 -0
  166. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +85 -0
  167. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +59 -0
  168. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +47 -0
  169. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +25 -0
  170. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -0
  171. package/dist/collection/components/tab-content/tab-content.js +84 -84
  172. package/dist/collection/components/tab-header/tab-header.js +182 -182
  173. package/dist/collection/index.js +1 -1
  174. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  175. package/dist/collection/media/svg-imgs/close.svg +10 -10
  176. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  177. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  178. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  179. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  180. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  181. package/dist/collection/media/svg-imgs/union.svg +3 -3
  182. package/dist/collection/utils/component.js +3 -3
  183. package/dist/collection/utils/interfaces.js +11 -11
  184. package/dist/collection/utils/utils.js +92 -92
  185. package/dist/custom-elements/index.d.ts +36 -0
  186. package/dist/custom-elements/index.js +4676 -4418
  187. package/dist/esm/bundle-example.entry.js +30 -30
  188. package/dist/esm/bundle-jumbotron-example.entry.js +35 -32
  189. package/dist/esm/dropdown-item.entry.js +10 -10
  190. package/dist/esm/icon-asset.entry.js +42 -42
  191. package/dist/esm/{interfaces-c1c73092.js → interfaces-7c0243be.js} +9 -9
  192. package/dist/esm/list-item.entry.js +23 -23
  193. package/dist/esm/loader.js +1 -1
  194. package/dist/esm/lottie-player.entry.js +354 -354
  195. package/dist/esm/max-width-container_6.entry.js +487 -485
  196. package/dist/esm/my-component.entry.js +15 -15
  197. package/dist/esm/polyfills/core-js.js +0 -0
  198. package/dist/esm/polyfills/dom.js +0 -0
  199. package/dist/esm/polyfills/es5-html-element.js +0 -0
  200. package/dist/esm/polyfills/index.js +0 -0
  201. package/dist/esm/polyfills/system.js +0 -0
  202. package/dist/esm/ptc-accordion-item.entry.js +83 -83
  203. package/dist/esm/ptc-accordion.entry.js +35 -35
  204. package/dist/esm/ptc-announcement.entry.js +51 -51
  205. package/dist/esm/ptc-bio-card.entry.js +24 -24
  206. package/dist/esm/ptc-breadcrumb_2.entry.js +127 -126
  207. package/dist/esm/ptc-button_8.entry.js +481 -481
  208. package/dist/esm/ptc-card-bottom_3.entry.js +122 -122
  209. package/dist/esm/ptc-card.entry.js +66 -65
  210. package/dist/esm/ptc-checkbox.entry.js +50 -50
  211. package/dist/esm/ptc-collapse-list.entry.js +346 -346
  212. package/dist/esm/ptc-container.entry.js +33 -32
  213. package/dist/esm/ptc-date.entry.js +50 -50
  214. package/dist/esm/ptc-dropdown.entry.js +64 -64
  215. package/dist/esm/ptc-ellipsis-dropdown.entry.js +38 -38
  216. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  217. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  218. package/dist/esm/ptc-hero.entry.js +18 -18
  219. package/dist/esm/ptc-icon-list.entry.js +21 -21
  220. package/dist/esm/ptc-icon-minimize.entry.js +43 -43
  221. package/dist/esm/ptc-link.entry.js +30 -30
  222. package/dist/esm/ptc-list.entry.js +49 -49
  223. package/dist/esm/ptc-lottie.entry.js +10 -10
  224. package/dist/esm/ptc-media-card.entry.js +24 -24
  225. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  226. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  227. package/dist/esm/ptc-mobile-select.entry.js +53 -53
  228. package/dist/esm/ptc-nav-card.entry.js +40 -40
  229. package/dist/esm/ptc-nav-link.entry.js +43 -0
  230. package/dist/esm/ptc-nav-slider.entry.js +90 -0
  231. package/dist/esm/ptc-nav-submenu.entry.js +25 -0
  232. package/dist/esm/ptc-pagenation.entry.js +213 -213
  233. package/dist/esm/ptc-previous-url.entry.js +11 -11
  234. package/dist/esm/ptc-pricing-block.entry.js +21 -21
  235. package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
  236. package/dist/esm/ptc-quote.entry.js +23 -23
  237. package/dist/esm/ptc-readmore.entry.js +73 -73
  238. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  239. package/dist/esm/ptc-search-field.entry.js +66 -66
  240. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  241. package/dist/esm/ptc-social-share.entry.js +59 -59
  242. package/dist/esm/ptc-span.entry.js +18 -18
  243. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  244. package/dist/esm/ptc-sticky-section.entry.js +34 -0
  245. package/dist/esm/ptc-subnav-card.entry.js +22 -0
  246. package/dist/esm/ptc-subnav.entry.js +28 -0
  247. package/dist/esm/ptc-tab-list.entry.js +125 -125
  248. package/dist/esm/ptc-tab.entry.js +20 -20
  249. package/dist/esm/ptc-tabs.entry.js +47 -47
  250. package/dist/esm/ptc-text-copy-with-background.entry.js +27 -27
  251. package/dist/esm/ptc-tooltip.entry.js +83 -80
  252. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  253. package/dist/esm/ptcw-design.js +1 -1
  254. package/dist/esm/sequential-bundle.entry.js +88 -88
  255. package/dist/esm/tab-content.entry.js +27 -27
  256. package/dist/esm/tab-header.entry.js +64 -64
  257. package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
  258. package/dist/ptcw-design/media/brands.svg +1381 -1381
  259. package/dist/ptcw-design/media/designer.svg +397 -387
  260. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  261. package/dist/ptcw-design/media/regular.svg +463 -463
  262. package/dist/ptcw-design/media/solid.svg +3013 -3013
  263. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  264. package/dist/ptcw-design/{p-a76bf4d6.entry.js → p-1a346da4.entry.js} +1 -1
  265. package/dist/ptcw-design/p-1d8c24dd.entry.js +1 -0
  266. package/dist/ptcw-design/{p-0c1e7f62.entry.js → p-3f2b9cad.entry.js} +1 -1
  267. package/dist/ptcw-design/p-4947eb0a.entry.js +1 -0
  268. package/dist/ptcw-design/p-4a1d0d07.entry.js +1 -0
  269. package/dist/ptcw-design/p-51ee36a7.entry.js +1 -0
  270. package/dist/ptcw-design/p-54f905b1.entry.js +1 -0
  271. package/dist/ptcw-design/{p-619dac51.entry.js → p-6696c7e0.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-7f7594ee.entry.js → p-7c80b666.entry.js} +1 -1
  273. package/dist/ptcw-design/p-8c37ee88.entry.js +1 -0
  274. package/dist/ptcw-design/p-94c33d5d.entry.js +1 -0
  275. package/dist/ptcw-design/p-9d7ccb04.entry.js +1 -0
  276. package/dist/ptcw-design/p-c1d75020.entry.js +1 -0
  277. package/dist/ptcw-design/p-c255aad7.entry.js +1 -0
  278. package/dist/ptcw-design/p-d7e11aad.entry.js +1 -0
  279. package/dist/ptcw-design/{p-de336318.entry.js → p-d91ff88e.entry.js} +1 -1
  280. package/dist/ptcw-design/p-e19dbf90.entry.js +1 -0
  281. package/dist/ptcw-design/{p-c0b1c34c.entry.js → p-e3af3cc7.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-ab9d5bb9.entry.js → p-e60eb5aa.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-0eeebc10.entry.js → p-f498d4ab.entry.js} +1 -1
  284. package/dist/ptcw-design/p-fbf6f66c.entry.js +1 -0
  285. package/dist/ptcw-design/ptcw-design.css +1 -1
  286. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  287. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  288. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  289. package/dist/types/components/list-item/list-item.d.ts +16 -16
  290. package/dist/types/components/max-width-container/max-width-container.d.ts +11 -11
  291. package/dist/types/components/my-component/my-component.d.ts +16 -16
  292. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  293. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -4
  294. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  295. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  296. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  297. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  298. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
  299. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +30 -26
  300. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  301. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  302. package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
  303. package/dist/types/components/ptc-card/ptc-card.d.ts +71 -67
  304. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  305. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  306. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -24
  307. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  308. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
  309. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -12
  310. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  311. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  312. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  313. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  314. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  315. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  316. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  317. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  318. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  319. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  320. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +22 -21
  321. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  322. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  323. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  324. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
  325. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  326. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  327. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  328. package/dist/types/components/ptc-modal/ptc-modal.d.ts +67 -67
  329. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  330. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  331. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +35 -35
  332. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  333. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  334. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  335. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  336. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  337. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  338. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  339. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  340. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +22 -22
  341. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  342. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  343. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
  344. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  345. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  346. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  347. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -0
  348. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  349. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
  350. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  351. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  352. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -33
  353. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  354. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +47 -47
  355. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  356. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -0
  357. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -0
  358. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +18 -0
  359. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +7 -0
  360. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -0
  361. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  362. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  363. package/dist/types/components.d.ts +330 -132
  364. package/dist/types/global.d.ts +1072 -1072
  365. package/dist/types/index.d.ts +1 -1
  366. package/dist/types/utils/component.d.ts +1 -1
  367. package/dist/types/utils/interfaces.d.ts +31 -31
  368. package/dist/types/utils/utils.d.ts +5 -5
  369. package/package.json +60 -60
  370. package/readme.md +18 -18
  371. package/dist/ptcw-design/p-11d73140.entry.js +0 -1
  372. package/dist/ptcw-design/p-1673d5a4.entry.js +0 -1
  373. package/dist/ptcw-design/p-2feb5db1.entry.js +0 -1
  374. package/dist/ptcw-design/p-603576bb.entry.js +0 -1
  375. package/dist/ptcw-design/p-6756c89e.entry.js +0 -1
  376. package/dist/ptcw-design/p-bcbf087c.entry.js +0 -1
  377. package/dist/ptcw-design/p-da23d3d7.entry.js +0 -1
  378. /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
  379. /package/dist/ptcw-design/{p-50e52c88.js → p-ee1183b2.js} +0 -0
@@ -1,517 +1,517 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, a as getAssetPath } from './index-4afc9d28.js';
2
- import { R as ResponsivePictureVariables } from './interfaces-c1c73092.js';
2
+ import { R as ResponsivePictureVariables } from './interfaces-7c0243be.js';
3
3
  import { S as Swiper } from './core-1c9d4889.js';
4
4
 
5
5
  const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus,.icon-toggle:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";
6
6
 
7
- const PtcButton = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.clickEvent = createEvent(this, "clickEvent", 7);
11
- this.disabled = false;
12
- this.active = false;
13
- this.type = 'button';
14
- this.color = 'ptc-primary';
15
- this.iconAnimation = '';
16
- this.iconPosition = 'icon-right';
17
- this.linkHref = undefined;
18
- this.linkTitle = undefined;
19
- this.target = '_self';
20
- this.rel = undefined;
21
- this.tabNav = 0;
22
- this.styles = undefined;
23
- }
24
- clickEventHandler() {
25
- this.clickEvent.emit();
26
- }
27
- render() {
28
- const classMap = this.getCssClassMap();
29
- const Tag = !!this.linkHref ? 'a' : 'button';
30
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
31
- }
32
- getCssClassMap() {
33
- return {
34
- [this.color]: true,
35
- [this.iconAnimation]: true,
36
- [this.iconPosition]: true,
37
- ['disabled']: this.disabled ? true : false,
38
- ['active']: this.active ? true : false,
39
- };
40
- }
41
- };
7
+ const PtcButton = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.clickEvent = createEvent(this, "clickEvent", 7);
11
+ this.disabled = false;
12
+ this.active = false;
13
+ this.type = 'button';
14
+ this.color = 'ptc-primary';
15
+ this.iconAnimation = '';
16
+ this.iconPosition = 'icon-right';
17
+ this.linkHref = undefined;
18
+ this.linkTitle = undefined;
19
+ this.target = '_self';
20
+ this.rel = undefined;
21
+ this.tabNav = 0;
22
+ this.styles = undefined;
23
+ }
24
+ clickEventHandler() {
25
+ this.clickEvent.emit();
26
+ }
27
+ render() {
28
+ const classMap = this.getCssClassMap();
29
+ const Tag = !!this.linkHref ? 'a' : 'button';
30
+ return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
31
+ }
32
+ getCssClassMap() {
33
+ return {
34
+ [this.color]: true,
35
+ [this.iconAnimation]: true,
36
+ [this.iconPosition]: true,
37
+ ['disabled']: this.disabled ? true : false,
38
+ ['active']: this.active ? true : false,
39
+ };
40
+ }
41
+ };
42
42
  PtcButton.style = ptcButtonCss;
43
43
 
44
44
  const ptcCardContentCss = ":host{display:block;height:100%}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}";
45
45
 
46
- const PtcCardContent = class {
47
- constructor(hostRef) {
48
- registerInstance(this, hostRef);
49
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
50
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
51
- this.cardType = undefined;
52
- this.outlineColor = undefined;
53
- this.styles = undefined;
54
- this.isLoading = false;
55
- }
56
- hoverEventHandler() {
57
- if (!this.el.classList.contains('speed-bump') &&
58
- !this.el.classList.contains('card-video-intro') &&
59
- !this.el.classList.contains('card-dynamic') &&
60
- !this.el.classList.contains('extra-tall')) {
61
- this.hoverEvent.emit();
62
- this.el.classList.add('mouse-hover');
63
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
64
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
65
- }
66
- }
67
- }
68
- leaveEventHandler() {
69
- if (!this.el.classList.contains('speed-bump') &&
70
- !this.el.classList.contains('card-video-intro') &&
71
- !this.el.classList.contains('card-dynamic') &&
72
- !this.el.classList.contains('extra-tall')) {
73
- this.hoverEvent.emit();
74
- this.el.classList.remove('mouse-hover');
75
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
76
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
77
- }
78
- }
79
- }
80
- async setHeight(height) {
81
- this.el.style.height = height + 'px';
82
- const image = this.el.querySelector('ptc-picture');
83
- image.style.height = height + 'px';
84
- }
85
- async removeInlineHeight() {
86
- this.el.style.removeProperty('height');
87
- const image = this.el.querySelector('ptc-picture');
88
- if (image)
89
- image.style.removeProperty('height');
90
- }
91
- render() {
92
- const classMap = this.getCssClassMap();
93
- return (h(Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
94
- }
95
- getCssClassMap() {
96
- return {
97
- [this.cardType]: !!this.cardType ? true : false,
98
- [this.outlineColor]: !!this.outlineColor ? true : false,
99
- };
100
- }
101
- get el() { return getElement(this); }
102
- };
46
+ const PtcCardContent = class {
47
+ constructor(hostRef) {
48
+ registerInstance(this, hostRef);
49
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
50
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
51
+ this.cardType = undefined;
52
+ this.outlineColor = undefined;
53
+ this.styles = undefined;
54
+ this.isLoading = false;
55
+ }
56
+ hoverEventHandler() {
57
+ if (!this.el.classList.contains('speed-bump') &&
58
+ !this.el.classList.contains('card-video-intro') &&
59
+ !this.el.classList.contains('card-dynamic') &&
60
+ !this.el.classList.contains('extra-tall')) {
61
+ this.hoverEvent.emit();
62
+ this.el.classList.add('mouse-hover');
63
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
64
+ this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
65
+ }
66
+ }
67
+ }
68
+ leaveEventHandler() {
69
+ if (!this.el.classList.contains('speed-bump') &&
70
+ !this.el.classList.contains('card-video-intro') &&
71
+ !this.el.classList.contains('card-dynamic') &&
72
+ !this.el.classList.contains('extra-tall')) {
73
+ this.hoverEvent.emit();
74
+ this.el.classList.remove('mouse-hover');
75
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
76
+ this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
77
+ }
78
+ }
79
+ }
80
+ async setHeight(height) {
81
+ this.el.style.height = height + 'px';
82
+ const image = this.el.querySelector('ptc-picture');
83
+ image.style.height = height + 'px';
84
+ }
85
+ async removeInlineHeight() {
86
+ this.el.style.removeProperty('height');
87
+ const image = this.el.querySelector('ptc-picture');
88
+ if (image)
89
+ image.style.removeProperty('height');
90
+ }
91
+ render() {
92
+ const classMap = this.getCssClassMap();
93
+ return (h(Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
94
+ }
95
+ getCssClassMap() {
96
+ return {
97
+ [this.cardType]: !!this.cardType ? true : false,
98
+ [this.outlineColor]: !!this.outlineColor ? true : false,
99
+ };
100
+ }
101
+ get el() { return getElement(this); }
102
+ };
103
103
  PtcCardContent.style = ptcCardContentCss;
104
104
 
105
105
  const ptcDynamicCardCss = ":host{display:block}:host(.sequential) .card-wrapper{position:relative;cursor:pointer}:host(.sequential) .card{background-color:var(--color-gray-12);overflow:hidden}:host(.sequential) .card-mobile,:host(.sequential) .card-dt-open{display:block;border-top:5px solid var(--color-green-05)}:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{display:flex;flex-basis:38%;justify-content:center;align-items:center;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06)}@media only screen and (min-width: 1440px){:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}:host(.sequential) .card-mobile ptc-picture,:host(.sequential) .card-dt-open ptc-picture{flex-basis:62%}:host(.sequential) .card-mobile .card-title h3,:host(.sequential) .card-dt-open .card-title h3{color:var(--color-white);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal)}:host(.sequential) .card-mobile .card-content,:host(.sequential) .card-dt-open .card-content{margin-top:var(--ptc-element-spacing-03)}:host(.sequential) .card-dt-closed{width:135px;height:424px;position:relative}:host(.sequential) .card-dt-closed .closed-content{position:absolute;width:100%;height:100%;top:0;display:flex;align-items:center;justify-content:center}:host(.sequential) .card-dt-closed .card-title{text-align:center}:host(.sequential) .card-dt-closed .card-title h2{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal);padding-left:var(--ptc-element-spacing-03);padding-right:var(--ptc-element-spacing-03)}@media only screen and (min-width: 1440px){:host(.sequential) .card-dt-closed .card-title h2{font-size:var(--ptc-font-size-small)}}:host(.sequential) .card-dt-open{display:flex;width:45vw;height:480px;transition:width var(--ptc-transition-x-fast) var(--ptc-ease-out)}";
106
106
 
107
- const PtcDynamicCard = class {
108
- constructor(hostRef) {
109
- registerInstance(this, hostRef);
110
- this.dotSvg = getAssetPath('./media/nav-active-dotslick.svg');
111
- this.cardType = 'sequential';
112
- this.cardTitle = 'Card Title Goes Here';
113
- this.cardImgSrc = undefined;
114
- this.cardImgAlt = undefined;
115
- this.cardScreen = 'desktop';
116
- this.isExpanded = undefined;
117
- this.overlayExists = true;
118
- }
119
- // handleClick() {
120
- // this.isExpanded = !this.isExpanded;
121
- // }
122
- getDesktopCard() {
123
- if (this.cardScreen === 'desktop' && this.isExpanded) {
124
- return [
125
- h("div", { class: "card card-dt-open" }, h("ptc-card-content", { "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h3", null, this.cardTitle)), h("div", { class: "card-content" }, h("slot", null))), h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "is-full-height": "true", "image-alignment": "center" })),
126
- ];
127
- }
128
- else if (this.cardScreen === 'desktop' && !this.isExpanded) {
129
- return [
130
- h("div", { class: "card card-dt-closed" }, h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "image-position": "relative", "is-full-width": true, height: "424" }, this.overlayExists ? h("ptc-overlay", { "filter-color": "black-3" }) : h("ptc-overlay", { "filter-color": "black-2" })), h("div", { class: "closed-content", "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h2", null, this.cardTitle)))),
131
- ];
132
- }
133
- else {
134
- return null;
135
- }
136
- }
137
- componentDidLoad() {
138
- // this.handleResize();
139
- this.el.addEventListener('mouseenter', () => (this.overlayExists = false));
140
- this.el.addEventListener('mouseleave', () => (this.overlayExists = true));
141
- }
142
- render() {
143
- const classMap = this.getCssClassMap();
144
- return (h(Host, { class: classMap }, h("div", { class: "card-wrapper" }, this.cardScreen == 'mobile' ? (h("div", { class: "card card-mobile" }, h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc }), h("ptc-card-content", { "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h3", null, this.cardTitle)), h("div", { class: "card-content" }, h("slot", null))))) : (this.getDesktopCard())), this.cardScreen === 'desktop' && (h("div", { hidden: true }, h("svg", null, h("use", { href: `${this.dotSvg}` }))))));
145
- }
146
- getCssClassMap() {
147
- return {
148
- [this.cardType]: true,
149
- };
150
- }
151
- static get assetsDirs() { return ["media"]; }
152
- get el() { return getElement(this); }
153
- };
107
+ const PtcDynamicCard = class {
108
+ constructor(hostRef) {
109
+ registerInstance(this, hostRef);
110
+ this.dotSvg = getAssetPath('./media/nav-active-dotslick.svg');
111
+ this.cardType = 'sequential';
112
+ this.cardTitle = 'Card Title Goes Here';
113
+ this.cardImgSrc = undefined;
114
+ this.cardImgAlt = undefined;
115
+ this.cardScreen = 'desktop';
116
+ this.isExpanded = undefined;
117
+ this.overlayExists = true;
118
+ }
119
+ // handleClick() {
120
+ // this.isExpanded = !this.isExpanded;
121
+ // }
122
+ getDesktopCard() {
123
+ if (this.cardScreen === 'desktop' && this.isExpanded) {
124
+ return [
125
+ h("div", { class: "card card-dt-open" }, h("ptc-card-content", { "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h3", null, this.cardTitle)), h("div", { class: "card-content" }, h("slot", null))), h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "is-full-height": "true", "image-alignment": "center" })),
126
+ ];
127
+ }
128
+ else if (this.cardScreen === 'desktop' && !this.isExpanded) {
129
+ return [
130
+ h("div", { class: "card card-dt-closed" }, h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "image-position": "relative", "is-full-width": true, height: "424" }, this.overlayExists ? h("ptc-overlay", { "filter-color": "black-3" }) : h("ptc-overlay", { "filter-color": "black-2" })), h("div", { class: "closed-content", "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h2", null, this.cardTitle)))),
131
+ ];
132
+ }
133
+ else {
134
+ return null;
135
+ }
136
+ }
137
+ componentDidLoad() {
138
+ // this.handleResize();
139
+ this.el.addEventListener('mouseenter', () => (this.overlayExists = false));
140
+ this.el.addEventListener('mouseleave', () => (this.overlayExists = true));
141
+ }
142
+ render() {
143
+ const classMap = this.getCssClassMap();
144
+ return (h(Host, { class: classMap }, h("div", { class: "card-wrapper" }, this.cardScreen == 'mobile' ? (h("div", { class: "card card-mobile" }, h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc }), h("ptc-card-content", { "card-type": "card-dynamic" }, h("div", { class: "card-title" }, h("h3", null, this.cardTitle)), h("div", { class: "card-content" }, h("slot", null))))) : (this.getDesktopCard())), this.cardScreen === 'desktop' && (h("div", { hidden: true }, h("svg", null, h("use", { href: `${this.dotSvg}` }))))));
145
+ }
146
+ getCssClassMap() {
147
+ return {
148
+ [this.cardType]: true,
149
+ };
150
+ }
151
+ static get assetsDirs() { return ["media"]; }
152
+ get el() { return getElement(this); }
153
+ };
154
154
  PtcDynamicCard.style = ptcDynamicCardCss;
155
155
 
156
156
  const ptcOverlayCss = ":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
157
157
 
158
- const PtcOverlay = class {
159
- constructor(hostRef) {
160
- registerInstance(this, hostRef);
161
- this.filterColor = undefined;
162
- this.borderRadius = undefined;
163
- this.overlayZIndex = 'z-index-auto';
164
- this.styles = undefined;
165
- }
166
- async setOverlay(overlayName) {
167
- this.filterColor = overlayName;
168
- }
169
- render() {
170
- const classMap = this.getCssClassMap();
171
- return h(Host, { class: classMap });
172
- }
173
- getCssClassMap() {
174
- return {
175
- [this.filterColor]: !!this.filterColor ? true : false,
176
- [this.borderRadius]: !!this.borderRadius ? true : false,
177
- [this.overlayZIndex]: true,
178
- };
179
- }
180
- };
158
+ const PtcOverlay = class {
159
+ constructor(hostRef) {
160
+ registerInstance(this, hostRef);
161
+ this.filterColor = undefined;
162
+ this.borderRadius = undefined;
163
+ this.overlayZIndex = 'z-index-auto';
164
+ this.styles = undefined;
165
+ }
166
+ async setOverlay(overlayName) {
167
+ this.filterColor = overlayName;
168
+ }
169
+ render() {
170
+ const classMap = this.getCssClassMap();
171
+ return h(Host, { class: classMap });
172
+ }
173
+ getCssClassMap() {
174
+ return {
175
+ [this.filterColor]: !!this.filterColor ? true : false,
176
+ [this.borderRadius]: !!this.borderRadius ? true : false,
177
+ [this.overlayZIndex]: true,
178
+ };
179
+ }
180
+ };
181
181
  PtcOverlay.style = ptcOverlayCss;
182
182
 
183
183
  const ptcParaCss = ":host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
184
184
 
185
- const PtcPara = class {
186
- constructor(hostRef) {
187
- registerInstance(this, hostRef);
188
- this.fontSize = 'x-small';
189
- this.fontWeight = 'w-4';
190
- this.paraStyle = 'default';
191
- this.paraColor = 'primary-grey';
192
- this.paraLineH = 'line-height-normal';
193
- this.paraMargin = undefined;
194
- this.paraAlign = undefined;
195
- this.ellipsisLineCutoff = undefined;
196
- this.paraZIndex = undefined;
197
- this.styles = undefined;
198
- }
199
- render() {
200
- const classMap = this.getCssClassMap();
201
- const colorClass = this.addWhiteClass();
202
- const cutOff = this.getLineCuttoff();
203
- return (h(Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
204
- }
205
- getCssClassMap() {
206
- return {
207
- [this.fontSize]: true,
208
- [this.fontWeight]: true,
209
- [this.paraStyle]: true,
210
- [this.paraMargin]: !!this.paraMargin ? true : false,
211
- [this.paraColor]: true,
212
- [this.paraLineH]: true,
213
- [this.paraAlign]: !!this.paraAlign ? true : false,
214
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
215
- };
216
- }
217
- //WEB-2392
218
- addWhiteClass() {
219
- if (this.paraColor == 'white') {
220
- return {
221
- [this.paraColor]: true,
222
- };
223
- }
224
- }
225
- getLineCuttoff() {
226
- let result;
227
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
228
- result = {
229
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
230
- };
231
- }
232
- return result;
233
- }
234
- get el() { return getElement(this); }
235
- };
185
+ const PtcPara = class {
186
+ constructor(hostRef) {
187
+ registerInstance(this, hostRef);
188
+ this.fontSize = 'x-small';
189
+ this.fontWeight = 'w-4';
190
+ this.paraStyle = 'default';
191
+ this.paraColor = 'primary-grey';
192
+ this.paraLineH = 'line-height-normal';
193
+ this.paraMargin = undefined;
194
+ this.paraAlign = undefined;
195
+ this.ellipsisLineCutoff = undefined;
196
+ this.paraZIndex = undefined;
197
+ this.styles = undefined;
198
+ }
199
+ render() {
200
+ const classMap = this.getCssClassMap();
201
+ const colorClass = this.addWhiteClass();
202
+ const cutOff = this.getLineCuttoff();
203
+ return (h(Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
204
+ }
205
+ getCssClassMap() {
206
+ return {
207
+ [this.fontSize]: true,
208
+ [this.fontWeight]: true,
209
+ [this.paraStyle]: true,
210
+ [this.paraMargin]: !!this.paraMargin ? true : false,
211
+ [this.paraColor]: true,
212
+ [this.paraLineH]: true,
213
+ [this.paraAlign]: !!this.paraAlign ? true : false,
214
+ ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
215
+ };
216
+ }
217
+ //WEB-2392
218
+ addWhiteClass() {
219
+ if (this.paraColor == 'white') {
220
+ return {
221
+ [this.paraColor]: true,
222
+ };
223
+ }
224
+ }
225
+ getLineCuttoff() {
226
+ let result;
227
+ if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
228
+ result = {
229
+ ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
230
+ };
231
+ }
232
+ return result;
233
+ }
234
+ get el() { return getElement(this); }
235
+ };
236
236
  PtcPara.style = ptcParaCss;
237
237
 
238
238
  const ptcPictureCss = ":host{display:block;overflow:hidden}:host img{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
239
239
 
240
- const PtcPicture = class {
241
- constructor(hostRef) {
242
- registerInstance(this, hostRef);
243
- this.src = undefined;
244
- this.alt = 'image';
245
- this.sizeXs = '510x340';
246
- this.sizeSm = '1240x496';
247
- this.sizeMd = '1366x500';
248
- this.sizeLg = '1920x1080';
249
- this.oldSrc = undefined;
250
- this.imagePosition = 'static';
251
- this.borderRadius = undefined;
252
- this.height = undefined;
253
- this.width = undefined;
254
- this.objectFit = 'cover';
255
- this.isFullHeight = false;
256
- this.isFullWidth = false;
257
- this.styles = undefined;
258
- this.imageAlignment = 'left';
259
- this.maxWidth = undefined;
260
- }
261
- WindowResize() {
262
- this.addIntersectionObserver();
263
- }
264
- componentDidLoad() {
265
- this.addIntersectionObserver();
266
- }
267
- componentWillUpdate() {
268
- if (this.src !== this.oldSrc) {
269
- this.addIntersectionObserver();
270
- }
271
- this.oldSrc = this.src;
272
- }
273
- //lazy-loading
274
- addIntersectionObserver() {
275
- if (!this.src) {
276
- return;
277
- }
278
- if ('IntersectionObserver' in window) {
279
- let lazyLoadImages = new IntersectionObserver(entries => {
280
- entries.forEach(entry => {
281
- if (entry.isIntersecting) {
282
- const image = this.el.shadowRoot.querySelector('img');
283
- image.src = this.setResponsiveBg();
284
- lazyLoadImages.unobserve(image);
285
- }
286
- });
287
- });
288
- let tempImg = this.el.shadowRoot.querySelector('img');
289
- if (tempImg) {
290
- lazyLoadImages.observe(tempImg);
291
- }
292
- }
293
- else {
294
- // fall back to setTimeout for Safari and IE
295
- setTimeout(() => {
296
- const image = this.el.shadowRoot.querySelector('img');
297
- image.src = this.setResponsiveBg();
298
- image.onload = () => {
299
- image.removeAttribute('data-src');
300
- console.log('loaded fallback');
301
- };
302
- }, 5000);
303
- }
304
- }
305
- //responsive image
306
- setResponsiveBg() {
307
- // Define local variables
308
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
309
- for (var i = 0, len = backgrounds.length; i < len; i++) {
310
- // Set current variables
311
- el = backgrounds[i];
312
- elData = el.getAttribute('data-' + currentBreakpoint);
313
- if (elData !== null) {
314
- return elData;
315
- }
316
- else {
317
- if (typeof console == 'object') {
318
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
319
- }
320
- }
321
- }
322
- }
323
- render() {
324
- const classMap = this.getCssClassMap();
325
- const classMapHost = this.getCssClassMapHost();
326
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}:${this.sizeXs}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}:${this.sizeSm}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}:${this.sizeMd}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}:${this.sizeLg}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
327
- }
328
- getCurrentBreakPoints() {
329
- // Define local variables
330
- let doc = window.document, temp = doc.createElement('div'), env;
331
- // Append test node
332
- doc.body.appendChild(temp);
333
- // Loop through breakpoints
334
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
335
- env = ResponsivePictureVariables.envs[i];
336
- // Add classes
337
- temp.className = 'hidden-' + env;
338
- // Found breakpoint
339
- if (temp.offsetParent === null) {
340
- // Remove our test node
341
- doc.body.removeChild(temp);
342
- // Return current breakpoint
343
- return env;
344
- }
345
- }
346
- // Breakpoint not found, try fallback
347
- doc.body.removeChild(temp);
348
- return this.getFallbackBreakpoint();
349
- }
350
- getFallbackBreakpoint() {
351
- if (window.matchMedia('(min-width: 992px)').matches) {
352
- return 'lg';
353
- }
354
- else if (window.matchMedia('(min-width: 768px)').matches) {
355
- return 'md';
356
- }
357
- else if (window.matchMedia('(min-width: 576px)').matches) {
358
- return 'sm';
359
- }
360
- else {
361
- return 'xs';
362
- }
363
- }
364
- getCssClassMap() {
365
- return {
366
- [this.borderRadius]: this.borderRadius ? true : false,
367
- [this.objectFit]: true,
368
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
369
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
370
- };
371
- }
372
- getCssClassMapHost() {
373
- return {
374
- [this.imagePosition]: true,
375
- [this.imageAlignment]: true,
376
- };
377
- }
378
- get el() { return getElement(this); }
379
- };
240
+ const PtcPicture = class {
241
+ constructor(hostRef) {
242
+ registerInstance(this, hostRef);
243
+ this.src = undefined;
244
+ this.alt = 'image';
245
+ this.sizeXs = '510x340';
246
+ this.sizeSm = '1240x496';
247
+ this.sizeMd = '1366x500';
248
+ this.sizeLg = '1920x1080';
249
+ this.oldSrc = undefined;
250
+ this.imagePosition = 'static';
251
+ this.borderRadius = undefined;
252
+ this.height = undefined;
253
+ this.width = undefined;
254
+ this.objectFit = 'cover';
255
+ this.isFullHeight = false;
256
+ this.isFullWidth = false;
257
+ this.styles = undefined;
258
+ this.imageAlignment = 'left';
259
+ this.maxWidth = undefined;
260
+ }
261
+ WindowResize() {
262
+ this.addIntersectionObserver();
263
+ }
264
+ componentDidLoad() {
265
+ this.addIntersectionObserver();
266
+ }
267
+ componentWillUpdate() {
268
+ if (this.src !== this.oldSrc) {
269
+ this.addIntersectionObserver();
270
+ }
271
+ this.oldSrc = this.src;
272
+ }
273
+ //lazy-loading
274
+ addIntersectionObserver() {
275
+ if (!this.src) {
276
+ return;
277
+ }
278
+ if ('IntersectionObserver' in window) {
279
+ let lazyLoadImages = new IntersectionObserver(entries => {
280
+ entries.forEach(entry => {
281
+ if (entry.isIntersecting) {
282
+ const image = this.el.shadowRoot.querySelector('img');
283
+ image.src = this.setResponsiveBg();
284
+ lazyLoadImages.unobserve(image);
285
+ }
286
+ });
287
+ });
288
+ let tempImg = this.el.shadowRoot.querySelector('img');
289
+ if (tempImg) {
290
+ lazyLoadImages.observe(tempImg);
291
+ }
292
+ }
293
+ else {
294
+ // fall back to setTimeout for Safari and IE
295
+ setTimeout(() => {
296
+ const image = this.el.shadowRoot.querySelector('img');
297
+ image.src = this.setResponsiveBg();
298
+ image.onload = () => {
299
+ image.removeAttribute('data-src');
300
+ console.log('loaded fallback');
301
+ };
302
+ }, 5000);
303
+ }
304
+ }
305
+ //responsive image
306
+ setResponsiveBg() {
307
+ // Define local variables
308
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
309
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
310
+ // Set current variables
311
+ el = backgrounds[i];
312
+ elData = el.getAttribute('data-' + currentBreakpoint);
313
+ if (elData !== null) {
314
+ return elData;
315
+ }
316
+ else {
317
+ if (typeof console == 'object') {
318
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
319
+ }
320
+ }
321
+ }
322
+ }
323
+ render() {
324
+ const classMap = this.getCssClassMap();
325
+ const classMapHost = this.getCssClassMapHost();
326
+ return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}:${this.sizeXs}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}:${this.sizeSm}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}:${this.sizeMd}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}:${this.sizeLg}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
327
+ }
328
+ getCurrentBreakPoints() {
329
+ // Define local variables
330
+ let doc = window.document, temp = doc.createElement('div'), env;
331
+ // Append test node
332
+ doc.body.appendChild(temp);
333
+ // Loop through breakpoints
334
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
335
+ env = ResponsivePictureVariables.envs[i];
336
+ // Add classes
337
+ temp.className = 'hidden-' + env;
338
+ // Found breakpoint
339
+ if (temp.offsetParent === null) {
340
+ // Remove our test node
341
+ doc.body.removeChild(temp);
342
+ // Return current breakpoint
343
+ return env;
344
+ }
345
+ }
346
+ // Breakpoint not found, try fallback
347
+ doc.body.removeChild(temp);
348
+ return this.getFallbackBreakpoint();
349
+ }
350
+ getFallbackBreakpoint() {
351
+ if (window.matchMedia('(min-width: 992px)').matches) {
352
+ return 'lg';
353
+ }
354
+ else if (window.matchMedia('(min-width: 768px)').matches) {
355
+ return 'md';
356
+ }
357
+ else if (window.matchMedia('(min-width: 576px)').matches) {
358
+ return 'sm';
359
+ }
360
+ else {
361
+ return 'xs';
362
+ }
363
+ }
364
+ getCssClassMap() {
365
+ return {
366
+ [this.borderRadius]: this.borderRadius ? true : false,
367
+ [this.objectFit]: true,
368
+ [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
369
+ [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
370
+ };
371
+ }
372
+ getCssClassMapHost() {
373
+ return {
374
+ [this.imagePosition]: true,
375
+ [this.imageAlignment]: true,
376
+ };
377
+ }
378
+ get el() { return getElement(this); }
379
+ };
380
380
  PtcPicture.style = ptcPictureCss;
381
381
 
382
382
  const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
383
383
 
384
- const PtcSpacer = class {
385
- constructor(hostRef) {
386
- registerInstance(this, hostRef);
387
- this.breakpoint = '';
388
- this.size = 'medium';
389
- this.direction = 'vertical';
390
- }
391
- render() {
392
- const classMap = this.getCssClassMap();
393
- return (h(Host, { class: classMap }));
394
- }
395
- getCssClassMap() {
396
- return {
397
- [this.size]: true,
398
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
399
- ['ptc-spacer-vertical']: this.direction === 'vertical',
400
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
401
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
402
- ['ptc-spacer-small']: this.breakpoint === 'small',
403
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
404
- ['ptc-spacer-large']: this.breakpoint === 'large',
405
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
406
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
407
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
408
- };
409
- }
410
- };
384
+ const PtcSpacer = class {
385
+ constructor(hostRef) {
386
+ registerInstance(this, hostRef);
387
+ this.breakpoint = '';
388
+ this.size = 'medium';
389
+ this.direction = 'vertical';
390
+ }
391
+ render() {
392
+ const classMap = this.getCssClassMap();
393
+ return (h(Host, { class: classMap }));
394
+ }
395
+ getCssClassMap() {
396
+ return {
397
+ [this.size]: true,
398
+ ['ptc-spacer-horizontal']: this.direction === 'horizontal',
399
+ ['ptc-spacer-vertical']: this.direction === 'vertical',
400
+ ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
401
+ ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
402
+ ['ptc-spacer-small']: this.breakpoint === 'small',
403
+ ['ptc-spacer-medium']: this.breakpoint === 'medium',
404
+ ['ptc-spacer-large']: this.breakpoint === 'large',
405
+ ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
406
+ ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
407
+ ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
408
+ };
409
+ }
410
+ };
411
411
  PtcSpacer.style = ptcSpacerCss;
412
412
 
413
413
  const sequentialBundleExampleCss = "@font-face{font-family:'swiper-icons';src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:200ms transform, 200ms top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}:root{}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none !important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:0.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform, opacity, height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}:host{display:block}.swiper-container{width:100%;height:100%}.swiper-slide{text-align:center;font-size:18px;background:#fff;display:flex;justify-content:center;align-items:center}.mobile-container{display:block}.desktop-container{display:none}@media screen and (min-width: 1200px){.mobile-container{display:none}.desktop-container{display:flex;align-items:center}}@media screen and (max-width: 1199.9px){.swiper-slide{width:calc(100% - 40px);margin-right:20px}.swiper-slide:last-child{margin-right:0}}.pagination{display:flex;justify-content:center;margin-top:20px}.pagination-dot{height:20px;width:20px;border-radius:50%;margin:0 14px;cursor:pointer;cursor:pointer;border:2px solid #c3cbcd;background-color:#f3f3f3;position:relative}.pagination-dot::after{content:\"\";display:block;position:absolute;width:38px;height:1px;border-top:2px solid #c3cbcd;margin-top:-1px;z-index:-1;top:50%;left:10px}.pagination-dot:last-of-type::after{visibility:hidden}.pagination-dot.active{background-image:url(/build/media/nav-active-dotslick.svg);background-position:50%;background-repeat:no-repeat;border:2px solid transparent}";
414
414
 
415
- const SequentialBundleExample = class {
416
- constructor(hostRef) {
417
- registerInstance(this, hostRef);
418
- this.isConnected = false;
419
- this.dotSvg = getAssetPath('./media/nav-active-dotslick.svg');
420
- this.isInteralCardsExpanded = [true, false, false, false, false];
421
- this.isMobile = false;
422
- this.expandedCardIndex = 0;
423
- }
424
- handleResize() {
425
- this.updateIsMobile();
426
- // console.log('handleResize: isMobile: ' + this.isMobile);
427
- }
428
- watchStateHandler() {
429
- console.log('Runing Watch/ismobilechange: isMobile updated and Start handleIsMobileChange');
430
- console.log('Start Watch: isMobile: ' + this.isMobile);
431
- if (this.isMobile && !this.mySwiper && this.isConnected) {
432
- console.log('watch/ismobileChange condition1: Run swiper');
433
- let that = this;
434
- const createSwiper = () => {
435
- let tempSwiperContainer = that.el.shadowRoot.querySelector('.swiper-container');
436
- console.log("find container: " + tempSwiperContainer);
437
- if (tempSwiperContainer) {
438
- that.mySwiper = new Swiper(tempSwiperContainer, {
439
- slidesPerView: 1,
440
- spaceBetween: 20,
441
- loop: true,
442
- pagination: {
443
- el: '.swiper-pagination',
444
- },
445
- });
446
- }
447
- else {
448
- setTimeout(createSwiper, 100);
449
- }
450
- };
451
- createSwiper();
452
- }
453
- else if (!this.isMobile && this.mySwiper) {
454
- console.log("watch/ismobileChange condition2: it's not swiper and remove it");
455
- this.mySwiper.destroy(true, true);
456
- this.mySwiper = null;
457
- }
458
- }
459
- connectedCallback() {
460
- console.log('START! isMobile: ' + this.isMobile);
461
- //if screen is mobile when first load
462
- this.updateIsMobile();
463
- console.log("ConnectedCallback: isMobile: " + this.isMobile);
464
- this.isConnected = true;
465
- }
466
- componentDidLoad() {
467
- console.log('Component Did Load');
468
- this.watchStateHandler();
469
- }
470
- disconnectedCallback() {
471
- console.log("Running disconnectedCb");
472
- //window.removeEventListener('resize', this.handleResize);
473
- if (this.mySwiper) {
474
- this.mySwiper.destroy(true, true);
475
- this.mySwiper = null;
476
- }
477
- }
478
- render() {
479
- const deskTCards = [
480
- h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[0] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
481
- h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[1] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
482
- h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[2] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
483
- h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[3] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
484
- h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[4] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
485
- ];
486
- return (h(Host, null, this.isMobile ? (h("div", { class: "swiper-container mobile-container" }, h("div", { class: "swiper-wrapper" }, h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More"))), h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More"))), h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")))), h("div", { class: "swiper-pagination" }))) : ([
487
- h("div", { class: "accordion-container desktop-container" }, deskTCards.map((card, index) => (h("div", { class: {
488
- card: true,
489
- expanded: index === this.expandedCardIndex,
490
- }, onClick: () => {
491
- this.expandedCardIndex = index;
492
- this.isInteralCardsExpanded = [false, false, false, false, false];
493
- this.isInteralCardsExpanded[index] = true;
494
- } }, card)))),
495
- h("div", { class: "pagination desktop-pagination" }, deskTCards.map((_, index) => (h("div", { class: {
496
- 'pagination-dot': true,
497
- 'active': index === this.expandedCardIndex,
498
- }, onClick: () => {
499
- this.expandedCardIndex = index;
500
- this.isInteralCardsExpanded = [false, false, false, false, false];
501
- this.isInteralCardsExpanded[index] = true;
502
- } })))),
503
- h("div", { hidden: true }, h("svg", null, h("use", { href: `${this.dotSvg}` }))),
504
- ])));
505
- }
506
- updateIsMobile() {
507
- // console.log("Checking isMobile...")
508
- this.isMobile = window.innerWidth < 1200;
509
- }
510
- get el() { return getElement(this); }
511
- static get watchers() { return {
512
- "isMobile": ["watchStateHandler"]
513
- }; }
514
- };
415
+ const SequentialBundleExample = class {
416
+ constructor(hostRef) {
417
+ registerInstance(this, hostRef);
418
+ this.isConnected = false;
419
+ this.dotSvg = getAssetPath('./media/nav-active-dotslick.svg');
420
+ this.isInteralCardsExpanded = [true, false, false, false, false];
421
+ this.isMobile = false;
422
+ this.expandedCardIndex = 0;
423
+ }
424
+ handleResize() {
425
+ this.updateIsMobile();
426
+ // console.log('handleResize: isMobile: ' + this.isMobile);
427
+ }
428
+ watchStateHandler() {
429
+ console.log('Runing Watch/ismobilechange: isMobile updated and Start handleIsMobileChange');
430
+ console.log('Start Watch: isMobile: ' + this.isMobile);
431
+ if (this.isMobile && !this.mySwiper && this.isConnected) {
432
+ console.log('watch/ismobileChange condition1: Run swiper');
433
+ let that = this;
434
+ const createSwiper = () => {
435
+ let tempSwiperContainer = that.el.shadowRoot.querySelector('.swiper-container');
436
+ console.log("find container: " + tempSwiperContainer);
437
+ if (tempSwiperContainer) {
438
+ that.mySwiper = new Swiper(tempSwiperContainer, {
439
+ slidesPerView: 1,
440
+ spaceBetween: 20,
441
+ loop: true,
442
+ pagination: {
443
+ el: '.swiper-pagination',
444
+ },
445
+ });
446
+ }
447
+ else {
448
+ setTimeout(createSwiper, 100);
449
+ }
450
+ };
451
+ createSwiper();
452
+ }
453
+ else if (!this.isMobile && this.mySwiper) {
454
+ console.log("watch/ismobileChange condition2: it's not swiper and remove it");
455
+ this.mySwiper.destroy(true, true);
456
+ this.mySwiper = null;
457
+ }
458
+ }
459
+ connectedCallback() {
460
+ console.log('START! isMobile: ' + this.isMobile);
461
+ //if screen is mobile when first load
462
+ this.updateIsMobile();
463
+ console.log("ConnectedCallback: isMobile: " + this.isMobile);
464
+ this.isConnected = true;
465
+ }
466
+ componentDidLoad() {
467
+ console.log('Component Did Load');
468
+ this.watchStateHandler();
469
+ }
470
+ disconnectedCallback() {
471
+ console.log("Running disconnectedCb");
472
+ //window.removeEventListener('resize', this.handleResize);
473
+ if (this.mySwiper) {
474
+ this.mySwiper.destroy(true, true);
475
+ this.mySwiper = null;
476
+ }
477
+ }
478
+ render() {
479
+ const deskTCards = [
480
+ h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[0] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
481
+ h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[1] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
482
+ h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[2] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
483
+ h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[3] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
484
+ h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "desktop", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test", "is-expanded": this.isInteralCardsExpanded[4] }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")),
485
+ ];
486
+ return (h(Host, null, this.isMobile ? (h("div", { class: "swiper-container mobile-container" }, h("div", { class: "swiper-wrapper" }, h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More"))), h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More"))), h("div", { class: "swiper-slide" }, h("ptc-dynamic-card", { "card-type": "sequential", "card-screen": "mobile", "card-title": "iWarranty Business Update Webinar", "card-img-src": "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data", "card-img-alt": "image-test" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-color": "white", "para-line-h": "line-height-p" }, "The Leading Warranty & Contract Management System just got even better... iWarranty v5.3 now available!"), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Learn More")))), h("div", { class: "swiper-pagination" }))) : ([
487
+ h("div", { class: "accordion-container desktop-container" }, deskTCards.map((card, index) => (h("div", { class: {
488
+ card: true,
489
+ expanded: index === this.expandedCardIndex,
490
+ }, onClick: () => {
491
+ this.expandedCardIndex = index;
492
+ this.isInteralCardsExpanded = [false, false, false, false, false];
493
+ this.isInteralCardsExpanded[index] = true;
494
+ } }, card)))),
495
+ h("div", { class: "pagination desktop-pagination" }, deskTCards.map((_, index) => (h("div", { class: {
496
+ 'pagination-dot': true,
497
+ 'active': index === this.expandedCardIndex,
498
+ }, onClick: () => {
499
+ this.expandedCardIndex = index;
500
+ this.isInteralCardsExpanded = [false, false, false, false, false];
501
+ this.isInteralCardsExpanded[index] = true;
502
+ } })))),
503
+ h("div", { hidden: true }, h("svg", null, h("use", { href: `${this.dotSvg}` }))),
504
+ ])));
505
+ }
506
+ updateIsMobile() {
507
+ // console.log("Checking isMobile...")
508
+ this.isMobile = window.innerWidth < 1200;
509
+ }
510
+ get el() { return getElement(this); }
511
+ static get watchers() { return {
512
+ "isMobile": ["watchStateHandler"]
513
+ }; }
514
+ };
515
515
  SequentialBundleExample.style = sequentialBundleExampleCss;
516
516
 
517
517
  export { PtcButton as ptc_button, PtcCardContent as ptc_card_content, PtcDynamicCard as ptc_dynamic_card, PtcOverlay as ptc_overlay, PtcPara as ptc_para, PtcPicture as ptc_picture, PtcSpacer as ptc_spacer, SequentialBundleExample as sequential_bundle_example };