@ptcwebops/ptcw-design 5.9.3 → 5.9.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 (380) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +271 -0
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +70 -0
  3. package/dist/cjs/icon-asset_10.cjs.entry.js +739 -0
  4. package/dist/cjs/interfaces-574e6df7.js +15 -0
  5. package/dist/cjs/list-item.cjs.entry.js +47 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  8. package/dist/cjs/ptc-background-video.cjs.entry.js +86 -0
  9. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  10. package/dist/cjs/ptc-button.cjs.entry.js +84 -0
  11. package/dist/cjs/ptc-card_2.cjs.entry.js +67 -42
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -6
  13. package/dist/cjs/ptc-date.cjs.entry.js +61 -0
  14. package/dist/cjs/{ptc-filter-dropdown_4.cjs.entry.js → ptc-filter-dropdown_3.cjs.entry.js} +0 -75
  15. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  16. package/dist/cjs/ptc-inline-cta.cjs.entry.js +125 -0
  17. package/dist/cjs/ptc-jumbotron.cjs.entry.js +148 -0
  18. package/dist/cjs/ptc-link.cjs.entry.js +92 -0
  19. package/dist/cjs/ptc-para.cjs.entry.js +125 -0
  20. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +2 -2
  21. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
  22. package/dist/cjs/ptc-social-icons.cjs.entry.js +33 -0
  23. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  24. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +56 -0
  25. package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
  26. package/dist/cjs/ptcw-design.cjs.js +1 -1
  27. package/dist/collection/components/list-item/list-item.css +6 -0
  28. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +6 -6
  29. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +5 -0
  30. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +19 -1
  31. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +7 -0
  32. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
  33. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +12 -0
  34. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +1 -1
  35. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +5 -0
  36. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +2 -1
  37. package/dist/collection/components/ptc-social-share/ptc-social-share.css +5 -0
  38. package/dist/collection/components/ptc-social-share/ptc-social-share.js +6 -1
  39. package/dist/custom-elements/index.js +25 -18
  40. package/dist/esm/academic-form-test.entry.js +1 -1
  41. package/dist/esm/author-listing-example.entry.js +1 -1
  42. package/dist/esm/blog-detail-content_2.entry.js +266 -0
  43. package/dist/esm/blog-detail-layout.entry.js +66 -0
  44. package/dist/esm/blogs-search-section.entry.js +1 -1
  45. package/dist/esm/bundle-example.entry.js +1 -1
  46. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  47. package/dist/esm/dropdown-item.entry.js +1 -1
  48. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  49. package/dist/esm/embedded-form.entry.js +1 -1
  50. package/dist/esm/featured-list.entry.js +1 -1
  51. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  52. package/dist/esm/footer-form.entry.js +1 -1
  53. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  54. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  55. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  56. package/dist/esm/icon-asset_10.entry.js +726 -0
  57. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  58. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  59. package/dist/esm/interfaces-7c0243be.js +12 -0
  60. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  61. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  62. package/dist/esm/list-item.entry.js +43 -0
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/max-width-container.entry.js +50 -0
  65. package/dist/esm/most-popular-news.entry.js +1 -1
  66. package/dist/esm/my-component.entry.js +1 -1
  67. package/dist/esm/news-search-result.entry.js +1 -1
  68. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  69. package/dist/esm/ptc-accordion.entry.js +1 -1
  70. package/dist/esm/ptc-announcement.entry.js +1 -1
  71. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  72. package/dist/esm/ptc-background-video.entry.js +82 -0
  73. package/dist/esm/ptc-badge.entry.js +1 -1
  74. package/dist/esm/ptc-bio-card.entry.js +1 -1
  75. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  76. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  77. package/dist/esm/ptc-button.entry.js +80 -0
  78. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  79. package/dist/esm/ptc-card-content.entry.js +1 -1
  80. package/dist/esm/ptc-card_2.entry.js +68 -43
  81. package/dist/esm/ptc-case-studies-slider.entry.js +7 -7
  82. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  83. package/dist/esm/ptc-checkbox.entry.js +1 -1
  84. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  85. package/dist/esm/ptc-container.entry.js +1 -1
  86. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  87. package/dist/esm/ptc-date.entry.js +57 -0
  88. package/dist/esm/ptc-dropdown.entry.js +1 -1
  89. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  90. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  91. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  92. package/dist/esm/ptc-featured-list.entry.js +1 -1
  93. package/dist/esm/{ptc-filter-dropdown_4.entry.js → ptc-filter-dropdown_3.entry.js} +2 -76
  94. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  95. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  96. package/dist/esm/ptc-footer.entry.js +1 -1
  97. package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
  98. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  99. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  100. package/dist/esm/ptc-form.entry.js +1 -1
  101. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  102. package/dist/esm/ptc-hero.entry.js +1 -1
  103. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  104. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  105. package/dist/esm/ptc-icon-card.entry.js +1 -1
  106. package/dist/esm/ptc-icon-component.entry.js +1 -1
  107. package/dist/esm/ptc-icon-list.entry.js +1 -1
  108. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  109. package/dist/esm/ptc-img.entry.js +129 -0
  110. package/dist/esm/ptc-info-tile.entry.js +1 -1
  111. package/dist/esm/ptc-inline-cta.entry.js +121 -0
  112. package/dist/esm/ptc-jumbotron.entry.js +144 -0
  113. package/dist/esm/ptc-link.entry.js +88 -0
  114. package/dist/esm/ptc-list.entry.js +1 -1
  115. package/dist/esm/ptc-media-card.entry.js +1 -1
  116. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  117. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  118. package/dist/esm/ptc-multi-select_2.entry.js +1 -1
  119. package/dist/esm/ptc-nav-card.entry.js +1 -1
  120. package/dist/esm/ptc-nav-link.entry.js +1 -1
  121. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  122. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  123. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  124. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  125. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  126. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  127. package/dist/esm/ptc-office-locations.entry.js +1 -1
  128. package/dist/esm/ptc-overlay.entry.js +1 -1
  129. package/dist/esm/ptc-para.entry.js +121 -0
  130. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  131. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  132. package/dist/esm/ptc-previous-url.entry.js +1 -1
  133. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  134. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  135. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  136. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  137. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  138. package/dist/esm/ptc-product-card.entry.js +1 -1
  139. package/dist/esm/ptc-product-category.entry.js +1 -1
  140. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  141. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  142. package/dist/esm/ptc-product-list.entry.js +1 -1
  143. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  144. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  145. package/dist/esm/ptc-quantity-counter.entry.js +3 -3
  146. package/dist/esm/ptc-quote.entry.js +1 -1
  147. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  148. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  149. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  150. package/dist/esm/ptc-readmore.entry.js +1 -1
  151. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  152. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  153. package/dist/esm/ptc-search-field.entry.js +1 -1
  154. package/dist/esm/ptc-seo-title.entry.js +1 -1
  155. package/dist/esm/ptc-shopping-cart.entry.js +4 -3
  156. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  157. package/dist/esm/ptc-skeleton.entry.js +1 -1
  158. package/dist/esm/ptc-slit-card.entry.js +1 -1
  159. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  160. package/dist/esm/ptc-social-icons.entry.js +29 -0
  161. package/dist/esm/ptc-spacer.entry.js +34 -0
  162. package/dist/esm/ptc-span.entry.js +1 -1
  163. package/dist/esm/ptc-square-card.entry.js +1 -1
  164. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  165. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  166. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  167. package/dist/esm/ptc-subnav.entry.js +1 -1
  168. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  169. package/dist/esm/ptc-tab-list.entry.js +1 -1
  170. package/dist/esm/ptc-tab.entry.js +1 -1
  171. package/dist/esm/ptc-tabs.entry.js +1 -1
  172. package/dist/esm/ptc-text-copy-with-background.entry.js +52 -0
  173. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  174. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  175. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  176. package/dist/esm/ptc-tooltip.entry.js +103 -0
  177. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  178. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  179. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  180. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  181. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  182. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  183. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  184. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  185. package/dist/esm/ptc-video-embed.entry.js +1 -1
  186. package/dist/esm/ptc-white-paper.entry.js +1 -1
  187. package/dist/esm/ptcw-design.js +3 -3
  188. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  189. package/dist/esm/sequential-bundle.entry.js +1 -1
  190. package/dist/esm/tab-content.entry.js +1 -1
  191. package/dist/esm/tab-header.entry.js +1 -1
  192. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-428b050e.entry.js → p-072dd199.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  197. package/dist/ptcw-design/p-107dd637.entry.js +1 -0
  198. package/dist/ptcw-design/{p-e5fdd222.entry.js → p-11315f18.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  200. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  203. package/dist/ptcw-design/p-1acd3617.entry.js +1 -0
  204. package/dist/ptcw-design/{p-1f8ca0be.entry.js → p-1d040924.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  207. package/dist/ptcw-design/p-1eb92079.entry.js +1 -0
  208. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-de680809.entry.js → p-1ff6a79e.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  211. package/dist/ptcw-design/p-21612ffa.entry.js +1 -0
  212. package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-85cc23f7.entry.js → p-251513ee.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-dc488936.entry.js → p-2aa419ae.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
  222. package/dist/ptcw-design/p-397276af.entry.js +1 -0
  223. package/dist/ptcw-design/{p-f618e1d4.entry.js → p-3a67aedf.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-cfd07b95.entry.js → p-3b93096b.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-6e0bf873.entry.js → p-3cb0f54d.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  229. package/dist/ptcw-design/p-3e90100b.entry.js +1 -0
  230. package/dist/ptcw-design/{p-f2a67fc5.entry.js → p-3f3713cd.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-e3d38b0c.entry.js → p-407253be.entry.js} +1 -1
  232. package/dist/ptcw-design/p-4335d7f3.entry.js +1 -0
  233. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-ae7aa3b1.entry.js → p-4af3a6d4.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-e3bce6bf.entry.js → p-4f6c9992.entry.js} +1 -1
  238. package/dist/ptcw-design/p-50605d7c.entry.js +1 -0
  239. package/dist/ptcw-design/{p-374734fb.entry.js → p-5177c7e0.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-1ca8a5bf.entry.js → p-520542e2.entry.js} +1 -1
  241. package/dist/ptcw-design/p-53cd14ba.entry.js +1 -0
  242. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  243. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-a83d18b8.entry.js → p-595d3ad5.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-849655f7.entry.js → p-65b9b38b.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
  250. package/dist/ptcw-design/p-6b64f167.entry.js +1 -0
  251. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  252. package/dist/ptcw-design/{p-b65b59ab.entry.js → p-75f3b444.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-83a0be46.entry.js → p-7698c568.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-612c0f9b.entry.js → p-79232125.entry.js} +1 -1
  257. package/dist/ptcw-design/p-7964e154.entry.js +1 -0
  258. package/dist/ptcw-design/p-79883a07.entry.js +1 -0
  259. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  260. package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
  261. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  262. package/dist/ptcw-design/p-7e4a71ff.entry.js +1 -0
  263. package/dist/ptcw-design/{p-ebb04883.entry.js → p-7ea4b858.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  265. package/dist/ptcw-design/p-8039fa0d.entry.js +1 -0
  266. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  268. package/dist/ptcw-design/p-8436f21f.entry.js +1 -0
  269. package/dist/ptcw-design/p-875594e4.entry.js +1 -0
  270. package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-ae16e7f9.entry.js → p-887c44ae.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  274. package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
  275. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  276. package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-0e796d1a.entry.js → p-9a7b6c70.entry.js} +1 -1
  278. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  279. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  281. package/dist/ptcw-design/p-9f2823a1.entry.js +1 -0
  282. package/dist/ptcw-design/{p-d1857ada.entry.js → p-9fa81b74.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-cea1077c.entry.js → p-a1a34215.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-2a6a0034.entry.js → p-a31b8cad.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-51a275df.entry.js → p-a9df5985.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-de1367a8.entry.js → p-ab49b93b.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-7c7c4c3a.entry.js → p-b67d4f9c.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
  297. package/dist/ptcw-design/p-b72f0796.entry.js +1 -0
  298. package/dist/ptcw-design/{p-00980d4d.entry.js → p-b912ff93.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-8c2ef359.entry.js → p-bacd25a1.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-971b8a7d.entry.js → p-be00fb74.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-1fb78c17.entry.js → p-bedf2794.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-af9026f2.entry.js → p-c1e07fde.entry.js} +1 -1
  306. package/dist/ptcw-design/p-c2a171a7.entry.js +1 -0
  307. package/dist/ptcw-design/{p-927f537c.entry.js → p-c3bd5805.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-768ceec1.entry.js → p-c8b29c81.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  317. package/dist/ptcw-design/p-d52cc1ee.entry.js +1 -0
  318. package/dist/ptcw-design/{p-0ee01112.entry.js → p-d5fbe774.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-37480ed1.entry.js → p-d9b2186d.entry.js} +1 -1
  320. package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
  321. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-68cf7811.entry.js → p-df712bfe.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  327. package/dist/ptcw-design/p-e75dff95.entry.js +1 -0
  328. package/dist/ptcw-design/{p-6ce1cc72.entry.js → p-e7ede17d.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  330. package/dist/ptcw-design/p-e9bde223.entry.js +1 -0
  331. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  332. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-c1820648.entry.js → p-eddff1f7.entry.js} +1 -1
  334. package/dist/ptcw-design/p-ee1183b2.js +1 -0
  335. package/dist/ptcw-design/p-ef0079b0.entry.js +1 -0
  336. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  337. package/dist/ptcw-design/p-f26ea42b.entry.js +1 -0
  338. package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-3e5f19f9.entry.js → p-fda8d2a8.entry.js} +1 -1
  341. package/dist/ptcw-design/p-fe2e34d4.entry.js +1 -0
  342. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  343. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +0 -1
  344. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -0
  345. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +1 -0
  346. package/dist/types/components.d.ts +8 -0
  347. package/package.json +1 -1
  348. package/readme.md +1 -1
  349. package/dist/cjs/blog-detail-content_21.cjs.entry.js +0 -1859
  350. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -206
  351. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +0 -29
  352. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +0 -23
  353. package/dist/cjs/ptc-news.cjs.entry.js +0 -32
  354. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -43
  355. package/dist/esm/blog-detail-content_21.entry.js +0 -1835
  356. package/dist/esm/ptc-close-icon_2.entry.js +0 -201
  357. package/dist/esm/ptc-image-download-strip.entry.js +0 -25
  358. package/dist/esm/ptc-minimized-nav.entry.js +0 -19
  359. package/dist/esm/ptc-news.entry.js +0 -28
  360. package/dist/esm/ptc-sticky-icons.entry.js +0 -39
  361. package/dist/ptcw-design/p-07b497ce.entry.js +0 -1
  362. package/dist/ptcw-design/p-0e5932f0.entry.js +0 -1
  363. package/dist/ptcw-design/p-1f1510fc.entry.js +0 -1
  364. package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
  365. package/dist/ptcw-design/p-3dae22b8.entry.js +0 -1
  366. package/dist/ptcw-design/p-592d99fd.entry.js +0 -1
  367. package/dist/ptcw-design/p-5ede7718.entry.js +0 -1
  368. package/dist/ptcw-design/p-6b6c09c7.entry.js +0 -1
  369. package/dist/ptcw-design/p-7eb22ed5.entry.js +0 -1
  370. package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
  371. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  372. package/dist/ptcw-design/p-94ec3187.entry.js +0 -1
  373. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  374. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  375. package/dist/ptcw-design/p-a881a403.entry.js +0 -1
  376. package/dist/ptcw-design/p-ab7224b7.entry.js +0 -1
  377. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  378. package/dist/ptcw-design/p-d0ac02b1.entry.js +0 -1
  379. package/dist/ptcw-design/p-d7275289.entry.js +0 -1
  380. package/dist/ptcw-design/p-fc51fc29.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,H as l,g as s}from"./p-ac75c7ad.js";import{d as a,M as n,b as o}from"./p-1e9f07cf.js";const r='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .acls-1,.acls-4{fill:none}.acls-1{stroke:#74c34d;stroke-width:.7px}.acls-2{fill:#74c34d;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.acls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="acls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="acls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="acls-4"/>\n </g>\n <text id="i" class="acls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n';class h{}const c=class{constructor(i){e(this,i),this.itemSelected=t(this,"itemSelected",7),this.itemExpanded=t(this,"itemExpanded",7),this.textChanged=t(this,"textChanged",7),this.inputUpdated=t(this,"inputUpdated",7),this.ready=t(this,"ready",7),this.viewUpdated=t(this,"viewUpdated",7),this.changed=t(this,"changed",7),this.data=void 0,this.searchText=void 0,this.listOpened=!1,this.showSearchBar=!0,this.header=void 0,this.selectedValue=void 0,this.selectedItems=void 0,this.hashMap=void 0,this.debouncedUpdatedEvent=void 0,this.refreshBuffer=void 0,this.listItems=void 0,this.placeholderText=void 0,this.debounceUpdateDelay=void 0,this.allowMultiSelect=!0}componentWillLoad(){this.loadListItems(),this.selectedItems=[]}componentDidLoad(){this.ready.emit({sender:this.el,tree:this.data,search:this.searchText}),this.debouncedUpdatedEvent=a((()=>{this.changed.emit({sender:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,search:this.searchText})}),this.debounceUpdateDelay,this)}componentDidUpdate(){this.viewUpdated.emit({sender:this.el,tree:this.data,search:this.searchText})}onItemSelectedHandler(e){this.itemSelected.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data}),this.fireChangedEvent()}onInputUpdated(e){let t=e.target;this.searchText=t.value,this.inputUpdated.emit({event:e,sender:t,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data,search:this.searchText}),this.fireChangedEvent()}onItemExpandedHandler(e){this.itemExpanded.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data})}fireChangedEvent(){this.debouncedUpdatedEvent()}loadListItems(){if(this.hashMap={},!this.data){let e=n(this.el);if(e.collapseListItem){this.data=new Array;let t=(e,i)=>{e.map((e=>{var l=new h;if(l.isExternalLink=!!e.linkHref,e.linkHref?(l.href=e.linkHref,l.target=e.linkTarget,l.title=e.linkTitle,l.text=e.facetDisplay,l.id=o()):(l.id=o(),l.text=e.facetDisplay,l.name=e.facetName,l.value=e.facetValue,l.category=e.category,l.allowMultiSelect="false"!=e.allowMultiSelect,l.enableSearch="true"==e.enableSearch,l.searchBoxPlaceholder=e.placeholderText,l.tooltip=e.tooltip,this.setUpCategory(l.category,l.allowMultiSelect)),e.collapseListItem)if(l.children=new Array,Array.isArray(e.collapseListItem))t(e.collapseListItem,l.children);else{let i=new Array;i.push(e.collapseListItem),t(i,l.children)}this.hashMap[l.id]=l,i.push(l)}))};this.setUpCategory("default",!0),t(e.collapseListItem,this.data)}}}setUpCategory(e,t){this.selectedValue||(this.selectedValue={}),e&&!this.selectedValue[e]&&(this.selectedValue[e]={name:e,items:new Array,allowMultiSelect:t})}collapseAllFirstLevelItems(e){this.el.shadowRoot.querySelectorAll(".level-1").forEach((t=>{t.classList.contains("expanded")&&t!=e&&!this.listOpened&&t.classList.remove("expanded")}))}updateExpandedItems(){const e=t=>{this.refreshBuffer||(this.refreshBuffer=t);const i=t-this.refreshBuffer;this.el.shadowRoot.querySelectorAll("li").forEach((e=>{let t=e.querySelector(":scope > ul");t&&(e.classList.contains("expanded")?t.style.maxHeight=t.scrollHeight+"px":t.style.removeProperty("max-height"))})),i<2500?window.requestAnimationFrame(e):this.refreshBuffer=void 0};this.refreshBuffer?this.refreshBuffer=void 0:window.requestAnimationFrame(e)}updateSelectedItemStatus(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0?(this.selectedValue[e].allowMultiSelect?l.push(i.value):(this.selectedItems=this.selectedItems.filter((e=>e.value!=l[0])),l=[i.value]),this.selectedItems.push(i)):(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}unSelectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)>-1&&(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}selectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0&&(this.selectedValue[e].allowMultiSelect?l.push(i.value):l=[i.value],this.selectedItems.push(i)),this.selectedValue[e].items=l}}getItemByValue(e){let t;if(this.hashMap)for(const[i,l]of Object.entries(this.hashMap))if(l.value==e){t=l;break}return t}onItemFilterSearchUpdate(e){if(e&&e.target){let t=e.target,i=t.value;if(t){t.closest("ul").querySelectorAll("li:not(.search-box-wrapper)").forEach(i&&i.length>0?e=>{var t;let l=null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.toLowerCase();l&&l.indexOf(i)>-1?e.style.removeProperty("display"):e.style.display="none"}:e=>{e.style.removeProperty("display")})}this.updateExpandedItems()}}onItemLinkClick(e,t){e&&e.preventDefault(),this.updateSelectedItemStatus(t),this.onItemSelectedHandler(e)}onExpandClick(e,t){if(e){e.preventDefault();let i=e.currentTarget,l=i.closest(".level-1"),s=i.closest("li");if(t&&this.collapseAllFirstLevelItems(l),s&&s.classList.toggle("expanded"),i.classList.contains("expander-icon")){let e=s.classList.contains("expanded")?"minus":"plus";i.querySelector("icon-asset").setAttribute("name",e)}this.updateExpandedItems()}this.onItemExpandedHandler(e)}render(){let e=e=>{if(e)return i("ptc-tooltip",{"text-display":"inline",mode:"wrapper","z-index":"z-2",position:"bottom",description:""},i("div",{class:"icon-wrapper"},i("i",{class:"active-icon",innerHTML:r}),i("i",{class:"inactive-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .cls-1,.cls-4{fill:none}.cls-1{stroke:#a6adb4;stroke-width:.7px}.cls-2{fill:#a6adb4;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.cls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="cls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="cls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="cls-4"/>\n </g>\n <text id="i" class="cls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n'})),i("span",{class:"popup",slot:"description"},i("i",{innerHTML:r}),i("div",{class:"content",innerHTML:e})))},t=(e,l,a)=>{let n=`level-${l}`;return i("ul",null,a&&i("li",{class:"search-box-wrapper"},i("div",{class:"search-box"},i("input",{class:"search-box",id:"searchBoxId",type:"text",placeholder:a.placeholder,onKeyUp:e=>{this.onItemFilterSearchUpdate(e)},onBlur:e=>{this.onItemFilterSearchUpdate(e)}}))),e.map((e=>{let a,o,r=!1,h=!1;return e.enableSearch&&(o={placeholder:e.searchBoxPlaceholder}),1==l?e.children?(r=!0,h=!1,a=i("icon-asset",{type:"ptc",name:"chevron-down",color:"ptc-green",size:"medium"})):(r=!1,h=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"ptc-green",size:"medium"})):l>1&&(h=!0,e.children?(r=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"gray",size:"xxx-small"})):r=!1),i("li",{class:n},s(e,a,l,r,h),e.children?t(e.children,l+1,o):"")})))},s=(t,l,s,a,n)=>{let o=1==s?t.tooltip:void 0;return t.isExternalLink?i("a",{href:t.href,id:t.id,target:t.target,title:t.title},l,t.text,e(o)):!a&&n||a&&!n?i("a",{href:"#",id:t.id,title:t.text,onClick:e=>{a?this.onExpandClick(e,this.allowMultiSelect&&1==s):this.onItemLinkClick(e,t.id)}},l,t.text,e(o)):[i("a",{class:"expander-icon",href:"#",id:t.id,onClick:e=>{this.onExpandClick(e,!1)}},l),i("a",{href:"#",title:t.text,id:t.id,onClick:e=>{this.onItemLinkClick(e,t.id)}},t.text),e(o)]};return i(l,null,this.showSearchBar?i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),i("div",{class:"search-box"},i("input",{type:"text",id:"searchBoxId",placeholder:this.placeholderText,onKeyUp:e=>{this.onInputUpdated(e)}})),t(this.data,1)):i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),t(this.data,1)))}async removeSelectedItem(e){let t=this.getItemByValue(e);this.unSelectItem(t.id),this.fireChangedEvent()}async addSelectedItem(e){let t=this.getItemByValue(e);this.selectItem(t.id)}get el(){return s(this)}};c.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;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:var(--ptc-element-spacing-03) 0}.level-1>ul>li:first-child{margin-top:var(--ptc-element-spacing-05)}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:var(--ptc-element-spacing-02) 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:var(--ptc-element-spacing-09)}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) 17.5px 0;display:block;font-size:var(--ptc-font-size-small);letter-spacing:0.45px;font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-12);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:"";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:var(--ptc-element-spacing-05)}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:var(--ptc-element-spacing-05)}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-green-07);text-decoration:none}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:"";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-08) var(--ptc-element-spacing-02) var(--ptc-element-spacing-04);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:var(--ptc-element-spacing-07)}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus{outline:none;box-shadow:var(--ptc-shadow-small);border:solid 1px var(--color-gray-12)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}.icon-wrapper{width:32px;display:inline-flex;justify-content:center;align-items:center}.icon-wrapper .active-icon{display:none}.icon-wrapper .inactive-icon{display:inline}.icon-wrapper:hover .active-icon{display:inline}.icon-wrapper:hover .inactive-icon{display:none}.popup{display:inline-flex;width:256px}.popup i{margin-right:var(--ptc-element-spacing-02)}ptc-tooltip .wrapper-content.sc-ptc-tooltip{display:inline-flex;justify-content:center}';export{c as ptc_collapse_list}
1
+ import{r as e,c as t,h as i,H as l,a as s}from"./p-944c5be8.js";import{d as a,M as n,b as o}from"./p-1e9f07cf.js";const r='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .acls-1,.acls-4{fill:none}.acls-1{stroke:#74c34d;stroke-width:.7px}.acls-2{fill:#74c34d;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.acls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="acls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="acls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="acls-4"/>\n </g>\n <text id="i" class="acls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n';class h{}const c=class{constructor(i){e(this,i),this.itemSelected=t(this,"itemSelected",7),this.itemExpanded=t(this,"itemExpanded",7),this.textChanged=t(this,"textChanged",7),this.inputUpdated=t(this,"inputUpdated",7),this.ready=t(this,"ready",7),this.viewUpdated=t(this,"viewUpdated",7),this.changed=t(this,"changed",7),this.data=void 0,this.searchText=void 0,this.listOpened=!1,this.showSearchBar=!0,this.header=void 0,this.selectedValue=void 0,this.selectedItems=void 0,this.hashMap=void 0,this.debouncedUpdatedEvent=void 0,this.refreshBuffer=void 0,this.listItems=void 0,this.placeholderText=void 0,this.debounceUpdateDelay=void 0,this.allowMultiSelect=!0}componentWillLoad(){this.loadListItems(),this.selectedItems=[]}componentDidLoad(){this.ready.emit({sender:this.el,tree:this.data,search:this.searchText}),this.debouncedUpdatedEvent=a((()=>{this.changed.emit({sender:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,search:this.searchText})}),this.debounceUpdateDelay,this)}componentDidUpdate(){this.viewUpdated.emit({sender:this.el,tree:this.data,search:this.searchText})}onItemSelectedHandler(e){this.itemSelected.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data}),this.fireChangedEvent()}onInputUpdated(e){let t=e.target;this.searchText=t.value,this.inputUpdated.emit({event:e,sender:t,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data,search:this.searchText}),this.fireChangedEvent()}onItemExpandedHandler(e){this.itemExpanded.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data})}fireChangedEvent(){this.debouncedUpdatedEvent()}loadListItems(){if(this.hashMap={},!this.data){let e=n(this.el);if(e.collapseListItem){this.data=new Array;let t=(e,i)=>{e.map((e=>{var l=new h;if(l.isExternalLink=!!e.linkHref,e.linkHref?(l.href=e.linkHref,l.target=e.linkTarget,l.title=e.linkTitle,l.text=e.facetDisplay,l.id=o()):(l.id=o(),l.text=e.facetDisplay,l.name=e.facetName,l.value=e.facetValue,l.category=e.category,l.allowMultiSelect="false"!=e.allowMultiSelect,l.enableSearch="true"==e.enableSearch,l.searchBoxPlaceholder=e.placeholderText,l.tooltip=e.tooltip,this.setUpCategory(l.category,l.allowMultiSelect)),e.collapseListItem)if(l.children=new Array,Array.isArray(e.collapseListItem))t(e.collapseListItem,l.children);else{let i=new Array;i.push(e.collapseListItem),t(i,l.children)}this.hashMap[l.id]=l,i.push(l)}))};this.setUpCategory("default",!0),t(e.collapseListItem,this.data)}}}setUpCategory(e,t){this.selectedValue||(this.selectedValue={}),e&&!this.selectedValue[e]&&(this.selectedValue[e]={name:e,items:new Array,allowMultiSelect:t})}collapseAllFirstLevelItems(e){this.el.shadowRoot.querySelectorAll(".level-1").forEach((t=>{t.classList.contains("expanded")&&t!=e&&!this.listOpened&&t.classList.remove("expanded")}))}updateExpandedItems(){const e=t=>{this.refreshBuffer||(this.refreshBuffer=t);const i=t-this.refreshBuffer;this.el.shadowRoot.querySelectorAll("li").forEach((e=>{let t=e.querySelector(":scope > ul");t&&(e.classList.contains("expanded")?t.style.maxHeight=t.scrollHeight+"px":t.style.removeProperty("max-height"))})),i<2500?window.requestAnimationFrame(e):this.refreshBuffer=void 0};this.refreshBuffer?this.refreshBuffer=void 0:window.requestAnimationFrame(e)}updateSelectedItemStatus(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0?(this.selectedValue[e].allowMultiSelect?l.push(i.value):(this.selectedItems=this.selectedItems.filter((e=>e.value!=l[0])),l=[i.value]),this.selectedItems.push(i)):(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}unSelectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)>-1&&(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}selectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0&&(this.selectedValue[e].allowMultiSelect?l.push(i.value):l=[i.value],this.selectedItems.push(i)),this.selectedValue[e].items=l}}getItemByValue(e){let t;if(this.hashMap)for(const[i,l]of Object.entries(this.hashMap))if(l.value==e){t=l;break}return t}onItemFilterSearchUpdate(e){if(e&&e.target){let t=e.target,i=t.value;if(t){t.closest("ul").querySelectorAll("li:not(.search-box-wrapper)").forEach(i&&i.length>0?e=>{var t;let l=null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.toLowerCase();l&&l.indexOf(i)>-1?e.style.removeProperty("display"):e.style.display="none"}:e=>{e.style.removeProperty("display")})}this.updateExpandedItems()}}onItemLinkClick(e,t){e&&e.preventDefault(),this.updateSelectedItemStatus(t),this.onItemSelectedHandler(e)}onExpandClick(e,t){if(e){e.preventDefault();let i=e.currentTarget,l=i.closest(".level-1"),s=i.closest("li");if(t&&this.collapseAllFirstLevelItems(l),s&&s.classList.toggle("expanded"),i.classList.contains("expander-icon")){let e=s.classList.contains("expanded")?"minus":"plus";i.querySelector("icon-asset").setAttribute("name",e)}this.updateExpandedItems()}this.onItemExpandedHandler(e)}render(){let e=e=>{if(e)return i("ptc-tooltip",{"text-display":"inline",mode:"wrapper","z-index":"z-2",position:"bottom",description:""},i("div",{class:"icon-wrapper"},i("i",{class:"active-icon",innerHTML:r}),i("i",{class:"inactive-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .cls-1,.cls-4{fill:none}.cls-1{stroke:#a6adb4;stroke-width:.7px}.cls-2{fill:#a6adb4;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.cls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="cls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="cls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="cls-4"/>\n </g>\n <text id="i" class="cls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n'})),i("span",{class:"popup",slot:"description"},i("i",{innerHTML:r}),i("div",{class:"content",innerHTML:e})))},t=(e,l,a)=>{let n=`level-${l}`;return i("ul",null,a&&i("li",{class:"search-box-wrapper"},i("div",{class:"search-box"},i("input",{class:"search-box",id:"searchBoxId",type:"text",placeholder:a.placeholder,onKeyUp:e=>{this.onItemFilterSearchUpdate(e)},onBlur:e=>{this.onItemFilterSearchUpdate(e)}}))),e.map((e=>{let a,o,r=!1,h=!1;return e.enableSearch&&(o={placeholder:e.searchBoxPlaceholder}),1==l?e.children?(r=!0,h=!1,a=i("icon-asset",{type:"ptc",name:"chevron-down",color:"ptc-green",size:"medium"})):(r=!1,h=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"ptc-green",size:"medium"})):l>1&&(h=!0,e.children?(r=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"gray",size:"xxx-small"})):r=!1),i("li",{class:n},s(e,a,l,r,h),e.children?t(e.children,l+1,o):"")})))},s=(t,l,s,a,n)=>{let o=1==s?t.tooltip:void 0;return t.isExternalLink?i("a",{href:t.href,id:t.id,target:t.target,title:t.title},l,t.text,e(o)):!a&&n||a&&!n?i("a",{href:"#",id:t.id,title:t.text,onClick:e=>{a?this.onExpandClick(e,this.allowMultiSelect&&1==s):this.onItemLinkClick(e,t.id)}},l,t.text,e(o)):[i("a",{class:"expander-icon",href:"#",id:t.id,onClick:e=>{this.onExpandClick(e,!1)}},l),i("a",{href:"#",title:t.text,id:t.id,onClick:e=>{this.onItemLinkClick(e,t.id)}},t.text),e(o)]};return i(l,null,this.showSearchBar?i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),i("div",{class:"search-box"},i("input",{type:"text",id:"searchBoxId",placeholder:this.placeholderText,onKeyUp:e=>{this.onInputUpdated(e)}})),t(this.data,1)):i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),t(this.data,1)))}async removeSelectedItem(e){let t=this.getItemByValue(e);this.unSelectItem(t.id),this.fireChangedEvent()}async addSelectedItem(e){let t=this.getItemByValue(e);this.selectItem(t.id)}get el(){return s(this)}};c.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;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:var(--ptc-element-spacing-03) 0}.level-1>ul>li:first-child{margin-top:var(--ptc-element-spacing-05)}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:var(--ptc-element-spacing-02) 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:var(--ptc-element-spacing-09)}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) 17.5px 0;display:block;font-size:var(--ptc-font-size-small);letter-spacing:0.45px;font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-12);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:"";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:var(--ptc-element-spacing-05)}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:var(--ptc-element-spacing-05)}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-green-07);text-decoration:none}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:"";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-08) var(--ptc-element-spacing-02) var(--ptc-element-spacing-04);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:var(--ptc-element-spacing-07)}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus{outline:none;box-shadow:var(--ptc-shadow-small);border:solid 1px var(--color-gray-12)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}.icon-wrapper{width:32px;display:inline-flex;justify-content:center;align-items:center}.icon-wrapper .active-icon{display:none}.icon-wrapper .inactive-icon{display:inline}.icon-wrapper:hover .active-icon{display:inline}.icon-wrapper:hover .inactive-icon{display:none}.popup{display:inline-flex;width:256px}.popup i{margin-right:var(--ptc-element-spacing-02)}ptc-tooltip .wrapper-content.sc-ptc-tooltip{display:inline-flex;justify-content:center}';export{c as ptc_collapse_list}
@@ -1,4 +1,4 @@
1
- import{r as t,c as i,h as e,H as n,g as a}from"./p-ac75c7ad.js";import{V as o}from"./p-18a5a338.js";import{h as c}from"./p-1e9f07cf.js";import{_ as r,a as l,M as d,n as s,h,o as p,m,i as f,f as x,e as u,k as g,j as b,l as _}from"./p-c1513c3f.js";
1
+ import{r as t,c as i,h as e,H as n,a}from"./p-944c5be8.js";import{V as o}from"./p-18a5a338.js";import{h as c}from"./p-1e9f07cf.js";import{_ as r,a as l,M as d,n as s,h,o as p,m,i as f,f as x,e as u,k as g,j as b,l as _}from"./p-c1513c3f.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2016 Google Inc.
@@ -1 +1 @@
1
- import{r as t,h as e,H as a}from"./p-ac75c7ad.js";const h=class{constructor(e){t(this,e)}render(){return e(a,null,e("slot",null))}};h.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;text-align:center;margin:12px 0}:host ::slotted(a){display:inline-block;padding:10px 24px;background-color:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill);color:var(--color-gray-10) !important;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration:none !important;margin:12px;max-width:205px;vertical-align:middle;line-height:var(--ptc-line-height-densest)}:host ::slotted(a):last-child{margin-right:0}:host ::slotted(a:hover){background-color:var(--color-gray-04)}";export{h as ptc_nav_pills}
1
+ import{r as t,h as e,H as a}from"./p-944c5be8.js";const h=class{constructor(e){t(this,e)}render(){return e(a,null,e("slot",null))}};h.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;text-align:center;margin:12px 0}:host ::slotted(a){display:inline-block;padding:10px 24px;background-color:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill);color:var(--color-gray-10) !important;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration:none !important;margin:12px;max-width:205px;vertical-align:middle;line-height:var(--ptc-line-height-densest)}:host ::slotted(a):last-child{margin-right:0}:host ::slotted(a:hover){background-color:var(--color-gray-04)}";export{h as ptc_nav_pills}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as o,g as l}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.tileClick=i(this,"tileClick",7),this.link=void 0,this.variant=void 0,this.styles=void 0,this.trackerId=void 0,this.accessibilityIndex=0}handleClick(){this.tileClick.emit()}handleKeyPress(t){if("Enter"===t.key)if(this.link){const t=this.el.shadowRoot.querySelector("a.link-press");t&&t.click()}else this.handleClick()}componentDidLoad(){this.el.addEventListener("keydown",this.handleKeyPress.bind(this))}disconnectedCallback(){this.el.removeEventListener("keydown",this.handleKeyPress.bind(this))}render(){const t=e("div",{class:"tile-content"},e("span",{class:"tile-title-span"},e("slot",{name:"tile-title"})),e("div",{class:"tile-title-desc"},e("slot",{name:"tile-description"})));return e(o,null,this.styles&&e("style",null,this.styles),e("div",{id:this.trackerId,class:`tile ${this.variant}`,onClick:()=>this.handleClick(),tabindex:this.accessibilityIndex},"image"===this.variant&&e("div",{class:"tile-image"},e("slot",{name:"tile-image"})),t,this.link&&e("a",{href:this.link,class:"link-overlay link-press",tabindex:"-1"})))}get el(){return l(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}@media screen and (min-width: 992px){:host{flex:1}}.tile{position:relative;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);overflow:hidden;cursor:pointer;transition:border 0.3s;max-width:360px;height:116px}.tile.image{width:299px;display:flex;flex-wrap:nowrap;flex-direction:row;align-items:stretch;margin:0 auto;box-shadow:var(--ptc-shadow-x-large);max-width:unset;height:100%;min-height:140px}@media screen and (min-width: 992px){.tile.image{width:unset;min-width:299px}}@media screen and (min-width: 1440px){.tile.image{min-height:116px}}.tile.image .tile-image{flex:0 0 120px;display:flex;align-items:center;overflow:hidden}.tile.image .tile-content{border-top:2px solid var(--color-white);border-bottom:2px solid var(--color-white);background:#FFF;text-align:left;flex:1;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;transition:border var(--ptc-transition-medium) var(--ptc-ease-in)}.tile.image:hover .tile-content{border-bottom:2px solid var(--color-blue-06);background:var(--color-white)}.tile.image:focus .tile-content,.tile.image:active .tile-content{border-bottom:2px solid var(--color-blue-06);background:var(--color-gray-01)}.tile.text{background-color:var(--color-white);border:1px solid var(--color-gray-03);width:268px}.tile.text:hover{border:1px solid var(--color-gray-07)}.tile.text:active{background-color:var(--color-gray-01);border:1px solid var(--color-gray-07)}.tile.text:focus-visible{outline-offset:1px}@media only screen and (min-width: 992px){.tile.text{width:auto;height:auto}}.tile.text .tile-content{padding:20px}.tile .tile-title-span{margin:0}.tile .tile-title-desc{margin:4px 0 0}.tile .link-overlay{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:1}.tile .tile-content{padding:var(--ptc-element-spacing-06)}.tile .tile-content .tile-title-span{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium)}.tile .tile-content p{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p)}.tile:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}::slotted(img[slot=tile-image]){width:120px !important;height:100% !important;object-fit:cover;display:block;max-height:100%;position:absolute}::slotted(span[slot=tile-title]),::slotted(p[slot=tile-title]){color:var(--color-blue-07) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-xx-small) !important;font-weight:var(--ptc-font-weight-medium) !important;text-align:left !important;margin:0px !important}::slotted(p[slot=tile-description]),::slotted(h2[slot=tile-description]),::slotted(h3[slot=tile-description]){color:var(--color-gray-10) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-x-small) !important;font-weight:var(--ptc-font-weight-bold) !important;line-height:var(--ptc-line-height-p) !important;text-align:left !important;margin-bottom:0px !important}::slotted(h2[slot=tile-description]),::slotted(h3[slot=tile-description]){margin-top:0px !important}::slotted(p[slot=tile-title]){margin-bottom:0px !important}";export{a as ptc_info_tile}
1
+ import{r as t,c as i,h as e,H as o,a as l}from"./p-944c5be8.js";const a=class{constructor(e){t(this,e),this.tileClick=i(this,"tileClick",7),this.link=void 0,this.variant=void 0,this.styles=void 0,this.trackerId=void 0,this.accessibilityIndex=0}handleClick(){this.tileClick.emit()}handleKeyPress(t){if("Enter"===t.key)if(this.link){const t=this.el.shadowRoot.querySelector("a.link-press");t&&t.click()}else this.handleClick()}componentDidLoad(){this.el.addEventListener("keydown",this.handleKeyPress.bind(this))}disconnectedCallback(){this.el.removeEventListener("keydown",this.handleKeyPress.bind(this))}render(){const t=e("div",{class:"tile-content"},e("span",{class:"tile-title-span"},e("slot",{name:"tile-title"})),e("div",{class:"tile-title-desc"},e("slot",{name:"tile-description"})));return e(o,null,this.styles&&e("style",null,this.styles),e("div",{id:this.trackerId,class:`tile ${this.variant}`,onClick:()=>this.handleClick(),tabindex:this.accessibilityIndex},"image"===this.variant&&e("div",{class:"tile-image"},e("slot",{name:"tile-image"})),t,this.link&&e("a",{href:this.link,class:"link-overlay link-press",tabindex:"-1"})))}get el(){return l(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}@media screen and (min-width: 992px){:host{flex:1}}.tile{position:relative;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);overflow:hidden;cursor:pointer;transition:border 0.3s;max-width:360px;height:116px}.tile.image{width:299px;display:flex;flex-wrap:nowrap;flex-direction:row;align-items:stretch;margin:0 auto;box-shadow:var(--ptc-shadow-x-large);max-width:unset;height:100%;min-height:140px}@media screen and (min-width: 992px){.tile.image{width:unset;min-width:299px}}@media screen and (min-width: 1440px){.tile.image{min-height:116px}}.tile.image .tile-image{flex:0 0 120px;display:flex;align-items:center;overflow:hidden}.tile.image .tile-content{border-top:2px solid var(--color-white);border-bottom:2px solid var(--color-white);background:#FFF;text-align:left;flex:1;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;transition:border var(--ptc-transition-medium) var(--ptc-ease-in)}.tile.image:hover .tile-content{border-bottom:2px solid var(--color-blue-06);background:var(--color-white)}.tile.image:focus .tile-content,.tile.image:active .tile-content{border-bottom:2px solid var(--color-blue-06);background:var(--color-gray-01)}.tile.text{background-color:var(--color-white);border:1px solid var(--color-gray-03);width:268px}.tile.text:hover{border:1px solid var(--color-gray-07)}.tile.text:active{background-color:var(--color-gray-01);border:1px solid var(--color-gray-07)}.tile.text:focus-visible{outline-offset:1px}@media only screen and (min-width: 992px){.tile.text{width:auto;height:auto}}.tile.text .tile-content{padding:20px}.tile .tile-title-span{margin:0}.tile .tile-title-desc{margin:4px 0 0}.tile .link-overlay{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:1}.tile .tile-content{padding:var(--ptc-element-spacing-06)}.tile .tile-content .tile-title-span{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium)}.tile .tile-content p{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p)}.tile:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}::slotted(img[slot=tile-image]){width:120px !important;height:100% !important;object-fit:cover;display:block;max-height:100%;position:absolute}::slotted(span[slot=tile-title]),::slotted(p[slot=tile-title]){color:var(--color-blue-07) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-xx-small) !important;font-weight:var(--ptc-font-weight-medium) !important;text-align:left !important;margin:0px !important}::slotted(p[slot=tile-description]),::slotted(h2[slot=tile-description]),::slotted(h3[slot=tile-description]){color:var(--color-gray-10) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-x-small) !important;font-weight:var(--ptc-font-weight-bold) !important;line-height:var(--ptc-line-height-p) !important;text-align:left !important;margin-bottom:0px !important}::slotted(h2[slot=tile-description]),::slotted(h3[slot=tile-description]){margin-top:0px !important}::slotted(p[slot=tile-title]){margin-bottom:0px !important}";export{a as ptc_info_tile}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as h,g as s}from"./p-ac75c7ad.js";const a=class{constructor(i){t(this,i),this.readMoreClicked=e(this,"readMoreClicked",7),this.readMoreRendered=e(this,"readMoreRendered",7),this.expanded=!1,this.maxCharacters=100,this.description=void 0,this.readMoreText="Read More",this.readLessText="Read Less",this.trackerId=void 0}toggleExpand(){this.expanded=!this.expanded,this.readMoreClicked.emit(this.expanded)}render(){const t=this.description?this.description.trim():"",e=t.length>this.maxCharacters?t.substring(0,this.maxCharacters)+"...":t,s=this.expanded?this.readLessText:this.readMoreText;return i(h,null,i("p",{class:"description"},this.expanded?this.description:e),t.length>this.maxCharacters&&i("div",{id:this.trackerId,class:"tracker-div"},i("label",{class:"truncated-label mf-listen",onClick:()=>this.toggleExpand(),onKeyDown:t=>{"Enter"===t.key&&this.toggleExpand()},tabIndex:0},s)))}get el(){return s(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}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:"";padding-left:8px}:host .truncated-label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .tracker-div{display:inline;display:inline-block}';export{a as ptc_readmore_char}
1
+ import{r as t,c as e,h as i,H as h,a as s}from"./p-944c5be8.js";const a=class{constructor(i){t(this,i),this.readMoreClicked=e(this,"readMoreClicked",7),this.readMoreRendered=e(this,"readMoreRendered",7),this.expanded=!1,this.maxCharacters=100,this.description=void 0,this.readMoreText="Read More",this.readLessText="Read Less",this.trackerId=void 0}toggleExpand(){this.expanded=!this.expanded,this.readMoreClicked.emit(this.expanded)}render(){const t=this.description?this.description.trim():"",e=t.length>this.maxCharacters?t.substring(0,this.maxCharacters)+"...":t,s=this.expanded?this.readLessText:this.readMoreText;return i(h,null,i("p",{class:"description"},this.expanded?this.description:e),t.length>this.maxCharacters&&i("div",{id:this.trackerId,class:"tracker-div"},i("label",{class:"truncated-label mf-listen",onClick:()=>this.toggleExpand(),onKeyDown:t=>{"Enter"===t.key&&this.toggleExpand()},tabIndex:0},s)))}get el(){return s(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}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:"";padding-left:8px}:host .truncated-label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .tracker-div{display:inline;display:inline-block}';export{a as ptc_readmore_char}
@@ -1 +1 @@
1
- import{r as e,h as t,g as i}from"./p-ac75c7ad.js";const o=class{constructor(t){e(this,t),this.src=void 0,this.width=void 0,this.type="Brightcove",this.videoLoaded=void 0}componentWillLoad(){this.videoLoaded=!0}render(){return this.getRenderer()}renderPreloader(){return t("div",{class:"skeleton-block"})}renderHtmlVideoEmbed(){let e=this.src||"";return e.indexOf(".")>0&&e.split("."),t("div",{class:"video-container",style:this.getWidth()},t("div",{class:"html-video"},t("video",{controls:!0},t("source",{src:e,type:"video/mp4"}))))}renderYoutubeVideoEmbed(){return t("div",{class:"video-container",style:this.getWidth()},t("iframe",{src:this.src}))}renderBrightcoveVideoEmbed(){return t("div",{class:"video-container",style:this.getWidth()},t("iframe",{src:`https://players.brightcove.net/1532789042001/HknUe20R_default/index.html?videoId=${this.src}`,allowfullScreen:!0,allow:"encrypted-media"}))}getWidth(){return this.width?{maxWidth:`${this.width}px`,width:"100%"}:{width:"100%"}}getRenderer(){if(!this.videoLoaded)return this.renderPreloader();switch(this.type){case"Youtube":return this.renderYoutubeVideoEmbed();case"Brightcove":return this.renderBrightcoveVideoEmbed();default:return this.renderHtmlVideoEmbed()}}get el(){return i(this)}};o.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}}.video-container{display:inline-block;position:relative;overflow:hidden;width:100%;padding-top:56.25%}.video-container iframe,.video-container video{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.video-container iframe{border:0}.skeleton-block{display:block;position:relative;background:linear-gradient(to right, var(--color-gray-02) 25%, var(--color-gray-03) 50%, var(--color-gray-02) 75%);background-size:200% 100%;animation:loading 2.5s linear infinite;border-radius:4px;margin-bottom:8px;width:100%;height:100%}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}";export{o as ptc_video_embed}
1
+ import{r as e,h as t,a as i}from"./p-944c5be8.js";const o=class{constructor(t){e(this,t),this.src=void 0,this.width=void 0,this.type="Brightcove",this.videoLoaded=void 0}componentWillLoad(){this.videoLoaded=!0}render(){return this.getRenderer()}renderPreloader(){return t("div",{class:"skeleton-block"})}renderHtmlVideoEmbed(){let e=this.src||"";return e.indexOf(".")>0&&e.split("."),t("div",{class:"video-container",style:this.getWidth()},t("div",{class:"html-video"},t("video",{controls:!0},t("source",{src:e,type:"video/mp4"}))))}renderYoutubeVideoEmbed(){return t("div",{class:"video-container",style:this.getWidth()},t("iframe",{src:this.src}))}renderBrightcoveVideoEmbed(){return t("div",{class:"video-container",style:this.getWidth()},t("iframe",{src:`https://players.brightcove.net/1532789042001/HknUe20R_default/index.html?videoId=${this.src}`,allowfullScreen:!0,allow:"encrypted-media"}))}getWidth(){return this.width?{maxWidth:`${this.width}px`,width:"100%"}:{width:"100%"}}getRenderer(){if(!this.videoLoaded)return this.renderPreloader();switch(this.type){case"Youtube":return this.renderYoutubeVideoEmbed();case"Brightcove":return this.renderBrightcoveVideoEmbed();default:return this.renderHtmlVideoEmbed()}}get el(){return i(this)}};o.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}}.video-container{display:inline-block;position:relative;overflow:hidden;width:100%;padding-top:56.25%}.video-container iframe,.video-container video{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.video-container iframe{border:0}.skeleton-block{display:block;position:relative;background:linear-gradient(to right, var(--color-gray-02) 25%, var(--color-gray-03) 50%, var(--color-gray-02) 75%);background-size:200% 100%;animation:loading 2.5s linear infinite;border-radius:4px;margin-bottom:8px;width:100%;height:100%}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}";export{o as ptc_video_embed}
@@ -0,0 +1 @@
1
+ import{r as n,h as i,H as t,a}from"./p-944c5be8.js";import{o as e}from"./p-1e9f07cf.js";const r=class{constructor(i){n(this,i),this.videoSrc=void 0,this.posterSrc=void 0,this.overlay=!0,this.playButtonTitle=void 0,this.pauseButtonTitle=void 0,this.playButtonTrackerId=void 0,this.buttonLocation="bottom-right",this.links=void 0}componentWillLoad(){this.sliderSettings={IsMouseDown:!1,PreventAnchor:!1,Timeout:void 0,StartX:0,ScrollLeft:0},this.readLinkItems()}componentDidLoad(){this.slider=this.el.shadowRoot.querySelector(".card-section"),e(this.el,".card-section",!0)}readLinkItems(){this.links=[],this.el.querySelectorAll(".card-cta-links > a").forEach((n=>{n&&this.links.length<4&&this.links.push(n)}))}openLink(n){n&&n.click()}onSliderScroll(){0===this.slider.scrollLeft&&this.slider.classList.contains("scroll-st")?this.slider.classList.remove("scroll-st"):0===this.slider.scrollLeft||this.slider.classList.contains("scroll-st")||this.slider.classList.add("scroll-st"),this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth&&this.slider.classList.contains("scroll-ed")?this.slider.classList.remove("scroll-ed"):this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth||this.slider.classList.contains("scroll-ed")||this.slider.classList.add("scroll-ed")}onLinkClick(n){window.innerWidth>1199||(n&&this.sliderSettings.PreventAnchor&&n.preventDefault(),this.sliderSettings.PreventAnchor=!1,clearTimeout(this.sliderSettings.Timeout))}onSliderMouseDown(n,i){n.preventDefault(),this.sliderSettings.IsMouseDown=!0,i.classList.add("active"),this.sliderSettings.StartX=n.pageX-i.offsetLeft,this.sliderSettings.ScrollLeft=i.scrollLeft,this.sliderSettings.PreventAnchor=!1}onSliderMouseExit(n,i){n.preventDefault(),clearTimeout(this.sliderSettings.Timeout),this.sliderSettings.IsMouseDown=!1,i.classList.remove("active")}onSliderMouseDrag(n,i){this.sliderSettings.Timeout=setTimeout((()=>{this.sliderSettings.PreventAnchor=!0}),80),this.sliderSettings.IsMouseDown&&(n.preventDefault(),i.scrollLeft=this.sliderSettings.ScrollLeft-(n.pageX-i.offsetLeft-this.sliderSettings.StartX))}onCardMouseDown(n){if(n&&n.currentTarget){let i=n.currentTarget;i&&i.classList.add("active")}}onCardMouseUp(n){if(n&&n.currentTarget){let i=n.currentTarget;i&&(i.classList.remove("active"),this.sliderSettings.IsMouseDown&&(clearTimeout(this.sliderSettings.Timeout),this.sliderSettings.IsMouseDown=!1))}}componentDidRender(){let n=this;this.el.shadowRoot.querySelectorAll(".card-link").forEach((i=>{i.querySelector("a").addEventListener("click",(i=>{n.onLinkClick(i)})),i.addEventListener("mousedown",(i=>{n.onCardMouseDown(i)})),i.addEventListener("mouseup",(i=>{n.onCardMouseUp(i)})),i.addEventListener("mouseleave",(i=>{n.onCardMouseUp(i)})),i.addEventListener("touchend",(i=>{n.onCardMouseUp(i)}))}))}render(){return i(t,null,i("ptc-background-video",Object.assign({},this.getBackgroundVideoSettings(),{"overlay-type":"dark","tracker-id":this.playButtonTrackerId}),i("div",{class:"ptc-container"},i("div",{class:"primary-content-wrapper"},i("slot",{name:"primary-content"})),i("div",{class:"card-links"},i("div",{class:"secondary-content-wrapper"},i("slot",{name:"secondary-content"})),i("div",Object.assign({class:"card-section"},this.getSliderBindings()),this.links&&this.links.map(((n,t)=>{const a=n.getAttribute("data-tracker-id"),e=n.getAttribute("data-icon"),r=n.getAttribute("target"),s=n.getAttribute("title"),o=n.textContent;if(o)return i("div",{id:a,class:`card-link card-link-${t+1}`,"tab-index":t+1},i("div",{class:"bgb"}),i("div",{class:"bgh"}),i("div",{class:"bgp"}),i("a",{href:n.href,target:r,title:s,class:"link-cover"}),e&&i("icon-asset",{type:"ptc",size:"large",color:"white",name:e}),i("span",{class:"link-text hyphenate-text"},o.trim()))})))))))}getBackgroundVideoSettings(){return{videoSrc:this.videoSrc,posterSrc:this.posterSrc,pauseButtonTitle:this.pauseButtonTitle,playButtonTitle:this.playButtonTitle,buttonLocation:this.buttonLocation,overlay:this.overlay,class:"bg-video"}}getSliderBindings(){return{onMouseDown:n=>{this.onSliderMouseDown(n,this.slider)},onMouseUp:n=>{this.onSliderMouseExit(n,this.slider)},onMouseLeave:n=>{this.onSliderMouseExit(n,this.slider)},onMouseMove:n=>{this.onSliderMouseDrag(n,this.slider)}}}get el(){return a(this)}};r.style="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 overflow: hidden;\n}\n\na {\n text-decoration: none !important;\n color: inherit !important;\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.ptc-container {\n padding-right: 24px;\n padding-left: 24px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media only screen and (min-width: 1200px) {\n .ptc-container {\n padding-left: 0;\n padding-right: 0;\n max-width: 1136px;\n }\n}\n@media only screen and (min-width: 1440px) {\n .ptc-container {\n padding-left: 0;\n padding-right: 0;\n max-width: 1200px;\n }\n}\n.ptc-container-lg {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media only screen and (min-width: 480px) {\n .ptc-container-lg {\n padding-left: var(--ptc-layout-spacing-03);\n padding-right: var(--ptc-layout-spacing-03);\n }\n}\n@media only screen and (min-width: 768px) {\n .ptc-container-lg {\n padding-left: var(--ptc-layout-spacing-04);\n padding-right: var(--ptc-layout-spacing-04);\n }\n}\n@media only screen and (min-width: 992px) {\n .ptc-container-lg {\n padding-left: var(--ptc-element-spacing-08);\n padding-right: var(--ptc-element-spacing-08);\n }\n}\n@media only screen and (min-width: 1980px) {\n .ptc-container-lg {\n padding-left: 0;\n padding-right: 0;\n max-width: 1900px;\n }\n}\n.ptc-container-fluid {\n width: 100%;\n}\n\n.primary-content-wrapper {\n max-width: 720px;\n padding: 120px 0;\n}\n@media only screen and (min-width: 992px) {\n .primary-content-wrapper {\n padding: 160px 0;\n }\n}\n@media only screen and (min-width: 1440px) {\n .primary-content-wrapper {\n padding: 160px 0;\n }\n}\n\n.bg-video {\n width: 100%;\n}\n\n.ptc-container {\n position: relative;\n z-index: 20;\n min-height: 587px;\n}\n\n.card-links {\n margin: 0;\n padding-bottom: 72px;\n}\n@media only screen and (min-width: 992px) {\n .card-links {\n padding-bottom: 88px;\n }\n}\n.card-links .secondary-content-wrapper {\n margin: 0;\n max-width: 720px;\n}\n.card-links .card-section {\n display: flex;\n position: relative;\n flex-wrap: nowrap;\n flex-shrink: 0;\n margin: 20px -24px 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 cursor: pointer;\n display: inline-flex;\n position: relative;\n overflow: hidden;\n text-decoration: none;\n z-index: 7;\n align-items: center;\n gap: 16px;\n flex: 0 0 224px;\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-small);\n font-style: var(--ptc-font-style-normal);\n font-weight: var(--ptc-font-weight-bold);\n line-height: var(--ptc-line-height-p);\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 icon-asset {\n z-index: 10;\n}\n.card-links .card-section .card-link .link-text {\n display: block;\n inline-size: 190px;\n white-space: break-spaces;\n z-index: 10;\n font-size: var(--ptc-font-size-small);\n}\n@media only screen and (min-width: 992px) {\n .card-links .card-section .card-link .link-text {\n font-size: var(--ptc-font-size-medium);\n }\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 .link-cover {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 11;\n width: 99%;\n height: 99%;\n border-radius: var(--ptc-border-radius-standard);\n border: 2px solid transparent;\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 backdrop-filter: blur(6px);\n -webkit-backdrop-filter: blur(6px);\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 .card-link:focus-visible, .card-links .card-section .card-link:focus, .card-links .card-section .card-link:focus-within {\n border-radius: var(--ptc-border-radius-standard);\n outline: 5px solid var(--keyboard-nav-outline);\n border-bottom-color: white;\n}\n.card-links .card-section .card-link:focus-visible .link-cover, .card-links .card-section .card-link:focus .link-cover, .card-links .card-section .card-link:focus-within .link-cover {\n border-color: white;\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 0 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 0 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@media only screen and (min-width: 1200px) {\n .card-section.in-view {\n overflow: visible !important;\n }\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}";export{r as ptc_homepage_video_background}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-ac75c7ad.js";import{a as o}from"./p-1e9f07cf.js";const n=class{constructor(e){t(this,e),this.colors=["hp-blue","hp-red","hp-gray","hp-green","hp-orange"],this.activeTab=0,this.dropdownOpen=!1,this.tileElements=[]}componentWillLoad(){this.updateTileElements(this.activeTab),this.sliderSettings={IsMouseDown:!1,PreventAnchor:!1,Timeout:void 0,StartX:0,ScrollLeft:0}}componentDidLoad(){this.slider=this.el.shadowRoot.querySelector(".card-section")}componentDidRender(){o("homepage-clickable-tab",this.el)}handleTabSelected(t){this.activeTab=t,this.dropdownOpen=!1,this.updateTileElements(t)}toggleDropdown(){this.dropdownOpen=!this.dropdownOpen}getTabs(){return Array.from(this.el.querySelectorAll('[slot^="tab-label"]')).map(((t,e)=>({label:t.textContent,index:e})))}updateTileElements(t){this.tileElements=Array.from(this.el.querySelectorAll(`[slot^="tab-tile-${t}"]`))}onSliderScroll(){0===this.slider.scrollLeft&&this.slider.classList.contains("scroll-st")?this.slider.classList.remove("scroll-st"):0===this.slider.scrollLeft||this.slider.classList.contains("scroll-st")||this.slider.classList.add("scroll-st"),this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth&&this.slider.classList.contains("scroll-ed")?this.slider.classList.remove("scroll-ed"):this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth||this.slider.classList.contains("scroll-ed")||this.slider.classList.add("scroll-ed")}onSliderMouseDown(t,e){t.preventDefault(),this.sliderSettings.IsMouseDown=!0,e.classList.add("active"),this.sliderSettings.StartX=t.pageX-e.offsetLeft,this.sliderSettings.ScrollLeft=e.scrollLeft,this.sliderSettings.PreventAnchor=!1,this.sliderSettings.Timeout=setTimeout((()=>{this.sliderSettings.PreventAnchor=!0}),80)}onSliderMouseExit(t,e){t.preventDefault(),clearTimeout(this.sliderSettings.Timeout),this.sliderSettings.IsMouseDown=!1,e.classList.remove("active")}onSliderMouseDrag(t,e){this.sliderSettings.IsMouseDown&&(t.preventDefault(),e.scrollLeft=this.sliderSettings.ScrollLeft-(t.pageX-e.offsetLeft-this.sliderSettings.StartX))}onCardMouseDown(t){if(t&&t.currentTarget){let e=t.currentTarget;e&&e.classList.add("active")}}onCardMouseUp(t){if(t&&t.currentTarget){let e=t.currentTarget;e&&e.classList.remove("active")}}render(){const t=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"11",viewBox:"0 0 15 11",fill:"none"},e("path",{d:"M13 8.5L7.34315 2.71178L1.68629 8.5",stroke:"white","stroke-width":"3","stroke-linecap":"round"})),i=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"11",viewBox:"0 0 15 11",fill:"none"},e("path",{d:"M13 2.5L7.34315 8.28822L1.68629 2.5",stroke:"white","stroke-width":"3","stroke-linecap":"round"})),o=this.getTabs();return e("div",{class:"wrapper"},e("div",{class:"header"},e("h2",null,e("slot",{name:"title"})),e("p",null,e("slot",{name:"description"}))),e("div",{class:"tabs"},e("div",{class:"tabs-desktop"},o.map((t=>e("homepage-clickable-tab",{label:t.label,active:this.activeTab===t.index,activeColor:this.colors[t.index],onClick:()=>this.handleTabSelected(t.index)})))),e("div",{class:"tabs-mobile"},e("button",{class:`dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen?"opened":""}`,onClick:()=>this.toggleDropdown()},o[this.activeTab].label,e("span",{class:"arrow"},this.dropdownOpen?t:i)),this.dropdownOpen&&e("div",{class:"dropdown-menu"},o.map((t=>e("div",{class:"dropdown-item "+(t.index===this.activeTab?"active-tab":""),onClick:()=>this.handleTabSelected(t.index)},e("slot",{name:`tab-label-${t.index}`}))))))),e("div",{class:"content"},o.map(((t,i)=>e("div",{class:"tab-content "+(this.activeTab===i?"active-tab":"")},e("slot",{name:`tab-image-${i}`}),e("div",{class:"content-detail"},e("div",{hidden:!0},t.label),e("h2",null,e("slot",{name:`tab-title-${i}`})),e("p",null,e("slot",{name:`tab-content-${i}`})),e("slot",{name:`tab-button-${i}`}),this.activeTab===i&&this.tileElements.length>0?e("div",Object.assign({class:"info-card-wrapper card-section"},this.getSliderBindings()),this.tileElements.map(((t,i)=>e("div",{class:`swiper-slide card-link card-link-${i+1}`,"tab-index":i+1,key:i,innerHTML:t.outerHTML,onMouseDown:t=>this.onCardMouseDown(t),onMouseUp:t=>this.onCardMouseUp(t),onMouseLeave:t=>this.onCardMouseUp(t),onTouchEnd:t=>{console.log("yes"),this.onCardMouseUp(t)}})))):null))))))}getSliderBindings(){return{onMouseDown:t=>{this.onSliderMouseDown(t,this.slider)},onMouseUp:t=>{this.onSliderMouseExit(t,this.slider)},onMouseLeave:t=>{this.onSliderMouseExit(t,this.slider)},onMouseMove:t=>{this.onSliderMouseDrag(t,this.slider)}}}get el(){return i(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}}::slotted(.title){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:20px !important;font-style:normal !important;font-weight:700 !important;line-height:30px !important;margin-top:0px !important;margin-bottom:16px !important}@media screen and (min-width: 768px){::slotted(.title){font-size:24px !important}}::slotted(.description){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:18px !important;font-style:normal !important;font-weight:400 !important;line-height:27px !important;margin-top:0px !important;margin-bottom:0px !important}::slotted(.tab-slot-image){width:auto;object-fit:contain;margin-bottom:32px}@media screen and (min-width: 480px){::slotted(.tab-slot-image){height:500px}}@media screen and (min-width: 992px){::slotted(.tab-slot-image){margin-bottom:unset;height:auto;max-width:580px;width:50%}}.header{text-align:center;margin-bottom:20px;max-width:720px}.header h2{margin-top:0px !important;margin-bottom:16px !important}.tabs{display:flex;justify-content:center;margin-bottom:40px;position:relative;z-index:99}@media screen and (min-width: 992px){.tabs{margin-bottom:64px}}.tabs-desktop{display:flex;gap:24px;flex:1}.tabs-desktop homepage-clickable-tab{flex:1 1 122px}.tabs-mobile{display:none;position:relative}.dropdown-button{color:white;padding:24px;border:none;border-radius:var(--ptc-border-radius-standard);cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);text-align:left}.dropdown-button.opened{border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px}.dropdown-button.hp-blue{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.dropdown-button.hp-green{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.dropdown-button.hp-red{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.dropdown-button.hp-gray{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.dropdown-button.hp-orange{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.dropdown-button .arrow{margin-left:24px}.dropdown-menu{position:absolute;width:100%;background-color:var(--color-white);color:var(--color-gray-10);display:flex;flex-direction:column;border-radius:0px 0px var(--ptc-border-radius-standard) var(--ptc-border-radius-standard);border-top:0px;box-shadow:var(--ptc-shadow-medium)}.dropdown-menu .dropdown-item{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-regular)}.dropdown-menu .dropdown-item.active-tab ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold) !important}.dropdown-item{padding:24px 24px 0px 24px;cursor:pointer}.dropdown-item:last-of-type{padding-bottom:24px}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold)}@media (max-width: 992px){.tabs-desktop{display:none}.tabs-mobile{display:block;width:100%}}.content{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.tab-content{display:none;opacity:0;flex-direction:column;width:100%;animation:fadeIn var(--ptc-transition-medium) ease-in-out forwards}.tab-content.active-tab{display:flex;opacity:1}@media only screen and (min-width: 992px){.tab-content{flex-wrap:nowrap;flex-direction:row;width:100%;justify-content:center;align-items:center;gap:56px}}.tab-content img{max-width:100%;width:100%;height:auto;margin-bottom:20px}@media only screen and (min-width: 992px){.tab-content img{width:580px;height:733px;flex-shrink:0}}.content-detail{text-align:left}@media only screen and (min-width: 992px){.content-detail{flex-grow:1;word-break:break-word}}.content-detail p,.content-detail h2{margin-block-start:unset;margin-block-end:unset}.content-detail h2{margin-bottom:16px}.content-detail p{margin-bottom:32px}.info-card-wrapper{margin-top:48px;display:flex;justify-content:center;align-items:center;width:calc(100% + 24px)}@media screen and (min-width: 992px){.info-card-wrapper{width:100%;margin-top:72px}}.card-section{display:flex;position:relative;flex-wrap:nowrap;flex-shrink:0;-ms-overflow-style:none;scrollbar-width:none;transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);justify-content:flex-start}.card-section::-webkit-scrollbar{display:none}.card-section .card-link{display:inline-flex;position:relative;text-decoration:none;z-index:10;align-items:center;gap:16px;margin-right:24px}.card-section .card-link .link-text{display:block;inline-size:190px;white-space:break-spaces}.card-section:before{position:absolute;width:32px;background:linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);top:16px;right:0;bottom:0;z-index:12}.card-section.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed{box-shadow:inset -2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3)}@media only screen and (min-width: 1200px){.card-section{align-items:flex-start;justify-content:flex-start;align-content:flex-start}.card-section.scroll-st,.card-section.scroll-ed,.card-section.scroll-ed.scroll-st{box-shadow:unset}.card-section .card-link{flex:unset}.card-section .card-link:first-child{margin-left:0}.card-section .card-link:last-child{margin-right:0}}.card-section{overflow:inherit;overflow-x:scroll;overflow-y:hidden;animation-duration:0ms;animation-delay:1000ms;animation-fill-mode:forwards}@media only screen and (min-width: 1200px){.card-section{overflow-x:scroll}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";export{n as homepage_toggled_content}
1
+ import{r as t,h as e,a as i}from"./p-944c5be8.js";import{a as o}from"./p-1e9f07cf.js";const n=class{constructor(e){t(this,e),this.colors=["hp-blue","hp-red","hp-gray","hp-green","hp-orange"],this.activeTab=0,this.dropdownOpen=!1,this.tileElements=[]}componentWillLoad(){this.updateTileElements(this.activeTab),this.sliderSettings={IsMouseDown:!1,PreventAnchor:!1,Timeout:void 0,StartX:0,ScrollLeft:0}}componentDidLoad(){this.slider=this.el.shadowRoot.querySelector(".card-section")}componentDidRender(){o("homepage-clickable-tab",this.el)}handleTabSelected(t){this.activeTab=t,this.dropdownOpen=!1,this.updateTileElements(t)}toggleDropdown(){this.dropdownOpen=!this.dropdownOpen}getTabs(){return Array.from(this.el.querySelectorAll('[slot^="tab-label"]')).map(((t,e)=>({label:t.textContent,index:e})))}updateTileElements(t){this.tileElements=Array.from(this.el.querySelectorAll(`[slot^="tab-tile-${t}"]`))}onSliderScroll(){0===this.slider.scrollLeft&&this.slider.classList.contains("scroll-st")?this.slider.classList.remove("scroll-st"):0===this.slider.scrollLeft||this.slider.classList.contains("scroll-st")||this.slider.classList.add("scroll-st"),this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth&&this.slider.classList.contains("scroll-ed")?this.slider.classList.remove("scroll-ed"):this.slider.scrollLeft===this.slider.scrollWidth-this.slider.offsetWidth||this.slider.classList.contains("scroll-ed")||this.slider.classList.add("scroll-ed")}onSliderMouseDown(t,e){t.preventDefault(),this.sliderSettings.IsMouseDown=!0,e.classList.add("active"),this.sliderSettings.StartX=t.pageX-e.offsetLeft,this.sliderSettings.ScrollLeft=e.scrollLeft,this.sliderSettings.PreventAnchor=!1,this.sliderSettings.Timeout=setTimeout((()=>{this.sliderSettings.PreventAnchor=!0}),80)}onSliderMouseExit(t,e){t.preventDefault(),clearTimeout(this.sliderSettings.Timeout),this.sliderSettings.IsMouseDown=!1,e.classList.remove("active")}onSliderMouseDrag(t,e){this.sliderSettings.IsMouseDown&&(t.preventDefault(),e.scrollLeft=this.sliderSettings.ScrollLeft-(t.pageX-e.offsetLeft-this.sliderSettings.StartX))}onCardMouseDown(t){if(t&&t.currentTarget){let e=t.currentTarget;e&&e.classList.add("active")}}onCardMouseUp(t){if(t&&t.currentTarget){let e=t.currentTarget;e&&e.classList.remove("active")}}render(){const t=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"11",viewBox:"0 0 15 11",fill:"none"},e("path",{d:"M13 8.5L7.34315 2.71178L1.68629 8.5",stroke:"white","stroke-width":"3","stroke-linecap":"round"})),i=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"11",viewBox:"0 0 15 11",fill:"none"},e("path",{d:"M13 2.5L7.34315 8.28822L1.68629 2.5",stroke:"white","stroke-width":"3","stroke-linecap":"round"})),o=this.getTabs();return e("div",{class:"wrapper"},e("div",{class:"header"},e("h2",null,e("slot",{name:"title"})),e("p",null,e("slot",{name:"description"}))),e("div",{class:"tabs"},e("div",{class:"tabs-desktop"},o.map((t=>e("homepage-clickable-tab",{label:t.label,active:this.activeTab===t.index,activeColor:this.colors[t.index],onClick:()=>this.handleTabSelected(t.index)})))),e("div",{class:"tabs-mobile"},e("button",{class:`dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen?"opened":""}`,onClick:()=>this.toggleDropdown()},o[this.activeTab].label,e("span",{class:"arrow"},this.dropdownOpen?t:i)),this.dropdownOpen&&e("div",{class:"dropdown-menu"},o.map((t=>e("div",{class:"dropdown-item "+(t.index===this.activeTab?"active-tab":""),onClick:()=>this.handleTabSelected(t.index)},e("slot",{name:`tab-label-${t.index}`}))))))),e("div",{class:"content"},o.map(((t,i)=>e("div",{class:"tab-content "+(this.activeTab===i?"active-tab":"")},e("slot",{name:`tab-image-${i}`}),e("div",{class:"content-detail"},e("div",{hidden:!0},t.label),e("h2",null,e("slot",{name:`tab-title-${i}`})),e("p",null,e("slot",{name:`tab-content-${i}`})),e("slot",{name:`tab-button-${i}`}),this.activeTab===i&&this.tileElements.length>0?e("div",Object.assign({class:"info-card-wrapper card-section"},this.getSliderBindings()),this.tileElements.map(((t,i)=>e("div",{class:`swiper-slide card-link card-link-${i+1}`,"tab-index":i+1,key:i,innerHTML:t.outerHTML,onMouseDown:t=>this.onCardMouseDown(t),onMouseUp:t=>this.onCardMouseUp(t),onMouseLeave:t=>this.onCardMouseUp(t),onTouchEnd:t=>{console.log("yes"),this.onCardMouseUp(t)}})))):null))))))}getSliderBindings(){return{onMouseDown:t=>{this.onSliderMouseDown(t,this.slider)},onMouseUp:t=>{this.onSliderMouseExit(t,this.slider)},onMouseLeave:t=>{this.onSliderMouseExit(t,this.slider)},onMouseMove:t=>{this.onSliderMouseDrag(t,this.slider)}}}get el(){return i(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}}::slotted(.title){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:20px !important;font-style:normal !important;font-weight:700 !important;line-height:30px !important;margin-top:0px !important;margin-bottom:16px !important}@media screen and (min-width: 768px){::slotted(.title){font-size:24px !important}}::slotted(.description){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:18px !important;font-style:normal !important;font-weight:400 !important;line-height:27px !important;margin-top:0px !important;margin-bottom:0px !important}::slotted(.tab-slot-image){width:auto;object-fit:contain;margin-bottom:32px}@media screen and (min-width: 480px){::slotted(.tab-slot-image){height:500px}}@media screen and (min-width: 992px){::slotted(.tab-slot-image){margin-bottom:unset;height:auto;max-width:580px;width:50%}}.header{text-align:center;margin-bottom:20px;max-width:720px}.header h2{margin-top:0px !important;margin-bottom:16px !important}.tabs{display:flex;justify-content:center;margin-bottom:40px;position:relative;z-index:99}@media screen and (min-width: 992px){.tabs{margin-bottom:64px}}.tabs-desktop{display:flex;gap:24px;flex:1}.tabs-desktop homepage-clickable-tab{flex:1 1 122px}.tabs-mobile{display:none;position:relative}.dropdown-button{color:white;padding:24px;border:none;border-radius:var(--ptc-border-radius-standard);cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);text-align:left}.dropdown-button.opened{border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px}.dropdown-button.hp-blue{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.dropdown-button.hp-green{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.dropdown-button.hp-red{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.dropdown-button.hp-gray{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.dropdown-button.hp-orange{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.dropdown-button .arrow{margin-left:24px}.dropdown-menu{position:absolute;width:100%;background-color:var(--color-white);color:var(--color-gray-10);display:flex;flex-direction:column;border-radius:0px 0px var(--ptc-border-radius-standard) var(--ptc-border-radius-standard);border-top:0px;box-shadow:var(--ptc-shadow-medium)}.dropdown-menu .dropdown-item{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-regular)}.dropdown-menu .dropdown-item.active-tab ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold) !important}.dropdown-item{padding:24px 24px 0px 24px;cursor:pointer}.dropdown-item:last-of-type{padding-bottom:24px}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold)}@media (max-width: 992px){.tabs-desktop{display:none}.tabs-mobile{display:block;width:100%}}.content{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.tab-content{display:none;opacity:0;flex-direction:column;width:100%;animation:fadeIn var(--ptc-transition-medium) ease-in-out forwards}.tab-content.active-tab{display:flex;opacity:1}@media only screen and (min-width: 992px){.tab-content{flex-wrap:nowrap;flex-direction:row;width:100%;justify-content:center;align-items:center;gap:56px}}.tab-content img{max-width:100%;width:100%;height:auto;margin-bottom:20px}@media only screen and (min-width: 992px){.tab-content img{width:580px;height:733px;flex-shrink:0}}.content-detail{text-align:left}@media only screen and (min-width: 992px){.content-detail{flex-grow:1;word-break:break-word}}.content-detail p,.content-detail h2{margin-block-start:unset;margin-block-end:unset}.content-detail h2{margin-bottom:16px}.content-detail p{margin-bottom:32px}.info-card-wrapper{margin-top:48px;display:flex;justify-content:center;align-items:center;width:calc(100% + 24px)}@media screen and (min-width: 992px){.info-card-wrapper{width:100%;margin-top:72px}}.card-section{display:flex;position:relative;flex-wrap:nowrap;flex-shrink:0;-ms-overflow-style:none;scrollbar-width:none;transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);justify-content:flex-start}.card-section::-webkit-scrollbar{display:none}.card-section .card-link{display:inline-flex;position:relative;text-decoration:none;z-index:10;align-items:center;gap:16px;margin-right:24px}.card-section .card-link .link-text{display:block;inline-size:190px;white-space:break-spaces}.card-section:before{position:absolute;width:32px;background:linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);top:16px;right:0;bottom:0;z-index:12}.card-section.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed{box-shadow:inset -2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3)}@media only screen and (min-width: 1200px){.card-section{align-items:flex-start;justify-content:flex-start;align-content:flex-start}.card-section.scroll-st,.card-section.scroll-ed,.card-section.scroll-ed.scroll-st{box-shadow:unset}.card-section .card-link{flex:unset}.card-section .card-link:first-child{margin-left:0}.card-section .card-link:last-child{margin-right:0}}.card-section{overflow:inherit;overflow-x:scroll;overflow-y:hidden;animation-duration:0ms;animation-delay:1000ms;animation-fill-mode:forwards}@media only screen and (min-width: 1200px){.card-section{overflow-x:scroll}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";export{n as homepage_toggled_content}