@ptcwebops/ptcw-design 6.4.18 → 6.4.19

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 (422) hide show
  1. package/dist/cjs/academic-form-test_10.cjs.entry.js +12557 -0
  2. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +4 -0
  3. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
  4. package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
  5. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  7. package/dist/cjs/interfaces-574e6df7.js +15 -0
  8. package/dist/cjs/list-item.cjs.entry.js +52 -0
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/ptc-background-video.cjs.entry.js +152 -0
  11. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +63 -0
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-img.cjs.entry.js +136 -0
  16. package/dist/cjs/ptc-jumbotron.cjs.entry.js +184 -0
  17. package/dist/cjs/ptc-multi-select.cjs.entry.js +326 -0
  18. package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
  19. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +595 -0
  20. package/dist/cjs/ptc-tooltip.cjs.entry.js +113 -0
  21. package/dist/cjs/ptcw-design.cjs.js +1 -1
  22. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
  23. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
  24. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +4 -0
  25. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +16 -11
  26. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +16 -11
  27. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +16 -11
  28. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +16 -11
  29. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +16 -11
  30. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -11
  31. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +16 -11
  32. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  33. package/dist/custom-elements/index.js +11 -7
  34. package/dist/esm/academic-form-test_10.entry.js +12544 -0
  35. package/dist/esm/author-listing-example.entry.js +1 -1
  36. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  37. package/dist/esm/blog-detail-layout.entry.js +2 -2
  38. package/dist/esm/blogs-search-section.entry.js +2 -2
  39. package/dist/esm/bundle-example.entry.js +1 -1
  40. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  41. package/dist/esm/buying-option-card.entry.js +1 -1
  42. package/dist/esm/buying-option-cards-slider.entry.js +5 -1
  43. package/dist/esm/dropdown-item.entry.js +1 -1
  44. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  45. package/dist/esm/embedded-form.entry.js +1 -1
  46. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  47. package/dist/esm/event-podcast-slider-example.entry.js +2 -2
  48. package/dist/esm/featured-events-slider-example.entry.js +2 -2
  49. package/dist/esm/featured-list.entry.js +1 -1
  50. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  51. package/dist/esm/footer-form.entry.js +1 -1
  52. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  53. package/dist/esm/homepage-jumbotron.entry.js +3 -3
  54. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  55. package/dist/esm/icon-asset.entry.js +61 -0
  56. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  57. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  58. package/dist/esm/interfaces-4caedd26.js +12 -0
  59. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  60. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  61. package/dist/esm/list-item.entry.js +48 -0
  62. package/dist/esm/loader.js +3 -3
  63. package/dist/esm/most-popular-news.entry.js +2 -2
  64. package/dist/esm/my-component.entry.js +2 -2
  65. package/dist/esm/news-search-result.entry.js +1 -1
  66. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  67. package/dist/esm/ptc-accordion.entry.js +1 -1
  68. package/dist/esm/ptc-announcement.entry.js +1 -1
  69. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  70. package/dist/esm/ptc-background-video.entry.js +148 -0
  71. package/dist/esm/ptc-badge.entry.js +1 -1
  72. package/dist/esm/ptc-bio-card.entry.js +1 -1
  73. package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +1 -1
  74. package/dist/esm/ptc-breadcrumb.entry.js +59 -0
  75. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  76. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  77. package/dist/esm/ptc-card-content.entry.js +1 -1
  78. package/dist/esm/ptc-card_2.entry.js +1 -1
  79. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  80. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  81. package/dist/esm/ptc-checkbox.entry.js +1 -1
  82. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  83. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  84. package/dist/esm/ptc-container.entry.js +1 -1
  85. package/dist/esm/ptc-countdown.entry.js +1 -1
  86. package/dist/esm/ptc-date.entry.js +1 -1
  87. package/dist/esm/ptc-dropdown.entry.js +1 -1
  88. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  89. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  90. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  91. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  92. package/dist/esm/ptc-featured-list.entry.js +1 -1
  93. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  94. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  95. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  96. package/dist/esm/ptc-footer.entry.js +1 -1
  97. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  98. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  99. package/dist/esm/ptc-form.entry.js +1 -1
  100. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  101. package/dist/esm/ptc-hero.entry.js +1 -1
  102. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  103. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  104. package/dist/esm/ptc-icon-card-slider-example.entry.js +2 -2
  105. package/dist/esm/ptc-icon-card.entry.js +2 -2
  106. package/dist/esm/ptc-icon-component.entry.js +2 -2
  107. package/dist/esm/ptc-icon-list.entry.js +1 -1
  108. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  109. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  110. package/dist/esm/ptc-img.entry.js +132 -0
  111. package/dist/esm/ptc-info-tile.entry.js +1 -1
  112. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  113. package/dist/esm/ptc-jumbotron.entry.js +180 -0
  114. package/dist/esm/ptc-link.entry.js +2 -2
  115. package/dist/esm/ptc-list.entry.js +1 -1
  116. package/dist/esm/ptc-media-card.entry.js +2 -2
  117. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  118. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  119. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  120. package/dist/esm/ptc-multi-select.entry.js +322 -0
  121. package/dist/esm/ptc-nav-card.entry.js +1 -1
  122. package/dist/esm/ptc-nav-link.entry.js +1 -1
  123. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  124. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  125. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  126. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  127. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  128. package/dist/esm/ptc-news.entry.js +1 -1
  129. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  130. package/dist/esm/ptc-office-locations.entry.js +1 -1
  131. package/dist/esm/ptc-overlay.entry.js +1 -1
  132. package/dist/esm/ptc-picture.entry.js +181 -0
  133. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  134. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  135. package/dist/esm/ptc-preloader.entry.js +1 -1
  136. package/dist/esm/ptc-previous-url.entry.js +1 -1
  137. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  138. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  139. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  141. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  142. package/dist/esm/ptc-product-card.entry.js +1 -1
  143. package/dist/esm/ptc-product-category.entry.js +1 -1
  144. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  145. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  146. package/dist/esm/ptc-product-list.entry.js +1 -1
  147. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  148. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  149. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  150. package/dist/esm/ptc-quote.entry.js +1 -1
  151. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  152. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  153. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  154. package/dist/esm/ptc-readmore.entry.js +1 -1
  155. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  156. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  157. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  158. package/dist/esm/ptc-search-field.entry.js +1 -1
  159. package/dist/esm/ptc-seo-title.entry.js +1 -1
  160. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  161. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  162. package/dist/esm/ptc-skeleton.entry.js +1 -1
  163. package/dist/esm/ptc-slit-card.entry.js +1 -1
  164. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  165. package/dist/esm/ptc-social-icons.entry.js +1 -1
  166. package/dist/esm/ptc-span.entry.js +1 -1
  167. package/dist/esm/ptc-square-card.entry.js +1 -1
  168. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  169. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  170. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  171. package/dist/esm/ptc-store-card-list.entry.js +1 -1
  172. package/dist/esm/ptc-store-card.entry.js +1 -1
  173. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  174. package/dist/esm/ptc-subnav-v2.entry.js +591 -0
  175. package/dist/esm/ptc-subnav.entry.js +1 -1
  176. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  177. package/dist/esm/ptc-tab-list.entry.js +1 -1
  178. package/dist/esm/ptc-tab.entry.js +1 -1
  179. package/dist/esm/ptc-tabs.entry.js +1 -1
  180. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  181. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  182. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  183. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  184. package/dist/esm/ptc-tooltip.entry.js +109 -0
  185. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  190. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  191. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  192. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  193. package/dist/esm/ptc-video-embed.entry.js +1 -1
  194. package/dist/esm/ptc-white-paper.entry.js +1 -1
  195. package/dist/esm/ptcw-design.js +3 -3
  196. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  197. package/dist/esm/sequential-bundle.entry.js +1 -1
  198. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +2 -2
  199. package/dist/esm/storefront-enhanced-product-list-example.entry.js +2 -2
  200. package/dist/esm/tab-content.entry.js +1 -1
  201. package/dist/esm/tab-header.entry.js +1 -1
  202. package/dist/esm/{utils-a64ba942.js → utils-d14265f5.js} +1 -1
  203. package/dist/ptcw-design/{p-ad4f4f33.entry.js → p-00e21489.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-17890eea.entry.js → p-04223295.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  207. package/dist/ptcw-design/p-08f607e5.entry.js +1 -0
  208. package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
  209. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  210. package/dist/ptcw-design/p-0b146b4b.entry.js +1 -0
  211. package/dist/ptcw-design/{p-c80265d9.entry.js → p-0c914932.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-f004e5de.entry.js → p-0ddf2a09.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-f9e57052.entry.js → p-136c990d.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-36d6e662.entry.js → p-13e338a5.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-f418ef26.entry.js → p-18d699f0.entry.js} +1 -1
  217. package/dist/ptcw-design/p-1a853854.entry.js +1 -0
  218. package/dist/ptcw-design/{p-908ad455.entry.js → p-1c63c812.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-8482f517.entry.js → p-1cb02c28.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-9a07b9e3.entry.js → p-1e1ed5df.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-752159e2.entry.js → p-1f356fcf.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-c9762c88.entry.js → p-23cb5b5b.entry.js} +1 -1
  224. package/dist/ptcw-design/p-243075b7.entry.js +1 -0
  225. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  226. package/dist/ptcw-design/p-264cd2d3.entry.js +1 -0
  227. package/dist/ptcw-design/p-27e39236.entry.js +1 -0
  228. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-f20e4230.entry.js → p-2a22123e.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-f4ae5a99.entry.js → p-2b08a37d.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-315b7885.entry.js → p-2c287230.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  233. package/dist/ptcw-design/p-37f92bb4.entry.js +1 -0
  234. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-9050ab76.entry.js → p-3a034cd1.entry.js} +1 -1
  236. package/dist/ptcw-design/p-3a24991d.entry.js +1 -0
  237. package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
  238. package/dist/ptcw-design/{p-3c941935.entry.js → p-3e4861a2.entry.js} +1 -1
  239. package/dist/ptcw-design/p-3eccbe24.entry.js +1 -0
  240. package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
  241. package/dist/ptcw-design/{p-3596ce5a.entry.js → p-44eac15a.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-83632220.entry.js → p-45623f8a.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  244. package/dist/ptcw-design/p-4ab3249d.entry.js +1 -0
  245. package/dist/ptcw-design/{p-e2da8109.entry.js → p-4c2ffab9.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-efe8563a.entry.js → p-4d14b3b7.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-ed5a467e.entry.js → p-4f4f97a6.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-91e5c8d4.entry.js → p-506dac1f.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-9e8e2835.entry.js → p-523141fd.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
  252. package/dist/ptcw-design/p-567535fb.entry.js +1 -0
  253. package/dist/ptcw-design/{p-a31f22a1.entry.js → p-571d9690.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-c8de7309.entry.js → p-575861b3.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-ec395ae9.entry.js → p-5877f093.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-07b46e6e.entry.js → p-58909b95.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-7c6d6a5e.entry.js → p-5dd538c4.entry.js} +1 -1
  260. package/dist/ptcw-design/p-5e4c1edf.entry.js +1 -0
  261. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-9220308d.entry.js → p-62c56201.entry.js} +1 -1
  263. package/dist/ptcw-design/p-62dcdd28.entry.js +1 -0
  264. package/dist/ptcw-design/{p-3e13f29c.entry.js → p-66ecd7b9.entry.js} +1 -1
  265. package/dist/ptcw-design/p-6a561487.entry.js +1 -0
  266. package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
  267. package/dist/ptcw-design/p-6abc061b.entry.js +1 -0
  268. package/dist/ptcw-design/{p-32a1c28b.entry.js → p-6d27b5a2.entry.js} +1 -1
  269. package/dist/ptcw-design/p-711bcdad.js +1 -0
  270. package/dist/ptcw-design/{p-c9c55caf.entry.js → p-73fd95da.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
  272. package/dist/ptcw-design/p-761a31f8.entry.js +1 -0
  273. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-2fdd81d4.entry.js → p-7714bbaf.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-af32c90a.entry.js → p-784cae5c.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
  278. package/dist/ptcw-design/p-7da19c78.entry.js +1 -0
  279. package/dist/ptcw-design/{p-2fa5814b.entry.js → p-7f4919b7.entry.js} +1 -1
  280. package/dist/ptcw-design/p-80c69354.entry.js +1 -0
  281. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-c1302aea.entry.js → p-8340bed4.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-ff369ed7.entry.js → p-84c15835.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-ce39cff2.entry.js → p-88d1894d.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-e2e357e7.entry.js → p-8d4572f7.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-cf0f6559.entry.js → p-927373d4.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-e1bd2c43.entry.js → p-92e76318.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-2ba77e9d.entry.js → p-9354b7fd.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-3b481342.entry.js → p-9493dfa0.entry.js} +1 -1
  294. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  295. package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
  296. package/dist/ptcw-design/p-99daf693.entry.js +1 -0
  297. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-6251a6d6.entry.js → p-9e4e21a4.entry.js} +1 -1
  302. package/dist/ptcw-design/p-9efa8199.entry.js +1 -0
  303. package/dist/ptcw-design/{p-5877ab67.entry.js → p-9fc6a83d.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-afb5bdb9.entry.js → p-a04bedc2.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  306. package/dist/ptcw-design/p-a264f646.entry.js +1 -0
  307. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-b6cc4c2a.entry.js → p-a41c7e39.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-6f29592a.entry.js → p-a5efeb04.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-991465fb.entry.js → p-a79f33df.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-7123abad.entry.js → p-a7a41de8.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-ed53cb3a.entry.js → p-a8304a3e.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-11e86045.entry.js → p-a9533f9c.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-e50a5a46.entry.js → p-a993c0a6.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-87f07d6b.entry.js → p-aadf9416.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-6f1cc5e5.entry.js → p-ab4906a7.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  322. package/dist/ptcw-design/p-ac766cb3.entry.js +1 -0
  323. package/dist/ptcw-design/{p-e249cd90.entry.js → p-ac7b2779.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  325. package/dist/ptcw-design/p-af9912b6.entry.js +1 -0
  326. package/dist/ptcw-design/p-afc1e1e9.entry.js +1 -0
  327. package/dist/ptcw-design/{p-b82dd7f9.entry.js → p-b19cda95.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
  330. package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
  331. package/dist/ptcw-design/{p-73293d32.entry.js → p-bf84ecc0.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-fb0c3eeb.entry.js → p-c061b32d.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-5344a1f4.entry.js → p-c4674bc8.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  339. package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
  340. package/dist/ptcw-design/p-cbbe2bba.entry.js +1 -0
  341. package/dist/ptcw-design/{p-384548ef.entry.js → p-cc652ebe.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-fa045097.entry.js → p-cc92b9ed.entry.js} +1 -1
  343. package/dist/ptcw-design/p-d6ee094b.entry.js +1 -0
  344. package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-81736d6a.entry.js → p-d77531c8.entry.js} +1 -1
  346. package/dist/ptcw-design/p-d8575311.entry.js +1 -0
  347. package/dist/ptcw-design/{p-f5665cfe.entry.js → p-d8b2466d.entry.js} +1 -1
  348. package/dist/ptcw-design/{p-e880b556.entry.js → p-db0fc94d.entry.js} +1 -1
  349. package/dist/ptcw-design/p-e01173ca.entry.js +1 -0
  350. package/dist/ptcw-design/{p-7524411a.entry.js → p-e0d95058.entry.js} +1 -1
  351. package/dist/ptcw-design/p-e0e87d61.entry.js +1 -0
  352. package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-53d2547b.entry.js → p-e3867512.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  355. package/dist/ptcw-design/p-e4fe0995.entry.js +1 -0
  356. package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
  357. package/dist/ptcw-design/{p-b1053240.entry.js → p-e73a1a0b.entry.js} +1 -1
  358. package/dist/ptcw-design/{p-b9966f20.entry.js → p-e9684da3.entry.js} +1 -1
  359. package/dist/ptcw-design/p-eb193fd7.entry.js +404 -0
  360. package/dist/ptcw-design/{p-fe56e336.entry.js → p-ee91170c.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-681d26ef.entry.js → p-eeaa2123.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-d6271974.entry.js → p-f5d8a3b1.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-fab2fc8d.entry.js → p-fb835c5a.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  366. package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.entry.js} +1 -1
  367. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  368. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-22cf00e7.js → p-fe497e4a.js} +1 -1
  370. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  371. package/dist/types/components.d.ts +62 -62
  372. package/package.json +1 -1
  373. package/readme.md +1 -1
  374. package/dist/cjs/academic-form-test.cjs.entry.js +0 -82
  375. package/dist/cjs/component-06dda623.js +0 -4665
  376. package/dist/cjs/component-5b5b6a98.js +0 -1819
  377. package/dist/cjs/icon-asset_14.cjs.entry.js +0 -1982
  378. package/dist/cjs/ptc-data-lookup.cjs.entry.js +0 -675
  379. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +0 -4476
  380. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  381. package/dist/esm/academic-form-test.entry.js +0 -78
  382. package/dist/esm/component-274da230.js +0 -4663
  383. package/dist/esm/component-341e4eaa.js +0 -1802
  384. package/dist/esm/icon-asset_14.entry.js +0 -1965
  385. package/dist/esm/ptc-data-lookup.entry.js +0 -671
  386. package/dist/esm/ptc-form-checkbox_2.entry.js +0 -4471
  387. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  388. package/dist/ptcw-design/p-068b64a1.entry.js +0 -1
  389. package/dist/ptcw-design/p-0824f503.entry.js +0 -1
  390. package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
  391. package/dist/ptcw-design/p-1b3394a7.entry.js +0 -1
  392. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  393. package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
  394. package/dist/ptcw-design/p-2f82de8f.entry.js +0 -1
  395. package/dist/ptcw-design/p-32bbcb5a.entry.js +0 -1
  396. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  397. package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
  398. package/dist/ptcw-design/p-53e214a6.entry.js +0 -1
  399. package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
  400. package/dist/ptcw-design/p-7815e38b.entry.js +0 -1
  401. package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
  402. package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
  403. package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
  404. package/dist/ptcw-design/p-87a9a028.entry.js +0 -1
  405. package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
  406. package/dist/ptcw-design/p-89da867f.entry.js +0 -1
  407. package/dist/ptcw-design/p-9461c4eb.entry.js +0 -1
  408. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  409. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  410. package/dist/ptcw-design/p-bdb2e42c.entry.js +0 -1
  411. package/dist/ptcw-design/p-be533f0d.js +0 -134
  412. package/dist/ptcw-design/p-bf15988f.entry.js +0 -68
  413. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  414. package/dist/ptcw-design/p-c33fd408.entry.js +0 -1
  415. package/dist/ptcw-design/p-c389eb7d.entry.js +0 -1
  416. package/dist/ptcw-design/p-d428ba40.entry.js +0 -1
  417. package/dist/ptcw-design/p-d8c1a14a.entry.js +0 -1
  418. package/dist/ptcw-design/p-e1373325.entry.js +0 -1
  419. package/dist/ptcw-design/p-e51bb274.entry.js +0 -1
  420. package/dist/ptcw-design/p-eabf87be.entry.js +0 -1
  421. package/dist/ptcw-design/p-edaf241d.entry.js +0 -1
  422. package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
@@ -1,1982 +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-0ff09a53.js');
7
-
8
- 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.disabled.sc-icon-asset{fill:var(--color-gray-03)}svg.disabled.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.disabled.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.disabled.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-03)}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}";
9
-
10
- const IconAsset = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.ready = index.createEvent(this, "ready", 7);
14
- this.regularSprite = index.getAssetPath("./media/regular.svg");
15
- this.solidSprite = index.getAssetPath("./media/solid.svg");
16
- this.brandSprite = index.getAssetPath("./media/brands.svg");
17
- this.ptcSprite = index.getAssetPath("./media/designer-v6.0.7.svg");
18
- this.name = undefined;
19
- this.size = "xx-small";
20
- this.type = "regular";
21
- this.spin = "";
22
- this.pulse = "";
23
- this.color = "default";
24
- this.isMobileSelect = undefined;
25
- this.injectedStyle = undefined;
26
- this.focusOn = false;
27
- this.trackerId = "";
28
- }
29
- componentDidLoad() {
30
- this.ready.emit({
31
- "regular-icons": this.regularSprite,
32
- "sold-icons": this.solidSprite,
33
- "brand-icons": this.brandSprite,
34
- "ptc-icons": this.ptcSprite,
35
- });
36
- }
37
- render() {
38
- const classMap = this.getCssClassMap();
39
- if (this.type == "brands") {
40
- 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}` }))));
41
- }
42
- else if (this.type == "solid") {
43
- 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}` }))));
44
- }
45
- else if (this.type == "ptc") {
46
- 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}` }))));
47
- }
48
- else {
49
- 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}` }))));
50
- }
51
- }
52
- getCssClassMap() {
53
- return {
54
- [this.size]: true,
55
- [this.spin]: true,
56
- [this.pulse]: true,
57
- [this.color]: true,
58
- ["ismobileselect"]: this.isMobileSelect ? true : false,
59
- ["mf-listen"]: this.trackerId !== "" ? true : false,
60
- };
61
- }
62
- static get assetsDirs() { return ["media"]; }
63
- };
64
- IconAsset.style = iconAssetCss;
65
-
66
- 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;-webkit-text-decoration:underline 1px solid;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(.list-underline) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
67
-
68
- const ListItem = class {
69
- constructor(hostRef) {
70
- index.registerInstance(this, hostRef);
71
- this.listType = "list-primary";
72
- this.linkHref = undefined;
73
- this.flushBefore = false;
74
- this.linkTarget = "_self";
75
- this.hasBeforeHomeIcon = false;
76
- this.trackerId = undefined;
77
- this.color = undefined;
78
- this.styles = undefined;
79
- this.ariaLabel = "";
80
- }
81
- render() {
82
- const classMap = this.getCssClassMap();
83
- 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 !== ""
84
- ? { "aria-label": this.ariaLabel }
85
- : {}), { tabindex: "0" }), index.h("slot", null))) : (index.h("slot", null)))));
86
- }
87
- getCssClassMap() {
88
- let bcEnable = false;
89
- if (this.hostElement && this.hostElement.parentElement) {
90
- try {
91
- bcEnable =
92
- this.hostElement.parentElement.classList.contains("center") &&
93
- this.hostElement.parentElement.tagName === "PTC-BREADCRUMB";
94
- }
95
- catch (err) {
96
- console.log(err);
97
- }
98
- }
99
- return {
100
- [this.listType]: true,
101
- ["flush-before"]: this.flushBefore ? true : false,
102
- [this.color]: !!this.color ? true : false,
103
- ["breadcrumb-center"]: bcEnable,
104
- ["mf-listen"]: true,
105
- };
106
- }
107
- get hostElement() { return index.getElement(this); }
108
- };
109
- ListItem.style = listItemCss;
110
-
111
- const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
112
-
113
- const MaxWidthContainer = class {
114
- constructor(hostRef) {
115
- index.registerInstance(this, hostRef);
116
- this.maxWidthP = undefined;
117
- this.maxWidth = undefined;
118
- this.breakpoint = 768;
119
- this.contentAlign = "center";
120
- this.styles = undefined;
121
- }
122
- componentDidLoad() {
123
- this.handleResize();
124
- window.addEventListener("resize", this.handleResize.bind(this));
125
- }
126
- disconnectedCallback() {
127
- window.removeEventListener("resize", this.handleResize);
128
- }
129
- render() {
130
- const classMap = this.getCssClassMap();
131
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("slot", null)));
132
- }
133
- getCssClassMap() {
134
- return {
135
- [this.contentAlign]: true,
136
- };
137
- }
138
- handleResize() {
139
- // const selectedContainer = this.el.querySelector('.max-width-container');
140
- if (this.el) {
141
- if (window.innerWidth >= this.breakpoint) {
142
- if (this.maxWidthP) {
143
- this.el.style.maxWidth = `${this.maxWidthP}%`;
144
- }
145
- else {
146
- this.el.style.maxWidth = `${this.maxWidth}px`;
147
- }
148
- }
149
- else {
150
- this.el.style.maxWidth = "initial";
151
- }
152
- }
153
- }
154
- get el() { return index.getElement(this); }
155
- };
156
- MaxWidthContainer.style = maxWidthContainerCss;
157
-
158
- const ptcBackgroundVideoCss = "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;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;-o-object-fit:cover;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{-o-object-fit:cover;object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}:host{display:block;position:relative}:host .media{position:absolute;inset:0;overflow:hidden}:host .background-video,:host .bg-fallback{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}:host .bg-fallback{display:block}";
159
-
160
- const PtcBackgroundVideo = class {
161
- constructor(hostRef) {
162
- index.registerInstance(this, hostRef);
163
- /** Ensure the first frame is painted and paused. */
164
- this.showFirstFrame = (v) => {
165
- v.preload = "auto";
166
- v.removeAttribute("autoplay");
167
- v.loop = false;
168
- const paint = () => {
169
- try {
170
- //v.currentTime = 0;
171
- // If a browser still paints black, try this tiny nudge:
172
- v.currentTime = 0.1;
173
- }
174
- catch (_a) { }
175
- v.pause();
176
- };
177
- if (v.readyState >= 2 /* HAVE_CURRENT_DATA, have enough data */) {
178
- paint();
179
- }
180
- else {
181
- const onLoaded = () => {
182
- v.removeEventListener("loadeddata", onLoaded);
183
- paint();
184
- };
185
- v.addEventListener("loadeddata", onLoaded, { once: true });
186
- v.load();
187
- }
188
- };
189
- this.videoSrc = undefined;
190
- this.posterSrc = undefined;
191
- this.overlay = true;
192
- this.overlayType = "standard";
193
- this.playButtonTitle = undefined;
194
- this.pauseButtonTitle = undefined;
195
- this.buttonLocation = "bottom-right";
196
- this.buttonTabIndex = 0;
197
- this.trackerId = undefined;
198
- this.defer = undefined;
199
- this.type = "default";
200
- this.isIframe = false;
201
- this.paused = undefined;
202
- this.loadedTrue = false;
203
- this.reducedMotion = false;
204
- }
205
- componentWillLoad() {
206
- this.paused = false;
207
- this.reducedMotion = utils.isReducedMotion();
208
- }
209
- componentDidLoad() {
210
- const afterMount = () => {
211
- this.loadedTrue = true;
212
- this.syncPlaybackWithPreference();
213
- };
214
- if (this.defer) {
215
- utils.nextUserInteractionEvent(this).then(afterMount);
216
- }
217
- else {
218
- afterMount();
219
- }
220
- this.offMotionListener = utils.onReducedMotionChange((reduced) => {
221
- this.reducedMotion = reduced;
222
- // Wait a tick for render to reflect state, then sync playback.
223
- setTimeout(() => this.syncPlaybackWithPreference(), 0);
224
- });
225
- }
226
- disconnectedCallback() {
227
- var _a;
228
- (_a = this.offMotionListener) === null || _a === void 0 ? void 0 : _a.call(this);
229
- }
230
- syncPlaybackWithPreference() {
231
- if (this.isIframe) {
232
- return;
233
- }
234
- const v = this.videoEl;
235
- if (!v)
236
- return;
237
- if (this.reducedMotion) {
238
- // Animations OFF, freeze first frame
239
- this.showFirstFrame(v);
240
- this.paused = true; //sync icon state
241
- }
242
- else {
243
- // Animations ON, autoplay unless user paused
244
- v.preload = "auto";
245
- v.loop = true;
246
- if (!this.paused) {
247
- v.setAttribute("autoplay", "");
248
- v.play().catch(() => { });
249
- this.paused = false; //sync icon state
250
- }
251
- else {
252
- v.pause();
253
- this.paused = true; //sync icon state
254
- }
255
- }
256
- }
257
- // ------------ Render ------------
258
- render() {
259
- const canMountMedia = this.loadedTrue;
260
- const videoNode = !this.isIframe && canMountMedia && (index.h("video", { class: "background-video", src: this.videoSrc, muted: true, playsinline: true, autoplay: !this.reducedMotion && !this.paused, loop: !this.reducedMotion, preload: "auto", "aria-hidden": "true", tabindex: "-1", ref: (el) => (this.videoEl = el) }));
261
- const iframeNode = this.isIframe && canMountMedia && (index.h("div", { class: "iframe-wrapper" }, index.h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed", "aria-hidden": "true", tabindex: "-1" })));
262
- return (index.h(index.Host, { class: this.type }, index.h("div", { class: "media" }, videoNode, iframeNode), !!this.videoSrc && this.playButtonTitle && (index.h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (index.h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
263
- ? "side-left"
264
- : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h("button", { class: "bg-svg-play", type: "button", tabindex: this.buttonTabIndex, onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (index.h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
265
- ? "side-left"
266
- : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? index.h("div", { class: `video-overlay ${this.overlayType}` }) : "", this.type === "default" ? index.h("slot", null) : ""));
267
- }
268
- toggleVideoPlay(e) {
269
- e.preventDefault();
270
- this.paused = !this.paused;
271
- const v = this.videoEl;
272
- if (!v)
273
- return;
274
- if (this.paused) {
275
- v.pause();
276
- }
277
- else {
278
- v.loop = true;
279
- if (!this.reducedMotion)
280
- v.setAttribute("autoplay", "");
281
- v.play().catch((z) => console.error(z));
282
- }
283
- }
284
- async pauseVideo() {
285
- var _a;
286
- this.paused = true;
287
- (_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.pause();
288
- }
289
- async playVideo() {
290
- this.paused = false;
291
- if (this.videoEl) {
292
- this.videoEl.loop = true;
293
- if (!this.reducedMotion)
294
- this.videoEl.setAttribute("autoplay", "");
295
- this.videoEl.play().catch((z) => console.error(z));
296
- }
297
- }
298
- get el() { return index.getElement(this); }
299
- };
300
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
301
-
302
- 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}";
303
-
304
- const PtcBreadcrumb = class {
305
- constructor(hostRef) {
306
- index.registerInstance(this, hostRef);
307
- this.position = undefined;
308
- this.removeTopMargin = false;
309
- this.color = "white";
310
- this.isDarkMode = false;
311
- this.styles = undefined;
312
- this.type = undefined;
313
- }
314
- componentWillLoad() {
315
- this.listItems = this.hostElement.querySelectorAll("list-item");
316
- }
317
- componentDidLoad() {
318
- if (this.listItems) {
319
- this.hostElement.querySelectorAll("list-item").forEach((item) => {
320
- item.remove();
321
- });
322
- }
323
- }
324
- render() {
325
- const classMap = this.getCssClassMap();
326
- //const childListItems: any = this.listItems[0].getAttribute("list-type") === "home" && this.listItems[0].getAttribute("link-href") !== "" ? Array.from(this.listItems).slice(1) : this.listItems;
327
- const childListItems = Array.from(this.listItems).filter((item) => item.getAttribute("list-type") === "home" && this.listItems[0].getAttribute("link-href") !== "");
328
- const hasChildListItems = childListItems.length > 0;
329
- // Remove childListItems from listItems if any exist
330
- const filteredArray = hasChildListItems ? Array.from(this.listItems).filter((item) => !childListItems.includes(item)) : Array.from(this.listItems);
331
- 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" }, hasChildListItems ? (index.h("a", { href: childListItems[0].getAttribute("link-href"), "aria-label": "Home Link", class: {
332
- ["breadcrumb-item-link"]: true,
333
- ["dark-mode-link"]: this.isDarkMode,
334
- } }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color })))
335
- : (index.h("a", { href: "/", "aria-label": "Home Link", class: {
336
- ["breadcrumb-item-link"]: true,
337
- ["dark-mode-link"]: this.isDarkMode,
338
- } }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color })))), filteredArray.map((item, index$1, array) => {
339
- const textContent = item.textContent.trim();
340
- const href = item.getAttribute("link-href");
341
- 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: {
342
- ["breadcrumb-item-link"]: true,
343
- ["dark-mode-link"]: this.isDarkMode,
344
- } }, textContent)) : (textContent), index.h("span", { class: "visually-hidden" }, "/")));
345
- })))));
346
- }
347
- getCssClassMap() {
348
- return {
349
- [this.position]: !!this.position && this.position !== undefined ? true : false,
350
- ["remove-top-margin"]: this.removeTopMargin ? true : false,
351
- [this.color]: true,
352
- };
353
- }
354
- get hostElement() { return index.getElement(this); }
355
- };
356
- PtcBreadcrumb.style = ptcBreadcrumbCss;
357
-
358
- 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)}.nav-store-btn{font-family:var(--ptc-font-latin);background-color:var(--color-green-07);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-green-07);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-store-btn:focus-visible{border-radius:4px !important;border:2px solid #fff !important;outline:5px solid #003dd6 !important;background-color:var(--color-green-07) !important;outline-offset:0px !important}.nav-store-btn:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav-store-btn:hover{background-color:var(--color-green-08)}.nav-store-btn:active{background-color:var(--color-green-09);transition:none}.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)}.secondary-cta-light,.secondary-cta-dark,.primary-cta{padding:0.875rem 1.25rem;font-size:var(--ptc-font-size-small);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);color:var(--color-white);border:2px solid transparent;text-decoration:none}.medium.secondary-cta-light,.medium.secondary-cta-dark,.medium.primary-cta{padding:0.75rem 1rem}.medium.secondary-cta-light span,.medium.secondary-cta-dark span,.medium.primary-cta span{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold)}.small.secondary-cta-light,.small.secondary-cta-dark,.small.primary-cta{padding:0.5rem 0.75rem}.small.secondary-cta-light span,.small.secondary-cta-dark span,.small.primary-cta span{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold)}.disabled.secondary-cta-light,.disabled.secondary-cta-dark,.disabled.primary-cta{pointer-events:none;color:var(--color-gray-03);border-color:var(--color-gray-03);background-color:var(--color-gray-02)}.disabled.secondary-cta-light icon-asset svg,.disabled.secondary-cta-dark icon-asset svg,.disabled.primary-cta icon-asset svg{fill:var(--color-gray-03)}.disabled.secondary-cta-light:focus-visible,.disabled.secondary-cta-dark:focus-visible,.disabled.primary-cta:focus-visible{background-color:var(--color-gray-02)}.secondary-cta-light:focus-visible,.secondary-cta-dark:focus-visible,.primary-cta:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.full-width.secondary-cta-light,.full-width.secondary-cta-dark,.full-width.primary-cta{width:100%}.secondary-cta-light .cta-content-wrap,.secondary-cta-dark .cta-content-wrap,.primary-cta .cta-content-wrap{display:flex;justify-content:center;align-items:center;text-align:center}.secondary-cta-light .cta-content-wrap icon-asset,.secondary-cta-dark .cta-content-wrap icon-asset,.primary-cta .cta-content-wrap icon-asset{margin-right:8px;line-height:0}.secondary-cta-light .cta-content-wrap icon-asset+span,.secondary-cta-dark .cta-content-wrap icon-asset+span,.primary-cta .cta-content-wrap icon-asset+span{text-align:left}.primary-cta{background-color:var(--color-green-07);border-color:var(--color-green-07);transition:all 0.2s ease}.primary-cta:hover{background-color:var(--color-green-08)}.primary-cta:active{background-color:var(--color-green-09)}.primary-cta:focus-visible{background-color:var(--color-green-07)}.secondary-cta-dark{background-color:var(--color-gray-12);border-color:var(--color-gray-08)}.secondary-cta-dark:hover{background-color:var(--color-gray-10)}.secondary-cta-dark:active{background-color:var(--color-black)}.secondary-cta-dark:focus-visible{background-color:var(--color-gray-12)}.secondary-cta-light{background-color:var(--color-white);border-color:var(--color-gray-10);color:var(--color-gray-10)}.secondary-cta-light:hover{background-color:var(--color-gray-02)}.secondary-cta-light:active{background-color:var(--color-gray-03)}.secondary-cta-light:focus-visible{background-color:var(--color-white)}";
359
-
360
- const PtcButton = class {
361
- constructor(hostRef) {
362
- index.registerInstance(this, hostRef);
363
- this.clickEvent = index.createEvent(this, "clickEvent", 7);
364
- this.disabled = false;
365
- this.active = false;
366
- this.type = "button";
367
- this.color = "ptc-primary";
368
- this.iconAnimation = "";
369
- this.iconPosition = "icon-right";
370
- this.linkHref = undefined;
371
- this.linkTitle = undefined;
372
- this.target = "_self";
373
- this.rel = undefined;
374
- this.tabNav = 0;
375
- this.styles = undefined;
376
- this.textAlign = undefined;
377
- this.enableAccessibilityAltStyle = false;
378
- this.size = undefined;
379
- this.buttonTitle = undefined;
380
- this.ariaLabel = "";
381
- this.seoCompatibilityMode = false;
382
- this.maintainContent = false;
383
- this.trackerId = undefined;
384
- this.darkFocusState = false;
385
- this.ctaWidth = "default";
386
- }
387
- clickEventHandler() {
388
- this.clickEvent.emit();
389
- }
390
- componentWillLoad() {
391
- utils.CheckDarkFocusState(this, this.el);
392
- }
393
- seoCompRender() {
394
- const classMap = this.getCssClassMap();
395
- const Tag = !!this.linkHref ? "a" : "button";
396
- const [TagType, firstChild] = utils.getSeoTagType(this.el, Tag);
397
- const html = firstChild && firstChild.innerHTML;
398
- if (this.el == firstChild) {
399
- this.el.innerHTML = "";
400
- }
401
- if (this.maintainContent) {
402
- this.el.innerHTML = html;
403
- }
404
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", Object.assign({ id: this.trackerId, class: "tracker-div mf-listen" }, (this.ctaWidth === "full-width"
405
- ? { style: { display: "block" } }
406
- : {})), 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
407
- ? { target: this.target }
408
- : {}), (!!this.rel && !!this.linkHref
409
- ? { rel: this.rel }
410
- : {}), (!!this.linkHref
411
- ? {
412
- title: this.linkTitle
413
- ? this.linkTitle
414
- : this.linkHref,
415
- }
416
- : {}), (!!this.tabNav
417
- ? { tabindex: -1 }
418
- : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== ""
419
- ? { ariaLabel: this.ariaLabel }
420
- : {})), index.h("span", { innerHTML: html, class: "cta-content-wrap" }, index.h("slot", { name: "slot-before-text" }), index.h("slot", { name: "slot-after-text" }))))));
421
- }
422
- standardRender() {
423
- const classMap = this.getCssClassMap();
424
- const Tag = !!this.linkHref ? "a" : "button";
425
- 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
426
- ? { target: this.target }
427
- : {}), (!!this.rel && !!this.linkHref
428
- ? { rel: this.rel }
429
- : {}), (!!this.linkHref
430
- ? {
431
- title: this.linkTitle
432
- ? this.linkTitle
433
- : this.linkHref,
434
- }
435
- : {}), (!!this.tabNav
436
- ? { tabindex: -1 }
437
- : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== ""
438
- ? { ariaLabel: this.ariaLabel }
439
- : {})), this.iconAnimation == "reveal-down" ? (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" }))))) : (index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))))));
440
- }
441
- render() {
442
- if (this.seoCompatibilityMode) {
443
- return this.seoCompRender();
444
- }
445
- else {
446
- return this.standardRender();
447
- }
448
- }
449
- getCssClassMap() {
450
- return {
451
- [this.color]: true,
452
- [this.iconAnimation]: true,
453
- [this.iconPosition]: true,
454
- ["disabled"]: this.disabled ? true : false,
455
- ["active"]: this.active ? true : false,
456
- [this.textAlign]: true,
457
- [this.size]: true,
458
- ["acc-alt-style"]: this.enableAccessibilityAltStyle,
459
- ["focus-state-dark-background"]: this.darkFocusState,
460
- [this.ctaWidth]: true,
461
- };
462
- }
463
- get el() { return index.getElement(this); }
464
- };
465
- PtcButton.style = ptcButtonCss;
466
-
467
- let ResponsiveBgVariables = {
468
- envs: ['xs', 'sm', 'md', 'lg'],
469
- selector: '.ptc-img',
470
- interval: 250
471
- };
472
- let ResponsivePictureVariables = {
473
- envs: ['xs', 'sm', 'md', 'lg'],
474
- selector: '.ptc-picture',
475
- interval: 250
476
- };
477
-
478
- 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}}";
479
-
480
- const PtcImg = class {
481
- constructor(hostRef) {
482
- index.registerInstance(this, hostRef);
483
- this.sizeXs = "510x340";
484
- this.sizeSm = "1240x496";
485
- this.sizeMd = "1366x500";
486
- this.sizeLg = "1920x1080";
487
- this.imgUrl = undefined;
488
- this.imageType = "smart-bg";
489
- this.borderRadius = "";
490
- this.loadMode = "lazy-bg";
491
- this.styles = undefined;
492
- }
493
- /**
494
- * Image Z Index
495
- */
496
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
497
- WindowResize() {
498
- this.setResponsiveBg();
499
- }
500
- render() {
501
- const classMap = this.getCssClassMap();
502
- 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)));
503
- }
504
- componentDidLoad() {
505
- this.addIntersectionObserver();
506
- this.setResponsiveBg();
507
- }
508
- componentWillUpdate() {
509
- this.addIntersectionObserver();
510
- this.setResponsiveBg();
511
- }
512
- //responsive image
513
- setResponsiveBg() {
514
- // Define local variables
515
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
516
- // Loop through all target elements
517
- for (var i = 0, len = backgrounds.length; i < len; i++) {
518
- // Set current variables
519
- el = backgrounds[i];
520
- elData = el.getAttribute("data-" + currentBreakpoint);
521
- // If the data attribute exists, set the background
522
- if (elData !== null) {
523
- el.style.backgroundImage = "url('" + elData + "')";
524
- }
525
- else {
526
- if (typeof console == "object") {
527
- console.warn("Data attribute: data-" +
528
- currentBreakpoint +
529
- " not found on element:\n\n" +
530
- el.outerHTML +
531
- "\n\n\n");
532
- }
533
- }
534
- }
535
- }
536
- //lazy loading
537
- addIntersectionObserver() {
538
- if (!this.imgUrl) {
539
- return;
540
- }
541
- if ("IntersectionObserver" in window) {
542
- let lazyLoadBgs = (this.el || document).querySelectorAll(".lazy-bg");
543
- let bgObserver = new IntersectionObserver((entries) => {
544
- entries.forEach((entry) => {
545
- if (entry.isIntersecting) {
546
- const image = entry.target;
547
- image.classList.remove("lazy-bg");
548
- bgObserver.unobserve(image);
549
- }
550
- });
551
- });
552
- lazyLoadBgs.forEach((image) => {
553
- bgObserver.observe(image);
554
- });
555
- }
556
- }
557
- getCssClassMap() {
558
- return {
559
- [this.imageType]: true,
560
- "ptc-img": true,
561
- [this.borderRadius]: true,
562
- [this.loadMode]: true,
563
- // [this.imageZIndex] : true
564
- };
565
- }
566
- getCurrentBreakPoints() {
567
- // Define local variables
568
- let doc = window.document, temp = doc.createElement("div"), env;
569
- // Append test node
570
- doc.body.appendChild(temp);
571
- // Loop through breakpoints
572
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
573
- env = ResponsiveBgVariables.envs[i];
574
- // Add classes
575
- temp.className = "hidden-" + env;
576
- // Found breakpoint
577
- if (temp.offsetParent === null) {
578
- // Remove our test node
579
- doc.body.removeChild(temp);
580
- // Return current breakpoint
581
- return env;
582
- }
583
- }
584
- // Breakpoint not found, try fallback
585
- doc.body.removeChild(temp);
586
- return this.getFallbackBreakpoint();
587
- }
588
- getFallbackBreakpoint() {
589
- if (window.matchMedia("(min-width: 992px)").matches) {
590
- return "lg";
591
- }
592
- else if (window.matchMedia("(min-width: 768px)").matches) {
593
- return "md";
594
- }
595
- else if (window.matchMedia("(min-width: 576px)").matches) {
596
- return "sm";
597
- }
598
- else {
599
- return "xs";
600
- }
601
- }
602
- get el() { return index.getElement(this); }
603
- };
604
- PtcImg.style = ptcImgCss;
605
-
606
- const ptcJumbotronCss = "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}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-margin-xxxl{margin:var(--ptc-element-spacing-07) !important}.u-marginTop-xxxl{margin-top:var(--ptc-element-spacing-07) !important}.u-marginLeft-xxxl{margin-left:var(--ptc-element-spacing-07) !important}.u-marginRight-xxxl{margin-right:var(--ptc-element-spacing-07) !important}.u-marginBottom-xxxl{margin-bottom:var(--ptc-element-spacing-07) !important}.u-margin-4xl{margin:var(--ptc-element-spacing-08) !important}.u-marginTop-4xl{margin-top:var(--ptc-element-spacing-08) !important}.u-marginLeft-4xl{margin-left:var(--ptc-element-spacing-08) !important}.u-marginRight-4xl{margin-right:var(--ptc-element-spacing-08) !important}.u-marginBottom-4xl{margin-bottom:var(--ptc-element-spacing-08) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-medium{font-weight:var(--ptc-font-weight-medium)}.u-text-semibold{font-weight:var(--ptc-font-weight-semibold)}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.u-background-white{background-color:var(--color-white)}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}.u-border-radius-standard{border-radius:var(--ptc-border-radius-standard)}.u-border-radius-large{border-radius:var(--ptc-border-radius-large)}.u-border-radius-pill{border-radius:var(--ptc-border-radius-pill)}.u-border-radius-circle{border-radius:var(--ptc-border-radius-circle)}.u-border-none{border:none}.u-shadow-x-small{box-shadow:var(--ptc-shadow-x-small)}.u-shadow-small{box-shadow:var(--ptc-shadow-small)}.u-shadow-medium{box-shadow:var(--ptc-shadow-medium)}.u-shadow-large{box-shadow:var(--ptc-shadow-large)}.u-shadow-x-large{box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}@media only screen and (min-width: 992px){.grid-order-1-lg{order:1}.grid-order-2-lg{order:2}.grid-order-3-lg{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.h-100{height:100%}.w-100{width:100%}.grid-large-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{-moz-column-gap:3rem;column-gap:3rem}}.grid-large-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{-moz-column-gap:3rem;column-gap:3rem}}.grid-x-large-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{-moz-column-gap:4rem;column-gap:4rem}}.grid-x-large-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{-moz-column-gap:4rem;column-gap:4rem}}.grid-medium-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{-moz-column-gap:2rem;column-gap:2rem}}.grid-medium-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{-moz-column-gap:2rem;column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:3rem;padding-bottom:3rem}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.ptc-section-large{padding-top:2.25rem;padding-bottom:2.25rem}@media only screen and (min-width: 992px){.ptc-section-large{padding-top:3.5rem;padding-bottom:3.5rem}}.ptc-section-hp{padding-bottom:calc(2.25rem - 32px)}@media only screen and (min-width: 992px){.ptc-section-hp{padding-bottom:calc(3.5rem - 32px)}}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.flex-align-items-center{align-items:center}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.u-align-self-start{align-self:start}.u-align-self-center{align-self:center}.u-align-self-stretch{align-self:stretch}.u-justify-self-start{justify-self:start}.u-justify-self-center{justify-self:center}.u-justify-self-stretch{justify-self:stretch}.u-flex-justify-center{justify-content:center}.u-flex-justify-flexend{justify-content:flex-end}.u-section-heading-wrapper{max-width:768px;margin-left:auto;margin-right:auto}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.u-justify-space-between{justify-content:space-between}.all-product-banner{padding:50px 0 44px 0px}@media only screen and (min-width: 992px){.all-product-banner{padding:50px 0 72px 0px;display:flex;min-height:300px;justify-content:center;align-items:center}}.all-product-gradient{background:linear-gradient(180deg, #f3f3f3 2.6%, rgba(225, 241, 226, 0.2) 40.63%, #f3f3f3 82.29%), linear-gradient(0deg, #f3f3f3, #f3f3f3)}.menu-right ptc-nav-submenu{position:relative}.media-thumb-feature{display:block}@media only screen and (min-width: 992px){.media-thumb-feature{display:flex;justify-content:space-between}}.media-thumb-feature .media-thumb{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-thumb{width:340px;flex:0 0 340px}}.media-thumb-feature .media-thumb>ptc-picture:not(:last-of-type),.media-thumb-feature .media-thumb>img:not(:last-of-type){margin-bottom:1.5rem}.media-thumb-feature .media-feature{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-feature{width:auto;flex:1 1 auto}}.partner-card-desc h5.description{font-family:var(--ptc-font-latin);color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-medium);margin:0 0 10px 0}.partner-card-desc .tags{margin-bottom:0.75rem}.partner-card-desc .tags .tag:not(:first-child){border-left:2px solid var(--color-green-07);padding:0 8px}.partner-card-desc .tags .tag:first-child{padding:0 8px 0 0}.partner-card-desc .tags .tag{color:var(--color-gray-10);display:inline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-loose);margin:0 0 10px 0;padding:0 8px}.u-3-col-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:1rem;grid-column-gap:1rem}.u-3-col-grid .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid .u-3-col{width:calc(50% - 10.66666666px)}}@media only screen and (min-width: 992px){.u-3-col-grid .u-3-col{width:calc(33.3333333333% - 10.66666666px)}}.u-3-col-grid.u-col-space-lg{grid-row-gap:2rem;grid-column-gap:2rem}.u-3-col-grid.u-col-space-lg .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(50% - 21.3333333px)}}@media only screen and (min-width: 992px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(33.3333333333% - 21.3333333px)}}.u-display-none{display:none}ptc-preloader-section.min-height{min-height:150vh}@media only screen and (min-width: 1200px){.ms-mobile-select{display:none}}.ms-mobile-select.ms-show{position:fixed}.light-font{color:var(--color-white)}.light-font *{color:var(--color-white)}ptc-nav-submenu{margin-top:6px;border-left:2px solid transparent;border-right:2px solid transparent;border-bottom:2px solid transparent}ptc-nav-submenu:focus-visible,ptc-nav-submenu:focus{margin-top:4px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}ptc-nav-link{margin-top:6px;border-left:2px solid transparent;border-right:2px solid transparent;border-bottom:2px solid transparent}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.white-links a{color:var(--color-white) !important}.ptc-link{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)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);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)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block}@media only screen and (min-width: 992px){:host(:not(.png-jumbotron):not(.text-jumbotron):not(.gif-jumbotron):not(.blog-jumbotron)) .content-container{padding-top:20px;padding-bottom:16px}}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:relative;z-index:1}.logo-frame{background-color:transparent;margin-top:24px;display:flex;width:152px;height:-moz-max-content;height:max-content}.logo-frame img{box-sizing:border-box;max-width:100%;height:100%;max-height:64.02px}.hp-adjustments{background-color:var(--color-black);height:auto;min-height:640px !important;max-height:-webkit-fill-available}@media (min-height: 640px){.hp-adjustments{min-height:72vh !important}}.hp-adjustments .div1{grid-area:1/1/3/2;min-height:300px}.hp-adjustments .div1.hidden{display:none}.hp-adjustments .div2{display:flex}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%) !important}@media only screen and (min-width: 992px){.hp-adjustments .div1{grid-area:1/1/2/2;min-height:unset}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(90deg, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%) !important}}.hp-adjustments .div1,.hp-adjustments .main-content-items{transition:opacity ease-out 250ms;opacity:1}.hp-adjustments.transitioning .div1,.hp-adjustments.transitioning .main-content-items{opacity:0}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#f3f3f3}.gif-bg img{width:100%;height:auto}@media only screen and (min-width: 768px){.gif-bg img{width:auto}}.video-ratio{position:relative;overflow:hidden;height:100%}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.content-layout.hp-container{width:100%;margin-top:120px;margin-bottom:120px}@media screen and (min-width: 768px) and (max-width: 992px){.content-layout.hp-container{max-width:720px;margin-left:unset;margin-top:160px;margin-bottom:160px}}@media only screen and (min-width: 1200px){.content-layout.hp-container{width:1136px}}@media only screen and (min-width: 1440px){.content-layout.hp-container{width:1200px}}.content-layout.hp-container .gap-adjustment{margin-bottom:unset}.content-layout.blog-container{padding-bottom:48px}@media only screen and (min-width: 768px){.content-layout.blog-container{padding-bottom:100px}}@media only screen and (min-width: 992px){.content-layout.blog-container{gap:43px;padding-top:75px}.content-layout.blog-container max-width-container{width:50%}.content-layout.blog-container div.desktop-media-image{width:50%}}.content-layout.blog-container .gap-adjustment{gap:var(--ptc-element-spacing-07);margin-bottom:unset}.gap-adjustment{gap:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-07)}@media only screen and (min-width: 992px){.gap-adjustment{gap:var(--ptc-element-spacing-07)}}.text-adjustment{justify-content:center}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3;display:none;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.desk-gif-adjustment{display:flex}}.desk-gif-adjustment img{width:100%}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}:host(.text-jumbotron) .parent{min-height:120px;padding:48px 0 24px 0}:host(.text-jumbotron) .parent .text-adjustment{margin-bottom:0;margin-top:20px}:host(.text-jumbotron) .parent .logo-frame{justify-self:center;justify-content:center}:host(.png-jumbotron) .desktop-media-image,:host(.png-jumbotron) .mobile-media-image{position:relative}:host(.png-jumbotron) .desktop-media-image .media-image-wrapper,:host(.png-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;width:100%;display:flex;align-items:center;justify-content:center}:host(.png-jumbotron) ::slotted(ptc-svg-btn){position:absolute;left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}@media only screen and (min-width: 992px){:host(.png-jumbotron) max-width-container{box-sizing:border-box;padding-right:2rem}}:host(.blog-jumbotron) #header-blog-author{display:flex;align-items:center;gap:12px;margin-bottom:var(--ptc-layout-spacing-04)}:host(.blog-jumbotron) #header-blog-author .image{width:48px;height:48px;border-radius:var(--ptc-border-radius-circle)}:host(.blog-jumbotron) #header-blog-author .image img{width:100%;height:100%;border-radius:var(--ptc-border-radius-circle);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}:host(.blog-jumbotron) .blog-author-name{color:inherit;text-decoration:none;font-size:inherit;font-weight:inherit;position:relative}:host(.blog-jumbotron) .blog-author-name:before{content:\"\";position:absolute;display:inline-block;width:100%;height:100%;padding:16px;margin:-16px}:host(.blog-jumbotron) .blog-author-name:hover{color:inherit;cursor:pointer;text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:var(--color-green-07);text-decoration-thickness:2px;text-underline-offset:4px}:host(.blog-jumbotron) .blog-author-name:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.blog-jumbotron) .image-container{background:white}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .image-container{display:none}}:host(.blog-jumbotron) .desktop-media-image,:host(.blog-jumbotron) .mobile-media-image{position:relative}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;max-height:360px;width:100%;display:flex;align-items:center;justify-content:center}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper ptc-picture,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper ptc-picture{width:100%;border-radius:var(--ptc-border-radius-standard)}:host(.blog-jumbotron) .desktop-media-image{display:none}:host(.blog-jumbotron) .desktop-media-image ptc-picture{height:100%;max-height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .desktop-media-image{display:flex;align-items:center}}:host(.blog-jumbotron) .mobile-media-image{margin:75px 24px 32px 24px;display:flex}:host(.blog-jumbotron) .mobile-media-image ptc-picture{height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .mobile-media-image{display:none}}.dl-img-wrap{position:relative;width:100%;height:100%}:host(.dark-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.dark-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn){left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}ptc-info-tile:focus-visible{outline:3px solid var(--color-blue-07);outline-offset:2px}:host(.light-video-jumbotron) .bg-overlay,:host(.light-jumbotron) .bg-overlay{border-bottom:1px solid rgba(0, 0, 0, 0.06);box-sizing:border-box}";
607
-
608
- const PtcJumbotron = class {
609
- constructor(hostRef) {
610
- index.registerInstance(this, hostRef);
611
- this.jumbotronType = "light";
612
- this.hasPopupVideo = false;
613
- this.mainTitle = "Lorem Ipsum Dolor Sit Amet Consectetur";
614
- this.subTitle = "Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet";
615
- this.pngSrc = undefined;
616
- this.pngImgStyles = "";
617
- this.gifSrc = undefined;
618
- this.bgVideoSrc = undefined;
619
- this.bgVideoPosterSrc = undefined;
620
- this.bgSrc = undefined;
621
- this.isIframe = false;
622
- this.isHomepage = false;
623
- this.playButtonTitle = undefined;
624
- this.pauseButtonTitle = undefined;
625
- this.buttonLocation = undefined;
626
- this.buttonTabIndex = 0;
627
- this.contentBackground = undefined;
628
- this.contentColor = undefined;
629
- this.textAlign = "left";
630
- this.isMobile = undefined;
631
- this.isTransitioning = undefined;
632
- this.blogAuthorImage = "";
633
- this.blogAuthorImageAlt = "";
634
- this.blogAuthorName = "";
635
- this.blogAuthorQueryHref = "";
636
- this.blogAuthorQueryTarget = "";
637
- this.hasCountdown = false;
638
- this.logo = "";
639
- this.styles = undefined;
640
- this.defer = undefined;
641
- this.hasCtaSlot = undefined;
642
- }
643
- componentWillLoad() {
644
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
645
- }
646
- handleResize() {
647
- this.getContentBackground();
648
- //this.adjustJumbotronHeight();
649
- }
650
- connectedCallback() {
651
- this.getContentBackground();
652
- }
653
- componentDidLoad() {
654
- //this.adjustJumbotronHeight();
655
- }
656
- componentDidUpdate() {
657
- this.getContentBackground();
658
- }
659
- render() {
660
- const classMap = this.getCssClassMap();
661
- let mediaElement;
662
- switch (this.jumbotronType) {
663
- case "png":
664
- mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? (index.h("slot", { name: "video" })) : null)));
665
- break;
666
- case "blog":
667
- mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" }))));
668
- break;
669
- case "gif":
670
- mediaElement = (index.h("div", { class: "mobile-media-image gif-bg" }, index.h("img", { src: this.gifSrc })));
671
- break;
672
- case "dark-video":
673
- case "light-video":
674
- mediaElement = (index.h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, " ", this.hasPopupVideo && this.isMobile ? (index.h("div", { class: "mobile-modal-play-btn" }, " ", index.h("slot", { name: "video" }))) : null));
675
- break;
676
- case "dark":
677
- case "light":
678
- mediaElement = (index.h("div", { class: "dl-img-wrap" }, index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (index.h("div", { class: "mobile-modal-play-btn" }, " ", index.h("slot", { name: "video" }))) : null));
679
- break;
680
- default:
681
- mediaElement = (index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }));
682
- }
683
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("div", { class: {
684
- parent: true,
685
- "light-links": this.jumbotronType === "dark" ||
686
- this.jumbotronType === "dark-video",
687
- "hp-adjustments": this.isHomepage,
688
- transitioning: this.isTransitioning,
689
- } }, index.h("div", { class: `div1 image-container ${this.jumbotronType === "text" ? "hidden" : ""}` }, mediaElement), index.h("div", { class: "div2 content-container" }, index.h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), index.h("div", { class: {
690
- "ptc-container": true,
691
- "content-layout": true,
692
- "hp-container": this.isHomepage,
693
- "blog-container": this.jumbotronType === "blog",
694
- } }, index.h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === "text"
695
- ? "center"
696
- : this.textAlign, styles: ":host{z-index: 999}" }, index.h("slot", { name: "breadcrumb" }), !!this.logo && (index.h("div", { class: "logo-frame" }, index.h("img", { alt: "Logo", src: this.logo }))), index.h("span", { class: "main-content-items" }, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("slot", { name: "main-title" }), index.h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== "text" ||
697
- (this.jumbotronType === "text" &&
698
- this.subTitle)) &&
699
- !this.isHomepage && (index.h("div", null, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (index.h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === "text" &&
700
- this.isMobile
701
- ? "x-small"
702
- : "small", "font-weight": "w-4", "para-margin": `${this.jumbotronType === "text" || this.jumbotronType === "blog" ? "margin-flush" : "margin-bottom-6"}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === "text"
703
- ? "center"
704
- : "left", "seo-compatibility-mode": true }, index.h("p", { innerHTML: this.subTitle, style: { margin: "0" } }), index.h("p", { style: { margin: "0" } }, index.h("slot", { name: "blog-date" })), this.jumbotronType === "blog" && (index.h("div", null, index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("div", { id: "header-blog-author", slot: "blog-author" }, index.h("div", { class: "image" }, index.h("img", { alt: this
705
- .blogAuthorImageAlt, src: this
706
- .blogAuthorImage })), index.h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, index.h("a", { class: "blog-author-name mf-listen", tabindex: "0", href: this
707
- .blogAuthorQueryHref, target: this
708
- .blogAuthorQueryTarget, "aria-label": "Other blogs by author" }, this
709
- .blogAuthorName))))))), this.hasCtaSlot && (index.h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === "text" ? " text-adjustment" : ""}` }, index.h("slot", { name: "j-cta" }))))), this.hasPopupVideo &&
710
- this.jumbotronType !== "png" ? (index.h("slot", { name: "video" })) : null, this.hasCountdown ? (index.h("slot", { name: "countdown" })) : null, this.jumbotronType === "png" ? (index.h("div", { class: "desktop-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? (index.h("slot", { name: "video" })) : null))) : null, this.jumbotronType === "gif" ? (index.h("div", { class: "desktop-media-image desk-gif-adjustment" }, index.h("img", { src: this.gifSrc }))) : null, this.jumbotronType === "blog" ? (index.h("div", { class: "desktop-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" })))) : null)))));
711
- }
712
- getCssClassMap() {
713
- return {
714
- // [this.imageZIndex] : true
715
- "text-jumbotron": this.jumbotronType === "text" ? true : false,
716
- "png-jumbotron": this.jumbotronType === "png" ? true : false,
717
- "blog-jumbotron": this.jumbotronType === "blog" ? true : false,
718
- "gif-jumbotron": this.jumbotronType === "gif" ? true : false,
719
- "dark-video-jumbotron light-links": this.jumbotronType === "dark-video" ? true : false,
720
- "light-video-jumbotron": this.jumbotronType === "light-video" ? true : false,
721
- "dark-jumbotron light-links": this.jumbotronType === "dark" ? true : false,
722
- "light-jumbotron": this.jumbotronType === "light" ? true : false,
723
- };
724
- }
725
- getContentBackground() {
726
- if (window.innerWidth < 992) {
727
- switch (this.jumbotronType) {
728
- case "light":
729
- case "light-video":
730
- case "png":
731
- this.contentBackground = "var(--color-white)";
732
- this.contentColor = "var(--color-gray-10)";
733
- break;
734
- case "dark":
735
- case "dark-video":
736
- this.contentBackground = "var(--color-gray-09)";
737
- this.contentColor = "var(--color-gray-01)";
738
- break;
739
- case "blog":
740
- this.contentBackground = "white";
741
- this.contentColor = "var(--color-gray-10)";
742
- break;
743
- default:
744
- this.contentBackground = "transparent";
745
- this.contentColor = "var(--color-gray-10)";
746
- }
747
- this.isMobile = true;
748
- }
749
- else {
750
- switch (this.jumbotronType) {
751
- case "light":
752
- case "light-video":
753
- case "png":
754
- this.contentBackground =
755
- "linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)";
756
- this.contentColor = "var(--color-gray-10)";
757
- break;
758
- case "dark":
759
- case "dark-video":
760
- this.contentBackground =
761
- "linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)";
762
- this.contentColor = "var(--color-gray-01)";
763
- break;
764
- case "gif":
765
- this.contentBackground = "#F3F3F3";
766
- this.contentColor = "var(--color-gray-10)";
767
- break;
768
- case "blog":
769
- this.contentBackground = "white";
770
- this.contentColor = "var(--color-gray-10)";
771
- break;
772
- default:
773
- this.contentBackground = "transparent";
774
- this.contentColor = "var(--color-gray-10)";
775
- }
776
- this.isMobile = false;
777
- }
778
- }
779
- get el() { return index.getElement(this); }
780
- };
781
- PtcJumbotron.style = ptcJumbotronCss;
782
-
783
- 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.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}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}}";
784
-
785
- const PtcPara = class {
786
- constructor(hostRef) {
787
- index.registerInstance(this, hostRef);
788
- this.fontSize = "x-small";
789
- this.fontWeight = "w-4";
790
- this.paraStyle = "default";
791
- this.paraColor = "primary-grey";
792
- this.paraLineH = "line-height-normal";
793
- this.paraMargin = undefined;
794
- this.paraAlign = undefined;
795
- this.ellipsisLineCutoff = undefined;
796
- this.paraZIndex = undefined;
797
- this.styles = undefined;
798
- this.seoCompatibilityMode = false;
799
- this.tooltipZIndex = "auto";
800
- this.tooltipPosition = "bottom";
801
- this.tooltipTheme = "standard";
802
- this.enableTooltip = false;
803
- this.maxChars = undefined;
804
- this.maxLines = undefined;
805
- this.hideTooltipOnMobile = false;
806
- this.ismob = undefined;
807
- this.noOverflow = false;
808
- this.tooltipWidth = "default";
809
- }
810
- // Tooltip Properties ends
811
- render() {
812
- if (this.seoCompatibilityMode) {
813
- utils.seoSlotReset(this.el);
814
- }
815
- return this.standardRender();
816
- }
817
- //tooltip code
818
- getSortedText(content) {
819
- if (!this.enableTooltip)
820
- return;
821
- const trimmedContent = content.trim();
822
- const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
823
- return shouldTruncate
824
- ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026`
825
- : trimmedContent;
826
- }
827
- componentDidLoad() {
828
- if (this.hideTooltipOnMobile) {
829
- this.el.classList.add("hide-tooltip-on-mobile");
830
- }
831
- this.el.addEventListener("mouseenter", () => {
832
- this.toggleTitleTooltip(true);
833
- });
834
- this.el.addEventListener("mouseleave", () => {
835
- this.toggleTitleTooltip(false);
836
- });
837
- if (this.enableTooltip) {
838
- let paraContent = this.el.innerText || this.el.textContent;
839
- this.tooltipText = paraContent.trim();
840
- this.el.innerText = this.getSortedText(paraContent);
841
- }
842
- }
843
- toggleTitleTooltip(show) {
844
- const tooltipClass = "tooltip-box";
845
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
846
- const text = this.el.shadowRoot.querySelectorAll(".line-clamp-title");
847
- let maxLinesShowCheck = false;
848
- if (text) {
849
- text.forEach((t) => {
850
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
851
- });
852
- }
853
- const ifCharExceeds = this.maxChars
854
- ? this.tooltipText.length > this.maxChars && !this.maxLines
855
- : false;
856
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
857
- if (show && this.enableTooltip) {
858
- if (((!existingTooltip && ifCharExceeds) ||
859
- (!existingTooltip && ifLinesExceeds)) &&
860
- !this.noOverflow) {
861
- const tooltipMarkup = document.createElement("div");
862
- tooltipMarkup.className = tooltipClass;
863
- tooltipMarkup.innerText = this.tooltipText;
864
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
865
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
866
- if (this.hideTooltipOnMobile) {
867
- tooltipMarkup.classList.add("hide-tooltip-mobile");
868
- }
869
- this.el.appendChild(tooltipMarkup);
870
- }
871
- }
872
- else {
873
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
874
- }
875
- }
876
- //tooltip code ends
877
- standardRender() {
878
- const classMap = this.getCssClassMap();
879
- const colorClass = this.addWhiteClass();
880
- const cutOff = this.getLineCuttoff();
881
- 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))));
882
- }
883
- getCssClassMap() {
884
- return {
885
- [this.fontSize]: true,
886
- [this.fontWeight]: true,
887
- [this.paraStyle]: true,
888
- [this.paraMargin]: !!this.paraMargin ? true : false,
889
- [this.paraColor]: true,
890
- [this.paraLineH]: true,
891
- [this.paraAlign]: !!this.paraAlign ? true : false,
892
- ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
893
- ["line-clamp-title"]: this.maxLines && this.maxLines > 0, //tooltip code,
894
- };
895
- }
896
- //WEB-2392
897
- addWhiteClass() {
898
- if (this.paraColor == "white") {
899
- return {
900
- [this.paraColor]: true,
901
- };
902
- }
903
- }
904
- getLineCuttoff() {
905
- const lineClamp = this.ellipsisLineCutoff > 0
906
- ? this.ellipsisLineCutoff
907
- : this.maxLines;
908
- return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
909
- }
910
- get el() { return index.getElement(this); }
911
- };
912
- PtcPara.style = ptcParaCss;
913
-
914
- const ptcPictureCss = "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;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{-o-object-fit:cover;object-fit:cover}.fill{-o-object-fit:fill;object-fit:fill}.contain{-o-object-fit:contain;object-fit:contain}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.none{-o-object-fit:none;object-fit:none}.initial{-o-object-fit:initial;object-fit:initial}.inherit{-o-object-fit:inherit;object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
915
-
916
- const PtcPicture = class {
917
- constructor(hostRef) {
918
- index.registerInstance(this, hostRef);
919
- this.src = undefined;
920
- this.alt = "image";
921
- this.sizeXs = "510x340";
922
- this.sizeSm = "1240x496";
923
- this.sizeMd = "1366x500";
924
- this.sizeLg = "1920x1080";
925
- this.disableResize = false;
926
- this.oldSrc = undefined;
927
- this.imagePosition = "static";
928
- this.borderRadius = undefined;
929
- this.height = undefined;
930
- this.width = undefined;
931
- this.objectFit = "cover";
932
- this.isFullHeight = false;
933
- this.isFullWidth = false;
934
- this.styles = undefined;
935
- this.imageAlignment = "left";
936
- this.maxWidth = undefined;
937
- this.displayImage = "block";
938
- }
939
- WindowResize() {
940
- this.addIntersectionObserver();
941
- }
942
- componentWillLoad() {
943
- if (this.disableResize) {
944
- this.sizeXs = undefined;
945
- this.sizeSm = undefined;
946
- this.sizeMd = undefined;
947
- this.sizeLg = undefined;
948
- }
949
- }
950
- componentDidLoad() {
951
- this.addIntersectionObserver();
952
- }
953
- componentWillUpdate() {
954
- if (this.src !== this.oldSrc) {
955
- this.addIntersectionObserver();
956
- }
957
- this.oldSrc = this.src;
958
- }
959
- //lazy-loading
960
- addIntersectionObserver() {
961
- if (!this.src) {
962
- return;
963
- }
964
- if ("IntersectionObserver" in window) {
965
- let lazyLoadImages = new IntersectionObserver((entries) => {
966
- entries.forEach((entry) => {
967
- if (entry.isIntersecting) {
968
- const image = this.el.shadowRoot.querySelector("img");
969
- image.src = this.setResponsiveBg();
970
- lazyLoadImages.unobserve(image);
971
- }
972
- });
973
- });
974
- let tempImg = this.el.shadowRoot.querySelector("img");
975
- if (tempImg) {
976
- lazyLoadImages.observe(tempImg);
977
- }
978
- this.observer = lazyLoadImages;
979
- }
980
- else {
981
- // fall back to setTimeout for Safari and IE
982
- setTimeout(() => {
983
- const image = this.el.shadowRoot.querySelector("img");
984
- image.src = this.setResponsiveBg();
985
- image.onload = () => {
986
- image.removeAttribute("data-src");
987
- };
988
- }, 5000);
989
- }
990
- }
991
- //responsive image
992
- setResponsiveBg() {
993
- // Define local variables
994
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll("img"), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
995
- for (var i = 0, len = backgrounds.length; i < len; i++) {
996
- // Set current variables
997
- el = backgrounds[i];
998
- elData = el.getAttribute("data-" + currentBreakpoint);
999
- if (elData !== null) {
1000
- return elData;
1001
- }
1002
- else {
1003
- if (typeof console == "object") {
1004
- console.warn("Data attribute: data-" +
1005
- currentBreakpoint +
1006
- " not found on element:\n\n" +
1007
- el.outerHTML +
1008
- "\n\n\n");
1009
- }
1010
- }
1011
- }
1012
- }
1013
- //manually load image
1014
- async LoadImage() {
1015
- const image = this.el.shadowRoot.querySelector("img");
1016
- if (!image) {
1017
- return;
1018
- }
1019
- if (!image.src) {
1020
- image.src = this.setResponsiveBg();
1021
- image.onload = () => {
1022
- image.removeAttribute("data-src");
1023
- };
1024
- }
1025
- if (this.observer) {
1026
- this.observer.unobserve(image);
1027
- }
1028
- }
1029
- render() {
1030
- const classMap = this.getCssClassMap();
1031
- const classMapHost = this.getCssClassMapHost();
1032
- return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth
1033
- ? { maxWidth: this.maxWidth + "px" }
1034
- : {})) })), index.h("slot", null)));
1035
- }
1036
- getCurrentBreakPoints() {
1037
- // Define local variables
1038
- let doc = window.document, temp = doc.createElement("div"), env;
1039
- // Append test node
1040
- doc.body.appendChild(temp);
1041
- // Loop through breakpoints
1042
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
1043
- env = ResponsivePictureVariables.envs[i];
1044
- // Add classes
1045
- temp.className = "hidden-" + env;
1046
- // Found breakpoint
1047
- if (temp.offsetParent === null) {
1048
- // Remove our test node
1049
- doc.body.removeChild(temp);
1050
- // Return current breakpoint
1051
- return env;
1052
- }
1053
- }
1054
- // Breakpoint not found, try fallback
1055
- doc.body.removeChild(temp);
1056
- return this.getFallbackBreakpoint();
1057
- }
1058
- getFallbackBreakpoint() {
1059
- if (window.matchMedia("(min-width: 992px)").matches) {
1060
- return "lg";
1061
- }
1062
- else if (window.matchMedia("(min-width: 768px)").matches) {
1063
- return "md";
1064
- }
1065
- else if (window.matchMedia("(min-width: 576px)").matches) {
1066
- return "sm";
1067
- }
1068
- else {
1069
- return "xs";
1070
- }
1071
- }
1072
- getCssClassMap() {
1073
- return {
1074
- [this.borderRadius]: this.borderRadius ? true : false,
1075
- [this.objectFit]: true,
1076
- [this.isFullHeight ? "is-full-height" : "is-normal-height"]: true,
1077
- [this.isFullWidth ? "is-full-width" : "is-normal-width"]: true,
1078
- [this.displayImage]: true,
1079
- };
1080
- }
1081
- getCssClassMapHost() {
1082
- return {
1083
- [this.imagePosition]: true,
1084
- [this.imageAlignment]: true,
1085
- };
1086
- }
1087
- get el() { return index.getElement(this); }
1088
- };
1089
- PtcPicture.style = ptcPictureCss;
1090
-
1091
- 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}}";
1092
-
1093
- const PtcSpacer = class {
1094
- constructor(hostRef) {
1095
- index.registerInstance(this, hostRef);
1096
- this.breakpoint = "";
1097
- this.size = "medium";
1098
- this.direction = "vertical";
1099
- }
1100
- render() {
1101
- const classMap = this.getCssClassMap();
1102
- return index.h(index.Host, { class: classMap });
1103
- }
1104
- getCssClassMap() {
1105
- return {
1106
- [this.size]: true,
1107
- ["ptc-spacer-horizontal"]: this.direction === "horizontal",
1108
- ["ptc-spacer-vertical"]: this.direction === "vertical",
1109
- ["ptc-spacer-xx-small"]: this.breakpoint === "xx-small",
1110
- ["ptc-spacer-x-small"]: this.breakpoint === "x-small",
1111
- ["ptc-spacer-small"]: this.breakpoint === "small",
1112
- ["ptc-spacer-medium"]: this.breakpoint === "medium",
1113
- ["ptc-spacer-large"]: this.breakpoint === "large",
1114
- ["ptc-spacer-x-large"]: this.breakpoint === "x-large",
1115
- ["ptc-spacer-xx-large"]: this.breakpoint === "xx-large",
1116
- ["ptc-spacer-xxx-large"]: this.breakpoint === "xxx-large",
1117
- };
1118
- }
1119
- };
1120
- PtcSpacer.style = ptcSpacerCss;
1121
-
1122
- const ptcSubnavV2Css = "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 .mobile-dropdown-container .mobile-dropdown-button,:host .subnav-menu-left .overflow-menu-container .overflow-button,:host .subnav-menu-left ul.desktop-menu li a{color:var(--color-gray-07);text-decoration:none;padding:8px 12px;text-align:center;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:18px;display:flex;align-items:center;position:relative;border-bottom:3px solid transparent;height:100%;box-sizing:border-box;transition:all 0.2s ease}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown{position:absolute;top:100%;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-large);z-index:1001;padding:14px 0;margin-top:-4px;max-width:312px;width:-moz-max-content;width:max-content}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item,:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{display:block;padding:10px 32px 10px 24px;color:var(--color-gray-07);text-decoration:none;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);transition:all 0.2s ease;position:relative;border:none}:host{position:relative;display:block;font-family:var(--ptc-font-latin);background-color:var(--color-standard-gray);box-shadow:var(--ptc-shadow-small);transition:all 0.3s ease-in-out}:host.sticky-transition{transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15)}:host .subnav-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:0 24px;margin:0 auto;max-width:1200px;gap:24px}@media only screen and (min-width: 768px){:host .subnav-container{flex-wrap:wrap;gap:48px}}@media only screen and (min-width: 1200px){:host .subnav-container{padding:0;max-width:1136px}}@media only screen and (min-width: 1440px){:host .subnav-container{padding:0;max-width:1200px}}:host .subnav-container.full-width{justify-content:flex-start}:host .subnav-menu-left{display:flex;align-items:center;flex:1;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left{justify-content:flex-start}}:host .subnav-menu-left ul.desktop-menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu{justify-content:flex-start;gap:32px}}:host .subnav-menu-left ul.desktop-menu li{display:inline-block;height:100%}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu li a{padding:20px 0 17px 0}}:host .subnav-menu-left ul.desktop-menu li a:hover{color:var(--color-gray-10)}:host .subnav-menu-left ul.desktop-menu li a.active{color:var(--color-gray-10);border-bottom:3px solid var(--color-green-07)}:host .subnav-menu-left ul.desktop-menu li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container{position:relative;display:none}@media only screen and (min-width: 768px){:host .subnav-menu-left .overflow-menu-container{display:inline-block}}:host .subnav-menu-left .overflow-menu-container .overflow-button{background:none;border:none;padding:20px 0 17px 0;cursor:pointer;justify-content:center;border-bottom:3px solid transparent;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button:hover{color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots{border-radius:2px;border:1px solid var(--color-gray-07);line-height:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover svg circle{fill:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded],:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active{border-bottom-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots{background-color:var(--color-green-07);border-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots svg circle,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots svg circle{fill:var(--color-white)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-right{left:auto;right:-2px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-left{left:0;right:auto}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{text-align:left;line-height:18px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:hover{background-color:var(--color-gray-02);color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active{color:var(--color-gray-10);border-bottom:none}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left.full-width{flex:1;width:100%;justify-content:flex-start}:host .subnav-menu-left.full-width .desktop-menu{width:100%}:host .mobile-dropdown-container{position:relative;display:block;height:100%;box-sizing:border-box}@media only screen and (min-width: 768px){:host .mobile-dropdown-container{display:none !important}}:host .mobile-dropdown-container .mobile-dropdown-button{background:transparent;border:none;border-bottom:3px solid var(--color-green-07);padding:20px 0 17px 0;justify-content:center;gap:10px;cursor:pointer}:host .mobile-dropdown-container .mobile-dropdown-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .mobile-dropdown-container .mobile-dropdown-button[aria-expanded]{border-color:var(--color-green-07);color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-selected-item{flex:1;text-align:left;color:var(--color-gray-07);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow{display:flex;align-items:center;justify-content:center;transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow svg{transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow.rotated svg{transform:rotate(180deg)}:host .mobile-dropdown-container .mobile-dropdown{position:absolute;top:calc(100% - 8px);left:-2px;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-medium);z-index:1001;margin:4px 0 0 0;overflow-y:auto;min-width:280px;width:-moz-fit-content;width:fit-content;list-style:none;padding:14px 0}:host .mobile-dropdown-container .mobile-dropdown li{display:block}:host .mobile-dropdown-container .mobile-dropdown li:last-child{border-bottom:none}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item{width:100%;background:none;text-align:left;cursor:pointer;word-break:break-word;display:block;box-sizing:border-box}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active{color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-right{max-width:50%;padding:12px 0}@media only screen and (min-width: 768px){:host .subnav-menu-right{width:auto;max-width:300px}}";
1123
-
1124
- const PtcSubnavV2 = class {
1125
- constructor(hostRef) {
1126
- index.registerInstance(this, hostRef);
1127
- this.cachedNavItems = null;
1128
- this.isSticky = false;
1129
- this.originalTop = 0;
1130
- this.placeholderElement = null;
1131
- this.measurementElement = null;
1132
- this.handleClickOutside = (event) => {
1133
- if (!this.el.contains(event.target)) {
1134
- this.showOverflowMenu = false;
1135
- }
1136
- };
1137
- this.handleKeyDown = (event) => {
1138
- var _a;
1139
- if (event.key === "Escape" && this.showOverflowMenu) {
1140
- this.showOverflowMenu = false;
1141
- (_a = this.overflowButton) === null || _a === void 0 ? void 0 : _a.focus();
1142
- }
1143
- };
1144
- this.handleScroll = () => {
1145
- // Throttle scroll events for better performance
1146
- if (this.scrollThrottleTimeout) {
1147
- return;
1148
- }
1149
- this.scrollThrottleTimeout = window.setTimeout(() => {
1150
- // Don't update active state if user just manually navigated
1151
- if (this.isManualNavigation) {
1152
- this.scrollThrottleTimeout = null;
1153
- return;
1154
- }
1155
- // Fallback scroll handler to ensure active state is updated
1156
- const navItems = this.getNavItems();
1157
- const subnavHeight = this.el.offsetHeight;
1158
- const scrollPosition = window.scrollY + subnavHeight + 100; // Offset for better detection
1159
- // Find the section that should be active based on scroll position
1160
- let activeSection = navItems[0].id; // Default to first section
1161
- for (let i = navItems.length - 1; i >= 0; i--) {
1162
- const section = document.getElementById(navItems[i].id);
1163
- if (section && section.offsetTop <= scrollPosition) {
1164
- activeSection = navItems[i].id;
1165
- break;
1166
- }
1167
- }
1168
- // Only update if different from current active
1169
- if (activeSection !== this.currentActive) {
1170
- this.currentActive = activeSection;
1171
- }
1172
- this.scrollThrottleTimeout = null;
1173
- }, 16); // ~60fps throttling
1174
- };
1175
- this.initializeStickyPosition = () => {
1176
- // Store the original position of the subnav
1177
- const rect = this.el.getBoundingClientRect();
1178
- this.originalTop = rect.top + window.scrollY;
1179
- };
1180
- this.handleStickyScroll = () => {
1181
- // Throttle sticky scroll events for better performance
1182
- if (this.stickyScrollTimeout) {
1183
- return;
1184
- }
1185
- this.stickyScrollTimeout = window.setTimeout(() => {
1186
- var _a;
1187
- const scrollY = window.scrollY;
1188
- // Check if we should make the subnav sticky
1189
- const shouldBeSticky = scrollY >= this.originalTop;
1190
- if (shouldBeSticky && !this.isSticky) {
1191
- // Store the original height before making it fixed
1192
- const originalHeight = this.el.offsetHeight;
1193
- // Create placeholder element to maintain space
1194
- this.placeholderElement = document.createElement("div");
1195
- this.placeholderElement.style.height = `${originalHeight}px`;
1196
- this.placeholderElement.style.width = "100%";
1197
- this.placeholderElement.style.pointerEvents = "none";
1198
- // Insert placeholder before the subnav
1199
- (_a = this.el.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(this.placeholderElement, this.el);
1200
- // Add transition class for smooth animation
1201
- this.el.classList.add("sticky-transition");
1202
- // Apply fixed positioning with smooth transition
1203
- this.el.style.position = "fixed";
1204
- this.el.style.top = "0";
1205
- this.el.style.left = "0";
1206
- this.el.style.right = "0";
1207
- this.el.style.width = "100%";
1208
- this.el.style.zIndex = "105";
1209
- this.el.style.transform = "translateY(0)";
1210
- this.isSticky = true;
1211
- }
1212
- else if (!shouldBeSticky && this.isSticky) {
1213
- // Remove transition class and reset transform
1214
- this.el.classList.remove("sticky-transition");
1215
- this.el.style.transform = "";
1216
- // Remove fixed positioning and restore original position
1217
- this.el.style.position = "";
1218
- this.el.style.top = "";
1219
- this.el.style.left = "";
1220
- this.el.style.right = "";
1221
- this.el.style.width = "";
1222
- this.el.style.zIndex = "";
1223
- this.isSticky = false;
1224
- // Remove placeholder element
1225
- if (this.placeholderElement) {
1226
- this.placeholderElement.remove();
1227
- this.placeholderElement = null;
1228
- }
1229
- }
1230
- this.stickyScrollTimeout = null;
1231
- }, 16); // ~60fps throttling
1232
- };
1233
- this.handleResize = () => {
1234
- this.navContainer && setTimeout(() => this.calculateVisibleItems(), 10);
1235
- // Recalculate original position on resize
1236
- if (!this.isSticky) {
1237
- this.initializeStickyPosition();
1238
- }
1239
- else if (this.placeholderElement) {
1240
- // Update placeholder height if sticky and resized
1241
- const currentHeight = this.el.offsetHeight;
1242
- this.placeholderElement.style.height = `${currentHeight}px`;
1243
- // Update originalTop based on placeholder position (layout may have changed)
1244
- const placeholderRect = this.placeholderElement.getBoundingClientRect();
1245
- this.originalTop = placeholderRect.top + window.scrollY;
1246
- }
1247
- };
1248
- this.setupIntersectionObserver = () => {
1249
- // Get all sections that correspond to our navigation items
1250
- const navItems = this.getNavItems();
1251
- // Create intersection observer
1252
- this.intersectionObserver = new IntersectionObserver((entries) => {
1253
- // Clear any existing timeout
1254
- if (this.scrollTimeout) {
1255
- clearTimeout(this.scrollTimeout);
1256
- }
1257
- // Debounce the intersection changes
1258
- this.scrollTimeout = window.setTimeout(() => {
1259
- // Don't update active state if user just manually navigated
1260
- if (this.isManualNavigation) {
1261
- return;
1262
- }
1263
- // Find all intersecting sections
1264
- const intersectingSections = entries.filter((entry) => entry.isIntersecting);
1265
- if (intersectingSections.length > 0) {
1266
- // Sort by intersection ratio (how much of the section is visible)
1267
- // and then by position (top to bottom)
1268
- intersectingSections.sort((a, b) => {
1269
- // First sort by intersection ratio (higher = more visible)
1270
- if (b.intersectionRatio !== a.intersectionRatio) {
1271
- return (b.intersectionRatio - a.intersectionRatio);
1272
- }
1273
- // If intersection ratios are equal, sort by position
1274
- return (a.boundingClientRect.top -
1275
- b.boundingClientRect.top);
1276
- });
1277
- // Get the most visible section
1278
- const mostVisibleSection = intersectingSections[0];
1279
- const sectionId = mostVisibleSection.target.id;
1280
- if (sectionId && sectionId !== this.currentActive) {
1281
- this.currentActive = sectionId;
1282
- }
1283
- }
1284
- }, 100); // Increased debounce time for better performance
1285
- }, {
1286
- root: null,
1287
- rootMargin: "-20% 0px -60% 0px",
1288
- threshold: [0, 0.1, 0.25, 0.5, 0.75, 1.0], // Multiple thresholds for better detection
1289
- });
1290
- // Observe all sections
1291
- navItems.forEach((item) => {
1292
- const section = document.getElementById(item.id);
1293
- if (section) {
1294
- this.intersectionObserver.observe(section);
1295
- }
1296
- });
1297
- };
1298
- this.setupResizeObserver = () => {
1299
- // Observe the parent element for layout changes
1300
- this.resizeObserver = new ResizeObserver(() => {
1301
- // Recalculate sticky position when parent layout changes
1302
- if (!this.isSticky) {
1303
- this.initializeStickyPosition();
1304
- }
1305
- else if (this.placeholderElement) {
1306
- // If sticky, update originalTop based on placeholder position
1307
- const placeholderRect = this.placeholderElement.getBoundingClientRect();
1308
- this.originalTop = placeholderRect.top + window.scrollY;
1309
- }
1310
- });
1311
- // Observe the element's parent or the element itself
1312
- if (this.el.parentElement) {
1313
- this.resizeObserver.observe(this.el.parentElement);
1314
- }
1315
- };
1316
- this.extractNavItemsFromSlots = () => {
1317
- const slotElement = this.el.querySelector('[slot="nav-items"]');
1318
- if (!slotElement)
1319
- return null;
1320
- const links = slotElement.querySelectorAll("a");
1321
- const items = Array.from(links)
1322
- .map((link) => {
1323
- var _a, _b;
1324
- return ({
1325
- id: ((_a = link.getAttribute("href")) === null || _a === void 0 ? void 0 : _a.substring(1)) || "",
1326
- label: ((_b = link.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "",
1327
- title: link.getAttribute("title") || undefined,
1328
- trackerId: link.getAttribute("tracker-id") || undefined,
1329
- });
1330
- })
1331
- .filter((item) => Boolean(item.id && item.label));
1332
- return items.length > 0 ? items : null;
1333
- };
1334
- this.getNavItems = () => {
1335
- // Return cached items if available
1336
- if (this.cachedNavItems) {
1337
- return this.cachedNavItems;
1338
- }
1339
- // Extract navigation items from slots (SEO-friendly approach)
1340
- const slotItems = this.extractNavItemsFromSlots();
1341
- if (slotItems) {
1342
- this.cachedNavItems = slotItems;
1343
- return slotItems;
1344
- }
1345
- // If navItems prop is provided, parse and use it (fallback)
1346
- const propItems = this.parsePropNavItems();
1347
- if (propItems) {
1348
- this.cachedNavItems = propItems;
1349
- return propItems;
1350
- }
1351
- // Return empty array if no navigation items found
1352
- console.warn("No navigation items found in slots or props for ptc-subnav-v2");
1353
- return [];
1354
- };
1355
- this.hasActiveOverflowItem = () => {
1356
- return this.overflowItems.some((item) => item.id === this.currentActive);
1357
- };
1358
- this.hasSubnavMenuRightContent = () => {
1359
- const slotElement = this.el.querySelector('[slot="subnav-menu-right"]');
1360
- return Boolean(slotElement === null || slotElement === void 0 ? void 0 : slotElement.children.length);
1361
- };
1362
- this.calculateVisibleItems = () => {
1363
- const navItems = this.getNavItems();
1364
- // Handle case where no navigation items are found
1365
- if (navItems.length === 0) {
1366
- this.visibleItems = [];
1367
- this.overflowItems = [];
1368
- return;
1369
- }
1370
- // Check if we're in mobile mode (below 767px)
1371
- const wasMobile = this.isMobile;
1372
- this.isMobile = window.innerWidth <= 767;
1373
- // Force re-render if mobile state changed
1374
- if (wasMobile !== this.isMobile) {
1375
- this.showOverflowMenu = false; // Close any open menus when switching modes
1376
- }
1377
- if (this.isMobile) {
1378
- // On mobile, show only the current active item
1379
- const activeItem = navItems.find((item) => item.id === this.currentActive) ||
1380
- navItems[0];
1381
- this.visibleItems = [activeItem];
1382
- this.overflowItems = navItems.filter((item) => item.id !== activeItem.id);
1383
- }
1384
- else {
1385
- // Desktop behavior - calculate based on available width
1386
- const containerWidth = this.navContainer
1387
- ? this.navContainer.offsetWidth
1388
- : 0;
1389
- const buttonWidth = this.overflowButton
1390
- ? this.overflowButton.offsetWidth + 32
1391
- : 0; // 32px for gap
1392
- const availableWidth = containerWidth - buttonWidth - 48; // 48px for right margin
1393
- // Fallback if container width is not available yet
1394
- if (containerWidth === 0) {
1395
- this.visibleItems = navItems;
1396
- this.overflowItems = [];
1397
- return;
1398
- }
1399
- let visibleCount = 0;
1400
- let totalWidth = 0;
1401
- // Create or reuse measurement element
1402
- if (!this.measurementElement) {
1403
- this.measurementElement = document.createElement("div");
1404
- this.measurementElement.style.position = "absolute";
1405
- this.measurementElement.style.visibility = "hidden";
1406
- this.measurementElement.style.whiteSpace = "nowrap";
1407
- this.measurementElement.style.fontSize = "14px";
1408
- this.measurementElement.style.fontWeight = "700";
1409
- this.measurementElement.style.padding = "20px 0 20px 0";
1410
- }
1411
- document.body.appendChild(this.measurementElement);
1412
- for (let i = 0; i < navItems.length; i++) {
1413
- const item = navItems[i];
1414
- this.measurementElement.textContent = item.label;
1415
- const itemWidth = this.measurementElement.offsetWidth + 32; // 32px for gap
1416
- if (totalWidth + itemWidth <= availableWidth) {
1417
- totalWidth += itemWidth;
1418
- visibleCount++;
1419
- }
1420
- else {
1421
- break;
1422
- }
1423
- }
1424
- document.body.removeChild(this.measurementElement);
1425
- this.visibleItems = navItems.slice(0, visibleCount);
1426
- this.overflowItems = navItems.slice(visibleCount);
1427
- }
1428
- // Don't automatically show overflow menu - it should be closed by default
1429
- // this.showOverflowMenu = this.overflowItems.length > 0;
1430
- };
1431
- this.toggleOverflowMenu = () => {
1432
- this.showOverflowMenu = !this.showOverflowMenu;
1433
- // After opening, measure and decide alignment to avoid viewport overflow
1434
- if (!this.showOverflowMenu) {
1435
- return;
1436
- }
1437
- requestAnimationFrame(() => {
1438
- const container = this.overflowMenuContainer;
1439
- const dropdown = this.overflowDropdownEl;
1440
- if (!container || !dropdown)
1441
- return;
1442
- const containerRect = container.getBoundingClientRect();
1443
- // Default positioning is right: -2px inside container
1444
- const dropdownWidth = dropdown.offsetWidth || 0;
1445
- const rightEdge = containerRect.right + 2;
1446
- const leftEdge = rightEdge - dropdownWidth;
1447
- // If left edge would be off the viewport, flip to left aligned
1448
- this.overflowDropdownAlignLeft = leftEdge < 8; // keep a small gutter
1449
- });
1450
- };
1451
- this.handleNavClick = (event, section) => {
1452
- event.preventDefault();
1453
- this.currentActive = section;
1454
- // Set manual navigation flag to prevent intersection observer from overriding
1455
- this.isManualNavigation = true;
1456
- // Clear any existing manual navigation timeout
1457
- if (this.manualNavigationTimeout) {
1458
- clearTimeout(this.manualNavigationTimeout);
1459
- }
1460
- // Emit custom event for parent components
1461
- const customEvent = new CustomEvent("sectionChange", {
1462
- detail: { section },
1463
- bubbles: true,
1464
- composed: true,
1465
- });
1466
- this.el.dispatchEvent(customEvent);
1467
- // Smooth scroll to section if it exists, accounting for sticky nav height
1468
- const targetElement = document.querySelector(`#${section}`);
1469
- if (targetElement) {
1470
- // Get the sticky nav height
1471
- const navHeight = this.el.offsetHeight;
1472
- // Calculate the target position with offset
1473
- const targetPosition = targetElement.getBoundingClientRect().top +
1474
- window.scrollY -
1475
- navHeight;
1476
- // Smooth scroll to the adjusted position
1477
- window.scrollTo({
1478
- top: targetPosition,
1479
- behavior: "smooth",
1480
- });
1481
- // Reset manual navigation flag and correct scroll position after animation
1482
- this.manualNavigationTimeout = window.setTimeout(() => {
1483
- this.isManualNavigation = false;
1484
- // Re-check position to account for lazy-loaded images
1485
- const finalNavHeight = this.el.offsetHeight;
1486
- const finalTargetPosition = targetElement.getBoundingClientRect().top +
1487
- window.scrollY -
1488
- finalNavHeight;
1489
- // If we're off by more than a small threshold, correct it instantly.
1490
- if (Math.abs(window.scrollY - finalTargetPosition) > 5) {
1491
- window.scrollTo({
1492
- top: finalTargetPosition,
1493
- behavior: "smooth",
1494
- });
1495
- }
1496
- }, 800); // Give enough time for smooth scroll to complete
1497
- }
1498
- else {
1499
- // Fallback timeout if the element doesn't exist
1500
- this.manualNavigationTimeout = window.setTimeout(() => {
1501
- this.isManualNavigation = false;
1502
- }, 1500);
1503
- }
1504
- };
1505
- this.handleInitialLoadWithHash = () => {
1506
- if (window.location.hash) {
1507
- if (document.readyState === "complete") {
1508
- // If the page is already loaded, scroll immediately
1509
- this.handleHashChange();
1510
- }
1511
- else {
1512
- // Otherwise, wait for the page to fully load before scrolling
1513
- window.addEventListener("load", this.boundHandleHashChange, {
1514
- once: true,
1515
- });
1516
- }
1517
- }
1518
- };
1519
- this.handleHashChange = () => {
1520
- const hash = window.location.hash;
1521
- if (hash) {
1522
- const sectionId = hash.substring(1);
1523
- this.scrollToSection(sectionId);
1524
- }
1525
- };
1526
- this.scrollToSection = (sectionId, smooth = true) => {
1527
- const targetElement = document.getElementById(sectionId);
1528
- if (targetElement) {
1529
- const navHeight = this.el.offsetHeight;
1530
- const targetPosition = targetElement.getBoundingClientRect().top +
1531
- window.scrollY -
1532
- navHeight;
1533
- window.scrollTo({
1534
- top: targetPosition,
1535
- behavior: smooth ? "smooth" : "auto",
1536
- });
1537
- this.currentActive = sectionId;
1538
- }
1539
- };
1540
- this.activeSection = "overview";
1541
- this.navItems = "";
1542
- this.currentActive = "overview";
1543
- this.visibleItems = [];
1544
- this.overflowItems = [];
1545
- this.showOverflowMenu = false;
1546
- this.overflowDropdownAlignLeft = false;
1547
- this.isMobile = false;
1548
- this.isManualNavigation = false;
1549
- }
1550
- componentWillLoad() {
1551
- this.currentActive = this.activeSection;
1552
- }
1553
- componentDidLoad() {
1554
- this.bindEventHandlers();
1555
- this.handleResize();
1556
- this.addEventListeners();
1557
- this.setupIntersectionObserver();
1558
- this.setupResizeObserver();
1559
- this.initializeStickyPosition();
1560
- this.handleInitialLoadWithHash();
1561
- }
1562
- bindEventHandlers() {
1563
- this.boundHandleResize = this.handleResize.bind(this);
1564
- this.boundHandleClickOutside = this.handleClickOutside.bind(this);
1565
- this.boundHandleScroll = this.handleScroll.bind(this);
1566
- this.boundHandleKeyDown = this.handleKeyDown.bind(this);
1567
- this.boundHandleStickyScroll = this.handleStickyScroll.bind(this);
1568
- this.boundHandleHashChange = this.handleHashChange.bind(this);
1569
- }
1570
- addEventListeners() {
1571
- window.addEventListener("resize", this.boundHandleResize);
1572
- document.addEventListener("click", this.boundHandleClickOutside);
1573
- document.addEventListener("keydown", this.boundHandleKeyDown);
1574
- window.addEventListener("scroll", this.boundHandleScroll, {
1575
- passive: true,
1576
- });
1577
- window.addEventListener("scroll", this.boundHandleStickyScroll, {
1578
- passive: true,
1579
- });
1580
- window.addEventListener("hashchange", this.boundHandleHashChange);
1581
- window.addEventListener("load", this.boundHandleHashChange, {
1582
- once: true,
1583
- });
1584
- }
1585
- disconnectedCallback() {
1586
- this.removeEventListeners();
1587
- this.cleanupTimeouts();
1588
- this.cleanupIntersectionObserver();
1589
- this.cleanupResizeObserver();
1590
- this.cleanupElements();
1591
- }
1592
- removeEventListeners() {
1593
- window.removeEventListener("resize", this.boundHandleResize);
1594
- document.removeEventListener("click", this.boundHandleClickOutside);
1595
- document.removeEventListener("keydown", this.boundHandleKeyDown);
1596
- window.removeEventListener("scroll", this.boundHandleScroll);
1597
- window.removeEventListener("scroll", this.boundHandleStickyScroll);
1598
- window.removeEventListener("hashchange", this.boundHandleHashChange);
1599
- window.removeEventListener("load", this.boundHandleHashChange);
1600
- }
1601
- cleanupTimeouts() {
1602
- if (this.scrollTimeout)
1603
- clearTimeout(this.scrollTimeout);
1604
- if (this.scrollThrottleTimeout)
1605
- clearTimeout(this.scrollThrottleTimeout);
1606
- if (this.manualNavigationTimeout)
1607
- clearTimeout(this.manualNavigationTimeout);
1608
- if (this.stickyScrollTimeout)
1609
- clearTimeout(this.stickyScrollTimeout);
1610
- }
1611
- cleanupIntersectionObserver() {
1612
- if (this.intersectionObserver) {
1613
- this.intersectionObserver.disconnect();
1614
- }
1615
- }
1616
- cleanupResizeObserver() {
1617
- if (this.resizeObserver) {
1618
- this.resizeObserver.disconnect();
1619
- }
1620
- }
1621
- cleanupElements() {
1622
- if (this.placeholderElement) {
1623
- this.placeholderElement.remove();
1624
- this.placeholderElement = null;
1625
- }
1626
- if (this.measurementElement) {
1627
- this.measurementElement.remove();
1628
- this.measurementElement = null;
1629
- }
1630
- }
1631
- parsePropNavItems() {
1632
- var _a;
1633
- if (!((_a = this.navItems) === null || _a === void 0 ? void 0 : _a.trim()))
1634
- return null;
1635
- try {
1636
- const parsedItems = JSON.parse(this.navItems);
1637
- if (Array.isArray(parsedItems) && parsedItems.length > 0) {
1638
- const validItems = parsedItems.filter((item) => Boolean(item &&
1639
- typeof item.id === "string" &&
1640
- typeof item.label === "string"));
1641
- return validItems.length > 0 ? validItems : null;
1642
- }
1643
- }
1644
- catch (error) {
1645
- console.warn("Invalid navItems JSON provided to ptc-subnav-v2:", error);
1646
- }
1647
- return null;
1648
- }
1649
- render() {
1650
- const navItems = this.getNavItems();
1651
- const hasRightContent = this.hasSubnavMenuRightContent();
1652
- const selectedMobileItem = this.isMobile
1653
- ? navItems.find((item) => item.id === this.currentActive) ||
1654
- navItems[0]
1655
- : null;
1656
- // If no navigation items, don't render the navigation
1657
- if (navItems.length === 0) {
1658
- return (index.h(index.Host, null, index.h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, hasRightContent && (index.h("div", { class: "subnav-menu-right" }, index.h("slot", { name: "subnav-menu-right" }))))));
1659
- }
1660
- return (index.h(index.Host, null, index.h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, index.h("nav", { class: `subnav-menu-left ${!hasRightContent ? "full-width" : ""}`, role: "navigation", "aria-label": "Sub navigation", ref: (el) => (this.navContainer = el) }, this.isMobile ? (
1661
- // Mobile layout - dropdown with arrows
1662
- index.h("div", { class: "mobile-dropdown-container" }, index.h("button", { class: "mobile-dropdown-button", onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
1663
- if (e.key === "Enter" ||
1664
- e.key === " ") {
1665
- e.preventDefault();
1666
- this.toggleOverflowMenu();
1667
- }
1668
- }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": `${(selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) || "Select Section"} - Choose navigation section`, "tracker-id": "mobile-dropdown-button", ref: (el) => (this.overflowButton = el) }, index.h("span", { class: "mobile-selected-item" }, (selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) ||
1669
- "Select Section"), index.h("span", { class: `mobile-arrow ${this.showOverflowMenu ? "rotated" : ""}`, "aria-hidden": "true" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true" }, index.h("path", { d: "M1 1.5L5.94975 6.44975L10.8995 1.5", stroke: "#00890B", "stroke-width": "2", "stroke-linecap": "round" })))), this.showOverflowMenu && (index.h("ul", { class: "mobile-dropdown", role: "menu", "aria-label": "Navigation sections" }, navItems.map((item) => (index.h("li", { key: item.id, class: "mf-listen", id: item.trackerId ||
1670
- `mobile-nav-${item.id}` }, index.h("a", { href: `#${item.id}`, class: `mobile-dropdown-item ${this.currentActive ===
1671
- item.id
1672
- ? "active"
1673
- : ""}`, role: "menuitem", "aria-current": this.currentActive ===
1674
- item.id
1675
- ? "page"
1676
- : undefined, title: item.title || "", onClick: (e) => {
1677
- this.handleNavClick(e, item.id);
1678
- this.showOverflowMenu = false;
1679
- } }, item.label)))))))) : (
1680
- // Desktop layout - original behavior
1681
- index.h("ul", { class: "desktop-menu" }, this.visibleItems.map((item) => (index.h("li", { key: item.id, class: "mf-listen", id: item.trackerId || `nav-${item.id}` }, index.h("a", { href: `#${item.id}`, class: this.currentActive === item.id
1682
- ? "active"
1683
- : "", title: item.title || "", onClick: (e) => this.handleNavClick(e, item.id), "aria-current": this.currentActive === item.id
1684
- ? "page"
1685
- : undefined }, item.label)))), this.overflowItems.length > 0 && (index.h("li", { class: "overflow-menu-container mf-listen", id: "overflow-menu", ref: (el) => (this.overflowMenuContainer = el) }, index.h("button", { class: `overflow-button ${this.hasActiveOverflowItem() ? "selected-active" : ""}`, onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
1686
- if (e.key === "Enter" ||
1687
- e.key === " ") {
1688
- e.preventDefault();
1689
- this.toggleOverflowMenu();
1690
- }
1691
- }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": "Show more navigation items", "tracker-id": "overflow-button", ref: (el) => (this.overflowButton = el) }, index.h("span", { class: "overflow-dots", "aria-hidden": "true" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", "aria-hidden": "true" }, index.h("circle", { cx: "1.25", cy: "5", r: "1.25", fill: "#617480" }), index.h("circle", { cx: "5", cy: "5", r: "1.25", fill: "#617480" }), index.h("circle", { cx: "8.75", cy: "5", r: "1.25", fill: "#617480" })))), this.showOverflowMenu && (index.h("div", { class: `overflow-dropdown ${this.overflowDropdownAlignLeft ? "align-left" : "align-right"}`, role: "menu", "aria-label": "Additional navigation sections", ref: (el) => (this.overflowDropdownEl =
1692
- el) }, this.overflowItems.map((item) => (index.h("a", { key: item.id, href: `#${item.id}`, class: `mf-listen ${this
1693
- .currentActive ===
1694
- item.id
1695
- ? "active"
1696
- : ""}`, title: item.title || "", "tracker-id": item.trackerId ||
1697
- `overflow-link-${item.id}`, role: "menuitem", onClick: (e) => {
1698
- this.handleNavClick(e, item.id);
1699
- this.showOverflowMenu = false;
1700
- }, "aria-current": this
1701
- .currentActive ===
1702
- item.id
1703
- ? "page"
1704
- : undefined }, item.label)))))))))), hasRightContent && (index.h("div", { class: "subnav-menu-right" }, index.h("slot", { name: "subnav-menu-right" }))))));
1705
- }
1706
- get el() { return index.getElement(this); }
1707
- };
1708
- PtcSubnavV2.style = ptcSubnavV2Css;
1709
-
1710
- 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}";
1711
-
1712
- const PtcTitle = class {
1713
- constructor(hostRef) {
1714
- index.registerInstance(this, hostRef);
1715
- this.isPlmHub = false;
1716
- this.type = "h2";
1717
- this.textAlign = undefined;
1718
- this.upperline = "dotted";
1719
- this.titleShadow = undefined;
1720
- this.titleColor = "gray";
1721
- this.titleMargin = undefined;
1722
- this.titleWeight = undefined;
1723
- this.titleSize = undefined;
1724
- this.titleHeight = "densest";
1725
- this.styles = undefined;
1726
- this.ellipsisLineCutoff = undefined;
1727
- this.titleDisplay = "inline-block";
1728
- this.seoCompatibilityMode = false;
1729
- this.tooltipZIndex = "auto";
1730
- this.tooltipPosition = "bottom";
1731
- this.tooltipTheme = "standard";
1732
- this.enableTooltip = false;
1733
- this.maxChars = undefined;
1734
- this.maxLines = undefined;
1735
- this.hideTooltipOnMobile = false;
1736
- this.ismob = undefined;
1737
- this.tooltipWidth = "default";
1738
- }
1739
- // Tooltip Properties ends
1740
- componentDidLoad() {
1741
- if (this.hideTooltipOnMobile) {
1742
- this.el.classList.add("hide-tooltip-on-mobile");
1743
- }
1744
- this.el.addEventListener("mouseenter", () => this.toggleTitleTooltip(true));
1745
- this.el.addEventListener("mouseleave", () => this.toggleTitleTooltip(false));
1746
- }
1747
- render() {
1748
- if (this.seoCompatibilityMode) {
1749
- return this.seoCompRender();
1750
- }
1751
- else {
1752
- return this.standardRender();
1753
- }
1754
- }
1755
- getSortedText(content) {
1756
- if (!this.enableTooltip)
1757
- return;
1758
- const trimmedContent = content.trim();
1759
- const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
1760
- return shouldTruncate
1761
- ? trimmedContent.slice(0, this.maxChars) + "..."
1762
- : trimmedContent;
1763
- }
1764
- toggleTitleTooltip(show) {
1765
- var _a;
1766
- const tooltipClass = "tooltip-box";
1767
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1768
- const text = this.el.querySelectorAll(".line-clamp-title");
1769
- let maxLinesShowCheck = false;
1770
- if (text) {
1771
- text.forEach((t) => {
1772
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1773
- });
1774
- }
1775
- const ifCharExceeds = this.tooltipText &&
1776
- this.tooltipText.length > this.maxChars &&
1777
- !this.maxLines;
1778
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1779
- if (show && this.enableTooltip) {
1780
- if ((!existingTooltip && ifCharExceeds) ||
1781
- (!existingTooltip && ifLinesExceeds)) {
1782
- const tooltipMarkup = document.createElement("div");
1783
- tooltipMarkup.className = tooltipClass;
1784
- tooltipMarkup.innerText = this.tooltipText;
1785
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1786
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1787
- if (this.hideTooltipOnMobile) {
1788
- tooltipMarkup.classList.add("hide-tooltip-mobile");
1789
- }
1790
- (_a = this.el.querySelector("div")) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1791
- }
1792
- }
1793
- else {
1794
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1795
- }
1796
- }
1797
- seoCompRender() {
1798
- const classMap = this.getCssClassMap();
1799
- const cutOff = this.getLineCuttoff();
1800
- const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
1801
- let html = firstChild && firstChild.innerHTML;
1802
- // added for tooltip
1803
- this.tooltipText = html.trim();
1804
- let eleText = firstChild && firstChild.innerText;
1805
- html = this.enableTooltip ? this.getSortedText(eleText) : html;
1806
- if (this.el == firstChild) {
1807
- this.el.innerHTML = "";
1808
- }
1809
- 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
1810
- ? "line-clamp-title"
1811
- : "" }))));
1812
- }
1813
- standardRender() {
1814
- const classMap = this.getCssClassMap();
1815
- const cutOff = this.getLineCuttoff();
1816
- let TagType;
1817
- switch (this.type) {
1818
- case "h1":
1819
- TagType = "h1";
1820
- break;
1821
- case "h3":
1822
- TagType = "h3";
1823
- break;
1824
- case "h4":
1825
- TagType = "h4";
1826
- break;
1827
- case "h5":
1828
- TagType = "h5";
1829
- break;
1830
- case "h6":
1831
- TagType = "h6";
1832
- break;
1833
- default:
1834
- TagType = "h2";
1835
- }
1836
- 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)))));
1837
- }
1838
- getCssClassMap() {
1839
- return {
1840
- [this.textAlign]: !!this.textAlign ? true : false,
1841
- [this.upperline]: true,
1842
- [this.isPlmHub ? "is-plm-hub" : "is-standard"]: true,
1843
- [this.titleMargin]: !!this.titleMargin ? true : false,
1844
- [this.titleShadow]: !!this.titleShadow ? true : false,
1845
- [this.titleWeight]: !!this.titleWeight ? true : false,
1846
- [this.titleSize]: !!this.titleSize ? true : false,
1847
- [this.titleHeight]: !!this.titleHeight ? true : false,
1848
- [this.titleColor]: !!this.titleColor ? true : false,
1849
- ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1850
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
1851
- };
1852
- }
1853
- getLineCuttoff() {
1854
- const lineClamp = this.ellipsisLineCutoff > 0
1855
- ? this.ellipsisLineCutoff
1856
- : this.maxLines;
1857
- return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
1858
- }
1859
- get el() { return index.getElement(this); }
1860
- };
1861
- PtcTitle.style = ptcTitleCss;
1862
-
1863
- const ptcTooltipCss = "h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{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-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{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-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}.tooltip.sc-ptc-tooltip span.sc-ptc-tooltip{word-break:initial}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-hyperlink)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.tooltip.side-left.sc-ptc-tooltip{bottom:12px;transform:translateX(-112%)}@media only screen and (min-width: 768px){.tooltip.side-left.sc-ptc-tooltip{bottom:4px}}.tooltip.side-left.sc-ptc-tooltip::after{top:50%;right:-15px;transform:translateY(-50%);border:8px solid transparent;border-left:8px solid var(--color-gray-09)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}.no-overflow.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{display:none !important}.no-overflow.sc-ptc-tooltip-h .truncated.sc-ptc-tooltip.sc-ptc-tooltip{cursor:pointer}";
1864
-
1865
- const PtcTooltip = class {
1866
- constructor(hostRef) {
1867
- index.registerInstance(this, hostRef);
1868
- this.textDisplay = "inline";
1869
- this.maxLength = 45;
1870
- this.textLines = undefined;
1871
- this.description = "This is a tooltip text placeholder";
1872
- this.zIndex = "z-auto";
1873
- this.position = "bottom";
1874
- this.styles = undefined;
1875
- this.mode = "text-only";
1876
- this.theme = "standard";
1877
- this.width = "default";
1878
- this.hideOnMobile = false;
1879
- this.isSmallScreen = undefined;
1880
- this.noOverflow = false;
1881
- }
1882
- addTruncatedClass() {
1883
- const appRoot = this.el;
1884
- const text = appRoot.querySelectorAll(".ellipsis-by-line-boxing");
1885
- text.forEach((t) => {
1886
- t.classList[t.scrollHeight > t.clientHeight ? "add" : "remove"]("truncated");
1887
- });
1888
- }
1889
- windowResize() {
1890
- this.verifiyScreenSize();
1891
- }
1892
- verifiyScreenSize() {
1893
- this.isSmallScreen = window.innerWidth < 768;
1894
- }
1895
- // Created this function to initialize the truncate function on specific elements like tabs
1896
- enableAddTruncatedClass(element) {
1897
- const allTabHeaders = document.querySelectorAll(element);
1898
- for (const element of Array.from(allTabHeaders)) {
1899
- let tabHeader = element;
1900
- if (tabHeader) {
1901
- tabHeader.addEventListener("click", () => {
1902
- setTimeout(() => {
1903
- this.addTruncatedClass();
1904
- }, 100);
1905
- });
1906
- }
1907
- }
1908
- }
1909
- componentWillLoad() {
1910
- this.verifiyScreenSize();
1911
- }
1912
- componentDidLoad() {
1913
- //this.addTruncatedClass();
1914
- setTimeout(() => {
1915
- this.addTruncatedClass();
1916
- }, 1000);
1917
- this.enableAddTruncatedClass("tab-header");
1918
- this.enableAddTruncatedClass("ptc-ellipsis-dropdown");
1919
- this.enableAddTruncatedClass("ptc-product-card");
1920
- document.addEventListener("readystatechange", () => {
1921
- if (document.readyState === "complete") {
1922
- this.addTruncatedClass();
1923
- }
1924
- });
1925
- }
1926
- render() {
1927
- if (this.mode == "wrapper") {
1928
- return (index.h(index.Host, { class: this.textDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "wrapper-content" }, index.h("div", { class: "slot-content" }, index.h("slot", null)), index.h("div", { class: `tooltip ${this.position} ${this.theme}` }, index.h("slot", { name: "description" }), this.description && (index.h("span", { innerHTML: this.description }))))));
1929
- }
1930
- else {
1931
- const classMap = this.getCssClassMap();
1932
- const cutOff = this.getLineCuttoff();
1933
- let truncatedText = this.description.substring(0, this.maxLength);
1934
- if (this.description.length > this.maxLength) {
1935
- //const lastSpace = truncatedText.lastIndexOf(' ');
1936
- //truncatedText = truncatedText.substring(0, lastSpace);
1937
- truncatedText += "... ";
1938
- }
1939
- return (index.h(index.Host, { class: {
1940
- [this.textDisplay]: true,
1941
- [this.width]: true,
1942
- "no-overflow": this.noOverflow,
1943
- } }, this.styles && index.h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (index.h("div", null, this.description)) : (index.h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (index.h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (index.h("div", { class: classMap }, truncatedText)), index.h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
1944
- }
1945
- }
1946
- getCssClassMap() {
1947
- return {
1948
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
1949
- ["text-ellipsis"]: true,
1950
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
1951
- ["truncated"]: this.description.length > this.maxLength && !this.textLines
1952
- ? true
1953
- : false,
1954
- };
1955
- }
1956
- getLineCuttoff() {
1957
- let result;
1958
- if (this.textLines && this.textLines > 0) {
1959
- result = {
1960
- ["-webkit-line-clamp"]: `${this.textLines}`,
1961
- };
1962
- }
1963
- return result;
1964
- }
1965
- get el() { return index.getElement(this); }
1966
- };
1967
- PtcTooltip.style = ptcTooltipCss;
1968
-
1969
- exports.icon_asset = IconAsset;
1970
- exports.list_item = ListItem;
1971
- exports.max_width_container = MaxWidthContainer;
1972
- exports.ptc_background_video = PtcBackgroundVideo;
1973
- exports.ptc_breadcrumb = PtcBreadcrumb;
1974
- exports.ptc_button = PtcButton;
1975
- exports.ptc_img = PtcImg;
1976
- exports.ptc_jumbotron = PtcJumbotron;
1977
- exports.ptc_para = PtcPara;
1978
- exports.ptc_picture = PtcPicture;
1979
- exports.ptc_spacer = PtcSpacer;
1980
- exports.ptc_subnav_v2 = PtcSubnavV2;
1981
- exports.ptc_title = PtcTitle;
1982
- exports.ptc_tooltip = PtcTooltip;