@ptcwebops/ptcw-design 4.6.2 → 4.6.4

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 (360) hide show
  1. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +3 -2
  2. package/dist/cjs/homepage-jumbotron.cjs.entry.js +4 -5
  3. package/dist/cjs/homepage-toggled-content.cjs.entry.js +6 -2
  4. package/dist/cjs/icon-asset_8.cjs.entry.js +617 -0
  5. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +12 -17
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/ptc-nav-card.cjs.entry.js +2 -2
  8. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +2 -2
  9. package/dist/cjs/ptcw-design.cjs.js +1 -1
  10. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +1 -0
  11. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +19 -1
  12. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -3
  13. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +11 -16
  14. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +7 -7
  15. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -0
  16. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +5 -2
  17. package/dist/collection/components/ptc-background-video/ptc-background-video.css +3 -3
  18. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +82 -32
  19. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
  20. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +172 -50
  21. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +1 -1
  22. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -0
  23. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +1 -1
  24. package/dist/custom-elements/index.js +212 -214
  25. package/dist/esm/academic-form-test.entry.js +1 -1
  26. package/dist/esm/author-listing-example.entry.js +1 -1
  27. package/dist/esm/blogs-search-section.entry.js +1 -1
  28. package/dist/esm/bundle-example.entry.js +1 -1
  29. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  30. package/dist/esm/dropdown-item.entry.js +1 -1
  31. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  32. package/dist/esm/embedded-form.entry.js +1 -1
  33. package/dist/esm/featured-list.entry.js +1 -1
  34. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  35. package/dist/esm/footer-form.entry.js +1 -1
  36. package/dist/esm/homepage-clickable-tab.entry.js +4 -3
  37. package/dist/esm/homepage-jumbotron.entry.js +5 -6
  38. package/dist/esm/homepage-toggled-content.entry.js +7 -3
  39. package/dist/esm/icon-asset_8.entry.js +606 -0
  40. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  41. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  42. package/dist/esm/jumbotron-sub-menu.entry.js +13 -18
  43. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  44. package/dist/esm/list-item.entry.js +1 -1
  45. package/dist/esm/loader.js +3 -3
  46. package/dist/esm/max-width-container.entry.js +1 -1
  47. package/dist/esm/most-popular-news.entry.js +2 -2
  48. package/dist/esm/my-component.entry.js +2 -2
  49. package/dist/esm/news-search-result.entry.js +1 -1
  50. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  51. package/dist/esm/ptc-accordion.entry.js +1 -1
  52. package/dist/esm/ptc-announcement.entry.js +1 -1
  53. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  54. package/dist/esm/ptc-badge.entry.js +1 -1
  55. package/dist/esm/ptc-bio-card.entry.js +1 -1
  56. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  57. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  58. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  59. package/dist/esm/ptc-card-content.entry.js +1 -1
  60. package/dist/esm/ptc-card_2.entry.js +1 -1
  61. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  62. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  63. package/dist/esm/ptc-checkbox.entry.js +1 -1
  64. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  65. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  66. package/dist/esm/ptc-container.entry.js +1 -1
  67. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  68. package/dist/esm/ptc-date.entry.js +1 -1
  69. package/dist/esm/ptc-dropdown.entry.js +1 -1
  70. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  71. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  72. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  73. package/dist/esm/ptc-featured-list.entry.js +1 -1
  74. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  75. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  76. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  77. package/dist/esm/ptc-footer.entry.js +1 -1
  78. package/dist/esm/ptc-form-checkbox_2.entry.js +2 -2
  79. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  80. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  81. package/dist/esm/ptc-form.entry.js +1 -1
  82. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  83. package/dist/esm/ptc-hero.entry.js +1 -1
  84. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  85. package/dist/esm/ptc-icon-card.entry.js +1 -1
  86. package/dist/esm/ptc-icon-component.entry.js +1 -1
  87. package/dist/esm/ptc-icon-list.entry.js +1 -1
  88. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  89. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  90. package/dist/esm/ptc-img.entry.js +1 -1
  91. package/dist/esm/ptc-info-tile.entry.js +1 -1
  92. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  93. package/dist/esm/ptc-link.entry.js +2 -2
  94. package/dist/esm/ptc-list.entry.js +1 -1
  95. package/dist/esm/ptc-media-card.entry.js +2 -2
  96. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  97. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  98. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  99. package/dist/esm/ptc-multi-select_2.entry.js +2 -2
  100. package/dist/esm/ptc-nav-card.entry.js +3 -3
  101. package/dist/esm/ptc-nav-link.entry.js +1 -1
  102. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  103. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  104. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  105. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  106. package/dist/esm/ptc-news.entry.js +1 -1
  107. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  108. package/dist/esm/ptc-office-locations.entry.js +1 -1
  109. package/dist/esm/ptc-overlay.entry.js +1 -1
  110. package/dist/esm/ptc-picture.entry.js +1 -1
  111. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  112. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  113. package/dist/esm/ptc-previous-url.entry.js +1 -1
  114. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  115. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  116. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  117. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  118. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  119. package/dist/esm/ptc-product-card.entry.js +1 -1
  120. package/dist/esm/ptc-product-category.entry.js +1 -1
  121. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  122. package/dist/esm/ptc-product-highlight-card.entry.js +3 -3
  123. package/dist/esm/ptc-product-list.entry.js +1 -1
  124. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  125. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  126. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  127. package/dist/esm/ptc-quote.entry.js +1 -1
  128. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  129. package/dist/esm/ptc-readmore-v2.entry.js +1 -1
  130. package/dist/esm/ptc-readmore.entry.js +1 -1
  131. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  132. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  133. package/dist/esm/ptc-search-field.entry.js +1 -1
  134. package/dist/esm/ptc-seo-title.entry.js +1 -1
  135. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  136. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  137. package/dist/esm/ptc-skeleton.entry.js +1 -1
  138. package/dist/esm/ptc-slit-card.entry.js +1 -1
  139. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  140. package/dist/esm/ptc-span.entry.js +1 -1
  141. package/dist/esm/ptc-square-card.entry.js +1 -1
  142. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  143. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  144. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  145. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  146. package/dist/esm/ptc-subnav.entry.js +1 -1
  147. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  148. package/dist/esm/ptc-tab-list.entry.js +1 -1
  149. package/dist/esm/ptc-tab.entry.js +1 -1
  150. package/dist/esm/ptc-tabs.entry.js +1 -1
  151. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  152. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  153. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  154. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  155. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  156. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  157. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  158. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  159. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  160. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  161. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  162. package/dist/esm/ptc-white-paper.entry.js +1 -1
  163. package/dist/esm/ptcw-design.js +3 -3
  164. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  165. package/dist/esm/sequential-bundle.entry.js +1 -1
  166. package/dist/esm/tab-content.entry.js +1 -1
  167. package/dist/esm/tab-header.entry.js +1 -1
  168. package/dist/esm/{utils-edb0c4d4.js → utils-4a9e39a7.js} +1 -1
  169. package/dist/ptcw-design/p-029d283d.entry.js +1 -0
  170. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-18ada6c7.entry.js → p-08f97cb8.entry.js} +1 -1
  173. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  174. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-9350bfe7.entry.js → p-0b731e31.entry.js} +1 -1
  176. package/dist/ptcw-design/{p-0d2012d1.entry.js → p-0c8de5fb.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-d32f1659.entry.js → p-0d2036aa.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-44289740.entry.js → p-102cfdc3.entry.js} +1 -1
  179. package/dist/ptcw-design/p-10db3673.entry.js +1 -0
  180. package/dist/ptcw-design/{p-c642d666.entry.js → p-1297155b.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-ee455b1d.entry.js → p-17f2c9a5.entry.js} +1 -1
  184. package/dist/ptcw-design/p-19214f49.entry.js +1 -0
  185. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  186. package/dist/ptcw-design/p-1c84cdaa.entry.js +1 -0
  187. package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
  188. package/dist/ptcw-design/{p-8743b266.entry.js → p-1e7fc98e.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-498fffc7.entry.js → p-1f5fbefd.entry.js} +1 -1
  191. package/dist/ptcw-design/p-1f94248f.entry.js +1 -0
  192. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-384c21c3.entry.js → p-25d30988.entry.js} +1 -1
  195. package/dist/ptcw-design/p-26a621ad.entry.js +1 -0
  196. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  197. package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
  198. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-d5372f07.entry.js → p-2bfcec0e.entry.js} +1 -1
  200. package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
  201. package/dist/ptcw-design/p-2f77e37a.entry.js +1 -0
  202. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-0ff0f7ee.entry.js → p-3098c8bf.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-d633a609.entry.js → p-3355e525.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-ae62e211.entry.js → p-388bab26.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-7c3aac08.entry.js → p-3c560782.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-b0b4dc96.entry.js → p-3d341d68.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-e6cd9f74.entry.js → p-41cacea3.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-bbce25be.entry.js → p-4465baea.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-eb352992.entry.js → p-4ee95521.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-057f7b20.entry.js → p-50f94166.entry.js} +1 -1
  217. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  218. package/dist/ptcw-design/{p-eb299297.entry.js → p-59c5e7e0.entry.js} +1 -1
  219. package/dist/ptcw-design/p-5b5e8973.entry.js +1 -0
  220. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-a2c257bb.entry.js → p-61334fd7.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-c11d34df.entry.js → p-619b0bf7.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-25a1d8c5.entry.js → p-62be464f.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-0b08be7d.entry.js → p-67cbd56c.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-e87b09db.entry.js → p-68643ae6.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-231e7963.entry.js → p-6bb8a838.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-2e68709e.entry.js → p-72407276.entry.js} +1 -1
  231. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  232. package/dist/ptcw-design/{p-ad7a03e7.entry.js → p-738fa39b.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-055e0d28.entry.js → p-74f53c15.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-971b8a7d.entry.js → p-78abd2fe.entry.js} +1 -1
  236. package/dist/ptcw-design/p-7964e154.entry.js +1 -0
  237. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  238. package/dist/ptcw-design/p-7da19723.entry.js +1 -0
  239. package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
  240. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-9113f580.entry.js → p-7fdaa4f7.entry.js} +1 -1
  242. package/dist/ptcw-design/p-7fdadf0d.entry.js +1 -0
  243. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-f2e65046.entry.js → p-8294fa3a.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-23d37b1e.entry.js → p-8687424d.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
  247. package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
  248. package/dist/ptcw-design/{p-d3b615a8.entry.js → p-8938268f.entry.js} +1 -1
  249. package/dist/ptcw-design/p-8ce28155.entry.js +1 -0
  250. package/dist/ptcw-design/{p-9fd952c4.entry.js → p-8d7abcdc.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-1f1510fc.entry.js → p-8ea16265.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-21a3fd97.entry.js → p-8ee9fcb6.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-ac504f89.entry.js → p-90d50eb8.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-184a4cda.entry.js → p-91efd911.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-742d7492.entry.js → p-936d475f.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  258. package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
  259. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  260. package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-1fa761c3.entry.js → p-9d88e3e4.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-f7245909.entry.js → p-ab30375a.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-57c17ddf.entry.js → p-adf6fafa.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-8ddb878c.entry.js → p-b104db40.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-62d848b1.entry.js → p-b51a1bc6.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-bcbdf9a9.js → p-b8fd8532.js} +1 -1
  278. package/dist/ptcw-design/p-b9bf864e.entry.js +1 -0
  279. package/dist/ptcw-design/{p-36fefc72.entry.js → p-b9e27110.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-15489f63.entry.js → p-ba6f14f8.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-07a4b1ca.entry.js → p-bd58f3d2.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  284. package/dist/ptcw-design/p-c0dde215.entry.js +1 -0
  285. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-adf6b11f.entry.js → p-c418918b.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-5af20305.entry.js → p-c67d0dab.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-3470e15d.entry.js → p-cb00b505.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-d1d6ea55.entry.js → p-d1a380e8.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-46c96b63.entry.js → p-d21828b3.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-5a96b4ce.entry.js → p-d2e46a8b.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-e07515d4.entry.js → p-d36b2ad5.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-8f5feb90.entry.js → p-e6f6c3c8.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-ae0543c8.entry.js → p-f8e584b4.entry.js} +1 -1
  311. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  312. package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +4 -0
  313. package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -0
  314. package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +1 -0
  315. package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +1 -0
  316. package/dist/types/components.d.ts +8 -0
  317. package/package.json +1 -1
  318. package/readme.md +1 -1
  319. package/dist/cjs/icon-asset.cjs.entry.js +0 -53
  320. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -70
  321. package/dist/cjs/ptc-button.cjs.entry.js +0 -79
  322. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +0 -146
  323. package/dist/cjs/ptc-para.cjs.entry.js +0 -70
  324. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  325. package/dist/cjs/ptc-title.cjs.entry.js +0 -99
  326. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  327. package/dist/esm/icon-asset.entry.js +0 -49
  328. package/dist/esm/ptc-background-video.entry.js +0 -66
  329. package/dist/esm/ptc-button.entry.js +0 -75
  330. package/dist/esm/ptc-homepage-video-background.entry.js +0 -142
  331. package/dist/esm/ptc-para.entry.js +0 -66
  332. package/dist/esm/ptc-spacer.entry.js +0 -34
  333. package/dist/esm/ptc-title.entry.js +0 -95
  334. package/dist/esm/ptc-tooltip.entry.js +0 -103
  335. package/dist/ptcw-design/p-0390c236.entry.js +0 -1
  336. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  337. package/dist/ptcw-design/p-1d64a5a8.entry.js +0 -1
  338. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  339. package/dist/ptcw-design/p-27ef9182.entry.js +0 -1
  340. package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
  341. package/dist/ptcw-design/p-3885c133.entry.js +0 -1
  342. package/dist/ptcw-design/p-419abbe1.entry.js +0 -1
  343. package/dist/ptcw-design/p-463097da.entry.js +0 -1
  344. package/dist/ptcw-design/p-49639b03.entry.js +0 -1
  345. package/dist/ptcw-design/p-4e1088bb.entry.js +0 -1
  346. package/dist/ptcw-design/p-509ba999.entry.js +0 -1
  347. package/dist/ptcw-design/p-62a4a1e1.entry.js +0 -1
  348. package/dist/ptcw-design/p-691a36c4.entry.js +0 -1
  349. package/dist/ptcw-design/p-7db71d63.entry.js +0 -1
  350. package/dist/ptcw-design/p-7eb22ed5.entry.js +0 -1
  351. package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
  352. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  353. package/dist/ptcw-design/p-a1415238.entry.js +0 -1
  354. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  355. package/dist/ptcw-design/p-b18d7d48.entry.js +0 -1
  356. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  357. package/dist/ptcw-design/p-d3b3d535.entry.js +0 -1
  358. package/dist/ptcw-design/p-e21f2874.entry.js +0 -1
  359. package/dist/ptcw-design/p-ed2be934.entry.js +0 -1
  360. package/dist/ptcw-design/p-f08725b9.entry.js +0 -1
@@ -1,142 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { o as observeInView } from './utils-edb0c4d4.js';
3
-
4
- const ptcHomepageVideoBackgroundCss = "h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n word-break: break-word;\n hyphens: manual;\n -webkit-hyphens: manual;\n -moz-hyphens: manual;\n -ms-hyphens: manual;\n}\n@supports (hyphenate-limit-chars: 12 3 3) {\n h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n /* For Safari */\n -webkit-hyphenate-limit-after: 3;\n /* For Safari */\n hyphenate-limit-chars: 12 3 3;\n hyphenate-limit-lines: 2;\n hyphenate-limit-last: always;\n hyphenate-limit-zone: 6%;\n -webkit-hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n -webkit-hyphenate-limit-after: 3;\n -webkit-hyphenate-limit-chars: 12 3 3;\n -webkit-hyphenate-limit-lines: 2;\n -moz-hyphens: auto;\n -moz-hyphenate-limit-chars: 12 3 3;\n -moz-hyphenate-limit-lines: 2;\n -ms-hyphens: auto;\n -ms-hyphenate-limit-chars: 12 3 3;\n -ms-hyphenate-limit-lines: 2;\n }\n}\n\n:host {\n display: block;\n position: relative;\n margin: 72px 0;\n}\n@media only screen and (min-width: 1200px) {\n :host {\n margin: 112px 0;\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n word-break: break-word;\n hyphens: manual;\n -webkit-hyphens: manual;\n -moz-hyphens: manual;\n -ms-hyphens: manual;\n}\n@supports (hyphenate-limit-chars: 12 3 3) {\n h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n /* For Safari */\n -webkit-hyphenate-limit-after: 3;\n /* For Safari */\n hyphenate-limit-chars: 12 3 3;\n hyphenate-limit-lines: 2;\n hyphenate-limit-last: always;\n hyphenate-limit-zone: 6%;\n -webkit-hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n -webkit-hyphenate-limit-after: 3;\n -webkit-hyphenate-limit-chars: 12 3 3;\n -webkit-hyphenate-limit-lines: 2;\n -moz-hyphens: auto;\n -moz-hyphenate-limit-chars: 12 3 3;\n -moz-hyphenate-limit-lines: 2;\n -ms-hyphens: auto;\n -ms-hyphenate-limit-chars: 12 3 3;\n -ms-hyphenate-limit-lines: 2;\n }\n}\n\n.primary-content-wrapper {\n max-width: 720px;\n padding: 160px 24px;\n}\n@media only screen and (min-width: 1200px) {\n .primary-content-wrapper {\n padding: 160px 32px;\n }\n}\n@media only screen and (min-width: 1440px) {\n .primary-content-wrapper {\n padding: 160px 24px;\n }\n}\n\n.bg-video {\n width: 100%;\n}\n\n.container {\n margin: auto;\n max-width: 1200px;\n position: relative;\n z-index: 20;\n min-height: 787px;\n overflow: hidden;\n}\n\n.card-links {\n margin: 0;\n padding-bottom: 88px;\n}\n.card-links .secondary-content-wrapper {\n margin: 0 24px;\n max-width: 720px;\n}\n@media only screen and (min-width: 1200px) {\n .card-links .secondary-content-wrapper {\n margin: 0 32px;\n }\n}\n@media only screen and (min-width: 1440px) {\n .card-links .secondary-content-wrapper {\n margin: 0 24px;\n }\n}\n.card-links .card-section {\n display: flex;\n position: relative;\n flex-wrap: nowrap;\n flex-shrink: 0;\n margin: 20px 0 0 0;\n white-space: nowrap;\n -ms-overflow-style: none;\n scrollbar-width: none;\n transition: box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);\n}\n.card-links .card-section::-webkit-scrollbar {\n display: none;\n}\n.card-links .card-section .card-link {\n display: inline-flex;\n position: relative;\n overflow: hidden;\n text-decoration: none;\n z-index: 10;\n align-items: center;\n gap: 16px;\n flex: 0 0 234px;\n align-self: stretch;\n border-radius: 4px 4px 0px 0px;\n border-bottom: 2px solid var(--color-blue-07);\n background: transparent;\n backdrop-filter: blur(12px);\n padding: 24px;\n word-wrap: normal;\n color: var(--color-white);\n font-family: var(--ptc-font-latin);\n font-size: var(--ptc-font-size-medium);\n font-style: var(--ptc-font-style-normal);\n font-weight: var(--ptc-font-weight-bold);\n line-height: var(--ptc-line-height-densest);\n margin: 0 12px;\n}\n.card-links .card-section .card-link:first-child {\n margin-left: 24px;\n}\n.card-links .card-section .card-link:last-child {\n margin-right: 24px;\n}\n.card-links .card-section .card-link .link-text {\n display: block;\n inline-size: 190px;\n white-space: break-spaces;\n}\n.card-links .card-section .card-link .bgb,\n.card-links .card-section .card-link .bgh,\n.card-links .card-section .card-link .bgp {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 8;\n opacity: 0;\n}\n.card-links .card-section .card-link .bgb,\n.card-links .card-section .card-link .bgh {\n transition: opacity var(--ptc-transition-medium) var(--ptc-ease-out);\n}\n.card-links .card-section .card-link .bgb {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 100.13%);\n opacity: 1;\n}\n.card-links .card-section .card-link .bgh {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.17) 100.13%);\n}\n.card-links .card-section .card-link .bgp {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.12) 100.13%);\n}\n.card-links .card-section .card-link:hover .bgb,\n.card-links .card-section .card-link:hover .bgp {\n opacity: 0;\n}\n.card-links .card-section .card-link:hover .bgh {\n opacity: 1;\n}\n.card-links .card-section .card-link:active .bgb,\n.card-links .card-section .card-link:active .bgh, .card-links .card-section .card-link.active .bgb,\n.card-links .card-section .card-link.active .bgh {\n display: none;\n opacity: 0;\n}\n.card-links .card-section .card-link:active .bgp, .card-links .card-section .card-link.active .bgp {\n opacity: 1;\n}\n.card-links .card-section:before {\n position: absolute;\n width: 32px;\n background: linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);\n top: 16px;\n right: 0;\n bottom: 0;\n z-index: 12;\n}\n.card-links .card-section.scroll-st {\n box-shadow: inset 2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n.card-links .card-section.scroll-ed {\n box-shadow: inset -2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n.card-links .card-section.scroll-ed.scroll-st {\n box-shadow: inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n@media only screen and (min-width: 1200px) {\n .card-links .card-section {\n margin: 20px 32px 0;\n align-items: flex-start;\n justify-content: flex-start;\n align-content: flex-start;\n }\n .card-links .card-section.scroll-st, .card-links .card-section.scroll-ed, .card-links .card-section.scroll-ed.scroll-st {\n box-shadow: unset;\n }\n .card-links .card-section .card-link {\n flex: unset;\n }\n .card-links .card-section .card-link:first-child {\n margin-left: 0;\n }\n .card-links .card-section .card-link:last-child {\n margin-right: 0;\n }\n}\n@media only screen and (min-width: 1440px) {\n .card-links .card-section {\n margin: 20px 24px 0;\n }\n}\n\n.card-section {\n overflow-x: visible;\n overflow-y: visible;\n animation-duration: 0ms;\n animation-delay: 1000ms;\n animation-fill-mode: forwards;\n}\n@media only screen and (min-width: 1200px) {\n .card-section {\n overflow-x: visible;\n }\n}\n.card-section .card-link {\n animation-duration: 750ms;\n animation-delay: 0ms;\n animation-fill-mode: forwards;\n opacity: 0;\n transform: translate3d(0, 30%, 0);\n}\n.card-section .card-link.card-link-1 {\n animation-delay: 0ms;\n}\n.card-section .card-link.card-link-2 {\n animation-delay: 250ms;\n}\n.card-section .card-link.card-link-3 {\n animation-delay: 500ms;\n}\n.card-section .card-link.card-link-4 {\n animation-delay: 750ms;\n}\n.card-section.in-view {\n animation-name: fadeUpInContainer;\n}\n.card-section.in-view .card-link {\n animation-name: fadeUpIn;\n}\n\n@keyframes fadeUpIn {\n 0% {\n opacity: 0;\n transform: translate3d(0, 30%, 0);\n }\n 100% {\n opacity: 1;\n transform: translateZ(0);\n }\n}\n@keyframes fadeUpInContainer {\n 0% {\n overflow: visible;\n overflow-y: visible;\n overflow-x: visible;\n @media only screen and (min-width: 1200px) {\n overflow-x: visible;\n }\n }\n 100% {\n overflow: inherit;\n overflow-y: hidden;\n overflow-x: scroll;\n @media only screen and (min-width: 1200px) {\n overflow-x: hidden;\n }\n }\n}";
5
-
6
- const PtcHomepageVideoBackground = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.videoSrc = undefined;
10
- this.posterSrc = undefined;
11
- this.overlay = true;
12
- this.playButtonTitle = undefined;
13
- this.pauseButtonTitle = undefined;
14
- this.buttonLocation = 'bottom-right';
15
- this.links = undefined;
16
- }
17
- componentWillLoad() {
18
- this.sliderSettings = {
19
- IsMouseDown: false,
20
- PreventAnchor: false,
21
- Timeout: undefined,
22
- StartX: 0,
23
- ScrollLeft: 0
24
- };
25
- this.readLinkItems();
26
- }
27
- componentDidLoad() {
28
- this.slider = this.el.shadowRoot.querySelector('.card-section');
29
- //this.slider.addEventListener('scroll', () => this.onSliderScroll());
30
- //window.addEventListener('scroll', () => this.onSliderScroll());
31
- //this.onSliderScroll();
32
- observeInView(this.el, '.card-section', true);
33
- }
34
- readLinkItems() {
35
- this.links = [];
36
- const anchors = this.el.querySelectorAll('.card-cta-links > a');
37
- anchors.forEach(a => {
38
- let link = a;
39
- if (link && this.links.length < 4) {
40
- this.links.push(link);
41
- }
42
- });
43
- }
44
- onSliderScroll() {
45
- if (this.slider.scrollLeft === 0 && this.slider.classList.contains('scroll-st')) {
46
- this.slider.classList.remove('scroll-st');
47
- }
48
- else if (this.slider.scrollLeft !== 0 && !this.slider.classList.contains('scroll-st')) {
49
- this.slider.classList.add('scroll-st');
50
- }
51
- if (this.slider.scrollLeft === (this.slider.scrollWidth - this.slider.offsetWidth) && this.slider.classList.contains('scroll-ed')) {
52
- this.slider.classList.remove('scroll-ed');
53
- }
54
- else if (this.slider.scrollLeft !== (this.slider.scrollWidth - this.slider.offsetWidth) && !this.slider.classList.contains('scroll-ed')) {
55
- this.slider.classList.add('scroll-ed');
56
- }
57
- }
58
- onLinkClick(e) {
59
- e.preventDefault();
60
- if (!this.sliderSettings.PreventAnchor) {
61
- let link = e.currentTarget;
62
- if (link && link.href) {
63
- window.location.href = link.href;
64
- }
65
- }
66
- this.sliderSettings.PreventAnchor = false;
67
- clearTimeout(this.sliderSettings.Timeout);
68
- }
69
- onSliderMouseDown(e, slider) {
70
- e.preventDefault();
71
- this.sliderSettings.IsMouseDown = true;
72
- slider.classList.add('active');
73
- this.sliderSettings.StartX = e.pageX - slider.offsetLeft;
74
- this.sliderSettings.ScrollLeft = slider.scrollLeft;
75
- this.sliderSettings.PreventAnchor = false;
76
- this.sliderSettings.Timeout = setTimeout(() => {
77
- this.sliderSettings.PreventAnchor = true;
78
- }, 80);
79
- }
80
- onSliderMouseExit(e, slider) {
81
- e.preventDefault();
82
- clearTimeout(this.sliderSettings.Timeout);
83
- this.sliderSettings.IsMouseDown = false;
84
- slider.classList.remove('active');
85
- }
86
- onSliderMouseDrag(e, slider) {
87
- if (this.sliderSettings.IsMouseDown) {
88
- e.preventDefault();
89
- const x = e.pageX - slider.offsetLeft;
90
- const walk = (x - this.sliderSettings.StartX);
91
- slider.scrollLeft = this.sliderSettings.ScrollLeft - walk;
92
- }
93
- }
94
- onCardMouseDown(e) {
95
- if (e && e.currentTarget) {
96
- let anch = e.currentTarget;
97
- if (anch) {
98
- anch.classList.add('active');
99
- }
100
- }
101
- }
102
- onCardMouseUp(e) {
103
- if (e && e.currentTarget) {
104
- let anch = e.currentTarget;
105
- if (anch) {
106
- anch.classList.remove('active');
107
- }
108
- }
109
- }
110
- render() {
111
- return (h(Host, null, h("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark' }), h("div", { class: "container" }, h("div", { class: "primary-content-wrapper" }, h("slot", { name: "primary-content" })), h("div", { class: "card-links" }, h("div", { class: "secondary-content-wrapper" }, h("slot", { name: "secondary-content" })), h("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
112
- const icon = link.getAttribute('data-icon');
113
- const text = link.textContent;
114
- if (text) {
115
- return (h("a", { class: `card-link card-link-${i + 1}`, "tab-index": i + 1, href: link.href, onClick: (e) => this.onLinkClick(e), onMouseDown: (e) => this.onCardMouseDown(e), onMouseUp: (e) => this.onCardMouseUp(e), onMouseLeave: (e) => this.onCardMouseUp(e), onTouchEnd: (e) => { console.log('yes'); this.onCardMouseUp(e); } }, h("div", { class: "bgb" }), h("div", { class: "bgh" }), h("div", { class: "bgp" }), icon && h("icon-asset", { type: "ptc", size: "large", color: 'white', name: icon }), h("span", { class: "link-text hyphenate-text" }, text.trim())));
116
- }
117
- })))))));
118
- }
119
- getBackgroundVideoSettings() {
120
- return {
121
- videoSrc: this.videoSrc,
122
- posterSrc: this.posterSrc,
123
- pauseButtonTitle: this.pauseButtonTitle,
124
- playButtonTitle: this.playButtonTitle,
125
- buttonLocation: this.buttonLocation,
126
- overlay: this.overlay,
127
- class: 'bg-video'
128
- };
129
- }
130
- getSliderBindings() {
131
- return {
132
- onMouseDown: (e) => { this.onSliderMouseDown(e, this.slider); },
133
- onMouseUp: (e) => { this.onSliderMouseExit(e, this.slider); },
134
- onMouseLeave: (e) => { this.onSliderMouseExit(e, this.slider); },
135
- onMouseMove: (e) => { this.onSliderMouseDrag(e, this.slider); }
136
- };
137
- }
138
- get el() { return getElement(this); }
139
- };
140
- PtcHomepageVideoBackground.style = ptcHomepageVideoBackgroundCss;
141
-
142
- export { PtcHomepageVideoBackground as ptc_homepage_video_background };
@@ -1,66 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { s as seoSlotReset } from './utils-edb0c4d4.js';
3
-
4
- 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(.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-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
5
-
6
- const PtcPara = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.fontSize = 'x-small';
10
- this.fontWeight = 'w-4';
11
- this.paraStyle = 'default';
12
- this.paraColor = 'primary-grey';
13
- this.paraLineH = 'line-height-normal';
14
- this.paraMargin = undefined;
15
- this.paraAlign = undefined;
16
- this.ellipsisLineCutoff = undefined;
17
- this.paraZIndex = undefined;
18
- this.styles = undefined;
19
- this.seoCompatibilityMode = false;
20
- }
21
- render() {
22
- if (this.seoCompatibilityMode) {
23
- seoSlotReset(this.el);
24
- }
25
- return this.standardRender();
26
- }
27
- standardRender() {
28
- const classMap = this.getCssClassMap();
29
- const colorClass = this.addWhiteClass();
30
- const cutOff = this.getLineCuttoff();
31
- return (h(Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
32
- }
33
- getCssClassMap() {
34
- return {
35
- [this.fontSize]: true,
36
- [this.fontWeight]: true,
37
- [this.paraStyle]: true,
38
- [this.paraMargin]: !!this.paraMargin ? true : false,
39
- [this.paraColor]: true,
40
- [this.paraLineH]: true,
41
- [this.paraAlign]: !!this.paraAlign ? true : false,
42
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
43
- };
44
- }
45
- //WEB-2392
46
- addWhiteClass() {
47
- if (this.paraColor == 'white') {
48
- return {
49
- [this.paraColor]: true,
50
- };
51
- }
52
- }
53
- getLineCuttoff() {
54
- let result;
55
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
56
- result = {
57
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
58
- };
59
- }
60
- return result;
61
- }
62
- get el() { return getElement(this); }
63
- };
64
- PtcPara.style = ptcParaCss;
65
-
66
- export { PtcPara as ptc_para };
@@ -1,34 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-c83db688.js';
2
-
3
- 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}}";
4
-
5
- const PtcSpacer = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.breakpoint = '';
9
- this.size = 'medium';
10
- this.direction = 'vertical';
11
- }
12
- render() {
13
- const classMap = this.getCssClassMap();
14
- return (h(Host, { class: classMap }));
15
- }
16
- getCssClassMap() {
17
- return {
18
- [this.size]: true,
19
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
20
- ['ptc-spacer-vertical']: this.direction === 'vertical',
21
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
22
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
23
- ['ptc-spacer-small']: this.breakpoint === 'small',
24
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
25
- ['ptc-spacer-large']: this.breakpoint === 'large',
26
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
27
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
28
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
29
- };
30
- }
31
- };
32
- PtcSpacer.style = ptcSpacerCss;
33
-
34
- export { PtcSpacer as ptc_spacer };
@@ -1,95 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { b as getSeoTagType } from './utils-edb0c4d4.js';
3
-
4
- 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}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}";
5
-
6
- const PtcTitle = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.isPlmHub = false;
10
- this.type = 'h2';
11
- this.textAlign = undefined;
12
- this.upperline = 'dotted';
13
- this.titleShadow = undefined;
14
- this.titleColor = 'gray';
15
- this.titleMargin = undefined;
16
- this.titleWeight = undefined;
17
- this.titleSize = undefined;
18
- this.titleHeight = 'densest';
19
- this.styles = undefined;
20
- this.ellipsisLineCutoff = undefined;
21
- this.titleDisplay = 'inline-block';
22
- this.seoCompatibilityMode = false;
23
- }
24
- render() {
25
- if (this.seoCompatibilityMode) {
26
- return this.seoCompRender();
27
- }
28
- else {
29
- return this.standardRender();
30
- }
31
- }
32
- seoCompRender() {
33
- const classMap = this.getCssClassMap();
34
- const cutOff = this.getLineCuttoff();
35
- const [TagType, firstChild] = getSeoTagType(this.el, this.type);
36
- const html = firstChild && firstChild.innerHTML;
37
- if (this.el == firstChild) {
38
- this.el.innerHTML = '';
39
- }
40
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { innerHTML: html, style: cutOff }))));
41
- }
42
- standardRender() {
43
- const classMap = this.getCssClassMap();
44
- const cutOff = this.getLineCuttoff();
45
- let TagType;
46
- switch (this.type) {
47
- case 'h1':
48
- TagType = 'h1';
49
- break;
50
- case 'h3':
51
- TagType = 'h3';
52
- break;
53
- case 'h4':
54
- TagType = 'h4';
55
- break;
56
- case 'h5':
57
- TagType = 'h5';
58
- break;
59
- case 'h6':
60
- TagType = 'h6';
61
- break;
62
- default:
63
- TagType = 'h2';
64
- }
65
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
66
- }
67
- getCssClassMap() {
68
- return {
69
- [this.textAlign]: !!this.textAlign ? true : false,
70
- [this.upperline]: true,
71
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
72
- [this.titleMargin]: !!this.titleMargin ? true : false,
73
- [this.titleShadow]: !!this.titleShadow ? true : false,
74
- [this.titleWeight]: !!this.titleWeight ? true : false,
75
- [this.titleSize]: !!this.titleSize ? true : false,
76
- [this.titleHeight]: !!this.titleHeight ? true : false,
77
- [this.titleColor]: !!this.titleColor ? true : false,
78
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
79
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
80
- };
81
- }
82
- getLineCuttoff() {
83
- let result;
84
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
85
- result = {
86
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
87
- };
88
- }
89
- return result;
90
- }
91
- get el() { return getElement(this); }
92
- };
93
- PtcTitle.style = ptcTitleCss;
94
-
95
- export { PtcTitle as ptc_title };
@@ -1,103 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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)}.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}";
4
-
5
- const PtcTooltip = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.textDisplay = 'inline';
9
- this.maxLength = 45;
10
- this.textLines = undefined;
11
- this.description = 'This is a tooltip text placeholder';
12
- this.zIndex = 'z-auto';
13
- this.position = 'bottom';
14
- this.styles = undefined;
15
- this.mode = 'text-only';
16
- this.theme = 'standard';
17
- this.width = 'default';
18
- this.hideOnMobile = false;
19
- this.isSmallScreen = undefined;
20
- this.noOverflow = false;
21
- }
22
- addTruncatedClass() {
23
- const appRoot = this.el;
24
- const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
25
- text.forEach(t => {
26
- t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
27
- });
28
- }
29
- windowResize() {
30
- this.verifiyScreenSize();
31
- }
32
- verifiyScreenSize() {
33
- this.isSmallScreen = window.innerWidth < 768;
34
- }
35
- // Created this function to initialize the truncate function on specific elements like tabs
36
- enableAddTruncatedClass(element) {
37
- const allTabHeaders = document.querySelectorAll(element);
38
- for (const element of Array.from(allTabHeaders)) {
39
- let tabHeader = element;
40
- if (tabHeader) {
41
- tabHeader.addEventListener('click', () => {
42
- setTimeout(() => {
43
- this.addTruncatedClass();
44
- }, 100);
45
- });
46
- }
47
- }
48
- }
49
- componentWillLoad() {
50
- this.verifiyScreenSize();
51
- }
52
- componentDidLoad() {
53
- //this.addTruncatedClass();
54
- setTimeout(() => {
55
- this.addTruncatedClass();
56
- }, 1000);
57
- this.enableAddTruncatedClass('tab-header');
58
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
59
- this.enableAddTruncatedClass('ptc-product-card');
60
- document.addEventListener('readystatechange', () => {
61
- if (document.readyState === 'complete') {
62
- this.addTruncatedClass();
63
- }
64
- });
65
- }
66
- render() {
67
- if (this.mode == 'wrapper') {
68
- 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 })))));
69
- }
70
- else {
71
- const classMap = this.getCssClassMap();
72
- const cutOff = this.getLineCuttoff();
73
- let truncatedText = this.description.substring(0, this.maxLength);
74
- if (this.description.length > this.maxLength) {
75
- //const lastSpace = truncatedText.lastIndexOf(' ');
76
- //truncatedText = truncatedText.substring(0, lastSpace);
77
- truncatedText += '... ';
78
- }
79
- 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 })))));
80
- }
81
- }
82
- getCssClassMap() {
83
- return {
84
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
85
- ['text-ellipsis']: true,
86
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
87
- ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
88
- };
89
- }
90
- getLineCuttoff() {
91
- let result;
92
- if (this.textLines && this.textLines > 0) {
93
- result = {
94
- ['-webkit-line-clamp']: `${this.textLines}`,
95
- };
96
- }
97
- return result;
98
- }
99
- get el() { return getElement(this); }
100
- };
101
- PtcTooltip.style = ptcTooltipCss;
102
-
103
- export { PtcTooltip as ptc_tooltip };
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as s,g as a}from"./p-ac75c7ad.js";const r=class{constructor(i){t(this,i),this.clicked=e(this,"clicked",7),this.handleClick=()=>{this.clicked.emit(this)},this.theme="bubble",this.iconColorMap=void 0,this.styles=void 0}componentWillLoad(){this.iconColorMap={bubble:{hover:"black",standard:"light-gray"},standard:{hover:"ptc-green",standard:"black"}}}handleMouseEnter(){this.updateIconColor("hover")}handleMouseLeave(){this.updateIconColor("standard")}updateIconColor(t){let e=this.el.shadowRoot.querySelector("icon-asset");e&&this.iconColorMap[this.theme]&&e.setAttribute("color",this.iconColorMap[this.theme][t])}render(){const t=this.getCssClassMap();let e;switch(this.theme){case"bubble":e=i("icon-asset",{class:"cls",type:"ptc",color:"light-gray",name:"times",size:"micro"});break;case"standard":e=i("icon-asset",{class:"cls",type:"ptc",color:"black",name:"times",size:"xxx-small"})}return i(s,null,this.styles&&i("style",null,this.styles),i("span",{class:t,onClick:()=>this.handleClick(),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave()},i("slot",null),e))}getCssClassMap(){return{"ptc-filter-tag":!0,[this.theme]:!0}}get el(){return a(this)}};r.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{margin:0 0.25rem;display:inline-block;color:var(--color-gray-12);font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:1.125rem;text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;color:var(--color-gray-12);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{display:inline-block;background-color:var(--color-gray-12);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:"Raleway";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white);transition:border-color ease-out 250ms}.ptc-filter-tag.button:hover{background-color:var(--color-gray-10)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}.ptc-filter-tag.standard{display:inline-flex;background:var(--color-gray-12);font-family:"Raleway";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-denser);color:var(--color-green-07);background-color:transparent}.ptc-filter-tag.standard .cls{display:block;margin-left:0.25rem}';const n=class{constructor(i){t(this,i),this.pageClicked=e(this,"pageClicked",7),this.handleClick=t=>{t&&t.preventDefault();let e=this.getPageLength();this.clickedPageNumber<this.getPageCount()&&(this.clickedPageNumber+1<=this.maxPageNumber?this.handleClickPage(t,this.clickedPageNumber+1):(this.minPageNumber=this.minPageNumber+e,this.clickedPageNumber=this.clickedPageNumber+1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.handleClickPrev=t=>{t&&t.preventDefault();let e=this.getPageLength();this.clickedPageNumber>1&&(this.clickedPageNumber-1>=this.minPageNumber?this.handleClickPage(t,this.clickedPageNumber-1):(this.minPageNumber=this.minPageNumber-e,this.minPageNumber<1&&(this.minPageNumber=1),this.clickedPageNumber=this.clickedPageNumber-1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.getPageCount=()=>{let t=0;return 0!=this.totalCount&&(t=this.totalCount%this.numberOfItems==0?this.totalCount/this.numberOfItems:this.totalCount/this.numberOfItems+1),Math.floor(t)},this.getIndex=()=>{let t=this.getPageLength();if(this.appendArray){let e=this.getPageCount();"standard"==this.theme?this.isSmallScreen?this.getPageCount()<=5?(this.minPageNumber=1,this.maxPageNumber=this.getPageCount()):1==t?(this.minPageNumber=this.clickedPageNumber,this.maxPageNumber=this.clickedPageNumber):(this.clickedPageNumber<t&&(this.minPageNumber=1),this.clickedPageNumber<e-2?(this.maxPageNumber=this.minPageNumber+1,this.maxPageNumber>e&&(this.maxPageNumber=e)):this.maxPageNumber=e):this.getPageCount()<=6?(this.minPageNumber=1,this.maxPageNumber=this.getPageCount()):2==t?(this.minPageNumber=this.clickedPageNumber-1,this.maxPageNumber=this.clickedPageNumber+1):(this.clickedPageNumber<t&&(this.minPageNumber=1),this.clickedPageNumber<e-2?(this.maxPageNumber=this.minPageNumber+3,this.maxPageNumber>e&&(this.maxPageNumber=e)):this.maxPageNumber=e):this.maxPageNumber=e>=this.minPageNumber+t?this.minPageNumber+t:e,this.pageNumbers=[];for(let t=this.minPageNumber;t<=this.maxPageNumber;t++){let e=t+"Id",i=!1;t==this.clickedPageNumber&&(i=!0),t==this.getPageCount()&&(e="last"),this.pageNumbers=[...this.pageNumbers,{id:e,isActive:i,dataPage:t}]}}return this.pageNumbers},this.totalCount=void 0,this.numberOfItems=9,this.previousValue="Previous",this.lastValue="Next",this.pageNumbers=[],this.isSmallScreen=void 0,this.minPageNumber=1,this.maxPageNumber=4,this.clickedPageNumber=1,this.appendArray=!0,this.prevArrowImg="/dist/ptc/images/sidescroll-left-curved.svg",this.nextArrowImg="/dist/ptc/images/sidescroll-right-curved.svg",this.theme="events",this.styles=void 0}componentWillLoad(){this.verifiyScreenSize(),"standard"==this.theme?this.setupStandardPresets():this.setupEventPresets()}setupStandardPresets(){this.clickedPageNumber<1||this.clickedPageNumber>this.getPageCount()&&(this.clickedPageNumber=this.getPageCount()),this.isSmallScreen?1==this.clickedPageNumber?(this.minPageNumber=1,this.maxPageNumber=this.maxPageNumber+1):(this.maxPageNumber=this.clickedPageNumber,this.minPageNumber=this.maxPageNumber-1):1==this.clickedPageNumber?(this.minPageNumber=1,this.maxPageNumber=this.maxPageNumber+3):(this.maxPageNumber=this.clickedPageNumber,this.minPageNumber=this.maxPageNumber-3)}setupEventPresets(){this.clickedPageNumber>1&&(this.clickedPageNumber>this.getPageCount()?(this.clickedPageNumber=this.getPageCount(),this.maxPageNumber=this.getPageCount(),this.minPageNumber=this.clickedPageNumber-2):(this.maxPageNumber=this.clickedPageNumber+1,this.minPageNumber=this.clickedPageNumber-1))}render(){let t=this.getPageCount(),e=this.getPageLength();if(this.pageNumbers=[...this.getIndex()],"standard"===this.theme){let s=t>6;return i("div",{class:"standard-filter"},this.styles&&i("style",null,this.styles),i("a",{href:"#",class:1==this.clickedPageNumber?"previous-button disabled":"previous-button",onClick:this.handleClickPrev},i("icon-asset",{type:"ptc",name:"chevron-down",size:"xxx-small"})),s&&this.clickedPageNumber>e?[i("a",{href:"#","data-url":"first","data-page":1,class:"standard-filter-item",onClick:t=>this.handlePageSkip(t,1)},1),i("span",{class:"standard-filter-dots"},"...")]:null,this.pageNumbers.map((t=>i("a",{href:"#","data-url":t.id,"data-page":t.dataPage,class:t.isActive?"standard-filter-item active":"standard-filter-item",onClick:e=>this.handleClickPage(e,t.dataPage)},t.dataPage))),s&&t>this.maxPageNumber?[i("span",{class:"standard-filter-dots"},"..."),i("a",{href:"#","data-url":"last","data-page":t,class:"standard-filter-item",onClick:e=>this.handlePageSkip(e,t)},t)]:null,i("a",{href:"#",class:this.clickedPageNumber==t?"next-button disabled":"next-button",onClick:this.handleClick},i("icon-asset",{type:"ptc",name:"chevron-down",size:"xxx-small"})))}return i("div",{class:"events-filter"},this.styles&&i("style",null,this.styles),i("span",{class:1==this.clickedPageNumber?"events-filter-item disabled prev-text":"events-filter-item prev-text"},this.previousValue),i("img",{src:this.prevArrowImg,onClick:this.handleClickPrev,class:1==this.clickedPageNumber?"pagenation-arrow prev-page events-disable-arrows":"pagenation-arrow prev-page"}),this.pageNumbers.map((t=>i("a",{href:"#","data-url":t.id,"data-page":t.dataPage,class:t.isActive?"events-filter-item active":"events-filter-item",onClick:e=>this.handleClickPage(e,t.dataPage)},t.dataPage))),t>this.maxPageNumber?i("span",{class:"events-filter-dots"},". . ."):null,i("img",{src:this.nextArrowImg,onClick:this.handleClick,class:this.clickedPageNumber==t?"pagenation-arrow last-page events-disable-arrows":"pagenation-arrow last-page"}),i("span",{class:this.clickedPageNumber==t?"events-filter-item disabled last-text":"events-filter-item last-text"},this.lastValue))}handlePageSkip(t,e){t&&t.preventDefault(),this.isSmallScreen?1==e?(this.minPageNumber=1,this.maxPageNumber=this.maxPageNumber+1):(this.maxPageNumber=e,this.minPageNumber=this.maxPageNumber-1):1==e?(this.minPageNumber=1,this.maxPageNumber=this.maxPageNumber+3):(this.maxPageNumber=e,this.minPageNumber=this.maxPageNumber-3),this.clickedPageNumber=e,this.appendArray=!0,this.pageClicked.emit(e)}handleClickPage(t,e){t&&t.preventDefault(),this.clickedPageNumber=e;let i=[];this.appendArray=!1,i=[...this.pageNumbers],i.map((t=>{t.isActive=t.dataPage==e})),this.pageNumbers=null,this.pageNumbers=[...i],this.pageClicked.emit(e)}getPageLength(){return"standard"==this.theme?(this.appendArray=!0,this.isSmallScreen?this.clickedPageNumber>2&&this.clickedPageNumber<this.getPageCount()-1?1:2:this.clickedPageNumber>3&&this.clickedPageNumber<this.getPageCount()-1?2:4):3}windowResize(){this.verifiyScreenSize()}verifiyScreenSize(){this.isSmallScreen=window.innerWidth<=479}};n.style="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}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.standard-filter{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-semibold);text-align:center}.standard-filter .standard-filter-item{height:2.5rem;width:2.5rem;display:inline-flex;align-items:center;justify-content:center;margin-right:0.5rem;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:transparent;border-radius:var(--ptc-border-radius-standard);color:var(--color-gray-10);text-decoration:none}.standard-filter .standard-filter-item:hover{background-color:var(--color-gray-02);text-decoration:none}.standard-filter .standard-filter-item:focus{text-decoration:none;outline:3px solid var(--color-blue-07);outline-offset:2px}.standard-filter .standard-filter-item:active{background-color:var(--color-gray-05);text-decoration:none}.standard-filter .standard-filter-item.active{background-color:var(--color-gray-12);color:var(--color-white)}.standard-filter .standard-filter-item.active:hover{background-color:var(--color-gray-12);cursor:default}.standard-filter .standard-filter-item[data-url=last]{margin-right:1.25rem}.standard-filter .next-button,.standard-filter .previous-button{font-size:var(--ptc-font-size-x-small);font-weight:normal;display:inline-flex;align-items:center;justify-content:center;width:1.125rem;height:1.125rem;border:1px solid var(--color-gray-10);border-radius:calc(var(--ptc-border-radius-standard) / 2);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), fill var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.standard-filter .next-button:hover,.standard-filter .previous-button:hover{background-color:var(--color-gray-02);text-decoration:none}.standard-filter .next-button:active,.standard-filter .previous-button:active{background-color:var(--color-gray-05);text-decoration:none}.standard-filter .next-button:focus,.standard-filter .previous-button:focus{text-decoration:none;outline:3px solid var(--color-blue-07);outline-offset:2px}.standard-filter .next-button.disabled,.standard-filter .previous-button.disabled{cursor:default;border-color:var(--color-gray-04);color:var(--color-gray-04);fill:var(--color-gray-04)}.standard-filter .next-button.disabled:hover,.standard-filter .next-button.disabled:active,.standard-filter .previous-button.disabled:hover,.standard-filter .previous-button.disabled:active{background-color:transparent}.standard-filter .previous-button{margin-right:1.25rem}.standard-filter .previous-button icon-asset{transform:rotate(90deg);position:relative;right:2px}.standard-filter .next-button icon-asset{transform:rotate(-90deg);position:relative;left:1px}.standard-filter .standard-filter-dots{margin:0.125rem 0.5rem 0.125rem 0.125rem}@media (768px){.standard-filter .standard-filter-dots{margin:0.125rem 0.5rem 0.125rem 0.125rem}}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline}.last-text{display:inline}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-10);text-decoration:none}.events-filter .active{font-family:var(--ptc-font-latin);border-bottom:2px solid var(--color-green-13);font-weight:var(--ptc-font-weight-semibold)}.events-filter-item:hover,.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-green-14)}span.events-filter-item:hover,span.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-gray-10)}span.events-filter-item.disabled{color:var(--color-white-01)}.events-filter .disabled{color:var(--color-white-01)}.events-filter-dots{padding:0rem;font-weight:var(--ptc-font-weight-extrabold);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);text-decoration:none}.events-disable-arrows{opacity:0.35}.events-enable-arrows{opacity:1}.events-small-dots{height:60px;margin-top:-25px}@media (min-width: 992px){.events-small-dots{height:80px;margin-top:-40px}}.last-page{transform:rotate(180deg)}";export{r as ptc_filter_tag,n as ptc_pagenation}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as h}from"./p-ac75c7ad.js";const e=class{constructor(i){t(this,i),this.breakpoint="",this.size="medium",this.direction="vertical"}render(){const t=this.getCssClassMap();return i(h,{class:t})}getCssClassMap(){return{[this.size]:!0,"ptc-spacer-horizontal":"horizontal"===this.direction,"ptc-spacer-vertical":"vertical"===this.direction,"ptc-spacer-xx-small":"xx-small"===this.breakpoint,"ptc-spacer-x-small":"x-small"===this.breakpoint,"ptc-spacer-small":"small"===this.breakpoint,"ptc-spacer-medium":"medium"===this.breakpoint,"ptc-spacer-large":"large"===this.breakpoint,"ptc-spacer-x-large":"x-large"===this.breakpoint,"ptc-spacer-xx-large":"xx-large"===this.breakpoint,"ptc-spacer-xxx-large":"xxx-large"===this.breakpoint}}};e.style=":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}}";export{e as ptc_spacer}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as o,g as i}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.videoSrc=void 0,this.posterSrc=void 0,this.overlay=!0,this.overlayType="standard",this.playButtonTitle=void 0,this.pauseButtonTitle=void 0,this.buttonLocation="bottom-right",this.paused=void 0,this.type="default",this.isIframe=!1}componentWillLoad(){this.paused=!1}render(){const t=this.isIframe?e("div",{class:"iframe-wrapper"},e("iframe",{id:"jumbotron-iframe",src:this.videoSrc,frameborder:0,allow:"autoplay",allowFullScreen:!0,class:"background-video-embed"})):e("video",{src:this.videoSrc,poster:this.posterSrc,autoplay:!0,loop:!0,muted:!0,playsinline:!0});return e(o,{class:this.type},t,!!this.videoSrc&&this.playButtonTitle&&e("div",{class:`play-button ${this.buttonLocation}`},this.paused&&e("ptc-tooltip",{class:"play-btn",mode:"wrapper",description:this.playButtonTitle,position:"bottom-right",styles:".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}"},e("ptc-button",{type:"button",color:"icon-toggle",onClick:t=>this.toggleVideoPlay(t),styles:"button.icon-toggle { padding :0px 8px; }","aria-label":"Video Play button"},e("icon-asset",{name:"play",size:"small",type:"ptc",color:"black"}))),!this.paused&&!!this.pauseButtonTitle&&e("ptc-tooltip",{class:"pause-btn",mode:"wrapper",description:this.pauseButtonTitle,position:"bottom-right",styles:".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}"},e("ptc-button",{type:"button",color:"icon-toggle",onClick:t=>this.toggleVideoPlay(t),"aria-label":"Video Pause button"},e("icon-asset",{name:"pause",size:"small",type:"ptc",color:"black"})))),this.overlay?e("div",{class:`video-overlay ${this.overlayType}`}):"","default"==this.type?e("slot",null):"")}toggleVideoPlay(t){t.preventDefault(),this.paused=!this.paused;let e=this.el.shadowRoot.querySelector("video");e&&(this.paused?e.pause():e.play().catch((t=>console.error(t))))}get el(){return i(this)}};a.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background:linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:1.5rem;right:1.5rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:3.75rem;right:2rem}:host .play-button ptc-button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button ptc-button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button ptc-button{padding:0}}";export{a as ptc_background_video}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";import{R as r}from"./p-711bcdad.js";const n=class{constructor(e){t(this,e),this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.imgUrl=void 0,this.imageType="smart-bg",this.borderRadius="",this.loadMode="lazy-bg",this.styles=void 0}WindowResize(){this.setResponsiveBg()}render(){const t=this.getCssClassMap();return e(i,null,this.styles&&e("style",null,this.styles),e("div",{class:t,"data-xs":`${this.imgUrl}`,"data-sm":`${this.imgUrl}`,"data-md":`${this.imgUrl}`,"data-lg":`${this.imgUrl}`},"smart-bg"==this.imageType?e("slot",null):null))}componentDidLoad(){this.addIntersectionObserver(),this.setResponsiveBg()}componentWillUpdate(){this.addIntersectionObserver(),this.setResponsiveBg()}setResponsiveBg(){let t,e,i=(this.el||document).querySelectorAll(r.selector),a=this.getCurrentBreakPoints();for(var n=0,s=i.length;n<s;n++)t=i[n],e=t.getAttribute("data-"+a),null!==e?t.style.backgroundImage="url('"+e+"')":"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}addIntersectionObserver(){if(this.imgUrl){if("IntersectionObserver"in window){let t=(this.el||document).querySelectorAll(".lazy-bg"),e=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const i=t.target;i.classList.remove("lazy-bg"),e.unobserve(i)}}))}));t.forEach((t=>{e.observe(t)}))}}else console.log("no image!")}getCssClassMap(){return{[this.imageType]:!0,"ptc-img":!0,[this.borderRadius]:!0,[this.loadMode]:!0}}getCurrentBreakPoints(){let t,e=window.document,i=e.createElement("div");e.body.appendChild(i);for(let a=r.envs.length-1;a>=0;a--)if(t=r.envs[a],i.className="hidden-"+t,null===i.offsetParent)return e.body.removeChild(i),t;return e.body.removeChild(i),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}get el(){return a(this)}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";export{n as ptc_img}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";const s=class{constructor(e){t(this,e),this.formData={email:"",firstName:"",lastName:"",company:"",country:"",phone:"",inquiryReason:"",howhearselfreport:"",policyChecked:!1},this.isSubmitted=!1}componentDidLoad(){this.onDataLookup(),this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]'),this.firstNameEle=this.el.querySelector('ptc-textfield[field-id="contact-firstname"]'),this.lastNameEle=this.el.querySelector('ptc-textfield[field-id="contact-lastname"]'),this.companyEle=this.el.querySelector('ptc-textfield[field-id="company"]'),this.phoneEle=this.el.querySelector('ptc-textfield[field-id="contact-phone"]'),this.countryEle=this.el.querySelector('ptc-select[field-id="contact-country"]'),this.inquiryreasonEle=this.el.querySelector('ptc-select[field-id="contact-inquiry"]'),this.howhearselfreport=this.el.querySelector('ptc-textfield[field-id="self-reporting"]'),this.policy1=this.el.querySelector('ptc-form-checkbox[checkbox-id="policy1"]')}onDataLookup(){const t=this.el.closest("ptc-data-lookup");t?(console.log("Perform Data Lookup..."),t.performDataLookup()):console.log("No Data Lookup...")}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.formData.firstName=this.firstNameEle.inputValue,this.formData.lastName=this.lastNameEle.inputValue,this.formData.company=this.companyEle.inputValue,this.formData.phone=this.phoneEle.inputValue,this.formData.country=this.countryEle.selectedValue,this.formData.inquiryReason=this.inquiryreasonEle.selectedValue,this.formData.howhearselfreport=this.howhearselfreport.inputValue,this.formData.policyChecked=this.policy1.isChecked,this.formData.policyChecked)if(this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t),this.isSubmitted=!0,console.log("Form Submitted: "+this.formData.email,this.formData.firstName,this.formData.lastName,this.formData.company,this.formData.phone,this.formData.country,this.formData.inquiryReason,this.formData.howhearselfreport,this.formData.policyChecked)}else console.log("Form validation failed");else this.policy1.validateCheckbox(),console.log("Warning: Checkbox is not checked. This field is required")}isValid(){const{email:t,firstName:e,lastName:i,company:a,country:s,phone:l,inquiryReason:n,howhearselfreport:c,policyChecked:o}=this.formData,d=document.querySelectorAll(".invalid-field").length;return""!==t&&""!==l&&""!==e&&""!==i&&""!==a&&""!==s&&""!==n&&""!=c&&o&&0===d}render(){const t=this.isSubmitted?"ptc-form-roll-up":"";return e(i,null,e("div",{class:"ptc-container ptc-section-standard flex-adjustments"},e("div",{class:"form-wrapper ptc-embedded-form"},e("max-width-container",{"max-width":"277",breakpoint:480},e("ptc-title",{type:"h2","text-align":"center","title-size":"x-small","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-height":"densest","title-margin":"margin-flush","title-weight":"w-6","is-plm-hub":"false"},"Please fill out the form and a PTC sales representative will be in touch."),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"small",size:"small"})),e("form",{onSubmit:t=>this.handleSubmit(t),class:t},e("div",{id:"not-me-link-id"}),e("div",{id:"not-me-additional-top",class:"not-me-additional-text"}),e("ptc-textfield",{"field-id":"contact-firstname","label-text":"First Name*",type:"text","ptc-data-eloqua-name":"C_FirstName","field-name":"firstname"}),e("ptc-textfield",{"field-id":"contact-lastname","label-text":"Last Name*",type:"text","ptc-data-eloqua-name":"C_LastName","field-name":"lastname"}),e("ptc-textfield",{"field-id":"company","label-text":"Company*",type:"text","ptc-data-eloqua-name":"C_Company","field-name":"company"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email","info-text":"Please include @ in the email address"}),e("ptc-select",{"field-id":"contact-country",label:"Country*","ptc-data-eloqua-name":"C_Country","field-name":"country","default-value":"USA"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"USA")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Canada")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"China")))),e("ptc-textfield",{"field-id":"contact-phone","label-text":"Phone*",type:"tel","ptc-data-eloqua-name":"C_BusPhone","field-name":"phone"}),e("ptc-select",{label:"What information are you interested in?*","ptc-data-eloqua-name":"Inquiry_Reason","field-name":"inquiryreason","field-id":"contact-inquiry","info-text":"info text example."},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"Augmented Reality (AR)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Augmented Reality (AR)")),e("li",{class:"mdc-list-item","data-value":"CAD"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Computer Aided Design")),e("li",{class:"mdc-list-item","data-value":"Retail(FlexPLM)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Fashion and Retail Product Lifecycle Management")))),e("ptc-multi-select",null),e("ptc-textfield",{"field-id":"self-reporting","label-text":"How can we help you?*",type:"text","ptc-data-eloqua-name":"HowHearSelfReport","ptc-max-length":"100","field-name":"howhearselfreport"}),e("ptc-textfield",{type:"hidden","ptc-data-eloqua-name":"test","input-value":"test"}),e("ptc-form-checkbox",{label:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec ultricies risus. Praesent suscipit mauris vel augue facilisis, nec consequat ipsum placerat. Curabitur nisi elit, dignissim tincidunt tincidunt at, vehicula sit amet nisl. Maecenas sodales est vulputate ex feugiat tincidunt.","checkbox-id":"policy1"}),e("div",{id:"not-me-additional-bottom",class:"not-me-additional-text"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 12px; display:block; text-align:right;}"},"Submit")))))}get el(){return a(this)}};s.style="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}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.ptc-embedded-form.form-wrapper{max-width:361px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}@media only screen and (min-width: 480px){.ptc-embedded-form.form-wrapper{width:361px}}@keyframes rollUp{from{height:auto;opacity:1}to{height:0;opacity:0}}.ptc-form-roll-up{animation:rollUp 1s forwards;}";export{s as embedded_form}