@ptcwebops/ptcw-design 3.3.8 → 3.4.0
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/embedded-form.cjs.entry.js +114 -0
- package/dist/cjs/icon-asset_4.cjs.entry.js +298 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +54 -0
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +75 -0
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +2 -2
- package/dist/cjs/ptc-card-content.cjs.entry.js +2 -2
- package/dist/cjs/ptc-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +522 -0
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +2 -2
- package/dist/cjs/{embedded-form_9.cjs.entry.js → ptc-form-checkbox_3.cjs.entry.js} +0 -864
- package/dist/cjs/ptc-media-card.cjs.entry.js +2 -9
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-square-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-title.cjs.entry.js +99 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +2 -2
- package/dist/cjs/tab-header.cjs.entry.js +2 -2
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +3 -0
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +1 -1
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +14 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +4 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +3 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +1 -1
- package/dist/collection/components/ptc-card/ptc-card.css +4 -0
- package/dist/collection/components/ptc-card/ptc-card.js +1 -1
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +3 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +1 -1
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +3 -0
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +1 -1
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +3 -0
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +1 -1
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +2 -2
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +3 -0
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -8
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +3 -0
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +1 -1
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +3 -0
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +1 -1
- package/dist/collection/components/ptc-title/ptc-title.css +8 -0
- package/dist/collection/components/tab-header/tab-header.css +4 -0
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/custom-elements/index.js +26 -33
- package/dist/esm/author-listing-example.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 +110 -0
- 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/icon-asset_4.entry.js +291 -0
- package/dist/esm/{index-62587d0b.js → index-4025d85a.js} +1 -1
- package/dist/esm/innovator-toggle-container.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 +50 -0
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/ptc-accordion-item.entry.js +2 -2
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +3 -3
- package/dist/esm/ptc-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +71 -0
- package/dist/esm/ptc-card-bottom_3.entry.js +3 -3
- package/dist/esm/ptc-card-content.entry.js +3 -3
- package/dist/esm/ptc-card.entry.js +3 -3
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-checkbox.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 +518 -0
- 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 +3 -3
- 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.entry.js +1 -1
- package/dist/esm/{embedded-form_9.entry.js → ptc-form-checkbox_3.entry.js} +3 -861
- 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-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-link.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +4 -11
- 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-modal.entry.js +1 -1
- 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-news.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptc-para.entry.js +2 -2
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +1 -1
- 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 +1 -1
- 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-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.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-slit-card.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +3 -3
- 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-title.entry.js +95 -0
- 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 +3 -3
- 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 +3 -3
- package/dist/esm/{utils-8fe7e3fd.js → utils-ec03e51e.js} +1 -1
- package/dist/ptcw-design/{p-46d9058c.entry.js → p-016abee7.entry.js} +1 -1
- package/dist/ptcw-design/p-027bdb8f.entry.js +1 -0
- package/dist/ptcw-design/p-041beaf4.entry.js +1 -0
- package/dist/ptcw-design/p-047a8a1a.entry.js +1 -0
- package/dist/ptcw-design/{p-7057b757.entry.js → p-052601d9.entry.js} +1 -1
- package/dist/ptcw-design/{p-a95fd3fc.entry.js → p-06b1b637.entry.js} +1 -1
- package/dist/ptcw-design/{p-211af9e1.entry.js → p-06c6ea4c.entry.js} +1 -1
- package/dist/ptcw-design/{p-dafb152d.entry.js → p-084ee207.entry.js} +1 -1
- package/dist/ptcw-design/p-0a923315.entry.js +1 -0
- package/dist/ptcw-design/{p-8609c7b2.entry.js → p-0af76a07.entry.js} +1 -1
- package/dist/ptcw-design/{p-43aa9e96.entry.js → p-11accaff.entry.js} +1 -1
- package/dist/ptcw-design/{p-7f1dd267.entry.js → p-149b36d8.entry.js} +1 -1
- package/dist/ptcw-design/{p-84e83224.entry.js → p-14d5bf99.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee10e88e.entry.js → p-159cefeb.entry.js} +1 -1
- package/dist/ptcw-design/{p-92648b82.entry.js → p-179c53ad.entry.js} +1 -1
- package/dist/ptcw-design/{p-a6c6e898.entry.js → p-1c93ee68.entry.js} +1 -1
- package/dist/ptcw-design/{p-ffede29b.entry.js → p-1e333fa3.entry.js} +1 -1
- package/dist/ptcw-design/{p-49f06645.entry.js → p-1e82f492.entry.js} +1 -1
- package/dist/ptcw-design/{p-d4999019.entry.js → p-24260cad.entry.js} +1 -1
- package/dist/ptcw-design/{p-75d0ee9e.entry.js → p-25ce65a9.entry.js} +1 -1
- package/dist/ptcw-design/{p-a64f1d6f.entry.js → p-27282ed2.entry.js} +1 -1
- package/dist/ptcw-design/{p-4b1bb2ca.entry.js → p-2729fcf1.entry.js} +1 -1
- package/dist/ptcw-design/{p-886999a8.entry.js → p-291501ac.entry.js} +1 -1
- package/dist/ptcw-design/{p-ccb6fcb7.entry.js → p-29761cca.entry.js} +1 -1
- package/dist/ptcw-design/{p-a7330910.entry.js → p-2ca10131.entry.js} +1 -1
- package/dist/ptcw-design/{p-c3085dbf.entry.js → p-35156762.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a8726da.entry.js → p-3a291b61.entry.js} +1 -1
- package/dist/ptcw-design/p-3b91b9de.entry.js +1 -0
- package/dist/ptcw-design/p-3d9a5d4d.entry.js +1 -0
- package/dist/ptcw-design/{p-8c3cdc5a.entry.js → p-3ebbc544.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca01e3eb.js → p-40bd4f0a.js} +1 -1
- package/dist/ptcw-design/{p-a32571b5.entry.js → p-473d9d45.entry.js} +1 -1
- package/dist/ptcw-design/{p-98726195.entry.js → p-4986e194.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c6cce6c.entry.js → p-499565e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a7ac34f.entry.js → p-4cf2d9ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-01f51476.entry.js → p-4d6d18f2.entry.js} +1 -1
- package/dist/ptcw-design/{p-eef785f3.entry.js → p-4da72c00.entry.js} +1 -1
- package/dist/ptcw-design/{p-8d2425b5.entry.js → p-4e5e248a.entry.js} +1 -1
- package/dist/ptcw-design/{p-62e37c2b.entry.js → p-4f34e6c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2a4150c.entry.js → p-50972a48.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac96f617.entry.js → p-5423eae8.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e8791c4.entry.js → p-56531155.entry.js} +1 -1
- package/dist/ptcw-design/{p-92904b6b.entry.js → p-595f8dee.entry.js} +1 -1
- package/dist/ptcw-design/{p-1a5a5341.entry.js → p-5af8beda.entry.js} +1 -1
- package/dist/ptcw-design/{p-6b659825.entry.js → p-5f66ed1f.entry.js} +1 -1
- package/dist/ptcw-design/{p-15cd377e.entry.js → p-61feb9c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-33db658c.entry.js → p-6532393f.entry.js} +1 -1
- package/dist/ptcw-design/{p-aa5af6a7.entry.js → p-66d12557.entry.js} +1 -1
- package/dist/ptcw-design/{p-9f227e83.entry.js → p-68507582.entry.js} +1 -1
- package/dist/ptcw-design/p-6bddd3c0.entry.js +1 -0
- package/dist/ptcw-design/{p-8471b016.entry.js → p-6c56f83f.entry.js} +1 -1
- package/dist/ptcw-design/{p-58e883bc.entry.js → p-6e81553e.entry.js} +1 -1
- package/dist/ptcw-design/{p-716f5cfc.entry.js → p-6ea40776.entry.js} +1 -1
- package/dist/ptcw-design/{p-006da5ab.entry.js → p-71d15f4f.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc4b2671.entry.js → p-73429b0c.entry.js} +1 -1
- package/dist/ptcw-design/{p-37fe2ada.entry.js → p-77cf5877.entry.js} +1 -1
- package/dist/ptcw-design/{p-d6adaf89.entry.js → p-783b278d.entry.js} +1 -1
- package/dist/ptcw-design/{p-b58991de.entry.js → p-7899f28e.entry.js} +1 -1
- package/dist/ptcw-design/{p-93b2520e.entry.js → p-7b2c82bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-dfec5f00.entry.js → p-7bd287e6.entry.js} +1 -1
- package/dist/ptcw-design/p-7da8c09a.entry.js +1 -0
- package/dist/ptcw-design/p-7ed2372b.entry.js +1 -0
- package/dist/ptcw-design/{p-71a5a4b8.entry.js → p-80e3f081.entry.js} +1 -1
- package/dist/ptcw-design/{p-34f6cb85.entry.js → p-818ef281.entry.js} +1 -1
- package/dist/ptcw-design/{p-37bd13af.entry.js → p-853148c3.entry.js} +1 -1
- package/dist/ptcw-design/p-874f8abe.entry.js +1 -0
- package/dist/ptcw-design/p-93643ffd.entry.js +1 -0
- package/dist/ptcw-design/{p-dff8c778.entry.js → p-96761597.entry.js} +1 -1
- package/dist/ptcw-design/p-9a908785.entry.js +1 -0
- package/dist/ptcw-design/{p-a2ed8861.entry.js → p-9b5bac71.entry.js} +1 -1
- package/dist/ptcw-design/{p-124271d5.entry.js → p-9fdc5250.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c5b80ad.entry.js → p-a6c31305.entry.js} +1 -1
- package/dist/ptcw-design/{p-00a1336a.js → p-a7fdc2eb.js} +1 -1
- package/dist/ptcw-design/{p-5a6614a3.entry.js → p-abf4e9d7.entry.js} +1 -1
- package/dist/ptcw-design/{p-6aa14f70.entry.js → p-aca960a9.entry.js} +1 -1
- package/dist/ptcw-design/p-acc71f4b.entry.js +1 -0
- package/dist/ptcw-design/{p-14a53b5a.entry.js → p-ad78b94d.entry.js} +1 -1
- package/dist/ptcw-design/p-b0810037.entry.js +1 -0
- package/dist/ptcw-design/{p-b80358ed.entry.js → p-b222d731.entry.js} +1 -1
- package/dist/ptcw-design/{p-46321985.entry.js → p-b995b462.entry.js} +1 -1
- package/dist/ptcw-design/p-b9fbc293.entry.js +1 -0
- package/dist/ptcw-design/{p-ca7250a3.entry.js → p-bce9a8a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-95cc32a1.entry.js → p-be78874a.entry.js} +1 -1
- package/dist/ptcw-design/{p-5249434f.entry.js → p-bf26e676.entry.js} +1 -1
- package/dist/ptcw-design/p-c080ae80.entry.js +1 -0
- package/dist/ptcw-design/p-c1bd1b09.entry.js +1 -0
- package/dist/ptcw-design/{p-6159ccab.entry.js → p-c1cf0516.entry.js} +1 -1
- package/dist/ptcw-design/{p-e21c0fa1.entry.js → p-c25ea76a.entry.js} +1 -1
- package/dist/ptcw-design/{p-3eee7c0b.entry.js → p-c5fd62c1.entry.js} +1 -1
- package/dist/ptcw-design/{p-91a9844b.entry.js → p-c8dba698.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa0bac17.entry.js → p-c9eeb679.entry.js} +1 -1
- package/dist/ptcw-design/{p-f8e41992.entry.js → p-cea9dade.entry.js} +1 -1
- package/dist/ptcw-design/{p-c34b4f8c.entry.js → p-dbc8e0df.entry.js} +1 -1
- package/dist/ptcw-design/{p-63d80a6a.entry.js → p-dd106b3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-9691a9fe.entry.js → p-dfe7c182.entry.js} +1 -1
- package/dist/ptcw-design/p-e1028727.entry.js +1 -0
- package/dist/ptcw-design/{p-029b2e2f.entry.js → p-e3addf1b.entry.js} +1 -1
- package/dist/ptcw-design/p-ea9762a2.entry.js +1 -0
- package/dist/ptcw-design/{p-0f44c924.entry.js → p-ebadbd24.entry.js} +1 -1
- package/dist/ptcw-design/{p-c942764e.entry.js → p-ecb42fea.entry.js} +1 -1
- package/dist/ptcw-design/{p-521f8a44.entry.js → p-f1a31099.entry.js} +1 -1
- package/dist/ptcw-design/p-f2049ba8.entry.js +1 -0
- package/dist/ptcw-design/{p-1f734049.entry.js → p-f2db5807.entry.js} +1 -1
- package/dist/ptcw-design/{p-e4126c09.entry.js → p-f2e2cf72.entry.js} +1 -1
- package/dist/ptcw-design/{p-2aec9d6e.entry.js → p-f3f647db.entry.js} +16 -16
- package/dist/ptcw-design/{p-cf0324c0.entry.js → p-f3feb0d1.entry.js} +1 -1
- package/dist/ptcw-design/p-f5051648.entry.js +1 -0
- package/dist/ptcw-design/p-f52952e9.entry.js +1 -0
- package/dist/ptcw-design/{p-08ed517e.entry.js → p-f7e6f676.entry.js} +1 -1
- package/dist/ptcw-design/{p-0eff6801.entry.js → p-f823cf51.entry.js} +1 -1
- package/dist/ptcw-design/{p-565bd4fa.entry.js → p-f892bcd3.entry.js} +1 -1
- package/dist/ptcw-design/p-f8a26f4b.entry.js +1 -0
- package/dist/ptcw-design/{p-945d22e4.entry.js → p-fa05e374.entry.js} +1 -1
- package/dist/ptcw-design/{p-543e1237.entry.js → p-fa2f71c3.entry.js} +1 -1
- package/dist/ptcw-design/p-fade4060.entry.js +1 -0
- package/dist/ptcw-design/p-fb937570.entry.js +1 -0
- package/dist/ptcw-design/{p-c9303172.entry.js → p-ff2fd535.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -53
- package/dist/cjs/ptc-announcement.cjs.entry.js +0 -63
- package/dist/cjs/ptc-readmore.cjs.entry.js +0 -93
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
- package/dist/esm/icon-asset.entry.js +0 -49
- package/dist/esm/ptc-announcement.entry.js +0 -59
- package/dist/esm/ptc-readmore.entry.js +0 -89
- package/dist/esm/ptc-tooltip.entry.js +0 -103
- package/dist/ptcw-design/p-126a278b.entry.js +0 -1
- package/dist/ptcw-design/p-1afabe42.entry.js +0 -1
- package/dist/ptcw-design/p-328c4737.entry.js +0 -1
- package/dist/ptcw-design/p-3bb91bc8.entry.js +0 -1
- package/dist/ptcw-design/p-46e3abad.entry.js +0 -1
- package/dist/ptcw-design/p-5950c87d.entry.js +0 -1
- package/dist/ptcw-design/p-5d3c3f35.entry.js +0 -1
- package/dist/ptcw-design/p-61e48f01.entry.js +0 -1
- package/dist/ptcw-design/p-6b6d6ca6.entry.js +0 -1
- package/dist/ptcw-design/p-752f779c.entry.js +0 -1
- package/dist/ptcw-design/p-7951252a.entry.js +0 -1
- package/dist/ptcw-design/p-9d8f290c.entry.js +0 -1
- package/dist/ptcw-design/p-a6765bb5.entry.js +0 -1
- package/dist/ptcw-design/p-be64f40e.entry.js +0 -1
- package/dist/ptcw-design/p-cb74635b.entry.js +0 -1
- package/dist/ptcw-design/p-cd1627fd.entry.js +0 -1
- package/dist/ptcw-design/p-cd8b434c.entry.js +0 -1
- package/dist/ptcw-design/p-de7b2cd1.entry.js +0 -1
- package/dist/ptcw-design/p-e40fc7a4.entry.js +0 -1
- package/dist/ptcw-design/p-e54c51b3.entry.js +0 -1
- package/dist/ptcw-design/p-f04682d1.entry.js +0 -1
- package/dist/ptcw-design/p-f7b3d970.entry.js +0 -1
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-4025d85a.js';
|
|
2
|
+
|
|
3
|
+
// Define the ElqLib class
|
|
4
|
+
class ElqLib {
|
|
5
|
+
constructor(params) {
|
|
6
|
+
this.params = params;
|
|
7
|
+
this.url_vars = {};
|
|
8
|
+
this.visitor_elq_id = null;
|
|
9
|
+
this.field_mappings = [];
|
|
10
|
+
this.callback_queue = [];
|
|
11
|
+
this.fields_populated = false;
|
|
12
|
+
this.user_elq_email = '';
|
|
13
|
+
this.user_elq_firstname = '';
|
|
14
|
+
this.user_elq_lastname = '';
|
|
15
|
+
// Merge defaults with params
|
|
16
|
+
const defaults = {
|
|
17
|
+
elq_site_id: '',
|
|
18
|
+
elq_visitor_lookup_key: '',
|
|
19
|
+
elq_recipient_id_lookup_key: '',
|
|
20
|
+
elq_contact_lookup_key: '',
|
|
21
|
+
elq_field_email_rec_id: 'V_EmailRecipientID',
|
|
22
|
+
elq_field_contact_email: 'C_EmailAddress',
|
|
23
|
+
elq_field_visitor_email: 'V_Email_Address',
|
|
24
|
+
elq_field_visitor_firstname: 'V_First_Name',
|
|
25
|
+
elq_field_visitor_lastname: 'V_Last_Name',
|
|
26
|
+
notme_link_id: 'not-me-link-id',
|
|
27
|
+
notme_fields_class: null,
|
|
28
|
+
notme_message: 'Not {name}? Click here.',
|
|
29
|
+
notme_message_noname: 'Not your details below? Click here.',
|
|
30
|
+
};
|
|
31
|
+
this.params = Object.assign(Object.assign({}, defaults), this.params);
|
|
32
|
+
this.init();
|
|
33
|
+
}
|
|
34
|
+
init() {
|
|
35
|
+
// Merge defaults with user-provided params if not already done in the constructor
|
|
36
|
+
// ...
|
|
37
|
+
// Set Eloqua site ID
|
|
38
|
+
this.setEloquaSiteId();
|
|
39
|
+
// Load Eloqua scripts
|
|
40
|
+
this.async_load();
|
|
41
|
+
// Store URL variables
|
|
42
|
+
this.store_url_vars();
|
|
43
|
+
// Store visitor's Eloqua IDgit
|
|
44
|
+
this.store_visitor_elq_id();
|
|
45
|
+
// init noteme link;
|
|
46
|
+
// this.init_notme();
|
|
47
|
+
// Set the global Eloqua callback function
|
|
48
|
+
window.SetElqContent = this.eloqua_callback.bind(this);
|
|
49
|
+
}
|
|
50
|
+
setEloquaSiteId() {
|
|
51
|
+
if (this.params.elq_site_id) {
|
|
52
|
+
ElqLib._elqQ.push(['elqSetSiteId', this.params.elq_site_id]);
|
|
53
|
+
ElqLib._elqQ.push(['elqUseFirstPartyCookie', 'tracking.ptc.com']);
|
|
54
|
+
ElqLib._elqQ.push(['elqTrackPageView', window.location.href]);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
fire_pageview(url) {
|
|
58
|
+
try {
|
|
59
|
+
if (typeof url === 'undefined') {
|
|
60
|
+
ElqLib._elqQ.push(['elqTrackPageView']);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
ElqLib._elqQ.push(['elqTrackPageView', url]);
|
|
64
|
+
}
|
|
65
|
+
console.log('TRACKING: Eloqua pageview fired for URL: ' + (url || 'current page'));
|
|
66
|
+
}
|
|
67
|
+
catch (e) {
|
|
68
|
+
console.log('TRACKING: Could not fire Eloqua pageview: ', e);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
find_eloqua_contact() {
|
|
72
|
+
console.log('CONTACT LOOKUP: Attempting to find Eloqua contact...');
|
|
73
|
+
// Queue callback action for the return of lookup
|
|
74
|
+
this.callback_queue.push(this.handle_visitor_lookup.bind(this));
|
|
75
|
+
// Start with a recipient lookup if ID was supplied in URL
|
|
76
|
+
if (this.visitor_elq_id !== null) {
|
|
77
|
+
this.lookup_visitor_by_recipient_id();
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
// If no visitor ID, attempt to do a visitor lookup with an Eloqua cookie
|
|
81
|
+
this.lookup_visitor_by_cookie(); //preference center
|
|
82
|
+
this.lookup_contact_by_email();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
add_field_mapping(mapping) {
|
|
86
|
+
this.field_mappings.push(mapping);
|
|
87
|
+
}
|
|
88
|
+
add_queue_action(action) {
|
|
89
|
+
this.callback_queue.push(action);
|
|
90
|
+
}
|
|
91
|
+
store_url_vars() {
|
|
92
|
+
// Clear the current url_vars
|
|
93
|
+
this.url_vars = {};
|
|
94
|
+
// Split the URL by the '?' to get the query string part
|
|
95
|
+
const queryString = window.location.search.substring(1);
|
|
96
|
+
// Split the query string by '&' to get each key-value pair
|
|
97
|
+
queryString.split('&').forEach(paramString => {
|
|
98
|
+
// Split the key-value pairs by '=' to separate keys and values
|
|
99
|
+
let [key, value] = paramString.split('=');
|
|
100
|
+
// Decode URI components to handle URL encoding
|
|
101
|
+
key = decodeURIComponent(key);
|
|
102
|
+
value = decodeURIComponent(value);
|
|
103
|
+
// Store the key-value pair in the url_vars object
|
|
104
|
+
this.url_vars[key] = value;
|
|
105
|
+
});
|
|
106
|
+
// Optionally, log the stored URL variables
|
|
107
|
+
console.log('URL variables stored:', this.url_vars);
|
|
108
|
+
}
|
|
109
|
+
store_visitor_elq_id() {
|
|
110
|
+
console.log("INIT: Looking for visitor's Eloqua ID in URL...");
|
|
111
|
+
const elqIdParam = this.url_vars['elq'];
|
|
112
|
+
if (elqIdParam) {
|
|
113
|
+
const elqId = elqIdParam.toUpperCase().replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, '$1-$2-$3-$4-$5');
|
|
114
|
+
this.visitor_elq_id = elqId;
|
|
115
|
+
console.log(`INIT: ...visitor Eloqua ID found in URL: ${elqId}`);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
this.visitor_elq_id = null;
|
|
119
|
+
console.log('INIT: ...no visitor Eloqua ID found in URL');
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
// private merge(root: any, ...sources: any[]): any {
|
|
123
|
+
// sources.forEach(source => {
|
|
124
|
+
// for (const key in source) {
|
|
125
|
+
// if (source.hasOwnProperty(key)) {
|
|
126
|
+
// root[key] = source[key];
|
|
127
|
+
// }
|
|
128
|
+
// }
|
|
129
|
+
// });
|
|
130
|
+
// return root;
|
|
131
|
+
// }
|
|
132
|
+
eloqua_callback() {
|
|
133
|
+
console.log('LOOKUP: Eloqua lookup finished');
|
|
134
|
+
// Process each action in the callback queue
|
|
135
|
+
let actionSucceeded = true;
|
|
136
|
+
while (actionSucceeded && this.callback_queue.length > 0) {
|
|
137
|
+
const action = this.callback_queue.shift();
|
|
138
|
+
if (action) {
|
|
139
|
+
console.log(`QUEUE: Executing action`);
|
|
140
|
+
actionSucceeded = action(); // Execute the action. It must return a boolean indicating success.
|
|
141
|
+
if (actionSucceeded) {
|
|
142
|
+
console.log('QUEUE: Action executed successfully, removed from queue');
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
console.log('QUEUE: Action failed, re-adding to queue');
|
|
146
|
+
this.callback_queue.unshift(action); // Re-add the action to the front of the queue
|
|
147
|
+
break; // Break out of the loop if an action fails
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
// After processing the queue, update user details or perform other operations
|
|
152
|
+
if (actionSucceeded) {
|
|
153
|
+
this.update_user_details();
|
|
154
|
+
this.populate_mapped_fields();
|
|
155
|
+
}
|
|
156
|
+
// ...additional code to handle the aftermath of callback processing...
|
|
157
|
+
}
|
|
158
|
+
lookup_visitor_by_cookie() {
|
|
159
|
+
if (this.params.elq_visitor_lookup_key != '') {
|
|
160
|
+
ElqLib._elqQ.push(['elqDataLookup', escape(this.params.elq_visitor_lookup_key), '']);
|
|
161
|
+
console.log('LOOKUP: Visitor lookup sent using Eloqua cookie');
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
lookup_visitor_by_recipient_id() {
|
|
168
|
+
if (this.params.elq_recipient_id_lookup_key != '') {
|
|
169
|
+
ElqLib._elqQ.push([
|
|
170
|
+
'elqDataLookup',
|
|
171
|
+
escape(this.params.elq_recipient_id_lookup_key),
|
|
172
|
+
'<' + this.params.elq_field_email_rec_id + '>' + this.visitor_elq_id + '</' + this.params.elq_field_email_rec_id + '>',
|
|
173
|
+
]);
|
|
174
|
+
console.log('LOOKUP: Visitor lookup sent using email recipient id: ' + this.visitor_elq_id);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
lookup_contact_by_email() {
|
|
181
|
+
if (this.params.elq_contact_lookup_key != '') {
|
|
182
|
+
ElqLib._elqQ.push([
|
|
183
|
+
'elqDataLookup',
|
|
184
|
+
escape(this.params.elq_contact_lookup_key),
|
|
185
|
+
'<' + this.params.elq_field_contact_email + '>' + this.user_elq_email + '</' + this.params.elq_field_contact_email + '>',
|
|
186
|
+
]);
|
|
187
|
+
console.log('LOOKUP: Contact lookup sent using email address: ' + this.user_elq_email);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
handle_visitor_lookup() {
|
|
194
|
+
//console.log('Contact Email: ' + this.params.elq_field_contact_email)
|
|
195
|
+
const email = window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email); //it was elq_field_visitor_email ( V_Email_Address)
|
|
196
|
+
if (email) {
|
|
197
|
+
console.log(`LOOKUP: Found contact email address: ${email}`);
|
|
198
|
+
this.user_elq_email = email.trim();
|
|
199
|
+
this.lookup_contact_by_email();
|
|
200
|
+
this.callback_queue.push(this.handle_contact_lookup.bind(this));
|
|
201
|
+
return true;
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
return false;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
handle_contact_lookup() {
|
|
208
|
+
if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) != '') {
|
|
209
|
+
console.log('LOOKUP: Found contact email address: ' + window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email));
|
|
210
|
+
return true;
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
return false;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
populate_mapped_fields() {
|
|
217
|
+
console.log('MAPPING: Starting field mapping');
|
|
218
|
+
//debugger;
|
|
219
|
+
this.field_mappings.forEach(({ elementId, elqFieldName }) => {
|
|
220
|
+
const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
|
|
221
|
+
if (elementId !== 'contact-country') {
|
|
222
|
+
const element = document.getElementById(elementId);
|
|
223
|
+
console.log('element ID of field mappings: ' + elementId);
|
|
224
|
+
console.log('fieldValue ID of field mappings: ' + fieldValue);
|
|
225
|
+
if (element && fieldValue) {
|
|
226
|
+
element.value = fieldValue;
|
|
227
|
+
//element.style.display = 'none'; // Hide the field.
|
|
228
|
+
if (element.closest('ptc-textfield')) {
|
|
229
|
+
element.closest('ptc-textfield').style.display = 'none';
|
|
230
|
+
element.closest('ptc-textfield').inputValue = fieldValue;
|
|
231
|
+
}
|
|
232
|
+
else if (element.closest('ptc-select')) {
|
|
233
|
+
element.closest('ptc-select').style.display = 'none';
|
|
234
|
+
element.closest("ptc-select").selectedValue = fieldValue;
|
|
235
|
+
}
|
|
236
|
+
this.fields_populated = true;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
else {
|
|
240
|
+
const countryEle = document.getElementById(elementId);
|
|
241
|
+
if (countryEle && fieldValue) {
|
|
242
|
+
countryEle.textContent = fieldValue;
|
|
243
|
+
countryEle.closest("ptc-select").selectedValue = fieldValue;
|
|
244
|
+
}
|
|
245
|
+
// debugger;
|
|
246
|
+
if (countryEle.closest('ptc-select')) {
|
|
247
|
+
countryEle.closest('ptc-select').style.display = 'none';
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
console.log('MAPPING: Finished ');
|
|
252
|
+
if (this.fields_populated) {
|
|
253
|
+
this.update_notme_link();
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
update_user_details() {
|
|
257
|
+
console.log('displaying user info...');
|
|
258
|
+
if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
|
|
259
|
+
document
|
|
260
|
+
.querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
|
|
261
|
+
.forEach((element) => {
|
|
262
|
+
if (element.tagName === 'SPAN') {
|
|
263
|
+
const spanText = element;
|
|
264
|
+
const spanEloquaName = spanText.getAttribute('data-eloqua-name');
|
|
265
|
+
if (spanEloquaName !== null) {
|
|
266
|
+
const spanElqValue = window.GetElqContentPersonalizationValue(spanEloquaName);
|
|
267
|
+
if (spanElqValue !== '' && spanElqValue.length > 0) {
|
|
268
|
+
spanText.textContent = spanElqValue;
|
|
269
|
+
spanText.closest('ptc-select').selectedValue = spanElqValue;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
else if (element.className.includes('intl-tel-input')) {
|
|
274
|
+
const telInput = element;
|
|
275
|
+
const eloquaName = telInput.getAttribute('data-eloqua-name');
|
|
276
|
+
if (eloquaName !== null) {
|
|
277
|
+
const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
|
|
278
|
+
if (elqValue !== '' && elqValue.length > 0) {
|
|
279
|
+
setTimeout(() => {
|
|
280
|
+
telInput.placeholder = elqValue;
|
|
281
|
+
telInput.value = elqValue;
|
|
282
|
+
telInput.closest('ptc-textfield').inputValue = elqValue;
|
|
283
|
+
}, 1000);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
const input = element;
|
|
289
|
+
const eloquaName = input.getAttribute('data-eloqua-name');
|
|
290
|
+
if (eloquaName !== null) {
|
|
291
|
+
const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
|
|
292
|
+
if (elqValue !== '' && elqValue.length > 0) {
|
|
293
|
+
input.value = elqValue;
|
|
294
|
+
input.closest('ptc-textfield').inputValue = elqValue;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
if (this.user_elq_email == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email) != '') {
|
|
301
|
+
this.user_elq_email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
|
|
302
|
+
}
|
|
303
|
+
if (this.user_elq_firstname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname) != '') {
|
|
304
|
+
this.user_elq_firstname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
|
|
305
|
+
}
|
|
306
|
+
if (this.user_elq_lastname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname) != '') {
|
|
307
|
+
this.user_elq_lastname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
update_notme_link() {
|
|
311
|
+
// Assuming the user's first and last name are available from Eloqua fields
|
|
312
|
+
const firstName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
|
|
313
|
+
const lastName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
|
|
314
|
+
const topAdditional = document.getElementById('not-me-additional-top');
|
|
315
|
+
const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
316
|
+
if (topAdditional) {
|
|
317
|
+
let message = topAdditional.innerHTML;
|
|
318
|
+
console.log('first name: ' + firstName);
|
|
319
|
+
if (firstName && lastName) {
|
|
320
|
+
message = message.replace('{name}', lastName + ' ' + firstName);
|
|
321
|
+
}
|
|
322
|
+
else {
|
|
323
|
+
message = this.params.notme_message_noname;
|
|
324
|
+
}
|
|
325
|
+
topAdditional.innerHTML = message;
|
|
326
|
+
topAdditional.style.display = 'block';
|
|
327
|
+
}
|
|
328
|
+
if (bottomAdditional) {
|
|
329
|
+
//bottomAdditional.innerHTML="Click the button below to recieve email confirmation.";
|
|
330
|
+
bottomAdditional.style.display = 'block';
|
|
331
|
+
}
|
|
332
|
+
const notMeLinkElement = document.getElementById(this.params.notme_link_id);
|
|
333
|
+
if (notMeLinkElement) {
|
|
334
|
+
notMeLinkElement.style.display = 'block';
|
|
335
|
+
notMeLinkElement.onclick = this.remove_user_details.bind(this);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
// private init_notme(): void{
|
|
339
|
+
// const topAdditional = document.getElementById('not-me-additional-top');
|
|
340
|
+
// const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
341
|
+
// console.log("top: " + topAdditional)
|
|
342
|
+
// if(topAdditional) topAdditional.style.display = 'none';
|
|
343
|
+
// if(bottomAdditional) bottomAdditional.style.display = 'none';
|
|
344
|
+
// }
|
|
345
|
+
remove_user_details(e) {
|
|
346
|
+
e.preventDefault();
|
|
347
|
+
this.user_elq_email = '';
|
|
348
|
+
this.user_elq_firstname = '';
|
|
349
|
+
this.user_elq_lastname = '';
|
|
350
|
+
// $('.' + this.params.notme_fields_class).val('');
|
|
351
|
+
//const linkDiv = document.getElementById(this.params.notme_link_id);
|
|
352
|
+
const topAdditional = document.getElementById('not-me-additional-top');
|
|
353
|
+
const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
354
|
+
//linkDiv.querySelector('a').remove();
|
|
355
|
+
topAdditional.style.display = 'none';
|
|
356
|
+
bottomAdditional.style.display = 'none';
|
|
357
|
+
this.refreshForm();
|
|
358
|
+
return false;
|
|
359
|
+
}
|
|
360
|
+
refreshForm() {
|
|
361
|
+
this.field_mappings.forEach(({ elementId }) => {
|
|
362
|
+
if (elementId !== 'contact-country') {
|
|
363
|
+
const element = document.getElementById(elementId);
|
|
364
|
+
if (element) {
|
|
365
|
+
console.log('element: ' + element);
|
|
366
|
+
element.value = ''; // Reset the value
|
|
367
|
+
if (element.closest('ptc-textfield')) {
|
|
368
|
+
element.closest('ptc-textfield').style.display = '';
|
|
369
|
+
}
|
|
370
|
+
else if (element.closest('ptc-select')) {
|
|
371
|
+
element.closest('ptc-select').style.display = '';
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
const countryEle = document.getElementById(elementId);
|
|
377
|
+
if (countryEle) {
|
|
378
|
+
countryEle.textContent = '';
|
|
379
|
+
}
|
|
380
|
+
// debugger;
|
|
381
|
+
if (countryEle.closest('ptc-select')) {
|
|
382
|
+
countryEle.closest('ptc-select').style.display = '';
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
this.clearEloquaCookie('elq-uid'); // Optionally clear the Eloqua cookie
|
|
387
|
+
this.fields_populated = false;
|
|
388
|
+
//this.update_notme_link(); // Update the 'Not Me' link if necessary
|
|
389
|
+
}
|
|
390
|
+
clearEloquaCookie(name) {
|
|
391
|
+
document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
|
|
392
|
+
console.log('cookie cleared');
|
|
393
|
+
}
|
|
394
|
+
// Private Method to load Eloqua Scripts
|
|
395
|
+
async_load() {
|
|
396
|
+
const scriptUrl = 'https://img.en25.com/i/elqCfg.min.js';
|
|
397
|
+
const scriptElement = document.createElement('script');
|
|
398
|
+
scriptElement.type = 'text/javascript';
|
|
399
|
+
scriptElement.async = true;
|
|
400
|
+
scriptElement.src = scriptUrl;
|
|
401
|
+
// Error handling for script loading
|
|
402
|
+
scriptElement.onerror = errorEvent => {
|
|
403
|
+
console.log(`Error loading script: ${errorEvent}`);
|
|
404
|
+
};
|
|
405
|
+
// Append the script element to the head of the document, or before the first script tag found
|
|
406
|
+
const firstScriptTag = document.getElementsByTagName('script')[0];
|
|
407
|
+
if (firstScriptTag && firstScriptTag.parentNode) {
|
|
408
|
+
firstScriptTag.parentNode.insertBefore(scriptElement, firstScriptTag);
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
document.head.appendChild(scriptElement);
|
|
412
|
+
}
|
|
413
|
+
console.log(`Async loading of script ${scriptUrl} initiated.`);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
ElqLib._elqQ = window['_elqQ'] || [];
|
|
417
|
+
// Static member initialization
|
|
418
|
+
//ElqLib._elqQ = window['_elqQ'] || [];
|
|
419
|
+
|
|
420
|
+
const ptcDataLookupCss = ":host{display:block}#not-me-link-id{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-03);position:relative}#not-me-link-id a{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;text-decoration-line:underline}.not-me-additional-text{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-regular);line-height:normal;margin-bottom:var(--ptc-element-spacing-03)}.not-me-additional-text#not-me-additional-bottom{margin-bottom:unset;margin-top:var(--ptc-element-spacing-03)}.ptc-embedded-form>div{max-width:273px;overflow-wrap:break-word}.ptc-embedded-form .iti__country-name{color:var(--color-gray-12)}.ptc-embedded-form .iti--separate-dial-code.iti--show-flags .iti__selected-dial-code{color:var(--color-gray-12)}.ptc-embedded-form .mdc-menu-surface--open{z-index:99999}";
|
|
421
|
+
|
|
422
|
+
const PtcDataLookup = class {
|
|
423
|
+
constructor(hostRef) {
|
|
424
|
+
registerInstance(this, hostRef);
|
|
425
|
+
this.elqSiteId = undefined;
|
|
426
|
+
this.elqVisitorLookupKey = undefined;
|
|
427
|
+
this.elqRecipientIdLookupKey = undefined;
|
|
428
|
+
this.elqContactLookupKey = undefined;
|
|
429
|
+
this.elqFieldEmailRecId = 'V_EmailRecipientID';
|
|
430
|
+
this.elqFieldContactEmail = 'C_EmailAddress';
|
|
431
|
+
this.elqFieldVisitorEmail = 'V_Email_Address';
|
|
432
|
+
this.elqFieldVisitorFirstname = 'C_FirstName';
|
|
433
|
+
this.elqFieldVisitorLastname = 'C_LastName';
|
|
434
|
+
this.notmeLinkId = undefined;
|
|
435
|
+
this.notmeFieldsClass = undefined;
|
|
436
|
+
this.notmeMessage = undefined;
|
|
437
|
+
this.notmeMessageNoname = undefined;
|
|
438
|
+
this.isBlindSubmit = true;
|
|
439
|
+
this.isInitialized = false;
|
|
440
|
+
}
|
|
441
|
+
componentWillLoad() {
|
|
442
|
+
this.initializeElqLib();
|
|
443
|
+
if (this.isBlindSubmit) {
|
|
444
|
+
this.populateBlindField();
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
componentDidLoad() {
|
|
448
|
+
this.init_notme();
|
|
449
|
+
}
|
|
450
|
+
initializeElqLib() {
|
|
451
|
+
this.elqLib = new ElqLib({
|
|
452
|
+
elq_site_id: this.elqSiteId,
|
|
453
|
+
elq_visitor_lookup_key: this.elqVisitorLookupKey,
|
|
454
|
+
elq_recipient_id_lookup_key: this.elqRecipientIdLookupKey,
|
|
455
|
+
elq_contact_lookup_key: this.elqContactLookupKey,
|
|
456
|
+
elq_field_email_rec_id: this.elqFieldEmailRecId,
|
|
457
|
+
elq_field_contact_email: this.elqFieldContactEmail,
|
|
458
|
+
elq_field_visitor_email: this.elqFieldVisitorEmail,
|
|
459
|
+
elq_field_visitor_firstname: this.elqFieldVisitorFirstname,
|
|
460
|
+
elq_field_visitor_lastname: this.elqFieldVisitorLastname,
|
|
461
|
+
notme_link_id: this.notmeLinkId,
|
|
462
|
+
notme_fields_class: this.notmeFieldsClass,
|
|
463
|
+
notme_message: this.notmeMessage,
|
|
464
|
+
notme_message_noname: this.notmeMessageNoname,
|
|
465
|
+
});
|
|
466
|
+
this.isInitialized = true;
|
|
467
|
+
}
|
|
468
|
+
populateBlindField() {
|
|
469
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
|
|
470
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-email', elqFieldName: 'C_EmailAddress' });
|
|
471
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-firstname', elqFieldName: 'C_FirstName' });
|
|
472
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-lastname', elqFieldName: 'C_LastName' });
|
|
473
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-country', elqFieldName: 'C_Country' });
|
|
474
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
|
|
475
|
+
this.elqLib.add_field_mapping({ elementId: 'company', elqFieldName: 'C_Company' });
|
|
476
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-state', elqFieldName: 'C_State_Prov' });
|
|
477
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-zipcode', elqFieldName: 'C_Zip_Postal' });
|
|
478
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-job-category', elqFieldName: 'C_Job_Role1' });
|
|
479
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-job-function', elqFieldName: 'C_Job_Function1' });
|
|
480
|
+
this.elqLib.add_field_mapping({ elementId: 'contact-jp-job-title', elqFieldName: 'C_Title' });
|
|
481
|
+
}
|
|
482
|
+
getCookie(name) {
|
|
483
|
+
let cookieValue = null;
|
|
484
|
+
if (document.cookie) {
|
|
485
|
+
const cookies = document.cookie.split(';');
|
|
486
|
+
for (let cookie of cookies) {
|
|
487
|
+
const [key, value] = cookie.trim().split('=');
|
|
488
|
+
if (key === name) {
|
|
489
|
+
cookieValue = decodeURIComponent(value);
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
return cookieValue;
|
|
495
|
+
}
|
|
496
|
+
init_notme() {
|
|
497
|
+
const topAdditional = document.getElementById('not-me-additional-top');
|
|
498
|
+
const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
499
|
+
console.log("top: " + topAdditional);
|
|
500
|
+
if (topAdditional)
|
|
501
|
+
topAdditional.style.display = 'none';
|
|
502
|
+
if (bottomAdditional)
|
|
503
|
+
bottomAdditional.style.display = 'none';
|
|
504
|
+
}
|
|
505
|
+
async performDataLookup() {
|
|
506
|
+
if (this.isInitialized) {
|
|
507
|
+
this.elqLib.user_elq_email = this.getCookie('elq-uid');
|
|
508
|
+
this.elqLib.find_eloqua_contact();
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
render() {
|
|
512
|
+
return h("slot", null);
|
|
513
|
+
}
|
|
514
|
+
get el() { return getElement(this); }
|
|
515
|
+
};
|
|
516
|
+
PtcDataLookup.style = ptcDataLookupCss;
|
|
517
|
+
|
|
518
|
+
export { PtcDataLookup as ptc_data_lookup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcDateCss = ":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcDropdownCss = "@charset \"UTF-8\";:host{display:inline-block;position:relative;color:var(--color-gray-12)}:host label{cursor:pointer}:host .dropdown__header{cursor:pointer;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:var(--color-white);display:flex;align-items:center;align-content:center;border:1px solid var(--color-gray-05);padding:0.1875rem 0.75rem 0.1875rem 0.75rem;border-radius:4px;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);line-height:var(--ptc-line-height-loose);letter-spacing:0em;text-align:left;height:1.5rem}:host .dropdown__header b{font-weight:var(--ptc-font-weight-semibold)}:host .dropdown__header icon-asset{width:1rem;height:1rem;margin-left:0.5rem;margin-top:-0.5rem}:host .dropdown__header:hover{background-color:var(--color-gray-02)}:host .dropdown__list{display:table;border:1px solid rgba(0, 0, 0, 0.24);border-radius:var(--ptc-border-radius-large)}:host ul{display:block;top:0.2rem;margin:0;list-style-type:none;padding-inline-start:0;padding:0.25rem 0.25rem;background-color:var(--color-gray-02);cursor:pointer;position:absolute;z-index:500}@media only screen and (min-width: 992px){:host ul{right:0.2rem}}:host ul li{white-space:nowrap;padding:3px 1rem;font-weight:500}:host ul li.selected:before{content:\"✓\";display:block;position:absolute;left:0.4rem}:host ul li:hover{color:#fff;background-color:#699af8;border-radius:var(--ptc-border-radius-standard)}.ptc-dropdown{position:relative}.ptc-dropdown.support ul{margin:2px 4px 0 0}.ptc-dropdown.support .dropdown__header{transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:transparent;border:none;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);text-align:left;padding:2px 6px}.ptc-dropdown.support .dropdown__header:hover{background-color:var(--color-gray-02)}.ptc-dropdown.support .dropdown__header icon-asset{width:10px;height:10px;margin-left:0.25rem;margin-top:-0.8rem}.ptc-dropdown.support .dropdown__header icon-asset svg{width:9px;height:9px}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
1
|
+
import { r as registerInstance, g as getAssetPath, h, H as Host, a as getElement } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcDynamicCardCss = ":host{display:block}:host(.sequential) .card-wrapper{position:relative;cursor:pointer}:host(.sequential) .card{background-color:var(--color-gray-12);overflow:hidden}:host(.sequential) .card-mobile,:host(.sequential) .card-dt-open{display:block}:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{display:flex;flex-basis:38%;justify-content:flex-start;align-items:center;padding:var(--ptc-element-spacing-06)}@media only screen and (min-width: 1200px){:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{height:unset;flex:0 0 310px}}:host(.sequential) .card-mobile ptc-picture,:host(.sequential) .card-dt-open ptc-picture{flex:1 1 auto}:host(.sequential) .card-mobile .card-title h3,:host(.sequential) .card-dt-open .card-title h3{color:var(--color-white);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal)}@media only screen and (min-width: 768px){:host(.sequential) .card-mobile .card-title h3,:host(.sequential) .card-dt-open .card-title h3{font-size:var(--ptc-font-size-large)}}:host(.sequential) .card-mobile .card-content,:host(.sequential) .card-dt-open .card-content{margin-top:var(--ptc-element-spacing-03)}:host(.sequential) .card-mobile{max-width:320px;min-width:226px;position:relative}@media only screen and (min-width: 480px){:host(.sequential) .card-mobile{max-width:350px}}:host(.sequential) .card-mobile::before{content:\"\";display:block;position:absolute;top:0;left:0;width:100%;height:5px;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-out);background-color:transparent}:host(.sequential) .card-mobile ptc-card-content{align-items:flex-start}:host(.sequential) .card-dt-closed{width:135px;height:424px;position:relative}:host(.sequential) .card-dt-closed .closed-content{position:absolute;width:100%;height:100%;top:0;display:flex;align-items:center;justify-content:center}:host(.sequential) .card-dt-closed .card-title{text-align:center}:host(.sequential) .card-dt-closed .card-title h2{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal);padding-left:var(--ptc-element-spacing-03);padding-right:var(--ptc-element-spacing-03);word-break:break-word;hyphens:auto}@media only screen and (min-width: 1440px){:host(.sequential) .card-dt-closed .card-title h2{font-size:var(--ptc-font-size-small)}}:host(.sequential) .card-dt-open{border-top:5px solid var(--color-green-05);display:flex;max-width:790px;height:480px;transition:width var(--ptc-transition-x-fast) var(--ptc-ease-out)}@media only screen and (min-width: 1440px){:host(.sequential) .card-dt-open{max-width:825px}}:host(.sequential):host(.active) .card-mobile::before{background-color:var(--color-green-05)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcEllipsisDropdownCss = ".ellipsis-icon{box-sizing:border-box;border:1px solid var(--color-gray-08);border-radius:2px;vertical-align:middle;height:18px;width:18px;text-align:center;display:flex;align-items:center;justify-content:center;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.ellipsis-icon:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}.ellipsis-icon icon-asset{display:inline-block}.ellipsis-icon icon-asset svg{margin:0 auto;display:block;width:10px !important;height:10px !important}.ellipsis-icon.active{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ellipsis-icon.active::after{content:\"\";width:32px;height:2px;display:inline-block;background-color:var(--color-green-07);position:absolute;bottom:-11px}@media only screen and (min-width: 1440px){.ellipsis-icon.active::after{bottom:-17px}}.ptc-ellipsis-dropdown{position:relative;display:inline-block;cursor:pointer;padding:2px 0 14px 0;border-bottom:2px solid var(--color-green-07);margin:0 1rem -1px 1rem;box-sizing:border-box}@media only screen and (min-width: 768px){.ptc-ellipsis-dropdown{padding:0px;border-bottom:none;margin:0;height:44px;width:44px;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}}@media only screen and (min-width: 1440px){.ptc-ellipsis-dropdown{height:34px;width:34px}}.ptc-ellipsis-dropdown .mob-drop{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-family:\"Raleway\";font-style:normal;display:flex;align-items:center}.ptc-ellipsis-dropdown .mob-drop svg{display:inline-block;vertical-align:middle;margin:4px 0px 0px 8px;min-width:12px}.dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:auto;left:0;min-width:max-content;width:100%}@media only screen and (min-width: 768px){.dropdown-container{right:0;left:auto;margin-top:48px}}@media only screen and (min-width: 1440px){.dropdown-container{margin-top:45px}}.dropdown-container .selected-drop .dropdown-item span{position:relative;font-weight:var(--ptc-font-weight-bold)}.dropdown-container .selected-drop .dropdown-item span::before{content:\"\";width:2px;height:60%;background:var(--color-green-07);display:block;left:16px;position:absolute;top:20%}.show .dropdown-container{display:inline-block}";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, F as Fragment } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
|
-
const ptcEmbeddedQuizCss = ":host{display:block}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url(\"https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg\");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}";
|
|
3
|
+
const ptcEmbeddedQuizCss = ":host{display:block}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url(\"https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg\");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}::slotted([slot=seo-content]){display:none}";
|
|
4
4
|
|
|
5
5
|
const PtcEmbeddedQuiz = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -87,7 +87,7 @@ const PtcEmbeddedQuiz = class {
|
|
|
87
87
|
default: return null;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
return (h(Host, null, this.quiz && h("div", { class: "quiz-slide-container" }, h("div", { class: "quiz-slide-background" }), getQuizSlide())));
|
|
90
|
+
return (h(Host, null, this.quiz && h("div", { class: "quiz-slide-container" }, h("div", { class: "quiz-slide-background" }), h("slot", { name: "seo-content" }), getQuizSlide())));
|
|
91
91
|
}
|
|
92
92
|
get el() { return getElement(this); }
|
|
93
93
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcFeaturedListCss = "a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-blue-07);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a),.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:not(.hero-footer-form-wrapper a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a):active,.light-links a:not(.hero-footer-form-wrapper a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a):hover,.light-links a:not(.hero-footer-form-wrapper a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block;box-sizing:border-box}:host ptc-background-video{height:240px}@media only screen and (min-width: 480px){:host ptc-background-video{height:320px}}@media only screen and (min-width: 768px){:host ptc-background-video{height:450px}}@media only screen and (min-width: 992px){:host ptc-background-video{height:500px}}:host .fl-header{cursor:pointer}:host .non-mobile-wrapper{box-sizing:border-box}@media only screen and (min-width: 992px){:host .non-mobile-wrapper{margin:-40px auto 0 auto;display:flex;align-items:center;width:100%;background:var(--color-white);box-shadow:var(--ptc-shadow-small);padding:24px 32px;z-index:1;position:relative;min-height:350px}}@media only screen and (min-width: 1200px){:host .non-mobile-wrapper{max-width:1136px}}@media (min-width: 1300px){:host .non-mobile-wrapper{margin:-75px auto 0 auto}}@media only screen and (min-width: 1440px){:host .non-mobile-wrapper{max-width:1200px}}@media only screen and (min-width: 992px){:host .non-mobile-wrapper .header-list-wrap{padding-right:16px;margin-right:64px;min-width:270px;max-width:270px;box-sizing:border-box;display:flex;flex-direction:column;align-items:baseline}:host .non-mobile-wrapper .header-list-wrap::after{content:\"\";width:1px;height:calc(100% - 48px);background-color:var(--color-gray-05);position:absolute;left:297px;top:24px;bottom:24px}}@media only screen and (min-width: 992px){:host .non-mobile-wrapper .content-wrap{padding-right:72px}}:host .non-mobile-wrapper .fl-header{margin:0;padding:12px 0;width:100%}:host .mobile-wrapper .acc-item{border-bottom:1px solid var(--color-gray-03);padding:14px 30px}:host .mobile-wrapper .acc-item fl-tab-header{padding-left:34px;position:relative}:host .mobile-wrapper .acc-item fl-tab-header::before{content:\"\";display:inline-block;width:16px;height:16px;background-image:url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');vertical-align:middle;position:absolute;left:0;top:4.5px}:host .mobile-wrapper .acc-item fl-tab-header.selected::before,:host .mobile-wrapper .acc-item fl-tab-header.init-active::before{background-image:url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>')}:host .mobile-wrapper .acc-item fl-tab-content{padding-left:34px;padding-bottom:18px}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-4025d85a.js';
|
|
2
2
|
|
|
3
3
|
const ptcFilterDropdownCss = ":host{display:block;box-sizing:border-box}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;font-size:16px;color:var(--color-gray-10)}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-05);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;border-radius:4px}:host .dropdown .dropdown-toggle .dropdown-placeholder{display:flex}:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{padding-left:10px;padding-right:5px;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}:host .dropdown .caret{display:inline-block;vertical-align:middle;margin-left:5px}:host .dropdown .dropdown-menu{position:absolute;top:100%;left:0;left:0;border:1px solid var(--color-gray-03);background-color:var(--color-white);overflow-y:auto;width:100%;border-radius:4px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);display:flex;flex-direction:column;margin-top:8px;min-width:278px;overflow:hidden;position:absolute;transition:max-height 0.25s ease-out;z-index:2000;max-height:1000px}:host .dropdown .dropdown-menu .filter-list{padding:24px 24px 16px 24px;margin:0;list-style:none;border-bottom:1px solid var(--color-gray-02)}:host .dropdown .dropdown-menu .filter-btns{display:flex;justify-content:space-between;align-items:center;padding:16px 24px}:host .dropdown .dropdown-menu .filter-btns .clear-btn{cursor:pointer}:host .dropdown .dropdown-menu .filter-btns .clear-btn:hover{text-decoration:underline}:host .dropdown::-webkit-scrollbar{width:5px}:host .dropdown::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .radio-label{margin-bottom:16px;font-size:16px;font-weight:500;cursor:pointer;display:block;font-weight:500;position:relative;user-select:none;line-height:1.5;display:flex;align-items:baseline;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}:host .radio-label input{margin-right:10px}:host .radio-label .checkmark{width:20px;height:20px;background-color:#fff;border:1px solid #1f2024;border-radius:0.4rem;margin-right:8px;position:absolute;left:0;top:0}:host .radio-label .checkmark::after{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"10\" viewBox=\"0 0 14 10\" fill=\"none\"><path d=\"M1.5 4L5.5 8L12.5 1\" stroke=\"white\" stroke-width=\"2\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:75% 100%;content:\"\";height:20px;width:20px;position:absolute;left:0;top:0;display:none}";
|
|
4
4
|
|