@ptcwebops/ptcw-design 4.6.3 → 4.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +3 -2
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +4 -5
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +6 -2
- package/dist/cjs/icon-asset_8.cjs.entry.js +617 -0
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +12 -17
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +4 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +1 -0
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +19 -1
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -3
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +11 -16
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +7 -7
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -0
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +5 -2
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +3 -3
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +82 -32
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +2 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +39 -1
- package/dist/custom-elements/index.js +215 -215
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/homepage-clickable-tab.entry.js +4 -3
- package/dist/esm/homepage-jumbotron.entry.js +5 -6
- package/dist/esm/homepage-toggled-content.entry.js +7 -3
- package/dist/esm/icon-asset_8.entry.js +606 -0
- package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +13 -18
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +2 -2
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_2.entry.js +2 -2
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +2 -2
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +3 -3
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -3
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v2.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-edb0c4d4.js → utils-4a9e39a7.js} +1 -1
- package/dist/ptcw-design/p-029d283d.entry.js +1 -0
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-18ada6c7.entry.js → p-08f97cb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
- package/dist/ptcw-design/{p-9350bfe7.entry.js → p-0b731e31.entry.js} +1 -1
- package/dist/ptcw-design/{p-0d2012d1.entry.js → p-0c8de5fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-d32f1659.entry.js → p-0d2036aa.entry.js} +1 -1
- package/dist/ptcw-design/{p-44289740.entry.js → p-102cfdc3.entry.js} +1 -1
- package/dist/ptcw-design/p-10db3673.entry.js +1 -0
- package/dist/ptcw-design/{p-c642d666.entry.js → p-1297155b.entry.js} +1 -1
- package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
- package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee455b1d.entry.js → p-17f2c9a5.entry.js} +1 -1
- package/dist/ptcw-design/p-19214f49.entry.js +1 -0
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/p-1c84cdaa.entry.js +1 -0
- package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8743b266.entry.js → p-1e7fc98e.entry.js} +1 -1
- package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-498fffc7.entry.js → p-1f5fbefd.entry.js} +1 -1
- package/dist/ptcw-design/p-1f94248f.entry.js +1 -0
- package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
- package/dist/ptcw-design/{p-384c21c3.entry.js → p-25d30988.entry.js} +1 -1
- package/dist/ptcw-design/{p-6ebe2055.entry.js → p-26a621ad.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
- package/dist/ptcw-design/{p-d5372f07.entry.js → p-2bfcec0e.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
- package/dist/ptcw-design/p-2f77e37a.entry.js +1 -0
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ff0f7ee.entry.js → p-3098c8bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
- package/dist/ptcw-design/{p-d633a609.entry.js → p-3355e525.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae62e211.entry.js → p-388bab26.entry.js} +1 -1
- package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c3aac08.entry.js → p-3c560782.entry.js} +1 -1
- package/dist/ptcw-design/{p-b0b4dc96.entry.js → p-3d341d68.entry.js} +1 -1
- package/dist/ptcw-design/{p-e6cd9f74.entry.js → p-41cacea3.entry.js} +1 -1
- package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
- package/dist/ptcw-design/{p-bbce25be.entry.js → p-4465baea.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-eb352992.entry.js → p-4ee95521.entry.js} +1 -1
- package/dist/ptcw-design/{p-057f7b20.entry.js → p-50f94166.entry.js} +1 -1
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-eb299297.entry.js → p-59c5e7e0.entry.js} +1 -1
- package/dist/ptcw-design/p-5b5e8973.entry.js +1 -0
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
- package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2c257bb.entry.js → p-61334fd7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c11d34df.entry.js → p-619b0bf7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/{p-25a1d8c5.entry.js → p-62be464f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b08be7d.entry.js → p-67cbd56c.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87b09db.entry.js → p-68643ae6.entry.js} +1 -1
- package/dist/ptcw-design/{p-231e7963.entry.js → p-6bb8a838.entry.js} +1 -1
- package/dist/ptcw-design/{p-2e68709e.entry.js → p-72407276.entry.js} +1 -1
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/{p-ad7a03e7.entry.js → p-738fa39b.entry.js} +1 -1
- package/dist/ptcw-design/{p-055e0d28.entry.js → p-74f53c15.entry.js} +1 -1
- package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-971b8a7d.entry.js → p-78abd2fe.entry.js} +1 -1
- package/dist/ptcw-design/p-7964e154.entry.js +1 -0
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- package/dist/ptcw-design/p-7da19723.entry.js +1 -0
- package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
- package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-9113f580.entry.js → p-7fdaa4f7.entry.js} +1 -1
- package/dist/ptcw-design/p-7fdadf0d.entry.js +1 -0
- package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2e65046.entry.js → p-8294fa3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-23d37b1e.entry.js → p-8687424d.entry.js} +1 -1
- package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
- package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
- package/dist/ptcw-design/{p-d3b615a8.entry.js → p-8938268f.entry.js} +1 -1
- package/dist/ptcw-design/p-8ce28155.entry.js +1 -0
- package/dist/ptcw-design/{p-9fd952c4.entry.js → p-8d7abcdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-1f1510fc.entry.js → p-8ea16265.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-21a3fd97.entry.js → p-8ee9fcb6.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac504f89.entry.js → p-90d50eb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-184a4cda.entry.js → p-91efd911.entry.js} +1 -1
- package/dist/ptcw-design/{p-742d7492.entry.js → p-936d475f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
- package/dist/ptcw-design/{p-1fa761c3.entry.js → p-9d88e3e4.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
- package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
- package/dist/ptcw-design/{p-f7245909.entry.js → p-ab30375a.entry.js} +1 -1
- package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
- package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
- package/dist/ptcw-design/{p-57c17ddf.entry.js → p-adf6fafa.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ddb878c.entry.js → p-b104db40.entry.js} +1 -1
- package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
- package/dist/ptcw-design/{p-62d848b1.entry.js → p-b51a1bc6.entry.js} +1 -1
- package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
- package/dist/ptcw-design/{p-bcbdf9a9.js → p-b8fd8532.js} +1 -1
- package/dist/ptcw-design/p-b9bf864e.entry.js +1 -0
- package/dist/ptcw-design/{p-36fefc72.entry.js → p-b9e27110.entry.js} +1 -1
- package/dist/ptcw-design/{p-15489f63.entry.js → p-ba6f14f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-07a4b1ca.entry.js → p-bd58f3d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
- package/dist/ptcw-design/p-c0dde215.entry.js +1 -0
- package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
- package/dist/ptcw-design/{p-adf6b11f.entry.js → p-c418918b.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/{p-5af20305.entry.js → p-c67d0dab.entry.js} +1 -1
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/{p-3470e15d.entry.js → p-cb00b505.entry.js} +1 -1
- package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
- package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
- package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1d6ea55.entry.js → p-d1a380e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/{p-46c96b63.entry.js → p-d21828b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-5a96b4ce.entry.js → p-d2e46a8b.entry.js} +1 -1
- package/dist/ptcw-design/{p-e07515d4.entry.js → p-d36b2ad5.entry.js} +1 -1
- package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
- package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
- package/dist/ptcw-design/{p-8f5feb90.entry.js → p-e6f6c3c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae0543c8.entry.js → p-f8e584b4.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +4 -0
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -0
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +1 -0
- package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +1 -0
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +8 -0
- package/dist/types/components.d.ts +24 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -53
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -70
- package/dist/cjs/ptc-button.cjs.entry.js +0 -79
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +0 -146
- package/dist/cjs/ptc-para.cjs.entry.js +0 -70
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -99
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
- package/dist/esm/icon-asset.entry.js +0 -49
- package/dist/esm/ptc-background-video.entry.js +0 -66
- package/dist/esm/ptc-button.entry.js +0 -75
- package/dist/esm/ptc-homepage-video-background.entry.js +0 -142
- package/dist/esm/ptc-para.entry.js +0 -66
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -95
- package/dist/esm/ptc-tooltip.entry.js +0 -103
- package/dist/ptcw-design/p-0390c236.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-1d64a5a8.entry.js +0 -1
- package/dist/ptcw-design/p-25a25451.entry.js +0 -1
- package/dist/ptcw-design/p-27ef9182.entry.js +0 -1
- package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
- package/dist/ptcw-design/p-3885c133.entry.js +0 -1
- package/dist/ptcw-design/p-419abbe1.entry.js +0 -1
- package/dist/ptcw-design/p-463097da.entry.js +0 -1
- package/dist/ptcw-design/p-49639b03.entry.js +0 -1
- package/dist/ptcw-design/p-4e1088bb.entry.js +0 -1
- package/dist/ptcw-design/p-509ba999.entry.js +0 -1
- package/dist/ptcw-design/p-62a4a1e1.entry.js +0 -1
- package/dist/ptcw-design/p-6749ca21.entry.js +0 -1
- package/dist/ptcw-design/p-7db71d63.entry.js +0 -1
- package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-a1415238.entry.js +0 -1
- package/dist/ptcw-design/p-a46c8d15.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-d3b3d535.entry.js +0 -1
- package/dist/ptcw-design/p-e21f2874.entry.js +0 -1
- package/dist/ptcw-design/p-ed2be934.entry.js +0 -1
- package/dist/ptcw-design/p-f08725b9.entry.js +0 -1
|
@@ -972,7 +972,7 @@ const FooterForm$1 = class extends HTMLElement$1 {
|
|
|
972
972
|
static get style() { return footerFormCss; }
|
|
973
973
|
};
|
|
974
974
|
|
|
975
|
-
const homepageClickableTabCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}.tab-item{cursor:pointer;color:#fff;border-radius:4px;background:var(--color-gray-11);display:flex;width:auto;min-height:72px;padding:24px;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#FFF;text-align:center;font-family:Raleway;font-size:20px;font-style:normal;font-weight:800}@media screen and (min-width: 1280px){.tab-item{width:160px}}@media only screen and (min-width: 1440px){.tab-item{width:172px}}.tab-item span{z-index:2}ptc-overlay{opacity:0;transition:opacity var(--ptc-transition-slower) var(--ptc-ease-inout)}.tab-item.active{color:#fff;position:relative}.tab-item.active::after{content:\"\";position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);width:0;height:0;border-top-width:30px;border-left:20px solid transparent;border-right:20px solid transparent}.tab-item.hp-blue.active{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-blue.active::after{border-style:solid;border-top-color:var(--color-blue-06)}.tab-item.hp-blue:hover{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-green.active{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-green.active::after{border-style:solid;border-top-color:var(--color-green-06)}.tab-item.hp-green:hover{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-red.active{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-red.active::after{border-style:solid;border-top-color:var(--color-red-06)}.tab-item.hp-red:hover{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-gray.active{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-gray.active::after{border-style:solid;border-top-color:var(--color-gray-06)}.tab-item.hp-gray:hover{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-orange.active{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.tab-item.hp-orange.active::after{border-style:solid;border-top-color:var(--color-orange-06)}.tab-item.hp-orange:hover{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}";
|
|
975
|
+
const homepageClickableTabCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}.tab-item{cursor:pointer;color:#fff;border-radius:4px;background:var(--color-gray-11);display:flex;width:auto;height:-webkit-fill-available;min-height:72px;padding:24px;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#FFF;text-align:center;font-family:Raleway;font-size:20px;font-style:normal;font-weight:800}@media screen and (min-width: 1280px){.tab-item{width:160px}}@media only screen and (min-width: 1440px){.tab-item{width:172px}}.tab-item span{z-index:2}ptc-overlay{opacity:0;transition:opacity var(--ptc-transition-slower) var(--ptc-ease-inout)}.tab-item.active{color:#fff;position:relative}.tab-item.active::after{content:\"\";position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);width:0;height:0;border-top-width:30px;border-left:20px solid transparent;border-right:20px solid transparent}.tab-item.hp-blue.active{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-blue.active::after{border-style:solid;border-top-color:var(--color-blue-06)}.tab-item.hp-blue:hover{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-green.active{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-green.active::after{border-style:solid;border-top-color:var(--color-green-06)}.tab-item.hp-green:hover{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-red.active{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-red.active::after{border-style:solid;border-top-color:var(--color-red-06)}.tab-item.hp-red:hover{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-gray.active{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-gray.active::after{border-style:solid;border-top-color:var(--color-gray-06)}.tab-item.hp-gray:hover{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-orange.active{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.tab-item.hp-orange.active::after{border-style:solid;border-top-color:var(--color-orange-06)}.tab-item.hp-orange:hover{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}";
|
|
976
976
|
|
|
977
977
|
const HomepageClickableTab$1 = class extends HTMLElement$1 {
|
|
978
978
|
constructor() {
|
|
@@ -984,6 +984,7 @@ const HomepageClickableTab$1 = class extends HTMLElement$1 {
|
|
|
984
984
|
this.label = undefined;
|
|
985
985
|
this.activeColor = 'hp-blue';
|
|
986
986
|
this.isHovered = false;
|
|
987
|
+
this.styles = undefined;
|
|
987
988
|
}
|
|
988
989
|
handleClick() {
|
|
989
990
|
this.tabSelected.emit();
|
|
@@ -995,7 +996,7 @@ const HomepageClickableTab$1 = class extends HTMLElement$1 {
|
|
|
995
996
|
this.isHovered = false;
|
|
996
997
|
}
|
|
997
998
|
render() {
|
|
998
|
-
return (h$1(Host, null, h$1("div", { class: { 'tab-item': true, 'active': this.active, [this.activeColor]: true }, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, (this.active || this.isHovered) ? h$1("ptc-overlay", { class: "colored-tab", "filter-color": this.activeColor, "border-radius": "radius-standard" }) : h$1("ptc-overlay", { "filter-color": "transparent", "border-radius": "radius-standard" }), h$1("span", null, this.label))));
|
|
999
|
+
return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { class: { 'tab-item': true, 'active': this.active, [this.activeColor]: true }, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, (this.active || this.isHovered) ? h$1("ptc-overlay", { class: "colored-tab", "filter-color": this.activeColor, "border-radius": "radius-standard" }) : h$1("ptc-overlay", { "filter-color": "transparent", "border-radius": "radius-standard" }), h$1("span", null, this.label))));
|
|
999
1000
|
}
|
|
1000
1001
|
static get style() { return homepageClickableTabCss; }
|
|
1001
1002
|
};
|
|
@@ -6864,7 +6865,7 @@ const HomepageJumbotron$1 = class extends HTMLElement$1 {
|
|
|
6864
6865
|
this.tileCount = 0;
|
|
6865
6866
|
this.bgVideoSrc = '';
|
|
6866
6867
|
this.bgSrc = 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80';
|
|
6867
|
-
this.jumbotron = '
|
|
6868
|
+
this.jumbotron = 'dark';
|
|
6868
6869
|
this.isIframe = false;
|
|
6869
6870
|
this.playBtnText = 'play';
|
|
6870
6871
|
this.pauseBtnText = 'pause';
|
|
@@ -6875,6 +6876,7 @@ const HomepageJumbotron$1 = class extends HTMLElement$1 {
|
|
|
6875
6876
|
this.activeButton = undefined;
|
|
6876
6877
|
this.tileElements = [];
|
|
6877
6878
|
this.isTransitioning = undefined;
|
|
6879
|
+
this.mediaTag = "VIDEO";
|
|
6878
6880
|
}
|
|
6879
6881
|
componentWillLoad() {
|
|
6880
6882
|
this.updateDefaultContent();
|
|
@@ -6941,9 +6943,7 @@ const HomepageJumbotron$1 = class extends HTMLElement$1 {
|
|
|
6941
6943
|
this.activeMainTitle = activeMainTitleElement ? activeMainTitleElement.innerHTML : '';
|
|
6942
6944
|
this.activeSubTitle = activeSubTitleElement ? activeSubTitleElement.innerHTML : '';
|
|
6943
6945
|
this.activeButton = activeButtonElement ? activeButtonElement.innerHTML : '';
|
|
6944
|
-
|
|
6945
|
-
//console.log('sub tile counts: ' + this.tileCount + '; this active tab: ' + this.activeTab);
|
|
6946
|
-
//this.updateTileElements();
|
|
6946
|
+
this.mediaTag = activeBgVideoElement.tagName;
|
|
6947
6947
|
}
|
|
6948
6948
|
updateTileElements() {
|
|
6949
6949
|
const tiles = Array.from(this.el.querySelectorAll(`[slot^="jumbotron-tile-${this.activeTab}"]`));
|
|
@@ -6958,7 +6958,7 @@ const HomepageJumbotron$1 = class extends HTMLElement$1 {
|
|
|
6958
6958
|
}, 250);
|
|
6959
6959
|
}
|
|
6960
6960
|
render() {
|
|
6961
|
-
return (h$1(Host, null, h$1("ptc-jumbotron", Object.assign({ styles: ".parent{min-height:700px; max-height:1000px;}", "jumbotron-type": this.
|
|
6961
|
+
return (h$1(Host, null, h$1("ptc-jumbotron", Object.assign({ styles: ".parent{min-height:700px; max-height:1000px;}", "jumbotron-type": this.mediaTag === "VIDEO" ? 'dark-video' : 'dark' }, (!!this.activeBgVideoSrc && { bgVideoSrc: this.activeBgVideoSrc }), (!this.bgVideoSrc && !!this.bgSrc && { bgSrc: this.bgSrc }), { "is-iframe": this.isIframe, "is-homepage": "true", "is-transitioning": this.isTransitioning, "sub-title": "" //sub title is coming from slot here
|
|
6962
6962
|
,
|
|
6963
6963
|
"play-button-title": this.playBtnText, "pause-button-title": this.pauseBtnText, "button-location": "allbp-bottom-right" }), h$1("slot", { name: "breadcrumb" }), h$1("h1", { slot: "main-title", class: "hp-h1" }, this.activeMainTitle), h$1("p", { slot: "hp-sub-title", class: "hp-sub-title" }, this.activeSubTitle), h$1("div", { slot: "j-cta", innerHTML: this.activeButton })), h$1("div", { class: "swiper-container", ref: el => (this.swiperContainerRef = el) }, h$1("div", { class: "swiper-wrapper" }, this.tileElements.map((tile, index) => (h$1("div", { class: "swiper-slide", key: index, innerHTML: tile.outerHTML })))), h$1("div", { class: "swiper-pagination" }))));
|
|
6964
6964
|
}
|
|
@@ -6966,7 +6966,185 @@ const HomepageJumbotron$1 = class extends HTMLElement$1 {
|
|
|
6966
6966
|
static get style() { return homepageJumbotronCss; }
|
|
6967
6967
|
};
|
|
6968
6968
|
|
|
6969
|
-
|
|
6969
|
+
function format(first, middle, last) {
|
|
6970
|
+
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
6971
|
+
}
|
|
6972
|
+
function MapDOM(domElement, selector, toString) {
|
|
6973
|
+
let element = selector ? domElement.querySelector(selector) : domElement;
|
|
6974
|
+
let treeObject = {};
|
|
6975
|
+
let translate = (name) => {
|
|
6976
|
+
return name.toLowerCase().replace(/(-\w)/g, text => {
|
|
6977
|
+
return text.replace(/-/, '').toUpperCase();
|
|
6978
|
+
});
|
|
6979
|
+
};
|
|
6980
|
+
let hasContent = (element) => {
|
|
6981
|
+
let result = true;
|
|
6982
|
+
if (/^\s*$/.test(element.textContent)) {
|
|
6983
|
+
result = false;
|
|
6984
|
+
}
|
|
6985
|
+
return result;
|
|
6986
|
+
};
|
|
6987
|
+
let treeHTML = (element, object) => {
|
|
6988
|
+
//let nodeName = translate(element.nodeName);
|
|
6989
|
+
let nodeList = element.childNodes;
|
|
6990
|
+
if (nodeList && nodeList.length > 0) {
|
|
6991
|
+
for (let i = 0; i < nodeList.length; i++) {
|
|
6992
|
+
let elm = nodeList[i];
|
|
6993
|
+
if (elm.nodeType == 1) {
|
|
6994
|
+
let letChildNodeName = translate(elm.nodeName);
|
|
6995
|
+
if (!object[letChildNodeName]) {
|
|
6996
|
+
object[letChildNodeName] = [];
|
|
6997
|
+
}
|
|
6998
|
+
object[letChildNodeName].push({});
|
|
6999
|
+
treeHTML(elm, object[letChildNodeName][object[letChildNodeName].length - 1]);
|
|
7000
|
+
}
|
|
7001
|
+
else if (elm.nodeType == 3 && hasContent(elm)) {
|
|
7002
|
+
object['text'] = (object['text'] || '') + elm.textContent;
|
|
7003
|
+
}
|
|
7004
|
+
}
|
|
7005
|
+
for (const property in object) {
|
|
7006
|
+
if (Array.isArray(object[property]) && object[property].length == 1) {
|
|
7007
|
+
object[property] = object[property][0];
|
|
7008
|
+
}
|
|
7009
|
+
}
|
|
7010
|
+
}
|
|
7011
|
+
if (element.attributes && element.attributes.length > 0) {
|
|
7012
|
+
for (let i = 0; i < element.attributes.length; i++) {
|
|
7013
|
+
let name = translate(element.attributes[i].nodeName);
|
|
7014
|
+
object[name] = element.attributes[i].nodeValue;
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
if (element.getAttribute('html') == 'true') {
|
|
7018
|
+
object['html'] = element.innerHTML;
|
|
7019
|
+
}
|
|
7020
|
+
};
|
|
7021
|
+
treeHTML(element, treeObject);
|
|
7022
|
+
return toString ? JSON.stringify(treeObject) : treeObject;
|
|
7023
|
+
}
|
|
7024
|
+
function generateUUID() {
|
|
7025
|
+
let s4 = () => {
|
|
7026
|
+
return Math.floor((1 + Math.random()) * 0x10000)
|
|
7027
|
+
.toString(16)
|
|
7028
|
+
.substring(1);
|
|
7029
|
+
};
|
|
7030
|
+
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();
|
|
7031
|
+
}
|
|
7032
|
+
function debounce(func, wait, referer) {
|
|
7033
|
+
let key = generateUUID();
|
|
7034
|
+
if (!globalThis.debounceTimeouts) {
|
|
7035
|
+
globalThis.debounceTimeouts = {};
|
|
7036
|
+
}
|
|
7037
|
+
return function executedFunction(e) {
|
|
7038
|
+
var context = referer || this;
|
|
7039
|
+
var args = e;
|
|
7040
|
+
var callback = function () {
|
|
7041
|
+
func(context, args);
|
|
7042
|
+
};
|
|
7043
|
+
clearTimeout(globalThis.debounceTimeouts[key]);
|
|
7044
|
+
globalThis.debounceTimeouts[key] = setTimeout(callback, wait);
|
|
7045
|
+
};
|
|
7046
|
+
}
|
|
7047
|
+
function getFileExtension(filePath) {
|
|
7048
|
+
if (filePath === undefined) {
|
|
7049
|
+
throw new Error('filePath is not defined');
|
|
7050
|
+
}
|
|
7051
|
+
const lastDotIndex = filePath.lastIndexOf('.');
|
|
7052
|
+
if (lastDotIndex === -1) {
|
|
7053
|
+
// no extension found
|
|
7054
|
+
return '';
|
|
7055
|
+
}
|
|
7056
|
+
return filePath.substring(lastDotIndex);
|
|
7057
|
+
}
|
|
7058
|
+
function getLanguageFromURL() {
|
|
7059
|
+
const urlPath = window.location.pathname;
|
|
7060
|
+
const parts = urlPath.split('/');
|
|
7061
|
+
const supportedLanguages = ['en', 'cn', 'tw', 'fr', 'de', 'it', 'ja', 'ko', 'es', 'pt'];
|
|
7062
|
+
const languageCode = parts[1];
|
|
7063
|
+
if (supportedLanguages.includes(languageCode)) {
|
|
7064
|
+
return languageCode;
|
|
7065
|
+
}
|
|
7066
|
+
return 'en';
|
|
7067
|
+
}
|
|
7068
|
+
function getSeoTagType(element, defaultTag = "span") {
|
|
7069
|
+
if (element && element.children && element.children.length == 1) {
|
|
7070
|
+
let firstChild = element.children[0];
|
|
7071
|
+
let TagType = firstChild.tagName.toLowerCase();
|
|
7072
|
+
element.removeChild(firstChild);
|
|
7073
|
+
if (TagType == "font") {
|
|
7074
|
+
TagType = defaultTag;
|
|
7075
|
+
}
|
|
7076
|
+
return [TagType, firstChild];
|
|
7077
|
+
}
|
|
7078
|
+
else {
|
|
7079
|
+
return [defaultTag, element];
|
|
7080
|
+
}
|
|
7081
|
+
}
|
|
7082
|
+
function seoSlotReset(element) {
|
|
7083
|
+
if (element && element.children && element.children.length == 1) {
|
|
7084
|
+
let firstChild = element.firstElementChild;
|
|
7085
|
+
element.innerHTML = firstChild.innerHTML;
|
|
7086
|
+
}
|
|
7087
|
+
}
|
|
7088
|
+
//for elements in the shadow dom
|
|
7089
|
+
function equalizeHeightsWithinShadow(selector, shadowRootOrHostElement) {
|
|
7090
|
+
let elements;
|
|
7091
|
+
// Determine if we're working with a shadow root or a host element that has a shadowRoot
|
|
7092
|
+
if (shadowRootOrHostElement instanceof DocumentFragment) { // ShadowRoot is a kind of DocumentFragment
|
|
7093
|
+
elements = shadowRootOrHostElement.querySelectorAll(selector);
|
|
7094
|
+
}
|
|
7095
|
+
else if (shadowRootOrHostElement.shadowRoot) {
|
|
7096
|
+
elements = shadowRootOrHostElement.shadowRoot.querySelectorAll(selector);
|
|
7097
|
+
}
|
|
7098
|
+
else {
|
|
7099
|
+
console.error("The provided element does not have a shadowRoot.");
|
|
7100
|
+
return;
|
|
7101
|
+
}
|
|
7102
|
+
let tallestHeight = 0;
|
|
7103
|
+
// Find the tallest element
|
|
7104
|
+
elements.forEach((element) => {
|
|
7105
|
+
const height = element.offsetHeight;
|
|
7106
|
+
if (height > tallestHeight) {
|
|
7107
|
+
tallestHeight = height;
|
|
7108
|
+
}
|
|
7109
|
+
});
|
|
7110
|
+
// Set all elements to the tallest height
|
|
7111
|
+
elements.forEach((element) => {
|
|
7112
|
+
element.style.height = `${tallestHeight}px`;
|
|
7113
|
+
});
|
|
7114
|
+
}
|
|
7115
|
+
/*
|
|
7116
|
+
observeInView:
|
|
7117
|
+
Trigger CSS Animations when elements are scrolled into view
|
|
7118
|
+
|
|
7119
|
+
This function uses the Intersection Observer API to determine if objects are within the viewport
|
|
7120
|
+
It adds an 'in-view' class to elements when they come into view (and removes the class when not on screen)
|
|
7121
|
+
Use to add @keyframe or transition animations to elements so they animate once they are on screen
|
|
7122
|
+
|
|
7123
|
+
How to use:
|
|
7124
|
+
Import observeInView function in the component
|
|
7125
|
+
import { observeInView } from '../../utils/utils';
|
|
7126
|
+
Call the function with the host element and selector
|
|
7127
|
+
observeInView(this.hostEle, '.ptc-animate');
|
|
7128
|
+
|
|
7129
|
+
*/
|
|
7130
|
+
function observeInView(hostEle, selector, runOnce = false) {
|
|
7131
|
+
const observer = new IntersectionObserver(entries => {
|
|
7132
|
+
entries.forEach(entry => {
|
|
7133
|
+
if (entry.isIntersecting) {
|
|
7134
|
+
entry.target.classList.add('in-view');
|
|
7135
|
+
if (runOnce) {
|
|
7136
|
+
observer.unobserve(entry.target);
|
|
7137
|
+
}
|
|
7138
|
+
return;
|
|
7139
|
+
}
|
|
7140
|
+
entry.target.classList.remove('in-view');
|
|
7141
|
+
});
|
|
7142
|
+
});
|
|
7143
|
+
const allAnimatedElements = hostEle.shadowRoot.querySelectorAll(selector);
|
|
7144
|
+
allAnimatedElements.forEach((element) => observer.observe(element));
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
const homepageToggledContentCss = "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:24px !important;font-style:normal !important;font-weight:700 !important;line-height:30px !important;margin-top:0px !important;margin-bottom:16px !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){height:500px;width:auto;object-fit:contain;margin-bottom:32px}@media screen and (min-width: 992px){::slotted(.tab-slot-image){margin-bottom:unset;height:auto}}.header{text-align:center;margin-bottom:20px}@media only screen and (min-width: 992px){.header{width:70%}}.tabs{display:flex;justify-content:center;margin-bottom:64px;position:relative;z-index:99}.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:calc(100% - 2px);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;overflow:hidden}.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;overflow:hidden;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:72px;display:flex;justify-content:center;align-items:center;width:100%}.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}}";
|
|
6970
7148
|
|
|
6971
7149
|
const HomepageToggledContent$1 = class extends HTMLElement$1 {
|
|
6972
7150
|
constructor() {
|
|
@@ -6995,6 +7173,9 @@ const HomepageToggledContent$1 = class extends HTMLElement$1 {
|
|
|
6995
7173
|
//this.onSliderScroll();
|
|
6996
7174
|
//observeInView(this.el, '.card-section', true);
|
|
6997
7175
|
}
|
|
7176
|
+
componentDidRender() {
|
|
7177
|
+
equalizeHeightsWithinShadow('homepage-clickable-tab', this.el);
|
|
7178
|
+
}
|
|
6998
7179
|
handleTabSelected(tabIndex) {
|
|
6999
7180
|
this.activeTab = tabIndex;
|
|
7000
7181
|
this.dropdownOpen = false; // Close dropdown on selection
|
|
@@ -7072,7 +7253,7 @@ const HomepageToggledContent$1 = class extends HTMLElement$1 {
|
|
|
7072
7253
|
const upArrow = (h$1("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h$1("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
7073
7254
|
const downArrow = (h$1("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h$1("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
7074
7255
|
const tabs = this.getTabs();
|
|
7075
|
-
return (h$1("div", { class: "wrapper" }, h$1("div", { class: "header" }, h$1("h2", null, h$1("slot", { name: "title" })), h$1("p", null, h$1("slot", { name: "description" }))), h$1("div", { class: "tabs" }, h$1("div", { class: "tabs-desktop" }, tabs.map(tab => (h$1("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), h$1("div", { class: "tabs-mobile" }, h$1("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? 'opened' : ''}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, h$1("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (h$1("div", { class: "dropdown-menu" }, tabs.map(tab => (h$1("div", { class:
|
|
7256
|
+
return (h$1("div", { class: "wrapper" }, h$1("div", { class: "header" }, h$1("h2", null, h$1("slot", { name: "title" })), h$1("p", null, h$1("slot", { name: "description" }))), h$1("div", { class: "tabs" }, h$1("div", { class: "tabs-desktop" }, tabs.map(tab => (h$1("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), h$1("div", { class: "tabs-mobile" }, h$1("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? 'opened' : ''}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, h$1("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (h$1("div", { class: "dropdown-menu" }, tabs.map(tab => (h$1("div", { class: `dropdown-item ${tab.index === this.activeTab ? 'active-tab' : ''}`, onClick: () => this.handleTabSelected(tab.index) }, h$1("slot", { name: `tab-label-${tab.index}` })))))))), h$1("div", { class: "content" }, tabs.map((tab, index) => (h$1("div", { class: `tab-content ${this.activeTab === index ? 'active-tab' : ''}` }, h$1("slot", { name: `tab-image-${index}` }), h$1("div", { class: "content-detail" }, h$1("div", { hidden: true }, tab.label), h$1("h2", null, h$1("slot", { name: `tab-title-${index}` })), h$1("p", null, h$1("slot", { name: `tab-content-${index}` })), h$1("slot", { name: `tab-button-${index}` }), this.activeTab === index && this.tileElements.length > 0 ? (h$1("div", Object.assign({ class: "info-card-wrapper card-section" }, this.getSliderBindings()), this.tileElements.map((tile, index) => (h$1("div", { class: `swiper-slide card-link card-link-${index + 1}`, "tab-index": index + 1, key: index, innerHTML: tile.outerHTML, onMouseDown: e => this.onCardMouseDown(e), onMouseUp: e => this.onCardMouseUp(e), onMouseLeave: e => this.onCardMouseUp(e), onTouchEnd: e => {
|
|
7076
7257
|
console.log('yes');
|
|
7077
7258
|
this.onCardMouseUp(e);
|
|
7078
7259
|
} }))))) : null)))))));
|
|
@@ -7163,7 +7344,7 @@ const InnovatorToggleContainer$1 = class extends HTMLElement$1 {
|
|
|
7163
7344
|
static get style() { return innovatorToggleContainerCss; }
|
|
7164
7345
|
};
|
|
7165
7346
|
|
|
7166
|
-
const jumbotronSubMenuCss = "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}}.menu{display:block;background-color:transparent;color:black;position:relative}.menu-list{list-style:none;margin:0;padding:10px 0;display:none;flex-direction:column;background-color:white;width:240px;position:absolute;top:40px;left:0;margin-top:var(--ptc-element-spacing-03);box-shadow:var(--ptc-shadow-x-small);border-radius:var(--ptc-border-radius-standard)}.menu-list.open{display:flex}.menu-list li{margin:0}.menu-list button{color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);text-decoration:none;border:none;background:none;cursor:pointer;line-height:var(--ptc-line-height-p);position:relative;text-align:left;width:100%;padding:12px 24px}.menu-list button::after{content:\"\";display:block;width:2px;height:24px;background:var(--color-green-07);transition:transform 0.3s ease;transform:scaleX(0);transform-origin:left;position:absolute;top:25%;left:10px}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleX(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:flex;align-items:center;cursor:pointer;font-size:var(--ptc-font-size-x-small);text-align:left;padding:8px 0px;background-color:var(--color-white);border-bottom:3px solid var(--color-white);justify-content:flex-end;width:fit-content;background-color:transparent}.mobile-menu-text{color:var(--color-white);text-align:center;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);margin-right:var(--ptc-element-spacing-03)}@media (min-width: 992px){.menu{display:flex;justify-content:center;align-items:center;background-color:transparent;padding:0px;color:white;position:relative;font-family:var(--ptc-font-latin);left:0;top:0px}.menu-list{display:flex;flex-direction:row;justify-content:center;gap:32px;background-color:transparent;width:auto;position:relative;top:auto;right:auto;box-shadow:none;border-radius:0;margin-top:0px;padding-top:0px;padding-bottom:0px}.menu-list button{text-align:center;width:auto;padding:0px;font-size:16px;color:white;font-family:var(--ptc-font-latin)}.menu-list button::after{position:absolute;width:100%;height:2px;transform-origin:bottom;bottom:0;margin-top:24px;background:var(--color-white);left:0;transform:scaleY(0)}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleY(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:none}}";
|
|
7347
|
+
const jumbotronSubMenuCss = "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}}.menu{display:block;background-color:transparent;color:black;position:relative}.menu-list{list-style:none;margin:0;padding:10px 0;display:none;flex-direction:column;background-color:white;width:240px;position:absolute;top:40px;left:0;margin-top:var(--ptc-element-spacing-03);box-shadow:var(--ptc-shadow-x-small);border-radius:var(--ptc-border-radius-standard)}.menu-list.open{display:flex}.menu-list li{margin:0}.menu-list button{color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);text-decoration:none;border:none;background:none;cursor:pointer;line-height:var(--ptc-line-height-p);position:relative;text-align:left;width:100%;padding:12px 24px}.menu-list button::after{content:\"\";display:block;width:2px;height:24px;background:var(--color-green-07);transition:transform 0.3s ease;transform:scaleX(0);transform-origin:left;position:absolute;top:25%;left:10px}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleX(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:flex;align-items:center;cursor:pointer;font-size:var(--ptc-font-size-x-small);text-align:left;padding:8px 0px;background-color:var(--color-white);border-bottom:3px solid var(--color-white);justify-content:flex-end;width:fit-content;background-color:transparent}.mobile-menu-text{color:var(--color-white);text-align:center;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);margin-right:var(--ptc-element-spacing-03)}@media (min-width: 992px){.menu{display:flex;justify-content:center;align-items:center;background-color:transparent;padding:0px;color:white;position:relative;font-family:var(--ptc-font-latin);left:0;top:0px}.menu-list{display:flex;flex-direction:row;justify-content:center;gap:32px;background-color:transparent;width:auto;position:relative;top:auto;right:auto;box-shadow:none;border-radius:0;margin-top:0px;padding-top:0px;padding-bottom:0px}.menu-list button{text-align:center;width:auto;padding:0px;font-size:16px;color:white;font-family:var(--ptc-font-latin)}.menu-list button::after{position:absolute;width:100%;height:2px;transform-origin:bottom;bottom:0;margin-top:24px;background:var(--color-white);left:0;transform:scaleY(0)}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleY(1);font-weight:var(--ptc-font-weight-bold)}.menu-list li.active button::after{transform:scaleY(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:none}}";
|
|
7167
7348
|
|
|
7168
7349
|
const JumbotronSubMenu$1 = class extends HTMLElement$1 {
|
|
7169
7350
|
constructor() {
|
|
@@ -7171,6 +7352,7 @@ const JumbotronSubMenu$1 = class extends HTMLElement$1 {
|
|
|
7171
7352
|
this.__registerHost();
|
|
7172
7353
|
this.__attachShadow();
|
|
7173
7354
|
this.itemSelected = createEvent(this, "itemSelected", 7);
|
|
7355
|
+
this.isClickable = true;
|
|
7174
7356
|
this.isOpen = false;
|
|
7175
7357
|
this.activeItem = 0;
|
|
7176
7358
|
}
|
|
@@ -7178,28 +7360,22 @@ const JumbotronSubMenu$1 = class extends HTMLElement$1 {
|
|
|
7178
7360
|
this.isOpen = !this.isOpen;
|
|
7179
7361
|
}
|
|
7180
7362
|
selectItem(index) {
|
|
7181
|
-
this.
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
// } else if (nodes.length > 0 && nodes[0].nodeType === Node.TEXT_NODE) {
|
|
7192
|
-
// return nodes[0].textContent || '';
|
|
7193
|
-
// }
|
|
7194
|
-
// }
|
|
7195
|
-
// return '';
|
|
7196
|
-
// }
|
|
7363
|
+
if (this.isClickable) {
|
|
7364
|
+
this.isClickable = false;
|
|
7365
|
+
this.activeItem = index;
|
|
7366
|
+
this.isOpen = false;
|
|
7367
|
+
this.itemSelected.emit(index); // Emit the custom event
|
|
7368
|
+
setTimeout(() => {
|
|
7369
|
+
this.isClickable = true;
|
|
7370
|
+
}, 500);
|
|
7371
|
+
}
|
|
7372
|
+
}
|
|
7197
7373
|
render() {
|
|
7198
7374
|
const upArrow = (h$1("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h$1("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
7199
7375
|
const downArrow = (h$1("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h$1("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
7200
7376
|
const menuItems = Array.from(this.el.querySelectorAll('[slot^="menu-item"]'));
|
|
7201
7377
|
//console.log("menuItems: " + menuItems[0].textContent)
|
|
7202
|
-
return (h$1("nav", { class: "menu" }, h$1("div", { class: "mobile-menu-icon", onClick: () => this.toggleMenu() }, h$1("span", { class: "mobile-menu-text" }, menuItems[this.activeItem].textContent), h$1("span", null, this.isOpen ? upArrow : downArrow)), h$1("ul", { class: `menu-list ${this.isOpen ? 'open' : ''}` }, menuItems.map((_, index) => (h$1("li", { key: index }, h$1("button", { onClick: () => this.selectItem(index) }, h$1("slot", { name: `menu-item-${index}` }))))))));
|
|
7378
|
+
return (h$1("nav", { class: "menu" }, h$1("div", { class: "mobile-menu-icon", onClick: () => this.toggleMenu() }, h$1("span", { class: "mobile-menu-text" }, menuItems[this.activeItem].textContent), h$1("span", null, this.isOpen ? upArrow : downArrow)), h$1("ul", { class: `menu-list ${this.isOpen ? 'open' : ''}` }, menuItems.map((_, index) => (h$1("li", { key: index, class: this.activeItem === index ? 'active' : '' }, h$1("button", { onClick: () => this.selectItem(index) }, h$1("slot", { name: `menu-item-${index}` }))))))));
|
|
7203
7379
|
}
|
|
7204
7380
|
get el() { return this; }
|
|
7205
7381
|
static get style() { return jumbotronSubMenuCss; }
|
|
@@ -7339,184 +7515,6 @@ const MaxWidthContainer$1 = class extends HTMLElement$1 {
|
|
|
7339
7515
|
static get style() { return maxWidthContainerCss; }
|
|
7340
7516
|
};
|
|
7341
7517
|
|
|
7342
|
-
function format(first, middle, last) {
|
|
7343
|
-
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
7344
|
-
}
|
|
7345
|
-
function MapDOM(domElement, selector, toString) {
|
|
7346
|
-
let element = selector ? domElement.querySelector(selector) : domElement;
|
|
7347
|
-
let treeObject = {};
|
|
7348
|
-
let translate = (name) => {
|
|
7349
|
-
return name.toLowerCase().replace(/(-\w)/g, text => {
|
|
7350
|
-
return text.replace(/-/, '').toUpperCase();
|
|
7351
|
-
});
|
|
7352
|
-
};
|
|
7353
|
-
let hasContent = (element) => {
|
|
7354
|
-
let result = true;
|
|
7355
|
-
if (/^\s*$/.test(element.textContent)) {
|
|
7356
|
-
result = false;
|
|
7357
|
-
}
|
|
7358
|
-
return result;
|
|
7359
|
-
};
|
|
7360
|
-
let treeHTML = (element, object) => {
|
|
7361
|
-
//let nodeName = translate(element.nodeName);
|
|
7362
|
-
let nodeList = element.childNodes;
|
|
7363
|
-
if (nodeList && nodeList.length > 0) {
|
|
7364
|
-
for (let i = 0; i < nodeList.length; i++) {
|
|
7365
|
-
let elm = nodeList[i];
|
|
7366
|
-
if (elm.nodeType == 1) {
|
|
7367
|
-
let letChildNodeName = translate(elm.nodeName);
|
|
7368
|
-
if (!object[letChildNodeName]) {
|
|
7369
|
-
object[letChildNodeName] = [];
|
|
7370
|
-
}
|
|
7371
|
-
object[letChildNodeName].push({});
|
|
7372
|
-
treeHTML(elm, object[letChildNodeName][object[letChildNodeName].length - 1]);
|
|
7373
|
-
}
|
|
7374
|
-
else if (elm.nodeType == 3 && hasContent(elm)) {
|
|
7375
|
-
object['text'] = (object['text'] || '') + elm.textContent;
|
|
7376
|
-
}
|
|
7377
|
-
}
|
|
7378
|
-
for (const property in object) {
|
|
7379
|
-
if (Array.isArray(object[property]) && object[property].length == 1) {
|
|
7380
|
-
object[property] = object[property][0];
|
|
7381
|
-
}
|
|
7382
|
-
}
|
|
7383
|
-
}
|
|
7384
|
-
if (element.attributes && element.attributes.length > 0) {
|
|
7385
|
-
for (let i = 0; i < element.attributes.length; i++) {
|
|
7386
|
-
let name = translate(element.attributes[i].nodeName);
|
|
7387
|
-
object[name] = element.attributes[i].nodeValue;
|
|
7388
|
-
}
|
|
7389
|
-
}
|
|
7390
|
-
if (element.getAttribute('html') == 'true') {
|
|
7391
|
-
object['html'] = element.innerHTML;
|
|
7392
|
-
}
|
|
7393
|
-
};
|
|
7394
|
-
treeHTML(element, treeObject);
|
|
7395
|
-
return toString ? JSON.stringify(treeObject) : treeObject;
|
|
7396
|
-
}
|
|
7397
|
-
function generateUUID() {
|
|
7398
|
-
let s4 = () => {
|
|
7399
|
-
return Math.floor((1 + Math.random()) * 0x10000)
|
|
7400
|
-
.toString(16)
|
|
7401
|
-
.substring(1);
|
|
7402
|
-
};
|
|
7403
|
-
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();
|
|
7404
|
-
}
|
|
7405
|
-
function debounce(func, wait, referer) {
|
|
7406
|
-
let key = generateUUID();
|
|
7407
|
-
if (!globalThis.debounceTimeouts) {
|
|
7408
|
-
globalThis.debounceTimeouts = {};
|
|
7409
|
-
}
|
|
7410
|
-
return function executedFunction(e) {
|
|
7411
|
-
var context = referer || this;
|
|
7412
|
-
var args = e;
|
|
7413
|
-
var callback = function () {
|
|
7414
|
-
func(context, args);
|
|
7415
|
-
};
|
|
7416
|
-
clearTimeout(globalThis.debounceTimeouts[key]);
|
|
7417
|
-
globalThis.debounceTimeouts[key] = setTimeout(callback, wait);
|
|
7418
|
-
};
|
|
7419
|
-
}
|
|
7420
|
-
function getFileExtension(filePath) {
|
|
7421
|
-
if (filePath === undefined) {
|
|
7422
|
-
throw new Error('filePath is not defined');
|
|
7423
|
-
}
|
|
7424
|
-
const lastDotIndex = filePath.lastIndexOf('.');
|
|
7425
|
-
if (lastDotIndex === -1) {
|
|
7426
|
-
// no extension found
|
|
7427
|
-
return '';
|
|
7428
|
-
}
|
|
7429
|
-
return filePath.substring(lastDotIndex);
|
|
7430
|
-
}
|
|
7431
|
-
function getLanguageFromURL() {
|
|
7432
|
-
const urlPath = window.location.pathname;
|
|
7433
|
-
const parts = urlPath.split('/');
|
|
7434
|
-
const supportedLanguages = ['en', 'cn', 'tw', 'fr', 'de', 'it', 'ja', 'ko', 'es', 'pt'];
|
|
7435
|
-
const languageCode = parts[1];
|
|
7436
|
-
if (supportedLanguages.includes(languageCode)) {
|
|
7437
|
-
return languageCode;
|
|
7438
|
-
}
|
|
7439
|
-
return 'en';
|
|
7440
|
-
}
|
|
7441
|
-
function getSeoTagType(element, defaultTag = "span") {
|
|
7442
|
-
if (element && element.children && element.children.length == 1) {
|
|
7443
|
-
let firstChild = element.children[0];
|
|
7444
|
-
let TagType = firstChild.tagName.toLowerCase();
|
|
7445
|
-
element.removeChild(firstChild);
|
|
7446
|
-
if (TagType == "font") {
|
|
7447
|
-
TagType = defaultTag;
|
|
7448
|
-
}
|
|
7449
|
-
return [TagType, firstChild];
|
|
7450
|
-
}
|
|
7451
|
-
else {
|
|
7452
|
-
return [defaultTag, element];
|
|
7453
|
-
}
|
|
7454
|
-
}
|
|
7455
|
-
function seoSlotReset(element) {
|
|
7456
|
-
if (element && element.children && element.children.length == 1) {
|
|
7457
|
-
let firstChild = element.firstElementChild;
|
|
7458
|
-
element.innerHTML = firstChild.innerHTML;
|
|
7459
|
-
}
|
|
7460
|
-
}
|
|
7461
|
-
//for elements in the shadow dom
|
|
7462
|
-
function equalizeHeightsWithinShadow(selector, shadowRootOrHostElement) {
|
|
7463
|
-
let elements;
|
|
7464
|
-
// Determine if we're working with a shadow root or a host element that has a shadowRoot
|
|
7465
|
-
if (shadowRootOrHostElement instanceof DocumentFragment) { // ShadowRoot is a kind of DocumentFragment
|
|
7466
|
-
elements = shadowRootOrHostElement.querySelectorAll(selector);
|
|
7467
|
-
}
|
|
7468
|
-
else if (shadowRootOrHostElement.shadowRoot) {
|
|
7469
|
-
elements = shadowRootOrHostElement.shadowRoot.querySelectorAll(selector);
|
|
7470
|
-
}
|
|
7471
|
-
else {
|
|
7472
|
-
console.error("The provided element does not have a shadowRoot.");
|
|
7473
|
-
return;
|
|
7474
|
-
}
|
|
7475
|
-
let tallestHeight = 0;
|
|
7476
|
-
// Find the tallest element
|
|
7477
|
-
elements.forEach((element) => {
|
|
7478
|
-
const height = element.offsetHeight;
|
|
7479
|
-
if (height > tallestHeight) {
|
|
7480
|
-
tallestHeight = height;
|
|
7481
|
-
}
|
|
7482
|
-
});
|
|
7483
|
-
// Set all elements to the tallest height
|
|
7484
|
-
elements.forEach((element) => {
|
|
7485
|
-
element.style.height = `${tallestHeight}px`;
|
|
7486
|
-
});
|
|
7487
|
-
}
|
|
7488
|
-
/*
|
|
7489
|
-
observeInView:
|
|
7490
|
-
Trigger CSS Animations when elements are scrolled into view
|
|
7491
|
-
|
|
7492
|
-
This function uses the Intersection Observer API to determine if objects are within the viewport
|
|
7493
|
-
It adds an 'in-view' class to elements when they come into view (and removes the class when not on screen)
|
|
7494
|
-
Use to add @keyframe or transition animations to elements so they animate once they are on screen
|
|
7495
|
-
|
|
7496
|
-
How to use:
|
|
7497
|
-
Import observeInView function in the component
|
|
7498
|
-
import { observeInView } from '../../utils/utils';
|
|
7499
|
-
Call the function with the host element and selector
|
|
7500
|
-
observeInView(this.hostEle, '.ptc-animate');
|
|
7501
|
-
|
|
7502
|
-
*/
|
|
7503
|
-
function observeInView(hostEle, selector, runOnce = false) {
|
|
7504
|
-
const observer = new IntersectionObserver(entries => {
|
|
7505
|
-
entries.forEach(entry => {
|
|
7506
|
-
if (entry.isIntersecting) {
|
|
7507
|
-
entry.target.classList.add('in-view');
|
|
7508
|
-
if (runOnce) {
|
|
7509
|
-
observer.unobserve(entry.target);
|
|
7510
|
-
}
|
|
7511
|
-
return;
|
|
7512
|
-
}
|
|
7513
|
-
entry.target.classList.remove('in-view');
|
|
7514
|
-
});
|
|
7515
|
-
});
|
|
7516
|
-
const allAnimatedElements = hostEle.shadowRoot.querySelectorAll(selector);
|
|
7517
|
-
allAnimatedElements.forEach((element) => observer.observe(element));
|
|
7518
|
-
}
|
|
7519
|
-
|
|
7520
7518
|
const numberOneSvg = `<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7521
7519
|
<circle cx="17.5" cy="17.5" r="17.5" fill="#006E09"/>
|
|
7522
7520
|
<path d="M22.224 20.0959V22.9999H12.48V20.0959H15.888V12.8239C15.744 13.0159 15.512 13.2159 15.192 13.4239C14.888 13.6159 14.552 13.7999 14.184 13.9759C13.816 14.1519 13.432 14.2959 13.032 14.4079C12.648 14.5199 12.304 14.5759 12 14.5759V11.5759C12.288 11.5759 12.64 11.4879 13.056 11.3119C13.472 11.1199 13.88 10.8959 14.28 10.6399C14.68 10.3839 15.024 10.1359 15.312 9.8959C15.616 9.6399 15.808 9.4399 15.888 9.2959H19.176V20.0959H22.224Z" fill="white"/>
|
|
@@ -7924,7 +7922,7 @@ const PtcBackToTop$1 = class extends HTMLElement$1 {
|
|
|
7924
7922
|
static get style() { return ptcBackToTopCss; }
|
|
7925
7923
|
};
|
|
7926
7924
|
|
|
7927
|
-
const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background:
|
|
7925
|
+
const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:3.75rem;right:2rem}:host .play-button ptc-button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button ptc-button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button ptc-button{padding:0}}";
|
|
7928
7926
|
|
|
7929
7927
|
const PtcBackgroundVideo$1 = class extends HTMLElement$1 {
|
|
7930
7928
|
constructor() {
|
|
@@ -18000,7 +17998,7 @@ const PtcHomepageImageFeature$1 = class extends HTMLElement$1 {
|
|
|
18000
17998
|
static get style() { return ptcHomepageImageFeatureCss; }
|
|
18001
17999
|
};
|
|
18002
18000
|
|
|
18003
|
-
const ptcHomepageVideoBackgroundCss = "h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n word-break: break-word;\n hyphens: manual;\n -webkit-hyphens: manual;\n -moz-hyphens: manual;\n -ms-hyphens: manual;\n}\n@supports (hyphenate-limit-chars: 12 3 3) {\n h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n /* For Safari */\n -webkit-hyphenate-limit-after: 3;\n /* For Safari */\n hyphenate-limit-chars: 12 3 3;\n hyphenate-limit-lines: 2;\n hyphenate-limit-last: always;\n hyphenate-limit-zone: 6%;\n -webkit-hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n -webkit-hyphenate-limit-after: 3;\n -webkit-hyphenate-limit-chars: 12 3 3;\n -webkit-hyphenate-limit-lines: 2;\n -moz-hyphens: auto;\n -moz-hyphenate-limit-chars: 12 3 3;\n -moz-hyphenate-limit-lines: 2;\n -ms-hyphens: auto;\n -ms-hyphenate-limit-chars: 12 3 3;\n -ms-hyphenate-limit-lines: 2;\n }\n}\n\n:host {\n display: block;\n position: relative;\n
|
|
18001
|
+
const ptcHomepageVideoBackgroundCss = "h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n word-break: break-word;\n hyphens: manual;\n -webkit-hyphens: manual;\n -moz-hyphens: manual;\n -ms-hyphens: manual;\n}\n@supports (hyphenate-limit-chars: 12 3 3) {\n h1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nul,\nli,\nptc-subnav,\nptc-tab-list,\nptc-link, ptc-square-card,\n.hyphenate-text, ptc-footer {\n hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n /* For Safari */\n -webkit-hyphenate-limit-after: 3;\n /* For Safari */\n hyphenate-limit-chars: 12 3 3;\n hyphenate-limit-lines: 2;\n hyphenate-limit-last: always;\n hyphenate-limit-zone: 6%;\n -webkit-hyphens: auto;\n -webkit-hyphenate-limit-before: 3;\n -webkit-hyphenate-limit-after: 3;\n -webkit-hyphenate-limit-chars: 12 3 3;\n -webkit-hyphenate-limit-lines: 2;\n -moz-hyphens: auto;\n -moz-hyphenate-limit-chars: 12 3 3;\n -moz-hyphenate-limit-lines: 2;\n -ms-hyphens: auto;\n -ms-hyphenate-limit-chars: 12 3 3;\n -ms-hyphenate-limit-lines: 2;\n }\n}\n\n:host {\n display: block;\n position: relative;\n}\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 overflow: hidden;\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 display: inline-flex;\n position: relative;\n overflow: hidden;\n text-decoration: none;\n z-index: 10;\n align-items: center;\n gap: 16px;\n flex: 0 0 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 .link-text {\n display: block;\n inline-size: 190px;\n white-space: break-spaces;\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 .bgb,\n.card-links .card-section .card-link .bgh {\n transition: opacity var(--ptc-transition-medium) var(--ptc-ease-out);\n}\n.card-links .card-section .card-link .bgb {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 100.13%);\n opacity: 1;\n}\n.card-links .card-section .card-link .bgh {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.17) 100.13%);\n}\n.card-links .card-section .card-link .bgp {\n background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.12) 100.13%);\n}\n.card-links .card-section .card-link:hover .bgb,\n.card-links .card-section .card-link:hover .bgp {\n opacity: 0;\n}\n.card-links .card-section .card-link:hover .bgh {\n opacity: 1;\n}\n.card-links .card-section .card-link:active .bgb,\n.card-links .card-section .card-link:active .bgh, .card-links .card-section .card-link.active .bgb,\n.card-links .card-section .card-link.active .bgh {\n display: none;\n opacity: 0;\n}\n.card-links .card-section .card-link:active .bgp, .card-links .card-section .card-link.active .bgp {\n opacity: 1;\n}\n.card-links .card-section:before {\n position: absolute;\n width: 32px;\n background: linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);\n top: 16px;\n right: 0;\n bottom: 0;\n z-index: 12;\n}\n.card-links .card-section.scroll-st {\n box-shadow: inset 2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n.card-links .card-section.scroll-ed {\n box-shadow: inset -2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n.card-links .card-section.scroll-ed.scroll-st {\n box-shadow: inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3);\n}\n@media only screen and (min-width: 1200px) {\n .card-links .card-section {\n margin: 20px 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.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}";
|
|
18004
18002
|
|
|
18005
18003
|
const PtcHomepageVideoBackground$1 = class extends HTMLElement$1 {
|
|
18006
18004
|
constructor() {
|
|
@@ -18109,7 +18107,7 @@ const PtcHomepageVideoBackground$1 = class extends HTMLElement$1 {
|
|
|
18109
18107
|
}
|
|
18110
18108
|
}
|
|
18111
18109
|
render() {
|
|
18112
|
-
return (h$1(Host, null, h$1("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark' }), h$1("div", { class: "container" }, h$1("div", { class: "primary-content-wrapper" }, h$1("slot", { name: "primary-content" })), h$1("div", { class: "card-links" }, h$1("div", { class: "secondary-content-wrapper" }, h$1("slot", { name: "secondary-content" })), h$1("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
|
|
18110
|
+
return (h$1(Host, null, h$1("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark' }), h$1("div", { class: "ptc-container" }, h$1("div", { class: "primary-content-wrapper" }, h$1("slot", { name: "primary-content" })), h$1("div", { class: "card-links" }, h$1("div", { class: "secondary-content-wrapper" }, h$1("slot", { name: "secondary-content" })), h$1("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
|
|
18113
18111
|
const icon = link.getAttribute('data-icon');
|
|
18114
18112
|
const text = link.textContent;
|
|
18115
18113
|
if (text) {
|
|
@@ -21746,7 +21744,7 @@ const PtcPricingTabs$1 = class extends HTMLElement$1 {
|
|
|
21746
21744
|
static get style() { return ptcPricingTabsCss; }
|
|
21747
21745
|
};
|
|
21748
21746
|
|
|
21749
|
-
const ptcProductCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);margin-bottom:var(--ptc-layout-spacing-03)}:host .card-wrap{display:flex;align-items:center}:host .card-wrap ptc-picture{display:none}@media only screen and (min-width: 768px){:host .card-wrap ptc-picture{display:block;margin-left:var(--ptc-element-spacing-06);min-width:38px;max-width:38px}}:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04)}@media only screen and (min-width: 768px){:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) 44px}}@media only screen and (min-width: 1200px){:host .card-wrap .content{display:flex;align-items:center}}:host .card-wrap .content .cta-wrap{margin-left:0;margin-top:24px;min-width:146px;text-align:left}@media only screen and (min-width: 1200px){:host .card-wrap .content .cta-wrap{margin-top:0px;margin-left:44px;text-align:right}}:host .toggle-btn{padding:16px;text-align:center;border-top:1px solid var(--color-gray-04);display:block;cursor:pointer}:host .toggle-btn svg{margin-right:var(--ptc-element-spacing-03);vertical-align:middle;margin-top:-2px}:host .toggle-btn .toggleText::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"18\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.953 4.23535H8.04712V8.04712H4.23535V9.953H8.04712V13.7648H9.953V9.953H13.7648V8.04712H9.953V4.23535Z\" fill=\"white\"/></svg>');margin-right:12px;vertical-align:middle;margin-top:-2px}:host .product-highlights-container{padding:0px 20px 16px 20px;display:none}:host(.has-opened) .toggleText::before{background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.632812\" width=\"17.9798\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><g clip-path=\"url(%23clip0_220_1413)\"><path d=\"M4.86328 7.98749V10.0125H14.382V7.98749H4.86328Z\" fill=\"white\"/></g><defs><clipPath id=\"clip0_220_1413\"><rect width=\"9.51872\" height=\"9.52941\" fill=\"white\" transform=\"translate(4.86328 4.23529)\"/></clipPath></defs></svg>')}:host(.has-opened) .product-highlights-container{display:block}";
|
|
21747
|
+
const ptcProductCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);margin-bottom:var(--ptc-layout-spacing-03)}:host .card-wrap{display:flex;align-items:center}:host .card-wrap ptc-picture{display:none}@media only screen and (min-width: 768px){:host .card-wrap ptc-picture{display:block;margin-left:var(--ptc-element-spacing-06);min-width:38px;max-width:38px}}:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04)}@media only screen and (min-width: 768px){:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) 44px}}@media only screen and (min-width: 1200px){:host .card-wrap .content{display:flex;align-items:center;justify-content:space-between;width:100%}}:host .card-wrap .content .cta-wrap{margin-left:0;margin-top:24px;min-width:146px;text-align:left}@media only screen and (min-width: 1200px){:host .card-wrap .content .cta-wrap{margin-top:0px;margin-left:44px;text-align:right}}:host .toggle-btn{padding:16px;text-align:center;border-top:1px solid var(--color-gray-04);display:block;cursor:pointer}:host .toggle-btn svg{margin-right:var(--ptc-element-spacing-03);vertical-align:middle;margin-top:-2px}:host .toggle-btn .toggleText::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"18\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.953 4.23535H8.04712V8.04712H4.23535V9.953H8.04712V13.7648H9.953V9.953H13.7648V8.04712H9.953V4.23535Z\" fill=\"white\"/></svg>');margin-right:12px;vertical-align:middle;margin-top:-2px}:host .product-highlights-container{padding:0px 20px 16px 20px;display:none}:host(.has-opened) .toggleText::before{background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.632812\" width=\"17.9798\" height=\"18\" rx=\"4\" fill=\"%2300890B\"/><g clip-path=\"url(%23clip0_220_1413)\"><path d=\"M4.86328 7.98749V10.0125H14.382V7.98749H4.86328Z\" fill=\"white\"/></g><defs><clipPath id=\"clip0_220_1413\"><rect width=\"9.51872\" height=\"9.52941\" fill=\"white\" transform=\"translate(4.86328 4.23529)\"/></clipPath></defs></svg>')}:host(.has-opened) .product-highlights-container{display:block}";
|
|
21750
21748
|
|
|
21751
21749
|
const PtcProductCard$1 = class extends HTMLElement$1 {
|
|
21752
21750
|
constructor() {
|
|
@@ -21767,7 +21765,7 @@ const PtcProductCard$1 = class extends HTMLElement$1 {
|
|
|
21767
21765
|
}
|
|
21768
21766
|
render() {
|
|
21769
21767
|
return (h$1(Host, null, h$1("div", { class: "card-wrap" }, this.cardImage &&
|
|
21770
|
-
h$1("ptc-picture", { alt: "image-test", src: this.cardImage, "display-image": "inline-block", width: '38' }), h$1("div", { class: "content" }, h$1("div", null, h$1("ptc-title", { type: 'h3', upperline: "no-upperline", "title-size": "medium", "title-weight": "w-8", "title-margin": 'margin-flush', "title-display": "block", "title-height": "densest" }, h$1("ptc-tooltip", { "text-display": "block", "text-lines": "3", "z-index": "z-999", description: this.cardTitle, position: "bottom", width: 'full-width' })), h$1("ptc-spacer", { size: "x-small" }), h$1("ptc-spacer", { size: "xx-small", breakpoint: "x-small" }), h$1("
|
|
21768
|
+
h$1("ptc-picture", { alt: "image-test", src: this.cardImage, "display-image": "inline-block", width: '38' }), h$1("div", { class: "content" }, h$1("div", null, h$1("ptc-title", { type: 'h3', upperline: "no-upperline", "title-size": "medium", "title-weight": "w-8", "title-margin": 'margin-flush', "title-display": "block", "title-height": "densest" }, h$1("ptc-tooltip", { "text-display": "block", "text-lines": "3", "z-index": "z-999", description: this.cardTitle, position: "bottom", width: 'full-width' })), h$1("ptc-spacer", { size: "x-small" }), h$1("ptc-spacer", { size: "xx-small", breakpoint: "x-small" }), h$1("div", null, h$1("slot", { name: "content" }))), h$1("div", { class: 'cta-wrap' }, h$1("slot", { name: "cta" })))), this.toggleCtaTitle &&
|
|
21771
21769
|
h$1("ptc-para", { class: "toggle-btn", "font-size": "small", "para-margin": "margin-flush", "para-line-h": "line-height-p", "para-z-index": "z-auto", onClick: () => this.togglePanel() }, h$1("span", { class: 'toggleText' }, this.toggleCtaTitle)), h$1("div", { class: 'product-highlights-container' }, h$1("slot", null))));
|
|
21772
21770
|
}
|
|
21773
21771
|
get hostElement() { return this; }
|
|
@@ -21865,7 +21863,7 @@ const PtcProductDropdown$1 = class extends HTMLElement$1 {
|
|
|
21865
21863
|
static get style() { return ptcProductDropdownCss; }
|
|
21866
21864
|
};
|
|
21867
21865
|
|
|
21868
|
-
const ptcProductHighlightCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{max-width:300px;display:block;padding:18px 10px 12px 10px;border:1px solid var(--color-gray-04);border-radius:var(--ptc-border-radius-standard);margin:auto;height:100%}:host ptc-picture{min-height:100px}";
|
|
21866
|
+
const ptcProductHighlightCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{max-width:300px;display:block;padding:18px 10px 12px 10px;border:1px solid var(--color-gray-04);border-radius:var(--ptc-border-radius-standard);margin:auto;height:100%}:host ptc-picture{min-height:100px}:host ptc-para ptc-readmore .box input~label{margin-right:0px}:host ptc-para a{color:var(--color-hyperlink)}";
|
|
21869
21867
|
|
|
21870
21868
|
const PtcProductHighlightCard$1 = class extends HTMLElement$1 {
|
|
21871
21869
|
constructor() {
|
|
@@ -21875,10 +21873,12 @@ const PtcProductHighlightCard$1 = class extends HTMLElement$1 {
|
|
|
21875
21873
|
this.cardTitle = undefined;
|
|
21876
21874
|
this.cardImage = undefined;
|
|
21877
21875
|
this.cardImageAltText = undefined;
|
|
21876
|
+
this.moreText = 'More';
|
|
21877
|
+
this.lessText = 'Less';
|
|
21878
21878
|
this.cardDescription = undefined;
|
|
21879
21879
|
}
|
|
21880
21880
|
render() {
|
|
21881
|
-
return (h$1(Host, null, h$1("ptc-title", { type: 'h4', upperline: "no-upperline", "title-margin": "margin-flush", "title-size": "small", "text-align": 'center' }, h$1("ptc-tooltip", { "text-display": "block", "text-lines": "2", "z-index": "z-999", description: this.cardTitle, position: "bottom", width: 'full-width' })), h$1("ptc-picture", { alt: this.cardImageAltText, src: this.cardImage, "image-alignment": "center", width: "69", "display-image": "inline-block", styles: "img{margin: 12px auto 18px auto}" }), h$1("ptc-para", { "font-size": "x-small", "para-margin": "margin-flush", "para-line-h": "line-height-densest", "para-align": 'left', "para-z-index": "z-auto" }, h$1("ptc-
|
|
21881
|
+
return (h$1(Host, null, h$1("ptc-title", { type: 'h4', upperline: "no-upperline", "title-margin": "margin-flush", "title-size": "small", "text-align": 'center' }, h$1("ptc-tooltip", { "text-display": "block", "text-lines": "2", "z-index": "z-999", description: this.cardTitle, position: "bottom", width: 'full-width' })), h$1("ptc-picture", { alt: this.cardImageAltText, src: this.cardImage, "image-alignment": "center", width: "69", "display-image": "inline-block", styles: "img{margin: 12px auto 18px auto}" }), h$1("ptc-para", { "font-size": "x-small", "para-margin": "margin-flush", "para-line-h": "line-height-densest", "para-align": 'left', "para-z-index": "z-auto" }, h$1("ptc-readmore", { "more-text": this.moreText, "less-text": this.lessText, "visible-lines-custom": "8", "read-more-position": "left" }, h$1("slot", null)))));
|
|
21882
21882
|
}
|
|
21883
21883
|
static get style() { return ptcProductHighlightCardCss; }
|
|
21884
21884
|
};
|
|
@@ -29069,8 +29069,8 @@ const FlTabContent = /*@__PURE__*/proxyCustomElement(FlTabContent$1, [1,"fl-tab-
|
|
|
29069
29069
|
const FlTabHeader = /*@__PURE__*/proxyCustomElement(FlTabHeader$1, [6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"selected":[4],"initialHeader":[32]}]);
|
|
29070
29070
|
const FlTabImage = /*@__PURE__*/proxyCustomElement(FlTabImage$1, [1,"fl-tab-image",{"nameKey":[1,"name-key"],"selected":[4]}]);
|
|
29071
29071
|
const FooterForm = /*@__PURE__*/proxyCustomElement(FooterForm$1, [1,"footer-form",{"formData":[32]}]);
|
|
29072
|
-
const HomepageClickableTab = /*@__PURE__*/proxyCustomElement(HomepageClickableTab$1, [1,"homepage-clickable-tab",{"active":[4],"label":[1],"activeColor":[1,"active-color"],"isHovered":[32]}]);
|
|
29073
|
-
const HomepageJumbotron = /*@__PURE__*/proxyCustomElement(HomepageJumbotron$1, [6,"homepage-jumbotron",{"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"jumbotron":[1],"isIframe":[4,"is-iframe"],"playBtnText":[1,"play-btn-text"],"pauseBtnText":[1,"pause-btn-text"],"activeTab":[32],"activeBgVideoSrc":[32],"activeMainTitle":[32],"activeSubTitle":[32],"activeButton":[32],"tileElements":[32],"isTransitioning":[32]},[[0,"itemSelected","onItemSelected"]]]);
|
|
29072
|
+
const HomepageClickableTab = /*@__PURE__*/proxyCustomElement(HomepageClickableTab$1, [1,"homepage-clickable-tab",{"active":[4],"label":[1],"activeColor":[1,"active-color"],"styles":[1],"isHovered":[32]}]);
|
|
29073
|
+
const HomepageJumbotron = /*@__PURE__*/proxyCustomElement(HomepageJumbotron$1, [6,"homepage-jumbotron",{"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"jumbotron":[1],"isIframe":[4,"is-iframe"],"playBtnText":[1,"play-btn-text"],"pauseBtnText":[1,"pause-btn-text"],"activeTab":[32],"activeBgVideoSrc":[32],"activeMainTitle":[32],"activeSubTitle":[32],"activeButton":[32],"tileElements":[32],"isTransitioning":[32],"mediaTag":[32]},[[0,"itemSelected","onItemSelected"]]]);
|
|
29074
29074
|
const HomepageToggledContent = /*@__PURE__*/proxyCustomElement(HomepageToggledContent$1, [1,"homepage-toggled-content",{"activeTab":[32],"dropdownOpen":[32],"tileElements":[32]}]);
|
|
29075
29075
|
const IconAsset = /*@__PURE__*/proxyCustomElement(IconAsset$1, [2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"isMobileSelect":[4,"is-mobile-select"],"injectedStyle":[1,"injected-style"]}]);
|
|
29076
29076
|
const InnovatorToggleContainer = /*@__PURE__*/proxyCustomElement(InnovatorToggleContainer$1, [1,"innovator-toggle-container",{"sectionTitle":[1,"section-title"],"description":[1],"backgroundImage":[1,"background-image"]}]);
|
|
@@ -29161,7 +29161,7 @@ const PtcPricingTabs = /*@__PURE__*/proxyCustomElement(PtcPricingTabs$1, [1,"ptc
|
|
|
29161
29161
|
const PtcProductCard = /*@__PURE__*/proxyCustomElement(PtcProductCard$1, [1,"ptc-product-card",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"cardDescription":[1,"card-description"],"cardCtaText":[1,"card-cta-text"],"toggleCtaTitle":[1,"toggle-cta-title"],"isSlotEmpty":[4,"is-slot-empty"],"isOpen":[32]}]);
|
|
29162
29162
|
const PtcProductCategory = /*@__PURE__*/proxyCustomElement(PtcProductCategory$1, [1,"ptc-product-category",{"categoryTitle":[1,"category-title"],"categoryDescription":[1,"category-description"]}]);
|
|
29163
29163
|
const PtcProductDropdown = /*@__PURE__*/proxyCustomElement(PtcProductDropdown$1, [1,"ptc-product-dropdown",{"newOptions":[16],"selectedOptions":[16],"placeholder":[1],"internalOptions":[32],"isOpen":[32]},[[4,"clearsearch","handleSearchResult"],[4,"inputChanged","handleinputChanged"]]]);
|
|
29164
|
-
const PtcProductHighlightCard = /*@__PURE__*/proxyCustomElement(PtcProductHighlightCard$1, [1,"ptc-product-highlight-card",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"cardDescription":[1,"card-description"]}]);
|
|
29164
|
+
const PtcProductHighlightCard = /*@__PURE__*/proxyCustomElement(PtcProductHighlightCard$1, [1,"ptc-product-highlight-card",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"cardDescription":[1,"card-description"]}]);
|
|
29165
29165
|
const PtcProductList = /*@__PURE__*/proxyCustomElement(PtcProductList$1, [1,"ptc-product-list",{"emptyTitle":[1,"empty-title"],"emptySubTitle":[1,"empty-sub-title"],"clearButtonLabel":[1,"clear-button-label"]},[[4,"selectedResult","handleSearchResult"],[4,"clearsearch","handleSearchResult"],[4,"selectedValues","handleMultipleSearchResult"],[4,"emptyResult","handleEmptyResult"]]]);
|
|
29166
29166
|
const PtcProductSidebar = /*@__PURE__*/proxyCustomElement(PtcProductSidebar$1, [1,"ptc-product-sidebar",{"filterResults":[1,"filter-results"],"filterText":[1,"filter-text"],"clearText":[1,"clear-text"],"technologyText":[1,"technology-text"],"jumpToProduct":[1,"jump-to-product"],"selectTechnology":[1,"select-technology"],"suggestionList":[16],"searchTerm":[32],"suggestions":[32]},[[4,"dropdownTouched","handleDropdownTouched"],[0,"click","handleClick"],[4,"clearCtaClicked","handleclearCtaClicked"],[4,"selectedValues","handleSelectedValues"]]]);
|
|
29167
29167
|
const PtcProgressBar = /*@__PURE__*/proxyCustomElement(PtcProgressBar$1, [1,"ptc-progress-bar",{"scrollPercentage":[32]},[[9,"scroll","handleScroll"]]]);
|