@ptcwebops/ptcw-design 6.2.21 → 6.2.22

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 (476) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
  4. package/dist/cjs/event-jumbotron-example.cjs.entry.js +148 -0
  5. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  6. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  7. package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
  8. package/dist/cjs/icon-asset_4.cjs.entry.js +817 -0
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/list-item.cjs.entry.js +48 -0
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  13. package/dist/cjs/my-component.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
  16. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  19. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  20. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +156 -0
  21. package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
  22. package/dist/cjs/ptc-card_2.cjs.entry.js +4 -1
  23. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +222 -0
  25. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +15 -0
  28. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  33. package/dist/cjs/ptc-icon-component.cjs.entry.js +8 -2
  34. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  35. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-link.cjs.entry.js +87 -0
  37. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
  39. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-nav-slider.cjs.entry.js +2 -2
  42. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  44. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  47. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
  53. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  54. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  55. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  56. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  57. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  58. package/dist/cjs/ptcw-design.cjs.js +1 -1
  59. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  60. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +15 -0
  61. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +18 -0
  62. package/dist/collection/components/ptc-announcement/ptc-announcement.css +6 -0
  63. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
  64. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +15 -0
  65. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  66. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +15 -0
  67. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
  68. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +15 -0
  69. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +15 -0
  70. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  71. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  72. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  73. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +8 -2
  74. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +28 -0
  75. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  76. package/dist/collection/components/ptc-link/ptc-link.js +4 -1
  77. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
  78. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +29 -0
  79. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +15 -0
  80. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +148 -0
  81. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -0
  82. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +13 -0
  83. package/dist/collection/components/ptc-product-card/ptc-product-card.css +15 -0
  84. package/dist/collection/components/ptc-product-category/ptc-product-category.css +15 -0
  85. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +15 -0
  86. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +15 -0
  87. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +15 -0
  88. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  89. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  90. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +15 -0
  91. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +15 -0
  92. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +15 -0
  93. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +14 -1
  94. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -0
  95. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
  96. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  97. package/dist/collection/utils/utils.js +8 -0
  98. package/dist/custom-elements/index.js +85 -37
  99. package/dist/esm/academic-form-test.entry.js +1 -1
  100. package/dist/esm/author-listing-example.entry.js +1 -1
  101. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  102. package/dist/esm/blog-detail-layout.entry.js +2 -2
  103. package/dist/esm/blogs-search-section.entry.js +2 -2
  104. package/dist/esm/bundle-example.entry.js +1 -1
  105. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  106. package/dist/esm/dropdown-item.entry.js +1 -1
  107. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  108. package/dist/esm/embedded-form.entry.js +1 -1
  109. package/dist/esm/event-jumbotron-example.entry.js +144 -0
  110. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  111. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  112. package/dist/esm/featured-list.entry.js +2 -2
  113. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  114. package/dist/esm/footer-form.entry.js +1 -1
  115. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  116. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  117. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  118. package/dist/esm/icon-asset_4.entry.js +810 -0
  119. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  120. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  121. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  122. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  123. package/dist/esm/list-item.entry.js +44 -0
  124. package/dist/esm/loader.js +3 -3
  125. package/dist/esm/max-width-container.entry.js +1 -1
  126. package/dist/esm/most-popular-news.entry.js +2 -2
  127. package/dist/esm/my-component.entry.js +2 -2
  128. package/dist/esm/news-search-result.entry.js +1 -1
  129. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  130. package/dist/esm/ptc-accordion.entry.js +1 -1
  131. package/dist/esm/ptc-announcement.entry.js +3 -3
  132. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  133. package/dist/esm/ptc-background-video.entry.js +2 -2
  134. package/dist/esm/ptc-badge.entry.js +1 -1
  135. package/dist/esm/ptc-bio-card.entry.js +2 -2
  136. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  137. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  138. package/dist/esm/ptc-button.entry.js +83 -0
  139. package/dist/esm/ptc-card-bottom_2.entry.js +151 -0
  140. package/dist/esm/ptc-card-content.entry.js +72 -0
  141. package/dist/esm/ptc-card_2.entry.js +5 -2
  142. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  143. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  144. package/dist/esm/ptc-checkbox.entry.js +1 -1
  145. package/dist/esm/ptc-close-icon_2.entry.js +217 -0
  146. package/dist/esm/ptc-container.entry.js +1 -1
  147. package/dist/esm/ptc-countdown.entry.js +1 -1
  148. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  149. package/dist/esm/ptc-date.entry.js +1 -1
  150. package/dist/esm/ptc-dropdown.entry.js +1 -1
  151. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  152. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  153. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  154. package/dist/esm/ptc-featured-list.entry.js +2 -2
  155. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  156. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  157. package/dist/esm/ptc-filter-tag_2.entry.js +16 -1
  158. package/dist/esm/ptc-footer.entry.js +2 -2
  159. package/dist/esm/ptc-form-checkbox_2.entry.js +2 -2
  160. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  161. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  162. package/dist/esm/ptc-form.entry.js +1 -1
  163. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  164. package/dist/esm/ptc-hero.entry.js +1 -1
  165. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  166. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  167. package/dist/esm/ptc-icon-card.entry.js +9 -3
  168. package/dist/esm/ptc-icon-component.entry.js +9 -3
  169. package/dist/esm/ptc-icon-list.entry.js +1 -1
  170. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  171. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  172. package/dist/esm/ptc-img.entry.js +129 -0
  173. package/dist/esm/ptc-info-tile.entry.js +1 -1
  174. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  175. package/dist/esm/ptc-jumbotron.entry.js +2 -2
  176. package/dist/esm/ptc-link.entry.js +83 -0
  177. package/dist/esm/ptc-list.entry.js +1 -1
  178. package/dist/esm/ptc-media-card.entry.js +2 -2
  179. package/dist/esm/ptc-minimized-nav.entry.js +3 -2
  180. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  181. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  182. package/dist/esm/ptc-multi-select_2.entry.js +2 -2
  183. package/dist/esm/ptc-nav-card.entry.js +1 -1
  184. package/dist/esm/ptc-nav-link.entry.js +2 -2
  185. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  186. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  187. package/dist/esm/ptc-nav-slider.entry.js +3 -3
  188. package/dist/esm/ptc-nav-submenu.entry.js +2 -2
  189. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  190. package/dist/esm/ptc-news.entry.js +1 -1
  191. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  192. package/dist/esm/ptc-office-locations.entry.js +1 -1
  193. package/dist/esm/ptc-overlay.entry.js +1 -1
  194. package/dist/esm/ptc-para.entry.js +123 -0
  195. package/dist/esm/ptc-picture.entry.js +1 -1
  196. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  197. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  198. package/dist/esm/ptc-previous-url.entry.js +1 -1
  199. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  200. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  201. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  202. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  203. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  204. package/dist/esm/ptc-product-card.entry.js +2 -2
  205. package/dist/esm/ptc-product-category.entry.js +2 -2
  206. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  207. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  208. package/dist/esm/ptc-product-list.entry.js +1 -1
  209. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  210. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  211. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  212. package/dist/esm/ptc-quote.entry.js +1 -1
  213. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  214. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  215. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  216. package/dist/esm/ptc-readmore.entry.js +1 -1
  217. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  218. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  219. package/dist/esm/ptc-scroll-button.entry.js +132 -0
  220. package/dist/esm/ptc-search-field.entry.js +1 -1
  221. package/dist/esm/ptc-seo-title.entry.js +1 -1
  222. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  223. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  224. package/dist/esm/ptc-skeleton.entry.js +1 -1
  225. package/dist/esm/ptc-slit-card.entry.js +1 -1
  226. package/dist/esm/ptc-social-icons-footer.entry.js +8 -3
  227. package/dist/esm/ptc-social-icons.entry.js +1 -1
  228. package/dist/esm/ptc-spacer.entry.js +34 -0
  229. package/dist/esm/ptc-span.entry.js +1 -1
  230. package/dist/esm/ptc-square-card.entry.js +1 -1
  231. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  232. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  233. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  234. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  235. package/dist/esm/ptc-subnav.entry.js +1 -1
  236. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  237. package/dist/esm/ptc-tab-list.entry.js +1 -1
  238. package/dist/esm/ptc-tab.entry.js +1 -1
  239. package/dist/esm/ptc-tabs.entry.js +1 -1
  240. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  241. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  242. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  243. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  244. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  245. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  246. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  247. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  248. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  249. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  250. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  251. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  252. package/dist/esm/ptc-video-embed.entry.js +1 -1
  253. package/dist/esm/ptc-white-paper.entry.js +2 -2
  254. package/dist/esm/ptcw-design.js +3 -3
  255. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  256. package/dist/esm/sequential-bundle.entry.js +1 -1
  257. package/dist/esm/tab-content.entry.js +1 -1
  258. package/dist/esm/tab-header.entry.js +1 -1
  259. package/dist/esm/{utils-b7c6422e.js → utils-355f1d70.js} +9 -1
  260. package/dist/ptcw-design/p-00ccc051.entry.js +1 -0
  261. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  262. package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
  263. package/dist/ptcw-design/p-09def480.entry.js +1 -0
  264. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  268. package/dist/ptcw-design/p-0f32883f.entry.js +1 -0
  269. package/dist/ptcw-design/p-1056fdc7.entry.js +1 -0
  270. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  271. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-2657df50.entry.js → p-132f71c3.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-d1857ada.entry.js → p-1adea6a5.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  282. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  283. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  284. package/dist/ptcw-design/p-235149b5.entry.js +1 -0
  285. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  287. package/dist/ptcw-design/p-29ae44dd.entry.js +1 -0
  288. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-e9cb2483.entry.js → p-2ab0f25c.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-760507e1.entry.js → p-30ec0036.entry.js} +1 -1
  292. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  293. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  294. package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-29639cd4.entry.js → p-3815217a.entry.js} +1 -1
  297. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  298. package/dist/ptcw-design/p-39ec04d4.entry.js +1 -0
  299. package/dist/ptcw-design/p-3b6826c3.entry.js +1 -0
  300. package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  304. package/dist/ptcw-design/p-3d3328f9.entry.js +1 -0
  305. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  306. package/dist/ptcw-design/p-3f935e06.entry.js +1 -0
  307. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-e38ed0e3.entry.js → p-455bdea0.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-25178331.entry.js → p-483e20af.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  312. package/dist/ptcw-design/p-4ee29b78.entry.js +1 -0
  313. package/dist/ptcw-design/p-4f523245.entry.js +1 -0
  314. package/dist/ptcw-design/{p-1ca8a5bf.entry.js → p-520542e2.entry.js} +1 -1
  315. package/dist/ptcw-design/p-53d15f85.entry.js +1 -0
  316. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  317. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-34610052.entry.js → p-57360be3.entry.js} +1 -1
  319. package/dist/ptcw-design/p-57d86f12.entry.js +1 -0
  320. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  323. package/dist/ptcw-design/p-647dee4f.entry.js +1 -0
  324. package/dist/ptcw-design/{p-cffebefe.entry.js → p-66ddc281.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-f05fec22.entry.js → p-66f319f0.entry.js} +1 -1
  326. package/dist/ptcw-design/p-69ef15d4.entry.js +1 -0
  327. package/dist/ptcw-design/{p-b59f30d5.entry.js → p-6b7d2579.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-a8f30586.entry.js → p-6d0f7580.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  330. package/dist/ptcw-design/p-6f8858c3.entry.js +1 -0
  331. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  332. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-759f6457.entry.js → p-770b269c.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-12e61bb5.entry.js → p-788c2859.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-3738a01f.entry.js → p-794eebdb.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
  340. package/dist/ptcw-design/p-7a5c0d47.entry.js +1 -0
  341. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  344. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
  348. package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
  349. package/dist/ptcw-design/p-8da51d65.entry.js +1 -0
  350. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  352. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  353. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  354. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  355. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  356. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  357. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  358. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  359. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  360. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  361. package/dist/ptcw-design/p-a4c68b6d.entry.js +1 -0
  362. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  366. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  367. package/dist/ptcw-design/p-b0c99e8e.entry.js +1 -0
  368. package/dist/ptcw-design/{p-7e7ebf0a.entry.js → p-b1d85ece.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  370. package/dist/ptcw-design/p-b29e43cf.entry.js +1 -0
  371. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  372. package/dist/ptcw-design/p-b9dd37cc.entry.js +1 -0
  373. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  374. package/dist/ptcw-design/p-bf04c250.entry.js +1 -0
  375. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  376. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  377. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  378. package/dist/ptcw-design/{p-863b5b20.entry.js → p-c2ab3f44.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  381. package/dist/ptcw-design/{p-df8526a2.entry.js → p-c5631974.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-4c096997.entry.js → p-c811bca6.entry.js} +1 -1
  384. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  385. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  386. package/dist/ptcw-design/{p-52b82ac5.entry.js → p-cb2b87bb.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
  388. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  389. package/dist/ptcw-design/{p-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
  390. package/dist/ptcw-design/{p-0ee01112.entry.js → p-d4207d86.entry.js} +1 -1
  391. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  392. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  393. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  395. package/dist/ptcw-design/p-e05b1f0e.entry.js +1 -0
  396. package/dist/ptcw-design/{p-d7275289.entry.js → p-e1242dd4.entry.js} +1 -1
  397. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  398. package/dist/ptcw-design/p-e487b592.entry.js +1 -0
  399. package/dist/ptcw-design/{p-815848f6.entry.js → p-e6cb2dce.entry.js} +1 -1
  400. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  401. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  402. package/dist/ptcw-design/p-e77d2204.entry.js +1 -0
  403. package/dist/ptcw-design/{p-34b270c1.entry.js → p-e78596eb.entry.js} +1 -1
  404. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  405. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  406. package/dist/ptcw-design/p-ead9ebbc.js +1 -0
  407. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  408. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  409. package/dist/ptcw-design/p-edcad0f1.entry.js +1 -0
  410. package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  413. package/dist/ptcw-design/p-f093f6f8.entry.js +1 -0
  414. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  415. package/dist/ptcw-design/p-f31e17d9.entry.js +1 -0
  416. package/dist/ptcw-design/p-f6bfbe18.entry.js +1 -0
  417. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  418. package/dist/ptcw-design/p-ffd5c822.entry.js +1 -0
  419. package/dist/ptcw-design/ptcw-design.css +2 -2
  420. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  421. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  422. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  423. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  424. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
  425. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +3 -0
  426. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  427. package/dist/types/components.d.ts +19 -0
  428. package/dist/types/utils/utils.d.ts +1 -0
  429. package/package.json +1 -1
  430. package/readme.md +1 -1
  431. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -1374
  432. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
  433. package/dist/cjs/ptc-collapse-list.cjs.entry.js +0 -512
  434. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  435. package/dist/esm/event-jumbotron-example_15.entry.js +0 -1356
  436. package/dist/esm/ptc-card-bottom.entry.js +0 -63
  437. package/dist/esm/ptc-collapse-list.entry.js +0 -508
  438. package/dist/esm/ptc-tooltip.entry.js +0 -103
  439. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  440. package/dist/ptcw-design/p-0cf5bc9e.entry.js +0 -1
  441. package/dist/ptcw-design/p-103ec637.entry.js +0 -1
  442. package/dist/ptcw-design/p-17c3f01a.entry.js +0 -1
  443. package/dist/ptcw-design/p-18f59395.entry.js +0 -1
  444. package/dist/ptcw-design/p-1a0bf166.entry.js +0 -1
  445. package/dist/ptcw-design/p-2335d57c.entry.js +0 -1
  446. package/dist/ptcw-design/p-2f7ea1a6.entry.js +0 -1
  447. package/dist/ptcw-design/p-398d2ca5.entry.js +0 -1
  448. package/dist/ptcw-design/p-40b8c884.entry.js +0 -1
  449. package/dist/ptcw-design/p-426715a4.entry.js +0 -1
  450. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  451. package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
  452. package/dist/ptcw-design/p-58bb25e6.entry.js +0 -1
  453. package/dist/ptcw-design/p-5feaea80.entry.js +0 -1
  454. package/dist/ptcw-design/p-841b807d.js +0 -1
  455. package/dist/ptcw-design/p-885b3428.entry.js +0 -1
  456. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  457. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  458. package/dist/ptcw-design/p-999d1c9f.entry.js +0 -1
  459. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  460. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  461. package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
  462. package/dist/ptcw-design/p-a114198f.entry.js +0 -1
  463. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  464. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  465. package/dist/ptcw-design/p-c1ebaf0f.entry.js +0 -1
  466. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  467. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  468. package/dist/ptcw-design/p-dc54b2b0.entry.js +0 -1
  469. package/dist/ptcw-design/p-e4b034b9.entry.js +0 -1
  470. package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
  471. package/dist/ptcw-design/p-e89ce54f.entry.js +0 -1
  472. package/dist/ptcw-design/p-e9f12e0d.entry.js +0 -1
  473. package/dist/ptcw-design/p-eab1042e.entry.js +0 -1
  474. package/dist/ptcw-design/p-f4699d4e.entry.js +0 -1
  475. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
  476. package/dist/ptcw-design/p-fd8f2c86.entry.js +0 -1
@@ -1,1374 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-87d7b99f.js');
7
- const interfaces = require('./interfaces-574e6df7.js');
8
-
9
- const eventJumbotronExampleCss = "h1.sc-event-jumbotron-example,h2.sc-event-jumbotron-example,h3.sc-event-jumbotron-example,h4.sc-event-jumbotron-example,h5.sc-event-jumbotron-example,h6.sc-event-jumbotron-example,p.sc-event-jumbotron-example,ul.sc-event-jumbotron-example,li.sc-event-jumbotron-example,ptc-subnav.sc-event-jumbotron-example,ptc-tab-list.sc-event-jumbotron-example,ptc-link.sc-event-jumbotron-example,ptc-square-card.sc-event-jumbotron-example,.hyphenate-text.sc-event-jumbotron-example,ptc-footer.sc-event-jumbotron-example{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-event-jumbotron-example,h2.sc-event-jumbotron-example,h3.sc-event-jumbotron-example,h4.sc-event-jumbotron-example,h5.sc-event-jumbotron-example,h6.sc-event-jumbotron-example,p.sc-event-jumbotron-example,ul.sc-event-jumbotron-example,li.sc-event-jumbotron-example,ptc-subnav.sc-event-jumbotron-example,ptc-tab-list.sc-event-jumbotron-example,ptc-link.sc-event-jumbotron-example,ptc-square-card.sc-event-jumbotron-example,.hyphenate-text.sc-event-jumbotron-example,ptc-footer.sc-event-jumbotron-example{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-event-jumbotron-example-h{display:block;position:relative}.event-jumbotron.sc-event-jumbotron-example{margin-bottom:3rem;width:100%}.white-placeholder.sc-event-jumbotron-example{position:absolute;height:130px;width:100%;background-color:#F3f3f3;bottom:0px}.jumbotron-cards-wrapper.sc-event-jumbotron-example{z-index:1;position:relative;display:flex;flex-direction:column}.jumbotron-cards.sc-event-jumbotron-example{display:flex;gap:24px;overflow-x:auto;padding:0 24px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;cursor:grab}.jumbotron-cards.sc-event-jumbotron-example::-webkit-scrollbar{display:none}.jumbotron-cards.dragging.sc-event-jumbotron-example{cursor:grabbing}.card.sc-event-jumbotron-example{flex:1 0 auto;width:250px;height:414px;background:transparent;border-radius:var(--ptc-border-radius-standard);display:flex;justify-content:center;align-items:center;text-align:center;box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);flex-direction:column;padding:24px;position:relative}.card.sc-event-jumbotron-example:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.card.sc-event-jumbotron-example ptc-img.sc-event-jumbotron-example::after{content:\"\";top:0px;left:0px;position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-standard);background:linear-gradient(0deg, black 0%, black 100%);opacity:0.7;transition:opacity var(--ptc-transition-slow) ease-in-out}.card.sc-event-jumbotron-example:hover ptc-img.sc-event-jumbotron-example::after{opacity:0.8}.card.sc-event-jumbotron-example:focus ptc-img.sc-event-jumbotron-example::after,.card.sc-event-jumbotron-example:active ptc-img.sc-event-jumbotron-example::after{opacity:0.85}.text-wrapper.sc-event-jumbotron-example{align-self:flex-start;text-align:left}.card-title.sc-event-jumbotron-example{color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);position:relative;z-index:2;margin-top:0;margin-bottom:var(--ptc-element-spacing-06)}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-weight:var(--ptc-font-weight-medium);display:inline-block}.cta-all.sc-event-jumbotron-example{margin-right:20px}.panel.sc-event-jumbotron-example{display:none;visibility:hidden}@media only screen and (min-width: 768px){.card-title.sc-event-jumbotron-example{font-size:var(--ptc-font-size-xx-large)}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-size:var(--ptc-font-size-xx-large)}}@media only screen and (min-width: 992px){.card-title.sc-event-jumbotron-example{font-size:var(--ptc-font-size-x-large)}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-size:var(--ptc-font-size-x-large)}.cta-group.sc-event-jumbotron-example{margin-bottom:88px}.jumbotron-cards.sc-event-jumbotron-example{overflow-x:visible;justify-content:space-between;cursor:auto;transition:transform 0.3s ease-in-out;width:100%}.card.sc-event-jumbotron-example{width:auto;height:530px;padding:24px;cursor:pointer;flex:1}.card.hidden.sc-event-jumbotron-example{opacity:0;pointer-events:none}.card.active.sc-event-jumbotron-example{min-height:530px;border-top-right-radius:0px;border-bottom-right-radius:0px;box-shadow:var(--ptc-shadow-x-large);height:auto}.panel.sc-event-jumbotron-example{visibility:hidden;opacity:0;position:absolute;top:0;left:0;min-height:530px;padding:40px;background:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out;z-index:10}.panel.visible.sc-event-jumbotron-example{visibility:visible;opacity:1;border-top-left-radius:0px;border-bottom-left-radius:0px;box-shadow:var(--ptc-shadow-x-large);height:auto}.close-panel.sc-event-jumbotron-example{position:absolute;top:0px;right:0px;background:var(--color-white);border:none;text-align:center;cursor:pointer;padding:0px;margin:5px}.hide-scrollbar.sc-event-jumbotron-example{margin-left:-40px;margin-right:-40px}}@media only screen and (min-width: 1200px){.card-title.sc-event-jumbotron-example{font-size:var(--ptc-font-size-xx-large)}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-size:var(--ptc-font-size-xx-large)}.jumbotron-cards.sc-event-jumbotron-example{padding:0;gap:32px}}@media only screen and (min-width: 1440px){.jumbotron-cards.sc-event-jumbotron-example{gap:40px}}";
10
-
11
- const EventJumbotronExample = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.startX = 0;
15
- this.scrollLeft = 0;
16
- this.updateContainerClass = () => {
17
- if (this.isDesktop) {
18
- this.sliderWrapper.classList.add('ptc-container', 'u-paddingRight-flush', 'u-paddingLeft-flush');
19
- this.disableDragging();
20
- }
21
- else {
22
- this.sliderWrapper.classList.remove('ptc-container', 'u-paddingRight-flush', 'u-paddingLeft-flush');
23
- this.enableDragging();
24
- }
25
- };
26
- this.startDragging = (e) => {
27
- this.isMouseDown = true;
28
- this.isDragging = false;
29
- this.startX = e.pageX;
30
- this.scrollLeft = this.slider.scrollLeft;
31
- };
32
- this.performDragging = (e) => {
33
- if (!this.isMouseDown)
34
- return;
35
- const x = e.pageX - this.slider.offsetLeft;
36
- const walk = x - this.startX;
37
- this.isDragging = Math.abs(walk) > 5;
38
- this.slider.scrollLeft = this.scrollLeft - walk;
39
- };
40
- this.stopDragging = () => {
41
- this.isMouseDown = false;
42
- };
43
- this.closeActiveModal = () => {
44
- document.querySelectorAll('ptc-modal').forEach((modal) => {
45
- if (modal.show)
46
- modal.show = false;
47
- });
48
- };
49
- this.cards = [];
50
- this.modalBtnCloseText = "Close";
51
- this.activePanel = null;
52
- this.isDragging = false;
53
- this.isMouseDown = false;
54
- this.isDesktop = window.innerWidth >= 992;
55
- }
56
- onScreenStatusChange() {
57
- !this.isDesktop && this.closeActiveModal();
58
- }
59
- handleCardClick(cardIndex) {
60
- const card = this.slider.children[cardIndex];
61
- const panelID = `panel-${cardIndex}`;
62
- const panel = document.getElementById(panelID);
63
- if (this.isDesktop && panel) {
64
- this.showPanel(card, panel);
65
- }
66
- else if (!this.isDesktop) {
67
- if (!this.isDragging) {
68
- const modal = document.getElementById(`modal-${cardIndex}`);
69
- console.log('open: ' + modal.id);
70
- modal.show = true;
71
- }
72
- }
73
- }
74
- showPanel(card, panel) {
75
- if (this.activePanel)
76
- return;
77
- this.slider.style.transform = `translateX(-${card.offsetLeft}px)`;
78
- Array.from(this.slider.children).forEach(c => {
79
- if (c !== card)
80
- c.classList.add('hidden');
81
- });
82
- panel.style.display = 'block';
83
- panel.style.width = `calc(100% - ${card.getBoundingClientRect().width}px`;
84
- card.style.height = `${panel.getBoundingClientRect().height}px`;
85
- this.arrowButtons = document.querySelectorAll('ptc-scroll-button');
86
- setTimeout(() => {
87
- panel.style.transform = `translateX(${card.offsetWidth}px)`;
88
- panel.classList.add('visible');
89
- card.classList.add('active');
90
- this.arrowButtons.forEach(button => button.initVisibility());
91
- this.activePanel = panel.id;
92
- }, 100);
93
- }
94
- closePanel(panelId) {
95
- const panel = document.getElementById(panelId);
96
- if (panel) {
97
- panel.classList.remove('visible');
98
- panel.addEventListener('transitionend', () => {
99
- if (!panel.classList.contains('visible')) {
100
- panel.style.display = 'none';
101
- }
102
- }, { once: true });
103
- }
104
- this.activePanel = null;
105
- this.slider.style.transform = 'translateX(0)';
106
- Array.from(this.slider.children).forEach(card => {
107
- card.classList.remove('hidden', 'active');
108
- card.style.height = '530px';
109
- });
110
- }
111
- enableDragging() {
112
- this.slider.addEventListener('mousedown', this.startDragging);
113
- this.slider.addEventListener('mousemove', this.performDragging);
114
- ['mouseup', 'mouseleave'].forEach(event => this.slider.addEventListener(event, this.stopDragging));
115
- }
116
- disableDragging() {
117
- this.slider.removeEventListener('mousedown', this.startDragging);
118
- this.slider.removeEventListener('mousemove', this.performDragging);
119
- ['mouseup', 'mouseleave'].forEach(event => this.slider.removeEventListener(event, this.stopDragging));
120
- }
121
- componentDidLoad() {
122
- // const cardOverlays = document.querySelectorAll('overlay');
123
- this.sliderWrapper = document.querySelector('.jumbotron-cards-wrapper');
124
- this.slider = document.querySelector('.jumbotron-cards');
125
- this.updateContainerClass();
126
- window.addEventListener('resize', () => {
127
- this.isDesktop = window.innerWidth >= 992;
128
- this.updateContainerClass();
129
- this.activePanel && this.closePanel(this.activePanel);
130
- });
131
- // cardOverlays.forEach( (ele=> {(ele as HTMLPtcOverlayElement).setOverlayColorValue('linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.70) 100%)')}))
132
- }
133
- render() {
134
- const modalContentSlots = Array.from(this.el.querySelectorAll('template'));
135
- return [
136
- index.h("div", { class: {
137
- 'event-jumbotron': true,
138
- 'ptc-container': this.isDesktop,
139
- } }, index.h("div", { class: "jumbotron-cards-wrapper" }, index.h("div", { class: "jumbotron-cards" }, this.cards.map((card, index$1) => (index.h("div", { class: "card", onClick: () => this.handleCardClick(index$1), "data-panel": `panel-${index$1}`, onKeyPress: () => this.handleCardClick(index$1), tabindex: "0" }, index.h("ptc-img", { "border-radius": "radius-standard", "image-type": "smart-bg", "img-url": card.cardBg, "load-mode": "lazy-bg", styles: "ptc-img{position: absolute; width: 100%; height: 100%; z-index: 0}" }), index.h("div", { class: "text-wrapper" }, index.h("h3", { class: "card-title" }, card.title, ' ', index.h("span", null, card.description)), !this.activePanel && [index.h("div", { innerHTML: card.panelContent })]))))), this.cards.map((_, index$1) => (index.h("div", { id: `panel-${index$1}`, class: "panel" }, index.h("button", { tabindex: "-1", class: "close-panel", onClick: () => this.closePanel(`panel-${index$1}`), "aria-label": "Close panel" }, index.h("ptc-close-icon", null)), index.h("slot", { name: `panel-content-${index$1}` })))), !this.isDesktop && this.cards.map((_, index$1) => (index.h("ptc-modal", { id: `modal-${index$1}`, show: false, "close-on-blur": true, "modal-type": "event-listing", "custom-class": "event-mobile-modal", headerOnlyText1: this.cards[index$1].title, headerOnlyText2: this.cards[index$1].description, headerOnlyBg: this.cards[index$1].cardBg, bottomCloseBtn: this.modalBtnCloseText }, index.h("div", { innerHTML: modalContentSlots[index$1].innerHTML })))))),
140
- index.h("div", { class: "white-placeholder" }),
141
- ];
142
- }
143
- get el() { return index.getElement(this); }
144
- static get watchers() { return {
145
- "isDesktop": ["onScreenStatusChange"]
146
- }; }
147
- };
148
- EventJumbotronExample.style = eventJumbotronExampleCss;
149
-
150
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}svg.sc-icon-asset:focus{outline:none !important}svg[tabIndex=\"0\"].sc-icon-asset:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}svg[tabIndex=\"0\"].sc-icon-asset:focus{outline:none !important}";
151
-
152
- const IconAsset = class {
153
- constructor(hostRef) {
154
- index.registerInstance(this, hostRef);
155
- this.ready = index.createEvent(this, "ready", 7);
156
- this.regularSprite = index.getAssetPath('./media/regular.svg');
157
- this.solidSprite = index.getAssetPath('./media/solid.svg');
158
- this.brandSprite = index.getAssetPath('./media/brands.svg');
159
- this.ptcSprite = index.getAssetPath('./media/designer-v6.0.6.svg');
160
- this.name = undefined;
161
- this.size = 'xx-small';
162
- this.type = 'regular';
163
- this.spin = '';
164
- this.pulse = '';
165
- this.color = 'default';
166
- this.isMobileSelect = undefined;
167
- this.injectedStyle = undefined;
168
- this.focusOn = false;
169
- this.trackerId = "";
170
- }
171
- componentDidLoad() {
172
- this.ready.emit({
173
- 'regular-icons': this.regularSprite,
174
- 'sold-icons': this.solidSprite,
175
- 'brand-icons': this.brandSprite,
176
- 'ptc-icons': this.ptcSprite
177
- });
178
- }
179
- render() {
180
- const classMap = this.getCssClassMap();
181
- if (this.type == 'brands') {
182
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
183
- }
184
- else if (this.type == 'solid') {
185
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
186
- }
187
- else if (this.type == 'ptc') {
188
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
189
- }
190
- else {
191
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
192
- }
193
- }
194
- getCssClassMap() {
195
- return {
196
- [this.size]: true,
197
- [this.spin]: true,
198
- [this.pulse]: true,
199
- [this.color]: true,
200
- ['ismobileselect']: this.isMobileSelect ? true : false,
201
- ['mf-listen']: this.trackerId !== "" ? true : false
202
- };
203
- }
204
- static get assetsDirs() { return ["media"]; }
205
- };
206
- IconAsset.style = iconAssetCss;
207
-
208
- const listItemCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
209
-
210
- const ListItem = class {
211
- constructor(hostRef) {
212
- index.registerInstance(this, hostRef);
213
- this.listType = 'list-primary';
214
- this.linkHref = undefined;
215
- this.flushBefore = false;
216
- this.linkTarget = '_self';
217
- this.hasBeforeHomeIcon = false;
218
- this.trackerId = undefined;
219
- this.color = undefined;
220
- this.styles = undefined;
221
- this.ariaLabel = '';
222
- }
223
- render() {
224
- const classMap = this.getCssClassMap();
225
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("li", { id: this.trackerId }, this.linkHref ? (index.h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {}), { tabindex: "0" }), index.h("slot", null))) : (index.h("slot", null)))));
226
- }
227
- getCssClassMap() {
228
- let bcEnable = false;
229
- if (this.hostElement && this.hostElement.parentElement) {
230
- try {
231
- bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
232
- }
233
- catch (err) {
234
- console.log(err);
235
- }
236
- }
237
- return {
238
- [this.listType]: true,
239
- ['flush-before']: this.flushBefore ? true : false,
240
- [this.color]: !!this.color ? true : false,
241
- ['breadcrumb-center']: bcEnable,
242
- ['mf-listen']: true
243
- };
244
- }
245
- get hostElement() { return index.getElement(this); }
246
- };
247
- ListItem.style = listItemCss;
248
-
249
- const ptcBreadcrumbCss = "h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);display:inline-block}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible.dark-mode-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}";
250
-
251
- const PtcBreadcrumb = class {
252
- constructor(hostRef) {
253
- index.registerInstance(this, hostRef);
254
- this.position = undefined;
255
- this.removeTopMargin = false;
256
- this.color = 'white';
257
- this.isDarkMode = false;
258
- this.styles = undefined;
259
- }
260
- componentWillLoad() {
261
- this.listItems = this.hostElement.querySelectorAll('list-item');
262
- }
263
- componentDidLoad() {
264
- if (this.listItems) {
265
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
266
- item.remove();
267
- });
268
- }
269
- }
270
- render() {
271
- const classMap = this.getCssClassMap();
272
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("nav", { "aria-label": "Breadcrumb" }, index.h("ol", { class: "ptc-breadcrumb-ol" }, index.h("li", { class: 'home-link mf-listen', id: "homeLinkID" }, index.h("a", { href: "/", "aria-label": "Home Link", class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index$1, array) => {
273
- const textContent = item.textContent.trim();
274
- const href = item.getAttribute('link-href');
275
- return (index.h("li", { key: index$1, class: "mf-listen", id: `breadcrumb` + index$1 + `ID` }, index$1 < array.length - 1 ? (index.h("a", { href: href, target: '_self', class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, textContent)) : (textContent), index.h("span", { class: "visually-hidden" }, "/")));
276
- })))));
277
- }
278
- getCssClassMap() {
279
- return {
280
- [this.position]: !!this.position && this.position !== undefined ? true : false,
281
- ['remove-top-margin']: this.removeTopMargin ? true : false,
282
- [this.color]: true
283
- };
284
- }
285
- get hostElement() { return index.getElement(this); }
286
- };
287
- PtcBreadcrumb.style = ptcBreadcrumbCss;
288
-
289
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}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.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}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)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.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))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.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-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.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-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.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.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.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);transition:none}.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);transition:none}.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);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.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{transition:none;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{transition:none;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}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";
290
-
291
- const PtcButton = class {
292
- constructor(hostRef) {
293
- index.registerInstance(this, hostRef);
294
- this.clickEvent = index.createEvent(this, "clickEvent", 7);
295
- this.disabled = false;
296
- this.active = false;
297
- this.type = 'button';
298
- this.color = 'ptc-primary';
299
- this.iconAnimation = '';
300
- this.iconPosition = 'icon-right';
301
- this.linkHref = undefined;
302
- this.linkTitle = undefined;
303
- this.target = '_self';
304
- this.rel = undefined;
305
- this.tabNav = 0;
306
- this.styles = undefined;
307
- this.textAlign = undefined;
308
- this.enableAccessibilityAltStyle = false;
309
- this.size = undefined;
310
- this.buttonTitle = undefined;
311
- this.ariaLabel = '';
312
- this.seoCompatibilityMode = false;
313
- this.maintainContent = false;
314
- this.trackerId = undefined;
315
- this.darkFocusState = false;
316
- }
317
- clickEventHandler() {
318
- this.clickEvent.emit();
319
- }
320
- seoCompRender() {
321
- const classMap = this.getCssClassMap();
322
- const Tag = !!this.linkHref ? 'a' : 'button';
323
- const [TagType, firstChild] = utils.getSeoTagType(this.el, Tag);
324
- const html = firstChild && firstChild.innerHTML;
325
- if (this.el == firstChild) {
326
- this.el.innerHTML = '';
327
- }
328
- if (this.maintainContent) {
329
- this.el.innerHTML = html;
330
- }
331
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h(TagType, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), index.h("span", { innerHTML: html }, index.h("slot", { name: "slot-before-text" }), index.h("slot", { name: "slot-after-text" }))))));
332
- }
333
- standardRender() {
334
- const classMap = this.getCssClassMap();
335
- const Tag = !!this.linkHref ? 'a' : 'button';
336
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
337
- index.h("span", null, index.h("div", { class: "content" }, index.h("slot", null)), index.h("div", { class: "icon-wrapper" }, index.h("div", { class: "icon" }, index.h("slot", { name: "slot-after-text" })))) :
338
- index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" }))))));
339
- }
340
- render() {
341
- if (this.seoCompatibilityMode) {
342
- return this.seoCompRender();
343
- }
344
- else {
345
- return this.standardRender();
346
- }
347
- }
348
- getCssClassMap() {
349
- return {
350
- [this.color]: true,
351
- [this.iconAnimation]: true,
352
- [this.iconPosition]: true,
353
- ['disabled']: this.disabled ? true : false,
354
- ['active']: this.active ? true : false,
355
- [this.textAlign]: true,
356
- [this.size]: true,
357
- ['acc-alt-style']: this.enableAccessibilityAltStyle,
358
- ['focus-state-dark-background']: this.darkFocusState
359
- };
360
- }
361
- get el() { return index.getElement(this); }
362
- };
363
- PtcButton.style = ptcButtonCss;
364
-
365
- const ptcCardContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%}:host ::slotted([slot=seo-content]){display:none}: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)}";
366
-
367
- const PtcCardContent = class {
368
- constructor(hostRef) {
369
- index.registerInstance(this, hostRef);
370
- this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
371
- this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
372
- this.cardType = undefined;
373
- this.outlineColor = undefined;
374
- this.styles = undefined;
375
- this.isLoading = false;
376
- }
377
- hoverEventHandler() {
378
- if (!this.el.classList.contains('speed-bump') &&
379
- !this.el.classList.contains('card-video-intro') &&
380
- !this.el.classList.contains('card-dynamic') &&
381
- !this.el.classList.contains('extra-tall')) {
382
- this.hoverEvent.emit();
383
- this.el.classList.add('mouse-hover');
384
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
385
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
386
- }
387
- }
388
- if (this.el.classList.contains('event-podcast')) {
389
- const bottomComponent = this.el.nextElementSibling;
390
- bottomComponent.addClassOnDefaultSlot();
391
- }
392
- }
393
- leaveEventHandler() {
394
- if (!this.el.classList.contains('speed-bump') &&
395
- !this.el.classList.contains('card-video-intro') &&
396
- !this.el.classList.contains('card-dynamic') &&
397
- !this.el.classList.contains('extra-tall')) {
398
- this.hoverEvent.emit();
399
- this.el.classList.remove('mouse-hover');
400
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
401
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
402
- }
403
- }
404
- if (this.el.classList.contains('event-podcast')) {
405
- const bottomComponent = this.el.nextElementSibling;
406
- bottomComponent.removeClassOnDefaultSlot();
407
- }
408
- }
409
- async setHeight(height) {
410
- this.el.style.height = height + 'px';
411
- const image = this.el.querySelector('ptc-picture');
412
- image.style.height = height + 'px';
413
- }
414
- async removeInlineHeight() {
415
- this.el.style.removeProperty('height');
416
- const image = this.el.querySelector('ptc-picture');
417
- if (image)
418
- image.style.removeProperty('height');
419
- }
420
- render() {
421
- const classMap = this.getCssClassMap();
422
- return (index.h(index.Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && index.h("style", null, this.styles), index.h("slot", { name: "slot-content" }), index.h("div", { class: "ptc-card-content-wrapper" }, index.h("slot", null))));
423
- }
424
- getCssClassMap() {
425
- return {
426
- [this.cardType]: !!this.cardType ? true : false,
427
- [this.outlineColor]: !!this.outlineColor ? true : false,
428
- };
429
- }
430
- get el() { return index.getElement(this); }
431
- };
432
- PtcCardContent.style = ptcCardContentCss;
433
-
434
- const ptcCardWrapperCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible::before,:host(.card-wide) a:focus-visible::before,:host(.card-video) a:focus-visible::before,:host(.card-playlist) a:focus-visible::before,:host(.card-2up) a:focus-visible::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;border-radius:var(--ptc-border-radius-large);outline:5px solid var(--keyboard-nav-outline)}:host(.card-tall) a.focus-state-dark-background:focus-visible::before,:host(.card-wide) a.focus-state-dark-background:focus-visible::before,:host(.card-video) a.focus-state-dark-background:focus-visible::before,:host(.card-playlist) a.focus-state-dark-background:focus-visible::before,:host(.card-2up) a.focus-state-dark-background:focus-visible::before{border:2px solid white}:host(.card-playlist) div:not(.tracker-div),:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:not(.tracker-div):hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div:not(.tracker-div){display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.extra-tall) a::after{content:\"\";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0);bottom:0;left:0;border-radius:var(--ptc-border-radius-large);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.color-outlined) a:focus-visible{box-shadow:0 0 0 5px var(--keyboard-nav-outline);border-radius:var(--ptc-border-radius-standard) !important;border:2px solid white;display:block;outline:none}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{background:rgba(0, 0, 0, 0.6)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div:not(.tracker-div){display:flex}}:host(.result-box){width:505px;border:1px solid #6A6A6A;padding-top:56px;padding-bottom:56px;border-radius:var(--ptc-border-radius-large)}:host(.result-box) div:not(.tracker-div){display:flex;justify-content:center;align-items:center;flex-direction:column}:host(.simple-card){border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);box-shadow:var(--ptc-shadow-small);padding:var(--ptc-layout-spacing-03)}:host(.simple-card) a{text-decoration:none}:host(.simple-card) a:hover{text-decoration:none}:host(.most-popular){position:relative;margin:12px;background-color:var(--color-white)}:host(.most-popular) a{text-decoration:none}:host(.most-popular) a:hover{text-decoration:none}:host(.most-popular) a:focus-visible{box-shadow:0 0 0 5px var(--keyboard-nav-outline);border-radius:var(--ptc-border-radius-standard) !important;display:block;outline:none}:host(.disabled) a{pointer-events:none;cursor:default;text-decoration:none}:host(.event-podcast) a:focus-visible{box-shadow:0 0 0 5px var(--keyboard-nav-outline);border-radius:var(--ptc-border-radius-standard) !important;display:block;outline:none}";
435
-
436
- const PtcCardPlm = class {
437
- constructor(hostRef) {
438
- index.registerInstance(this, hostRef);
439
- this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
440
- this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
441
- this.squareHeightChanged = index.createEvent(this, "squareHeightChanged", 7);
442
- this.cardType = undefined;
443
- this.cardLink = undefined;
444
- this.linkTitle = undefined;
445
- this.linkTarget = '_self';
446
- this.isLoading = false;
447
- this.trackerId = undefined;
448
- this.disabled = false;
449
- this.hideLinkTitle = false;
450
- this.styles = undefined;
451
- this.darkFocusState = false;
452
- }
453
- handleResize() {
454
- this.checkScreenSize();
455
- this.emitHeight();
456
- }
457
- hoverEventHandler() {
458
- if (this.el.classList.contains('extra-tall')) {
459
- this.hoverEvent.emit();
460
- this.el.classList.add('extraT-overlay');
461
- }
462
- if (this.el.classList.contains('color-outlined')) {
463
- this.hoverEvent.emit();
464
- const cardOverlay = this.el.querySelector('ptc-overlay');
465
- cardOverlay.setOverlay('black-5');
466
- }
467
- }
468
- leaveEventHandler() {
469
- if (this.el.classList.contains('extra-tall')) {
470
- this.hoverEvent.emit();
471
- this.el.classList.remove('extraT-overlay');
472
- }
473
- if (this.el.classList.contains('color-outlined')) {
474
- this.hoverEvent.emit();
475
- const cardOverlay = this.el.querySelector('ptc-overlay');
476
- cardOverlay.setOverlay('black-4');
477
- }
478
- }
479
- componentDidLoad() {
480
- this.checkScreenSize();
481
- this.emitHeight();
482
- }
483
- render() {
484
- const classMap = this.getCssClassMap();
485
- const Tag = !!this.cardLink ? 'a' : 'div';
486
- return (index.h(index.Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && index.h("style", null, this.styles), index.h("div", { class: "tracker-div mf-listen", id: this.trackerId }, index.h(Tag, Object.assign({ class: `mf-listen ${this.darkFocusState ? "focus-state-dark-background" : ""}` }, (!!this.cardLink && this.cardType !== "simple-card" ? { tabindex: '0' } : { tabindex: '-1' }), (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading && !this.hideLinkTitle ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), index.h("slot", null)))));
487
- }
488
- getCssClassMap() {
489
- return {
490
- [this.cardType]: this.cardType ? true : false,
491
- ['disabled']: this.disabled,
492
- };
493
- }
494
- emitHeight() {
495
- const height = this.el.offsetHeight;
496
- this.squareHeightChanged.emit(height);
497
- }
498
- getBtmContentHeight() {
499
- const bottomContent = this.el.querySelector('ptc-card-bottom');
500
- return bottomContent.offsetHeight;
501
- }
502
- checkScreenSize() {
503
- if (this.cardType === 'extra-tall') {
504
- if (window.innerWidth < 768) {
505
- const cardContent = this.el.querySelector('ptc-card-content');
506
- if (cardContent) {
507
- cardContent.setHeight(this.getBtmContentHeight());
508
- }
509
- }
510
- else {
511
- const cardContent = this.el.querySelector('ptc-card-content');
512
- if (cardContent) {
513
- cardContent.removeInlineHeight();
514
- }
515
- }
516
- }
517
- }
518
- get el() { return index.getElement(this); }
519
- };
520
- PtcCardPlm.style = ptcCardWrapperCss;
521
-
522
- const ptcCloseIconCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:inline-block}:host:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon svg:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}";
523
-
524
- const PtcCloseIcon = class {
525
- constructor(hostRef) {
526
- index.registerInstance(this, hostRef);
527
- }
528
- render() {
529
- return (index.h(index.Host, null, index.h("div", { class: 'close-icon mf-listen', "tab-index": "0" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", tabindex: 0 }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z", fill: "#20262A" })))));
530
- }
531
- };
532
- PtcCloseIcon.style = ptcCloseIconCss;
533
-
534
- const ptcImgCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";
535
-
536
- const PtcImg = class {
537
- constructor(hostRef) {
538
- index.registerInstance(this, hostRef);
539
- this.sizeXs = '510x340';
540
- this.sizeSm = '1240x496';
541
- this.sizeMd = '1366x500';
542
- this.sizeLg = '1920x1080';
543
- this.imgUrl = undefined;
544
- this.imageType = 'smart-bg';
545
- this.borderRadius = '';
546
- this.loadMode = 'lazy-bg';
547
- this.styles = undefined;
548
- }
549
- /**
550
- * Image Z Index
551
- */
552
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
553
- WindowResize() {
554
- this.setResponsiveBg();
555
- }
556
- render() {
557
- const classMap = this.getCssClassMap();
558
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == 'smart-bg' ? index.h("slot", null) : null)));
559
- }
560
- componentDidLoad() {
561
- this.addIntersectionObserver();
562
- this.setResponsiveBg();
563
- }
564
- componentWillUpdate() {
565
- this.addIntersectionObserver();
566
- this.setResponsiveBg();
567
- }
568
- //responsive image
569
- setResponsiveBg() {
570
- // Define local variables
571
- let backgrounds = (this.el || document).querySelectorAll(interfaces.ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
572
- // Loop through all target elements
573
- for (var i = 0, len = backgrounds.length; i < len; i++) {
574
- // Set current variables
575
- el = backgrounds[i];
576
- elData = el.getAttribute('data-' + currentBreakpoint);
577
- // If the data attribute exists, set the background
578
- if (elData !== null) {
579
- el.style.backgroundImage = "url('" + elData + "')";
580
- }
581
- else {
582
- if (typeof console == 'object') {
583
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
584
- }
585
- }
586
- }
587
- }
588
- //lazy loading
589
- addIntersectionObserver() {
590
- if (!this.imgUrl) {
591
- console.log('no image!');
592
- return;
593
- }
594
- if ('IntersectionObserver' in window) {
595
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
596
- let bgObserver = new IntersectionObserver(entries => {
597
- entries.forEach(entry => {
598
- if (entry.isIntersecting) {
599
- const image = entry.target;
600
- image.classList.remove('lazy-bg');
601
- bgObserver.unobserve(image);
602
- }
603
- });
604
- });
605
- lazyLoadBgs.forEach(image => {
606
- bgObserver.observe(image);
607
- });
608
- }
609
- }
610
- getCssClassMap() {
611
- return {
612
- [this.imageType]: true,
613
- 'ptc-img': true,
614
- [this.borderRadius]: true,
615
- [this.loadMode]: true,
616
- // [this.imageZIndex] : true
617
- };
618
- }
619
- getCurrentBreakPoints() {
620
- // Define local variables
621
- let doc = window.document, temp = doc.createElement('div'), env;
622
- // Append test node
623
- doc.body.appendChild(temp);
624
- // Loop through breakpoints
625
- for (let i = interfaces.ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
626
- env = interfaces.ResponsiveBgVariables.envs[i];
627
- // Add classes
628
- temp.className = 'hidden-' + env;
629
- // Found breakpoint
630
- if (temp.offsetParent === null) {
631
- // Remove our test node
632
- doc.body.removeChild(temp);
633
- // Return current breakpoint
634
- return env;
635
- }
636
- }
637
- // Breakpoint not found, try fallback
638
- doc.body.removeChild(temp);
639
- return this.getFallbackBreakpoint();
640
- }
641
- getFallbackBreakpoint() {
642
- if (window.matchMedia('(min-width: 992px)').matches) {
643
- return 'lg';
644
- }
645
- else if (window.matchMedia('(min-width: 768px)').matches) {
646
- return 'md';
647
- }
648
- else if (window.matchMedia('(min-width: 576px)').matches) {
649
- return 'sm';
650
- }
651
- else {
652
- return 'xs';
653
- }
654
- }
655
- get el() { return index.getElement(this); }
656
- };
657
- PtcImg.style = ptcImgCss;
658
-
659
- const ptcLinkCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-extrabold);position:relative;line-height:var(--ptc-line-height-densest);outline:none;text-decoration:none;transition:color var(--ptc-transition-fast) var(--ptc-ease-inout)}.ptc-link:active{transition:none}.ptc-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-link:focus-visible .focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.simple{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:active{transition:none}.simple:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.global{font-style:var(--ptc-letter-spacing-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out)}.global:visited{color:var(--color-blue-10)}.global:active,.global:visited:active{color:var(--color-blue-09);transition:none}.global:hover,.global:visited:hover{color:var(--color-blue-08)}.global.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.product-link{font-weight:var(--ptc-font-weight-extrabold);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:active{transition:none}.underline{border-bottom:2px solid var(--color-green-06)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.underline:active{transition:none}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.medium-large{font-size:var(--ptc-font-size-small)}.large{font-size:var(--ptc-font-size-medium)}.nav-title:focus,.nav-title-link:focus,.nav-card-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title:active,.nav-title-link:active,.nav-card-link:active,.primary-nav-link:active,.secondary-nav-link:active,.footer-nav-link:active,.copyright-link:active{transition:none}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.primary-nav-link:active{transition:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.nav-title-link:active{transition:none}.nav-card-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-white);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 1200px){.nav-card-link{font-size:var(--ptc-font-size-xxx-small)}}.nav-card-link:hover{color:var(--color-white);text-decoration:underline var(--color-green-06) solid 1px;text-underline-offset:2px}.nav-card-link:active{transition:none}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.secondary-nav-link:active{transition:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.footer-nav-link:active{transition:none}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.d-green-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:hover{color:var(--color-green-06)}.d-green-underline:active{transition:none}.d-green-underline:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.d-white-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-white);text-underline-offset:5px}.link-area-cover-parent{position:static}.link-area-cover-parent::after{content:\"\";position:absolute;width:100%;height:100%;inset:0;z-index:2}.standard-link,.blog-link{font-weight:800;line-height:1;display:flex;align-items:center;color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.standard-link:hover,.blog-link:hover{color:var(--color-green-06)}.standard-link:active,.blog-link:active{transition:none}.w-thin{font-weight:var(--ptc-font-weight-thin)}.w-regular{font-weight:var(--ptc-font-weight-regular)}.w-medium{font-weight:var(--ptc-font-weight-medium)}.w-semibold{font-weight:var(--ptc-font-weight-semibold)}.w-bold{font-weight:var(--ptc-font-weight-bold)}.w-extrabold{font-weight:var(--ptc-font-weight-extrabold)}.w-black{font-weight:var(--ptc-font-weight-black)}.utility-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-13);font-stretch:100%;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-green-06);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-x-small)}.utility-nav-link:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.utility-nav-link:active{transition:none}.tracker-div{display:inline}:host(.event-podcast) a{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}";
660
-
661
- const PtcLink = class {
662
- constructor(hostRef) {
663
- index.registerInstance(this, hostRef);
664
- this.disabled = false;
665
- this.external = false;
666
- this.href = undefined;
667
- this.target = '_self';
668
- this.linkTitle = undefined;
669
- this.theme = 'simple';
670
- this.fontSize = 'medium';
671
- this.fontWeight = undefined;
672
- this.linkArea = undefined;
673
- this.seoCompatibilityMode = false;
674
- this.styles = undefined;
675
- this.trackerId = undefined;
676
- this.tabNav = 0;
677
- this.darkFocusState = false;
678
- }
679
- seoCompRender() {
680
- const classMap = this.getCssClassMap();
681
- const [TagType, firstChild] = utils.getSeoTagType(this.el, "a");
682
- const html = firstChild && firstChild.innerHTML;
683
- if (this.el == firstChild) {
684
- this.el.innerHTML = '';
685
- }
686
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h(TagType, Object.assign({ class: classMap, innerHTML: html, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), index.h("slot", null)))));
687
- }
688
- standardRender() {
689
- const classMap = this.getCssClassMap();
690
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h("a", Object.assign({ class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), index.h("slot", null)))));
691
- }
692
- render() {
693
- if (this.seoCompatibilityMode) {
694
- return this.seoCompRender();
695
- }
696
- else {
697
- return this.standardRender();
698
- }
699
- }
700
- getCssClassMap() {
701
- const classOptions = [
702
- 'simple',
703
- 'underline',
704
- 'nav-title',
705
- 'primary-nav-link',
706
- 'nav-title-link',
707
- 'nav-card-link',
708
- 'secondary-nav-link',
709
- 'footer-nav-link',
710
- 'copyright-link',
711
- 'product-link',
712
- 'd-green-underline',
713
- 'd-white-underline',
714
- 'global',
715
- 'utility-nav-link'
716
- ];
717
- let mainClass = this.theme;
718
- if (classOptions.indexOf(mainClass) < 0) {
719
- mainClass = 'simple'; // fallback to simple class if theme is unavailable
720
- }
721
- return {
722
- ['ptc-link']: true,
723
- [mainClass]: true,
724
- ['disabled']: this.disabled,
725
- [this.fontSize]: true,
726
- [this.linkArea]: this.linkArea ? true : false,
727
- [this.fontWeight]: this.fontWeight ? true : false,
728
- ['focus-state-dark-background']: this.darkFocusState
729
- };
730
- }
731
- get el() { return index.getElement(this); }
732
- };
733
- PtcLink.style = ptcLinkCss;
734
-
735
- const ptcModalCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}:host(.event-listing) .wrapper .modal-popup{max-width:unset;width:calc(100% - 48px);top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px;position:absolute}:host(.vh-center) .wrapper .modal-popup{top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px auto;position:absolute}:host(.thank-you) .wrapper .modal-popup{max-width:calc(100% - 48px);width:100%}@media only screen and (min-width: 480px){:host(.thank-you) .wrapper .modal-popup{max-width:640px;width:80%}}:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 24px 48px 24px;box-sizing:border-box}@media only screen and (min-width: 992px){:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 48px 48px 48px}}:host .wrapper .event-list-header{display:flex;position:absolute;width:100%;height:118px;left:0;transform:translateY(-100%);border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;align-items:center;padding:var(--ptc-element-spacing-06);box-sizing:border-box}:host .wrapper .event-list-header::before{content:\"\";position:absolute;left:0;width:100%;height:100%;border-radius:4px 4px 0px 0px;background:linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:1}:host .wrapper .event-list-header+.close{margin-top:0px;margin-right:0px;width:40px;height:40px;display:flex;justify-content:center;align-items:center}:host .wrapper .event-list-header .text-wrapper{display:flex;flex-wrap:wrap;column-gap:0.5em}:host .wrapper .event-list-header .text-wrapper span{display:inline-block;color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);position:relative;z-index:2}:host .wrapper .event-list-header .text-wrapper span:first-of-type{font-weight:var(--ptc-font-weight-extrabold)}:host .wrapper .event-mobile-modal{border-top-left-radius:0px;border-top-right-radius:0px}:host .wrapper .bottom-close{text-align:center;margin:0 auto 40px auto}:host .wrapper .bottom-close span{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .wrapper .bottom-close span:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .wrapper .bottom-close span:hover{color:var(--color-blue-08)}";
736
-
737
- const PtcModal = class {
738
- constructor(hostRef) {
739
- index.registerInstance(this, hostRef);
740
- this.closed = index.createEvent(this, "closed", 7);
741
- this.opened = index.createEvent(this, "opened", 7);
742
- this.iframeUrl = undefined;
743
- this.size = 'sm';
744
- this.customClass = undefined;
745
- this.show = false;
746
- this.overlay = true;
747
- this.fixed = false;
748
- this.keepInViewport = false;
749
- this.closeOnBlur = false;
750
- this.rounded = false;
751
- this.hideContainer = false;
752
- this.showHeaderFooter = false;
753
- this.overlayHeight = undefined;
754
- this.borderRadius = 'standard';
755
- this.isBioModal = false;
756
- this.styles = undefined;
757
- this.modalType = 'default-modal';
758
- this.vhCenter = false;
759
- this.headerOnlyBg = undefined;
760
- this.headerOnlyText1 = undefined;
761
- this.headerOnlyText2 = undefined;
762
- this.bottomCloseBtn = undefined;
763
- this.bodyOverflowSetting = undefined;
764
- }
765
- fireOnClosed(modal) {
766
- this.closed.emit(modal);
767
- document.activeElement.blur();
768
- }
769
- fireOnOpened(modal) {
770
- this.opened.emit(modal);
771
- setTimeout(() => {
772
- const wrapperEle = this.el.shadowRoot.querySelector('.wrapper');
773
- wrapperEle && wrapperEle.focus();
774
- }, 100);
775
- }
776
- componentWillLoad() {
777
- let body = document.querySelector('body');
778
- this.bodyOverflowSetting = {
779
- //overflow: body.style['overflow'],
780
- overflowY: body.style['overflowY'],
781
- overflowX: body.style['overflowX'],
782
- };
783
- }
784
- componentWillRender() {
785
- let body = document.querySelector('body');
786
- if (body) {
787
- if (this.show) {
788
- //body.style['overflow'] = 'hidden';
789
- if (this.fixed) {
790
- body.style['overflowY'] = 'hidden';
791
- body.style['overflowX'] = 'hidden';
792
- }
793
- else {
794
- body.style['overflowY'] = 'scroll';
795
- body.style['overflowX'] = 'hidden';
796
- }
797
- }
798
- else {
799
- //body.style['overflow'] = this.bodyOverflowSetting.overflow;
800
- body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
801
- body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
802
- }
803
- }
804
- }
805
- componentDidLoad() {
806
- if (this.show) {
807
- this.fireOnOpened(this);
808
- }
809
- if (this.showHeaderFooter) {
810
- this.handleScroll();
811
- }
812
- }
813
- componentDidUpdate() {
814
- if (this.show) {
815
- this.fireOnOpened(this);
816
- }
817
- else {
818
- this.fireOnClosed(this);
819
- }
820
- }
821
- resizeIframe(e) {
822
- let iFrame = e.target;
823
- setTimeout(() => {
824
- try {
825
- if (iFrame.contentDocument) {
826
- iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
827
- }
828
- else {
829
- iFrame.height = '616px'; //default
830
- iFrame.removeAttribute('scrolling');
831
- }
832
- }
833
- catch (error) {
834
- console.log(error);
835
- iFrame.height = '616px'; //default
836
- iFrame.removeAttribute('scrolling');
837
- }
838
- iFrame.classList.add('ready');
839
- }, 50);
840
- }
841
- handleScroll() {
842
- let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
843
- if (modal) {
844
- let body = modal.querySelector('.modal-body');
845
- var height = body.clientHeight;
846
- var scrollHeight = body.scrollHeight;
847
- var scrollTop = body.scrollTop;
848
- var offset = body.offsetHeight;
849
- if (height < scrollHeight) { //has scrollbar
850
- if (scrollTop > 0) { //can scroll up
851
- modal.classList.add('scroll-top');
852
- }
853
- else {
854
- modal.classList.remove('scroll-top');
855
- }
856
- if (offset + scrollTop < scrollHeight) { //can scroll down
857
- modal.classList.add('scroll-bottom');
858
- }
859
- else {
860
- modal.classList.remove('scroll-bottom');
861
- }
862
- }
863
- }
864
- }
865
- close() {
866
- this.show = false;
867
- }
868
- render() {
869
- let content;
870
- let overlay;
871
- let type = this.iframeUrl ? 'frame' : 'html';
872
- let closebtn = (index.h("div", { class: "close", id: "modal-close" }, index.h("ptc-close-icon", { onClick: (e) => { e.preventDefault(); this.close(); }, onKeyPress: (e) => { e.preventDefault(); this.close(); } })));
873
- let bottomCloseBtnEle = (index.h("div", { class: "bottom-close", id: "modal-bottom-close", onClick: (e) => { e.preventDefault(); this.close(); }, onKeyPress: (e) => { e.preventDefault(); this.close(); } }, index.h("span", null, this.bottomCloseBtn)));
874
- if (this.iframeUrl) {
875
- content = (index.h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
876
- }
877
- else {
878
- if (this.showHeaderFooter) {
879
- content = (index.h("slot", { name: "body" }));
880
- }
881
- else {
882
- content = (index.h("slot", null));
883
- }
884
- }
885
- if (this.overlay) {
886
- if (this.closeOnBlur) {
887
- overlay = index.h("div", { class: "overlay", onClick: (_) => this.close() });
888
- }
889
- else {
890
- overlay = index.h("div", { class: "overlay" });
891
- }
892
- }
893
- return (index.h(index.Host, { class: this.getCssClassMap() }, this.styles && index.h("style", null, this.styles), index.h("div", { class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? 'fixed' : ''} ` }, overlay, index.h("div", { class: `modal-popup ${this.customClass ? this.customClass : ''} ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.modalType === "event-listing" && this.headerOnlyBg ? [
894
- index.h("div", { class: "event-list-header" }, index.h("ptc-img", { "img-url": this.headerOnlyBg, "image-type": 'smart-img', styles: ".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}" }), index.h("div", { class: "text-wrapper" }, index.h("span", null, this.headerOnlyText1 ? this.headerOnlyText1 : ""), index.h("span", null, this.headerOnlyText2 ? this.headerOnlyText2 : "")))
895
- ] : null, this.showHeaderFooter ? [
896
- index.h("div", { class: "modal-header" }, index.h("slot", { name: "header" }), closebtn),
897
- index.h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
898
- index.h("div", { class: "modal-footer" }, index.h("slot", { name: "footer" }))
899
- ] : [
900
- closebtn,
901
- index.h("div", { class: "modal-body" }, content)
902
- ], this.modalType === "event-listing" && this.bottomCloseBtn ? [
903
- bottomCloseBtnEle
904
- ] : null))));
905
- }
906
- getCssClassMap() {
907
- return {
908
- ["no-container"]: this.hideContainer,
909
- ["bio-modal"]: this.isBioModal,
910
- ["enclose-modal"]: !this.isBioModal && this.keepInViewport,
911
- [this.borderRadius]: true,
912
- [this.modalType]: true,
913
- ['vh-center']: this.vhCenter
914
- };
915
- }
916
- async showModal() {
917
- this.show = true;
918
- }
919
- async hideModal() {
920
- this.show = false;
921
- }
922
- async toggleModal() {
923
- this.show = !this.show;
924
- }
925
- async reloadIframe() {
926
- if (this.iframeUrl) {
927
- let iframe = this.el.shadowRoot.querySelector('iframe');
928
- if (iframe) {
929
- iframe.src = iframe.src;
930
- }
931
- }
932
- }
933
- get el() { return index.getElement(this); }
934
- };
935
- PtcModal.style = ptcModalCss;
936
-
937
- const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}: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.gray-darker{color:var(--color-gray-11)}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.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-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-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}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}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
938
-
939
- const PtcPara = class {
940
- constructor(hostRef) {
941
- index.registerInstance(this, hostRef);
942
- this.fontSize = 'x-small';
943
- this.fontWeight = 'w-4';
944
- this.paraStyle = 'default';
945
- this.paraColor = 'primary-grey';
946
- this.paraLineH = 'line-height-normal';
947
- this.paraMargin = undefined;
948
- this.paraAlign = undefined;
949
- this.ellipsisLineCutoff = undefined;
950
- this.paraZIndex = undefined;
951
- this.styles = undefined;
952
- this.seoCompatibilityMode = false;
953
- this.tooltipZIndex = 'auto';
954
- this.tooltipPosition = 'bottom';
955
- this.tooltipTheme = 'standard';
956
- this.enableTooltip = false;
957
- this.maxChars = undefined;
958
- this.maxLines = undefined;
959
- this.hideTooltipOnMobile = false;
960
- this.ismob = undefined;
961
- this.noOverflow = false;
962
- this.tooltipWidth = 'default';
963
- }
964
- // Tooltip Properties ends
965
- render() {
966
- if (this.seoCompatibilityMode) {
967
- utils.seoSlotReset(this.el);
968
- }
969
- return this.standardRender();
970
- }
971
- //tooltip code
972
- getSortedText(content) {
973
- if (!this.enableTooltip)
974
- return;
975
- const trimmedContent = content.trim();
976
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
977
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
978
- }
979
- componentDidLoad() {
980
- if (this.hideTooltipOnMobile) {
981
- this.el.classList.add('hide-tooltip-on-mobile');
982
- }
983
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
984
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
985
- if (this.enableTooltip) {
986
- let paraContent = this.el.innerText || this.el.textContent;
987
- this.tooltipText = paraContent.trim();
988
- this.el.innerText = this.getSortedText(paraContent);
989
- }
990
- }
991
- toggleTitleTooltip(show) {
992
- const tooltipClass = 'tooltip-box';
993
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
994
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
995
- let maxLinesShowCheck = false;
996
- if (text) {
997
- text.forEach(t => {
998
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
999
- });
1000
- }
1001
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
1002
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1003
- if (show && this.enableTooltip) {
1004
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
1005
- const tooltipMarkup = document.createElement('div');
1006
- tooltipMarkup.className = tooltipClass;
1007
- tooltipMarkup.innerText = this.tooltipText;
1008
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1009
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1010
- if (this.hideTooltipOnMobile) {
1011
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1012
- }
1013
- this.el.appendChild(tooltipMarkup);
1014
- }
1015
- }
1016
- else {
1017
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1018
- }
1019
- }
1020
- //tooltip code ends
1021
- standardRender() {
1022
- const classMap = this.getCssClassMap();
1023
- const colorClass = this.addWhiteClass();
1024
- const cutOff = this.getLineCuttoff();
1025
- return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
1026
- }
1027
- getCssClassMap() {
1028
- return {
1029
- [this.fontSize]: true,
1030
- [this.fontWeight]: true,
1031
- [this.paraStyle]: true,
1032
- [this.paraMargin]: !!this.paraMargin ? true : false,
1033
- [this.paraColor]: true,
1034
- [this.paraLineH]: true,
1035
- [this.paraAlign]: !!this.paraAlign ? true : false,
1036
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1037
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
1038
- };
1039
- }
1040
- //WEB-2392
1041
- addWhiteClass() {
1042
- if (this.paraColor == 'white') {
1043
- return {
1044
- [this.paraColor]: true,
1045
- };
1046
- }
1047
- }
1048
- getLineCuttoff() {
1049
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1050
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1051
- }
1052
- get el() { return index.getElement(this); }
1053
- };
1054
- PtcPara.style = ptcParaCss;
1055
-
1056
- const ptcScrollButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.scroll-btn{position:absolute;top:50%;transform:translate(0%, -50%);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:0px 4px 4px 0px;background:var(--color-gray-12);box-shadow:var(--ptc-shadow-medium);width:36px;height:36px;padding:var(--ptc-element-spacing-02)}.scroll-btn.left{left:0%}.scroll-btn.right{left:100%;transform:translate(-100%, -50%)}.scroll-btn:focus{outline:none}.scroll-btn[tabIndex=\"0\"]:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.scroll-btn icon-asset{width:20px;height:20px}";
1057
-
1058
- const PtcScrollButton = class {
1059
- constructor(hostRef) {
1060
- index.registerInstance(this, hostRef);
1061
- //slider!: HTMLElement;
1062
- this.startX = 0;
1063
- this.scrollLeft = 0;
1064
- this.startDragging = (e) => {
1065
- this.isMouseDown = true;
1066
- this.isDragging = false;
1067
- this.containerCards.forEach((card) => {
1068
- card.disabled = false;
1069
- });
1070
- this.startX = e.pageX;
1071
- this.scrollLeft = this.scrollContainer.scrollLeft;
1072
- };
1073
- this.performDragging = (e) => {
1074
- if (!this.isMouseDown)
1075
- return;
1076
- const x = e.pageX - this.scrollContainer.offsetLeft;
1077
- const walk = x - this.startX;
1078
- this.isDragging = Math.abs(walk) > 5;
1079
- this.scrollContainer.scrollLeft = this.scrollLeft - walk;
1080
- this.containerCards.forEach((card) => {
1081
- card.disabled = true;
1082
- });
1083
- };
1084
- this.stopDragging = () => {
1085
- this.isMouseDown = false;
1086
- this.containerCards.forEach((card) => {
1087
- card.disabled = false;
1088
- });
1089
- };
1090
- this.handleScroll = () => {
1091
- this.updateVisibility();
1092
- };
1093
- this.handleClick = () => {
1094
- if (!this.scrollContainer)
1095
- return;
1096
- const scrollValue = this.scrollAmount * (this.direction === 'left' || this.direction === 'up' ? -1 : 1);
1097
- if (this.orientation === 'horizontal') {
1098
- console.log('hello, left/right scroll click!');
1099
- this.scrollContainer.scrollBy({
1100
- left: scrollValue,
1101
- behavior: 'smooth',
1102
- });
1103
- }
1104
- else if (this.orientation === 'vertical') {
1105
- this.scrollContainer.scrollBy({
1106
- top: scrollValue,
1107
- behavior: 'smooth',
1108
- });
1109
- }
1110
- };
1111
- this.direction = undefined;
1112
- this.scrollContainerClass = undefined;
1113
- this.scrollAmount = 100;
1114
- this.orientation = 'horizontal';
1115
- this.trackerId = undefined;
1116
- this.styles = undefined;
1117
- this.isVisible = true;
1118
- this.isDragging = false;
1119
- this.isMouseDown = false;
1120
- }
1121
- componentWillLoad() {
1122
- this.scrollContainer = document.querySelector(`.${this.scrollContainerClass}`);
1123
- if (this.scrollContainer) {
1124
- this.scrollContainer.classList.add('hide-scrollbar');
1125
- this.updateVisibility(); // Initial visibility check
1126
- this.scrollContainer.addEventListener('scroll', this.handleScroll);
1127
- }
1128
- else {
1129
- console.error('scrollContainer ele not found');
1130
- }
1131
- }
1132
- componentDidLoad() {
1133
- this.containerCards = document.querySelectorAll(`.${this.scrollContainerClass} ptc-card-wrapper`);
1134
- if (this.scrollContainer) {
1135
- this.enableDragging();
1136
- }
1137
- }
1138
- disconnectedCallback() {
1139
- if (this.scrollContainer) {
1140
- this.scrollContainer.removeEventListener('scroll', this.handleScroll);
1141
- this.disableDragging();
1142
- }
1143
- }
1144
- async initVisibility() {
1145
- this.updateVisibility();
1146
- }
1147
- enableDragging() {
1148
- this.scrollContainer.addEventListener('mousedown', this.startDragging);
1149
- this.scrollContainer.addEventListener('mousemove', this.performDragging);
1150
- ['mouseup', 'mouseleave'].forEach(event => this.scrollContainer.addEventListener(event, this.stopDragging));
1151
- }
1152
- disableDragging() {
1153
- this.scrollContainer.removeEventListener('mousedown', this.startDragging);
1154
- this.scrollContainer.removeEventListener('mousemove', this.performDragging);
1155
- ['mouseup', 'mouseleave'].forEach(event => this.scrollContainer.removeEventListener(event, this.stopDragging));
1156
- }
1157
- updateVisibility() {
1158
- if (!this.scrollContainer)
1159
- return;
1160
- const { scrollLeft, scrollTop, scrollWidth, scrollHeight, clientWidth, clientHeight } = this.scrollContainer;
1161
- if (this.orientation === 'horizontal') {
1162
- if (this.direction === 'left') {
1163
- this.isVisible = scrollLeft > 0;
1164
- }
1165
- else if (this.direction === 'right') {
1166
- this.isVisible = scrollLeft + clientWidth + 1 < scrollWidth; // "+1" adjustments after adding margin-right 40px
1167
- // console.log('scorllLeft: ' + scrollLeft + ", scrollWidth: " + scrollWidth + ", clientWidth: " + clientWidth);
1168
- }
1169
- }
1170
- else if (this.orientation === 'vertical') {
1171
- if (this.direction === 'up') {
1172
- this.isVisible = scrollTop > 0;
1173
- }
1174
- else if (this.direction === 'down') {
1175
- this.isVisible = scrollTop + clientHeight < scrollHeight;
1176
- }
1177
- }
1178
- }
1179
- render() {
1180
- return (index.h(index.Host, { "is-dragging": this.isDragging }, this.styles && index.h("style", null, this.styles), this.isVisible && (index.h("button", { id: this.trackerId, onClick: this.handleClick, class: `scroll-btn ${this.direction}`, "aria-label": this.direction, tabindex: "0" }, this.direction === 'left' && index.h("icon-asset", { name: "left-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'right' && index.h("icon-asset", { name: "right-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'up' && '▲', this.direction === 'down' && '▼'))));
1181
- }
1182
- };
1183
- PtcScrollButton.style = ptcScrollButtonCss;
1184
-
1185
- 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}}";
1186
-
1187
- const PtcSpacer = class {
1188
- constructor(hostRef) {
1189
- index.registerInstance(this, hostRef);
1190
- this.breakpoint = '';
1191
- this.size = 'medium';
1192
- this.direction = 'vertical';
1193
- }
1194
- render() {
1195
- const classMap = this.getCssClassMap();
1196
- return (index.h(index.Host, { class: classMap }));
1197
- }
1198
- getCssClassMap() {
1199
- return {
1200
- [this.size]: true,
1201
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
1202
- ['ptc-spacer-vertical']: this.direction === 'vertical',
1203
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
1204
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
1205
- ['ptc-spacer-small']: this.breakpoint === 'small',
1206
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
1207
- ['ptc-spacer-large']: this.breakpoint === 'large',
1208
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
1209
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
1210
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
1211
- };
1212
- }
1213
- };
1214
- PtcSpacer.style = ptcSpacerCss;
1215
-
1216
- const ptcTitleCss = "h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left;width:100%}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.margin-9.sc-ptc-title{margin-top:var(--ptc-element-spacing-09);margin-bottom:var(--ptc-element-spacing-09)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 768px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}.line-clamp-title.sc-ptc-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}.sc-ptc-title-h{display:block}.sc-ptc-title-h div.sc-ptc-title{position:relative}";
1217
-
1218
- const PtcTitle = class {
1219
- constructor(hostRef) {
1220
- index.registerInstance(this, hostRef);
1221
- this.isPlmHub = false;
1222
- this.type = 'h2';
1223
- this.textAlign = undefined;
1224
- this.upperline = 'dotted';
1225
- this.titleShadow = undefined;
1226
- this.titleColor = 'gray';
1227
- this.titleMargin = undefined;
1228
- this.titleWeight = undefined;
1229
- this.titleSize = undefined;
1230
- this.titleHeight = 'densest';
1231
- this.styles = undefined;
1232
- this.ellipsisLineCutoff = undefined;
1233
- this.titleDisplay = 'inline-block';
1234
- this.seoCompatibilityMode = false;
1235
- this.tooltipZIndex = 'auto';
1236
- this.tooltipPosition = 'bottom';
1237
- this.tooltipTheme = 'standard';
1238
- this.enableTooltip = false;
1239
- this.maxChars = undefined;
1240
- this.maxLines = undefined;
1241
- this.hideTooltipOnMobile = false;
1242
- this.ismob = undefined;
1243
- this.tooltipWidth = 'default';
1244
- }
1245
- // Tooltip Properties ends
1246
- componentDidLoad() {
1247
- if (this.hideTooltipOnMobile) {
1248
- this.el.classList.add('hide-tooltip-on-mobile');
1249
- }
1250
- this.el.addEventListener('mouseenter', () => this.toggleTitleTooltip(true));
1251
- this.el.addEventListener('mouseleave', () => this.toggleTitleTooltip(false));
1252
- }
1253
- render() {
1254
- if (this.seoCompatibilityMode) {
1255
- return this.seoCompRender();
1256
- }
1257
- else {
1258
- return this.standardRender();
1259
- }
1260
- }
1261
- getSortedText(content) {
1262
- if (!this.enableTooltip)
1263
- return;
1264
- const trimmedContent = content.trim();
1265
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
1266
- return shouldTruncate ? trimmedContent.slice(0, this.maxChars) + '...' : trimmedContent;
1267
- }
1268
- toggleTitleTooltip(show) {
1269
- var _a;
1270
- const tooltipClass = 'tooltip-box';
1271
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1272
- const text = this.el.querySelectorAll('.line-clamp-title');
1273
- let maxLinesShowCheck = false;
1274
- if (text) {
1275
- text.forEach(t => {
1276
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1277
- });
1278
- }
1279
- const ifCharExceeds = this.tooltipText && (this.tooltipText.length > this.maxChars) && !this.maxLines;
1280
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1281
- if (show && this.enableTooltip) {
1282
- if ((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) {
1283
- const tooltipMarkup = document.createElement('div');
1284
- tooltipMarkup.className = tooltipClass;
1285
- tooltipMarkup.innerText = this.tooltipText;
1286
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1287
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1288
- if (this.hideTooltipOnMobile) {
1289
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1290
- }
1291
- (_a = this.el.querySelector('div')) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1292
- }
1293
- }
1294
- else {
1295
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1296
- }
1297
- }
1298
- seoCompRender() {
1299
- const classMap = this.getCssClassMap();
1300
- const cutOff = this.getLineCuttoff();
1301
- const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
1302
- let html = firstChild && firstChild.innerHTML;
1303
- // added for tooltip
1304
- this.tooltipText = html.trim();
1305
- let eleText = firstChild && firstChild.innerText;
1306
- html = (this.enableTooltip) ? this.getSortedText(eleText) : html;
1307
- if (this.el == firstChild) {
1308
- this.el.innerHTML = '';
1309
- }
1310
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0 ? 'line-clamp-title' : '' }))));
1311
- }
1312
- standardRender() {
1313
- const classMap = this.getCssClassMap();
1314
- const cutOff = this.getLineCuttoff();
1315
- let TagType;
1316
- switch (this.type) {
1317
- case 'h1':
1318
- TagType = 'h1';
1319
- break;
1320
- case 'h3':
1321
- TagType = 'h3';
1322
- break;
1323
- case 'h4':
1324
- TagType = 'h4';
1325
- break;
1326
- case 'h5':
1327
- TagType = 'h5';
1328
- break;
1329
- case 'h6':
1330
- TagType = 'h6';
1331
- break;
1332
- default:
1333
- TagType = 'h2';
1334
- }
1335
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
1336
- }
1337
- getCssClassMap() {
1338
- return {
1339
- [this.textAlign]: !!this.textAlign ? true : false,
1340
- [this.upperline]: true,
1341
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
1342
- [this.titleMargin]: !!this.titleMargin ? true : false,
1343
- [this.titleShadow]: !!this.titleShadow ? true : false,
1344
- [this.titleWeight]: !!this.titleWeight ? true : false,
1345
- [this.titleSize]: !!this.titleSize ? true : false,
1346
- [this.titleHeight]: !!this.titleHeight ? true : false,
1347
- [this.titleColor]: !!this.titleColor ? true : false,
1348
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1349
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
1350
- };
1351
- }
1352
- getLineCuttoff() {
1353
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1354
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1355
- }
1356
- get el() { return index.getElement(this); }
1357
- };
1358
- PtcTitle.style = ptcTitleCss;
1359
-
1360
- exports.event_jumbotron_example = EventJumbotronExample;
1361
- exports.icon_asset = IconAsset;
1362
- exports.list_item = ListItem;
1363
- exports.ptc_breadcrumb = PtcBreadcrumb;
1364
- exports.ptc_button = PtcButton;
1365
- exports.ptc_card_content = PtcCardContent;
1366
- exports.ptc_card_wrapper = PtcCardPlm;
1367
- exports.ptc_close_icon = PtcCloseIcon;
1368
- exports.ptc_img = PtcImg;
1369
- exports.ptc_link = PtcLink;
1370
- exports.ptc_modal = PtcModal;
1371
- exports.ptc_para = PtcPara;
1372
- exports.ptc_scroll_button = PtcScrollButton;
1373
- exports.ptc_spacer = PtcSpacer;
1374
- exports.ptc_title = PtcTitle;