@ptcwebops/ptcw-design 6.3.38-beta → 6.3.39-beta

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 (390) hide show
  1. package/dist/cjs/{component-4dd13907.js → component-6a178a16.js} +1 -1
  2. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  3. package/dist/cjs/list-item.cjs.entry.js +48 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/ptc-back-to-top.cjs.entry.js +98 -0
  6. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  7. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  8. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +70 -0
  11. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  12. package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
  13. package/dist/cjs/ptc-product-card.cjs.entry.js +62 -0
  14. package/dist/cjs/ptc-product-category.cjs.entry.js +20 -0
  15. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +78 -0
  16. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +28 -0
  17. package/dist/cjs/ptc-product-list.cjs.entry.js +160 -0
  18. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +177 -0
  19. package/dist/cjs/ptc-readmore.cjs.entry.js +180 -0
  20. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +3 -7
  21. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  22. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  23. package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
  24. package/dist/cjs/ptcw-design.cjs.js +1 -1
  25. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +3 -7
  26. package/dist/collection/stories/Link.stories.js +25 -13
  27. package/dist/collection/stories/Paragraph.stories.js +18 -10
  28. package/dist/collection/stories/Title.stories.js +28 -16
  29. package/dist/custom-elements/index.js +4 -8
  30. package/dist/esm/academic-form-test.entry.js +1 -1
  31. package/dist/esm/author-listing-example.entry.js +1 -1
  32. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  33. package/dist/esm/blog-detail-layout.entry.js +2 -2
  34. package/dist/esm/blogs-search-section.entry.js +2 -2
  35. package/dist/esm/bundle-example.entry.js +1 -1
  36. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  37. package/dist/esm/{component-9c921cc6.js → component-80f298b4.js} +1 -1
  38. package/dist/esm/dropdown-item.entry.js +1 -1
  39. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  40. package/dist/esm/embedded-form.entry.js +1 -1
  41. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  42. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  43. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  44. package/dist/esm/featured-list.entry.js +1 -1
  45. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  46. package/dist/esm/footer-form.entry.js +1 -1
  47. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  48. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  49. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  50. package/dist/esm/icon-asset.entry.js +61 -0
  51. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  52. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  53. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  54. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  55. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  56. package/dist/esm/list-item.entry.js +44 -0
  57. package/dist/esm/loader.js +3 -3
  58. package/dist/esm/max-width-container.entry.js +1 -1
  59. package/dist/esm/modal-form-example.entry.js +1 -1
  60. package/dist/esm/most-popular-news.entry.js +2 -2
  61. package/dist/esm/my-component.entry.js +2 -2
  62. package/dist/esm/news-search-result.entry.js +1 -1
  63. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  64. package/dist/esm/ptc-accordion.entry.js +1 -1
  65. package/dist/esm/ptc-announcement.entry.js +1 -1
  66. package/dist/esm/ptc-back-to-top.entry.js +94 -0
  67. package/dist/esm/ptc-background-video.entry.js +2 -2
  68. package/dist/esm/ptc-badge.entry.js +1 -1
  69. package/dist/esm/ptc-bio-card.entry.js +1 -1
  70. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  71. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  72. package/dist/esm/ptc-button.entry.js +83 -0
  73. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  74. package/dist/esm/ptc-card-content.entry.js +1 -1
  75. package/dist/esm/ptc-card_2.entry.js +1 -1
  76. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  77. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  78. package/dist/esm/ptc-checkbox.entry.js +1 -1
  79. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  80. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  81. package/dist/esm/ptc-container.entry.js +1 -1
  82. package/dist/esm/ptc-countdown.entry.js +1 -1
  83. package/dist/esm/ptc-data-lookup.entry.js +2 -2
  84. package/dist/esm/ptc-date.entry.js +1 -1
  85. package/dist/esm/ptc-dropdown.entry.js +1 -1
  86. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  87. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  88. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  89. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  90. package/dist/esm/ptc-featured-list.entry.js +1 -1
  91. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  92. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  93. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  94. package/dist/esm/ptc-footer.entry.js +1 -1
  95. package/dist/esm/ptc-form-checkbox_4.entry.js +3 -3
  96. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  97. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  98. package/dist/esm/ptc-form.entry.js +1 -1
  99. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  100. package/dist/esm/ptc-hero.entry.js +1 -1
  101. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  102. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  103. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  104. package/dist/esm/ptc-icon-card.entry.js +2 -2
  105. package/dist/esm/ptc-icon-component.entry.js +1 -1
  106. package/dist/esm/ptc-icon-list.entry.js +1 -1
  107. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  108. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  109. package/dist/esm/ptc-img.entry.js +2 -2
  110. package/dist/esm/ptc-info-tile.entry.js +1 -1
  111. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  112. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  113. package/dist/esm/ptc-link.entry.js +2 -2
  114. package/dist/esm/ptc-list.entry.js +1 -1
  115. package/dist/esm/ptc-media-card.entry.js +2 -2
  116. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  117. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  118. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  119. package/dist/esm/ptc-nav-card.entry.js +1 -1
  120. package/dist/esm/ptc-nav-link.entry.js +1 -1
  121. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  122. package/dist/esm/ptc-nav-skip-to-content.entry.js +66 -0
  123. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  124. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  125. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  126. package/dist/esm/ptc-news.entry.js +1 -1
  127. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  128. package/dist/esm/ptc-office-locations.entry.js +1 -1
  129. package/dist/esm/ptc-overlay.entry.js +1 -1
  130. package/dist/esm/ptc-para.entry.js +123 -0
  131. package/dist/esm/ptc-picture.entry.js +158 -0
  132. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  133. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  134. package/dist/esm/ptc-previous-url.entry.js +1 -1
  135. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  136. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  137. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  138. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  139. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  140. package/dist/esm/ptc-product-card.entry.js +58 -0
  141. package/dist/esm/ptc-product-category.entry.js +16 -0
  142. package/dist/esm/ptc-product-dropdown.entry.js +74 -0
  143. package/dist/esm/ptc-product-highlight-card.entry.js +24 -0
  144. package/dist/esm/ptc-product-list.entry.js +156 -0
  145. package/dist/esm/ptc-product-sidebar.entry.js +173 -0
  146. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  147. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  148. package/dist/esm/ptc-quote.entry.js +1 -1
  149. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  150. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  151. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  152. package/dist/esm/ptc-readmore.entry.js +176 -0
  153. package/dist/esm/ptc-related-card-rail.entry.js +4 -8
  154. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  155. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  156. package/dist/esm/ptc-search-field.entry.js +1 -1
  157. package/dist/esm/ptc-seo-title.entry.js +1 -1
  158. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  159. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  160. package/dist/esm/ptc-skeleton.entry.js +1 -1
  161. package/dist/esm/ptc-slit-card.entry.js +1 -1
  162. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  163. package/dist/esm/ptc-social-icons.entry.js +1 -1
  164. package/dist/esm/ptc-spacer.entry.js +34 -0
  165. package/dist/esm/ptc-span.entry.js +1 -1
  166. package/dist/esm/ptc-square-card.entry.js +1 -1
  167. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  168. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  169. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  170. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  171. package/dist/esm/ptc-subnav.entry.js +1 -1
  172. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  173. package/dist/esm/ptc-tab-list.entry.js +1 -1
  174. package/dist/esm/ptc-tab.entry.js +1 -1
  175. package/dist/esm/ptc-tabs.entry.js +1 -1
  176. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  177. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  178. package/dist/esm/ptc-title.entry.js +148 -0
  179. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  180. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  181. package/dist/esm/ptc-tooltip.entry.js +103 -0
  182. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  183. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  184. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  185. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  189. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  190. package/dist/esm/ptc-video-embed.entry.js +1 -1
  191. package/dist/esm/ptc-white-paper.entry.js +1 -1
  192. package/dist/esm/ptcw-design.js +3 -3
  193. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  194. package/dist/esm/sequential-bundle.entry.js +1 -1
  195. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  196. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  197. package/dist/esm/tab-content.entry.js +1 -1
  198. package/dist/esm/tab-header.entry.js +1 -1
  199. package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
  200. package/dist/ptcw-design/{p-f69df077.entry.js → p-008307a6.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-135191ce.entry.js → p-04ff81ef.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-9a1922ba.entry.js → p-0529caaa.entry.js} +1 -1
  205. package/dist/ptcw-design/p-077839d5.entry.js +1 -0
  206. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  207. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-2b583ae1.entry.js → p-0b515839.entry.js} +1 -1
  209. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  210. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-b3ea58b7.entry.js → p-0ef61b44.entry.js} +1 -1
  212. package/dist/ptcw-design/p-13e338a5.entry.js +1 -0
  213. package/dist/ptcw-design/{p-0e6b14a6.entry.js → p-14b7693f.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-e28d0816.entry.js → p-1e3bf09c.entry.js} +1 -1
  216. package/dist/ptcw-design/p-1eb40265.entry.js +1 -0
  217. package/dist/ptcw-design/{p-6dc78042.entry.js → p-21aa746d.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-38e43284.entry.js → p-257267e3.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-d9ec506c.entry.js → p-260ecfef.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  224. package/dist/ptcw-design/p-297a14cb.entry.js +1 -0
  225. package/dist/ptcw-design/{p-2647fbe3.entry.js → p-2a20d4a6.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-9292844e.entry.js → p-2aa19c11.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  228. package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
  229. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  230. package/dist/ptcw-design/{p-0261e249.entry.js → p-36abe396.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-38a1425c.entry.js → p-3dd0ded9.entry.js} +1 -1
  234. package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
  235. package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
  236. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-9d386f08.entry.js → p-445329ed.entry.js} +1 -1
  238. package/dist/ptcw-design/p-45b1f3fc.entry.js +1 -0
  239. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-fa99b158.entry.js → p-4702c233.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-79c2e0fb.entry.js → p-4ca956c1.entry.js} +1 -1
  243. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  244. package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-bd9705c4.entry.js → p-52e17d34.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-58d4b008.entry.js → p-5311c6e1.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-17a4d9d0.entry.js → p-68ed2afe.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-379fcc72.entry.js → p-6e8ed2ee.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  257. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  258. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  259. package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-8ffdd794.entry.js → p-761a31f8.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-68955802.entry.js → p-76dab076.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-3ada2482.entry.js → p-799afee5.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-8a452c0b.entry.js → p-7a3e9ecd.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-25dd15af.entry.js → p-7bdf1e64.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  269. package/dist/ptcw-design/p-7d29a418.entry.js +1 -0
  270. package/dist/ptcw-design/{p-ace1ea79.entry.js → p-7f9ad266.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-29ae44dd.entry.js → p-7fe4d383.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
  273. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  274. package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
  275. package/dist/ptcw-design/{p-1948b914.entry.js → p-8521fdd4.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-712f1336.entry.js → p-85bdb2d5.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-472579ea.entry.js → p-89f0cf12.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-5f2a4384.entry.js → p-8c121480.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-9ea0d71c.entry.js → p-8cea8943.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-726dab37.entry.js → p-8e42a22d.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-91dcdd86.entry.js → p-8fb48953.entry.js} +1 -1
  287. package/dist/ptcw-design/p-901c31b3.entry.js +1 -0
  288. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-094f5dec.entry.js → p-9501995f.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-e77d2204.entry.js → p-95187918.entry.js} +1 -1
  291. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  292. package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
  293. package/dist/ptcw-design/p-99355e65.entry.js +1 -0
  294. package/dist/ptcw-design/p-99daf693.entry.js +1 -0
  295. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  299. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  300. package/dist/ptcw-design/{p-cc691b14.entry.js → p-9dbcfcee.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-d4207d86.entry.js → p-9df7489b.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  305. package/dist/ptcw-design/p-a2c7df64.entry.js +1 -0
  306. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-3411ac77.entry.js → p-a59c9cdc.entry.js} +1 -1
  309. package/dist/ptcw-design/p-a5fc048f.entry.js +1 -0
  310. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
  312. package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
  313. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  315. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-6f8858c3.entry.js → p-b209c116.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-27b8457b.entry.js → p-b647f7a1.entry.js} +1 -1
  319. package/dist/ptcw-design/p-b685a641.entry.js +1 -0
  320. package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
  321. package/dist/ptcw-design/{p-666cdec9.entry.js → p-bab5bb88.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-50582650.entry.js → p-baff4d44.entry.js} +1 -1
  324. package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
  325. package/dist/ptcw-design/p-bf56d5a3.entry.js +1 -0
  326. package/dist/ptcw-design/p-bf84ecc0.entry.js +1 -0
  327. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  330. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  333. package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
  334. package/dist/ptcw-design/{p-a2f25add.entry.js → p-c8f68292.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-958e1559.entry.js → p-cc677723.entry.js} +1 -1
  336. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  337. package/dist/ptcw-design/{p-1b2ff400.entry.js → p-d3ac3758.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-8771d448.entry.js → p-d51438de.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-ca5763d0.entry.js → p-d66debb3.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-485cb0c8.entry.js → p-d73cc053.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  343. package/dist/ptcw-design/p-db1dcce0.entry.js +1 -0
  344. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-ef55ab3c.entry.js → p-de960790.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-0d2f10cf.entry.js → p-dfb400ed.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
  348. package/dist/ptcw-design/p-e3b1af2b.entry.js +1 -0
  349. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-f3db0dc6.entry.js → p-e43c30c9.entry.js} +1 -1
  351. package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
  352. package/dist/ptcw-design/{p-2fa28be9.entry.js → p-e5369c4d.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-ed71521c.entry.js → p-e6a272d9.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
  355. package/dist/ptcw-design/{p-e9f65e9a.entry.js → p-f1734520.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  358. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  359. package/dist/ptcw-design/{p-44e72b9d.entry.js → p-f867ebe6.entry.js} +1 -1
  360. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.entry.js} +1 -1
  362. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  363. package/dist/ptcw-design/p-fd87fcd5.entry.js +1 -0
  364. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-9be9f585.entry.js → p-fe40421e.entry.js} +1 -1
  366. package/dist/ptcw-design/{p-4335d7f3.entry.js → p-fe907670.entry.js} +1 -1
  367. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  368. package/package.json +1 -1
  369. package/readme.md +1 -1
  370. package/dist/cjs/icon-asset_18.cjs.entry.js +0 -1602
  371. package/dist/esm/icon-asset_18.entry.js +0 -1581
  372. package/dist/ptcw-design/p-10413689.entry.js +0 -1
  373. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  374. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  375. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  376. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  377. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  378. package/dist/ptcw-design/p-3f669e89.entry.js +0 -1
  379. package/dist/ptcw-design/p-4c1451df.entry.js +0 -1
  380. package/dist/ptcw-design/p-5f98dec1.entry.js +0 -1
  381. package/dist/ptcw-design/p-6ffcd96c.entry.js +0 -1
  382. package/dist/ptcw-design/p-8c25a821.entry.js +0 -1
  383. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  384. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  385. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  386. package/dist/ptcw-design/p-a3f9e4ba.entry.js +0 -1
  387. package/dist/ptcw-design/p-e0c44285.entry.js +0 -1
  388. package/dist/ptcw-design/p-e1692ed6.entry.js +0 -1
  389. package/dist/ptcw-design/p-ef8f24e6.entry.js +0 -1
  390. /package/dist/ptcw-design/{p-bcab66bf.js → p-672a349f.js} +0 -0
@@ -1,1581 +0,0 @@
1
- import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { C as CheckDarkFocusState, g as getSeoTagType, s as seoSlotReset } from './utils-7c68b88a.js';
3
- import { R as ResponsivePictureVariables } from './interfaces-7c0243be.js';
4
-
5
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}svg.sc-icon-asset:focus{outline:none !important}svg[tabIndex=\"0\"].sc-icon-asset:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}svg[tabIndex=\"0\"].sc-icon-asset:focus{outline:none !important}";
6
-
7
- const IconAsset = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.ready = createEvent(this, "ready", 7);
11
- this.regularSprite = getAssetPath('./media/regular.svg');
12
- this.solidSprite = getAssetPath('./media/solid.svg');
13
- this.brandSprite = getAssetPath('./media/brands.svg');
14
- this.ptcSprite = getAssetPath('./media/designer-v6.0.6.svg');
15
- this.name = undefined;
16
- this.size = 'xx-small';
17
- this.type = 'regular';
18
- this.spin = '';
19
- this.pulse = '';
20
- this.color = 'default';
21
- this.isMobileSelect = undefined;
22
- this.injectedStyle = undefined;
23
- this.focusOn = false;
24
- this.trackerId = "";
25
- }
26
- componentDidLoad() {
27
- this.ready.emit({
28
- 'regular-icons': this.regularSprite,
29
- 'sold-icons': this.solidSprite,
30
- 'brand-icons': this.brandSprite,
31
- 'ptc-icons': this.ptcSprite
32
- });
33
- }
34
- render() {
35
- const classMap = this.getCssClassMap();
36
- if (this.type == 'brands') {
37
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
38
- }
39
- else if (this.type == 'solid') {
40
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
41
- }
42
- else if (this.type == 'ptc') {
43
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
44
- }
45
- else {
46
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
47
- }
48
- }
49
- getCssClassMap() {
50
- return {
51
- [this.size]: true,
52
- [this.spin]: true,
53
- [this.pulse]: true,
54
- [this.color]: true,
55
- ['ismobileselect']: this.isMobileSelect ? true : false,
56
- ['mf-listen']: this.trackerId !== "" ? true : false
57
- };
58
- }
59
- static get assetsDirs() { return ["media"]; }
60
- };
61
- IconAsset.style = iconAssetCss;
62
-
63
- const listItemCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host(.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}}";
64
-
65
- const ListItem = class {
66
- constructor(hostRef) {
67
- registerInstance(this, hostRef);
68
- this.listType = 'list-primary';
69
- this.linkHref = undefined;
70
- this.flushBefore = false;
71
- this.linkTarget = '_self';
72
- this.hasBeforeHomeIcon = false;
73
- this.trackerId = undefined;
74
- this.color = undefined;
75
- this.styles = undefined;
76
- this.ariaLabel = '';
77
- }
78
- render() {
79
- const classMap = this.getCssClassMap();
80
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("li", { id: this.trackerId }, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {}), { tabindex: "0" }), h("slot", null))) : (h("slot", null)))));
81
- }
82
- getCssClassMap() {
83
- let bcEnable = false;
84
- if (this.hostElement && this.hostElement.parentElement) {
85
- try {
86
- bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
87
- }
88
- catch (err) {
89
- console.log(err);
90
- }
91
- }
92
- return {
93
- [this.listType]: true,
94
- ['flush-before']: this.flushBefore ? true : false,
95
- [this.color]: !!this.color ? true : false,
96
- ['breadcrumb-center']: bcEnable,
97
- ['mf-listen']: true
98
- };
99
- }
100
- get hostElement() { return getElement(this); }
101
- };
102
- ListItem.style = listItemCss;
103
-
104
- const ptcBackToTopCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .back-to-top-button{right:24px;width:64px;height:auto;border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);color:var(--color-gray-10);font-size:12px;font-weight:var(--ptc-font-weight-semibold);outline:none;cursor:pointer;transition:opacity 0.3s ease-in-out;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--ptc-shadow-small);padding-top:4px;padding-bottom:4px}:host .back-to-top-button:hover{opacity:1}:host .back-to-top-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .back-to-top-button-fixed{position:fixed;bottom:140px}:host .back-to-top-button-absolute{position:absolute;bottom:150px}:host .arrow{margin-bottom:5px}";
105
-
106
- const PtcBackToTop = class {
107
- constructor(hostRef) {
108
- registerInstance(this, hostRef);
109
- this.handleScroll = () => {
110
- const scrollY = window.pageYOffset || document.documentElement.scrollTop;
111
- const containerHeight = document.querySelector('.ptc-container-relative');
112
- this.showButton = scrollY > window.innerHeight * 1;
113
- if (containerHeight) {
114
- if (this.showButton && scrollY <= (containerHeight.clientHeight - window.innerHeight)) {
115
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
116
- if (btnelement) {
117
- if (!btnelement.classList.contains('back-to-top-button-fixed')) {
118
- btnelement.classList.add('back-to-top-button-fixed');
119
- }
120
- if (btnelement.classList.contains('back-to-top-button-absolute')) {
121
- btnelement.classList.remove('back-to-top-button-absolute');
122
- }
123
- }
124
- }
125
- else if (this.showButton && scrollY > (containerHeight.clientHeight - window.innerHeight)) {
126
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
127
- if (btnelement) {
128
- if (btnelement.classList.contains('back-to-top-button-fixed')) {
129
- btnelement.classList.remove('back-to-top-button-fixed');
130
- }
131
- if (!btnelement.classList.contains('back-to-top-button-absolute')) {
132
- btnelement.classList.add('back-to-top-button-absolute');
133
- }
134
- }
135
- }
136
- }
137
- else {
138
- if (this.showButton) {
139
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
140
- if (btnelement) {
141
- if (!btnelement.classList.contains('back-to-top-button-fixed')) {
142
- btnelement.classList.add('back-to-top-button-fixed');
143
- }
144
- }
145
- }
146
- }
147
- };
148
- this.showButton = false;
149
- this.backToTop = "Back to Top";
150
- }
151
- componentDidLoad() {
152
- window.addEventListener('scroll', this.handleScroll);
153
- }
154
- disconnectedCallback() {
155
- window.removeEventListener('scroll', this.handleScroll);
156
- }
157
- handleClick() {
158
- this.scrollToTop();
159
- }
160
- scrollToTop() {
161
- if ('scrollBehavior' in document.documentElement.style) {
162
- // Smooth scrolling is supported
163
- window.scrollTo({
164
- top: 0,
165
- behavior: 'smooth',
166
- });
167
- }
168
- else {
169
- // Fallback for browsers that do not support smooth scrolling
170
- window.scrollTo(0, 0);
171
- }
172
- // Focus the first focusable element after a short delay to ensure scroll completes
173
- setTimeout(() => {
174
- const focusableSelector = [
175
- 'a[href]',
176
- 'button:not([disabled])',
177
- 'textarea:not([disabled])',
178
- 'input:not([type="hidden"]):not([disabled])',
179
- 'select:not([disabled])',
180
- '[tabindex]:not([tabindex="-1"])'
181
- ].join(',');
182
- const focusableElements = document.querySelectorAll(focusableSelector);
183
- if (focusableElements.length > 0) {
184
- focusableElements[1].focus();
185
- }
186
- }, 300);
187
- }
188
- render() {
189
- return (h(Host, null, this.showButton && (h("button", { class: 'back-to-top-button hyphenate-text', title: this.backToTop }, h("span", { class: 'arrow' }, h("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M15.5248 11.625L8.9998 5.1L2.4748 11.625L0.112305 9.2625L8.9998 0.375L17.8873 9.2625L15.5248 11.625Z", fill: "#323B42" }))), h("span", { class: 'text' }, this.backToTop)))));
190
- }
191
- get el() { return getElement(this); }
192
- };
193
- PtcBackToTop.style = ptcBackToTopCss;
194
-
195
- 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}";
196
-
197
- const PtcBreadcrumb = class {
198
- constructor(hostRef) {
199
- registerInstance(this, hostRef);
200
- this.position = undefined;
201
- this.removeTopMargin = false;
202
- this.color = 'white';
203
- this.isDarkMode = false;
204
- this.styles = undefined;
205
- }
206
- componentWillLoad() {
207
- this.listItems = this.hostElement.querySelectorAll('list-item');
208
- }
209
- componentDidLoad() {
210
- if (this.listItems) {
211
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
212
- item.remove();
213
- });
214
- }
215
- }
216
- render() {
217
- const classMap = this.getCssClassMap();
218
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("nav", { "aria-label": "Breadcrumb" }, h("ol", { class: "ptc-breadcrumb-ol" }, h("li", { class: 'home-link mf-listen', id: "homeLinkID" }, h("a", { href: "/", "aria-label": "Home Link", class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index, array) => {
219
- const textContent = item.textContent.trim();
220
- const href = item.getAttribute('link-href');
221
- return (h("li", { key: index, class: "mf-listen", id: `breadcrumb` + index + `ID` }, index < array.length - 1 ? (h("a", { href: href, target: '_self', class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, textContent)) : (textContent), h("span", { class: "visually-hidden" }, "/")));
222
- })))));
223
- }
224
- getCssClassMap() {
225
- return {
226
- [this.position]: !!this.position && this.position !== undefined ? true : false,
227
- ['remove-top-margin']: this.removeTopMargin ? true : false,
228
- [this.color]: true
229
- };
230
- }
231
- get hostElement() { return getElement(this); }
232
- };
233
- PtcBreadcrumb.style = ptcBreadcrumbCss;
234
-
235
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black);transition:none}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black);transition:none}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";
236
-
237
- const PtcButton = class {
238
- constructor(hostRef) {
239
- registerInstance(this, hostRef);
240
- this.clickEvent = createEvent(this, "clickEvent", 7);
241
- this.disabled = false;
242
- this.active = false;
243
- this.type = 'button';
244
- this.color = 'ptc-primary';
245
- this.iconAnimation = '';
246
- this.iconPosition = 'icon-right';
247
- this.linkHref = undefined;
248
- this.linkTitle = undefined;
249
- this.target = '_self';
250
- this.rel = undefined;
251
- this.tabNav = 0;
252
- this.styles = undefined;
253
- this.textAlign = undefined;
254
- this.enableAccessibilityAltStyle = false;
255
- this.size = undefined;
256
- this.buttonTitle = undefined;
257
- this.ariaLabel = '';
258
- this.seoCompatibilityMode = false;
259
- this.maintainContent = false;
260
- this.trackerId = undefined;
261
- this.darkFocusState = false;
262
- }
263
- clickEventHandler() {
264
- this.clickEvent.emit();
265
- }
266
- componentWillLoad() {
267
- CheckDarkFocusState(this, this.el);
268
- }
269
- seoCompRender() {
270
- const classMap = this.getCssClassMap();
271
- const Tag = !!this.linkHref ? 'a' : 'button';
272
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
273
- const html = firstChild && firstChild.innerHTML;
274
- if (this.el == firstChild) {
275
- this.el.innerHTML = '';
276
- }
277
- if (this.maintainContent) {
278
- this.el.innerHTML = html;
279
- }
280
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(TagType, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), h("span", { innerHTML: html }, h("slot", { name: "slot-before-text" }), h("slot", { name: "slot-after-text" }))))));
281
- }
282
- standardRender() {
283
- const classMap = this.getCssClassMap();
284
- const Tag = !!this.linkHref ? 'a' : 'button';
285
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
286
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
287
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" }))))));
288
- }
289
- render() {
290
- if (this.seoCompatibilityMode) {
291
- return this.seoCompRender();
292
- }
293
- else {
294
- return this.standardRender();
295
- }
296
- }
297
- getCssClassMap() {
298
- return {
299
- [this.color]: true,
300
- [this.iconAnimation]: true,
301
- [this.iconPosition]: true,
302
- ['disabled']: this.disabled ? true : false,
303
- ['active']: this.active ? true : false,
304
- [this.textAlign]: true,
305
- [this.size]: true,
306
- ['acc-alt-style']: this.enableAccessibilityAltStyle,
307
- ['focus-state-dark-background']: this.darkFocusState
308
- };
309
- }
310
- get el() { return getElement(this); }
311
- };
312
- PtcButton.style = ptcButtonCss;
313
-
314
- const ptcNavSkipToContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .skip-link{position:fixed;top:-200px}:host .skip-link:focus{top:0;display:block;padding:8px 12px;text-align:center;margin:8px;border-radius:var(--ptc-border-radius-standard);outline:5px solid #003DD6;background:#FFF;z-index:99999;box-shadow:var(--ptc-shadow-medium);text-decoration:none;color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p)}:host(.appended){position:relative}:host(.appended) .skip-link:focus{position:absolute}";
315
-
316
- const PtcNavSkipToContent = class {
317
- constructor(hostRef) {
318
- registerInstance(this, hostRef);
319
- this.escalated = false;
320
- this.hideOnScroll = () => {
321
- var _a, _b;
322
- let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('a.skip-link');
323
- skipLink === null || skipLink === void 0 ? void 0 : skipLink.blur();
324
- };
325
- this.escalateOnDom = () => {
326
- if (this.appendSelector) {
327
- const elem = document.querySelector(this.appendSelector);
328
- const host = this.hostEle;
329
- if (elem) {
330
- elem.insertAdjacentElement('afterbegin', this.hostEle);
331
- host.classList.add('appended');
332
- this.escalated = true;
333
- }
334
- }
335
- if (!this.escalated) {
336
- const body = document.querySelector('body');
337
- body.insertAdjacentElement('afterbegin', this.hostEle);
338
- }
339
- };
340
- this.offsetCta = () => {
341
- const link = this.hostEle.shadowRoot.querySelector('.skip-link');
342
- link.style.left = `${this.xOffset}px`;
343
- link.style.top = `${this.yOffset}px`;
344
- };
345
- this.componentWillLoad = () => {
346
- this.escalateOnDom();
347
- window.addEventListener('scroll', this.hideOnScroll);
348
- };
349
- this.componentDidLoad = () => {
350
- if (this.appendSelector) {
351
- this.offsetCta();
352
- }
353
- };
354
- this.disconnectedCallback = () => {
355
- window.removeEventListener('scroll', this.hideOnScroll);
356
- };
357
- this.buttonText = "Skip To Main Content";
358
- this.sectionId = "";
359
- this.appendSelector = undefined;
360
- this.xOffset = undefined;
361
- this.yOffset = undefined;
362
- }
363
- scrollToSection(e) {
364
- e.preventDefault();
365
- const section = document.getElementById(this.sectionId);
366
- if (section) {
367
- section.scrollIntoView({ behavior: 'smooth' });
368
- }
369
- }
370
- render() {
371
- return (h(Host, null, h("slot", null), h("a", { tabindex: 0, class: "skip-link", href: "", "aria-label": "Skip to main content", onClick: (e) => this.scrollToSection(e) }, this.buttonText)));
372
- }
373
- get hostEle() { return getElement(this); }
374
- };
375
- PtcNavSkipToContent.style = ptcNavSkipToContentCss;
376
-
377
- 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.primary-green{color:var(--color-green-06)}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}}";
378
-
379
- const PtcPara = class {
380
- constructor(hostRef) {
381
- registerInstance(this, hostRef);
382
- this.fontSize = 'x-small';
383
- this.fontWeight = 'w-4';
384
- this.paraStyle = 'default';
385
- this.paraColor = 'primary-grey';
386
- this.paraLineH = 'line-height-normal';
387
- this.paraMargin = undefined;
388
- this.paraAlign = undefined;
389
- this.ellipsisLineCutoff = undefined;
390
- this.paraZIndex = undefined;
391
- this.styles = undefined;
392
- this.seoCompatibilityMode = false;
393
- this.tooltipZIndex = 'auto';
394
- this.tooltipPosition = 'bottom';
395
- this.tooltipTheme = 'standard';
396
- this.enableTooltip = false;
397
- this.maxChars = undefined;
398
- this.maxLines = undefined;
399
- this.hideTooltipOnMobile = false;
400
- this.ismob = undefined;
401
- this.noOverflow = false;
402
- this.tooltipWidth = 'default';
403
- }
404
- // Tooltip Properties ends
405
- render() {
406
- if (this.seoCompatibilityMode) {
407
- seoSlotReset(this.el);
408
- }
409
- return this.standardRender();
410
- }
411
- //tooltip code
412
- getSortedText(content) {
413
- if (!this.enableTooltip)
414
- return;
415
- const trimmedContent = content.trim();
416
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
417
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
418
- }
419
- componentDidLoad() {
420
- if (this.hideTooltipOnMobile) {
421
- this.el.classList.add('hide-tooltip-on-mobile');
422
- }
423
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
424
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
425
- if (this.enableTooltip) {
426
- let paraContent = this.el.innerText || this.el.textContent;
427
- this.tooltipText = paraContent.trim();
428
- this.el.innerText = this.getSortedText(paraContent);
429
- }
430
- }
431
- toggleTitleTooltip(show) {
432
- const tooltipClass = 'tooltip-box';
433
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
434
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
435
- let maxLinesShowCheck = false;
436
- if (text) {
437
- text.forEach(t => {
438
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
439
- });
440
- }
441
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
442
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
443
- if (show && this.enableTooltip) {
444
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
445
- const tooltipMarkup = document.createElement('div');
446
- tooltipMarkup.className = tooltipClass;
447
- tooltipMarkup.innerText = this.tooltipText;
448
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
449
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
450
- if (this.hideTooltipOnMobile) {
451
- tooltipMarkup.classList.add('hide-tooltip-mobile');
452
- }
453
- this.el.appendChild(tooltipMarkup);
454
- }
455
- }
456
- else {
457
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
458
- }
459
- }
460
- //tooltip code ends
461
- standardRender() {
462
- const classMap = this.getCssClassMap();
463
- const colorClass = this.addWhiteClass();
464
- const cutOff = this.getLineCuttoff();
465
- return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
466
- }
467
- getCssClassMap() {
468
- return {
469
- [this.fontSize]: true,
470
- [this.fontWeight]: true,
471
- [this.paraStyle]: true,
472
- [this.paraMargin]: !!this.paraMargin ? true : false,
473
- [this.paraColor]: true,
474
- [this.paraLineH]: true,
475
- [this.paraAlign]: !!this.paraAlign ? true : false,
476
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
477
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
478
- };
479
- }
480
- //WEB-2392
481
- addWhiteClass() {
482
- if (this.paraColor == 'white') {
483
- return {
484
- [this.paraColor]: true,
485
- };
486
- }
487
- }
488
- getLineCuttoff() {
489
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
490
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
491
- }
492
- get el() { return getElement(this); }
493
- };
494
- PtcPara.style = ptcParaCss;
495
-
496
- 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{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.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}";
497
-
498
- const PtcPicture = class {
499
- constructor(hostRef) {
500
- registerInstance(this, hostRef);
501
- this.src = undefined;
502
- this.alt = 'image';
503
- this.sizeXs = '510x340';
504
- this.sizeSm = '1240x496';
505
- this.sizeMd = '1366x500';
506
- this.sizeLg = '1920x1080';
507
- this.disableResize = false;
508
- this.oldSrc = undefined;
509
- this.imagePosition = 'static';
510
- this.borderRadius = undefined;
511
- this.height = undefined;
512
- this.width = undefined;
513
- this.objectFit = 'cover';
514
- this.isFullHeight = false;
515
- this.isFullWidth = false;
516
- this.styles = undefined;
517
- this.imageAlignment = 'left';
518
- this.maxWidth = undefined;
519
- this.displayImage = 'block';
520
- }
521
- WindowResize() {
522
- this.addIntersectionObserver();
523
- }
524
- componentWillLoad() {
525
- if (this.disableResize) {
526
- this.sizeXs = undefined;
527
- this.sizeSm = undefined;
528
- this.sizeMd = undefined;
529
- this.sizeLg = undefined;
530
- }
531
- }
532
- componentDidLoad() {
533
- this.addIntersectionObserver();
534
- }
535
- componentWillUpdate() {
536
- if (this.src !== this.oldSrc) {
537
- this.addIntersectionObserver();
538
- }
539
- this.oldSrc = this.src;
540
- }
541
- //lazy-loading
542
- addIntersectionObserver() {
543
- if (!this.src) {
544
- return;
545
- }
546
- if ('IntersectionObserver' in window) {
547
- let lazyLoadImages = new IntersectionObserver(entries => {
548
- entries.forEach(entry => {
549
- if (entry.isIntersecting) {
550
- const image = this.el.shadowRoot.querySelector('img');
551
- image.src = this.setResponsiveBg();
552
- lazyLoadImages.unobserve(image);
553
- }
554
- });
555
- });
556
- let tempImg = this.el.shadowRoot.querySelector('img');
557
- if (tempImg) {
558
- lazyLoadImages.observe(tempImg);
559
- }
560
- }
561
- else {
562
- // fall back to setTimeout for Safari and IE
563
- setTimeout(() => {
564
- const image = this.el.shadowRoot.querySelector('img');
565
- image.src = this.setResponsiveBg();
566
- image.onload = () => {
567
- image.removeAttribute('data-src');
568
- };
569
- }, 5000);
570
- }
571
- }
572
- //responsive image
573
- setResponsiveBg() {
574
- // Define local variables
575
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
576
- for (var i = 0, len = backgrounds.length; i < len; i++) {
577
- // Set current variables
578
- el = backgrounds[i];
579
- elData = el.getAttribute('data-' + currentBreakpoint);
580
- if (elData !== null) {
581
- return elData;
582
- }
583
- else {
584
- if (typeof console == 'object') {
585
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
586
- }
587
- }
588
- }
589
- }
590
- render() {
591
- const classMap = this.getCssClassMap();
592
- const classMapHost = this.getCssClassMapHost();
593
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.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 ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
594
- }
595
- getCurrentBreakPoints() {
596
- // Define local variables
597
- let doc = window.document, temp = doc.createElement('div'), env;
598
- // Append test node
599
- doc.body.appendChild(temp);
600
- // Loop through breakpoints
601
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
602
- env = ResponsivePictureVariables.envs[i];
603
- // Add classes
604
- temp.className = 'hidden-' + env;
605
- // Found breakpoint
606
- if (temp.offsetParent === null) {
607
- // Remove our test node
608
- doc.body.removeChild(temp);
609
- // Return current breakpoint
610
- return env;
611
- }
612
- }
613
- // Breakpoint not found, try fallback
614
- doc.body.removeChild(temp);
615
- return this.getFallbackBreakpoint();
616
- }
617
- getFallbackBreakpoint() {
618
- if (window.matchMedia('(min-width: 992px)').matches) {
619
- return 'lg';
620
- }
621
- else if (window.matchMedia('(min-width: 768px)').matches) {
622
- return 'md';
623
- }
624
- else if (window.matchMedia('(min-width: 576px)').matches) {
625
- return 'sm';
626
- }
627
- else {
628
- return 'xs';
629
- }
630
- }
631
- getCssClassMap() {
632
- return {
633
- [this.borderRadius]: this.borderRadius ? true : false,
634
- [this.objectFit]: true,
635
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
636
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
637
- [this.displayImage]: true
638
- };
639
- }
640
- getCssClassMapHost() {
641
- return {
642
- [this.imagePosition]: true,
643
- [this.imageAlignment]: true,
644
- };
645
- }
646
- get el() { return getElement(this); }
647
- };
648
- PtcPicture.style = ptcPictureCss;
649
-
650
- const ptcProductCardCss = "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}}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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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)}.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;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);margin-bottom:var(--ptc-layout-spacing-03)}:host .card-wrap{display:flex;align-items:center}:host .card-wrap ptc-picture{display:none}@media only screen and (min-width: 768px){:host .card-wrap ptc-picture{display:block;margin-left:var(--ptc-element-spacing-06);min-width:38px;max-width:38px}}:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04)}@media only screen and (min-width: 768px){:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) 44px}}@media only screen and (min-width: 1200px){:host .card-wrap .content{display:flex;align-items:center;justify-content:space-between;width:100%}}:host .card-wrap .content .cta-wrap{margin-left:0;margin-top:24px;min-width:146px;text-align:left}@media only screen and (min-width: 1200px){:host .card-wrap .content .cta-wrap{margin-top:0px;margin-left:44px;text-align:right}}:host .toggle-btn{padding:16px;text-align:center;border-top:1px solid var(--color-gray-04);display:block;cursor:pointer}:host .toggle-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .toggle-btn svg{margin-right:var(--ptc-element-spacing-03);vertical-align:middle;margin-top:-2px}:host .toggle-btn .toggleText::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"18\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.953 4.23535H8.04712V8.04712H4.23535V9.953H8.04712V13.7648H9.953V9.953H13.7648V8.04712H9.953V4.23535Z\" fill=\"white\"/></svg>');margin-right:12px;vertical-align:middle;margin-top:-2px}:host .product-highlights-container{padding:0px 20px 16px 20px;display:none}:host(.has-opened) .toggleText::before{background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.632812\" width=\"17.9798\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><g clip-path=\"url(%23clip0_220_1413)\"><path d=\"M4.86328 7.98749V10.0125H14.382V7.98749H4.86328Z\" fill=\"white\"/></g><defs><clipPath id=\"clip0_220_1413\"><rect width=\"9.51872\" height=\"9.52941\" fill=\"white\" transform=\"translate(4.86328 4.23529)\"/></clipPath></defs></svg>')}:host(.has-opened) .product-highlights-container{display:block}";
651
-
652
- const PtcProductCard = class {
653
- constructor(hostRef) {
654
- registerInstance(this, hostRef);
655
- this.cardImage = undefined;
656
- this.cardImageAltText = undefined;
657
- this.cardDescription = undefined;
658
- this.cardCtaText = undefined;
659
- this.toggleCtaTitle = undefined;
660
- this.isOpen = false;
661
- this.isSlotEmpty = undefined;
662
- }
663
- togglePanel() {
664
- this.isOpen = !this.isOpen;
665
- }
666
- handleReadmoreToggle(event) {
667
- const siblingCards = Array.from(this.hostElement.querySelectorAll('.ptc-product-highlight-card'));
668
- siblingCards.forEach((card) => {
669
- var _a, _b;
670
- const readmoreComponent = card === null || card === void 0 ? void 0 : card.querySelector('ptc-readmore');
671
- const rmText = (_a = readmoreComponent.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.read-more-text');
672
- const isReadMore = rmText.scrollHeight > rmText.clientHeight;
673
- const rmCheckbox = (_b = readmoreComponent.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('#expanded');
674
- if (readmoreComponent && readmoreComponent !== event.detail.sender) {
675
- // Update the sibling readmore component
676
- rmCheckbox.checked = event.detail.isExpanded;
677
- // Trigger the update programmatically
678
- const cta = readmoreComponent.shadowRoot.querySelector('.read-more-cta-label');
679
- if (cta) {
680
- event.detail.isExpanded
681
- ? cta.innerHTML = `<span>${readmoreComponent.lessText || ''}</span>`
682
- : cta.innerHTML = `<span>${readmoreComponent.moreText || ''}</span>`;
683
- if (event.detail.isExpanded) {
684
- if (isReadMore) {
685
- cta.classList.add('show-less-cta');
686
- }
687
- }
688
- else {
689
- cta.classList.remove('show-less-cta');
690
- }
691
- }
692
- rmText.classList[isReadMore ? 'add' : 'remove']('truncated');
693
- }
694
- });
695
- }
696
- render() {
697
- return (h(Host, null, h("div", { class: "card-wrap" }, this.cardImage &&
698
- h("ptc-picture", { alt: "image-test", src: this.cardImage, "display-image": "inline-block", width: '38' }), h("div", { class: "content" }, h("div", null, h("slot", { name: "title" }), h("ptc-spacer", { size: "x-small" }), h("ptc-spacer", { size: "xx-small", breakpoint: "x-small" }), h("div", null, h("slot", { name: "content" }))), h("div", { class: 'cta-wrap' }, h("slot", { name: "cta" })))), this.toggleCtaTitle &&
699
- h("ptc-para", { class: "toggle-btn mf-listen", "font-size": "small", "para-margin": "margin-flush", "para-line-h": "line-height-p", "para-z-index": "z-auto", onClick: () => this.togglePanel(), tabIndex: 0 }, h("span", { class: 'toggleText' }, this.toggleCtaTitle)), h("div", { class: 'product-highlights-container' }, h("slot", null))));
700
- }
701
- get hostElement() { return getElement(this); }
702
- };
703
- PtcProductCard.style = ptcProductCardCss;
704
-
705
- const ptcProductCategoryCss = "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}}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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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)}.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;padding-bottom:var(--ptc-layout-spacing-03)}:host .category-header{margin-bottom:var(--ptc-layout-spacing-03)}:host .tooltip-box{visibility:visible;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background-color:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:var(--ptc-border-radius-standard);width:auto;height:auto;text-align:left;text-shadow:none;white-space:normal;position:absolute;z-index:999;line-height:1.5}@media only screen and (min-width: 480px){:host .tooltip-box{width:273px}}:host .tooltip-box.hide-tooltip-mobile{display:none !important}@media only screen and (min-width: 768px){:host .tooltip-box.hide-tooltip-mobile{display:block !important}}:host .tooltip-box.full-width{width:100%}:host .tooltip-box::after{content:\"\";position:absolute}:host .tooltip-box.bottom{bottom:-12px;transform:translateY(100%)}:host .tooltip-box.bottom::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.left{bottom:-12px;transform:translate(-80%, 100%)}:host .tooltip-box.left::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.right{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){:host .tooltip-box.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){:host .tooltip-box.right{transform:translate(100%, 8px) !important}}}:host .tooltip-box.right::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.top{top:-8px;transform:translateY(-100%)}:host .tooltip-box.top::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}:host .tooltip-box.bottom-right{bottom:-12px;transform:translate(100%, 100%)}:host .tooltip-box.bottom-right::after{top:1px;left:10%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.danger{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)}:host .tooltip-box.danger a{color:var(--color-hyperlink)}@media (max-width: 768px){:host .hide-tooltip-on-mobile h1,:host .hide-tooltip-on-mobile h2,:host .hide-tooltip-on-mobile h3,:host .hide-tooltip-on-mobile h4,:host .hide-tooltip-on-mobile h5,:host .hide-tooltip-on-mobile h6{-webkit-line-clamp:initial !important}}";
706
-
707
- const PtcProductCategory = class {
708
- constructor(hostRef) {
709
- registerInstance(this, hostRef);
710
- this.categoryDescription = undefined;
711
- }
712
- render() {
713
- return (h(Host, null, h("div", { class: "category-header" }, h("slot", { name: "title" }), h("ptc-spacer", { size: "x-small" }), h("ptc-spacer", { size: "x-small", breakpoint: "x-small" }), h("ptc-para", { "para-margin": "margin-flush", "font-size": "small", "para-line-h": "line-height-p", "font-weight": "w-5", "para-z-index": "z-auto", "enable-tooltip": true, "max-lines": "9", "tooltip-z-index": "999", "tooltip-width": 'full-width', "seo-compatibility-mode": true }, this.categoryDescription)), h("slot", null)));
714
- }
715
- };
716
- PtcProductCategory.style = ptcProductCategoryCss;
717
-
718
- const ptcProductDropdownCss = "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;margin-top:4px;background-color:var(--color-white)}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;width:100%;font-size:16px}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;box-sizing:border-box}:host .dropdown .dropdown-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .dropdown .dropdown-toggle .dropdown-placeholder{font-size:14px;color:var(--color-gray-07)}:host .caret{display:inline-block;vertical-align:middle}:host .dropdown-menu{position:absolute;top:100%;left:0;min-width:10rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);box-shadow:0px 2px 4px rgba(35, 43, 45, 0.3);z-index:105;max-height:400px;overflow-y:auto;width:100%;box-sizing:border-box}:host .dropdown-menu::-webkit-scrollbar{width:5px}:host .dropdown-menu::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown-menu::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .checkbox-label{display:flex;align-items:flex-start;padding:6px 16px;cursor:pointer;font-size:14px}:host .checkbox-label:first-child{padding-top:20px}:host .checkbox-label:last-child{padding-bottom:20px}:host .checkbox-label input[type=checkbox]{min-width:20px;margin-right:8px;width:20px;height:20px;margin-top:0}:host .checkbox-label input[type=checkbox]:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
719
-
720
- const PtcProductDropdown = class {
721
- constructor(hostRef) {
722
- registerInstance(this, hostRef);
723
- this.selectedValues = createEvent(this, "selectedValues", 7);
724
- this.dropdownTouched = createEvent(this, "dropdownTouched", 7);
725
- this.internalOptions = undefined;
726
- this.newOptions = undefined;
727
- this.selectedOptions = [];
728
- this.placeholder = undefined;
729
- this.isOpen = false;
730
- }
731
- parseOptions() {
732
- let options = Array.from(this.hostElement.querySelectorAll('span'));
733
- if (options) {
734
- this.internalOptions = options.map((option) => {
735
- return option.textContent;
736
- });
737
- }
738
- }
739
- toggleDropdown() {
740
- this.isOpen = !this.isOpen;
741
- this.dropdownTouched.emit({
742
- 'sender': this,
743
- 'isOpen': this.isOpen
744
- });
745
- }
746
- handleSearchResult(event) {
747
- const { sender, searchTerm } = event.detail;
748
- if (sender) {
749
- if (searchTerm === "") {
750
- this.selectedOptions = [];
751
- this.isOpen = false;
752
- }
753
- }
754
- }
755
- handleinputChanged(event) {
756
- const { sender } = event.detail;
757
- if (sender) {
758
- this.selectedOptions = [];
759
- this.isOpen = false;
760
- }
761
- }
762
- handleCheckboxChange(option) {
763
- const index = this.selectedOptions.indexOf(option);
764
- if (index > -1) {
765
- this.selectedOptions.splice(index, 1);
766
- this.selectedValues.emit({
767
- 'sender': this,
768
- 'selectedOptions': this.selectedOptions
769
- });
770
- }
771
- else {
772
- this.selectedOptions.push(option);
773
- this.selectedValues.emit({
774
- 'sender': this,
775
- 'selectedOptions': this.selectedOptions
776
- });
777
- }
778
- }
779
- componentWillLoad() {
780
- this.parseOptions();
781
- }
782
- render() {
783
- return (h(Host, null, h("div", { class: "dropdown" }, h("div", { class: "dropdown-toggle", onClick: () => this.toggleDropdown(), onKeyDown: (e) => { e.key === 'Enter' ? this.toggleDropdown() : null; }, tabIndex: 0 }, h("span", { class: "dropdown-placeholder" }, this.placeholder), h("span", { class: "caret" }, h("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z", fill: "#323B42" })))), this.isOpen && (h("div", { class: "dropdown-menu" }, this.internalOptions.map((option) => (h("label", { class: "checkbox-label" }, h("input", { type: "checkbox", checked: this.selectedOptions.includes(option), onChange: () => this.handleCheckboxChange(option) }), option)))))), h("div", { class: "hidden" }, h("slot", null))));
784
- }
785
- get hostElement() { return getElement(this); }
786
- };
787
- PtcProductDropdown.style = ptcProductDropdownCss;
788
-
789
- const ptcProductHighlightCardCss = "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}}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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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)}.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{max-width:300px;display:block;padding:18px 10px 12px 10px;border:1px solid var(--color-gray-04);border-radius:var(--ptc-border-radius-standard);margin:auto;height:100%}:host ptc-picture{min-height:100px}:host ptc-para ptc-readmore .box input~label{margin-right:0px}:host ptc-para a{color:var(--color-hyperlink)}";
790
-
791
- const PtcProductHighlightCard = class {
792
- constructor(hostRef) {
793
- registerInstance(this, hostRef);
794
- this.cardTitle = undefined;
795
- this.cardImage = undefined;
796
- this.cardImageAltText = undefined;
797
- this.moreText = 'More';
798
- this.lessText = 'Less';
799
- this.cardDescription = undefined;
800
- this.browserFirefox = false;
801
- this.currentLanguage = undefined;
802
- }
803
- render() {
804
- return (h(Host, null, h("ptc-title", { type: 'h4', upperline: "no-upperline", "title-margin": "margin-flush", "title-size": "small", "text-align": 'center' }, h("ptc-tooltip", { "text-display": "block", "text-lines": "2", "z-index": "z-999", description: this.cardTitle, position: "bottom", width: 'full-width' })), h("ptc-picture", { alt: this.cardImageAltText, src: this.cardImage, "image-alignment": "center", width: "69", "display-image": "inline-block", styles: "img{margin: 12px auto 18px auto}" }), h("ptc-para", { "font-size": "x-small", "para-margin": "margin-flush", "para-line-h": "line-height-densest", "para-align": 'left', "para-z-index": "z-auto" }, this.browserFirefox && this.currentLanguage.toLowerCase().includes("ja") ? h("slot", null) :
805
- h("ptc-readmore", { "more-text": this.moreText, "less-text": this.lessText, "visible-lines-custom": "8", "read-more-position": "left" }, h("slot", null)))));
806
- }
807
- };
808
- PtcProductHighlightCard.style = ptcProductHighlightCardCss;
809
-
810
- const ptcProductListCss = "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;padding-bottom:52px}@media only screen and (min-width: 992px){:host{padding-bottom:102px}}:host .no-result-wrap{display:none}:host .no-result-wrap.show{display:block}:host .no-result-wrap .no-result{display:flex;justify-content:center;align-items:center;min-height:160px;padding:20px;text-align:center}";
811
-
812
- const PtcProductList = class {
813
- constructor(hostRef) {
814
- registerInstance(this, hostRef);
815
- this.clearCtaClicked = createEvent(this, "clearCtaClicked", 7);
816
- this.emptyTitle = undefined;
817
- this.emptySubTitle = undefined;
818
- this.clearButtonLabel = undefined;
819
- }
820
- handleSearchResult(event) {
821
- const { sender, searchTerm } = event.detail;
822
- if (sender) {
823
- this.sortCards(searchTerm);
824
- }
825
- }
826
- handleMultipleSearchResult(event) {
827
- const { sender, selectedOptions } = event.detail;
828
- if (sender) {
829
- this.sortMultipleCards(selectedOptions);
830
- }
831
- }
832
- handleEmptyResult(event) {
833
- const { sender, searchTerm } = event.detail;
834
- if (sender) {
835
- this.noresultSection.classList.add('show');
836
- this.sortCards(searchTerm);
837
- }
838
- }
839
- sortMultipleCards(searchItems) {
840
- const categoryList = Array.from(this.hostElement.querySelectorAll('ptc-product-category'));
841
- categoryList.forEach((category) => {
842
- const categoryTitle = category.getAttribute('category-title');
843
- const productList = Array.from(category.querySelectorAll('ptc-product-card'));
844
- if (searchItems.length > 0) {
845
- const shouldDisplayCategory = searchItems.some(searchItem => categoryTitle && categoryTitle.includes(searchItem));
846
- category.style.display = shouldDisplayCategory ? 'block' : 'none';
847
- if (shouldDisplayCategory) {
848
- productList.forEach(product => {
849
- product.style.display = 'block';
850
- });
851
- }
852
- else {
853
- productList.forEach(product => {
854
- const productTitle = product.getAttribute('card-title');
855
- const shouldDisplayProduct = searchItems.some(searchItem => productTitle && productTitle.includes(searchItem));
856
- product.style.display = shouldDisplayProduct ? 'block' : 'none';
857
- });
858
- }
859
- }
860
- else {
861
- category.style.display = 'block';
862
- productList.forEach(product => {
863
- product.style.display = 'block';
864
- });
865
- }
866
- });
867
- }
868
- // Sorting the
869
- sortCards(searchItem) {
870
- const categoryList = this.hostElement.querySelectorAll('ptc-product-category');
871
- categoryList.forEach((category) => {
872
- const categoryTitle = category.getAttribute('category-title');
873
- const productList = category.querySelectorAll('ptc-product-card');
874
- category.style.display = 'none';
875
- if (searchItem === '') {
876
- category.style.display = 'block';
877
- productList.forEach(product => {
878
- product.style.display = 'block';
879
- });
880
- this.noresultSection.classList.remove('show');
881
- }
882
- else {
883
- const searchItemLowerCase = searchItem; //
884
- if (searchItemLowerCase === categoryTitle) {
885
- category.style.display = 'block';
886
- productList.forEach(product => {
887
- product.style.display = 'block';
888
- });
889
- }
890
- else {
891
- productList.forEach(product => {
892
- const productTitle = product.getAttribute('card-title');
893
- product.style.display = 'none';
894
- if (searchItemLowerCase === productTitle) {
895
- product.style.display = 'block';
896
- category.style.display = 'block';
897
- }
898
- });
899
- }
900
- }
901
- });
902
- }
903
- componentDidLoad() {
904
- this.addIds();
905
- this.noresultSection = this.hostElement.shadowRoot.querySelector('.no-result-wrap');
906
- this.productList = this.hostElement.shadowRoot.querySelector('.product-list');
907
- const productCards = this.hostElement.querySelectorAll('ptc-product-category ptc-product-card');
908
- productCards.forEach(card => {
909
- const toggleBtn = (card.shadowRoot).querySelector('.toggle-btn');
910
- if (toggleBtn) {
911
- const handleToggle = () => {
912
- if (card.classList.contains('has-opened')) {
913
- card.classList.remove('has-opened');
914
- }
915
- else {
916
- card.classList.add('has-opened');
917
- }
918
- this.hideAllCards(card);
919
- };
920
- toggleBtn.addEventListener('click', handleToggle);
921
- toggleBtn.addEventListener('keydown', (event) => {
922
- if (event.key === 'Enter') {
923
- handleToggle();
924
- }
925
- });
926
- }
927
- });
928
- }
929
- hideAllCards(selectedCard) {
930
- const productCards = this.hostElement.querySelectorAll('ptc-product-category ptc-product-card');
931
- productCards.forEach(card => {
932
- if (selectedCard != card) {
933
- card.classList.remove('has-opened');
934
- }
935
- });
936
- }
937
- handleClick(event) {
938
- this.clearCtaClicked.emit({
939
- 'sender': this,
940
- 'event': event,
941
- });
942
- }
943
- // Adding id to the category and product cards
944
- addIds() {
945
- const categoryList = this.hostElement.querySelectorAll('ptc-product-category');
946
- categoryList.forEach((category) => {
947
- const categoryTitle = category.getAttribute('category-title');
948
- category.setAttribute('id', categoryTitle);
949
- const productList = category.querySelectorAll('ptc-product-card');
950
- productList.forEach(product => {
951
- const productTitle = product.getAttribute('card-title');
952
- product.setAttribute('id', productTitle);
953
- });
954
- });
955
- }
956
- render() {
957
- return (h(Host, null, h("div", { class: "product-list" }, h("slot", null)), h("div", { class: "no-result-wrap" }, h("div", { class: "no-result" }, h("div", null, h("ptc-title", { type: 'h3', "title-margin": "margin-flush", upperline: 'no-upperline', "title-size": "large" }, this.emptyTitle || "No Results Found"), h("ptc-para", { "font-size": "x-small" }, this.emptySubTitle || "Try changing or removing some of your filters"), h("ptc-button", { type: "link", color: "ptc-quaternary", target: "_blank", onClick: (e) => { this.handleClick(e); } }, this.clearButtonLabel || "Clear Filters"))))));
958
- }
959
- get hostElement() { return getElement(this); }
960
- };
961
- PtcProductList.style = ptcProductListCss;
962
-
963
- const ptcProductSidebarCss = "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 .hide{display:none !important}:host .white-box{padding:12px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard)}:host .sort-wrap{display:block}@media only screen and (min-width: 768px){:host .sort-wrap{display:flex;justify-content:space-between}}@media only screen and (min-width: 992px){:host .sort-wrap{display:block}}:host .filter-result-wrap label{font-size:var(--ptc-font-size-xx-small);font-weight:600}@media only screen and (min-width: 992px){:host .filter-result-wrap label{font-size:var(--ptc-font-size-x-small)}}:host .filter-result-wrap .result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}@media only screen and (min-width: 992px){:host .filter-result-wrap .result-header{margin-bottom:26px}}:host .filter-result-wrap .result-header .clear-cta{cursor:pointer;display:none;color:var(--color-gray-07);font-size:var(--ptc-font-size-x-small);text-decoration:underline}:host .filter-result-wrap .result-header .clear-cta:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .filter-result-wrap .result-header .clear-cta.show{display:block}:host .filter-result-wrap .typeahead-input{box-sizing:border-box;margin-bottom:14px;width:100%;margin-right:0}@media only screen and (min-width: 768px){:host .filter-result-wrap .typeahead-input{margin-right:40px}}@media only screen and (min-width: 992px){:host .filter-result-wrap .typeahead-input{margin-right:0}}:host .filter-result-wrap .typeahead-input .input-wrap{position:relative}:host .filter-result-wrap .typeahead-input .input-wrap svg{position:absolute;left:8px;top:8px}:host .filter-result-wrap .typeahead-input .input-wrap input{margin-top:4px;padding:8px 8px 8px 34px;display:block;width:100%;box-sizing:border-box;border:1px solid var(--color-gray-03);font-size:14px}:host .filter-result-wrap .typeahead-input .input-wrap input:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .filter-result-wrap .typeahead-input .suggestion-wrap{position:relative;width:100%}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions{border:1px solid var(--color-gray-03);box-shadow:0px 2px 4px rgba(35, 43, 45, 0.3);background-color:var(--color-white);position:absolute;z-index:105;top:0;margin:0;width:100%;box-sizing:border-box;padding:0;max-height:400px;overflow-y:auto}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar{width:5px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li{list-style:none;padding:10px 16px;cursor:pointer;display:block;font-size:14px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:first-child{padding-top:20px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:last-child{padding-bottom:20px}:host .filter-result-wrap .dropdwon-filter{margin-bottom:10px;width:100%}:host .product-list-wrap{display:none}@media only screen and (min-width: 992px){:host .product-list-wrap{display:block}}:host .product-list-wrap .category-list{display:block;padding:12px 4px;font-size:var(--ptc-font-size-x-small)}:host .product-list-wrap .category-list ptc-para{padding-bottom:4px;display:block}:host .product-list-wrap .category-list ul{padding-left:20px;margin:0}";
964
-
965
- const PtcProductSidebar = class {
966
- constructor(hostRef) {
967
- registerInstance(this, hostRef);
968
- this.selectedResult = createEvent(this, "selectedResult", 7);
969
- this.clearsearch = createEvent(this, "clearsearch", 7);
970
- this.inputChanged = createEvent(this, "inputChanged", 7);
971
- this.emptyResult = createEvent(this, "emptyResult", 7);
972
- this.searchTerm = '';
973
- this.suggestions = [];
974
- this.filterResults = "Filter Results";
975
- this.filterText = "Filter";
976
- this.clearText = "Clear";
977
- this.technologyText = "Technology";
978
- this.jumpToProduct = "Jump to Product";
979
- this.selectTechnology = "Select a technology";
980
- this.suggestionList = [];
981
- }
982
- componentWillLoad() {
983
- this.getDomData();
984
- }
985
- componentDidLoad() {
986
- this.productListWrap = this.hostElement.shadowRoot.querySelector('.product-list-wrap');
987
- this.clearBtn = this.hostElement.shadowRoot.querySelector('.clear-cta');
988
- this.inputBox = this.hostElement.shadowRoot.querySelector('#searchBox');
989
- }
990
- // Getting category title and products list
991
- getDomData() {
992
- const categoryList = document.querySelectorAll('ptc-product-category');
993
- categoryList.forEach(category => {
994
- let categoryTitle = category.getAttribute('category-title');
995
- let categoryObject = { categoryName: categoryTitle, products: [] };
996
- this.suggestionList.push(categoryObject);
997
- let productList = category.querySelectorAll('ptc-product-card');
998
- productList.forEach(product => {
999
- let productTitle = product.getAttribute('card-title');
1000
- categoryObject.products.push(productTitle);
1001
- });
1002
- });
1003
- }
1004
- handleInputChange(event) {
1005
- const inputElement = event.target;
1006
- this.searchTerm = inputElement.value.toLocaleLowerCase();
1007
- this.clearBtn.classList.add('show');
1008
- this.getSuggestions();
1009
- this.inputChanged.emit({
1010
- 'sender': this,
1011
- 'event': event,
1012
- });
1013
- }
1014
- getSuggestions() {
1015
- const searchTerm = this.searchTerm.toLowerCase();
1016
- const suggestions = this.suggestionList.reduce((acc, item) => {
1017
- if (item.categoryName.toLowerCase().includes(searchTerm)) {
1018
- acc.push(item.categoryName); // Include the category if it matches the search term
1019
- }
1020
- const matchedProducts = item.products.filter((product) => product.toLowerCase().includes(searchTerm));
1021
- if (matchedProducts.length > 0) {
1022
- acc.push(...matchedProducts); // Include the matching products
1023
- }
1024
- return acc;
1025
- }, []);
1026
- this.suggestions = suggestions;
1027
- }
1028
- handleSelectSuggestion(suggestion, event) {
1029
- this.searchTerm = suggestion;
1030
- this.productListWrap.classList.add('hide');
1031
- this.selectedResult.emit({
1032
- 'sender': this,
1033
- 'event': event,
1034
- 'searchTerm': this.searchTerm
1035
- });
1036
- }
1037
- handleKeyUp(e) {
1038
- const inputElement = e.target;
1039
- this.searchTerm = inputElement.value.toLocaleLowerCase();
1040
- if (e.keyCode === 13 && this.suggestions.length == 0) {
1041
- this.emptyResult.emit({
1042
- 'sender': this,
1043
- 'event': e,
1044
- });
1045
- }
1046
- else if (e.key === 'Escape') {
1047
- this.clearSearch(e);
1048
- this.inputBox.focus();
1049
- }
1050
- }
1051
- handleKeyDownClearCta(e) {
1052
- if (e.key === 'Enter') {
1053
- this.clearSearch(e);
1054
- }
1055
- }
1056
- clearSearch(event) {
1057
- let input = this.hostElement.shadowRoot.querySelector('input');
1058
- this.productListWrap.classList.remove('hide');
1059
- this.clearBtn.classList.remove('show');
1060
- if (input) {
1061
- input.value = "";
1062
- }
1063
- this.suggestions = [];
1064
- this.clearsearch.emit({
1065
- 'sender': this,
1066
- 'event': event,
1067
- 'searchTerm': input.value
1068
- });
1069
- }
1070
- handleDropdownTouched(event) {
1071
- const { sender, isOpen } = event.detail;
1072
- if (sender) {
1073
- if (isOpen) {
1074
- let input = this.hostElement.shadowRoot.querySelector('input');
1075
- if (input) {
1076
- input.value = "";
1077
- }
1078
- }
1079
- }
1080
- }
1081
- handleClick() {
1082
- this.suggestions = [];
1083
- }
1084
- handleclearCtaClicked(eve) {
1085
- const { sender, event } = eve.detail;
1086
- if (sender) {
1087
- this.clearSearch(event);
1088
- }
1089
- }
1090
- handleSelectedValues(event) {
1091
- const { sender, selectedOptions } = event.detail;
1092
- if (sender) {
1093
- if (selectedOptions.length > 0) {
1094
- this.clearBtn.classList.add('show');
1095
- this.productListWrap.classList.add('hide');
1096
- }
1097
- else {
1098
- this.clearBtn.classList.remove('show');
1099
- this.productListWrap.classList.remove('hide');
1100
- }
1101
- }
1102
- }
1103
- handleSuggestionKeyDown(e, index, suggestion) {
1104
- var _a;
1105
- const listItems = (_a = e.currentTarget.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('li');
1106
- if (!listItems)
1107
- return;
1108
- if (e.key === 'Enter') {
1109
- this.handleSelectSuggestion(suggestion, e);
1110
- this.suggestions = [];
1111
- }
1112
- else if (e.key === 'Tab') {
1113
- e.preventDefault();
1114
- const isShift = e.shiftKey;
1115
- const nextIndex = isShift
1116
- ? (index - 1 + listItems.length) % listItems.length
1117
- : (index + 1) % listItems.length;
1118
- listItems[nextIndex].focus();
1119
- }
1120
- else if (e.key === 'Escape') {
1121
- this.clearSearch(e);
1122
- this.inputBox.focus();
1123
- }
1124
- }
1125
- render() {
1126
- return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.filterResults), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e), tabIndex: 0, onKeyDown: (e) => { this.handleKeyDownClearCta(e); } }, this.clearText)), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, this.filterText), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
1127
- h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion, index) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e), tabIndex: 0, onKeyDown: (e) => this.handleSuggestionKeyDown(e, index, suggestion) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, this.technologyText), h("ptc-product-dropdown", { placeholder: this.selectTechnology, id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.jumpToProduct), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
1128
- }
1129
- get hostElement() { return getElement(this); }
1130
- };
1131
- PtcProductSidebar.style = ptcProductSidebarCss;
1132
-
1133
- const ptcReadmoreCss = "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}.box input{opacity:0;position:absolute;pointer-events:none}.box .read-more-text{display:-webkit-box;-webkit-box-orient:vertical;margin:0;overflow:hidden;word-wrap:break-word}.box .line1{-webkit-line-clamp:1}.box .line2{-webkit-line-clamp:2}.box .line3{-webkit-line-clamp:3}.box .line4{-webkit-line-clamp:4}.box .line5{-webkit-line-clamp:5}.box .line10{-webkit-line-clamp:10}.box input~label{display:block;position:relative;cursor:pointer;right:0;margin-top:var(--ptc-element-spacing-02);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);text-decoration-line:underline;color:var(--color-hyperlink);text-align:right;margin-right:var(--ptc-element-spacing-07)}.box input~label.left{text-align:left}.box input~label.right{text-align:right}.box input~label.center{text-align:center;margin-right:0}.box label:focus-visible{outline:none}.box label:focus-visible span{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.box .z-auto{z-index:auto}.box .z-1{z-index:1}.box .z-2{z-index:2}.box .z-3{z-index:3}.box .z-999{z-index:999}.box input:checked+.read-more-text{-webkit-line-clamp:unset !important}.box .read-more-text:not(.truncated)~label{display:none}.box .show-less-cta{display:block !important}:host .box.add-icon .read-more-cta-label span{display:inline-block;position:relative;padding-right:var(--ptc-element-spacing-03)}:host .box.add-icon .read-more-cta-label span::after{content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300890B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E\");width:10px;height:7px;background-size:cover;position:absolute;right:-5px;bottom:7px}:host .box.add-icon .read-more-cta-label.show-less-cta span::after{transform:rotate(180deg)}:host .box.blue .read-more-cta-label{color:var(--color-hyperlink)}:host .box.gray .read-more-cta-label{color:var(--color-gray-10)}:host .box.green .read-more-cta-label{color:var(--color-green-07)}:host .box.initial .read-more-cta-label{color:initial}:host .box.small .read-more-cta-label{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}:host .box.medium .read-more-cta-label{font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p)}:host .box.large .read-more-cta-label{font-size:var(--ptc-font-size-large);line-height:var(--ptc-line-height-p)}:host .box.large.add-icon .read-more-cta-label span{padding-right:var(--ptc-element-spacing-04)}:host .box.large.add-icon .read-more-cta-label span::after{width:15px;height:10px}";
1134
-
1135
- const PtcReadmore = class {
1136
- constructor(hostRef) {
1137
- registerInstance(this, hostRef);
1138
- this.readmoreToggle = createEvent(this, "readmoreToggle", 7);
1139
- /**
1140
- * Handle keyboard interactions
1141
- */
1142
- this.handleKeyDown = (event) => {
1143
- if (event.key !== 'Enter')
1144
- return;
1145
- const checkBoxEl = this.el.shadowRoot.querySelector('#expanded');
1146
- const cta = this.el.shadowRoot.querySelector('.read-more-cta-label');
1147
- if (!checkBoxEl || !cta)
1148
- return;
1149
- checkBoxEl.checked = !checkBoxEl.checked;
1150
- const isExpanded = checkBoxEl.checked;
1151
- cta.innerHTML = `<span>${isExpanded ? this.lessText || '' : this.moreText || ''}</span>`;
1152
- cta.classList.toggle('show-less-cta', isExpanded);
1153
- if (isExpanded) {
1154
- // Focus on the first element with tabindex="-1" within 'ptc-readmore'
1155
- const firstTabIndexMinusOne = this.el.querySelector('[tabindex="-1"]');
1156
- firstTabIndexMinusOne === null || firstTabIndexMinusOne === void 0 ? void 0 : firstTabIndexMinusOne.focus();
1157
- }
1158
- else {
1159
- cta.focus();
1160
- const readMoreText = this.el.shadowRoot.querySelector('.read-more-text');
1161
- readMoreText === null || readMoreText === void 0 ? void 0 : readMoreText.classList.add('truncated');
1162
- }
1163
- this.setTabIndex();
1164
- // if lessText content is not present then add tabindex=-1 to the more/less label
1165
- if (cta.textContent == '') {
1166
- cta.setAttribute('tabindex', '-1');
1167
- }
1168
- };
1169
- this.moreText = 'read more';
1170
- this.lessText = undefined;
1171
- this.readMorePosition = 'right';
1172
- this.display = 'inline';
1173
- this.visibleLines = 'line2';
1174
- this.visibleLinesCustom = undefined;
1175
- this.zIndex = 'z-auto';
1176
- this.checked = false;
1177
- this.size = 'small';
1178
- this.isIcon = false;
1179
- this.color = 'blue';
1180
- this.isContentSlotted = false;
1181
- }
1182
- async updateReadmoreStatus() {
1183
- setTimeout(() => {
1184
- this.addBtnTruncated();
1185
- }, 100);
1186
- }
1187
- addBtnTruncated() {
1188
- const appRoot = this.el.shadowRoot;
1189
- const ps = appRoot.querySelectorAll('.read-more-text');
1190
- ps.forEach(p => {
1191
- // if (this.visibleCharacters){
1192
- // const truncatedText = p.textContent.slice(0, this.visibleCharacters);
1193
- // p.textContent = truncatedText;
1194
- // }
1195
- p.classList[p.scrollHeight > p.clientHeight ? 'add' : 'remove']('truncated');
1196
- });
1197
- }
1198
- // Created this function to initialize the truncate function on specific elements like tabs
1199
- enableAddTruncatedClass(element) {
1200
- const allTabHeaders = document.querySelectorAll(element);
1201
- for (const element of Array.from(allTabHeaders)) {
1202
- let tabHeader = element;
1203
- if (tabHeader) {
1204
- tabHeader.addEventListener('click', () => {
1205
- setTimeout(() => {
1206
- this.addBtnTruncated();
1207
- }, 100);
1208
- });
1209
- }
1210
- }
1211
- }
1212
- componentDidLoad() {
1213
- this.addBtnTruncated();
1214
- document.addEventListener("readystatechange", () => {
1215
- if (document.readyState === "complete") {
1216
- this.addBtnTruncated();
1217
- }
1218
- });
1219
- this.enableAddTruncatedClass('tab-header');
1220
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
1221
- this.enableAddTruncatedClass('ptc-product-card');
1222
- // added code for tabnavigation
1223
- setTimeout(() => {
1224
- this.setTabIndex();
1225
- }, 400);
1226
- }
1227
- setTabIndex() {
1228
- var _a, _b, _c;
1229
- //debugger
1230
- let links;
1231
- if (!this.isContentSlotted) {
1232
- links = (_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
1233
- }
1234
- else {
1235
- let slot = (_b = this.el) === null || _b === void 0 ? void 0 : _b.querySelector('slot').assignedNodes();
1236
- links = (slot[0] instanceof HTMLElement)
1237
- ? slot[0].querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')
1238
- : null;
1239
- }
1240
- let bottom = 999999;
1241
- let rects = (_c = this.el.shadowRoot.querySelector('.read-more-text')) === null || _c === void 0 ? void 0 : _c.getClientRects();
1242
- if (rects && rects.length > 0) {
1243
- bottom = rects[0].bottom;
1244
- }
1245
- if (links) {
1246
- links.forEach(link => {
1247
- let linkRects = link.getClientRects();
1248
- if (linkRects && linkRects.length > 0) {
1249
- if (linkRects[0].top < bottom) {
1250
- link.setAttribute('tabindex', '0');
1251
- }
1252
- else {
1253
- link.setAttribute('tabindex', '-1');
1254
- }
1255
- }
1256
- });
1257
- }
1258
- }
1259
- // click event handler
1260
- handleClick(event) {
1261
- var _a;
1262
- let links = (_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
1263
- this.addBtnTruncated();
1264
- // check if the input box is checked
1265
- this.checked = event.target.checked;
1266
- // Getting cta element
1267
- const cta = this.el.shadowRoot.querySelector('.read-more-cta-label');
1268
- // Updating the cta text
1269
- this.checked
1270
- ? cta.innerHTML = `<span> ${this.lessText ? this.lessText : ''} </span>`
1271
- : cta.innerHTML = `<span> ${this.moreText ? this.moreText : ''}</span>`;
1272
- this.checked ? cta.classList.add('show-less-cta') : cta.classList.remove('show-less-cta');
1273
- // Emit the state change event
1274
- this.readmoreToggle.emit({
1275
- event: event,
1276
- sender: this.el,
1277
- isExpanded: this.checked,
1278
- });
1279
- if (links) {
1280
- if (this.checked) {
1281
- links.forEach(link => {
1282
- link.setAttribute('tabindex', '0');
1283
- });
1284
- }
1285
- else {
1286
- this.setTabIndex();
1287
- }
1288
- }
1289
- }
1290
- render() {
1291
- const classMap = this.getCssClassMap();
1292
- return (h(Host, { class: this.display }, h("div", { class: classMap }, h("input", { type: "checkbox", id: "expanded", onClick: (e) => this.handleClick(e), tabIndex: -1 }), !!this.visibleLines || !!this.visibleLinesCustom ? h("p", { class: `read-more-text ${this.visibleLines}`, style: { WebkitLineClamp: `${this.visibleLinesCustom}` } }, h("slot", null)) : null, h("label", { onKeyDown: this.handleKeyDown, htmlFor: "expanded", role: "button", class: `${this.zIndex + ' ' + this.readMorePosition} read-more-cta-label mf-listen`, tabIndex: 0 }, h("span", null, this.moreText)))));
1293
- }
1294
- getCssClassMap() {
1295
- return {
1296
- ['box']: true,
1297
- [this.color]: true,
1298
- [this.size]: true,
1299
- ['add-icon']: this.isIcon
1300
- };
1301
- }
1302
- get el() { return getElement(this); }
1303
- };
1304
- PtcReadmore.style = ptcReadmoreCss;
1305
-
1306
- 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}}";
1307
-
1308
- const PtcSpacer = class {
1309
- constructor(hostRef) {
1310
- registerInstance(this, hostRef);
1311
- this.breakpoint = '';
1312
- this.size = 'medium';
1313
- this.direction = 'vertical';
1314
- }
1315
- render() {
1316
- const classMap = this.getCssClassMap();
1317
- return (h(Host, { class: classMap }));
1318
- }
1319
- getCssClassMap() {
1320
- return {
1321
- [this.size]: true,
1322
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
1323
- ['ptc-spacer-vertical']: this.direction === 'vertical',
1324
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
1325
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
1326
- ['ptc-spacer-small']: this.breakpoint === 'small',
1327
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
1328
- ['ptc-spacer-large']: this.breakpoint === 'large',
1329
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
1330
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
1331
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
1332
- };
1333
- }
1334
- };
1335
- PtcSpacer.style = ptcSpacerCss;
1336
-
1337
- 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}";
1338
-
1339
- const PtcTitle = class {
1340
- constructor(hostRef) {
1341
- registerInstance(this, hostRef);
1342
- this.isPlmHub = false;
1343
- this.type = 'h2';
1344
- this.textAlign = undefined;
1345
- this.upperline = 'dotted';
1346
- this.titleShadow = undefined;
1347
- this.titleColor = 'gray';
1348
- this.titleMargin = undefined;
1349
- this.titleWeight = undefined;
1350
- this.titleSize = undefined;
1351
- this.titleHeight = 'densest';
1352
- this.styles = undefined;
1353
- this.ellipsisLineCutoff = undefined;
1354
- this.titleDisplay = 'inline-block';
1355
- this.seoCompatibilityMode = false;
1356
- this.tooltipZIndex = 'auto';
1357
- this.tooltipPosition = 'bottom';
1358
- this.tooltipTheme = 'standard';
1359
- this.enableTooltip = false;
1360
- this.maxChars = undefined;
1361
- this.maxLines = undefined;
1362
- this.hideTooltipOnMobile = false;
1363
- this.ismob = undefined;
1364
- this.tooltipWidth = 'default';
1365
- }
1366
- // Tooltip Properties ends
1367
- componentDidLoad() {
1368
- if (this.hideTooltipOnMobile) {
1369
- this.el.classList.add('hide-tooltip-on-mobile');
1370
- }
1371
- this.el.addEventListener('mouseenter', () => this.toggleTitleTooltip(true));
1372
- this.el.addEventListener('mouseleave', () => this.toggleTitleTooltip(false));
1373
- }
1374
- render() {
1375
- if (this.seoCompatibilityMode) {
1376
- return this.seoCompRender();
1377
- }
1378
- else {
1379
- return this.standardRender();
1380
- }
1381
- }
1382
- getSortedText(content) {
1383
- if (!this.enableTooltip)
1384
- return;
1385
- const trimmedContent = content.trim();
1386
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
1387
- return shouldTruncate ? trimmedContent.slice(0, this.maxChars) + '...' : trimmedContent;
1388
- }
1389
- toggleTitleTooltip(show) {
1390
- var _a;
1391
- const tooltipClass = 'tooltip-box';
1392
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1393
- const text = this.el.querySelectorAll('.line-clamp-title');
1394
- let maxLinesShowCheck = false;
1395
- if (text) {
1396
- text.forEach(t => {
1397
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1398
- });
1399
- }
1400
- const ifCharExceeds = this.tooltipText && (this.tooltipText.length > this.maxChars) && !this.maxLines;
1401
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1402
- if (show && this.enableTooltip) {
1403
- if ((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) {
1404
- const tooltipMarkup = document.createElement('div');
1405
- tooltipMarkup.className = tooltipClass;
1406
- tooltipMarkup.innerText = this.tooltipText;
1407
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1408
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1409
- if (this.hideTooltipOnMobile) {
1410
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1411
- }
1412
- (_a = this.el.querySelector('div')) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1413
- }
1414
- }
1415
- else {
1416
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1417
- }
1418
- }
1419
- seoCompRender() {
1420
- const classMap = this.getCssClassMap();
1421
- const cutOff = this.getLineCuttoff();
1422
- const [TagType, firstChild] = getSeoTagType(this.el, this.type);
1423
- let html = firstChild && firstChild.innerHTML;
1424
- // added for tooltip
1425
- this.tooltipText = html.trim();
1426
- let eleText = firstChild && firstChild.innerText;
1427
- html = (this.enableTooltip) ? this.getSortedText(eleText) : html;
1428
- if (this.el == firstChild) {
1429
- this.el.innerHTML = '';
1430
- }
1431
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0 ? 'line-clamp-title' : '' }))));
1432
- }
1433
- standardRender() {
1434
- const classMap = this.getCssClassMap();
1435
- const cutOff = this.getLineCuttoff();
1436
- let TagType;
1437
- switch (this.type) {
1438
- case 'h1':
1439
- TagType = 'h1';
1440
- break;
1441
- case 'h3':
1442
- TagType = 'h3';
1443
- break;
1444
- case 'h4':
1445
- TagType = 'h4';
1446
- break;
1447
- case 'h5':
1448
- TagType = 'h5';
1449
- break;
1450
- case 'h6':
1451
- TagType = 'h6';
1452
- break;
1453
- default:
1454
- TagType = 'h2';
1455
- }
1456
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
1457
- }
1458
- getCssClassMap() {
1459
- return {
1460
- [this.textAlign]: !!this.textAlign ? true : false,
1461
- [this.upperline]: true,
1462
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
1463
- [this.titleMargin]: !!this.titleMargin ? true : false,
1464
- [this.titleShadow]: !!this.titleShadow ? true : false,
1465
- [this.titleWeight]: !!this.titleWeight ? true : false,
1466
- [this.titleSize]: !!this.titleSize ? true : false,
1467
- [this.titleHeight]: !!this.titleHeight ? true : false,
1468
- [this.titleColor]: !!this.titleColor ? true : false,
1469
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1470
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
1471
- };
1472
- }
1473
- getLineCuttoff() {
1474
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1475
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1476
- }
1477
- get el() { return getElement(this); }
1478
- };
1479
- PtcTitle.style = ptcTitleCss;
1480
-
1481
- 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}";
1482
-
1483
- const PtcTooltip = class {
1484
- constructor(hostRef) {
1485
- registerInstance(this, hostRef);
1486
- this.textDisplay = 'inline';
1487
- this.maxLength = 45;
1488
- this.textLines = undefined;
1489
- this.description = 'This is a tooltip text placeholder';
1490
- this.zIndex = 'z-auto';
1491
- this.position = 'bottom';
1492
- this.styles = undefined;
1493
- this.mode = 'text-only';
1494
- this.theme = 'standard';
1495
- this.width = 'default';
1496
- this.hideOnMobile = false;
1497
- this.isSmallScreen = undefined;
1498
- this.noOverflow = false;
1499
- }
1500
- addTruncatedClass() {
1501
- const appRoot = this.el;
1502
- const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
1503
- text.forEach(t => {
1504
- t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
1505
- });
1506
- }
1507
- windowResize() {
1508
- this.verifiyScreenSize();
1509
- }
1510
- verifiyScreenSize() {
1511
- this.isSmallScreen = window.innerWidth < 768;
1512
- }
1513
- // Created this function to initialize the truncate function on specific elements like tabs
1514
- enableAddTruncatedClass(element) {
1515
- const allTabHeaders = document.querySelectorAll(element);
1516
- for (const element of Array.from(allTabHeaders)) {
1517
- let tabHeader = element;
1518
- if (tabHeader) {
1519
- tabHeader.addEventListener('click', () => {
1520
- setTimeout(() => {
1521
- this.addTruncatedClass();
1522
- }, 100);
1523
- });
1524
- }
1525
- }
1526
- }
1527
- componentWillLoad() {
1528
- this.verifiyScreenSize();
1529
- }
1530
- componentDidLoad() {
1531
- //this.addTruncatedClass();
1532
- setTimeout(() => {
1533
- this.addTruncatedClass();
1534
- }, 1000);
1535
- this.enableAddTruncatedClass('tab-header');
1536
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
1537
- this.enableAddTruncatedClass('ptc-product-card');
1538
- document.addEventListener('readystatechange', () => {
1539
- if (document.readyState === 'complete') {
1540
- this.addTruncatedClass();
1541
- }
1542
- });
1543
- }
1544
- render() {
1545
- if (this.mode == 'wrapper') {
1546
- return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description && h("span", { innerHTML: this.description })))));
1547
- }
1548
- else {
1549
- const classMap = this.getCssClassMap();
1550
- const cutOff = this.getLineCuttoff();
1551
- let truncatedText = this.description.substring(0, this.maxLength);
1552
- if (this.description.length > this.maxLength) {
1553
- //const lastSpace = truncatedText.lastIndexOf(' ');
1554
- //truncatedText = truncatedText.substring(0, lastSpace);
1555
- truncatedText += '... ';
1556
- }
1557
- return (h(Host, { class: { [this.textDisplay]: true, [this.width]: true, 'no-overflow': this.noOverflow } }, this.styles && h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (h("div", null, this.description)) : (h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (h("div", { class: classMap }, truncatedText)), h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
1558
- }
1559
- }
1560
- getCssClassMap() {
1561
- return {
1562
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
1563
- ['text-ellipsis']: true,
1564
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
1565
- ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
1566
- };
1567
- }
1568
- getLineCuttoff() {
1569
- let result;
1570
- if (this.textLines && this.textLines > 0) {
1571
- result = {
1572
- ['-webkit-line-clamp']: `${this.textLines}`,
1573
- };
1574
- }
1575
- return result;
1576
- }
1577
- get el() { return getElement(this); }
1578
- };
1579
- PtcTooltip.style = ptcTooltipCss;
1580
-
1581
- export { IconAsset as icon_asset, ListItem as list_item, PtcBackToTop as ptc_back_to_top, PtcBreadcrumb as ptc_breadcrumb, PtcButton as ptc_button, PtcNavSkipToContent as ptc_nav_skip_to_content, PtcPara as ptc_para, PtcPicture as ptc_picture, PtcProductCard as ptc_product_card, PtcProductCategory as ptc_product_category, PtcProductDropdown as ptc_product_dropdown, PtcProductHighlightCard as ptc_product_highlight_card, PtcProductList as ptc_product_list, PtcProductSidebar as ptc_product_sidebar, PtcReadmore as ptc_readmore, PtcSpacer as ptc_spacer, PtcTitle as ptc_title, PtcTooltip as ptc_tooltip };