@ptcwebops/ptcw-design 6.3.0 → 6.3.1-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/event-jumbotron-example.cjs.entry.js +1745 -0
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/icon-asset_6.cjs.entry.js +347 -0
  5. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  6. package/dist/cjs/list-item.cjs.entry.js +48 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  9. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  11. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  12. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +156 -0
  13. package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
  14. package/dist/cjs/ptc-card_2.cjs.entry.js +8 -4
  15. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +291 -0
  17. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  18. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  20. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
  21. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  22. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-link.cjs.entry.js +87 -0
  24. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  25. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  27. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
  34. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  35. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  36. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  39. package/dist/cjs/ptcw-design.cjs.js +1 -1
  40. package/dist/collection/collection-manifest.json +1 -0
  41. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  42. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  43. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  44. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +0 -5
  45. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  46. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  47. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  48. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  49. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  50. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  51. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +13 -6
  52. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  53. package/dist/collection/components/ptc-modal/ptc-modal.js +60 -2
  54. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  55. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  56. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  57. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +265 -0
  58. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +7 -3
  59. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  60. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  61. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +7 -0
  62. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  63. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  64. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  65. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  66. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  67. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  68. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  69. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  70. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  71. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +1 -1
  72. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  73. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  74. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  75. package/dist/custom-elements/index.d.ts +6 -0
  76. package/dist/custom-elements/index.js +171 -35
  77. package/dist/esm/academic-form-test.entry.js +1 -1
  78. package/dist/esm/author-listing-example.entry.js +1 -1
  79. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  80. package/dist/esm/blog-detail-layout.entry.js +2 -2
  81. package/dist/esm/blogs-search-section.entry.js +2 -2
  82. package/dist/esm/bundle-example.entry.js +1 -1
  83. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  84. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  85. package/dist/esm/dropdown-item.entry.js +1 -1
  86. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  87. package/dist/esm/embedded-form.entry.js +1 -1
  88. package/dist/esm/event-jumbotron-example.entry.js +1741 -0
  89. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  90. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  91. package/dist/esm/featured-list.entry.js +2 -2
  92. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  93. package/dist/esm/footer-form.entry.js +1 -1
  94. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  95. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  96. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  97. package/dist/esm/icon-asset_6.entry.js +338 -0
  98. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  99. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  100. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  101. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  102. package/dist/esm/list-item.entry.js +44 -0
  103. package/dist/esm/loader.js +3 -3
  104. package/dist/esm/max-width-container.entry.js +1 -1
  105. package/dist/esm/modal-form-example.entry.js +90 -0
  106. package/dist/esm/most-popular-news.entry.js +2 -2
  107. package/dist/esm/my-component.entry.js +2 -2
  108. package/dist/esm/news-search-result.entry.js +1 -1
  109. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  110. package/dist/esm/ptc-accordion.entry.js +1 -1
  111. package/dist/esm/ptc-announcement.entry.js +1 -1
  112. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  113. package/dist/esm/ptc-background-video.entry.js +2 -2
  114. package/dist/esm/ptc-badge.entry.js +1 -1
  115. package/dist/esm/ptc-bio-card.entry.js +2 -2
  116. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  117. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  118. package/dist/esm/ptc-button.entry.js +83 -0
  119. package/dist/esm/ptc-card-bottom_2.entry.js +151 -0
  120. package/dist/esm/ptc-card-content.entry.js +72 -0
  121. package/dist/esm/ptc-card_2.entry.js +9 -5
  122. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  123. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  124. package/dist/esm/ptc-checkbox.entry.js +1 -1
  125. package/dist/esm/ptc-close-icon_2.entry.js +286 -0
  126. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  127. package/dist/esm/ptc-container.entry.js +1 -1
  128. package/dist/esm/ptc-countdown.entry.js +1 -1
  129. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  130. package/dist/esm/ptc-date.entry.js +1 -1
  131. package/dist/esm/ptc-dropdown.entry.js +1 -1
  132. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  133. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  134. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  135. package/dist/esm/ptc-featured-list.entry.js +2 -2
  136. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  137. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  138. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  139. package/dist/esm/ptc-footer.entry.js +1 -1
  140. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +786 -6
  141. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  142. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  143. package/dist/esm/ptc-form.entry.js +1 -1
  144. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  145. package/dist/esm/ptc-hero.entry.js +1 -1
  146. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  147. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  148. package/dist/esm/ptc-icon-card.entry.js +2 -2
  149. package/dist/esm/ptc-icon-component.entry.js +1 -1
  150. package/dist/esm/ptc-icon-list.entry.js +1 -1
  151. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  152. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  153. package/dist/esm/ptc-img.entry.js +129 -0
  154. package/dist/esm/ptc-info-tile.entry.js +1 -1
  155. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  156. package/dist/esm/ptc-jumbotron.entry.js +2 -2
  157. package/dist/esm/ptc-link.entry.js +83 -0
  158. package/dist/esm/ptc-list.entry.js +1 -1
  159. package/dist/esm/ptc-media-card.entry.js +2 -2
  160. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  161. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  162. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  163. package/dist/esm/ptc-nav-card.entry.js +1 -1
  164. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  165. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  166. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  167. package/dist/esm/ptc-news.entry.js +1 -1
  168. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  169. package/dist/esm/ptc-office-locations.entry.js +1 -1
  170. package/dist/esm/ptc-overlay.entry.js +1 -1
  171. package/dist/esm/ptc-para.entry.js +123 -0
  172. package/dist/esm/ptc-picture.entry.js +1 -1
  173. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  174. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  175. package/dist/esm/ptc-previous-url.entry.js +11 -3
  176. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  177. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  178. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  179. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  180. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  181. package/dist/esm/ptc-product-card.entry.js +2 -2
  182. package/dist/esm/ptc-product-category.entry.js +2 -2
  183. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  184. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  185. package/dist/esm/ptc-product-list.entry.js +1 -1
  186. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  187. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  188. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  189. package/dist/esm/ptc-quote.entry.js +1 -1
  190. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  191. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  192. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  193. package/dist/esm/ptc-readmore.entry.js +1 -1
  194. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  195. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  196. package/dist/esm/ptc-scroll-button.entry.js +132 -0
  197. package/dist/esm/ptc-search-field.entry.js +1 -1
  198. package/dist/esm/ptc-seo-title.entry.js +1 -1
  199. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  200. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  201. package/dist/esm/ptc-skeleton.entry.js +1 -1
  202. package/dist/esm/ptc-slit-card.entry.js +1 -1
  203. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  204. package/dist/esm/ptc-social-icons.entry.js +1 -1
  205. package/dist/esm/ptc-spacer.entry.js +34 -0
  206. package/dist/esm/ptc-span.entry.js +1 -1
  207. package/dist/esm/ptc-square-card.entry.js +1 -1
  208. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  209. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  210. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  211. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  212. package/dist/esm/ptc-tab-list.entry.js +1 -1
  213. package/dist/esm/ptc-tab.entry.js +1 -1
  214. package/dist/esm/ptc-tabs.entry.js +1 -1
  215. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  216. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  217. package/dist/esm/ptc-title.entry.js +148 -0
  218. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  219. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  220. package/dist/esm/ptc-tooltip.entry.js +1 -1
  221. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  222. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  223. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  224. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  225. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  226. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  227. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  228. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  229. package/dist/esm/ptc-video-embed.entry.js +1 -1
  230. package/dist/esm/ptc-white-paper.entry.js +2 -2
  231. package/dist/esm/ptcw-design.js +3 -3
  232. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  233. package/dist/esm/sequential-bundle.entry.js +1 -1
  234. package/dist/esm/tab-content.entry.js +1 -1
  235. package/dist/esm/tab-header.entry.js +1 -1
  236. package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
  237. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  238. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  239. package/dist/ptcw-design/p-05b950aa.entry.js +1 -0
  240. package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
  241. package/dist/ptcw-design/p-094f5dec.entry.js +1 -0
  242. package/dist/ptcw-design/{p-a412ff0a.entry.js → p-09def480.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-0cc79610.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  249. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  250. package/dist/ptcw-design/p-130e2278.entry.js +1 -0
  251. package/dist/ptcw-design/{p-04ff81ef.entry.js → p-135191ce.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-e4000363.entry.js → p-14565e90.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-8521fdd4.entry.js → p-1948b914.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-99daf693.entry.js → p-1acd3617.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-d3ac3758.entry.js → p-1b2ff400.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  261. package/dist/ptcw-design/p-1e85cb97.entry.js +1 -0
  262. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  264. package/dist/ptcw-design/p-202b0d92.entry.js +1 -0
  265. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  266. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  267. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  269. package/dist/ptcw-design/p-29223a86.entry.js +1 -0
  270. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  271. package/dist/ptcw-design/p-29ae44dd.entry.js +1 -0
  272. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-a791c53a.entry.js → p-2b583ae1.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  275. package/dist/ptcw-design/p-31e03c00.entry.js +1 -0
  276. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  277. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  278. package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-d089dc37.entry.js → p-38a1425c.entry.js} +1 -1
  281. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  282. package/dist/ptcw-design/p-3964837c.entry.js +11 -0
  283. package/dist/ptcw-design/p-39ec04d4.entry.js +1 -0
  284. package/dist/ptcw-design/p-3ada2482.entry.js +1 -0
  285. package/dist/ptcw-design/p-3ae14b03.entry.js +1 -0
  286. package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-18ac526f.entry.js → p-485cb0c8.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  295. package/dist/ptcw-design/p-4e8c87e1.entry.js +1 -0
  296. package/dist/ptcw-design/p-50582650.entry.js +1 -0
  297. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  298. package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-5429a6c0.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-808ec62a.entry.js → p-610b5620.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  304. package/dist/ptcw-design/p-67a32576.entry.js +1 -0
  305. package/dist/ptcw-design/{p-1b257420.entry.js → p-685f2375.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-7a9611b4.entry.js → p-6a561285.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-9f194554.entry.js → p-6dc78042.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-b209c116.entry.js → p-6f8858c3.entry.js} +1 -1
  310. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  311. package/dist/ptcw-design/{p-8e8c7a3a.entry.js → p-73e5243f.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-d74ccb19.entry.js → p-75d8b6ec.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
  317. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-3738a01f.entry.js → p-794eebdb.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  326. package/dist/ptcw-design/p-815a1a62.entry.js +1 -0
  327. package/dist/ptcw-design/{p-da82dc93.entry.js → p-81700a7e.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
  329. package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
  330. package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-8b37d3ac.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  333. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  334. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  335. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  336. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  337. package/dist/ptcw-design/{p-c95f423e.entry.js → p-9b354870.entry.js} +1 -1
  338. package/dist/ptcw-design/p-9be9f585.entry.js +1 -0
  339. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-9d386f08.entry.js} +1 -1
  341. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  342. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  344. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-38b782e8.entry.js → p-a4c78993.entry.js} +1 -1
  346. package/dist/ptcw-design/p-a7e67938.entry.js +1 -0
  347. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  348. package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  351. package/dist/ptcw-design/p-b10baf43.entry.js +1 -0
  352. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-e0b873d0.entry.js → p-b4015d90.entry.js} +1 -1
  355. package/dist/ptcw-design/p-b4f05597.entry.js +1 -0
  356. package/dist/ptcw-design/p-b789c2ee.entry.js +1 -0
  357. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  358. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  359. package/dist/ptcw-design/p-beb29540.entry.js +1 -0
  360. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
  366. package/dist/ptcw-design/p-c73eb535.entry.js +1 -0
  367. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  368. package/dist/ptcw-design/p-caac157f.entry.js +1 -0
  369. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  370. package/dist/ptcw-design/p-cadbf4a0.entry.js +1 -0
  371. package/dist/ptcw-design/{p-6d3326da.entry.js → p-cbc6661e.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  374. package/dist/ptcw-design/{p-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
  375. package/dist/ptcw-design/{p-eddadb5a.entry.js → p-d2523dce.entry.js} +1 -1
  376. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  377. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  378. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  381. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  384. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  385. package/dist/ptcw-design/{p-a5c2584e.entry.js → p-eafe37b0.entry.js} +1 -1
  386. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  387. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  388. package/dist/ptcw-design/p-ed71521c.entry.js +1 -0
  389. package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
  390. package/dist/ptcw-design/p-ef55ab3c.entry.js +1 -0
  391. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  392. package/dist/ptcw-design/p-f26707a6.entry.js +68 -0
  393. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  394. package/dist/ptcw-design/p-f983f6cc.entry.js +1 -0
  395. package/dist/ptcw-design/p-ffd5c822.entry.js +1 -0
  396. package/dist/ptcw-design/ptcw-design.css +2 -2
  397. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  398. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  399. package/dist/types/components/ptc-modal/ptc-modal.d.ts +8 -1
  400. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  401. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  402. package/dist/types/components.d.ts +21 -4
  403. package/package.json +1 -1
  404. package/readme.md +5 -1
  405. package/dist/cjs/component-5b5b6a98.js +0 -1819
  406. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -3012
  407. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
  408. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  409. package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
  410. package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -106
  411. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -51
  412. package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
  413. package/dist/cjs/ptc-subnav.cjs.entry.js +0 -37
  414. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  415. package/dist/esm/component-341e4eaa.js +0 -1802
  416. package/dist/esm/event-jumbotron-example_15.entry.js +0 -2994
  417. package/dist/esm/ptc-card-bottom.entry.js +0 -63
  418. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  419. package/dist/esm/ptc-nav-link.entry.js +0 -44
  420. package/dist/esm/ptc-nav-slider.entry.js +0 -102
  421. package/dist/esm/ptc-nav-submenu.entry.js +0 -47
  422. package/dist/esm/ptc-sticky-section.entry.js +0 -66
  423. package/dist/esm/ptc-subnav.entry.js +0 -33
  424. package/dist/esm/validation-messages-adbb6518.js +0 -124
  425. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  426. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  427. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  428. package/dist/ptcw-design/p-18a5a338.js +0 -1
  429. package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
  430. package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
  431. package/dist/ptcw-design/p-2c6fc745.entry.js +0 -1
  432. package/dist/ptcw-design/p-36007a57.entry.js +0 -1
  433. package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
  434. package/dist/ptcw-design/p-4a7505ba.entry.js +0 -1
  435. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  436. package/dist/ptcw-design/p-51a45b13.entry.js +0 -1
  437. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  438. package/dist/ptcw-design/p-6e921844.entry.js +0 -11
  439. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  440. package/dist/ptcw-design/p-77cad16c.entry.js +0 -1
  441. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  442. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  443. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  444. package/dist/ptcw-design/p-9df7489b.entry.js +0 -1
  445. package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
  446. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  447. package/dist/ptcw-design/p-a54c6da5.entry.js +0 -1
  448. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  449. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  450. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  451. package/dist/ptcw-design/p-ae970a60.entry.js +0 -1
  452. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  453. package/dist/ptcw-design/p-be533f0d.js +0 -134
  454. package/dist/ptcw-design/p-bee09dd0.entry.js +0 -1
  455. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  456. package/dist/ptcw-design/p-c66b8926.entry.js +0 -1
  457. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  458. package/dist/ptcw-design/p-cfa6996d.entry.js +0 -68
  459. package/dist/ptcw-design/p-d10cb999.entry.js +0 -1
  460. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  461. package/dist/ptcw-design/p-d2f37084.entry.js +0 -1
  462. package/dist/ptcw-design/p-f5c97ab2.entry.js +0 -1
  463. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  464. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,a}from"./p-944c5be8.js";import{s as n}from"./p-77b1221e.js";const o=class{constructor(i){t(this,i),this.fontSize="x-small",this.fontWeight="w-4",this.paraStyle="default",this.paraColor="primary-grey",this.paraLineH="line-height-normal",this.paraMargin=void 0,this.paraAlign=void 0,this.ellipsisLineCutoff=void 0,this.paraZIndex=void 0,this.styles=void 0,this.seoCompatibilityMode=!1,this.tooltipZIndex="auto",this.tooltipPosition="bottom",this.tooltipTheme="standard",this.enableTooltip=!1,this.maxChars=void 0,this.maxLines=void 0,this.hideTooltipOnMobile=!1,this.ismob=void 0,this.noOverflow=!1,this.tooltipWidth="default"}render(){return this.seoCompatibilityMode&&n(this.el),this.standardRender()}getSortedText(t){if(!this.enableTooltip)return;const i=t.trim();return i.length>this.maxChars&&!this.maxLines?`${i.slice(0,this.maxChars).trimEnd()} …`:i}componentDidLoad(){if(this.hideTooltipOnMobile&&this.el.classList.add("hide-tooltip-on-mobile"),this.el.addEventListener("mouseenter",(()=>{this.toggleTitleTooltip(!0)})),this.el.addEventListener("mouseleave",(()=>{this.toggleTitleTooltip(!1)})),this.enableTooltip){let t=this.el.innerText||this.el.textContent;this.tooltipText=t.trim(),this.el.innerText=this.getSortedText(t)}}toggleTitleTooltip(t){const i="tooltip-box",e=this.el.querySelector(`.${i}`),a=this.el.shadowRoot.querySelectorAll(".line-clamp-title");let n=!1;if(a&&a.forEach((t=>{n=t.scrollHeight>t.clientHeight})),t&&this.enableTooltip){if((!e&&this.maxChars&&this.tooltipText.length>this.maxChars&&!this.maxLines||!e&&this.maxLines&&n)&&!this.noOverflow){const t=document.createElement("div");t.className=i,t.innerText=this.tooltipText,t.style.zIndex=String(this.tooltipZIndex),t.classList.add(this.tooltipPosition,this.tooltipTheme,this.tooltipWidth),this.hideTooltipOnMobile&&t.classList.add("hide-tooltip-mobile"),this.el.appendChild(t)}}else null==e||e.remove()}standardRender(){const t=this.getCssClassMap(),a=this.addWhiteClass(),n=this.getLineCuttoff();return i(e,{class:`${a} ${this.paraZIndex} trunc-text`},this.styles&&i("style",null,this.styles),i("p",{class:t,part:"part-para",style:n},i("slot",null)))}getCssClassMap(){return{[this.fontSize]:!0,[this.fontWeight]:!0,[this.paraStyle]:!0,[this.paraMargin]:!!this.paraMargin,[this.paraColor]:!0,[this.paraLineH]:!0,[this.paraAlign]:!!this.paraAlign,"ellipsis-boxing":this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0,"line-clamp-title":this.maxLines&&this.maxLines>0}}addWhiteClass(){if("white"==this.paraColor)return{[this.paraColor]:!0}}getLineCuttoff(){const t=this.ellipsisLineCutoff>0?this.ellipsisLineCutoff:this.maxLines;return t>0?{"-webkit-line-clamp":`${t}`}:{}}get el(){return a(this)}};o.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.primary-green{color:var(--color-green-06)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";export{o as ptc_para}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-ac75c7ad.js";const n=class{constructor(e){t(this,e),this.spanStyle="tag-style",this.display="inline",this.fontWeight="w-4",this.styles=void 0}render(){const t=this.getCssClassMap();return e(i,{class:t},this.styles&&e("style",null,this.styles),e("span",{part:"part-ptc-span"},e("slot",null)))}getCssClassMap(){return{[this.spanStyle]:!0,[this.fontWeight]:!0,[this.display]:!0}}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:var(--color-gray-03);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-06);font-size:var(--ptc-font-size-small);padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.plm-hub-style-smaller) span{font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-semibold);color:var(--color-white)}:host(.three-column-report) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-densest)}:host(.blog-tag) span{font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);color:var(--color-gray-10)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-gray-10)}:host(.w-3) span{font-weight:var(--ptc-font-weight-thin)}:host(.w-4) span{font-weight:var(--ptc-font-weight-regular)}:host(.w-5) span{font-weight:var(--ptc-font-weight-medium)}:host(.w-6) span{font-weight:var(--ptc-font-weight-semibold)}:host(.w-7) span{font-weight:var(--ptc-font-weight-bold)}:host(.w-8) span{font-weight:var(--ptc-font-weight-extrabold)}:host(.w-9) span{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 360px){:host(.three-column-report) span{font-size:var(--ptc-font-size-large);line-height:var(--ptc-line-height-densest)}}@media only screen and (min-width: 480px){:host(.three-column-report) span{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest)}}@media only screen and (min-width: 768px){:host(.three-column-report) span{font-size:var(--ptc-font-size-xx-large);line-height:var(--ptc-line-height-densest)}}";export{n as ptc_span}
1
+ import{r as t,h as e,H as i}from"./p-944c5be8.js";const n=class{constructor(e){t(this,e),this.spanStyle="tag-style",this.display="inline",this.fontWeight="w-4",this.styles=void 0}render(){const t=this.getCssClassMap();return e(i,{class:t},this.styles&&e("style",null,this.styles),e("span",{part:"part-ptc-span"},e("slot",null)))}getCssClassMap(){return{[this.spanStyle]:!0,[this.fontWeight]:!0,[this.display]:!0}}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:var(--color-gray-03);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-06);font-size:var(--ptc-font-size-small);padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.plm-hub-style-smaller) span{font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-semibold);color:var(--color-white)}:host(.three-column-report) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-densest)}:host(.blog-tag) span{font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);color:var(--color-gray-10)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-gray-10)}:host(.w-3) span{font-weight:var(--ptc-font-weight-thin)}:host(.w-4) span{font-weight:var(--ptc-font-weight-regular)}:host(.w-5) span{font-weight:var(--ptc-font-weight-medium)}:host(.w-6) span{font-weight:var(--ptc-font-weight-semibold)}:host(.w-7) span{font-weight:var(--ptc-font-weight-bold)}:host(.w-8) span{font-weight:var(--ptc-font-weight-extrabold)}:host(.w-9) span{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 360px){:host(.three-column-report) span{font-size:var(--ptc-font-size-large);line-height:var(--ptc-line-height-densest)}}@media only screen and (min-width: 480px){:host(.three-column-report) span{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest)}}@media only screen and (min-width: 768px){:host(.three-column-report) span{font-size:var(--ptc-font-size-xx-large);line-height:var(--ptc-line-height-densest)}}";export{n as ptc_span}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-ac75c7ad.js";const s=class{constructor(e){t(this,e),this.listType="simple-icon-list",this.valueWithUnit="",this.valueText="",this.listContent="",this.isLastItem=!1}render(){const t=this.getCssClassMap();return e(i,{class:t},"stat-icon-list"==this.listType?e("div",{class:"ptc-icon-list"},e("slot",{name:"icon"}),e("div",{class:"ptc-numbered-values"},e("span",{class:"value-text"},this.valueText," "),e("span",{class:"ptc-numbered-subtitle"},this.valueWithUnit)),e("p",{class:"ptc-content"},"-  ",this.listContent)):e("div",{class:"ptc-icon-list"},e("slot",{name:"icon"}),e("p",{class:"ptc-content-simple"},this.listContent,!this.listContent&&e("slot",null))))}getCssClassMap(){return{[this.listType]:!!this.listType,"last-item":!!this.isLastItem}}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;padding-bottom:var(--ptc-element-spacing-03)}:host .ptc-icon-list{display:flex;align-items:center}:host .ptc-icon-list .value-text{font-size:var(--ptc-font-size-small);white-space:nowrap}:host .ptc-icon-list .ptc-numbered-values{margin-left:var(--ptc-element-spacing-03);font-family:var(--ptc-font-secondary-latin);white-space:nowrap}:host .ptc-icon-list .ptc-numbered-subtitle{margin:0;font-size:var(--ptc-font-size-medium);font-family:var(--ptc-font-secondary-latin)}@media only screen and (min-width: 992px){:host .ptc-icon-list .ptc-numbered-subtitle{font-size:var(--ptc-font-size-large)}}:host .ptc-icon-list .ptc-content{font-family:var(--ptc-font-secondary-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);margin:0 0 0 var(--ptc-element-spacing-03);line-height:var(--ptc-line-height-densest)}:host .ptc-icon-list .ptc-content-simple{margin:0 0 0 var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-small);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);line-height:var(--ptc-line-height-densest)}:host ::slotted(icon-asset){display:flex;align-self:center}:host ::slotted(ptc-picture){min-width:24px}:host(.icon-top-align-list) ::slotted(icon-asset){display:flex;align-self:flex-start;transform:translateY(40%)}:host(.last-item){margin-bottom:var(--ptc-layout-spacing-03)}";export{s as ptc_icon_list}
1
+ import{r as t,h as e,H as i}from"./p-944c5be8.js";const s=class{constructor(e){t(this,e),this.listType="simple-icon-list",this.valueWithUnit="",this.valueText="",this.listContent="",this.isLastItem=!1}render(){const t=this.getCssClassMap();return e(i,{class:t},"stat-icon-list"==this.listType?e("div",{class:"ptc-icon-list"},e("slot",{name:"icon"}),e("div",{class:"ptc-numbered-values"},e("span",{class:"value-text"},this.valueText," "),e("span",{class:"ptc-numbered-subtitle"},this.valueWithUnit)),e("p",{class:"ptc-content"},"-  ",this.listContent)):e("div",{class:"ptc-icon-list"},e("slot",{name:"icon"}),e("p",{class:"ptc-content-simple"},this.listContent,!this.listContent&&e("slot",null))))}getCssClassMap(){return{[this.listType]:!!this.listType,"last-item":!!this.isLastItem}}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;padding-bottom:var(--ptc-element-spacing-03)}:host .ptc-icon-list{display:flex;align-items:center}:host .ptc-icon-list .value-text{font-size:var(--ptc-font-size-small);white-space:nowrap}:host .ptc-icon-list .ptc-numbered-values{margin-left:var(--ptc-element-spacing-03);font-family:var(--ptc-font-secondary-latin);white-space:nowrap}:host .ptc-icon-list .ptc-numbered-subtitle{margin:0;font-size:var(--ptc-font-size-medium);font-family:var(--ptc-font-secondary-latin)}@media only screen and (min-width: 992px){:host .ptc-icon-list .ptc-numbered-subtitle{font-size:var(--ptc-font-size-large)}}:host .ptc-icon-list .ptc-content{font-family:var(--ptc-font-secondary-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);margin:0 0 0 var(--ptc-element-spacing-03);line-height:var(--ptc-line-height-densest)}:host .ptc-icon-list .ptc-content-simple{margin:0 0 0 var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-small);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);line-height:var(--ptc-line-height-densest)}:host ::slotted(icon-asset){display:flex;align-self:center}:host ::slotted(ptc-picture){min-width:24px}:host(.icon-top-align-list) ::slotted(icon-asset){display:flex;align-self:flex-start;transform:translateY(40%)}:host(.last-item){margin-bottom:var(--ptc-layout-spacing-03)}";export{s as ptc_icon_list}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as a,g as n}from"./p-ac75c7ad.js";const s=class{constructor(i){t(this,i),this.tabChange=e(this,"tabChange",7),this.escClicked=e(this,"escClicked",7),this.type=void 0,this.isMobile=void 0,this.isMobileTabWithBanner=void 0,this.selectedValue=void 0,this.dropdownItemsCount=0}closeDropdown(){this.escClicked.emit()}componentWillLoad(){this.isMobile=window.innerWidth<768,this.isMobileTabWithBanner=window.innerWidth<992||screen.width<992}componentDidLoad(){this.createGroup(),this.calculateHeaderTabsRendering(),this.ellipsisDropdown=this.host.querySelector("ptc-ellipsis-dropdown"),this.ellipsisDropdown.addEventListener("keydown",this.onKeydown.bind(this));const t=Array.from(this.host.querySelectorAll("tab-header"));t.forEach(((e,i)=>{t.length-this.dropdownItemsCount==i+1&&(this.lastVisibleTab=e)}))}onSelectedTab(t){let e=this;this.tabGroup.forEach((i=>{t.detail.then((t=>{i.header.name===t.name?(e.selectGroup(i),i.header.el.setAttribute("tabindex","0"),i.header.el.focus()):i.header.el.setAttribute("tabindex","-1")}))}))}calculateHeaderTabsRendering(){let t=this.host.querySelector(".tabs-header"),e=this.host.querySelector(".ellipsis-btn"),i=t.children,a=!1,n=[];this.isMobile=window.innerWidth<768,this.isMobileTabWithBanner=window.innerWidth<992||screen.width<992,t.classList.remove("active");for(let t=0;t<i.length;t++)i[t].style.removeProperty("display");for(let e=i.length-1;e>=0;e--){let s=i[e],h=s.getAttribute("name")===this.selectedValue;if(this.isMobile&&"tab-with-banner"!=this.type||this.isMobileTabWithBanner&&"tab-with-banner"===this.type){let e=s.querySelector(".text-cont").textContent;t.style.display="none",a=!0,n.push({value:s.getAttribute("name"),text:e,isSelected:h})}else if(t.style.display="flex",t.scrollWidth>t.clientWidth){s.style.display="none";let t=s.querySelector(".text-cont").textContent;a=!0,n.push({value:s.getAttribute("name"),text:t,isSelected:h})}}t.classList.add("active"),a?(e.classList.add("active"),e.dataItems=n.reverse(),this.dropdownItemsCount=e.dataItems.length):(e.classList.remove("active"),e.dataItems=[])}createGroup(){let t=this,e=!1,i=!1,a=0,n=0,s=[],h=[];const o=Array.from(this.host.querySelectorAll("tab-header"));this.tabsHeader=o.map((t=>t.getChild().then((i=>{a++,a===o.length&&(e=!0),s.push(Object.assign(Object.assign({},i),{el:t}))})))),this.tabsHeader=s;const l=Array.from(this.host.querySelectorAll("tab-content"));this.tabsContent=l.map((t=>t.getChild().then((t=>{n++,n===l.length&&(i=!0),h.push(t)})))),this.tabsContent=h;let r=setInterval((()=>{e&&i&&(clearInterval(r),t.tabGroup=t.tabsHeader.map((e=>{const i=t.tabsContent.find((t=>t.name===e.name));return{header:e,content:i}})),t.selectGroup(t.tabGroup[0]))}),3100);o.forEach(((t,e)=>{t.setAttribute("id","tab-"+(e+1)),t.setAttribute("role","tab"),t.setAttribute("aria-selected",0===e?"true":"false"),t.setAttribute("tabindex",0===e?"0":"-1"),t.setAttribute("aria-controls","tab-panel-"+(e+1)),t.addEventListener("keydown",this.onKeydown.bind(this)),this.firstTab||(this.firstTab=t),this.lastTab=t})),l.forEach(((t,e)=>{t.setAttribute("id","tabpanel-"+(e+1)),t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby","tab-"+(e+1))}))}moveFocusToTab(t){t.focus()}moveFocusToPreviousTab(t){if(t===this.firstTab||t==this.ellipsisDropdown)this.ellipsisDropdown.setAttribute("tabindex","-1"),0==this.dropdownItemsCount?this.moveFocusToTab(this.lastTab):t==this.ellipsisDropdown?this.moveFocusToTab(this.lastVisibleTab):(this.ellipsisDropdown.setAttribute("tabindex","0"),this.ellipsisDropdown.focus());else{const e=this.tabsHeader.findIndex((e=>e.el===t));this.moveFocusToTab(this.tabsHeader[e-1].el)}}moveFocusToNextTab(t){if(this.ellipsisDropdown.setAttribute("tabindex","-1"),t===this.lastTab||t===this.lastVisibleTab)0==this.dropdownItemsCount?this.moveFocusToTab(this.firstTab):(this.ellipsisDropdown.setAttribute("tabindex","0"),this.ellipsisDropdown.focus());else{const e=this.tabsHeader.findIndex((e=>e.el===t));this.moveFocusToTab(this.tabsHeader[e+1].el)}}onKeydown(t){const e=t.currentTarget;let i=!1;switch(t.key){case"ArrowLeft":this.moveFocusToPreviousTab(e),i=!0;break;case"ArrowRight":this.moveFocusToNextTab(e),i=!0;break;case"Escape":this.closeDropdown(),i=!0}i&&(t.stopPropagation(),t.preventDefault())}async toggleTabGroup(t){let e=this;this.tabGroup.forEach((i=>{i.header.name===t&&e.selectGroup(i)}))}selectGroup(t){this.tabGroup.forEach((t=>{t.header.unselect(),t.content.unselect()})),t.header.select(),t.content.select(),this.selectedValue=t.header.name,this.calculateHeaderTabsRendering(),this.tabChange.emit({value:t.header.text,sender:t.header})}onDropdownItemSelected(t){if(t){let e=this.tabGroup.find((e=>e.header.name==t.value));e&&this.selectGroup(e)}}render(){return i(a,{class:this.type},i("div",{class:"tabs-header-container"},i("div",{class:"tabs-header"},i("slot",{name:"header"})),i("ptc-ellipsis-dropdown",{"dropdown-type":this.type,class:"tab-with-banner"==this.type?"ellipsis-btn tab-with-banner":"ellipsis-btn default",onItemSelected:t=>{this.onDropdownItemSelected(t.detail)}})),i("div",{class:"tabs-content"},i("slot",{name:"content"})))}get host(){return n(this)}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}ptc-tab-list{display:block;position:relative;color:var(--color-gray-12)}ptc-tab-list.tab-with-banner{background-color:var(--color-white);padding:24px 16px 16px 16px;border-radius:4px}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner{padding:24px}}ptc-tab-list.tab-with-banner .tabs-content{padding:16px 0 0 0}ptc-tab-list.tab-with-banner .tabs-content p:not(video-js p),ptc-tab-list.tab-with-banner .tabs-content span:not(video-js span),ptc-tab-list.tab-with-banner .tabs-content h1:not(video-js h1),ptc-tab-list.tab-with-banner .tabs-content h2:not(video-js h2),ptc-tab-list.tab-with-banner .tabs-content h3:not(video-js h3),ptc-tab-list.tab-with-banner .tabs-content h4:not(video-js h4),ptc-tab-list.tab-with-banner .tabs-content h5:not(video-js h5),ptc-tab-list.tab-with-banner .tabs-content h6:not(video-js h6),ptc-tab-list.tab-with-banner .tabs-content ul:not(video-js ul),ptc-tab-list.tab-with-banner .tabs-content li:not(video-js li),ptc-tab-list.tab-with-banner .tabs-content table:not(video-js table){color:var(--color-gray-12)}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tabs-content{padding:24px 0 0 0}}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tabs-header{align-items:stretch;padding-left:0rem;width:calc(100% - 44px);display:flex;justify-content:space-between;align-items:center;flex-direction:row;padding-right:0}ptc-tab-list.tab-with-banner tab-header{padding:0 16px;display:flex;align-items:center;flex:1 0 0;align-self:stretch;text-align:center;flex-direction:column;align-items:center}}ptc-tab-list.tab-with-banner .tab-header{padding:0 0 1rem 0}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tab-header{min-width:200px;white-space:normal;height:100%;align-content:center;transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}ptc-tab-list.tab-with-banner .tab-header:hover{color:var(--color-gray-10)}}@media (min-width: 1080px){ptc-tab-list.tab-with-banner .tab-header{min-width:230px}}@media only screen and (min-width: 1200px){ptc-tab-list.tab-with-banner .tab-header{min-width:200px}}@media only screen and (min-width: 1440px){ptc-tab-list.tab-with-banner .tab-header{min-width:175px}}ptc-tab-list.tab-with-banner .tabs-header-container{display:flex}.tabs-header-container{width:100%;border-bottom:2px solid var(--color-gray-02);position:relative}.tabs-header{display:flex;padding-left:1.5rem;padding-right:1.5rem;transition:opacity ease-out 250ms;opacity:0;width:90%}.tabs-header.active{opacity:1}.tabs-content{padding:40px 28px 28px;min-height:300px}.ellipsis-btn{display:none}@media only screen and (min-width: 768px){.ellipsis-btn.default{position:absolute;top:auto;right:0;bottom:9px}}@media only screen and (min-width: 1440px){.ellipsis-btn.default{bottom:15px}}@media only screen and (min-width: 1440px){.ellipsis-btn{bottom:15px}}.ellipsis-btn.active{display:inline-block}.ellipsis-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}tab-header{padding-right:48px}";export{s as ptc_tab_list}
1
+ import{r as t,c as e,h as i,H as a,a as n}from"./p-944c5be8.js";const s=class{constructor(i){t(this,i),this.tabChange=e(this,"tabChange",7),this.escClicked=e(this,"escClicked",7),this.type=void 0,this.isMobile=void 0,this.isMobileTabWithBanner=void 0,this.selectedValue=void 0,this.dropdownItemsCount=0}closeDropdown(){this.escClicked.emit()}componentWillLoad(){this.isMobile=window.innerWidth<768,this.isMobileTabWithBanner=window.innerWidth<992||screen.width<992}componentDidLoad(){this.createGroup(),this.calculateHeaderTabsRendering(),this.ellipsisDropdown=this.host.querySelector("ptc-ellipsis-dropdown"),this.ellipsisDropdown.addEventListener("keydown",this.onKeydown.bind(this));const t=Array.from(this.host.querySelectorAll("tab-header"));t.forEach(((e,i)=>{t.length-this.dropdownItemsCount==i+1&&(this.lastVisibleTab=e)}))}onSelectedTab(t){let e=this;this.tabGroup.forEach((i=>{t.detail.then((t=>{i.header.name===t.name?(e.selectGroup(i),i.header.el.setAttribute("tabindex","0"),i.header.el.focus()):i.header.el.setAttribute("tabindex","-1")}))}))}calculateHeaderTabsRendering(){let t=this.host.querySelector(".tabs-header"),e=this.host.querySelector(".ellipsis-btn"),i=t.children,a=!1,n=[];this.isMobile=window.innerWidth<768,this.isMobileTabWithBanner=window.innerWidth<992||screen.width<992,t.classList.remove("active");for(let t=0;t<i.length;t++)i[t].style.removeProperty("display");for(let e=i.length-1;e>=0;e--){let s=i[e],h=s.getAttribute("name")===this.selectedValue;if(this.isMobile&&"tab-with-banner"!=this.type||this.isMobileTabWithBanner&&"tab-with-banner"===this.type){let e=s.querySelector(".text-cont").textContent;t.style.display="none",a=!0,n.push({value:s.getAttribute("name"),text:e,isSelected:h})}else if(t.style.display="flex",t.scrollWidth>t.clientWidth){s.style.display="none";let t=s.querySelector(".text-cont").textContent;a=!0,n.push({value:s.getAttribute("name"),text:t,isSelected:h})}}t.classList.add("active"),a?(e.classList.add("active"),e.dataItems=n.reverse(),this.dropdownItemsCount=e.dataItems.length):(e.classList.remove("active"),e.dataItems=[])}createGroup(){let t=this,e=!1,i=!1,a=0,n=0,s=[],h=[];const o=Array.from(this.host.querySelectorAll("tab-header"));this.tabsHeader=o.map((t=>t.getChild().then((i=>{a++,a===o.length&&(e=!0),s.push(Object.assign(Object.assign({},i),{el:t}))})))),this.tabsHeader=s;const l=Array.from(this.host.querySelectorAll("tab-content"));this.tabsContent=l.map((t=>t.getChild().then((t=>{n++,n===l.length&&(i=!0),h.push(t)})))),this.tabsContent=h;let r=setInterval((()=>{e&&i&&(clearInterval(r),t.tabGroup=t.tabsHeader.map((e=>{const i=t.tabsContent.find((t=>t.name===e.name));return{header:e,content:i}})),t.selectGroup(t.tabGroup[0]))}),3100);o.forEach(((t,e)=>{t.setAttribute("id","tab-"+(e+1)),t.setAttribute("role","tab"),t.setAttribute("aria-selected",0===e?"true":"false"),t.setAttribute("tabindex",0===e?"0":"-1"),t.setAttribute("aria-controls","tab-panel-"+(e+1)),t.addEventListener("keydown",this.onKeydown.bind(this)),this.firstTab||(this.firstTab=t),this.lastTab=t})),l.forEach(((t,e)=>{t.setAttribute("id","tabpanel-"+(e+1)),t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby","tab-"+(e+1))}))}moveFocusToTab(t){t.focus()}moveFocusToPreviousTab(t){if(t===this.firstTab||t==this.ellipsisDropdown)this.ellipsisDropdown.setAttribute("tabindex","-1"),0==this.dropdownItemsCount?this.moveFocusToTab(this.lastTab):t==this.ellipsisDropdown?this.moveFocusToTab(this.lastVisibleTab):(this.ellipsisDropdown.setAttribute("tabindex","0"),this.ellipsisDropdown.focus());else{const e=this.tabsHeader.findIndex((e=>e.el===t));this.moveFocusToTab(this.tabsHeader[e-1].el)}}moveFocusToNextTab(t){if(this.ellipsisDropdown.setAttribute("tabindex","-1"),t===this.lastTab||t===this.lastVisibleTab)0==this.dropdownItemsCount?this.moveFocusToTab(this.firstTab):(this.ellipsisDropdown.setAttribute("tabindex","0"),this.ellipsisDropdown.focus());else{const e=this.tabsHeader.findIndex((e=>e.el===t));this.moveFocusToTab(this.tabsHeader[e+1].el)}}onKeydown(t){const e=t.currentTarget;let i=!1;switch(t.key){case"ArrowLeft":this.moveFocusToPreviousTab(e),i=!0;break;case"ArrowRight":this.moveFocusToNextTab(e),i=!0;break;case"Escape":this.closeDropdown(),i=!0}i&&(t.stopPropagation(),t.preventDefault())}async toggleTabGroup(t){let e=this;this.tabGroup.forEach((i=>{i.header.name===t&&e.selectGroup(i)}))}selectGroup(t){this.tabGroup.forEach((t=>{t.header.unselect(),t.content.unselect()})),t.header.select(),t.content.select(),this.selectedValue=t.header.name,this.calculateHeaderTabsRendering(),this.tabChange.emit({value:t.header.text,sender:t.header})}onDropdownItemSelected(t){if(t){let e=this.tabGroup.find((e=>e.header.name==t.value));e&&this.selectGroup(e)}}render(){return i(a,{class:this.type},i("div",{class:"tabs-header-container"},i("div",{class:"tabs-header"},i("slot",{name:"header"})),i("ptc-ellipsis-dropdown",{"dropdown-type":this.type,class:"tab-with-banner"==this.type?"ellipsis-btn tab-with-banner":"ellipsis-btn default",onItemSelected:t=>{this.onDropdownItemSelected(t.detail)}})),i("div",{class:"tabs-content"},i("slot",{name:"content"})))}get host(){return n(this)}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}ptc-tab-list{display:block;position:relative;color:var(--color-gray-12)}ptc-tab-list.tab-with-banner{background-color:var(--color-white);padding:24px 16px 16px 16px;border-radius:4px}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner{padding:24px}}ptc-tab-list.tab-with-banner .tabs-content{padding:16px 0 0 0}ptc-tab-list.tab-with-banner .tabs-content p:not(video-js p),ptc-tab-list.tab-with-banner .tabs-content span:not(video-js span),ptc-tab-list.tab-with-banner .tabs-content h1:not(video-js h1),ptc-tab-list.tab-with-banner .tabs-content h2:not(video-js h2),ptc-tab-list.tab-with-banner .tabs-content h3:not(video-js h3),ptc-tab-list.tab-with-banner .tabs-content h4:not(video-js h4),ptc-tab-list.tab-with-banner .tabs-content h5:not(video-js h5),ptc-tab-list.tab-with-banner .tabs-content h6:not(video-js h6),ptc-tab-list.tab-with-banner .tabs-content ul:not(video-js ul),ptc-tab-list.tab-with-banner .tabs-content li:not(video-js li),ptc-tab-list.tab-with-banner .tabs-content table:not(video-js table){color:var(--color-gray-12)}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tabs-content{padding:24px 0 0 0}}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tabs-header{align-items:stretch;padding-left:0rem;width:calc(100% - 44px);display:flex;justify-content:space-between;align-items:center;flex-direction:row;padding-right:0}ptc-tab-list.tab-with-banner tab-header{padding:0 16px;display:flex;align-items:center;flex:1 0 0;align-self:stretch;text-align:center;flex-direction:column;align-items:center}}ptc-tab-list.tab-with-banner .tab-header{padding:0 0 1rem 0}@media only screen and (min-width: 992px){ptc-tab-list.tab-with-banner .tab-header{min-width:200px;white-space:normal;height:100%;align-content:center;transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}ptc-tab-list.tab-with-banner .tab-header:hover{color:var(--color-gray-10)}}@media (min-width: 1080px){ptc-tab-list.tab-with-banner .tab-header{min-width:230px}}@media only screen and (min-width: 1200px){ptc-tab-list.tab-with-banner .tab-header{min-width:200px}}@media only screen and (min-width: 1440px){ptc-tab-list.tab-with-banner .tab-header{min-width:175px}}ptc-tab-list.tab-with-banner .tabs-header-container{display:flex}.tabs-header-container{width:100%;border-bottom:2px solid var(--color-gray-02);position:relative}.tabs-header{display:flex;padding-left:1.5rem;padding-right:1.5rem;transition:opacity ease-out 250ms;opacity:0;width:90%}.tabs-header.active{opacity:1}.tabs-content{padding:40px 28px 28px;min-height:300px}.ellipsis-btn{display:none}@media only screen and (min-width: 768px){.ellipsis-btn.default{position:absolute;top:auto;right:0;bottom:9px}}@media only screen and (min-width: 1440px){.ellipsis-btn.default{bottom:15px}}@media only screen and (min-width: 1440px){.ellipsis-btn{bottom:15px}}.ellipsis-btn.active{display:inline-block}.ellipsis-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}tab-header{padding-right:48px}";export{s as ptc_tab_list}
@@ -1 +1 @@
1
- import{r as t,h as e,H as a,g as i}from"./p-ac75c7ad.js";const l=class{constructor(e){t(this,e),this.formData={email:"",firstName:"",lastName:"",company:"",country:"",phone:"",inquiryReason:"",howhearselfreport:"",policyChecked:!1}}componentDidLoad(){this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]'),this.firstNameEle=this.el.querySelector('ptc-textfield[field-id="contact-firstname"]'),this.lastNameEle=this.el.querySelector('ptc-textfield[field-id="contact-lastname"]'),this.companyEle=this.el.querySelector('ptc-textfield[field-id="company"]'),this.phoneEle=this.el.querySelector('ptc-textfield[field-id="contact-phone"]')}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.formData.firstName=this.firstNameEle.inputValue,this.formData.lastName=this.lastNameEle.inputValue,this.formData.company=this.companyEle.inputValue,this.formData.phone=this.phoneEle.inputValue,this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t),console.log("Form Submitted: "+this.formData)}else console.log("Form validation failed"),console.log("Form Submitted: "+this.formData.email,this.formData.firstName,this.formData.lastName,this.formData.company,this.formData.phone)}isValid(){const{email:t,firstName:e,lastName:a,company:i,country:l,phone:s,inquiryReason:c,howhearselfreport:n,policyChecked:o}=this.formData,m=document.querySelectorAll(".invalid-field").length;return""!==t&&""!==s&&""!==e&&""!==a&&""!==i&&""!==l&&""!==c&&""!=n&&o&&0===m}render(){return e(a,null,e("div",{class:"ptc-container ptc-section-standard u-flex u-flex-justify-center"},e("div",{class:"form-wrapper"},e("max-width-container",{"max-width":"277",breakpoint:480},e("ptc-title",{type:"h2","text-align":"center","title-size":"x-small","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-height":"densest","title-margin":"margin-flush","title-weight":"w-6","is-plm-hub":"false"},"Please fill out the form and a PTC sales representative will be in touch."),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"small",size:"small"})),e("form",{onSubmit:t=>this.handleSubmit(t)},e("ptc-label",{class:"ptc-label"},"Your Information"),e("ptc-textfield",{"field-id":"contact-firstname","label-text":"First Name*",type:"text","ptc-data-eloqua-name":"C_FirstName","field-name":"firstname"}),e("ptc-textfield",{"field-id":"contact-lastname","label-text":"Last Name*",type:"text","ptc-data-eloqua-name":"C_LastName","field-name":"lastname"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","alert-text":"Minimum Age Required","alert-text-content":"If you are under the age of 14 years old, you must use your parent/guardian email address.","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"confirm-email","label-text":"Confirm your Email*",type:"email","ptc-data-eloqua-name":"emailconfirmation","field-name":"confirm-email","custom-validation":"Email addresses must match."}),e("ptc-textfield",{"field-id":"contact-phone","label-text":"Phone*",type:"tel","ptc-data-eloqua-name":"C_BusPhone","field-name":"phone"}),e("ptc-textfield",{"field-id":"contact-city","label-text":"City*",type:"text","ptc-data-eloqua-name":"C_City","field-name":"contact-city"}),e("ptc-textfield",{"field-id":"contact-zipcode","label-text":"Zip Code*",type:"text","ptc-data-eloqua-name":"C_Zip_Postal","field-name":"zipcode-field"}),e("ptc-select",{"field-id":"contact-country",label:"Country*","ptc-data-eloqua-name":"C_Country","field-name":"country"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"USA")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Canada")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"China")))),e("ptc-label",{class:"ptc-label"},"School Information"),e("ptc-textfield",{"field-id":"institution","label-text":"School/Institution Name*",type:"text","ptc-data-eloqua-name":"C_Company","field-name":"institution"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"School Level*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Student Level*",type:"email","ptc-data-eloqua-name":"gradeLevel1","field-name":"email"}),e("ptc-select",{"field-id":"academic-description",label:"Role of User*","ptc-data-eloqua-name":"description1","field-name":"academic-description"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"K-12 educator")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Professor")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"K-12 student")))),e("ptc-textfield",{"field-id":"contact-city","label-text":"Purpose of use*",type:"text","ptc-data-eloqua-name":"C_City","field-name":"contact-city"}),e("ptc-textfield",{"field-id":"academic-ofComputers","label-text":"How many computers are you planning to install this software on?*",type:"text","ptc-data-eloqua-name":"ofComputers1","field-name":"academic-ofComputers"}),e("ptc-form-checkbox",{label:"I acknowledge that my personal details will be processed in accordance with PTC’s privacy policy and that they may be shared with PTC Inc’s subsidiaries for\r\n the promotion of PTC’s products and associated services. ","checkbox-id":"test"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 48px; display:block; float: right; width: fit-content;}"},"Submit")))))}get el(){return i(this)}};l.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px}.form-wrapper>form{max-width:277px}.form-wrapper>ptc-button{align-items:center}.form-wrapper .ptc-label{display:block;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-04);position:relative;z-index:1;color:var(--color-gray-13)}";export{l as academic_form_test}
1
+ import{r as t,h as e,H as a,a as i}from"./p-944c5be8.js";const l=class{constructor(e){t(this,e),this.formData={email:"",firstName:"",lastName:"",company:"",country:"",phone:"",inquiryReason:"",howhearselfreport:"",policyChecked:!1}}componentDidLoad(){this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]'),this.firstNameEle=this.el.querySelector('ptc-textfield[field-id="contact-firstname"]'),this.lastNameEle=this.el.querySelector('ptc-textfield[field-id="contact-lastname"]'),this.companyEle=this.el.querySelector('ptc-textfield[field-id="company"]'),this.phoneEle=this.el.querySelector('ptc-textfield[field-id="contact-phone"]')}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.formData.firstName=this.firstNameEle.inputValue,this.formData.lastName=this.lastNameEle.inputValue,this.formData.company=this.companyEle.inputValue,this.formData.phone=this.phoneEle.inputValue,this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t),console.log("Form Submitted: "+this.formData)}else console.log("Form validation failed"),console.log("Form Submitted: "+this.formData.email,this.formData.firstName,this.formData.lastName,this.formData.company,this.formData.phone)}isValid(){const{email:t,firstName:e,lastName:a,company:i,country:l,phone:s,inquiryReason:c,howhearselfreport:n,policyChecked:o}=this.formData,m=document.querySelectorAll(".invalid-field").length;return""!==t&&""!==s&&""!==e&&""!==a&&""!==i&&""!==l&&""!==c&&""!=n&&o&&0===m}render(){return e(a,null,e("div",{class:"ptc-container ptc-section-standard u-flex u-flex-justify-center"},e("div",{class:"form-wrapper"},e("max-width-container",{"max-width":"277",breakpoint:480},e("ptc-title",{type:"h2","text-align":"center","title-size":"x-small","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-height":"densest","title-margin":"margin-flush","title-weight":"w-6","is-plm-hub":"false"},"Please fill out the form and a PTC sales representative will be in touch."),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"small",size:"small"})),e("form",{onSubmit:t=>this.handleSubmit(t)},e("ptc-label",{class:"ptc-label"},"Your Information"),e("ptc-textfield",{"field-id":"contact-firstname","label-text":"First Name*",type:"text","ptc-data-eloqua-name":"C_FirstName","field-name":"firstname"}),e("ptc-textfield",{"field-id":"contact-lastname","label-text":"Last Name*",type:"text","ptc-data-eloqua-name":"C_LastName","field-name":"lastname"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","alert-text":"Minimum Age Required","alert-text-content":"If you are under the age of 14 years old, you must use your parent/guardian email address.","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"confirm-email","label-text":"Confirm your Email*",type:"email","ptc-data-eloqua-name":"emailconfirmation","field-name":"confirm-email","custom-validation":"Email addresses must match."}),e("ptc-textfield",{"field-id":"contact-phone","label-text":"Phone*",type:"tel","ptc-data-eloqua-name":"C_BusPhone","field-name":"phone"}),e("ptc-textfield",{"field-id":"contact-city","label-text":"City*",type:"text","ptc-data-eloqua-name":"C_City","field-name":"contact-city"}),e("ptc-textfield",{"field-id":"contact-zipcode","label-text":"Zip Code*",type:"text","ptc-data-eloqua-name":"C_Zip_Postal","field-name":"zipcode-field"}),e("ptc-select",{"field-id":"contact-country",label:"Country*","ptc-data-eloqua-name":"C_Country","field-name":"country"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"USA")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Canada")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"China")))),e("ptc-label",{class:"ptc-label"},"School Information"),e("ptc-textfield",{"field-id":"institution","label-text":"School/Institution Name*",type:"text","ptc-data-eloqua-name":"C_Company","field-name":"institution"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"School Level*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Student Level*",type:"email","ptc-data-eloqua-name":"gradeLevel1","field-name":"email"}),e("ptc-select",{"field-id":"academic-description",label:"Role of User*","ptc-data-eloqua-name":"description1","field-name":"academic-description"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":""},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"K-12 educator")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Professor")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"K-12 student")))),e("ptc-textfield",{"field-id":"contact-city","label-text":"Purpose of use*",type:"text","ptc-data-eloqua-name":"C_City","field-name":"contact-city"}),e("ptc-textfield",{"field-id":"academic-ofComputers","label-text":"How many computers are you planning to install this software on?*",type:"text","ptc-data-eloqua-name":"ofComputers1","field-name":"academic-ofComputers"}),e("ptc-form-checkbox",{label:"I acknowledge that my personal details will be processed in accordance with PTC’s privacy policy and that they may be shared with PTC Inc’s subsidiaries for\r\n the promotion of PTC’s products and associated services. ","checkbox-id":"test"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 48px; display:block; float: right; width: fit-content;}"},"Submit")))))}get el(){return i(this)}};l.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px}.form-wrapper>form{max-width:277px}.form-wrapper>ptc-button{align-items:center}.form-wrapper .ptc-label{display:block;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-04);position:relative;z-index:1;color:var(--color-gray-13)}";export{l as academic_form_test}