@ptcwebops/ptcw-design 6.3.5-beta → 6.3.5

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 (226) hide show
  1. package/dist/cjs/component-1b8ad4d2.js +1819 -0
  2. package/dist/cjs/{component-4dd13907.js → component-35540bfb.js} +1494 -3305
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  5. package/dist/cjs/interfaces-574e6df7.js +15 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-card_2.cjs.entry.js +3 -4
  9. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +4 -4
  11. package/dist/cjs/ptc-countdown.cjs.entry.js +19 -71
  12. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
  13. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  15. package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +5 -789
  16. package/dist/cjs/ptc-icon-list.cjs.entry.js +2 -2
  17. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  18. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +672 -0
  20. package/dist/cjs/ptc-office-location-card.cjs.entry.js +3 -2
  21. package/dist/cjs/ptc-office-locations.cjs.entry.js +15 -0
  22. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  24. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
  26. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  32. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  33. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  35. package/dist/cjs/{ptc-img_5.cjs.entry.js → ptc-white-paper.cjs.entry.js} +4 -481
  36. package/dist/cjs/ptcw-design.cjs.js +1 -1
  37. package/dist/cjs/validation-messages-33a4f26b.js +126 -0
  38. package/dist/collection/collection-manifest.json +0 -1
  39. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
  40. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  41. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  42. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  43. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  44. package/dist/collection/components/ptc-countdown/ptc-countdown.css +0 -1
  45. package/dist/collection/components/ptc-countdown/ptc-countdown.js +17 -163
  46. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  47. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  48. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +6 -0
  49. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +1 -1
  50. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  51. package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
  52. package/dist/collection/components/ptc-modal/ptc-modal.js +5 -5
  53. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +3 -2
  54. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +17 -1
  55. package/dist/collection/components/ptc-para/ptc-para.css +0 -3
  56. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  57. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  58. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -4
  59. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
  60. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
  61. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  62. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  63. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  64. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  65. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  66. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  67. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  68. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  69. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  70. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +3 -9
  71. package/dist/custom-elements/index.d.ts +0 -6
  72. package/dist/custom-elements/index.js +74 -215
  73. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  74. package/dist/esm/blog-detail-layout.entry.js +1 -1
  75. package/dist/esm/blogs-search-section.entry.js +1 -1
  76. package/dist/esm/{component-9c921cc6.js → component-8c53e377.js} +1482 -3281
  77. package/dist/esm/component-9beac35b.js +1802 -0
  78. package/dist/esm/featured-list.entry.js +1 -1
  79. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  80. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  81. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  82. package/dist/esm/interfaces-4caedd26.js +12 -0
  83. package/dist/esm/loader.js +1 -1
  84. package/dist/esm/most-popular-news.entry.js +1 -1
  85. package/dist/esm/my-component.entry.js +1 -1
  86. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  87. package/dist/esm/ptc-background-video.entry.js +1 -1
  88. package/dist/esm/ptc-bio-card.entry.js +1 -1
  89. package/dist/esm/ptc-button.entry.js +1 -1
  90. package/dist/esm/ptc-card_2.entry.js +3 -4
  91. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  92. package/dist/esm/ptc-close-icon_2.entry.js +4 -4
  93. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  94. package/dist/esm/ptc-countdown.entry.js +19 -71
  95. package/dist/esm/ptc-data-lookup.entry.js +2 -1
  96. package/dist/esm/ptc-featured-list.entry.js +1 -1
  97. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  98. package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +5 -787
  99. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  100. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  101. package/dist/esm/ptc-icon-card.entry.js +1 -1
  102. package/dist/esm/ptc-icon-list.entry.js +2 -2
  103. package/dist/esm/ptc-img.entry.js +129 -0
  104. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  105. package/dist/esm/ptc-link.entry.js +1 -1
  106. package/dist/esm/ptc-media-card.entry.js +1 -1
  107. package/dist/esm/ptc-multi-select_2.entry.js +667 -0
  108. package/dist/esm/ptc-office-location-card.entry.js +3 -2
  109. package/dist/esm/ptc-office-locations.entry.js +15 -0
  110. package/dist/esm/ptc-para.entry.js +2 -2
  111. package/dist/esm/ptc-picture.entry.js +159 -0
  112. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  113. package/dist/esm/ptc-previous-url.entry.js +2 -10
  114. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  115. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  116. package/dist/esm/ptc-product-card.entry.js +1 -1
  117. package/dist/esm/ptc-product-category.entry.js +1 -1
  118. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  119. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  120. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  121. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  122. package/dist/esm/ptc-spacer.entry.js +34 -0
  123. package/dist/esm/ptc-title.entry.js +148 -0
  124. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  125. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  126. package/dist/esm/{ptc-img_5.entry.js → ptc-white-paper.entry.js} +6 -479
  127. package/dist/esm/ptcw-design.js +1 -1
  128. package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
  129. package/dist/esm/validation-messages-adbb6518.js +124 -0
  130. package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
  131. package/dist/ptcw-design/p-00e21489.entry.js +1 -0
  132. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  133. package/dist/ptcw-design/p-15758793.entry.js +1 -0
  134. package/dist/ptcw-design/{p-e0b873d0.entry.js → p-16e70f20.entry.js} +1 -1
  135. package/dist/ptcw-design/{p-ae970a60.entry.js → p-17f6e145.entry.js} +1 -1
  136. package/dist/ptcw-design/p-18a5a338.js +1 -0
  137. package/dist/ptcw-design/{p-d73cc053.entry.js → p-18ac526f.entry.js} +1 -1
  138. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  139. package/dist/ptcw-design/p-27a4ee73.entry.js +1 -0
  140. package/dist/ptcw-design/{p-e4000363.entry.js → p-28be539b.entry.js} +1 -1
  141. package/dist/ptcw-design/p-2b32297b.entry.js +1 -0
  142. package/dist/ptcw-design/p-2cb2de0f.entry.js +1 -0
  143. package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
  144. package/dist/ptcw-design/p-38b782e8.entry.js +1 -0
  145. package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-48c33817.entry.js} +1 -1
  146. package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-49e54079.entry.js} +1 -1
  147. package/dist/ptcw-design/{p-445329ed.entry.js → p-4d8f6f46.entry.js} +1 -1
  148. package/dist/ptcw-design/{p-2c6fc745.entry.js → p-4ee98a3e.entry.js} +1 -1
  149. package/dist/ptcw-design/p-51a45b13.entry.js +1 -0
  150. package/dist/ptcw-design/p-54350a01.entry.js +1 -0
  151. package/dist/ptcw-design/p-593b8eff.entry.js +1 -0
  152. package/dist/ptcw-design/p-5dae4f30.entry.js +1 -0
  153. package/dist/ptcw-design/{p-d10cb999.entry.js → p-627103d8.entry.js} +1 -1
  154. package/dist/ptcw-design/{p-c95f423e.entry.js → p-6a3caf2b.entry.js} +1 -1
  155. package/dist/ptcw-design/{p-7a9611b4.entry.js → p-6f5fecae.entry.js} +1 -1
  156. package/dist/ptcw-design/p-711bcdad.js +1 -0
  157. package/dist/ptcw-design/p-721edfda.entry.js +1 -0
  158. package/dist/ptcw-design/p-73a853fc.entry.js +1 -0
  159. package/dist/ptcw-design/{p-0de4cd11.entry.js → p-75988f52.entry.js} +1 -1
  160. package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
  161. package/dist/ptcw-design/p-7a3e9ecd.entry.js +1 -0
  162. package/dist/ptcw-design/p-7fb155da.entry.js +1 -0
  163. package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-821f0ff9.entry.js} +1 -1
  164. package/dist/ptcw-design/{p-7b703b75.entry.js → p-92d22c78.entry.js} +1 -1
  165. package/dist/ptcw-design/p-98426799.js +203 -0
  166. package/dist/ptcw-design/p-98844b50.js +134 -0
  167. package/dist/ptcw-design/{p-21aa746d.entry.js → p-9f194554.entry.js} +1 -1
  168. package/dist/ptcw-design/p-a58698ca.entry.js +1 -0
  169. package/dist/ptcw-design/{p-0b515839.entry.js → p-a791c53a.entry.js} +1 -1
  170. package/dist/ptcw-design/p-acdd9a1d.entry.js +1 -0
  171. package/dist/ptcw-design/p-ad821a01.entry.js +1 -0
  172. package/dist/ptcw-design/{p-94f99d2d.entry.js → p-b441e3fe.entry.js} +1 -1
  173. package/dist/ptcw-design/{p-918fb77d.entry.js → p-b52301e2.entry.js} +1 -1
  174. package/dist/ptcw-design/{p-8efa8596.entry.js → p-b651c1cb.entry.js} +1 -1
  175. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  176. package/dist/ptcw-design/p-bf3bc577.entry.js +1 -0
  177. package/dist/ptcw-design/{p-1b257420.entry.js → p-c01ea76f.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-6d3326da.entry.js → p-cbee4653.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-3dd0ded9.entry.js → p-d089dc37.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-c66b8926.entry.js → p-d3229458.entry.js} +1 -1
  181. package/dist/ptcw-design/p-dd02e4d6.entry.js +68 -0
  182. package/dist/ptcw-design/{p-da82dc93.entry.js → p-e577ad62.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-808ec62a.entry.js → p-eec2f3da.entry.js} +1 -1
  184. package/dist/ptcw-design/p-f9256e3d.entry.js +1 -0
  185. package/dist/ptcw-design/{p-36007a57.entry.js → p-fd394e84.entry.js} +1 -1
  186. package/dist/ptcw-design/ptcw-design.css +2 -2
  187. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  188. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +0 -8
  189. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  190. package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
  191. package/dist/types/components/ptc-office-locations/ptc-office-locations.d.ts +1 -0
  192. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  193. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
  194. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +0 -1
  195. package/dist/types/components.d.ts +4 -29
  196. package/package.json +1 -1
  197. package/readme.md +1 -5
  198. package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
  199. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  200. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
  201. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  202. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  203. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  204. package/dist/esm/modal-form-example.entry.js +0 -90
  205. package/dist/ptcw-design/p-0098c4f0.entry.js +0 -1
  206. package/dist/ptcw-design/p-0d223232.entry.js +0 -1
  207. package/dist/ptcw-design/p-1a6759a4.entry.js +0 -1
  208. package/dist/ptcw-design/p-32f64f48.entry.js +0 -1
  209. package/dist/ptcw-design/p-48815ee0.entry.js +0 -1
  210. package/dist/ptcw-design/p-596dab12.entry.js +0 -1
  211. package/dist/ptcw-design/p-67c248ec.entry.js +0 -1
  212. package/dist/ptcw-design/p-75390f63.entry.js +0 -1
  213. package/dist/ptcw-design/p-799afee5.entry.js +0 -1
  214. package/dist/ptcw-design/p-9501995f.entry.js +0 -1
  215. package/dist/ptcw-design/p-a3b57ede.entry.js +0 -1
  216. package/dist/ptcw-design/p-baff4d44.entry.js +0 -1
  217. package/dist/ptcw-design/p-bcab66bf.js +0 -336
  218. package/dist/ptcw-design/p-bd6af63e.entry.js +0 -1
  219. package/dist/ptcw-design/p-cbef2216.entry.js +0 -1
  220. package/dist/ptcw-design/p-dbbe35bf.entry.js +0 -1
  221. package/dist/ptcw-design/p-de960790.entry.js +0 -1
  222. package/dist/ptcw-design/p-e475cbcd.entry.js +0 -1
  223. package/dist/ptcw-design/p-e6a272d9.entry.js +0 -1
  224. package/dist/ptcw-design/p-ee34afca.entry.js +0 -68
  225. package/dist/ptcw-design/p-fe40421e.entry.js +0 -1
  226. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,H as l,g as s}from"./p-ac75c7ad.js";import{d as a,M as n,b as o}from"./p-8872161f.js";const r='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .acls-1,.acls-4{fill:none}.acls-1{stroke:#74c34d;stroke-width:.7px}.acls-2{fill:#74c34d;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.acls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="acls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="acls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="acls-4"/>\n </g>\n <text id="i" class="acls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n';class c{}const p=class{constructor(i){e(this,i),this.itemSelected=t(this,"itemSelected",7),this.itemExpanded=t(this,"itemExpanded",7),this.textChanged=t(this,"textChanged",7),this.inputUpdated=t(this,"inputUpdated",7),this.ready=t(this,"ready",7),this.viewUpdated=t(this,"viewUpdated",7),this.changed=t(this,"changed",7),this.data=void 0,this.searchText=void 0,this.showSearchBar=!0,this.header=void 0,this.trackerId=void 0,this.selectedValue=void 0,this.selectedItems=void 0,this.hashMap=void 0,this.debouncedUpdatedEvent=void 0,this.refreshBuffer=void 0,this.listItems=void 0,this.placeholderText=void 0,this.debounceUpdateDelay=void 0,this.allowMultiSelect=!0}componentWillLoad(){this.loadListItems(),this.selectedItems=[]}componentDidLoad(){this.ready.emit({sender:this.el,tree:this.data,search:this.searchText}),this.debouncedUpdatedEvent=a((()=>{this.changed.emit({sender:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,search:this.searchText})}),this.debounceUpdateDelay,this),this.openList()}openList(){var e;(null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".listOpen")).forEach((e=>{if(e.classList.contains("listOpen")){null==e||e.classList.add("expanded");const t=null==e?void 0:e.querySelector("ul");t&&(t.style.maxHeight=`${t.scrollHeight}px`)}}))}componentDidUpdate(){this.viewUpdated.emit({sender:this.el,tree:this.data,search:this.searchText})}onItemSelectedHandler(e){this.itemSelected.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data}),this.fireChangedEvent()}onInputUpdated(e){let t=e.target;this.searchText=t.value,this.inputUpdated.emit({event:e,sender:t,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data,search:this.searchText}),this.fireChangedEvent()}onItemExpandedHandler(e){this.itemExpanded.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data})}fireChangedEvent(){this.debouncedUpdatedEvent()}loadListItems(){let e=0;if(this.hashMap={},!this.data){let t=n(this.el);if(t.collapseListItem){this.data=new Array;let i=(t,l)=>{t.map((t=>{var s=new c;if(s.isExternalLink=!!t.linkHref,s.trackerId=t.trackerId?t.trackerId:`${this.trackerId}-list-item-${e++}`,t.linkHref?(s.href=t.linkHref,s.target=t.linkTarget,s.title=t.linkTitle,s.text=t.facetDisplay,s.id=o()):(s.id=o(),s.text=t.facetDisplay,s.name=t.facetName,s.value=t.facetValue,s.category=t.category,s.allowMultiSelect="false"!=t.allowMultiSelect,s.enableSearch="true"==t.enableSearch,s.searchBoxPlaceholder=t.placeholderText,s.tooltip=t.tooltip,this.setUpCategory(s.category,s.allowMultiSelect),s.listOpened=t.hasOwnProperty("listOpened")),t.collapseListItem)if(s.children=new Array,Array.isArray(t.collapseListItem))i(t.collapseListItem,s.children);else{let e=new Array;e.push(t.collapseListItem),i(e,s.children)}this.hashMap[s.id]=s,l.push(s)}))};this.setUpCategory("default",!0),i(t.collapseListItem,this.data)}}}setUpCategory(e,t){this.selectedValue||(this.selectedValue={}),e&&!this.selectedValue[e]&&(this.selectedValue[e]={name:e,items:new Array,allowMultiSelect:t})}collapseAllFirstLevelItems(e){this.el.shadowRoot.querySelectorAll(".level-1").forEach((t=>{t.classList.contains("expanded")&&t!=e&&t.classList.remove("expanded")}))}updateExpandedItems(){const e=t=>{this.refreshBuffer||(this.refreshBuffer=t);const i=t-this.refreshBuffer;this.el.shadowRoot.querySelectorAll("li").forEach((e=>{let t=e.querySelector(":scope > ul");if(t)if(e.classList.contains("expanded")){t.style.maxHeight=t.scrollHeight+"px";let e=t.closest(".level-1");e&&e.classList.contains("expanded")&&t.childNodes&&t.childNodes.forEach((e=>{e.children[0]&&"DIV"!=e.children[0].tagName&&e.children[0].setAttribute("tabindex","0")}));let i=t.querySelectorAll("input");i&&i.forEach((e=>{e&&(e.tabIndex=0)}))}else{t.style.removeProperty("max-height");let e=t.querySelectorAll("a");e&&e.forEach((e=>{e&&(e.tabIndex=-1)}));let i=t.querySelectorAll("input");i&&i.forEach((e=>{e&&(e.tabIndex=-1)}))}})),i<2500?window.requestAnimationFrame(e):this.refreshBuffer=void 0};this.refreshBuffer?this.refreshBuffer=void 0:window.requestAnimationFrame(e)}updateSelectedItemStatus(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0?(this.selectedValue[e].allowMultiSelect?l.push(i.value):(this.selectedItems=this.selectedItems.filter((e=>e.value!=l[0])),l=[i.value]),this.selectedItems.push(i)):(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}unSelectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)>-1&&(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}selectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0&&(this.selectedValue[e].allowMultiSelect?l.push(i.value):l=[i.value],this.selectedItems.push(i)),this.selectedValue[e].items=l}}getItemByValue(e){let t;if(this.hashMap)for(const[i,l]of Object.entries(this.hashMap))if(l.value==e){t=l;break}return t}onItemFilterSearchUpdate(e){if(e&&e.target){let t=e.target,i=t.value;if(t){t.closest("ul").querySelectorAll("li:not(.search-box-wrapper)").forEach(i&&i.length>0?e=>{var t;let l=null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.toLowerCase();l&&l.indexOf(i)>-1?e.style.removeProperty("display"):e.style.display="none"}:e=>{e.style.removeProperty("display")})}this.updateExpandedItems()}}onItemLinkClick(e,t){e&&e.preventDefault(),this.updateSelectedItemStatus(t),this.onItemSelectedHandler(e)}onExpandClick(e,t){if(e){e.preventDefault();let i=e.currentTarget,l=i.closest(".level-1"),s=i.closest("li");if(t&&this.collapseAllFirstLevelItems(l),s&&s.classList.toggle("expanded"),i.classList.contains("expander-icon")){let e=s.classList.contains("expanded")?"minus":"plus";i.querySelector("icon-asset").setAttribute("name",e)}this.updateExpandedItems()}this.onItemExpandedHandler(e)}render(){let e=e=>{if(e)return i("ptc-tooltip",{"text-display":"inline",mode:"wrapper","z-index":"z-2",position:"bottom",description:""},i("div",{class:"icon-wrapper"},i("i",{class:"active-icon",innerHTML:r}),i("i",{class:"inactive-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .cls-1,.cls-4{fill:none}.cls-1{stroke:#a6adb4;stroke-width:.7px}.cls-2{fill:#a6adb4;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.cls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="cls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="cls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="cls-4"/>\n </g>\n <text id="i" class="cls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n'})),i("span",{class:"popup",slot:"description"},i("i",{innerHTML:r}),i("div",{class:"content",innerHTML:e})))},t=(e,l,a)=>{let n=`level-${l} mf-listen`;return i("ul",null,a&&i("li",{class:"search-box-wrapper"},i("div",{id:this.trackerId?`${this.trackerId}-${n}`:"",class:"search-box mf-listen"},i("input",{class:"search-box",id:"searchBoxId",type:"text",placeholder:a.placeholder,tabIndex:-1,onKeyUp:e=>{this.onItemFilterSearchUpdate(e)},onBlur:e=>{this.onItemFilterSearchUpdate(e)}}))),e.map((e=>{let a,o,r=!1,c=!1;return e.enableSearch&&(o={placeholder:e.searchBoxPlaceholder}),1==l?e.children?(r=!0,c=!1,a=i("icon-asset",{type:"ptc",name:"chevron-down",color:"ptc-green",size:"medium"})):(r=!1,c=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"ptc-green",size:"medium"})):l>1&&(c=!0,e.children?(r=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"gray",size:"xxx-small"})):r=!1),i("li",{id:e.trackerId,class:{[n]:!0,listOpen:e.listOpened}},s(e,a,l,r,c),e.children?t(e.children,l+1,o):"")})))},s=(t,l,s,a,n)=>{let o=1==s?t.tooltip:void 0,r=1==s?0:-1;return t.isExternalLink?i("a",{href:t.href,id:t.id,target:t.target,title:t.title,tabindex:r},l,t.text,e(o)):!a&&n||a&&!n?i("a",{href:"#",id:t.id,title:t.text,onClick:e=>{a?this.onExpandClick(e,this.allowMultiSelect&&1==s):this.onItemLinkClick(e,t.id)},tabindex:r},l,t.text,e(o)):[i("a",{class:"expander-icon",href:"#",id:t.id,onClick:e=>{this.onExpandClick(e,!1)},tabindex:r},l),i("a",{href:"#",title:t.text,id:t.id,onClick:e=>{this.onItemLinkClick(e,t.id)},tabindex:r},t.text),e(o)]};return i(l,null,this.showSearchBar?i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),i("div",{id:`${this.trackerId}-search-box`,class:"search-box mf-listen"},i("input",{type:"text",id:"searchBoxId",placeholder:this.placeholderText,onKeyUp:e=>{this.onInputUpdated(e)}})),t(this.data,1)):i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),t(this.data,1)))}async removeSelectedItem(e){let t=this.getItemByValue(e);this.unSelectItem(t.id),this.fireChangedEvent()}async addSelectedItem(e){let t=this.getItemByValue(e);this.selectItem(t.id)}get el(){return s(this)}};p.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:var(--ptc-element-spacing-03) 0}.level-1>ul>li:first-child{margin-top:var(--ptc-element-spacing-05)}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:var(--ptc-element-spacing-02) 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:var(--ptc-element-spacing-09)}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) 17.5px 0;display:block;font-size:var(--ptc-font-size-small);letter-spacing:0.45px;font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-12);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:"";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:var(--ptc-element-spacing-05)}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:var(--ptc-element-spacing-05);margin-right:6px}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-green-07);text-decoration:none}.level-2>a:focus-visible,.level-3>a:focus-visible,.level-4>a:focus-visible,.level-5>a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-2 .expander-icon:focus-visible,.level-3 .expander-icon:focus-visible,.level-4 .expander-icon:focus-visible,.level-5 .expander-icon:focus-visible{border-radius:8px;border:5px solid var(--keyboard-nav-outline);outline:none;top:-5px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:"";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-08) var(--ptc-element-spacing-02) var(--ptc-element-spacing-04);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:var(--ptc-element-spacing-07)}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}.icon-wrapper{width:32px;display:inline-flex;justify-content:center;align-items:center}.icon-wrapper .active-icon{display:none}.icon-wrapper .inactive-icon{display:inline}.icon-wrapper:hover .active-icon{display:inline}.icon-wrapper:hover .inactive-icon{display:none}.popup{display:inline-flex;width:256px}.popup i{margin-right:var(--ptc-element-spacing-02)}ptc-tooltip .wrapper-content.sc-ptc-tooltip{display:inline-flex;justify-content:center}.search-box-wrapper .search-box{margin-left:var(--ptc-element-spacing-01)}';export{p as ptc_collapse_list}
1
+ import{r as e,c as t,h as i,H as l,g as s}from"./p-ac75c7ad.js";import{d as a,M as n,g as o}from"./p-77b1221e.js";const r='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .acls-1,.acls-4{fill:none}.acls-1{stroke:#74c34d;stroke-width:.7px}.acls-2{fill:#74c34d;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.acls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="acls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="acls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="acls-4"/>\n </g>\n <text id="i" class="acls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n';class c{}const p=class{constructor(i){e(this,i),this.itemSelected=t(this,"itemSelected",7),this.itemExpanded=t(this,"itemExpanded",7),this.textChanged=t(this,"textChanged",7),this.inputUpdated=t(this,"inputUpdated",7),this.ready=t(this,"ready",7),this.viewUpdated=t(this,"viewUpdated",7),this.changed=t(this,"changed",7),this.data=void 0,this.searchText=void 0,this.showSearchBar=!0,this.header=void 0,this.trackerId=void 0,this.selectedValue=void 0,this.selectedItems=void 0,this.hashMap=void 0,this.debouncedUpdatedEvent=void 0,this.refreshBuffer=void 0,this.listItems=void 0,this.placeholderText=void 0,this.debounceUpdateDelay=void 0,this.allowMultiSelect=!0}componentWillLoad(){this.loadListItems(),this.selectedItems=[]}componentDidLoad(){this.ready.emit({sender:this.el,tree:this.data,search:this.searchText}),this.debouncedUpdatedEvent=a((()=>{this.changed.emit({sender:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,search:this.searchText})}),this.debounceUpdateDelay,this),this.openList()}openList(){var e;(null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".listOpen")).forEach((e=>{if(e.classList.contains("listOpen")){null==e||e.classList.add("expanded");const t=null==e?void 0:e.querySelector("ul");t&&(t.style.maxHeight=`${t.scrollHeight}px`)}}))}componentDidUpdate(){this.viewUpdated.emit({sender:this.el,tree:this.data,search:this.searchText})}onItemSelectedHandler(e){this.itemSelected.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data}),this.fireChangedEvent()}onInputUpdated(e){let t=e.target;this.searchText=t.value,this.inputUpdated.emit({event:e,sender:t,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data,search:this.searchText}),this.fireChangedEvent()}onItemExpandedHandler(e){this.itemExpanded.emit({event:e,sender:e?e.target:this.el,selectedValue:this.selectedValue,selectedItems:this.selectedItems,tree:this.data})}fireChangedEvent(){this.debouncedUpdatedEvent()}loadListItems(){let e=0;if(this.hashMap={},!this.data){let t=n(this.el);if(t.collapseListItem){this.data=new Array;let i=(t,l)=>{t.map((t=>{var s=new c;if(s.isExternalLink=!!t.linkHref,s.trackerId=t.trackerId?t.trackerId:`${this.trackerId}-list-item-${e++}`,t.linkHref?(s.href=t.linkHref,s.target=t.linkTarget,s.title=t.linkTitle,s.text=t.facetDisplay,s.id=o()):(s.id=o(),s.text=t.facetDisplay,s.name=t.facetName,s.value=t.facetValue,s.category=t.category,s.allowMultiSelect="false"!=t.allowMultiSelect,s.enableSearch="true"==t.enableSearch,s.searchBoxPlaceholder=t.placeholderText,s.tooltip=t.tooltip,this.setUpCategory(s.category,s.allowMultiSelect),s.listOpened=t.hasOwnProperty("listOpened")),t.collapseListItem)if(s.children=new Array,Array.isArray(t.collapseListItem))i(t.collapseListItem,s.children);else{let e=new Array;e.push(t.collapseListItem),i(e,s.children)}this.hashMap[s.id]=s,l.push(s)}))};this.setUpCategory("default",!0),i(t.collapseListItem,this.data)}}}setUpCategory(e,t){this.selectedValue||(this.selectedValue={}),e&&!this.selectedValue[e]&&(this.selectedValue[e]={name:e,items:new Array,allowMultiSelect:t})}collapseAllFirstLevelItems(e){this.el.shadowRoot.querySelectorAll(".level-1").forEach((t=>{t.classList.contains("expanded")&&t!=e&&t.classList.remove("expanded")}))}updateExpandedItems(){const e=t=>{this.refreshBuffer||(this.refreshBuffer=t);const i=t-this.refreshBuffer;this.el.shadowRoot.querySelectorAll("li").forEach((e=>{let t=e.querySelector(":scope > ul");if(t)if(e.classList.contains("expanded")){t.style.maxHeight=t.scrollHeight+"px";let e=t.closest(".level-1");e&&e.classList.contains("expanded")&&t.childNodes&&t.childNodes.forEach((e=>{e.children[0]&&"DIV"!=e.children[0].tagName&&e.children[0].setAttribute("tabindex","0")}));let i=t.querySelectorAll("input");i&&i.forEach((e=>{e&&(e.tabIndex=0)}))}else{t.style.removeProperty("max-height");let e=t.querySelectorAll("a");e&&e.forEach((e=>{e&&(e.tabIndex=-1)}));let i=t.querySelectorAll("input");i&&i.forEach((e=>{e&&(e.tabIndex=-1)}))}})),i<2500?window.requestAnimationFrame(e):this.refreshBuffer=void 0};this.refreshBuffer?this.refreshBuffer=void 0:window.requestAnimationFrame(e)}updateSelectedItemStatus(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0?(this.selectedValue[e].allowMultiSelect?l.push(i.value):(this.selectedItems=this.selectedItems.filter((e=>e.value!=l[0])),l=[i.value]),this.selectedItems.push(i)):(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}unSelectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)>-1&&(l=l.filter((e=>e!=i.value)),this.selectedItems=this.selectedItems.filter((e=>e.value!=i.value))),this.selectedValue[e].items=l}}selectItem(e){var t;let i=this.hashMap[e];if(i&&i.value){let e=null!==(t=i.category)&&void 0!==t?t:"default";this.selectedValue[e]||this.setUpCategory(e,1==i.allowMultiSelect);let l=this.selectedValue[e].items;l.indexOf(i.value)<0&&(this.selectedValue[e].allowMultiSelect?l.push(i.value):l=[i.value],this.selectedItems.push(i)),this.selectedValue[e].items=l}}getItemByValue(e){let t;if(this.hashMap)for(const[i,l]of Object.entries(this.hashMap))if(l.value==e){t=l;break}return t}onItemFilterSearchUpdate(e){if(e&&e.target){let t=e.target,i=t.value;if(t){t.closest("ul").querySelectorAll("li:not(.search-box-wrapper)").forEach(i&&i.length>0?e=>{var t;let l=null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.toLowerCase();l&&l.indexOf(i)>-1?e.style.removeProperty("display"):e.style.display="none"}:e=>{e.style.removeProperty("display")})}this.updateExpandedItems()}}onItemLinkClick(e,t){e&&e.preventDefault(),this.updateSelectedItemStatus(t),this.onItemSelectedHandler(e)}onExpandClick(e,t){if(e){e.preventDefault();let i=e.currentTarget,l=i.closest(".level-1"),s=i.closest("li");if(t&&this.collapseAllFirstLevelItems(l),s&&s.classList.toggle("expanded"),i.classList.contains("expander-icon")){let e=s.classList.contains("expanded")?"minus":"plus";i.querySelector("icon-asset").setAttribute("name",e)}this.updateExpandedItems()}this.onItemExpandedHandler(e)}render(){let e=e=>{if(e)return i("ptc-tooltip",{"text-display":"inline",mode:"wrapper","z-index":"z-2",position:"bottom",description:""},i("div",{class:"icon-wrapper"},i("i",{class:"active-icon",innerHTML:r}),i("i",{class:"inactive-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">\n <defs>\n <style>\n .cls-1,.cls-4{fill:none}.cls-1{stroke:#a6adb4;stroke-width:.7px}.cls-2{fill:#a6adb4;font-size:10px;font-family:Bender-BoldItalic,Bender;font-weight:700;font-style:italic;letter-spacing:.035em}.cls-3{stroke:none}\n </style>\n </defs>\n <g id="info" transform="translate(-211 -479)">\n <g id="Ellipse_6" class="cls-1" data-name="Ellipse 6" transform="translate(211 479)">\n <circle cx="6.5" cy="6.5" r="6.5" class="cls-3"/>\n <circle cx="6.5" cy="6.5" r="6.15" class="cls-4"/>\n </g>\n <text id="i" class="cls-2" transform="translate(216 480)">\n <tspan x="-.56" y="9">i</tspan>\n </text>\n </g>\n</svg>\n'})),i("span",{class:"popup",slot:"description"},i("i",{innerHTML:r}),i("div",{class:"content",innerHTML:e})))},t=(e,l,a)=>{let n=`level-${l} mf-listen`;return i("ul",null,a&&i("li",{class:"search-box-wrapper"},i("div",{id:this.trackerId?`${this.trackerId}-${n}`:"",class:"search-box mf-listen"},i("input",{class:"search-box",id:"searchBoxId",type:"text",placeholder:a.placeholder,tabIndex:-1,onKeyUp:e=>{this.onItemFilterSearchUpdate(e)},onBlur:e=>{this.onItemFilterSearchUpdate(e)}}))),e.map((e=>{let a,o,r=!1,c=!1;return e.enableSearch&&(o={placeholder:e.searchBoxPlaceholder}),1==l?e.children?(r=!0,c=!1,a=i("icon-asset",{type:"ptc",name:"chevron-down",color:"ptc-green",size:"medium"})):(r=!1,c=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"ptc-green",size:"medium"})):l>1&&(c=!0,e.children?(r=!0,a=i("icon-asset",{type:"ptc",name:"plus",color:"gray",size:"xxx-small"})):r=!1),i("li",{id:e.trackerId,class:{[n]:!0,listOpen:e.listOpened}},s(e,a,l,r,c),e.children?t(e.children,l+1,o):"")})))},s=(t,l,s,a,n)=>{let o=1==s?t.tooltip:void 0,r=1==s?0:-1;return t.isExternalLink?i("a",{href:t.href,id:t.id,target:t.target,title:t.title,tabindex:r},l,t.text,e(o)):!a&&n||a&&!n?i("a",{href:"#",id:t.id,title:t.text,onClick:e=>{a?this.onExpandClick(e,this.allowMultiSelect&&1==s):this.onItemLinkClick(e,t.id)},tabindex:r},l,t.text,e(o)):[i("a",{class:"expander-icon",href:"#",id:t.id,onClick:e=>{this.onExpandClick(e,!1)},tabindex:r},l),i("a",{href:"#",title:t.text,id:t.id,onClick:e=>{this.onItemLinkClick(e,t.id)},tabindex:r},t.text),e(o)]};return i(l,null,this.showSearchBar?i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),i("div",{id:`${this.trackerId}-search-box`,class:"search-box mf-listen"},i("input",{type:"text",id:"searchBoxId",placeholder:this.placeholderText,onKeyUp:e=>{this.onInputUpdated(e)}})),t(this.data,1)):i("div",{class:"container"},i("ptc-title",{type:"h2","title-size":"medium","title-weight":"w-6","text-align":"left",upperline:"no-upperline"},this.header),t(this.data,1)))}async removeSelectedItem(e){let t=this.getItemByValue(e);this.unSelectItem(t.id),this.fireChangedEvent()}async addSelectedItem(e){let t=this.getItemByValue(e);this.selectItem(t.id)}get el(){return s(this)}};p.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:var(--ptc-element-spacing-03) 0}.level-1>ul>li:first-child{margin-top:var(--ptc-element-spacing-05)}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:var(--ptc-element-spacing-02) 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:var(--ptc-element-spacing-09)}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) 17.5px 0;display:block;font-size:var(--ptc-font-size-small);letter-spacing:0.45px;font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-12);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:"";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:var(--ptc-element-spacing-05)}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:var(--ptc-element-spacing-05);margin-right:6px}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-green-07);text-decoration:none}.level-2>a:focus-visible,.level-3>a:focus-visible,.level-4>a:focus-visible,.level-5>a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-2 .expander-icon:focus-visible,.level-3 .expander-icon:focus-visible,.level-4 .expander-icon:focus-visible,.level-5 .expander-icon:focus-visible{border-radius:8px;border:5px solid var(--keyboard-nav-outline);outline:none;top:-5px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:"";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-08) var(--ptc-element-spacing-02) var(--ptc-element-spacing-04);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:var(--ptc-element-spacing-07)}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}.icon-wrapper{width:32px;display:inline-flex;justify-content:center;align-items:center}.icon-wrapper .active-icon{display:none}.icon-wrapper .inactive-icon{display:inline}.icon-wrapper:hover .active-icon{display:inline}.icon-wrapper:hover .inactive-icon{display:none}.popup{display:inline-flex;width:256px}.popup i{margin-right:var(--ptc-element-spacing-02)}ptc-tooltip .wrapper-content.sc-ptc-tooltip{display:inline-flex;justify-content:center}.search-box-wrapper .search-box{margin-left:var(--ptc-element-spacing-01)}';export{p as ptc_collapse_list}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";import{P as n}from"./p-8872161f.js";const r=class{constructor(e){t(this,e),this.toggleStickyBarView=()=>{var t;const e=document.querySelector("ptc-jumbotron"),i=null===(t=this.hostEle)||void 0===t?void 0:t.querySelector("div#blog-header-sticky-bar");if(e&&i){let t=e.getBoundingClientRect().bottom;0===t?(i.style.opacity="1",i.style.zIndex="2"):t<0?t>=-10?i.style.opacity=""+-t/10:(i.style.opacity="1",i.style.zIndex="2"):(i.style.opacity="0",i.style.zIndex="0")}},this.connectedCallback=()=>{const t=document.querySelector("ptc-preloader-section");t&&(this.preloaderDependency=new n(t)),setTimeout((()=>{console.log("Blog detail layout resolving promise"),this.preloaderDependency.resolve()}),5e3)},this.componentWillLoad=()=>{window.addEventListener("scroll",(()=>{this.toggleStickyBarView()}))},this.disconnectedCallback=()=>{window.removeEventListener("scroll",(()=>{this.toggleStickyBarView()}))},this.preloaderDependency=void 0}render(){return e(i,null,e("div",{style:{position:"relative"},class:"ptc-section"},e((()=>e("div",{id:"blog-header-sticky-bar-container"},e("div",{id:"blog-header-sticky-bar"},e("div",{class:"ptc-container"},e("ptc-para",{"font-size":"small","font-weight":"w-8","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush"},e("ptc-readmore-v2",{"max-characters":"50","read-less-text":"","read-more-text":""},"The Key to Using AI to Enhance IoT Security")),e("div",{class:"button-container"},e("ptc-button",{type:"link",color:"ptc-quaternary","link-href":"https://www.ptc.com",target:"_blank","tab-nav":"-1"},"Request Free Trial"),e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"https://www.ptc.com",target:"_blank","tab-nav":"-1",styles:"\r\n\t\t\t\t\t\t\t\t\t.ptc-tertiary { \r\n\t\t\t\t\t\t\t\t\t\tborder: 2px solid var(--color-gray-08); \r\n\t\t\t\t\t\t\t\t\t\tmargin-left: var(--ptc-element-spacing-06);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t"},"Speaking of Service Podcast")))))),null),e("div",{class:"ptc-container"},e("blog-detail-content",null,e("div",null,e("slot",{name:"content"}))))))}get hostEle(){return a(this)}};r.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}#blog-header-sticky-bar-container{display:none}#blog-header-sticky-bar{display:none}@media (min-width: 992px){#blog-header-sticky-bar-container{display:block;position:absolute;top:0;left:0;height:100%;width:100%}#blog-header-sticky-bar{display:block;width:100%;height:85px;margin-bottom:180px;background-color:var(--color-gray-08);position:sticky;top:0;opacity:0}#blog-header-sticky-bar>div{height:100%;display:flex;align-items:center;justify-content:space-between}}@media (min-width: 1440px){#blog-header-sticky-bar{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-07) var(--ptc-element-spacing-02) var(--ptc-element-spacing-07)}}";export{r as blog_detail_layout}
1
+ import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";import{P as n}from"./p-77b1221e.js";const r=class{constructor(e){t(this,e),this.toggleStickyBarView=()=>{var t;const e=document.querySelector("ptc-jumbotron"),i=null===(t=this.hostEle)||void 0===t?void 0:t.querySelector("div#blog-header-sticky-bar");if(e&&i){let t=e.getBoundingClientRect().bottom;0===t?(i.style.opacity="1",i.style.zIndex="2"):t<0?t>=-10?i.style.opacity=""+-t/10:(i.style.opacity="1",i.style.zIndex="2"):(i.style.opacity="0",i.style.zIndex="0")}},this.connectedCallback=()=>{const t=document.querySelector("ptc-preloader-section");t&&(this.preloaderDependency=new n(t)),setTimeout((()=>{console.log("Blog detail layout resolving promise"),this.preloaderDependency.resolve()}),5e3)},this.componentWillLoad=()=>{window.addEventListener("scroll",(()=>{this.toggleStickyBarView()}))},this.disconnectedCallback=()=>{window.removeEventListener("scroll",(()=>{this.toggleStickyBarView()}))},this.preloaderDependency=void 0}render(){return e(i,null,e("div",{style:{position:"relative"},class:"ptc-section"},e((()=>e("div",{id:"blog-header-sticky-bar-container"},e("div",{id:"blog-header-sticky-bar"},e("div",{class:"ptc-container"},e("ptc-para",{"font-size":"small","font-weight":"w-8","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush"},e("ptc-readmore-v2",{"max-characters":"50","read-less-text":"","read-more-text":""},"The Key to Using AI to Enhance IoT Security")),e("div",{class:"button-container"},e("ptc-button",{type:"link",color:"ptc-quaternary","link-href":"https://www.ptc.com",target:"_blank","tab-nav":"-1"},"Request Free Trial"),e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"https://www.ptc.com",target:"_blank","tab-nav":"-1",styles:"\r\n\t\t\t\t\t\t\t\t\t.ptc-tertiary { \r\n\t\t\t\t\t\t\t\t\t\tborder: 2px solid var(--color-gray-08); \r\n\t\t\t\t\t\t\t\t\t\tmargin-left: var(--ptc-element-spacing-06);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t"},"Speaking of Service Podcast")))))),null),e("div",{class:"ptc-container"},e("blog-detail-content",null,e("div",null,e("slot",{name:"content"}))))))}get hostEle(){return a(this)}};r.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}#blog-header-sticky-bar-container{display:none}#blog-header-sticky-bar{display:none}@media (min-width: 992px){#blog-header-sticky-bar-container{display:block;position:absolute;top:0;left:0;height:100%;width:100%}#blog-header-sticky-bar{display:block;width:100%;height:85px;margin-bottom:180px;background-color:var(--color-gray-08);position:sticky;top:0;opacity:0}#blog-header-sticky-bar>div{height:100%;display:flex;align-items:center;justify-content:space-between}}@media (min-width: 1440px){#blog-header-sticky-bar{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-07) var(--ptc-element-spacing-02) var(--ptc-element-spacing-07)}}";export{r as blog_detail_layout}
@@ -0,0 +1 @@
1
+ const e={de:{required:"Dieses Feld ist erforderlich.",select:"Bitte wählen Sie einen Wert.",firstname:"Bitte überprüfen Sie Ihren Vornamen.",lastname:"Bitte überprüfen Sie Ihren Nachnamen.",validemail:"Bitte geben Sie eine gültige E-Mail-Adresse ein.",email:"Bitte geben Sie eine gültige E-Mail-Adresse ein.",companyemail:"Bitte geben Sie eine Firmen-E-Mail-Adresse ein.",tel:"Telefonnummer ist erforderlich.",validtel:"Bitte geben Sie eine gültige Telefonnummer ein.",confirmemail:"E-Mail-Adressen müssen übereinstimmen."},en:{required:"This field is required.",select:"Please select a value.",firstname:"Please check your firstname.",lastname:"Please check your lastname.",validemail:"Please enter a valid email.",email:"Email is required.",companyemail:"Please enter a company email.",tel:"Telephone number is required.",validtel:"Please enter a valid telephone number",confirmemail:"Email addresses must match."},fr:{required:"Ce champ est obligatoire.",select:"Veuillez sélectionner une valeur.",firstname:"Veuillez vérifier votre prénom.",lastname:"Veuillez vérifier votre nom de famille.",validemail:"Veuillez saisir une adresse e-mail valide.",email:"Adresse e-mail requise.",companyemail:"Veuillez saisir une adresse e-mail professionnelle.",tel:"Numéro de téléphone requis.",validtel:"Veuillez saisir un numéro de téléphone valide.",confirmemail:"Les adresses e-mail doivent correspondre."},ko:{required:"이 필드는 필수입니다.",select:"값을 선택해 주세요.",firstname:"이름을 확인해 주세요.",lastname:"성을 확인해 주세요.",validemail:"유효한 이메일 주소를 입력해 주세요.",email:"이메일 주소가 필요합니다.",companyemail:"회사 이메일을 입력해 주세요.",tel:"전화번호가 필요합니다.",validtel:"유효한 전화번호를 입력해 주세요.",confirmemail:"이메일 주소가 일치해야 합니다"},pt:{required:"Este campo é obrigatório.",select:"Por favor, selecione um valor.",firstname:"Por favor, verifique seu primeiro nome.",lastname:"Por favor, verifique seu sobrenome.",validemail:"Por favor, insira um endereço de e-mail válido.",email:"Endereço de e-mail é obrigatório.",companyemail:"Por favor, insira um e-mail da empresa.",tel:"Número de telefone é obrigatório.",validtel:"Por favor, insira um número de telefone válido.",confirmemail:"Os endereços de e-mail devem corresponder."},cn:{required:"此字段为必填项。",select:"请选择一个值。",firstname:"请检查您的名字。",lastname:"请检查您的姓氏。",validemail:"请输入有效的电子邮件地址。",email:"需要电子邮件地址。",companyemail:"请输入公司电子邮件。",tel:"需要电话号码。",validtel:"请输入有效的电话号码。",confirmemail:"电子邮件地址必须匹配。"},tw:{required:"此欄位為必填。",select:"請選擇一個值。",firstname:"請檢查您的名字。",lastname:"請檢查您的姓氏。",validemail:"請輸入有效的電子郵件地址。",email:"需要電子郵件地址。",companyemail:"請輸入公司電子郵件。",tel:"需要電話號碼。",validtel:"請輸入有效的電話號碼。",confirmemail:"電子郵件地址必須匹配。"},ja:{required:"このフィールドは必須です。",select:"値を選択してください。",firstname:"名前を確認してください。",lastname:"苗字を確認してください。",validemail:"有効なメールアドレスを入力してください。",email:"メールアドレスが必要です。",companyemail:"会社のメールアドレスを入力してください。",tel:"電話番号が必要です。",validtel:"有効な電話番号を入力してください。",confirmemail:"メールアドレスが一致する必要があります。"},it:{required:"Questo campo è obbligatorio.",select:"Si prega di selezionare un valore.",firstname:"Si prega di controllare il proprio nome.",lastname:"Si prega di controllare il proprio cognome.",validemail:"Si prega di inserire un indirizzo email valido.",email:"L'indirizzo email è richiesto.",companyemail:"Si prega di inserire un'email aziendale.",tel:"È richiesto un numero di telefono.",validtel:"Si prega di inserire un numero di telefono valido.",confirmemail:"Gli indirizzi email devono corrispondere."},es:{required:"Por favor introduce un valor.",select:"Por favor seleccione un valor.",firstname:"Por favor verifique su nombre.",lastname:"Por favor verifique su apellido.",validemail:"Por favor introduzca un correo válido.",email:"Se requiere un correo electrónico.",companyemail:"Por favor introduzca un correo de empresa.",tel:"Se requiere un número de teléfono.",validtel:"Por favor introduzca un número de teléfono válido.",confirmemail:"Los correos electrónicos deben coincidir."}};export{e as V}
@@ -1 +1 @@
1
- import{r as e,h as i,H as a,g as t}from"./p-ac75c7ad.js";const n=class{constructor(i){e(this,i),this.isMobile=void 0,this.selectedTab="tab-01"}handleResize(){this.isMobile=window.innerWidth<992}componentWillLoad(){this.isMobile=window.innerWidth<992}handleflTabClicked(e){this.selectedTab=e.detail.name,this.updateReadMoreInTabContents()}updateReadMoreInTabContents(){this.hostElement.shadowRoot.querySelectorAll("fl-tab-content").forEach((e=>{if(e.getAttribute("name-key")===this.selectedTab){const i=e.querySelector("ptc-readmore");i&&i.updateReadmoreStatus()}}))}render(){return i(a,null,i("div",{class:"featured-image-wrap"},i("fl-tab-image",{"name-key":"tab-01",selected:"tab-01"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway"})),i("fl-tab-image",{"name-key":"tab-02",selected:"tab-02"===this.selectedTab},i("ptc-background-video",{overlay:!1,"play-button-title":"Play","pause-button-title":"Pause","video-src":"https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4","poster-src":"https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg"})),i("fl-tab-image",{"name-key":"tab-03",selected:"tab-03"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949"})),i("fl-tab-image",{"name-key":"tab-04",selected:"tab-04"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6"}))),this.isMobile?i("div",{class:"mobile-wrapper"},i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":1,"name-key":"tab-01","tab-title":"Aerospace & Defense",selected:"tab-01"===this.selectedTab}," "),i("fl-tab-content",{"value-key":1,"name-key":"tab-01",selected:"tab-01"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-01"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":2,"name-key":"tab-02","tab-title":"Automotive",selected:"tab-02"===this.selectedTab}),i("fl-tab-content",{"value-key":2,"name-key":"tab-02",selected:"tab-02"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-02"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":3,"name-key":"tab-03","tab-title":"Electronics & High-Tech",selected:"tab-03"===this.selectedTab}),i("fl-tab-content",{"value-key":3,"name-key":"tab-03",selected:"tab-03"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-03"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":4,"name-key":"tab-04","tab-title":"Retail & Consumer Products",selected:"tab-04"===this.selectedTab}),i("fl-tab-content",{"value-key":4,"name-key":"tab-04",selected:"tab-04"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-04"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")))):i("div",{class:"non-mobile-wrapper"},i("div",{class:"header-list-wrap"},i("fl-tab-header",{"name-key":"tab-01","tab-title":"Aerospace & Defense",selected:"tab-01"===this.selectedTab}," "),i("fl-tab-header",{"name-key":"tab-02","tab-title":"Automotive",selected:"tab-02"===this.selectedTab}),i("fl-tab-header",{"name-key":"tab-03","tab-title":"Electronics & High-Tech",selected:"tab-03"===this.selectedTab}),i("fl-tab-header",{"name-key":"tab-04","tab-title":"Retail & Consumer Products",selected:"tab-04"===this.selectedTab})),i("div",{class:"content-wrap"},i("fl-tab-content",{"name-key":"tab-01",selected:"tab-01"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-01"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Aerospace & Defense"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-02",selected:"tab-02"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-02"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Automotive"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-03",selected:"tab-03"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-03"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Electronics & High-Tech"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-04",selected:"tab-04"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-04"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Retail & Consumer Products"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")))))}get hostElement(){return t(this)}};n.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);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{transition:none;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}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links 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,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links 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,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links 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,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links 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,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links 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,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.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{transition:none;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{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}: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}';export{n as ptc_featured_list}
1
+ import{r as e,h as i,H as a,g as t}from"./p-ac75c7ad.js";const n=class{constructor(i){e(this,i),this.isMobile=void 0,this.selectedTab="tab-01"}handleResize(){this.isMobile=window.innerWidth<992}componentWillLoad(){this.isMobile=window.innerWidth<992}handleflTabClicked(e){this.selectedTab=e.detail.name,this.updateReadMoreInTabContents()}updateReadMoreInTabContents(){this.hostElement.shadowRoot.querySelectorAll("fl-tab-content").forEach((e=>{if(e.getAttribute("name-key")===this.selectedTab){const i=e.querySelector("ptc-readmore");i&&i.updateReadmoreStatus()}}))}render(){return i(a,null,i("div",{class:"featured-image-wrap"},i("fl-tab-image",{"name-key":"tab-01",selected:"tab-01"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway"})),i("fl-tab-image",{"name-key":"tab-02",selected:"tab-02"===this.selectedTab},i("ptc-background-video",{overlay:!1,"play-button-title":"Play","pause-button-title":"Pause","video-src":"https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4","poster-src":"https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg"})),i("fl-tab-image",{"name-key":"tab-03",selected:"tab-03"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949"})),i("fl-tab-image",{"name-key":"tab-04",selected:"tab-04"===this.selectedTab},i("ptc-img",{"image-type":"smart-bg","image-alignment":"center","img-url":"https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6"}))),this.isMobile?i("div",{class:"mobile-wrapper"},i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":1,"name-key":"tab-01","tab-title":"Aerospace & Defense",selected:"tab-01"===this.selectedTab}," "),i("fl-tab-content",{"value-key":1,"name-key":"tab-01",selected:"tab-01"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-01"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":2,"name-key":"tab-02","tab-title":"Automotive",selected:"tab-02"===this.selectedTab}),i("fl-tab-content",{"value-key":2,"name-key":"tab-02",selected:"tab-02"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-02"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":3,"name-key":"tab-03","tab-title":"Electronics & High-Tech",selected:"tab-03"===this.selectedTab}),i("fl-tab-content",{"value-key":3,"name-key":"tab-03",selected:"tab-03"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-03"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense"))),i("div",{class:"acc-item"},i("fl-tab-header",{"value-key":4,"name-key":"tab-04","tab-title":"Retail & Consumer Products",selected:"tab-04"===this.selectedTab}),i("fl-tab-content",{"value-key":4,"name-key":"tab-04",selected:"tab-04"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-04"},i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")))):i("div",{class:"non-mobile-wrapper"},i("div",{class:"header-list-wrap"},i("fl-tab-header",{"name-key":"tab-01","tab-title":"Aerospace & Defense",selected:"tab-01"===this.selectedTab}," "),i("fl-tab-header",{"name-key":"tab-02","tab-title":"Automotive",selected:"tab-02"===this.selectedTab}),i("fl-tab-header",{"name-key":"tab-03","tab-title":"Electronics & High-Tech",selected:"tab-03"===this.selectedTab}),i("fl-tab-header",{"name-key":"tab-04","tab-title":"Retail & Consumer Products",selected:"tab-04"===this.selectedTab})),i("div",{class:"content-wrap"},i("fl-tab-content",{"name-key":"tab-01",selected:"tab-01"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-01"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Aerospace & Defense"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-02",selected:"tab-02"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-02"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Automotive"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-03",selected:"tab-03"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-03"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Electronics & High-Tech"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},"Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")),i("fl-tab-content",{"name-key":"tab-04",selected:"tab-04"===this.selectedTab,onbeforematch:()=>this.selectedTab="tab-04"},i("ptc-title",{type:"h3","title-size":"large",upperline:"no-upperline","title-margin":"margin-flush"},"Retail & Consumer Products"),i("ptc-para",{"para-line-h":"line-height-p","font-size":"small","para-margin":"margin-3"},i("ptc-readmore",{"visible-lines-custom":"7","more-text":"Read More","less-text":"Read Less","read-more-position":"left",class:"inline"},"Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")),i("a",{href:"https://www.google.com",tabIndex:0},"See More about Aerospace & Defense")))))}get hostElement(){return t(this)}};n.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);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{transition:none;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}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.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{transition:none;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{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}: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}';export{n as ptc_featured_list}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";import{R as r}from"./p-711bcdad.js";const n=class{constructor(e){t(this,e),this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.imgUrl=void 0,this.imageType="smart-bg",this.borderRadius="",this.loadMode="lazy-bg",this.styles=void 0}WindowResize(){this.setResponsiveBg()}render(){const t=this.getCssClassMap();return e(i,null,this.styles&&e("style",null,this.styles),e("div",{class:t,"data-xs":`${this.imgUrl}`,"data-sm":`${this.imgUrl}`,"data-md":`${this.imgUrl}`,"data-lg":`${this.imgUrl}`},"smart-bg"==this.imageType?e("slot",null):null))}componentDidLoad(){this.addIntersectionObserver(),this.setResponsiveBg()}componentWillUpdate(){this.addIntersectionObserver(),this.setResponsiveBg()}setResponsiveBg(){let t,e,i=(this.el||document).querySelectorAll(r.selector),a=this.getCurrentBreakPoints();for(var n=0,s=i.length;n<s;n++)t=i[n],e=t.getAttribute("data-"+a),null!==e?t.style.backgroundImage="url('"+e+"')":"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}addIntersectionObserver(){if(this.imgUrl){if("IntersectionObserver"in window){let t=(this.el||document).querySelectorAll(".lazy-bg"),e=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const i=t.target;i.classList.remove("lazy-bg"),e.unobserve(i)}}))}));t.forEach((t=>{e.observe(t)}))}}else console.log("no image!")}getCssClassMap(){return{[this.imageType]:!0,"ptc-img":!0,[this.borderRadius]:!0,[this.loadMode]:!0}}getCurrentBreakPoints(){let t,e=window.document,i=e.createElement("div");e.body.appendChild(i);for(let a=r.envs.length-1;a>=0;a--)if(t=r.envs[a],i.className="hidden-"+t,null===i.offsetParent)return e.body.removeChild(i),t;return e.body.removeChild(i),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}get el(){return a(this)}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";export{n as ptc_img}
@@ -0,0 +1 @@
1
+ import{r as t,h as n}from"./p-ac75c7ad.js";import{c as e,a as i}from"./p-112455b1.js";var r=e((function(t){t.exports=function(){var t=6e4,n=36e5,e="millisecond",i="second",r="minute",s="hour",a="day",u="week",h="month",o="quarter",c="year",d="date",l="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],e=t%100;return"["+t+(n[(e-20)%10]||n[e]||n[0])+"]"}},v=function(t,n,e){var i=String(t);return!i||i.length>=n?t:""+Array(n+1-i.length).join(e)+t},y={s:v,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),i=Math.floor(e/60),r=e%60;return(n<=0?"+":"-")+v(i,2,"0")+":"+v(r,2,"0")},m:function t(n,e){if(n.date()<e.date())return-t(e,n);var i=12*(e.year()-n.year())+(e.month()-n.month()),r=n.clone().add(i,h),s=e-r<0,a=n.clone().add(i+(s?-1:1),h);return+(-(i+(e-r)/(s?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:h,y:c,w:u,d:a,D:d,h:s,m:r,s:i,ms:e,Q:o}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",w={};w[g]=p;var x="$isDayjsObject",M=function(t){return t instanceof k||!(!t||!t[x])},b=function t(n,e,i){var r;if(!n)return g;if("string"==typeof n){var s=n.toLowerCase();w[s]&&(r=s),e&&(w[s]=e,r=s);var a=n.split("-");if(!r&&a.length>1)return t(a[0])}else{var u=n.name;w[u]=n,r=u}return!i&&r&&(g=r),r||!i&&g},D=function(t,n){if(M(t))return t.clone();var e="object"==typeof n?n:{};return e.date=t,e.args=arguments,new k(e)},Y=y;Y.l=b,Y.i=M,Y.w=function(t,n){return D(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var k=function(){function p(t){this.$L=b(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var v=p.prototype;return v.parse=function(t){this.$d=function(t){var n=t.date,e=t.utc;if(null===n)return new Date(NaN);if(Y.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var i=n.match(f);if(i){var r=i[2]-1||0,s=(i[7]||"0").substring(0,3);return e?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(n)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return Y},v.isValid=function(){return!(this.$d.toString()===l)},v.isSame=function(t,n){var e=D(t);return this.startOf(n)<=e&&e<=this.endOf(n)},v.isAfter=function(t,n){return D(t)<this.startOf(n)},v.isBefore=function(t,n){return this.endOf(n)<D(t)},v.$g=function(t,n,e){return Y.u(t)?this[n]:this.set(e,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,n){var e=this,o=!!Y.u(n)||n,l=Y.p(t),f=function(t,n){var i=Y.w(e.$u?Date.UTC(e.$y,n,t):new Date(e.$y,n,t),e);return o?i:i.endOf(a)},m=function(t,n){return Y.w(e.toDate()[t].apply(e.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(n)),e)},p=this.$W,v=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(l){case c:return o?f(1,0):f(31,11);case h:return o?f(1,v):f(0,v+1);case u:var w=this.$locale().weekStart||0,x=(p<w?p+7:p)-w;return f(o?y-x:y+(6-x),v);case a:case d:return m(g+"Hours",0);case s:return m(g+"Minutes",1);case r:return m(g+"Seconds",2);case i:return m(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,n){var u,o=Y.p(t),l="set"+(this.$u?"UTC":""),f=(u={},u[a]=l+"Date",u[d]=l+"Date",u[h]=l+"Month",u[c]=l+"FullYear",u[s]=l+"Hours",u[r]=l+"Minutes",u[i]=l+"Seconds",u[e]=l+"Milliseconds",u)[o],m=o===a?this.$D+(n-this.$W):n;if(o===h||o===c){var p=this.clone().set(d,1);p.$d[f](m),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},v.set=function(t,n){return this.clone().$set(t,n)},v.get=function(t){return this[Y.p(t)]()},v.add=function(e,o){var d,l=this;e=Number(e);var f=Y.p(o),m=function(t){var n=D(l);return Y.w(n.date(n.date()+Math.round(t*e)),l)};if(f===h)return this.set(h,this.$M+e);if(f===c)return this.set(c,this.$y+e);if(f===a)return m(1);if(f===u)return m(7);var p=(d={},d[r]=t,d[s]=n,d[i]=1e3,d)[f]||1,v=this.$d.getTime()+e*p;return Y.w(v,this)},v.subtract=function(t,n){return this.add(-1*t,n)},v.format=function(t){var n=this,e=this.$locale();if(!this.isValid())return e.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=Y.z(this),s=this.$H,a=this.$m,u=this.$M,h=e.weekdays,o=e.months,c=function(t,e,r,s){return t&&(t[e]||t(n,i))||r[e].slice(0,s)},d=function(t){return Y.s(s%12||12,t,"0")},f=e.meridiem||function(t,n,e){var i=t<12?"AM":"PM";return e?i.toLowerCase():i};return i.replace(m,(function(t,i){return i||function(t){switch(t){case"YY":return String(n.$y).slice(-2);case"YYYY":return Y.s(n.$y,4,"0");case"M":return u+1;case"MM":return Y.s(u+1,2,"0");case"MMM":return c(e.monthsShort,u,o,3);case"MMMM":return c(o,u);case"D":return n.$D;case"DD":return Y.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return c(e.weekdaysMin,n.$W,h,2);case"ddd":return c(e.weekdaysShort,n.$W,h,3);case"dddd":return h[n.$W];case"H":return String(s);case"HH":return Y.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(s,a,!0);case"A":return f(s,a,!1);case"m":return String(a);case"mm":return Y.s(a,2,"0");case"s":return String(n.$s);case"ss":return Y.s(n.$s,2,"0");case"SSS":return Y.s(n.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(e,d,l){var f,m=this,p=Y.p(d),v=D(e),y=(v.utcOffset()-this.utcOffset())*t,g=this-v,w=function(){return Y.m(m,v)};switch(p){case c:f=w()/12;break;case h:f=w();break;case o:f=w()/3;break;case u:f=(g-y)/6048e5;break;case a:f=(g-y)/864e5;break;case s:f=g/n;break;case r:f=g/t;break;case i:f=g/1e3;break;default:f=g}return l?f:Y.a(f)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return w[this.$L]},v.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),i=b(t,n,!0);return i&&(e.$L=i),e},v.clone=function(){return Y.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},p}(),S=k.prototype;return D.prototype=S,[["$ms",e],["$s",i],["$m",r],["$H",s],["$W",a],["$M",h],["$y",c],["$D",d]].forEach((function(t){S[t[1]]=function(n){return this.$g(n,t[0],t[1])}})),D.extend=function(t,n){return t.$i||(t(n,k,D),t.$i=!0),D},D.locale=b,D.isDayjs=M,D.unix=function(t){return D(1e3*t)},D.en=w[g],D.Ls=w,D.p={},D}()})),s=e((function(t){var n,e,i;t.exports=(n="minute",e=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g,function(t,r,s){var a=r.prototype;s.utc=function(t){return new r({date:t,utc:!0,args:arguments})},a.utc=function(t){var e=s(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),n):e},a.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var u=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),u.call(this,t)};var h=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else h.call(this)};var o=a.utcOffset;a.utcOffset=function(t,r){var s=this.$utils().u;if(s(t))return this.$u?0:s(this.$offset)?o.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var n=t.match(e);if(!n)return null;var r=(""+n[0]).match(i)||["-",0,0],s=60*+r[1]+ +r[2];return 0===s?0:"+"===r[0]?s:-s}(t),null===t))return this;var a=Math.abs(t)<=16?60*t:t,u=this;if(r)return u.$offset=a,u.$u=0===t,u;if(0!==t){var h=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(a+h,n)).$offset=a,u.$x.$localOffset=h}else u=this.utc();return u};var c=a.format;a.format=function(t){return c.call(this,t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var l=a.diff;a.diff=function(t,n,e){if(t&&this.$u===t.$u)return l.call(this,t,n,e);var i=this.local(),r=s(t).local();return l.call(i,r,n,e)}})})),a=e((function(t){var n,e;t.exports=(n={year:0,month:1,day:2,hour:3,minute:4,second:5},e={},function(t,i,r){var s,a=function(t,n,i){void 0===i&&(i={});var r=new Date(t),s=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=t+"|"+i,s=e[r];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[r]=s),s}(n,i);return s.formatToParts(r)},u=function(t,e){for(var i=a(t,e),s=[],u=0;u<i.length;u+=1){var h=i[u],o=n[h.type];o>=0&&(s[o]=parseInt(h.value,10))}var c=s[3],d=+t;return(r.utc(s[0]+"-"+s[1]+"-"+s[2]+" "+(24===c?0:c)+":"+s[4]+":"+s[5]+":000").valueOf()-(d-=d%1e3))/6e4},h=i.prototype;h.tz=function(t,n){void 0===t&&(t=s);var e,i=this.utcOffset(),a=this.toDate(),u=a.toLocaleString("en-US",{timeZone:t}),h=Math.round((a-new Date(u))/1e3/60),o=15*-Math.round(a.getTimezoneOffset()/15)-h;if(Number(o)){if(e=r(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(o,!0),n){var c=e.utcOffset();e=e.add(i-c,"minute")}}else e=this.utcOffset(0,n);return e.$x.$timezone=t,e},h.offsetName=function(t){var n=this.$x.$timezone||r.tz.guess(),e=a(this.valueOf(),n,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return e&&e.value};var o=h.startOf;h.startOf=function(t,n){if(!this.$x||!this.$x.$timezone)return o.call(this,t,n);var e=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return o.call(e,t,n).tz(this.$x.$timezone,!0)},r.tz=function(t,n,e){var i=e&&n,a=e||n||s,h=u(+r(),a);if("string"!=typeof t)return r(t).tz(a);var o=function(t,n,e){var i=t-60*n*1e3,r=u(i,e);if(n===r)return[i,n];var s=u(i-=60*(r-n)*1e3,e);return r===s?[i,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}(r.utc(t,i).valueOf(),h,a),c=o[1],d=r(o[0]).utcOffset(c);return d.$x.$timezone=a,d},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){s=t}})}));r.extend(s),r.extend(a);const u=class{constructor(n){t(this,n),this.countdownTitle="",this.eventTime="",this.eventTimeZone="America/New_York",this.expiredText="This event has started on",this.timeLeft={days:0,hours:0,minutes:0,seconds:0},this.isExpired=!1}componentWillLoad(){this.eventTime&&this.eventTimeZone?this.startCountdown():console.error("Both eventTime and eventTimeZone are required.")}disconnectedCallback(){clearInterval(this.timer)}transformDate(t){return r(t,"M/D/YYYY h:mm:ss A").format("YYYY-MM-DDTHH:mm:ss")}calculateTimeLeft(){const t=r(),n=this.transformDate(this.eventTime),e=r.tz(n,this.eventTimeZone).diff(t);e>0?this.timeLeft={days:Math.floor(e/864e5),hours:Math.floor(e/36e5%24),minutes:Math.floor(e/6e4%60),seconds:Math.floor(e/1e3%60)}:(this.isExpired=!0,clearInterval(this.timer))}startCountdown(){this.timer=window.setInterval((()=>this.calculateTimeLeft()),1e3)}render(){const{days:t,hours:e,minutes:i,seconds:r}=this.timeLeft;return n("div",{class:"countdown-outer"},this.countdownTitle&&n("div",{class:"event-name"},this.countdownTitle),this.isExpired?n("div",{class:"expired"},`${this.expiredText} `,new Date(this.eventTime).toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})):n("div",{id:"CDOutput",class:"countdown"},n("div",{class:"day"},n("div",null,t),n("span",null,"days")),n("div",{class:"hours"},n("div",null,e),n("span",null,"hours")),n("div",{class:"minutes"},n("div",null,i),n("span",null,"minutes")),n("div",{class:"seconds"},n("div",null,r),n("span",null,"seconds"))),n("div",{class:"cd-event-date"},new Date(this.eventTime).toLocaleString("en-US",{month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit"})," ","(",this.eventTimeZone,")"))}};u.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;z-index:10;display:flex;align-items:center;justify-content:flex-start;margin-left:0px;margin-bottom:32px}@media only screen and (min-width: 992px){:host{margin-left:var(--ptc-element-spacing-05);margin-bottom:0px}}.countdown-outer{padding:16px 4px;display:block;max-width:450px;border-radius:4px;box-shadow:0 12px 16px 0 rgba(0, 0, 0, 0.32);background-color:#20262a}@media only screen and (min-width: 480px){.countdown-outer{padding:16px 32px}}.event-name{display:flex;justify-content:center;align-items:center;margin-bottom:24px;color:white;font-family:"Raleway", sans-serif;font-size:24px;letter-spacing:0.48px;text-align:center}.cd-event-date{display:flex;justify-content:center;align-items:center;margin-top:32px;color:white;font-family:"Raleway", sans-serif;font-size:16px;letter-spacing:0.32px}.countdown{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;color:white;font-size:16px;margin:12px 0px}.day,.hours,.minutes,.seconds{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;padding:4px 4px;border-right:1px #6d707b solid}@media only screen and (min-width: 480px){.day,.hours,.minutes,.seconds{padding:4px 16px}}.day div,.hours div,.minutes div,.seconds div{line-height:56px;letter-spacing:0.96px;font-weight:600;font-size:48px;color:#fff}.day span,.hours span,.minutes span,.seconds span{display:block;font-size:16px;line-height:1.63;letter-spacing:0.32px;text-align:center;color:#fff;margin-bottom:0}.seconds{border-right:none}.expired{min-height:90px;display:flex;justify-content:center;align-items:center;text-align:center;font-weight:bold;padding:0 0px;color:var(--color-white)}';export{u as ptc_countdown}
@@ -1 +1 @@
1
- import{r as a,h as t,H as e,g as i}from"./p-ac75c7ad.js";import{o as h}from"./p-8872161f.js";const p=class{constructor(t){a(this,t)}componentDidLoad(){h(this.hostEle,".ptc-animate",!0)}render(){return t(e,null,t("div",{class:"img-wrap ptc-animate"},t("slot",{name:"featured-image"})),t("div",{class:"card-wrap ptc-animate"},t("div",{class:"card"},t("slot",{name:"card-title"}),t("slot",null))))}get hostEle(){return i(this)}};p.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}@media only screen and (min-width: 992px){:host{display:flex}}:host .img-wrap{height:400px;width:100%}@media only screen and (min-width: 992px){:host .img-wrap{height:683px;width:65%}}:host .img-wrap.in-view{animation:fadeIn 750ms ease}:host .card-wrap{display:block;z-index:1}@media only screen and (min-width: 992px){:host .card-wrap{margin-top:64px;width:35%}}:host .card-wrap.in-view .card{animation:fadeInUp 750ms ease}:host .card{padding:28px 24px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-large);box-sizing:border-box;max-width:540px;margin:-96px 16px 0 16px}@media only screen and (min-width: 992px){:host .card{padding:64px;margin:0 0 0 -120px;width:calc(100% + 120px);max-width:fit-content}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeInUp{from{transform:translate3d(0, 30%, 0)}to{transform:translate3d(0, 0, 0)}}::slotted(.cta-wrap){display:flex;grid-row-gap:16px;grid-column-gap:24px;flex-wrap:wrap;margin-top:32px}::slotted(.card-title-wrap){margin-bottom:16px}";export{p as ptc_homepage_image_feature}
1
+ import{r as a,h as t,H as e,g as i}from"./p-ac75c7ad.js";import{o as h}from"./p-77b1221e.js";const p=class{constructor(t){a(this,t)}componentDidLoad(){h(this.hostEle,".ptc-animate",!0)}render(){return t(e,null,t("div",{class:"img-wrap ptc-animate"},t("slot",{name:"featured-image"})),t("div",{class:"card-wrap ptc-animate"},t("div",{class:"card"},t("slot",{name:"card-title"}),t("slot",null))))}get hostEle(){return i(this)}};p.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}@media only screen and (min-width: 992px){:host{display:flex}}:host .img-wrap{height:400px;width:100%}@media only screen and (min-width: 992px){:host .img-wrap{height:683px;width:65%}}:host .img-wrap.in-view{animation:fadeIn 750ms ease}:host .card-wrap{display:block;z-index:1}@media only screen and (min-width: 992px){:host .card-wrap{margin-top:64px;width:35%}}:host .card-wrap.in-view .card{animation:fadeInUp 750ms ease}:host .card{padding:28px 24px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-large);box-sizing:border-box;max-width:540px;margin:-96px 16px 0 16px}@media only screen and (min-width: 992px){:host .card{padding:64px;margin:0 0 0 -120px;width:calc(100% + 120px);max-width:fit-content}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeInUp{from{transform:translate3d(0, 30%, 0)}to{transform:translate3d(0, 0, 0)}}::slotted(.cta-wrap){display:flex;grid-row-gap:16px;grid-column-gap:24px;flex-wrap:wrap;margin-top:32px}::slotted(.card-title-wrap){margin-bottom:16px}";export{p as ptc_homepage_image_feature}
@@ -0,0 +1 @@
1
+ import{r as o,c as i,h as e,H as r,g as t}from"./p-ac75c7ad.js";const a=class{constructor(e){o(this,e),this.readMoreTrigger=i(this,"readMoreTrigger",7),this.displayText=i(this,"displayText",7),this.maxCharacters=100,this.readMoreText="Read More",this.readLessText="Read Less",this.maxLines=void 0,this.contentStyles=void 0,this.trackerId="",this.expanded=!1,this.fullText="",this.truncated=!1}componentWillLoad(){requestAnimationFrame((()=>{let o=this.el.shadowRoot.querySelector("slot");this.processText(o)}))}slotChangeHandler(o){this.processText(o.target)}parseStyles(o){return o.split(";").reduce(((o,i)=>{const[e,r]=i.split(":").map((o=>o.trim()));return e&&r&&(o[e]=r),console.log("styleObj: "+o),o}),{})}processText(o){if(o){const i=o.assignedNodes({flatten:!0});this.fullText=i.map((o=>o.textContent)).join("").trim(),this.maxLines?this.truncateByLines():this.fullText.length>this.maxCharacters&&(this.truncated=!0)}this.displayText.emit(this.truncated)}truncateByLines(){const o=document.createElement("p");o.style.visibility="hidden",o.style.position="fixed",o.innerText=this.fullText,document.body.appendChild(o);const i=parseFloat(window.getComputedStyle(o).lineHeight);console.log("lineHeight: "+i);const e=i*this.maxLines;o.style.maxHeight=`${e}px`,o.style.overflow="hidden",o.scrollHeight>e&&(this.truncated=!0),document.body.removeChild(o)}getContent(){if(this.expanded)return this.fullText;if(this.maxLines){const o=document.createElement("p");o.style.visibility="hidden",o.style.position="fixed",o.innerText=this.fullText,document.body.appendChild(o);const i=parseFloat(window.getComputedStyle(o).lineHeight),e=i*this.maxLines;console.log("lineHeight: "+i),o.style.maxHeight=`${e}px`,o.style.overflow="hidden";let r="";for(let i=0;i<this.fullText.length;i++)if(o.innerText=this.fullText.slice(0,i)+"...",o.scrollHeight>e){r=this.fullText.slice(0,i-1)+"...";break}return document.body.removeChild(o),r}return this.fullText.substring(0,this.maxCharacters)+"..."}getLabel(){return this.expanded?this.readLessText:this.readMoreText}toggleExpand(){this.expanded=!this.expanded,this.readMoreTrigger.emit(this.expanded)}handleKeyDown(o){"Enter"===o.key&&this.toggleExpand()}render(){return e(r,null,this.contentStyles&&e("style",null,this.contentStyles),e("p",{class:"description"},this.truncated?this.getContent():e("slot",null)),this.truncated?e("label",{class:"label mf-listen",onClick:()=>this.toggleExpand(),id:this.trackerId,tabindex:"0",onKeyDown:o=>this.handleKeyDown(o)},this.getLabel()):null)}get el(){return t(this)}};a.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);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{transition:none;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}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links 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,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.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{transition:none;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{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block}:host .description{display:inline}:host .label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .label::before{content:"";padding-left:8px}:host .label:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}';export{a as ptc_readmore_v3}