@ptcwebops/ptcw-design 6.4.8 → 6.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/cjs/{icon-asset.cjs.entry.js → icon-asset_2.cjs.entry.js} +89 -0
  2. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ptc-button.cjs.entry.js +117 -0
  5. package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-para.cjs.entry.js +139 -0
  13. package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
  14. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  15. package/dist/cjs/ptc-title.cjs.entry.js +161 -0
  16. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  18. package/dist/cjs/ptcw-design.cjs.js +1 -1
  19. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +2 -4
  20. package/dist/collection/components/ptc-card/ptc-card.css +1 -15
  21. package/dist/collection/components/ptc-card-content/ptc-card-content.css +21 -3
  22. package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -2
  23. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -1
  24. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +1 -2
  25. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +1 -2
  26. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +2 -5
  27. package/dist/collection/components/ptc-textfield/ptc-textfield.css +1 -1
  28. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +1 -2
  29. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +1 -2
  30. package/dist/custom-elements/index.js +10 -10
  31. package/dist/esm/academic-form-test.entry.js +1 -1
  32. package/dist/esm/author-listing-example.entry.js +1 -1
  33. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  34. package/dist/esm/blog-detail-layout.entry.js +2 -2
  35. package/dist/esm/blogs-search-section.entry.js +2 -2
  36. package/dist/esm/bundle-example.entry.js +1 -1
  37. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  38. package/dist/esm/buying-option-card.entry.js +1 -1
  39. package/dist/esm/buying-option-cards-slider.entry.js +1 -1
  40. package/dist/esm/dropdown-item.entry.js +1 -1
  41. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  42. package/dist/esm/embedded-form.entry.js +1 -1
  43. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  44. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  45. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  46. package/dist/esm/featured-list.entry.js +1 -1
  47. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  48. package/dist/esm/footer-form.entry.js +1 -1
  49. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  50. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  51. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  52. package/dist/esm/{icon-asset.entry.js → icon-asset_2.entry.js} +90 -2
  53. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  54. package/dist/esm/innovator-toggle-container.entry.js +3 -3
  55. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  56. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  57. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  58. package/dist/esm/list-item.entry.js +1 -1
  59. package/dist/esm/loader.js +3 -3
  60. package/dist/esm/max-width-container.entry.js +1 -1
  61. package/dist/esm/most-popular-news.entry.js +2 -2
  62. package/dist/esm/my-component.entry.js +2 -2
  63. package/dist/esm/news-search-result.entry.js +1 -1
  64. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  65. package/dist/esm/ptc-accordion.entry.js +1 -1
  66. package/dist/esm/ptc-announcement.entry.js +1 -1
  67. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  68. package/dist/esm/ptc-background-video.entry.js +2 -2
  69. package/dist/esm/ptc-badge.entry.js +1 -1
  70. package/dist/esm/ptc-bio-card.entry.js +1 -1
  71. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  72. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  73. package/dist/esm/ptc-button.entry.js +113 -0
  74. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  75. package/dist/esm/ptc-card-content.entry.js +2 -2
  76. package/dist/esm/ptc-card_2.entry.js +2 -2
  77. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  78. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  79. package/dist/esm/ptc-checkbox.entry.js +1 -1
  80. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  81. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  82. package/dist/esm/ptc-container.entry.js +1 -1
  83. package/dist/esm/ptc-countdown.entry.js +1 -1
  84. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  85. package/dist/esm/ptc-date.entry.js +1 -1
  86. package/dist/esm/ptc-dropdown.entry.js +1 -1
  87. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  88. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  89. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  90. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  91. package/dist/esm/ptc-featured-list.entry.js +1 -1
  92. package/dist/esm/ptc-filter-dropdown_4.entry.js +2 -2
  93. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  94. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  95. package/dist/esm/ptc-footer.entry.js +1 -1
  96. package/dist/esm/ptc-form-checkbox_2.entry.js +3 -3
  97. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  98. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  99. package/dist/esm/ptc-form.entry.js +1 -1
  100. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  101. package/dist/esm/ptc-hero.entry.js +1 -1
  102. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  103. package/dist/esm/ptc-homepage-video-background.entry.js +3 -3
  104. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  105. package/dist/esm/ptc-icon-card.entry.js +2 -2
  106. package/dist/esm/ptc-icon-component.entry.js +1 -1
  107. package/dist/esm/ptc-icon-list.entry.js +1 -1
  108. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  109. package/dist/esm/ptc-image-download-strip.entry.js +2 -2
  110. package/dist/esm/ptc-img.entry.js +2 -2
  111. package/dist/esm/ptc-info-tile.entry.js +1 -1
  112. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  113. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  114. package/dist/esm/ptc-link.entry.js +2 -2
  115. package/dist/esm/ptc-list.entry.js +1 -1
  116. package/dist/esm/ptc-media-card.entry.js +2 -2
  117. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  118. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  119. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  120. package/dist/esm/ptc-multi-select_2.entry.js +2 -2
  121. package/dist/esm/ptc-nav-card.entry.js +2 -2
  122. package/dist/esm/ptc-nav-link.entry.js +1 -1
  123. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  124. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  125. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  126. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  127. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  128. package/dist/esm/ptc-news.entry.js +1 -1
  129. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  130. package/dist/esm/ptc-office-locations.entry.js +1 -1
  131. package/dist/esm/ptc-overlay.entry.js +1 -1
  132. package/dist/esm/ptc-para.entry.js +135 -0
  133. package/dist/esm/ptc-picture.entry.js +181 -0
  134. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  135. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  136. package/dist/esm/ptc-preloader.entry.js +1 -1
  137. package/dist/esm/ptc-previous-url.entry.js +1 -1
  138. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  139. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  141. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  142. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  143. package/dist/esm/ptc-product-card.entry.js +1 -1
  144. package/dist/esm/ptc-product-category.entry.js +1 -1
  145. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  146. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  147. package/dist/esm/ptc-product-list.entry.js +1 -1
  148. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  149. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  150. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  151. package/dist/esm/ptc-quote.entry.js +1 -1
  152. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  153. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  154. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  155. package/dist/esm/ptc-readmore.entry.js +1 -1
  156. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  157. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  158. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  159. package/dist/esm/ptc-seo-title.entry.js +1 -1
  160. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  161. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  162. package/dist/esm/ptc-skeleton.entry.js +1 -1
  163. package/dist/esm/ptc-slit-card.entry.js +1 -1
  164. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  165. package/dist/esm/ptc-social-icons.entry.js +1 -1
  166. package/dist/esm/ptc-spacer.entry.js +34 -0
  167. package/dist/esm/ptc-span.entry.js +1 -1
  168. package/dist/esm/ptc-square-card.entry.js +1 -1
  169. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  170. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  171. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  172. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  173. package/dist/esm/ptc-subnav-v2.entry.js +1 -1
  174. package/dist/esm/ptc-subnav.entry.js +1 -1
  175. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  176. package/dist/esm/ptc-tab-list.entry.js +1 -1
  177. package/dist/esm/ptc-tab.entry.js +1 -1
  178. package/dist/esm/ptc-tabs.entry.js +1 -1
  179. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  180. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  181. package/dist/esm/ptc-title.entry.js +157 -0
  182. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  183. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  184. package/dist/esm/ptc-tooltip.entry.js +1 -1
  185. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  190. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  191. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  192. package/dist/esm/ptc-value-prop-card.entry.js +2 -2
  193. package/dist/esm/ptc-video-embed.entry.js +1 -1
  194. package/dist/esm/ptc-white-paper.entry.js +2 -2
  195. package/dist/esm/ptcw-design.js +3 -3
  196. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  197. package/dist/esm/sequential-bundle.entry.js +1 -1
  198. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  199. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  200. package/dist/esm/tab-content.entry.js +1 -1
  201. package/dist/esm/tab-header.entry.js +1 -1
  202. package/dist/esm/{utils-a64ba942.js → utils-bdd0cc16.js} +1 -1
  203. package/dist/ptcw-design/p-023bfe37.entry.js +1 -0
  204. package/dist/ptcw-design/{p-cc7d5eb7.entry.js → p-03a1e1a5.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-f0958536.entry.js → p-03e33d4a.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-46c518c8.entry.js → p-068b64a1.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-b8ee8699.entry.js → p-07b1afd5.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-58909b95.entry.js → p-07b46e6e.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
  211. package/dist/ptcw-design/p-0ec2a26d.entry.js +1 -0
  212. package/dist/ptcw-design/{p-9ef2b1e7.entry.js → p-0ed4609e.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-8aeb229a.entry.js → p-167380fc.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-72a67f13.entry.js → p-19832538.entry.js} +2 -2
  217. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-99daf693.entry.js → p-1acd3617.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-e7c00e48.entry.js → p-1b3394a7.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  221. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  222. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-9354b7fd.entry.js → p-2ba77e9d.entry.js} +1 -1
  224. package/dist/ptcw-design/p-2bc4bf65.entry.js +1 -0
  225. package/dist/ptcw-design/p-2e288e60.entry.js +1 -0
  226. package/dist/ptcw-design/p-2efd18d8.entry.js +1 -0
  227. package/dist/ptcw-design/{p-9ca635fa.entry.js → p-2f7b6437.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-50569afd.entry.js → p-2f82de8f.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-7714bbaf.entry.js → p-2fdd81d4.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-2c287230.entry.js → p-315b7885.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-2bfd8371.entry.js → p-33ead201.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-13e338a5.entry.js → p-36d6e662.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-cc652ebe.entry.js → p-384548ef.entry.js} +1 -1
  235. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  236. package/dist/ptcw-design/{p-9493dfa0.entry.js → p-3b481342.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  238. package/dist/ptcw-design/p-3c941935.entry.js +1 -0
  239. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-66ecd7b9.entry.js → p-3e13f29c.entry.js} +1 -1
  241. package/dist/ptcw-design/p-4313edfb.entry.js +1 -0
  242. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-850a6205.entry.js → p-46e31e30.entry.js} +1 -1
  244. package/dist/ptcw-design/p-47aa1583.entry.js +1 -0
  245. package/dist/ptcw-design/p-47b1ce50.entry.js +1 -0
  246. package/dist/ptcw-design/{p-757954b2.entry.js → p-522cb451.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-c4674bc8.entry.js → p-5344a1f4.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-e3867512.entry.js → p-53d2547b.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  250. package/dist/ptcw-design/p-561a622f.entry.js +1 -0
  251. package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-575c7fc0.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-62e3cd51.entry.js → p-5b00a563.entry.js} +1 -1
  253. package/dist/ptcw-design/p-5bbfd7b3.entry.js +1 -0
  254. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-56a73429.entry.js → p-60688db7.entry.js} +1 -1
  256. package/dist/ptcw-design/p-60b45ae0.entry.js +1 -0
  257. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-6251a6d6.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-f38bb337.entry.js → p-63fc38cb.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-2c8faf9a.entry.js → p-64824c59.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-567535fb.entry.js → p-674c828e.entry.js} +1 -1
  262. package/dist/ptcw-design/p-6785dc81.entry.js +1 -0
  263. package/dist/ptcw-design/{p-9063956c.entry.js → p-6d18e89c.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-1f15239e.entry.js → p-6f0dc158.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-ab4906a7.entry.js → p-6f1cc5e5.entry.js} +1 -1
  267. package/dist/ptcw-design/p-709cc1f0.entry.js +1 -0
  268. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  269. package/dist/ptcw-design/{p-bf84ecc0.entry.js → p-73293d32.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  271. package/dist/ptcw-design/p-75c8fceb.entry.js +1 -0
  272. package/dist/ptcw-design/{p-d74ccb19.entry.js → p-75d8b6ec.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-1bffeaed.entry.js → p-7815e38b.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
  275. package/dist/ptcw-design/p-79a6e764.entry.js +1 -0
  276. package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-7a9288d1.entry.js} +1 -1
  277. package/dist/ptcw-design/p-7b89a8e1.entry.js +1 -0
  278. package/dist/ptcw-design/{p-5dd538c4.entry.js → p-7c6d6a5e.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-0df868d2.entry.js → p-804dac0c.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-d77531c8.entry.js → p-81736d6a.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-ef897c5a.entry.js → p-8234aa2a.entry.js} +1 -1
  284. package/dist/ptcw-design/p-83c3d6c9.entry.js +1 -0
  285. package/dist/ptcw-design/{p-f2675bb0.entry.js → p-83dabf2e.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-1e32a493.entry.js → p-850e6e8c.entry.js} +1 -1
  287. package/dist/ptcw-design/p-87215e3a.entry.js +1 -0
  288. package/dist/ptcw-design/{p-d391c01b.entry.js → p-89da867f.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-6115c067.entry.js → p-8b6d2c59.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-15e36f30.entry.js → p-8cdcfb51.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-1c26f390.entry.js → p-908ad455.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-1d789cd7.entry.js → p-91aed34c.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-506dac1f.entry.js → p-91e5c8d4.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-b89136c6.entry.js → p-92ef47ef.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-009fbf1f.entry.js → p-933ddad2.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  298. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  299. package/dist/ptcw-design/{p-fbd9c8fc.entry.js → p-973c69d8.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  301. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  302. package/dist/ptcw-design/{p-46b47ed7.entry.js → p-9df3c31f.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-614b66d8.entry.js → p-a0d6fc14.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-4f3dea53.entry.js → p-a1dc7ae5.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-cad4b517.entry.js → p-a28ff90b.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-92ad78c5.entry.js → p-a318a793.entry.js} +1 -1
  309. package/dist/ptcw-design/p-a81833cd.entry.js +1 -0
  310. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  311. package/dist/ptcw-design/p-ac5ee682.entry.js +1 -0
  312. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-a04bedc2.entry.js → p-afb5bdb9.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-e73a1a0b.entry.js → p-b1053240.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-9fb21bdf.entry.js → p-b154bbdb.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  317. package/dist/ptcw-design/p-b3cd2410.entry.js +1 -0
  318. package/dist/ptcw-design/{p-a41c7e39.entry.js → p-b6cc4c2a.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-b19cda95.entry.js → p-b82dd7f9.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-a6731124.entry.js → p-bb86265c.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-560b05a5.entry.js → p-bca81995.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-0543c364.entry.js → p-c101aeb5.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-5af60742.entry.js → p-c7984973.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-2e6e2a9d.entry.js → p-c7a2088b.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-22cf00e7.js → p-c7e948b2.js} +1 -1
  329. package/dist/ptcw-design/{p-0c914932.entry.js → p-c80265d9.entry.js} +1 -1
  330. package/dist/ptcw-design/{p-575861b3.entry.js → p-c8de7309.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-23cb5b5b.entry.js → p-c9762c88.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-baeee2b4.entry.js → p-ca039722.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  335. package/dist/ptcw-design/p-ccea2829.entry.js +1 -0
  336. package/dist/ptcw-design/{p-98610430.entry.js → p-ce125ef2.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-927373d4.entry.js → p-cf0f6559.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-8b480abd.entry.js → p-d0013567.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-2cd2a8bd.entry.js → p-d048eede.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-c160bda4.entry.js → p-d3c11c68.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-1f0daed2.entry.js → p-d428ba40.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-d6271974.entry.js} +1 -1
  344. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  348. package/dist/ptcw-design/{p-a8504f11.entry.js → p-de663192.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-bd3d71f1.entry.js → p-e1373325.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-92e76318.entry.js → p-e1bd2c43.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-ac7b2779.entry.js → p-e249cd90.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  353. package/dist/ptcw-design/p-e65cbdb9.entry.js +1 -0
  354. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  355. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-db0fc94d.entry.js → p-e880b556.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  358. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  359. package/dist/ptcw-design/{p-5877f093.entry.js → p-ec395ae9.entry.js} +1 -1
  360. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-95efe7ee.entry.js → p-ed16b8c9.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-a8304a3e.entry.js → p-ed53cb3a.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-4f4f97a6.entry.js → p-ed5a467e.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f004e5de.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  366. package/dist/ptcw-design/{p-2a22123e.entry.js → p-f20e4230.entry.js} +1 -1
  367. package/dist/ptcw-design/{p-18d699f0.entry.js → p-f418ef26.entry.js} +1 -1
  368. package/dist/ptcw-design/{p-2b08a37d.entry.js → p-f4ae5a99.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-d8b2466d.entry.js → p-f5665cfe.entry.js} +1 -1
  370. package/dist/ptcw-design/{p-c061b32d.entry.js → p-fb0c3eeb.entry.js} +1 -1
  371. package/dist/ptcw-design/{p-ee91170c.entry.js → p-fe56e336.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-84c15835.entry.js → p-ff369ed7.entry.js} +1 -1
  373. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  374. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
  375. package/dist/types/components.d.ts +4 -2
  376. package/package.json +1 -1
  377. package/readme.md +1 -1
  378. package/dist/cjs/ptc-button_5.cjs.entry.js +0 -614
  379. package/dist/cjs/ptc-search-field.cjs.entry.js +0 -95
  380. package/dist/esm/ptc-button_5.entry.js +0 -606
  381. package/dist/esm/ptc-search-field.entry.js +0 -91
  382. package/dist/ptcw-design/p-0a86d91a.entry.js +0 -1
  383. package/dist/ptcw-design/p-37f92bb4.entry.js +0 -1
  384. package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
  385. package/dist/ptcw-design/p-456c5cbb.entry.js +0 -1
  386. package/dist/ptcw-design/p-5ca42138.entry.js +0 -1
  387. package/dist/ptcw-design/p-5cf5b9f8.entry.js +0 -1
  388. package/dist/ptcw-design/p-5e4c1edf.entry.js +0 -1
  389. package/dist/ptcw-design/p-5ec17b43.entry.js +0 -1
  390. package/dist/ptcw-design/p-60d001c8.entry.js +0 -1
  391. package/dist/ptcw-design/p-6ac4cfab.entry.js +0 -1
  392. package/dist/ptcw-design/p-7834cfee.entry.js +0 -1
  393. package/dist/ptcw-design/p-7f9a20aa.entry.js +0 -1
  394. package/dist/ptcw-design/p-7fe4d383.entry.js +0 -1
  395. package/dist/ptcw-design/p-82f766d2.entry.js +0 -1
  396. package/dist/ptcw-design/p-90f1a7af.entry.js +0 -1
  397. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  398. package/dist/ptcw-design/p-a993c0a6.entry.js +0 -1
  399. package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
  400. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  401. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  402. package/dist/ptcw-design/p-d8e29298.entry.js +0 -1
  403. package/dist/ptcw-design/p-e01173ca.entry.js +0 -1
  404. package/dist/ptcw-design/p-e0e87d61.entry.js +0 -1
  405. package/dist/ptcw-design/p-e7220c36.entry.js +0 -1
  406. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
  407. package/dist/ptcw-design/p-ff66587b.entry.js +0 -1
  408. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +0 -209
  409. package/dist/types/utils/eloqua.d.ts +0 -9
@@ -0,0 +1,139 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const utils = require('./utils-0ff09a53.js');
7
+
8
+ const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
9
+
10
+ const PtcPara = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.fontSize = "x-small";
14
+ this.fontWeight = "w-4";
15
+ this.paraStyle = "default";
16
+ this.paraColor = "primary-grey";
17
+ this.paraLineH = "line-height-normal";
18
+ this.paraMargin = undefined;
19
+ this.paraAlign = undefined;
20
+ this.ellipsisLineCutoff = undefined;
21
+ this.paraZIndex = undefined;
22
+ this.styles = undefined;
23
+ this.seoCompatibilityMode = false;
24
+ this.tooltipZIndex = "auto";
25
+ this.tooltipPosition = "bottom";
26
+ this.tooltipTheme = "standard";
27
+ this.enableTooltip = false;
28
+ this.maxChars = undefined;
29
+ this.maxLines = undefined;
30
+ this.hideTooltipOnMobile = false;
31
+ this.ismob = undefined;
32
+ this.noOverflow = false;
33
+ this.tooltipWidth = "default";
34
+ }
35
+ // Tooltip Properties ends
36
+ render() {
37
+ if (this.seoCompatibilityMode) {
38
+ utils.seoSlotReset(this.el);
39
+ }
40
+ return this.standardRender();
41
+ }
42
+ //tooltip code
43
+ getSortedText(content) {
44
+ if (!this.enableTooltip)
45
+ return;
46
+ const trimmedContent = content.trim();
47
+ const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
48
+ return shouldTruncate
49
+ ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026`
50
+ : trimmedContent;
51
+ }
52
+ componentDidLoad() {
53
+ if (this.hideTooltipOnMobile) {
54
+ this.el.classList.add("hide-tooltip-on-mobile");
55
+ }
56
+ this.el.addEventListener("mouseenter", () => {
57
+ this.toggleTitleTooltip(true);
58
+ });
59
+ this.el.addEventListener("mouseleave", () => {
60
+ this.toggleTitleTooltip(false);
61
+ });
62
+ if (this.enableTooltip) {
63
+ let paraContent = this.el.innerText || this.el.textContent;
64
+ this.tooltipText = paraContent.trim();
65
+ this.el.innerText = this.getSortedText(paraContent);
66
+ }
67
+ }
68
+ toggleTitleTooltip(show) {
69
+ const tooltipClass = "tooltip-box";
70
+ const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
71
+ const text = this.el.shadowRoot.querySelectorAll(".line-clamp-title");
72
+ let maxLinesShowCheck = false;
73
+ if (text) {
74
+ text.forEach((t) => {
75
+ maxLinesShowCheck = t.scrollHeight > t.clientHeight;
76
+ });
77
+ }
78
+ const ifCharExceeds = this.maxChars
79
+ ? this.tooltipText.length > this.maxChars && !this.maxLines
80
+ : false;
81
+ const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
82
+ if (show && this.enableTooltip) {
83
+ if (((!existingTooltip && ifCharExceeds) ||
84
+ (!existingTooltip && ifLinesExceeds)) &&
85
+ !this.noOverflow) {
86
+ const tooltipMarkup = document.createElement("div");
87
+ tooltipMarkup.className = tooltipClass;
88
+ tooltipMarkup.innerText = this.tooltipText;
89
+ tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
90
+ tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
91
+ if (this.hideTooltipOnMobile) {
92
+ tooltipMarkup.classList.add("hide-tooltip-mobile");
93
+ }
94
+ this.el.appendChild(tooltipMarkup);
95
+ }
96
+ }
97
+ else {
98
+ existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
99
+ }
100
+ }
101
+ //tooltip code ends
102
+ standardRender() {
103
+ const classMap = this.getCssClassMap();
104
+ const colorClass = this.addWhiteClass();
105
+ const cutOff = this.getLineCuttoff();
106
+ return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
107
+ }
108
+ getCssClassMap() {
109
+ return {
110
+ [this.fontSize]: true,
111
+ [this.fontWeight]: true,
112
+ [this.paraStyle]: true,
113
+ [this.paraMargin]: !!this.paraMargin ? true : false,
114
+ [this.paraColor]: true,
115
+ [this.paraLineH]: true,
116
+ [this.paraAlign]: !!this.paraAlign ? true : false,
117
+ ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
118
+ ["line-clamp-title"]: this.maxLines && this.maxLines > 0, //tooltip code,
119
+ };
120
+ }
121
+ //WEB-2392
122
+ addWhiteClass() {
123
+ if (this.paraColor == "white") {
124
+ return {
125
+ [this.paraColor]: true,
126
+ };
127
+ }
128
+ }
129
+ getLineCuttoff() {
130
+ const lineClamp = this.ellipsisLineCutoff > 0
131
+ ? this.ellipsisLineCutoff
132
+ : this.maxLines;
133
+ return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
134
+ }
135
+ get el() { return index.getElement(this); }
136
+ };
137
+ PtcPara.style = ptcParaCss;
138
+
139
+ exports.ptc_para = PtcPara;
@@ -0,0 +1,185 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const interfaces = require('./interfaces-574e6df7.js');
7
+
8
+ const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{-o-object-fit:cover;object-fit:cover}.fill{-o-object-fit:fill;object-fit:fill}.contain{-o-object-fit:contain;object-fit:contain}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.none{-o-object-fit:none;object-fit:none}.initial{-o-object-fit:initial;object-fit:initial}.inherit{-o-object-fit:inherit;object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
9
+
10
+ const PtcPicture = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.src = undefined;
14
+ this.alt = "image";
15
+ this.sizeXs = "510x340";
16
+ this.sizeSm = "1240x496";
17
+ this.sizeMd = "1366x500";
18
+ this.sizeLg = "1920x1080";
19
+ this.disableResize = false;
20
+ this.oldSrc = undefined;
21
+ this.imagePosition = "static";
22
+ this.borderRadius = undefined;
23
+ this.height = undefined;
24
+ this.width = undefined;
25
+ this.objectFit = "cover";
26
+ this.isFullHeight = false;
27
+ this.isFullWidth = false;
28
+ this.styles = undefined;
29
+ this.imageAlignment = "left";
30
+ this.maxWidth = undefined;
31
+ this.displayImage = "block";
32
+ }
33
+ WindowResize() {
34
+ this.addIntersectionObserver();
35
+ }
36
+ componentWillLoad() {
37
+ if (this.disableResize) {
38
+ this.sizeXs = undefined;
39
+ this.sizeSm = undefined;
40
+ this.sizeMd = undefined;
41
+ this.sizeLg = undefined;
42
+ }
43
+ }
44
+ componentDidLoad() {
45
+ this.addIntersectionObserver();
46
+ }
47
+ componentWillUpdate() {
48
+ if (this.src !== this.oldSrc) {
49
+ this.addIntersectionObserver();
50
+ }
51
+ this.oldSrc = this.src;
52
+ }
53
+ //lazy-loading
54
+ addIntersectionObserver() {
55
+ if (!this.src) {
56
+ return;
57
+ }
58
+ if ("IntersectionObserver" in window) {
59
+ let lazyLoadImages = new IntersectionObserver((entries) => {
60
+ entries.forEach((entry) => {
61
+ if (entry.isIntersecting) {
62
+ const image = this.el.shadowRoot.querySelector("img");
63
+ image.src = this.setResponsiveBg();
64
+ lazyLoadImages.unobserve(image);
65
+ }
66
+ });
67
+ });
68
+ let tempImg = this.el.shadowRoot.querySelector("img");
69
+ if (tempImg) {
70
+ lazyLoadImages.observe(tempImg);
71
+ }
72
+ this.observer = lazyLoadImages;
73
+ }
74
+ else {
75
+ // fall back to setTimeout for Safari and IE
76
+ setTimeout(() => {
77
+ const image = this.el.shadowRoot.querySelector("img");
78
+ image.src = this.setResponsiveBg();
79
+ image.onload = () => {
80
+ image.removeAttribute("data-src");
81
+ };
82
+ }, 5000);
83
+ }
84
+ }
85
+ //responsive image
86
+ setResponsiveBg() {
87
+ // Define local variables
88
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll("img"), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
89
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
90
+ // Set current variables
91
+ el = backgrounds[i];
92
+ elData = el.getAttribute("data-" + currentBreakpoint);
93
+ if (elData !== null) {
94
+ return elData;
95
+ }
96
+ else {
97
+ if (typeof console == "object") {
98
+ console.warn("Data attribute: data-" +
99
+ currentBreakpoint +
100
+ " not found on element:\n\n" +
101
+ el.outerHTML +
102
+ "\n\n\n");
103
+ }
104
+ }
105
+ }
106
+ }
107
+ //manually load image
108
+ async LoadImage() {
109
+ const image = this.el.shadowRoot.querySelector("img");
110
+ if (!image) {
111
+ return;
112
+ }
113
+ if (!image.src) {
114
+ image.src = this.setResponsiveBg();
115
+ image.onload = () => {
116
+ image.removeAttribute("data-src");
117
+ };
118
+ }
119
+ if (this.observer) {
120
+ this.observer.unobserve(image);
121
+ }
122
+ }
123
+ render() {
124
+ const classMap = this.getCssClassMap();
125
+ const classMapHost = this.getCssClassMapHost();
126
+ return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth
127
+ ? { maxWidth: this.maxWidth + "px" }
128
+ : {})) })), index.h("slot", null)));
129
+ }
130
+ getCurrentBreakPoints() {
131
+ // Define local variables
132
+ let doc = window.document, temp = doc.createElement("div"), env;
133
+ // Append test node
134
+ doc.body.appendChild(temp);
135
+ // Loop through breakpoints
136
+ for (let i = interfaces.ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
137
+ env = interfaces.ResponsivePictureVariables.envs[i];
138
+ // Add classes
139
+ temp.className = "hidden-" + env;
140
+ // Found breakpoint
141
+ if (temp.offsetParent === null) {
142
+ // Remove our test node
143
+ doc.body.removeChild(temp);
144
+ // Return current breakpoint
145
+ return env;
146
+ }
147
+ }
148
+ // Breakpoint not found, try fallback
149
+ doc.body.removeChild(temp);
150
+ return this.getFallbackBreakpoint();
151
+ }
152
+ getFallbackBreakpoint() {
153
+ if (window.matchMedia("(min-width: 992px)").matches) {
154
+ return "lg";
155
+ }
156
+ else if (window.matchMedia("(min-width: 768px)").matches) {
157
+ return "md";
158
+ }
159
+ else if (window.matchMedia("(min-width: 576px)").matches) {
160
+ return "sm";
161
+ }
162
+ else {
163
+ return "xs";
164
+ }
165
+ }
166
+ getCssClassMap() {
167
+ return {
168
+ [this.borderRadius]: this.borderRadius ? true : false,
169
+ [this.objectFit]: true,
170
+ [this.isFullHeight ? "is-full-height" : "is-normal-height"]: true,
171
+ [this.isFullWidth ? "is-full-width" : "is-normal-width"]: true,
172
+ [this.displayImage]: true,
173
+ };
174
+ }
175
+ getCssClassMapHost() {
176
+ return {
177
+ [this.imagePosition]: true,
178
+ [this.imageAlignment]: true,
179
+ };
180
+ }
181
+ get el() { return index.getElement(this); }
182
+ };
183
+ PtcPicture.style = ptcPictureCss;
184
+
185
+ exports.ptc_picture = PtcPicture;
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ 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}}";
8
+
9
+ const PtcSpacer = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.breakpoint = "";
13
+ this.size = "medium";
14
+ this.direction = "vertical";
15
+ }
16
+ render() {
17
+ const classMap = this.getCssClassMap();
18
+ return index.h(index.Host, { class: classMap });
19
+ }
20
+ getCssClassMap() {
21
+ return {
22
+ [this.size]: true,
23
+ ["ptc-spacer-horizontal"]: this.direction === "horizontal",
24
+ ["ptc-spacer-vertical"]: this.direction === "vertical",
25
+ ["ptc-spacer-xx-small"]: this.breakpoint === "xx-small",
26
+ ["ptc-spacer-x-small"]: this.breakpoint === "x-small",
27
+ ["ptc-spacer-small"]: this.breakpoint === "small",
28
+ ["ptc-spacer-medium"]: this.breakpoint === "medium",
29
+ ["ptc-spacer-large"]: this.breakpoint === "large",
30
+ ["ptc-spacer-x-large"]: this.breakpoint === "x-large",
31
+ ["ptc-spacer-xx-large"]: this.breakpoint === "xx-large",
32
+ ["ptc-spacer-xxx-large"]: this.breakpoint === "xxx-large",
33
+ };
34
+ }
35
+ };
36
+ PtcSpacer.style = ptcSpacerCss;
37
+
38
+ exports.ptc_spacer = PtcSpacer;
@@ -0,0 +1,161 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const utils = require('./utils-0ff09a53.js');
7
+
8
+ const 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}";
9
+
10
+ const PtcTitle = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.isPlmHub = false;
14
+ this.type = "h2";
15
+ this.textAlign = undefined;
16
+ this.upperline = "dotted";
17
+ this.titleShadow = undefined;
18
+ this.titleColor = "gray";
19
+ this.titleMargin = undefined;
20
+ this.titleWeight = undefined;
21
+ this.titleSize = undefined;
22
+ this.titleHeight = "densest";
23
+ this.styles = undefined;
24
+ this.ellipsisLineCutoff = undefined;
25
+ this.titleDisplay = "inline-block";
26
+ this.seoCompatibilityMode = false;
27
+ this.tooltipZIndex = "auto";
28
+ this.tooltipPosition = "bottom";
29
+ this.tooltipTheme = "standard";
30
+ this.enableTooltip = false;
31
+ this.maxChars = undefined;
32
+ this.maxLines = undefined;
33
+ this.hideTooltipOnMobile = false;
34
+ this.ismob = undefined;
35
+ this.tooltipWidth = "default";
36
+ }
37
+ // Tooltip Properties ends
38
+ componentDidLoad() {
39
+ if (this.hideTooltipOnMobile) {
40
+ this.el.classList.add("hide-tooltip-on-mobile");
41
+ }
42
+ this.el.addEventListener("mouseenter", () => this.toggleTitleTooltip(true));
43
+ this.el.addEventListener("mouseleave", () => this.toggleTitleTooltip(false));
44
+ }
45
+ render() {
46
+ if (this.seoCompatibilityMode) {
47
+ return this.seoCompRender();
48
+ }
49
+ else {
50
+ return this.standardRender();
51
+ }
52
+ }
53
+ getSortedText(content) {
54
+ if (!this.enableTooltip)
55
+ return;
56
+ const trimmedContent = content.trim();
57
+ const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
58
+ return shouldTruncate
59
+ ? trimmedContent.slice(0, this.maxChars) + "..."
60
+ : trimmedContent;
61
+ }
62
+ toggleTitleTooltip(show) {
63
+ var _a;
64
+ const tooltipClass = "tooltip-box";
65
+ const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
66
+ const text = this.el.querySelectorAll(".line-clamp-title");
67
+ let maxLinesShowCheck = false;
68
+ if (text) {
69
+ text.forEach((t) => {
70
+ maxLinesShowCheck = t.scrollHeight > t.clientHeight;
71
+ });
72
+ }
73
+ const ifCharExceeds = this.tooltipText &&
74
+ this.tooltipText.length > this.maxChars &&
75
+ !this.maxLines;
76
+ const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
77
+ if (show && this.enableTooltip) {
78
+ if ((!existingTooltip && ifCharExceeds) ||
79
+ (!existingTooltip && ifLinesExceeds)) {
80
+ const tooltipMarkup = document.createElement("div");
81
+ tooltipMarkup.className = tooltipClass;
82
+ tooltipMarkup.innerText = this.tooltipText;
83
+ tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
84
+ tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
85
+ if (this.hideTooltipOnMobile) {
86
+ tooltipMarkup.classList.add("hide-tooltip-mobile");
87
+ }
88
+ (_a = this.el.querySelector("div")) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
89
+ }
90
+ }
91
+ else {
92
+ existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
93
+ }
94
+ }
95
+ seoCompRender() {
96
+ const classMap = this.getCssClassMap();
97
+ const cutOff = this.getLineCuttoff();
98
+ const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
99
+ let html = firstChild && firstChild.innerHTML;
100
+ // added for tooltip
101
+ this.tooltipText = html.trim();
102
+ let eleText = firstChild && firstChild.innerText;
103
+ html = this.enableTooltip ? this.getSortedText(eleText) : html;
104
+ if (this.el == firstChild) {
105
+ this.el.innerHTML = "";
106
+ }
107
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0
108
+ ? "line-clamp-title"
109
+ : "" }))));
110
+ }
111
+ standardRender() {
112
+ const classMap = this.getCssClassMap();
113
+ const cutOff = this.getLineCuttoff();
114
+ let TagType;
115
+ switch (this.type) {
116
+ case "h1":
117
+ TagType = "h1";
118
+ break;
119
+ case "h3":
120
+ TagType = "h3";
121
+ break;
122
+ case "h4":
123
+ TagType = "h4";
124
+ break;
125
+ case "h5":
126
+ TagType = "h5";
127
+ break;
128
+ case "h6":
129
+ TagType = "h6";
130
+ break;
131
+ default:
132
+ TagType = "h2";
133
+ }
134
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
135
+ }
136
+ getCssClassMap() {
137
+ return {
138
+ [this.textAlign]: !!this.textAlign ? true : false,
139
+ [this.upperline]: true,
140
+ [this.isPlmHub ? "is-plm-hub" : "is-standard"]: true,
141
+ [this.titleMargin]: !!this.titleMargin ? true : false,
142
+ [this.titleShadow]: !!this.titleShadow ? true : false,
143
+ [this.titleWeight]: !!this.titleWeight ? true : false,
144
+ [this.titleSize]: !!this.titleSize ? true : false,
145
+ [this.titleHeight]: !!this.titleHeight ? true : false,
146
+ [this.titleColor]: !!this.titleColor ? true : false,
147
+ ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
148
+ [this.titleDisplay]: !!this.titleDisplay ? true : false,
149
+ };
150
+ }
151
+ getLineCuttoff() {
152
+ const lineClamp = this.ellipsisLineCutoff > 0
153
+ ? this.ellipsisLineCutoff
154
+ : this.maxLines;
155
+ return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
156
+ }
157
+ get el() { return index.getElement(this); }
158
+ };
159
+ PtcTitle.style = ptcTitleCss;
160
+
161
+ exports.ptc_title = PtcTitle;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
- const ptcValuePropCardCss = "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 .vp-card{display:block;position:relative;box-shadow:var(--ptc-shadow-x-large);border-radius:var(--ptc-border-radius-large);overflow:hidden;height:200px}@media only screen and (min-width: 480px){:host .vp-card{height:250px}}@media only screen and (min-width: 768px){:host .vp-card{height:300px}}@media only screen and (min-width: 992px){:host .vp-card{height:548px}}:host .vp-card .overlay{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.33);z-index:1;opacity:0;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .vp-card .caption{position:absolute;bottom:0;left:0;width:75%;text-align:center;padding:1rem;border-radius:var(--ptc-border-radius-large);border:1px solid var(--color-white);background-color:rgba(0, 0, 0, 0.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);color:var(--color-white);z-index:10;display:flex;justify-content:center;align-items:center;min-height:54px}@media only screen and (min-width: 480px){:host .vp-card .caption{width:60%}}@media only screen and (min-width: 768px){:host .vp-card .caption{width:75%}}:host .vp-card .caption ptc-para{text-decoration-color:var(--color-green-06);text-decoration-line:none;text-decoration-style:initial;text-underline-offset:5px;text-decoration-thickness:2px;transition:text-decoration-line var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .vp-card:hover .overlay{opacity:1}:host .vp-card:hover .caption ptc-para{text-decoration-line:underline}";
7
+ const ptcValuePropCardCss = "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 .vp-card{display:block;position:relative;box-shadow:var(--ptc-shadow-x-large);border-radius:var(--ptc-border-radius-large);overflow:hidden;height:200px}@media only screen and (min-width: 480px){:host .vp-card{height:250px}}@media only screen and (min-width: 768px){:host .vp-card{height:300px}}@media only screen and (min-width: 992px){:host .vp-card{height:548px}}:host .vp-card .overlay{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.33);z-index:1;opacity:0;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .vp-card .caption{position:absolute;bottom:0;left:0;width:75%;text-align:center;padding:1rem;border-radius:var(--ptc-border-radius-large);border:1px solid var(--color-white);background-color:rgba(0, 0, 0, 0.6);backdrop-filter:blur(2px);color:var(--color-white);z-index:10;display:flex;justify-content:center;align-items:center;min-height:54px}@media only screen and (min-width: 480px){:host .vp-card .caption{width:60%}}@media only screen and (min-width: 768px){:host .vp-card .caption{width:75%}}:host .vp-card .caption ptc-para{text-decoration-color:var(--color-green-06);text-decoration-line:none;text-decoration-style:initial;text-underline-offset:5px;text-decoration-thickness:2px;transition:text-decoration-line var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .vp-card:hover .overlay{opacity:1}:host .vp-card:hover .caption ptc-para{text-decoration-line:underline}";
8
8
 
9
9
  const PtcValuePropCard = class {
10
10
  constructor(hostRef) {