@ptcwebops/ptcw-design 0.8.3 → 0.8.6

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 (360) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
  3. package/dist/cjs/icon-asset.cjs.entry.js +44 -44
  4. package/dist/cjs/{index-8745a0a3.js → index-c27e52b2.js} +39 -1
  5. package/dist/cjs/list-item.cjs.entry.js +20 -20
  6. package/dist/cjs/loader.cjs.js +4 -3
  7. package/dist/cjs/lottie-player.cjs.entry.js +16724 -13413
  8. package/dist/cjs/max-width-container.cjs.entry.js +40 -0
  9. package/dist/cjs/my-component.cjs.entry.js +16 -16
  10. package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
  11. package/dist/cjs/ptc-accordion.cjs.entry.js +36 -36
  12. package/dist/cjs/ptc-announcement.cjs.entry.js +51 -52
  13. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +13 -13
  14. package/dist/cjs/ptc-button.cjs.entry.js +34 -35
  15. package/dist/cjs/ptc-card-bottom.cjs.entry.js +37 -37
  16. package/dist/cjs/ptc-card-content.cjs.entry.js +51 -41
  17. package/dist/cjs/ptc-card-wrapper.cjs.entry.js +69 -36
  18. package/dist/cjs/ptc-card_6.cjs.entry.js +444 -456
  19. package/dist/cjs/ptc-checkbox.cjs.entry.js +34 -34
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +347 -347
  21. package/dist/cjs/ptc-container.cjs.entry.js +33 -33
  22. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  23. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +47 -48
  24. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +39 -39
  25. package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
  26. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
  27. package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
  28. package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
  29. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +37 -37
  30. package/dist/cjs/ptc-link.cjs.entry.js +30 -30
  31. package/dist/cjs/ptc-list.cjs.entry.js +50 -51
  32. package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
  33. package/dist/cjs/ptc-media-card.cjs.entry.js +32 -0
  34. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +9 -9
  35. package/dist/cjs/ptc-minimized-header.cjs.entry.js +12 -12
  36. package/dist/cjs/ptc-mobile-select.cjs.entry.js +472 -767
  37. package/dist/cjs/ptc-modal.cjs.entry.js +144 -144
  38. package/dist/cjs/ptc-overlay.cjs.entry.js +25 -22
  39. package/dist/cjs/ptc-pagenation.cjs.entry.js +106 -106
  40. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  41. package/dist/cjs/ptc-pricing-block.cjs.entry.js +17 -17
  42. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  43. package/dist/cjs/ptc-readmore_2.cjs.entry.js +106 -62
  44. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
  45. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
  46. package/dist/cjs/ptc-social-share.cjs.entry.js +60 -60
  47. package/dist/cjs/ptc-span.cjs.entry.js +20 -20
  48. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
  49. package/dist/cjs/ptc-svg-btn.cjs.entry.js +74 -74
  50. package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
  51. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +27 -22
  52. package/dist/cjs/ptc-title.cjs.entry.js +69 -67
  53. package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
  54. package/dist/cjs/ptcw-design.cjs.js +7 -3
  55. package/dist/cjs/tab-content.cjs.entry.js +28 -28
  56. package/dist/cjs/tab-header.cjs.entry.js +46 -46
  57. package/dist/cjs/{utils-2ac2a528.js → utils-5245e89c.js} +79 -79
  58. package/dist/collection/collection-manifest.json +4 -2
  59. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  60. package/dist/collection/components/icon-asset/icon-asset.css +6 -6
  61. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  62. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  63. package/dist/collection/components/icon-asset/media/designer.svg +379 -379
  64. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  65. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  66. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  67. package/dist/collection/components/list-item/list-item.js +107 -107
  68. package/dist/collection/components/max-width-container/max-width-container.css +7 -0
  69. package/dist/collection/components/max-width-container/max-width-container.js +80 -0
  70. package/dist/collection/components/my-component/my-component.css +3 -3
  71. package/dist/collection/components/my-component/my-component.js +82 -82
  72. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
  73. package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
  74. package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -239
  75. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +22 -22
  76. package/dist/collection/components/ptc-button/ptc-button.js +263 -264
  77. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  78. package/dist/collection/components/ptc-card/ptc-card.js +344 -344
  79. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +27 -4
  80. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  81. package/dist/collection/components/ptc-card-content/ptc-card-content.css +11 -2
  82. package/dist/collection/components/ptc-card-content/ptc-card-content.js +186 -137
  83. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +193 -151
  84. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +118 -118
  85. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
  86. package/dist/collection/components/ptc-container/ptc-container.js +120 -120
  87. package/dist/collection/components/ptc-date/ptc-date.js +190 -190
  88. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  89. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  90. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +182 -183
  91. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
  92. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  93. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  94. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  95. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  96. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
  97. package/dist/collection/components/ptc-img/ptc-img.js +293 -296
  98. package/dist/collection/components/ptc-link/ptc-link.css +4 -0
  99. package/dist/collection/components/ptc-link/ptc-link.js +203 -203
  100. package/dist/collection/components/ptc-list/ptc-list.js +99 -100
  101. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  102. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  103. package/dist/collection/components/ptc-media-card/ptc-media-card.css +57 -0
  104. package/dist/collection/components/ptc-media-card/ptc-media-card.js +213 -0
  105. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  106. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  107. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +41 -32
  108. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  109. package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
  110. package/dist/collection/components/ptc-overlay/ptc-overlay.css +24 -0
  111. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -105
  112. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +322 -322
  113. package/dist/collection/components/ptc-para/ptc-para.js +224 -232
  114. package/dist/collection/components/ptc-picture/ptc-picture.js +450 -452
  115. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +60 -60
  116. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +49 -49
  117. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  118. package/dist/collection/components/ptc-readmore/ptc-readmore.css +58 -3
  119. package/dist/collection/components/ptc-readmore/ptc-readmore.js +277 -129
  120. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  121. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  122. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  123. package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
  124. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -322
  125. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -96
  126. package/dist/collection/components/ptc-span/ptc-span.css +7 -0
  127. package/dist/collection/components/ptc-span/ptc-span.js +87 -87
  128. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  129. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +72 -72
  130. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +155 -155
  131. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +153 -2
  132. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +164 -123
  133. package/dist/collection/components/ptc-title/ptc-title.css +20 -3
  134. package/dist/collection/components/ptc-title/ptc-title.js +310 -291
  135. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +10 -0
  136. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +204 -153
  137. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  138. package/dist/collection/components/tab-content/tab-content.js +84 -84
  139. package/dist/collection/components/tab-header/tab-header.js +136 -136
  140. package/dist/collection/index.js +1 -1
  141. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  142. package/dist/collection/media/svg-imgs/close.svg +10 -10
  143. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  144. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  145. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  146. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  147. package/dist/collection/media/svg-imgs/union.svg +3 -3
  148. package/dist/collection/utils/component.js +3 -3
  149. package/dist/collection/utils/interfaces.js +11 -11
  150. package/dist/collection/utils/utils.js +81 -81
  151. package/dist/custom-elements/index.d.ts +12 -0
  152. package/dist/custom-elements/index.js +20160 -17009
  153. package/dist/esm/dropdown-item.entry.js +11 -11
  154. package/dist/esm/icon-asset.entry.js +44 -44
  155. package/dist/esm/{index-0c73b51e.js → index-40bc29fc.js} +39 -2
  156. package/dist/esm/list-item.entry.js +20 -20
  157. package/dist/esm/loader.js +4 -3
  158. package/dist/esm/lottie-player.entry.js +16724 -13413
  159. package/dist/esm/max-width-container.entry.js +36 -0
  160. package/dist/esm/my-component.entry.js +16 -16
  161. package/dist/esm/polyfills/core-js.js +0 -0
  162. package/dist/esm/polyfills/css-shim.js +1 -1
  163. package/dist/esm/polyfills/dom.js +0 -0
  164. package/dist/esm/polyfills/es5-html-element.js +0 -0
  165. package/dist/esm/polyfills/index.js +0 -0
  166. package/dist/esm/polyfills/system.js +0 -0
  167. package/dist/esm/ptc-accordion-item.entry.js +84 -84
  168. package/dist/esm/ptc-accordion.entry.js +36 -36
  169. package/dist/esm/ptc-announcement.entry.js +51 -52
  170. package/dist/esm/ptc-breadcrumb.entry.js +13 -13
  171. package/dist/esm/ptc-button.entry.js +34 -35
  172. package/dist/esm/ptc-card-bottom.entry.js +37 -37
  173. package/dist/esm/ptc-card-content.entry.js +51 -41
  174. package/dist/esm/ptc-card-wrapper.entry.js +69 -36
  175. package/dist/esm/ptc-card_6.entry.js +444 -456
  176. package/dist/esm/ptc-checkbox.entry.js +34 -34
  177. package/dist/esm/ptc-collapse-list.entry.js +347 -347
  178. package/dist/esm/ptc-container.entry.js +33 -33
  179. package/dist/esm/ptc-dropdown.entry.js +65 -65
  180. package/dist/esm/ptc-dynamic-card.entry.js +47 -48
  181. package/dist/esm/ptc-ellipsis-dropdown.entry.js +39 -39
  182. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  183. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  184. package/dist/esm/ptc-hero.entry.js +19 -19
  185. package/dist/esm/ptc-icon-list.entry.js +22 -22
  186. package/dist/esm/ptc-icon-minimize.entry.js +37 -37
  187. package/dist/esm/ptc-link.entry.js +30 -30
  188. package/dist/esm/ptc-list.entry.js +50 -51
  189. package/dist/esm/ptc-lottie.entry.js +11 -11
  190. package/dist/esm/ptc-media-card.entry.js +28 -0
  191. package/dist/esm/ptc-minimized-footer.entry.js +9 -9
  192. package/dist/esm/ptc-minimized-header.entry.js +12 -12
  193. package/dist/esm/ptc-mobile-select.entry.js +472 -767
  194. package/dist/esm/ptc-modal.entry.js +144 -144
  195. package/dist/esm/ptc-overlay.entry.js +25 -22
  196. package/dist/esm/ptc-pagenation.entry.js +106 -106
  197. package/dist/esm/ptc-previous-url.entry.js +11 -11
  198. package/dist/esm/ptc-pricing-block.entry.js +17 -17
  199. package/dist/esm/ptc-quote.entry.js +24 -24
  200. package/dist/esm/ptc-readmore_2.entry.js +106 -62
  201. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  202. package/dist/esm/ptc-shopping-cart.entry.js +51 -51
  203. package/dist/esm/ptc-social-share.entry.js +60 -60
  204. package/dist/esm/ptc-span.entry.js +20 -20
  205. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  206. package/dist/esm/ptc-svg-btn.entry.js +74 -74
  207. package/dist/esm/ptc-tab-list.entry.js +125 -125
  208. package/dist/esm/ptc-text-copy-with-background.entry.js +27 -22
  209. package/dist/esm/ptc-title.entry.js +69 -67
  210. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  211. package/dist/esm/ptcw-design.js +4 -3
  212. package/dist/esm/tab-content.entry.js +28 -28
  213. package/dist/esm/tab-header.entry.js +46 -46
  214. package/dist/esm/{utils-2dbb41dc.js → utils-646cc62f.js} +79 -79
  215. package/dist/ptcw-design/media/brands.svg +1381 -1381
  216. package/dist/ptcw-design/media/designer.svg +379 -379
  217. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  218. package/dist/ptcw-design/media/regular.svg +463 -463
  219. package/dist/ptcw-design/media/solid.svg +3013 -3013
  220. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  221. package/dist/ptcw-design/{p-1964f1f4.entry.js → p-001a0b9f.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-14d6a40c.entry.js → p-0099616c.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-5d585b54.entry.js → p-013f5355.entry.js} +1 -1
  224. package/dist/ptcw-design/p-048502c2.entry.js +1 -0
  225. package/dist/ptcw-design/{p-f2cb8bc4.entry.js → p-049964f4.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-c4e20f99.entry.js → p-0f937cff.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-8637cefc.entry.js → p-13b0d8c3.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-e6ce8733.entry.js → p-159d9a80.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-97e00dfa.entry.js → p-1def8f3c.entry.js} +1 -1
  230. package/dist/ptcw-design/p-1e92301d.entry.js +1 -0
  231. package/dist/ptcw-design/p-2ac518f1.entry.js +1 -0
  232. package/dist/ptcw-design/{p-8bb41e7c.entry.js → p-2cc97b88.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-2aeb4687.entry.js → p-2de0f980.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-d56b953e.entry.js → p-2eb5ef88.entry.js} +1 -1
  235. package/dist/ptcw-design/p-30007bf3.entry.js +1 -0
  236. package/dist/ptcw-design/{p-82472007.entry.js → p-31fbba12.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-e75dc9f4.entry.js → p-31ffd030.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-adcc9906.entry.js → p-329cc205.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-4da43d5f.entry.js → p-34db9e46.entry.js} +1 -1
  240. package/dist/ptcw-design/p-446df289.entry.js +1 -0
  241. package/dist/ptcw-design/p-450e9eb0.entry.js +1 -0
  242. package/dist/ptcw-design/p-4fbef630.entry.js +1 -0
  243. package/dist/ptcw-design/{p-6131b9a1.entry.js → p-50c88717.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-5bb7354a.entry.js → p-51db2e2e.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-a749c353.entry.js → p-586d9c9d.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-00c1343b.entry.js → p-5c295f08.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-867c711f.entry.js → p-5dc89a74.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-c3f73953.entry.js → p-62cabff9.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-1b0d15aa.entry.js → p-63fab352.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-6065a1d1.entry.js → p-673121e2.entry.js} +1 -1
  251. package/dist/ptcw-design/p-679be000.entry.js +1 -0
  252. package/dist/ptcw-design/p-67a9ed01.entry.js +1 -0
  253. package/dist/ptcw-design/p-8d48362b.entry.js +1 -0
  254. package/dist/ptcw-design/{p-0aa91ac2.entry.js → p-9024a899.entry.js} +1 -1
  255. package/dist/ptcw-design/p-91512aeb.entry.js +1 -0
  256. package/dist/ptcw-design/{p-3f85b469.entry.js → p-96883fd7.entry.js} +1 -1
  257. package/dist/ptcw-design/p-9fb2ab8c.js +2 -0
  258. package/dist/ptcw-design/p-b4d92914.entry.js +1 -0
  259. package/dist/ptcw-design/p-b721664f.entry.js +1 -0
  260. package/dist/ptcw-design/{p-88e1778e.entry.js → p-bc0181f3.entry.js} +1 -1
  261. package/dist/ptcw-design/p-c2275f57.entry.js +1 -0
  262. package/dist/ptcw-design/{p-a05fe3d0.entry.js → p-c325283e.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-5005c698.entry.js → p-c3621686.entry.js} +1 -1
  264. package/dist/ptcw-design/p-c693e1c5.entry.js +1 -0
  265. package/dist/ptcw-design/{p-1aa4d596.entry.js → p-c7247cc9.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-8808ecc8.entry.js → p-ce3627b8.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-e87bc2cd.entry.js → p-d24446b2.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-8bb7da0b.entry.js → p-d625bb90.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-60843852.entry.js → p-dcf0d341.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-c4107b5d.entry.js → p-de6b444f.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-afea5c1f.entry.js → p-e353a8e8.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-36a453d4.entry.js → p-e66a28aa.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-21e27f2b.entry.js → p-fed5edd3.entry.js} +1 -1
  274. package/dist/ptcw-design/ptcw-design.css +1 -1
  275. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  276. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  277. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  278. package/dist/types/components/list-item/list-item.d.ts +8 -8
  279. package/dist/types/components/max-width-container/max-width-container.d.ts +9 -0
  280. package/dist/types/components/my-component/my-component.d.ts +16 -16
  281. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  282. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  283. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
  284. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  285. package/dist/types/components/ptc-button/ptc-button.d.ts +56 -56
  286. package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
  287. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  288. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +18 -16
  289. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +23 -18
  290. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +11 -11
  291. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
  292. package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
  293. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  294. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  295. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
  296. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  297. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  298. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  299. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  300. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  301. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
  302. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  303. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  304. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  305. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  306. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -0
  307. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  308. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  309. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  310. package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
  311. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -20
  312. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +27 -27
  313. package/dist/types/components/ptc-para/ptc-para.d.ts +43 -43
  314. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  315. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
  316. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +5 -5
  317. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  318. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +56 -27
  319. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  320. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  321. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
  322. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  323. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  324. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  325. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  326. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +15 -15
  327. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -25
  328. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -50
  329. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +38 -34
  330. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  331. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  332. package/dist/types/components/tab-header/tab-header.d.ts +14 -14
  333. package/dist/types/components.d.ts +326 -93
  334. package/dist/types/global.d.ts +1072 -1072
  335. package/dist/types/index.d.ts +1 -1
  336. package/dist/types/stencil-public-runtime.d.ts +48 -3
  337. package/dist/types/utils/component.d.ts +1 -1
  338. package/dist/types/utils/interfaces.d.ts +31 -31
  339. package/dist/types/utils/utils.d.ts +4 -4
  340. package/loader/index.d.ts +9 -0
  341. package/package.json +61 -61
  342. package/readme.md +18 -10
  343. package/dist/cjs/_commonjsHelpers-119ffc74.js +0 -17
  344. package/dist/esm/_commonjsHelpers-8b28c6fa.js +0 -15
  345. package/dist/ptcw-design/p-009001dc.js +0 -2
  346. package/dist/ptcw-design/p-1c589f8f.entry.js +0 -1
  347. package/dist/ptcw-design/p-2ca0340b.entry.js +0 -1
  348. package/dist/ptcw-design/p-2dcea9db.entry.js +0 -1
  349. package/dist/ptcw-design/p-557e8e2a.entry.js +0 -1
  350. package/dist/ptcw-design/p-5f782173.entry.js +0 -1
  351. package/dist/ptcw-design/p-67af0abd.entry.js +0 -1
  352. package/dist/ptcw-design/p-88fc4011.entry.js +0 -1
  353. package/dist/ptcw-design/p-9b34acfa.entry.js +0 -1
  354. package/dist/ptcw-design/p-a14a99ce.entry.js +0 -1
  355. package/dist/ptcw-design/p-b5366d41.entry.js +0 -1
  356. package/dist/ptcw-design/p-b68038b5.js +0 -1
  357. package/dist/ptcw-design/p-c095d100.entry.js +0 -7
  358. package/dist/ptcw-design/p-ca9efc42.entry.js +0 -1
  359. package/dist/ptcw-design/p-e38a57ce.entry.js +0 -1
  360. /package/dist/ptcw-design/{p-5e98555a.js → p-e121ff2a.js} +0 -0
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-009001dc.js";const c=class{constructor(s){t(this,s),this.multiple=!1}componentWillLoad(){this.items=this.el.querySelectorAll(":scope > ptc-accordion-item"),this.multiple||(this.activeItem=this.el.querySelector(":scope > ptc-accordion-item[active]"),this.activeItem&&this.activeItem.open(),this.closeNonActive())}openHandler(t){t.stopPropagation(),this.multiple||(this.activeItem=t.target,this.closeNonActive())}closeNonActive(){this.items.forEach((t=>{t.isEqualNode(this.activeItem)||t.close()}))}render(){return s(i,null,s("slot",null))}get el(){return o(this)}};c.style=":host{--ptc-accordion-item-body-max-height:100vh}";export{c as ptc_accordion}
1
+ import{r as t,h as s,H as i,g as o}from"./p-9fb2ab8c.js";const c=class{constructor(s){t(this,s),this.multiple=!1}componentWillLoad(){this.items=this.el.querySelectorAll(":scope > ptc-accordion-item"),this.multiple||(this.activeItem=this.el.querySelector(":scope > ptc-accordion-item[active]"),this.activeItem&&this.activeItem.open(),this.closeNonActive())}openHandler(t){t.stopPropagation(),this.multiple||(this.activeItem=t.target,this.closeNonActive())}closeNonActive(){this.items.forEach((t=>{t.isEqualNode(this.activeItem)||t.close()}))}render(){return s(i,null,s("slot",null))}get el(){return o(this)}};c.style=":host{--ptc-accordion-item-body-max-height:100vh}";export{c as ptc_accordion}
@@ -1 +1 @@
1
- import{r as t,h as r,H as e}from"./p-009001dc.js";const o=class{constructor(r){t(this,r),this.heroType=void 0,this.bgUrl=void 0,this.contentAlignment=void 0}render(){const t=this.getCssClassMap();return r(e,{class:t},r("div",{class:"ptc-hero-wrapper"},this.bgUrl?r("ptc-img",{"image-type":"smart-bg","img-url":this.bgUrl,"size-xs":"600x450","size-sm":"1108x658","size-md":"1920x1080","size-lg":"2700x1500"},"jumbotron"==this.heroType?[r("ptc-overlay",{"filter-color":"black-1"}),r("ptc-overlay",{"filter-color":"black-2"})]:"footer-cta"==this.heroType?r("ptc-overlay",{"filter-color":"black-3"}):null,r("slot",null)):r("slot",null)))}getCssClassMap(){return{[this.heroType]:!!this.heroType,[this.contentAlignment]:!!this.contentAlignment}}};o.style=":host{display:block;position:relative}:host(.jumbotron) .ptc-hero-wrapper,:host(.footer-cta) .ptc-hero-wrapper{position:relative}:host(.footer-cta) .ptc-hero-wrapper div>*{text-align:center}:host(.left) .ptc-hero-wrapper{text-align:left}:host(.center) .ptc-hero-wrapper{text-align:center}:host(.right) .ptc-hero-wrapper{text-align:right}";export{o as ptc_hero}
1
+ import{r as t,h as r,H as e}from"./p-9fb2ab8c.js";const o=class{constructor(r){t(this,r),this.heroType=void 0,this.bgUrl=void 0,this.contentAlignment=void 0}render(){const t=this.getCssClassMap();return r(e,{class:t},r("div",{class:"ptc-hero-wrapper"},this.bgUrl?r("ptc-img",{"image-type":"smart-bg","img-url":this.bgUrl,"size-xs":"600x450","size-sm":"1108x658","size-md":"1920x1080","size-lg":"2700x1500"},"jumbotron"==this.heroType?[r("ptc-overlay",{"filter-color":"black-1"}),r("ptc-overlay",{"filter-color":"black-2"})]:"footer-cta"==this.heroType?r("ptc-overlay",{"filter-color":"black-3"}):null,r("slot",null)):r("slot",null)))}getCssClassMap(){return{[this.heroType]:!!this.heroType,[this.contentAlignment]:!!this.contentAlignment}}};o.style=":host{display:block;position:relative}:host(.jumbotron) .ptc-hero-wrapper,:host(.footer-cta) .ptc-hero-wrapper{position:relative}:host(.footer-cta) .ptc-hero-wrapper div>*{text-align:center}:host(.left) .ptc-hero-wrapper{text-align:left}:host(.center) .ptc-hero-wrapper{text-align:center}:host(.right) .ptc-hero-wrapper{text-align:right}";export{o as ptc_hero}
@@ -1 +1 @@
1
- import{r as t,h as n,H as i,g as e}from"./p-009001dc.js";const s=class{constructor(n){t(this,n)}handleResize(){this.setHostLocation()}componentWillLoad(){this.setHostLocation()}render(){return n(i,null,n("div",{class:"icon-container"},n("slot",null)))}setHostLocation(){let t=window.innerWidth>0?window.innerWidth:screen.width,n=this.el;document.querySelector("ptc-sticky-icons")&&(n.parentElement.style.position="relative",t<992?(n.parentElement.appendChild(n),n.parentElement.style.paddingRight="0px"):(n.parentElement.prepend(n),n.parentElement.style.paddingRight="40px"))}get el(){return e(this)}};s.style="@media only screen and (min-width: 992px){:host{z-index:105;margin:auto;position:sticky;top:10%;right:0;float:right;margin-right:-40px}}:host .icon-container{padding:var(--ptc-element-spacing-03) 0}@media only screen and (min-width: 992px){:host .icon-container{padding:0 0 0 var(--ptc-element-spacing-03);display:flex;flex-direction:column}}:host ::slotted(ptc-social-share){margin:0 var(--ptc-element-spacing-03) 0 0}@media only screen and (min-width: 992px){:host ::slotted(ptc-social-share){margin:0 0 var(--ptc-element-spacing-03) 0;display:flex;align-items:center;justify-content:center}}";export{s as ptc_sticky_icons}
1
+ import{r as t,h as n,H as i,g as e}from"./p-9fb2ab8c.js";const s=class{constructor(n){t(this,n)}handleResize(){this.setHostLocation()}componentWillLoad(){this.setHostLocation()}render(){return n(i,null,n("div",{class:"icon-container"},n("slot",null)))}setHostLocation(){let t=window.innerWidth>0?window.innerWidth:screen.width,n=this.el;document.querySelector("ptc-sticky-icons")&&(n.parentElement.style.position="relative",t<992?(n.parentElement.appendChild(n),n.parentElement.style.paddingRight="0px"):(n.parentElement.prepend(n),n.parentElement.style.paddingRight="40px"))}get el(){return e(this)}};s.style="@media only screen and (min-width: 992px){:host{z-index:105;margin:auto;position:sticky;top:10%;right:0;float:right;margin-right:-40px}}:host .icon-container{padding:var(--ptc-element-spacing-03) 0}@media only screen and (min-width: 992px){:host .icon-container{padding:0 0 0 var(--ptc-element-spacing-03);display:flex;flex-direction:column}}:host ::slotted(ptc-social-share){margin:0 var(--ptc-element-spacing-03) 0 0}@media only screen and (min-width: 992px){:host ::slotted(ptc-social-share){margin:0 0 var(--ptc-element-spacing-03) 0;display:flex;align-items:center;justify-content:center}}";export{s as ptc_sticky_icons}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,g as a}from"./p-9fb2ab8c.js";const r=class{constructor(i){t(this,i),this.cardType="custom-card",this.cardHref=void 0,this.target="_self",this.rel=void 0,this.hasImage=!1,this.hasVideo=!1,this.hasLottie=!1,this.heading=void 0,this.headingTransform="none",this.cardDate=void 0,this.styles=void 0,this.ribbonText=void 0,this.eventType=void 0,this.cardLogo=void 0,this.titleLineCutOff=void 0}render(){const t=this.cardHref?"a":"div",a=this.getCssClassMap(),r=this.getLineCuttoff();let o="";return this.titleLineCutOff&&this.titleLineCutOff>0&&(o=" clamp-title"),i(e,Object.assign({},this.cardType?{class:this.cardType}:{}),this.styles&&i("style",null,this.styles),i("div",{class:"card-border",part:"border-wrapper"},i(t,Object.assign({class:a,part:"card-layout"},this.cardHref?{href:this.cardHref}:{},this.target&&this.cardHref?{target:this.target}:{},this.rel&&this.cardHref?{rel:this.rel}:{},this.ribbonText?{rel:this.ribbonText}:{}),this.hasImage||this.hasLottie||this.hasVideo?i("div",{class:"card-media",part:"media-wrapper"},this.getMediaSlot?i("slot",{name:this.getMediaSlot()}):null):null,this.ribbonText&&"resource-center-card"==this.cardType?i("div",{class:"ribbon-text"},`${this.ribbonText}`):null,i("div",{class:"card-body",part:"body-wrapper"},!this.cardDate||"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType?null:i("div",{class:"card-date-text"},this.eventType?i("span",{class:"small"},`${this.cardDate}`,"   |   ",`${this.eventType}`):i("span",{class:"small"},`${this.cardDate}`)),"case-studies-card"===this.cardType?Object.assign({},this.cardLogo?i("div",{class:"card-logo-container"},i("ptc-picture",{alt:"","object-fit":"contain",src:this.cardLogo,height:"40"})):i("div",{class:"card-logo-none"})):null,i("slot",{name:"slot-before-heading"}),this.heading?[i("h3",{class:`ptc-h3 ${this.headingTransform}${o}`,style:r,part:"card-heading"},this.heading),i("slot",{name:"slot-after-heading"})]:null,i("slot",{name:"slot-description"}),this.cardDate&&"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType&&"hightlight-card"!==this.cardType?i("ptc-date",{"date-string":`${this.cardDate}`,"date-styles":"span{color:#40434a;font-size:var(--ptc-font-size-x-small);margin-top:var(--ptc-element-spacing-06);display:inline-block;}"}):null))))}getCssClassMap(){return{"card-layout":!0,"link-wrapper":!!this.cardType}}getMediaSlot(){return this.hasLottie?"slot-lottie":this.hasVideo?"slot-video":this.hasImage?"slot-image":null}getLineCuttoff(){let t;return this.titleLineCutOff&&this.titleLineCutOff>0&&(t={"-webkit-line-clamp":`${this.titleLineCutOff}`}),t}};r.style=':host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:"";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:"";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc(-1 * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:487px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card) .card-border{width:432px;height:487px}}@media (min-width: 768px){:host(.listing-card) .card-border{margin-left:4px;margin-right:4px;width:348px;height:456px}}@media (min-width: 992px){:host(.listing-card) .card-border{width:288px;height:440px}}@media (min-width: 1200px){:host(.listing-card) .card-border{width:260px;height:420px}}@media (min-width: 1440px){:host(.listing-card) .card-border{width:260px;height:420px}}:host(.listing-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:288px}@media (min-width: 768px){:host(.listing-card) .card-media .smart-img{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media .smart-img{height:170px}}@media (min-width: 768px){:host(.listing-card) .card-media{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media{height:170px}}:host(.listing-card) .card-body{padding:16px 20px 0px 20px}:host(.listing-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:220px}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card-horizontal) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card-horizontal) .card-border{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-border{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{width:779px;height:170px}}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:325px;height:220px}@media (min-width: 480px){:host(.listing-card-horizontal) .card-layout{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-layout{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-layout{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-layout{width:779px;height:170px}}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:325px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium);display:none}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:325px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media .smart-img{width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media .smart-img{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media .smart-img{width:260px;height:170px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media{display:block;width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media{width:260px;height:170px}}:host(.listing-card-horizontal) .card-body{padding:16px 24px 0px 24px}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body{width:505px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body{padding:24px 38px 0px 31px}}:host(.listing-card-horizontal) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card-horizontal) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block;margin-top:0rem;margin-block-start:0rem}@media only screen and (min-width: 1200px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:20px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:24px}}@media only screen and (min-width: 1600px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:32px}}:host(.listing-card-horizontal) .card-body .small{font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:4px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:8px}}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:19px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:19px;margin-top:0rem;margin-block-start:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p{margin-block-start:0rem}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-weight:400;font-size:14px;line-height:16px}}:host(.resource-center-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:442px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.resource-center-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.resource-center-card) .card-border:hover .card-media{background:var(--color-white)}:host(.resource-center-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.resource-center-card) .card-border{width:433px;height:442px}}@media (min-width: 768px){:host(.resource-center-card) .card-border{width:336px;height:396px}}@media (min-width: 992px){:host(.resource-center-card) .card-border{width:287px;height:396px}}@media (min-width: 1200px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media (min-width: 1440px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media only screen and (min-width: 768px){:host(.resource-center-card) .card-border{margin-left:4px;margin-right:4px}}:host(.resource-center-card) .card-layout{display:block;position:relative}:host(.resource-center-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-top:24px;background-color:var(--color-white);padding:4px 24px;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small);max-width:70%;max-height:20px;overflow:hidden}:host(.resource-center-card) .link-wrapper{outline:none;text-decoration:none}:host(.resource-center-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.resource-center-card) .card-media{width:100%;height:250px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.resource-center-card) .card-media .smart-img{height:250px}@media (min-width: 480px){:host(.resource-center-card) .card-media .smart-img{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media .smart-img{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media .smart-img{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 480px){:host(.resource-center-card) .card-media{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media{height:173px}}:host(.resource-center-card) .card-body{padding:14px 20px 0px 20px}:host(.resource-center-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.resource-center-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.resource-center-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) p{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) span{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.case-studies-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:447px;display:flex;flex-direction:row;margin-bottom:1rem}:host(.case-studies-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.case-studies-card) .card-border:hover .card-media{background:var(--color-white)}:host(.case-studies-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.case-studies-card) .card-border{width:431px;height:536px}}@media (min-width: 768px){:host(.case-studies-card) .card-border{width:335px;height:452px}}@media (min-width: 992px){:host(.case-studies-card) .card-border{width:288px;height:452px}}@media (min-width: 1200px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media (min-width: 1440px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media only screen and (min-width: 768px){:host(.case-studies-card) .card-border{margin-left:4px;margin-right:4px}}:host(.case-studies-card) .card-layout{display:block;position:relative;width:100%}:host(.case-studies-card) .link-wrapper{outline:none;text-decoration:none}:host(.case-studies-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.case-studies-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.case-studies-card) .card-media .smart-img{width:100%;height:200px}@media (min-width: 480px){:host(.case-studies-card) .card-media .smart-img{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media .smart-img{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media .smart-img{height:170px}}@media (min-width: 480px){:host(.case-studies-card) .card-media{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media{height:170px}}:host(.case-studies-card) .card-body .card-logo-container{padding:8px 20px;border-bottom:1px solid #E4E7E9}:host(.case-studies-card) .card-body .card-logo-none{padding-top:16px}:host(.case-studies-card) .card-body .card-logo{max-width:280px;width:auto;height:40px;object-fit:cover;border:1px solid #E4E7E9;margin-bottom:8px}:host(.case-studies-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin:8px 20px 12px 20px}:host(.case-studies-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin:0px 20px 39px 20px}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}h3.clamp-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}';const o=class{constructor(i){t(this,i),this.year=1900,this.month=0,this.day=1,this.country="en-US",this.dateString=void 0,this.dateColor=void 0,this.dateStyles=void 0,this.dataSize="small"}render(){const t=this.getCssClassMap();return i(e,{class:t},this.dateStyles&&i("style",null,this.dateStyles),i("span",{part:"part-ptc-date"},this.getDate().toLocaleDateString(this.country,{year:"numeric",month:"short",day:"numeric"})))}getCssClassMap(){return{[this.dateColor]:!!this.dateColor,[this.dataSize]:!!this.dataSize}}getDate(){return this.dateString?new Date(this.dateString.replace(/-/g,"/")):new Date(this.year,this.month-1,this.day)}};o.style=":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";let s={envs:["xs","sm","md","lg"],selector:".ptc-img",interval:250},n={envs:["xs","sm","md","lg"],selector:".ptc-picture",interval:250};const h=class{constructor(i){t(this,i),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"}WindowResize(){this.setResponsiveBg()}render(){const t=this.getCssClassMap();return i(e,null,i("div",{class:t,"data-xs":`${this.imgUrl}:${this.sizeXs}`,"data-sm":`${this.imgUrl}:${this.sizeSm}`,"data-md":`${this.imgUrl}:${this.sizeMd}`,"data-lg":`${this.imgUrl}:${this.sizeLg}`},"smart-bg"==this.imageType?i("slot",null):null))}componentDidLoad(){this.addIntersectionObserver(),this.setResponsiveBg()}componentWillUpdate(){this.addIntersectionObserver(),this.setResponsiveBg()}setResponsiveBg(){let t,i,e=(this.el||document).querySelectorAll(s.selector),a=this.getCurrentBreakPoints();for(var r=0,o=e.length;r<o;r++)t=e[r],i=t.getAttribute("data-"+a),null!==i?t.style.backgroundImage="url('"+i+"')":"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"),i=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const e=t.target;e.classList.remove("lazy-bg"),i.unobserve(e)}}))}));t.forEach((t=>{i.observe(t)}))}}else console.log("no image!")}getCssClassMap(){return{[this.imageType]:!0,"ptc-img":!0,[this.borderRadius]:!0,[this.loadMode]:!0}}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let a=s.envs.length-1;a>=0;a--)if(t=s.envs[a],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),t;return i.body.removeChild(e),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)}};h.style=".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-large{border-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}}";const d=class{constructor(i){t(this,i),this.fontSize="x-small",this.fontWeight="w-4",this.paraStyle="default",this.paraColor="primary-grey",this.paraLineH="line-height-normal",this.paraMargin=void 0,this.paraAlign=void 0,this.ellipsisLineCutoff=void 0,this.paraZIndex=void 0}render(){const t=this.getCssClassMap(),a=this.addWhiteClass(),r=this.getLineCuttoff();return i(e,{class:`${a} ${this.paraZIndex}`},i("p",{class:t,part:"part-para",style:r},i("slot",null)))}getCssClassMap(){return{[this.fontSize]:!0,[this.fontWeight]:!0,[this.paraStyle]:!0,[this.paraMargin]:!!this.paraMargin,[this.paraColor]:!0,[this.paraLineH]:!0,[this.paraAlign]:!!this.paraAlign,"ellipsis-boxing":this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0}}addWhiteClass(){if("white"==this.paraColor)return{[this.paraColor]:!0}}getLineCuttoff(){let t;return this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0&&(t={"-webkit-line-clamp":`${this.ellipsisLineCutoff}`}),t}get el(){return a(this)}};d.style=":host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";const c=class{constructor(i){t(this,i),this.src=void 0,this.alt="image",this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.oldSrc=void 0,this.imagePosition="static",this.borderRadius=void 0,this.height=void 0,this.width=void 0,this.objectFit="cover",this.isFullHeight=!1,this.isFullWidth=!1,this.styles=void 0,this.imageAlignment="left",this.maxWidth=void 0}WindowResize(){this.addIntersectionObserver()}componentDidLoad(){this.addIntersectionObserver()}componentWillUpdate(){this.src!==this.oldSrc&&this.addIntersectionObserver(),this.oldSrc=this.src}addIntersectionObserver(){if(this.src)if("IntersectionObserver"in window){let t=new IntersectionObserver((i=>{i.forEach((i=>{if(i.isIntersecting){const i=this.el.shadowRoot.querySelector("img");i.src=this.setResponsiveBg(),t.unobserve(i)}}))}));t.observe(this.el.shadowRoot.querySelector("img"))}else setTimeout((()=>{const t=this.el.shadowRoot.querySelector("img");t.src=this.setResponsiveBg(),t.onload=()=>{t.removeAttribute("data-src"),console.log("loaded fallback")}}),5e3)}setResponsiveBg(){let t,i,e=(this.el.shadowRoot||document).querySelectorAll("img"),a=this.getCurrentBreakPoints();for(var r=0,o=e.length;r<o;r++){if(t=e[r],i=t.getAttribute("data-"+a),null!==i)return i;"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}}render(){const t=this.getCssClassMap(),a=this.getCssClassMapHost();return i(e,{class:a},this.styles&&i("style",null,this.styles),i("img",Object.assign({class:t,"data-xs":this.sizeXs?`${this.src}:${this.sizeXs}`:`${this.src}`,"data-sm":this.sizeSm?`${this.src}:${this.sizeSm}`:`${this.src}`,"data-md":this.sizeMd?`${this.src}:${this.sizeMd}`:`${this.src}`,"data-lg":this.sizeLg?`${this.src}:${this.sizeLg}`:`${this.src}`},this.width?{width:this.width}:{},this.height?{height:this.height}:{},{alt:this.alt,style:Object.assign({},this.maxWidth?{maxWidth:this.maxWidth+"px"}:{})})),i("slot",null))}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let a=n.envs.length-1;a>=0;a--)if(t=n.envs[a],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),t;return i.body.removeChild(e),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"}getCssClassMap(){return{[this.borderRadius]:!!this.borderRadius,[this.objectFit]:!0,[this.isFullHeight?"is-full-height":"is-normal-height"]:!0,[this.isFullWidth?"is-full-width":"is-normal-width"]:!0}}getCssClassMapHost(){return{[this.imagePosition]:!0,[this.imageAlignment]:!0}}get el(){return a(this)}};c.style=":host{display:block;overflow:hidden}:host img{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";const l=class{constructor(i){t(this,i),this.breakpoint="",this.size="medium",this.direction="vertical"}render(){const t=this.getCssClassMap();return i(e,{class:t})}getCssClassMap(){return{[this.size]:!0,"ptc-spacer-horizontal":"horizontal"===this.direction,"ptc-spacer-vertical":"vertical"===this.direction,"ptc-spacer-xx-small":"xx-small"===this.breakpoint,"ptc-spacer-x-small":"x-small"===this.breakpoint,"ptc-spacer-small":"small"===this.breakpoint,"ptc-spacer-medium":"medium"===this.breakpoint,"ptc-spacer-large":"large"===this.breakpoint,"ptc-spacer-x-large":"x-large"===this.breakpoint,"ptc-spacer-xx-large":"xx-large"===this.breakpoint,"ptc-spacer-xxx-large":"xxx-large"===this.breakpoint}}};l.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";export{r as ptc_card,o as ptc_date,h as ptc_img,d as ptc_para,c as ptc_picture,l as ptc_spacer}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as i}from"./p-9fb2ab8c.js";const o=class{constructor(a){t(this,a),this.type="text-copy-with-background",this.backgroundImage=void 0,this.ImageAltText=void 0,this.topSlitBackgroundColor=void 0,this.slitPosition="top-right",this.isBackgroundBlur=!1,this.overlay=!0}render(){const t=this.getCssClassMap();return a(i,{class:t},a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"tcb-top-slit",width:"320.963",height:"28.179",viewBox:"0 0 320.963 28.179",style:{fill:this.topSlitBackgroundColor}},a("path",{id:"Path_8770",d:"M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z",class:"tcb-top-slit-cls-1","data-name":"Path 8770",transform:"translate(-416.057 -463.856)"})),a("div",{class:""},a("img",{class:"copy-bg-image",alt:this.ImageAltText,src:this.backgroundImage}),this.isBackgroundBlur&&a("img",{class:"copy-bg-image bg-img-filter",alt:this.ImageAltText,src:this.backgroundImage})),this.overlay&&a("div",{class:"copy-bg-overlay-layer"}),a("div",{class:"content-wrap"},"case-studies"==this.type&&a("div",{class:"ptc-container-lg"},a("div",{class:"card-wrap"},a("div",{class:"card-animated-border"}),a("div",{class:"card-content"},a("div",{class:"card-layout"},a("slot",{name:"card-content"}))))),a("slot",null)))}getCssClassMap(){return{[this.type]:!0,[this.slitPosition]:!0}}};o.style=':host{display:block;position:relative;width:100%;padding:var(--ptc-layout-spacing-05) var(--ptc-layout-spacing-01);color:var(--color-white)}@media only screen and (min-width: 768px){:host{padding:var(--ptc-layout-spacing-05) var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 992px){:host{padding:var(--ptc-layout-spacing-06) 0}}@media only screen and (min-width: 1200px){:host{padding:var(--ptc-layout-spacing-06) var(--ptc-layout-spacing-03)}}:host .content-wrap{position:relative}:host .tcb-top-slit{fill:#f3f3f3;transform:scale(1.5, -1);position:absolute;top:-1px;right:80px;z-index:99;display:none}@media only screen and (min-width: 992px){:host .tcb-top-slit{display:block}}:host .bg-img-filter{-webkit-filter:url(#blur);filter:url(#blur);-webkit-mask:-webkit-gradient(linear, left top, right top, color-stop(30%, var(--color-black)), to(rgba(0, 0, 0, 0)));-webkit-mask:linear-gradient(90deg, var(--color-black) 30%, rgba(0, 0, 0, 0));-webkit-filter:blur(7px)}:host .copy-bg-image{top:0;left:0;height:100%;width:100%;position:absolute;-o-object-fit:cover;object-fit:cover}@media only screen and (min-width: 992px){:host .copy-bg-image{display:block}}:host .copy-bg-overlay-layer{position:absolute;top:0;left:0;height:100%;width:100%;background:var(--color-black);opacity:0.55}@media only screen and (min-width: 1200px){:host(.hero-footer-cta){padding:calc(var(--ptc-layout-spacing-06) + var(--ptc-layout-spacing-03)) var(--ptc-layout-spacing-03)}}:host(.tab-cta-with-background){min-height:400px;padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-02)}@media only screen and (min-width: 992px){:host(.tab-cta-with-background){display:flex;align-items:center}}@media only screen and (min-width: 1200px){:host(.tab-cta-with-background){padding:var(--ptc-element-spacing-08)}}:host(.tab-cta-with-background) .copy-bg-overlay-layer{background:initial;opacity:1;background-image:linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.9) 63%, rgba(176, 188, 194, 0) 95%)}@media only screen and (min-width: 992px){:host(.tab-cta-with-background) .copy-bg-overlay-layer{background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.95) 43%, rgba(176, 188, 194, 0) 95%)}}:host(.bottom-right) .tcb-top-slit{top:auto;bottom:0;transform:scale(1.5, 1.5)}:host(.case-studies){min-height:25rem;height:auto;margin-bottom:10rem;display:flex;align-items:center}@media only screen and (min-width: 768px){:host(.case-studies){min-height:33.75rem;height:auto;margin-bottom:0;padding-top:var(--ptc-layout-spacing-06)}}:host(.case-studies) .card-wrap{position:relative;border:1px solid transparent;width:100%;height:100%;max-width:540px;bottom:-13rem}@media only screen and (min-width: 768px){:host(.case-studies) .card-wrap{bottom:auto}}:host(.case-studies) .card-wrap::after{position:absolute;width:0;height:1px;content:"";background:#fff;top:0px;left:0px;animation:widthAnimate 0.2s linear 0.2s 1 forwards}:host(.case-studies) .card-wrap::before{position:absolute;width:1px;height:0;content:"";background:#fff;top:0px;right:0px;animation:heightAnimate 0.2s linear 0.4s 1 forwards}:host(.case-studies) .card-wrap .card-animated-border{border:1px solid transparent;position:absolute;left:-1px;right:0;bottom:0px;top:-1px;width:100%;height:100%;box-shadow:var(--ptc-shadow-x-small)}:host(.case-studies) .card-wrap .card-animated-border::after{position:absolute;width:0;height:1px;content:"";background:#fff;bottom:0px;right:0px;animation:widthAnimate 0.2s linear 0.6s 1 forwards}:host(.case-studies) .card-wrap .card-animated-border::before{position:absolute;width:1px;height:0;content:"";background:#fff;bottom:0px;left:0px;animation:heightAnimate 0.2s linear 0.8s 1 forwards}:host(.case-studies) .card-wrap .card-content{opacity:0;animation:fadeIn 0.5s ease-in 0.9s 1 forwards;background-color:transparent;width:100%;height:100%}:host(.case-studies) .card-wrap .card-content .card-layout{padding:var(--ptc-layout-spacing-04);background-color:#fff}@keyframes widthAnimate{0%{width:0}100%{width:100%}}@keyframes heightAnimate{0%{height:0}100%{height:100%}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}:host(.case-studies) .ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){:host(.case-studies) .ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){:host(.case-studies) .ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){:host(.case-studies) .ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){:host(.case-studies) .ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}';export{o as ptc_text_copy_with_background}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as r,g as i}from"./p-9fb2ab8c.js";class l{}const s=class{constructor(e){t(this,e),this.listType="list-primary",this.listItems=[]}render(){const t=this.getCssClassMap(),i=this.getListItems();return i&&0!==i.length?e(r,{class:t},e("ul",null,i.map((t=>e("list-item",{"link-type":t.type,"link-href":t.href,"link-target":t.target,"flush-before":t.flushBefore},t.value))))):null}getListItems(){let t=new Array;return this.listItems&&this.listItems.length>0?this.listItems.map((e=>{let r=new l;r.value=e,t.push(r)})):Array.from(this.el.querySelectorAll("list-item")).map((e=>{let r=new l,i=e;r.value=i.innerText,r.href=i.getAttribute("link-href"),r.target=i.getAttribute("link-target"),r.flushBefore="true"==i.getAttribute("flush-before"),r.type=i.getAttribute("link-type"),t.push(r)})),t}getCssClassMap(){return{[this.listType]:!!this.listItems}}get el(){return i(this)}};s.style=":host{display:block}:host(.list-primary) li{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-normal);letter-spacing:var(--ptc-letter-spacing-normal);list-style:none}:host(.list-primary) li:not(:last-child){margin-bottom:0.625rem}:host(.list-primary) li a{color:var(--color-white);outline:none;text-decoration:none;font-family:Rajdhani;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-normal);text-transform:uppercase;letter-spacing:var(--ptc-letter-spacing-normal)}:host(.list-primary) li a:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-07)}";export{s as ptc_list}
@@ -1 +1 @@
1
- import{r as t,h as e,H as s,g as i}from"./p-009001dc.js";const a=class{constructor(e){t(this,e),this.selectedValue=void 0}componentDidLoad(){this.createGroup(),this.calculateHeaderTabsRendering()}onSelectedTab(t){let e=this;this.tabGroup.forEach((s=>{t.detail.then((t=>{s.header.name===t.name&&e.selectGroup(s)}))}))}calculateHeaderTabsRendering(){let t=this.host.querySelector(".tabs-header"),e=this.host.querySelector(".ellipsis-btn"),s=t.children,i=!1,a=[];t.classList.remove("active");for(let t=0;t<s.length;t++)s[t].style.removeProperty("display");for(let e=s.length-1;e>=0;e--){let n=s[e];if(t.scrollWidth>t.clientWidth){let t=n.getAttribute("name")===this.selectedValue;if(!t){n.style.display="none";let e=n.querySelector(".header-content").textContent;i=!0,a.push({value:n.getAttribute("name"),text:e,isSelected:t})}}}t.classList.add("active"),i?(e.classList.add("active"),e.dataItems=a.reverse()):(e.classList.remove("active"),e.dataItems=[])}createGroup(){let t=this,e=!1,s=!1,i=0,a=0,n=[],o=[];const r=Array.from(this.host.querySelectorAll("tab-header"));this.tabsHeader=r.map((t=>t.getChild().then((t=>{i++,i===r.length&&(e=!0),n.push(t)})))),this.tabsHeader=n;const l=Array.from(this.host.querySelectorAll("tab-content"));this.tabsContent=l.map((t=>t.getChild().then((t=>{a++,a===l.length&&(s=!0),o.push(t)})))),this.tabsContent=o;let c=setInterval((()=>{e&&s&&(clearInterval(c),t.tabGroup=t.tabsHeader.map((e=>{const s=t.tabsContent.find((t=>t.name===e.name));return{header:e,content:s}})),t.selectGroup(t.tabGroup[0]))}),100)}selectGroup(t){this.tabGroup.forEach((t=>{t.header.unselect(),t.content.unselect()})),t.header.select(),t.content.select(),this.selectedValue=t.header.name,this.calculateHeaderTabsRendering()}onDropdownItemSelected(t){if(t){let e=this.tabGroup.find((e=>e.header.name==t.value));e&&this.selectGroup(e)}}render(){return e(s,null,e("div",{class:"tabs-header-container"},e("div",{class:"tabs-header"},e("slot",{name:"header"})),e("ptc-ellipsis-dropdown",{class:"ellipsis-btn",onItemSelected:t=>{this.onDropdownItemSelected(t.detail)}})),e("div",{class:"tabs-content"},e("slot",{name:"content"})))}get host(){return i(this)}};a.style="ptc-tab-list{display:block;position:relative}.tabs-header-container{width:100%;border-bottom:2px solid var(--color-gray-02);position:relative}.tabs-header{display:flex;padding-left:1.5rem;padding-right:1.5rem;transition:opacity ease-out 250ms;opacity:0;width:85%}.tabs-header.active{opacity:1}.tabs-content{padding:40px 28px 28px}.ellipsis-btn{position:absolute;top:var(--ptc-element-spacing-01);right:1rem;display:none}.ellipsis-btn.active{display:block}tab-header{padding-right:48px}";export{a as ptc_tab_list}
1
+ import{r as t,h as e,H as s,g as i}from"./p-9fb2ab8c.js";const a=class{constructor(e){t(this,e),this.selectedValue=void 0}componentDidLoad(){this.createGroup(),this.calculateHeaderTabsRendering()}onSelectedTab(t){let e=this;this.tabGroup.forEach((s=>{t.detail.then((t=>{s.header.name===t.name&&e.selectGroup(s)}))}))}calculateHeaderTabsRendering(){let t=this.host.querySelector(".tabs-header"),e=this.host.querySelector(".ellipsis-btn"),s=t.children,i=!1,a=[];t.classList.remove("active");for(let t=0;t<s.length;t++)s[t].style.removeProperty("display");for(let e=s.length-1;e>=0;e--){let n=s[e];if(t.scrollWidth>t.clientWidth){let t=n.getAttribute("name")===this.selectedValue;if(!t){n.style.display="none";let e=n.querySelector(".header-content").textContent;i=!0,a.push({value:n.getAttribute("name"),text:e,isSelected:t})}}}t.classList.add("active"),i?(e.classList.add("active"),e.dataItems=a.reverse()):(e.classList.remove("active"),e.dataItems=[])}createGroup(){let t=this,e=!1,s=!1,i=0,a=0,n=[],o=[];const r=Array.from(this.host.querySelectorAll("tab-header"));this.tabsHeader=r.map((t=>t.getChild().then((t=>{i++,i===r.length&&(e=!0),n.push(t)})))),this.tabsHeader=n;const l=Array.from(this.host.querySelectorAll("tab-content"));this.tabsContent=l.map((t=>t.getChild().then((t=>{a++,a===l.length&&(s=!0),o.push(t)})))),this.tabsContent=o;let c=setInterval((()=>{e&&s&&(clearInterval(c),t.tabGroup=t.tabsHeader.map((e=>{const s=t.tabsContent.find((t=>t.name===e.name));return{header:e,content:s}})),t.selectGroup(t.tabGroup[0]))}),100)}selectGroup(t){this.tabGroup.forEach((t=>{t.header.unselect(),t.content.unselect()})),t.header.select(),t.content.select(),this.selectedValue=t.header.name,this.calculateHeaderTabsRendering()}onDropdownItemSelected(t){if(t){let e=this.tabGroup.find((e=>e.header.name==t.value));e&&this.selectGroup(e)}}render(){return e(s,null,e("div",{class:"tabs-header-container"},e("div",{class:"tabs-header"},e("slot",{name:"header"})),e("ptc-ellipsis-dropdown",{class:"ellipsis-btn",onItemSelected:t=>{this.onDropdownItemSelected(t.detail)}})),e("div",{class:"tabs-content"},e("slot",{name:"content"})))}get host(){return i(this)}};a.style="ptc-tab-list{display:block;position:relative}.tabs-header-container{width:100%;border-bottom:2px solid var(--color-gray-02);position:relative}.tabs-header{display:flex;padding-left:1.5rem;padding-right:1.5rem;transition:opacity ease-out 250ms;opacity:0;width:85%}.tabs-header.active{opacity:1}.tabs-content{padding:40px 28px 28px}.ellipsis-btn{position:absolute;top:var(--ptc-element-spacing-01);right:1rem;display:none}.ellipsis-btn.active{display:block}tab-header{padding-right:48px}";export{a as ptc_tab_list}
@@ -0,0 +1 @@
1
+ import{r as t,h as i}from"./p-9fb2ab8c.js";var s=Object.defineProperty,e=(t,i,e)=>(((t,i,e)=>{i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e})(t,"symbol"!=typeof i?i+"":i,e),e);const h=class{constructor(t){e(this,"mobileSelect"),e(this,"trigger"),e(this,"wheelList"),e(this,"sliderList"),e(this,"wheelsContain"),e(this,"panel"),e(this,"ensureBtn"),e(this,"cancelBtn"),e(this,"grayLayer"),e(this,"popUp"),e(this,"initPosition"),e(this,"initColWidth"),e(this,"wheelsData"),e(this,"displayJson"),e(this,"curValue"),e(this,"curIndexArr"),e(this,"isCascade"),e(this,"isJsonType"),e(this,"startY"),e(this,"moveEndY"),e(this,"moveY"),e(this,"preMoveY"),e(this,"offsetY"),e(this,"offsetSum"),e(this,"oversizeBorder"),e(this,"enableClickStatus"),e(this,"isPC"),e(this,"optionHeight"),e(this,"curDistance"),e(this,"cascadeJsonData"),e(this,"eventHandleMap"),e(this,"initDeepCount"),e(this,"config"),!h.checkRequiredConfig(t)||(this.config=Object.assign({},h.defaultConfig,t),this.wheelsData=t.wheels,this.isJsonType=!1,this.cascadeJsonData=[],this.displayJson=[],this.curValue=[],this.curIndexArr=[],this.isCascade=!1,this.offsetY=0,this.offsetSum=0,this.curDistance=[],this.enableClickStatus=!1,this.isPC=!0,this.optionHeight=0,this.initPosition=t.position||[],this.initColWidth=t.colWidth||[],this.init())}init(){const{config:t}=this;if(this.isJsonType=h.checkDataType(this.wheelsData),this.renderComponent(this.wheelsData),this.checkTriggerAvailable()){if(this.wheelList=this.mobileSelect.getElementsByClassName("ms-wheel"),this.sliderList=this.mobileSelect.getElementsByClassName("ms-select-container"),this.panel=this.mobileSelect.querySelector(".ms-panel"),this.wheelsContain=this.mobileSelect.querySelector(".ms-wheels"),this.ensureBtn=this.mobileSelect.querySelector(".ms-ensure"),this.cancelBtn=this.mobileSelect.querySelector(".ms-cancel"),this.grayLayer=this.mobileSelect.querySelector(".ms-gray-layer"),this.popUp=this.mobileSelect.querySelector(".ms-content"),this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight,t.initValue&&t.triggerDisplayValue&&(this.trigger.innerText=t.initValue),this.setStyle(t),this.isPC=h.checkIsPC(),this.isCascade=this.checkCascade(),this.isCascade&&this.initCascade(),t.initValue&&(this.initPosition=this.getPositionByValue()),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.isCascade?this.initPosition.forEach(((t,i)=>{this.checkRange(i,this.initPosition)})):this.setCurDistance(this.initPosition),this.eventHandleMap={cancelBtn:{event:"click",fn:()=>{var t,i,s,e;this.hide(),null==(i=(t=this.config).cancel)||i.call(t,this.curIndexArr,this.curValue,this),null==(e=(s=this.config).onCancel)||e.call(s,this.curValue,this.curIndexArr,this)}},ensureBtn:{event:"click",fn:()=>{var i,s,e,h;this.hide(),this.optionHeight||(this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight);let o="";for(let t=0;t<this.wheelList.length;t++)o+=t==this.wheelList.length-1?this.getInnerText(t):this.getInnerText(t)+this.config.connector;t.triggerDisplayValue&&(this.trigger.innerText=o),this.curIndexArr=this.getIndexArr(),this.curValue=this.getCurValue(),null==(s=(i=this.config).callback)||s.call(i,this.curIndexArr,this.curValue,this),null==(h=(e=this.config).onChange)||h.call(e,this.curValue,this.curIndexArr,this)}},trigger:{event:"click",fn:()=>{this.show()}},grayLayer:{event:"click",fn:()=>this.hide()},popUp:{event:"click",fn:t=>t.stopPropagation()},panel:{event:["touchstart","touchend","touchmove"],fn:t=>this.touch(t)}},this.isPC&&(this.eventHandleMap.panel.event=["mousedown","mousemove","mouseup"]),this.registerEvents("add"),this.fixRowStyle(),t.autoFocus&&this.show()}}static checkIsPC(){return!navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/)}static checkDataType(t){var i,s;return"object"==typeof(null==(s=null==(i=t[0])?void 0:i.data)?void 0:s[0])}static checkRequiredConfig(t){const i=h.REQUIRED_PARAMS;if(!t){const t=i.map((t=>`'${t}'`));return h.log("error",`missing required param ${t.join(" and ")}.`),!1}for(let s=0;s<i.length;s++){const e=i[s];if(!t[e])return h.log("error",`missing required param '${e}'.`),!1}return!0}static log(t,i){var s;null==(s=console[t])||s.call(console,`[mobile-select]: ${i}`)}checkTriggerAvailable(){const{config:t}=this;return this.trigger=t.trigger instanceof HTMLElement?t.trigger:document.querySelector(t.trigger),!!this.trigger||(h.log("error","trigger HTMLElement does not found on your document."),!1)}getPositionByValue(){var t;const{keyMap:i,connector:s,initValue:e}=this.config,h=(null==e?void 0:e.split(s))||[];if(this.isJsonType){let s=null==(t=this.wheelsData[0])?void 0:t.data;return h.reduce(((t,e)=>{var h;const o=null==s?void 0:s.findIndex((t=>t[i.value]==e));return t.push(o<0?0:o),s=null==(h=s[o])?void 0:h[i.childs],t}),[])}return h.reduce(((t,i,s)=>{var e,h;const o=null==(h=null==(e=this.wheelsData[s])?void 0:e.data)?void 0:h.findIndex((t=>t==i));return t.push(o<0?0:o),t}),[])}setTitle(t){this.mobileSelect.querySelector(".ms-title").innerHTML=t}setStyle(t){if(t.ensureBtnColor&&(this.ensureBtn.style.color=t.ensureBtnColor),t.cancelBtnColor&&(this.cancelBtn.style.color=t.cancelBtnColor),t.titleColor&&(this.mobileSelect.querySelector(".ms-title").style.color=t.titleColor),t.textColor&&(this.panel=this.mobileSelect.querySelector(".ms-panel"),this.panel.style.color=t.textColor),t.titleBgColor&&(this.mobileSelect.querySelector(".ms-btn-bar").style.backgroundColor=t.titleBgColor),t.bgColor){this.panel=this.mobileSelect.querySelector(".ms-panel");const i=this.mobileSelect.querySelector(".ms-shadow-mask");this.panel.style.backgroundColor=t.bgColor,i.style.background="linear-gradient(to bottom, "+t.bgColor+", rgba(255, 255, 255, 0), "+t.bgColor+")"}"number"==typeof t.maskOpacity&&(this.mobileSelect.querySelector(".ms-gray-layer").style.background="rgba(0, 0, 0, "+t.maskOpacity+")")}show(){var t,i,s;this.mobileSelect.classList.add("ms-show"),null==(t=document.querySelector("body"))||t.classList.add("ms-show"),"function"==typeof this.config.onShow&&(null==(s=(i=this.config).onShow)||s.call(i,this.curValue,this.curIndexArr,this))}hide(){var t,i,s;this.mobileSelect.classList.remove("ms-show"),null==(t=document.querySelector("body"))||t.classList.remove("ms-show"),"function"==typeof this.config.onHide&&(null==(s=(i=this.config).onHide)||s.call(i,this.curValue,this.curIndexArr,this))}registerEvents(t){for(const[i,s]of Object.entries(this.eventHandleMap))"string"==typeof s.event?this[i][`${t}EventListener`](s.event,s.fn,{passive:!1}):s.event.forEach((e=>{this[i][`${t}EventListener`](e,s.fn,{passive:!1})}))}destroy(){var t,i;this.registerEvents("remove"),null==(i=null==(t=this.mobileSelect)?void 0:t.parentNode)||i.removeChild(this.mobileSelect)}getOptionsHtmlStr(t){const{keyMap:i}=this.config;let s="";if(this.isJsonType)for(let e=0;e<t.length;e++)s+=`<li data-id="${t[e][i.id]}">${t[e][i.value]}</li>`;else for(let i=0;i<t.length;i++)s+="<li>"+t[i]+"</li>";return s}renderComponent(t){this.mobileSelect=document.createElement("div"),this.mobileSelect.className="ms-mobile-select",this.mobileSelect.innerHTML=`<div class="ms-gray-layer"></div>\n <div class="ms-content">\n <div class="ms-btn-bar">\n <div class="ms-fix-width">\n <div class="ms-cancel">${this.config.cancelBtnText}</div> \n <div class="ms-title">${this.config.title||""}</div>\n <div class="ms-ensure">${this.config.ensureBtnText}</div>\n </div>\n </div>\n <div class="ms-panel">\n <div class="ms-fix-width">\n <div class="ms-wheels"></div>\n <div class="ms-select-line"></div>\n <div class="ms-shadow-mask"></div>\n </div>\n </div>`,document.body.appendChild(this.mobileSelect);let i="";for(let s=0;s<t.length;s++)i+=`<div class="ms-wheel" data-index="${s}"><ul class="ms-select-container">`,i+=this.getOptionsHtmlStr(t[s].data),i+="</ul></div>";this.mobileSelect.querySelector(".ms-wheels").innerHTML=i}reRenderWheels(){const t=this.wheelList.length-this.displayJson.length;if(t>0)for(let i=0;i<t;i++)this.wheelsContain.removeChild(this.wheelList[this.wheelList.length-1]);for(let t=0;t<this.displayJson.length;t++)if(this.wheelList[t])this.sliderList[t].innerHTML=this.getOptionsHtmlStr(this.displayJson[t]);else{const i=document.createElement("div");i.className="ms-wheel",i.innerHTML=`<ul class="ms-select-container">${this.getOptionsHtmlStr(this.displayJson[t])}</ul>`,i.setAttribute("data-index",t.toString()),this.wheelsContain.appendChild(i)}}checkCascade(){var t;const{keyMap:i}=this.config;if(this.isJsonType){const s=this.wheelsData[0].data;for(let e=0;e<s.length;e++)if(i.childs in s[e]&&(null==(t=s[e][i.childs])?void 0:t.length)>0)return this.cascadeJsonData=this.wheelsData[0].data,!0}return!1}initCascade(){this.displayJson.push(this.cascadeJsonData),this.initPosition.length>0?(this.initDeepCount=0,this.initCheckArrDeep(this.cascadeJsonData[this.initPosition[0]])):this.checkArrDeep(this.cascadeJsonData[0]),this.reRenderWheels()}initCheckArrDeep(t){if(t){const{keyMap:i}=this.config;if(i.childs in t&&t[i.childs].length>0){this.displayJson.push(t[i.childs]),this.initDeepCount++;const s=t[i.childs][this.initPosition[this.initDeepCount]];s?this.initCheckArrDeep(s):this.checkArrDeep(t[i.childs][0])}}}checkArrDeep(t){if(!t)return;const{keyMap:i}=this.config;i.childs in t&&t[i.childs].length>0&&(this.displayJson.push(t[i.childs]),this.checkArrDeep(t[i.childs][0]))}checkRange(t,i){var s;const e=this.displayJson.length-1-t,{keyMap:h}=this.config;for(let t=0;t<e;t++)this.displayJson.pop();let o;for(let e=0;e<=t;e++)o=0==e?this.cascadeJsonData[i[0]]:null==(s=null==o?void 0:o[h.childs])?void 0:s[i[e]];this.checkArrDeep(o),this.reRenderWheels(),this.fixRowStyle(),this.setCurDistance(this.resetPosition(t,i))}resetPosition(t,i){const s=[...i];let e;if(this.sliderList.length>i.length){e=this.sliderList.length-i.length;for(let t=0;t<e;t++)s.push(0)}else if(this.sliderList.length<i.length){e=i.length-this.sliderList.length;for(let t=0;t<e;t++)s.pop()}for(let i=t+1;i<s.length;i++)s[i]=0;return s}updateWheels(t){if(this.isCascade){if(this.cascadeJsonData=t,this.displayJson=[],this.initCascade(),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.setCurDistance(this.initPosition),this.fixRowStyle()}}updateWheel(t,i){if(this.isCascade)return void h.log("error","'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");let s="";s+=this.getOptionsHtmlStr(i),this.wheelsData[t]=this.isJsonType?{data:i}:i,this.sliderList[t].innerHTML=s}fixRowStyle(){if(this.initColWidth.length&&this.initColWidth.length===this.wheelList.length){const t=this.initColWidth.reduce(((t,i)=>t+i),0);return void this.initColWidth.forEach(((i,s)=>{this.wheelList[s].style.width=(i/t*100).toFixed(2)+"%"}))}const t=(100/this.wheelList.length).toFixed(2);for(let i=0;i<this.wheelList.length;i++)this.wheelList[i].style.width=t+"%"}getIndex(t){return Math.round((2*this.optionHeight-t)/this.optionHeight)}getIndexArr(){const t=[];for(let i=0;i<this.curDistance.length;i++)t.push(this.getIndex(this.curDistance[i]));return t}getCurValue(){const t=[],i=this.getIndexArr(),{keyMap:s}=this.config;if(this.isCascade)for(let e=0;e<this.wheelList.length;e++){const h=this.displayJson[e][i[e]];h&&t.push({[s.id]:h[s.id],[s.value]:h[s.value]})}else if(this.isJsonType)for(let i=0;i<this.curDistance.length;i++)t.push(this.wheelsData[i].data[this.getIndex(this.curDistance[i])]);else for(let i=0;i<this.curDistance.length;i++)t.push(this.getInnerText(i));return t}getValue(){return this.curValue}calcDistance(t){return 2*this.optionHeight-t*this.optionHeight}setCurDistance(t){const i=[];for(let s=0;s<this.sliderList.length;s++)i.push(this.calcDistance(t[s])),this.movePosition(this.sliderList[s],i[s]);this.curDistance=i}fixPosition(t){return-(this.getIndex(t)-2)*this.optionHeight}movePosition(t,i){t.style.transform="translate3d(0,"+i+"px, 0)"}locatePosition(t,i){this.curDistance[t]=this.calcDistance(i),this.movePosition(this.sliderList[t],this.curDistance[t]),this.isCascade&&this.checkRange(t,this.getIndexArr())}updateCurDistance(t,i){this.curDistance[i]=parseInt(t.style.transform.split(",")[1])}getInnerText(t){var i;const s=this.sliderList[t].getElementsByTagName("li").length;let e=this.getIndex(this.curDistance[t]);return e>=s?e=s-1:e<0&&(e=0),(null==(i=this.sliderList[t].getElementsByTagName("li")[e])?void 0:i.innerText)||""}touch(t){var i,s,e,h,o,n,l,r;const a=(t.composedPath&&t.composedPath()).find((t=>{var i;return null==(i=t.classList)?void 0:i.contains("ms-wheel")}));if(!a)return;const c=a.firstChild,d=parseInt(a.getAttribute("data-index")||"0");switch(t.type){case"touchstart":case"mousedown":c.style.transition="none 0s ease-out",this.startY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.preMoveY=this.startY,"mousedown"===t.type&&(this.enableClickStatus=!0);break;case"touchmove":case"mousemove":if(t.preventDefault(),"mousemove"===t.type&&!this.enableClickStatus)break;this.moveY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.offsetY=(this.moveY-this.preMoveY)*this.config.scrollSpeed,this.updateCurDistance(c,d),this.curDistance[d]=this.curDistance[d]+this.offsetY,this.movePosition(c,this.curDistance[d]),this.preMoveY=this.moveY;break;case"touchend":case"mouseup":if(c.style.transition="transform 0.18s ease-out",this.moveEndY=Math.floor(t instanceof TouchEvent?t.changedTouches[0].clientY:t.clientY),this.offsetSum=this.moveEndY-this.startY,this.oversizeBorder=-(c.getElementsByTagName("li").length-3)*this.optionHeight,0==this.offsetSum){const t=Math.floor((window.innerHeight-this.moveEndY)/40);if(2!=t){const o=this.curDistance[d]+(t-2)*this.optionHeight;o<=2*this.optionHeight&&o>=this.oversizeBorder&&(this.curDistance[d]=o,this.movePosition(c,this.curDistance[d]),null==(s=(i=this.config).transitionEnd)||s.call(i,this.getIndexArr(),this.getCurValue(),this),null==(h=(e=this.config).onTransitionEnd)||h.call(e,this.getCurValue(),this.getIndexArr(),this))}}else this.updateCurDistance(c,d),this.curDistance[d]=this.fixPosition(this.curDistance[d]),this.curDistance[d]>2*this.optionHeight?this.curDistance[d]=2*this.optionHeight:this.curDistance[d]<this.oversizeBorder&&(this.curDistance[d]=this.oversizeBorder),this.movePosition(c,this.curDistance[d]),null==(n=(o=this.config).transitionEnd)||n.call(o,this.getIndexArr(),this.getCurValue(),this),null==(r=(l=this.config).onTransitionEnd)||r.call(l,this.getCurValue(),this.getIndexArr(),this);"mouseup"===t.type&&(this.enableClickStatus=!1),this.isCascade&&this.checkRange(d,this.getIndexArr())}}};let o=h;e(o,"defaultConfig",{keyMap:{id:"id",value:"value",childs:"childs"},position:[],colWidth:[],title:"",connector:" ",ensureBtnText:"确认",cancelBtnText:"取消",triggerDisplayValue:!0,scrollSpeed:1}),e(o,"REQUIRED_PARAMS",["trigger","wheels"]);const n=class{constructor(i){t(this,i),this.triggerName=void 0,this.selectedText=void 0,this.wheelData=void 0,this.selectedId="",this.ensureBtnText="Confirm",this.cancelBtnText="Cancel",this.listTitle=void 0}render(){return i("div",{class:"mobile-select-wrapper"},i("div",{id:this.triggerName},this.selectedText,i("icon-asset",{type:"ptc",size:"x-small",name:"chevron-down",color:"white","is-mobile-select":"true","injected-style":"svg.ismobileselect{transform:translateX(10px);}"})))}componentDidRender(){let t=this.selectedId,i=0;new o({trigger:`#${this.triggerName}`,title:`${this.listTitle?this.listTitle:""}`,wheels:this.wheelData?[{data:this.wheelData}]:[{data:["test1","test2"]}],position:[0],ensureBtnText:this.ensureBtnText,cancelBtnText:this.cancelBtnText,ensureBtnColor:"var(--color-gray-12)",cancelBtnColor:"var(--color-gray-12)",titleColor:"var(--color-gray-12)",onShow:function(s){t&&(document.querySelectorAll(".selectContainer li").forEach(((s,e)=>{s.getAttribute("data-id")!=t||(i=e)})),s.locatePosition(0,i))},callback:function(t,i){i[0].id?window.location.href=i[0].id:console.log("href: "+i[0].id+"; indexArr: "+t)}.bind(this)})}};n.style='.ms-mobile-select{position:relative;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s}.ms-mobile-select *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.ms-mobile-select .ms-gray-layer{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.ms-mobile-select .ms-content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.ms-mobile-select .ms-fix-width{width:90%;margin:0 auto;position:relative}.ms-mobile-select .ms-fix-width:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-btn-bar{border-bottom:1px solid #dcdcdc;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.ms-mobile-select .ms-cancel,.ms-mobile-select .ms-ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-cancel{left:0;color:#666}.ms-mobile-select .ms-ensure{right:0;color:#1e83d3}.ms-mobile-select .ms-title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-mobile-select .ms-panel:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-wheels{width:100%;height:200px;overflow:hidden}.ms-mobile-select .ms-wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.ms-mobile-select .ms-select-container{display:block;text-align:center}.ms-mobile-select .ms-select-container li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-select-line{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.ms-mobile-select .ms-shadow-mask{position:absolute;top:0;width:100%;height:200px;background:linear-gradient(to bottom, #fffffff5, #ffffffcc 25%, #ffffff00 49%, #ffffff00 51%, #ffffffcc 75%, #fffffff5);opacity:0.9;pointer-events:none}.ms-mobile-select.ms-show{opacity:1;z-index:10000;visibility:visible}.ms-mobile-select.ms-show .ms-content{bottom:0}.ms-default-trigger{min-height:1em;color:#888}body.ms-show{overflow-y:hidden}.mobile-select-wrapper{display:block}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}';export{n as ptc_mobile_select}
@@ -1 +1 @@
1
- import{r as s,h as t,H as r}from"./p-009001dc.js";const e=class{constructor(t){s(this,t),this.svgName="close",this.display="block"}render(){const s=this.getCssClassMap();return t(r,{class:s},this.svgName&&"close"===this.svgName?t("div",{class:"svg-close",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">\n <g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">\n <path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>\n <path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>\n <path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>\n <path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>\n <path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>\n <path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>\n <path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>\n </g>\n</svg>'}):null,this.svgName&&"slider-left"===this.svgName?t("div",{class:"slider-left",innerHTML:'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g filter="url(#filter0_d_494_37)">\n<circle cx="24" cy="22" r="20" fill="white"/>\n<path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>\n</g>\n<defs>\n<filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n<feFlood flood-opacity="0" result="BackgroundImageFix"/>\n<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n<feOffset dy="2"/>\n<feGaussianBlur stdDeviation="2"/>\n<feComposite in2="hardAlpha" operator="out"/>\n<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>\n<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>\n<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>\n</filter>\n</defs>\n</svg>\n'}):null,this.svgName&&"slider-right"===this.svgName?t("div",{class:"slider-right",innerHTML:'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g filter="url(#filter0_d_494_34)">\n<circle cx="24" cy="22" r="20" fill="white"/>\n<path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>\n</g>\n<defs>\n<filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n<feFlood flood-opacity="0" result="BackgroundImageFix"/>\n<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n<feOffset dy="2"/>\n<feGaussianBlur stdDeviation="2"/>\n<feComposite in2="hardAlpha" operator="out"/>\n<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>\n<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>\n<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>\n</filter>\n</defs>\n</svg>\n'}):null,this.svgName&&"back-arrow"===this.svgName?t("div",{class:"back-arrow",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">\n <defs>\n <style>\n .cls-1 {\n fill: #fff;\n fill-rule: evenodd;\n }\n </style>\n </defs>\n <path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>\n</svg>\n'}):null)}getCssClassMap(){return{[this.display]:!0}}};e.style=":host{cursor:pointer}:host(.block){display:block}:host(.inline){display:inline}:host(.inline-block){display:inline-block}:host(.flex){display:flex}:host(:focus-visible){outline:none}:host(.backarrow){margin:8px 8px 0px -2px}:focus-visible{outline:none}.svg-close svg .cls-1,.svg-close svg .cls-2{fill:none;stroke-width:2px}.svg-close svg .cls-1{stroke:var(--color-gray-10);stroke-linecap:square}.svg-close svg .cls-2{stroke:var(--color-gray-10)}.svg-close svg path{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.svg-close svg .cls-1:first-child{-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close svg .cls-1:nth-child(2){-webkit-transform:translate(175.5px, 174.985px);-ms-transform:translate(175.5px, 174.985px);transform:translate(175.5px, 174.985px)}.svg-close svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 141.393px);-ms-transform:translate(215.5px, 141.393px);transform:translate(215.5px, 141.393px)}.svg-close svg .cls-1:nth-child(4){-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close:hover svg .cls-1:first-child{-webkit-transform:translate(175.5px, 162px);-ms-transform:translate(175.5px, 162px);transform:translate(175.5px, 162px)}.svg-close:hover svg .cls-1:nth-child(2){-webkit-transform:translate(149px, 174.985px);-ms-transform:translate(149px, 174.985px);transform:translate(149px, 174.985px)}.svg-close:hover svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 174px);-ms-transform:translate(215.5px, 174px);transform:translate(215.5px, 174px)}.svg-close:hover svg .cls-1:nth-child(4){-webkit-transform:translate(152.5px, 135.5px);-ms-transform:translate(152.5px, 135.5px);transform:translate(152.5px, 135.5px)}.svg-close.svg-close-white .cls-1{stroke:var(--color-white)}.slider-left,.slider-right{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.slider-left svg .arrow,.slider-right svg .arrow{fill:var(--color-gray-10)}.slider-left:hover svg .arrow,.slider-right:hover svg .arrow{fill:var(--color-green-06)}.back-arrow{display:inline-block;fill:none;stroke-width:30px;stroke:var(--color-gray-10);stroke-linecap:square;height:10px;width:20px;position:relative;top:1px;text-align:center}@media only screen and (max-width: 1024px) and (min-width: 576px){:host(.back-arrow){margin:8px 8px 16px -2px}}";export{e as ptc_svg_btn}
1
+ import{r as s,h as t,H as r}from"./p-9fb2ab8c.js";const e=class{constructor(t){s(this,t),this.svgName="close",this.display="block"}render(){const s=this.getCssClassMap();return t(r,{class:s},this.svgName&&"close"===this.svgName?t("div",{class:"svg-close",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">\n <g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">\n <path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>\n <path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>\n <path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>\n <path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>\n <path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>\n <path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>\n <path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>\n </g>\n</svg>'}):null,this.svgName&&"slider-left"===this.svgName?t("div",{class:"slider-left",innerHTML:'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g filter="url(#filter0_d_494_37)">\n<circle cx="24" cy="22" r="20" fill="white"/>\n<path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>\n</g>\n<defs>\n<filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n<feFlood flood-opacity="0" result="BackgroundImageFix"/>\n<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n<feOffset dy="2"/>\n<feGaussianBlur stdDeviation="2"/>\n<feComposite in2="hardAlpha" operator="out"/>\n<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>\n<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>\n<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>\n</filter>\n</defs>\n</svg>\n'}):null,this.svgName&&"slider-right"===this.svgName?t("div",{class:"slider-right",innerHTML:'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g filter="url(#filter0_d_494_34)">\n<circle cx="24" cy="22" r="20" fill="white"/>\n<path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>\n</g>\n<defs>\n<filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n<feFlood flood-opacity="0" result="BackgroundImageFix"/>\n<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n<feOffset dy="2"/>\n<feGaussianBlur stdDeviation="2"/>\n<feComposite in2="hardAlpha" operator="out"/>\n<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>\n<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>\n<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>\n</filter>\n</defs>\n</svg>\n'}):null,this.svgName&&"back-arrow"===this.svgName?t("div",{class:"back-arrow",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">\n <defs>\n <style>\n .cls-1 {\n fill: #fff;\n fill-rule: evenodd;\n }\n </style>\n </defs>\n <path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>\n</svg>\n'}):null)}getCssClassMap(){return{[this.display]:!0}}};e.style=":host{cursor:pointer}:host(.block){display:block}:host(.inline){display:inline}:host(.inline-block){display:inline-block}:host(.flex){display:flex}:host(:focus-visible){outline:none}:host(.backarrow){margin:8px 8px 0px -2px}:focus-visible{outline:none}.svg-close svg .cls-1,.svg-close svg .cls-2{fill:none;stroke-width:2px}.svg-close svg .cls-1{stroke:var(--color-gray-10);stroke-linecap:square}.svg-close svg .cls-2{stroke:var(--color-gray-10)}.svg-close svg path{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.svg-close svg .cls-1:first-child{-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close svg .cls-1:nth-child(2){-webkit-transform:translate(175.5px, 174.985px);-ms-transform:translate(175.5px, 174.985px);transform:translate(175.5px, 174.985px)}.svg-close svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 141.393px);-ms-transform:translate(215.5px, 141.393px);transform:translate(215.5px, 141.393px)}.svg-close svg .cls-1:nth-child(4){-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close:hover svg .cls-1:first-child{-webkit-transform:translate(175.5px, 162px);-ms-transform:translate(175.5px, 162px);transform:translate(175.5px, 162px)}.svg-close:hover svg .cls-1:nth-child(2){-webkit-transform:translate(149px, 174.985px);-ms-transform:translate(149px, 174.985px);transform:translate(149px, 174.985px)}.svg-close:hover svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 174px);-ms-transform:translate(215.5px, 174px);transform:translate(215.5px, 174px)}.svg-close:hover svg .cls-1:nth-child(4){-webkit-transform:translate(152.5px, 135.5px);-ms-transform:translate(152.5px, 135.5px);transform:translate(152.5px, 135.5px)}.svg-close.svg-close-white .cls-1{stroke:var(--color-white)}.slider-left,.slider-right{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.slider-left svg .arrow,.slider-right svg .arrow{fill:var(--color-gray-10)}.slider-left:hover svg .arrow,.slider-right:hover svg .arrow{fill:var(--color-green-06)}.back-arrow{display:inline-block;fill:none;stroke-width:30px;stroke:var(--color-gray-10);stroke-linecap:square;height:10px;width:20px;position:relative;top:1px;text-align:center}@media only screen and (max-width: 1024px) and (min-width: 576px){:host(.back-arrow){margin:8px 8px 16px -2px}}";export{e as ptc_svg_btn}
@@ -0,0 +1,2 @@
1
+ let e,t,n,l=!1,o=!1,s=!1,i=!1,c=!1;const r=e=>{const t=new URL(e,me.t);return t.origin!==pe.location.origin?t.href:t.pathname},f="http://www.w3.org/1999/xlink",a={},u=e=>"object"==(e=typeof e)||"function"===e;function d(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const p=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!u(l))&&(l+=""),i&&c?r[r.length-1].l+=l:r.push(i?$(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,h);const a=$(e,null);return a.o=t,r.length>0&&(a.i=r),a.u=o,a.p=s,a},$=(e,t)=>({$:0,m:e,l:t,h:null,i:null,o:null,u:null,p:null}),m={},h={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(b)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.p,vtag:e.m,vtext:e.l}),b=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),p(e.vtag,t,...e.vchildren||[])}const t=$(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.p=e.vname,t},w=e=>se(e).v,v=(e,t,n)=>{const l=w(e);return{emit:e=>g(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},g=(e,t,n)=>{const l=me.ce(t,n);return e.dispatchEvent(l),l},k=new WeakMap,j=e=>"sc-"+e.g,S=(e,t,n,l,o,s)=>{if(n!==l){let i=re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=M(n),s=M(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=u(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(f,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,a?e.setAttributeNS(f,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):re(pe,c)?c.slice(2):c[2]+t.slice(3),n&&me.rel(e,t,n,!1),l&&me.ael(e,t,l,!1)}},O=/\s/,M=e=>e?e.split(O):[],R=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.o||a,i=t.o||a;for(l in s)l in i||S(o,l,s[l],void 0,n,t.$);for(l in i)S(o,l,s[l],i[l],n,t.$)},x=(o,c,r,f)=>{const a=c.i[r];let u,d,p,$=0;if(l||(s=!0,"slot"===a.m&&(e&&f.classList.add(e+"-s"),a.$|=a.i?2:1)),null!==a.l)u=a.h=$e.createTextNode(a.l);else if(1&a.$)u=a.h=$e.createTextNode("");else{if(i||(i="svg"===a.m),u=a.h=$e.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.$?"slot-fb":a.m),i&&"foreignObject"===a.m&&(i=!1),R(null,a,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),a.i)for($=0;$<a.i.length;++$)d=x(o,a,$,u),d&&u.appendChild(d);"svg"===a.m?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&a.$&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=a.p||"",p=o&&o.i&&o.i[r],p&&p.m===a.m&&o.h&&C(o.h,!1)),u},C=(e,t)=>{me.$|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(W(o).insertBefore(o,U(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&C(o,t)}me.$&=-2},L=(e,t,l,o,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=x(null,l,s,e),c&&(o[s].h=c,r.insertBefore(c,U(t))))},P=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.h,H(l),o=!0,s["s-ol"]?s["s-ol"].remove():C(s,!0),s.remove())},T=(e,t)=>e.m===t.m&&("slot"===e.m?e.p===t.p:e.u===t.u),U=e=>e&&e["s-ol"]||e,W=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,E=(e,t)=>{const n=t.h=e.h,l=e.i,o=t.i,s=t.m,c=t.l;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||R(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,c=0,r=0,f=0,a=t.length-1,u=t[0],d=t[a],p=l.length-1,$=l[0],m=l[p];for(;i<=a&&c<=p;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==$)$=l[++c];else if(null==m)m=l[--p];else if(T(u,$))E(u,$),u=t[++i],$=l[++c];else if(T(d,m))E(d,m),d=t[--a],m=l[--p];else if(T(u,m))"slot"!==u.m&&"slot"!==m.m||C(u.h.parentNode,!1),E(u,m),e.insertBefore(u.h,d.h.nextSibling),u=t[++i],m=l[--p];else if(T(d,$))"slot"!==u.m&&"slot"!==m.m||C(d.h.parentNode,!1),E(d,$),e.insertBefore(d.h,u.h),d=t[--a],$=l[++c];else{for(r=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].u&&t[f].u===$.u){r=f;break}r>=0?(s=t[r],s.m!==$.m?o=x(t&&t[c],n,r,e):(E(s,$),t[r]=void 0,o=s.h),$=l[++c]):(o=x(t&&t[c],n,c,e),$=l[++c]),o&&W(u.h).insertBefore(o,U(u.h))}i>a?L(e,null==l[p+1]?null:l[p+1].h,n,l,c,p):c>p&&P(t,i,a)})(n,l,t,o):null!==o?(null!==e.l&&(n.textContent=""),L(n,null,t,o,0,o.length-1)):null!==l&&P(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.l!==c&&(n.data=c)},N=e=>{const t=e.childNodes;let n,l,o,s,i,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}N(n)}},D=[],A=e=>{let t,n,l,s,i,c,r=0;const f=e.childNodes,a=f.length;for(;r<a;r++){if(t=f[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(F(n,s)?(i=D.find((e=>e.k===n)),o=!0,n["s-sn"]=n["s-sn"]||s,i?i.j=t:D.push({j:t,k:n}),n["s-sr"]&&D.map((e=>{F(e.k,n["s-sn"])&&(i=D.find((e=>e.k===n)),i&&!e.j&&(e.j=i.j))}))):D.some((e=>e.k===n))||D.push({k:n}));1===t.nodeType&&A(t)}},F=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,H=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(H)},q=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},V=(e,t)=>{if(e.$|=16,!(4&e.$))return q(e,e.O),Se((()=>_(e,t)));e.$|=512},_=(e,t)=>{const n=e.M;let l;return t?(e.$|=256,e.R&&(e.R.map((([e,t])=>J(n,e,t))),e.R=null),l=J(n,"componentWillLoad")):l=J(n,"componentWillUpdate"),l=K(l,(()=>J(n,"componentWillRender"))),K(l,(()=>z(e,n,t)))},z=async(e,t,n)=>{const l=e.v,o=l["s-rc"];n&&(e=>{const t=e.C,n=e.v,l=t.$,o=((e,t)=>{var n;let l=j(t);const o=de.get(l);if(e=11===e.nodeType?e:$e,o)if("string"==typeof o){let t,s=k.get(e=e.head||e);if(s||k.set(e,s=new Set),!s.has(l)){{t=$e.createElement("style"),t.innerHTML=o;const l=null!==(n=me.L)&&void 0!==n?n:d($e);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}s&&s.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);B(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>G(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},B=(i,c)=>{try{c=c.render(),i.$&=-17,i.$|=2,((i,c)=>{const r=i.v,f=i.C,a=i.P||$(null,null),u=(e=>e&&e.m===m)(c)?c:p(null,null,c);if(n=r.tagName,f.T&&(u.o=u.o||{},f.T.map((([e,t])=>u.o[t]=r[e]))),u.m=null,u.$|=4,i.P=u,u.h=a.h=r.shadowRoot||r,e=r["s-sc"],t=r["s-cr"],l=0!=(1&f.$),o=!1,E(a,u),me.$|=1,s){let e,t,n,l,o,s;A(u.h);let i=0;for(;i<D.length;i++)e=D[i],t=e.k,t["s-ol"]||(n=$e.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<D.length;i++)if(e=D[i],t=e.k,e.j){for(l=e.j.parentNode,o=e.j.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&N(u.h),me.$&=-2,D.length=0})(i,c)}catch(e){fe(e,i.v)}return null},G=e=>{const t=e.v,n=e.M,l=e.O;J(n,"componentDidRender"),64&e.$?J(n,"componentDidUpdate"):(e.$|=64,Q(t),J(n,"componentDidLoad"),e.U(t),l||I()),e.W(t),e.S&&(e.S(),e.S=void 0),512&e.$&&je((()=>V(e,!1))),e.$&=-517},I=()=>{Q($e.documentElement),je((()=>g(pe,"appload",{detail:{namespace:"ptcw-design"}})))},J=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},K=(e,t)=>e&&e.then?e.then(t):t(),Q=e=>e.classList.add("hydrated"),X=(e,t,n)=>{if(t.N){e.watchers&&(t.D=e.watchers);const l=Object.entries(t.N),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>se(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=se(e),s=o.v,i=o.A.get(t),c=o.$,r=o.M;if(n=((e,t)=>null==e||u(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.N[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.A.set(t,n),r)){if(l.D&&128&c){const e=l.D[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,s)}}))}2==(18&c)&&V(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=se(this);return n.F.then((()=>n.M[e](...t)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){me.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.T.push([e,o]),o}))}}return e},Y=(e,t={})=>{var n;const l=[],o=t.exclude||[],s=pe.customElements,i=$e.head,c=i.querySelector("meta[charset]"),r=$e.createElement("style"),f=[];let a,u=!0;Object.assign(me,t),me.t=new URL(t.resourcesUrl||"./",$e.baseURI).href,e.map((e=>{e[1].map((t=>{const n={$:t[0],g:t[1],N:t[2],H:t[3]};n.N=t[2],n.H=t[3],n.T=[],n.D={};const i=n.g,c=class extends HTMLElement{constructor(e){super(e),ce(e=this,n),1&n.$&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),u?f.push(this):me.jmp((()=>(e=>{if(0==(1&me.$)){const t=se(e),n=t.C,l=()=>{};if(1&t.$)Z(e,t,n.H);else{t.$|=1,12&n.$&&(e=>{const t=e["s-cr"]=$e.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){q(t,t.O=n);break}}n.N&&Object.entries(n.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.$)){{if(t.$|=32,(o=ue(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.D=o.watchers,X(o,n,2),o.isProxied=!0);const e=()=>{};t.$|=8;try{new o(t)}catch(e){fe(e)}t.$&=-9,t.$|=128,e()}if(o.style){let e=o.style;const t=j(n);if(!de.has(t)){const l=()=>{};((e,t,n)=>{let l=de.get(e);ye&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,de.set(e,l)})(t,e,!!(1&n.$)),l()}}}const s=t.O,i=()=>V(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){me.jmp((()=>(()=>{if(0==(1&me.$)){const e=se(this),t=e.M;e.q&&(e.q.map((e=>e())),e.q=void 0),J(t,"disconnectedCallback")}})()))}componentOnReady(){return se(this).V}};n._=e[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,X(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=me.L)&&void 0!==n?n:d($e);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}u=!1,f.length?f.map((e=>e.connectedCallback())):me.jmp((()=>a=setTimeout(I,30)))},Z=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=te(e,n),i=ee(t,o),c=ne(n);me.ael(s,l,i,c),(t.q=t.q||[]).push((()=>me.rel(s,l,i,c)))}))},ee=(e,t)=>n=>{try{256&e.$?e.M[t](n):(e.R=e.R||[]).push([t,n])}catch(e){fe(e)}},te=(e,t)=>4&t?$e:8&t?pe:e,ne=e=>0!=(2&e),le=e=>me.L=e,oe=new WeakMap,se=e=>oe.get(e),ie=(e,t)=>oe.set(t.M=e,t),ce=(e,t)=>{const n={$:0,v:e,C:t,A:new Map};return n.F=new Promise((e=>n.W=e)),n.V=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],Z(e,n,t.H),oe.set(e,n)},re=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),ae=new Map,ue=e=>{const t=e.g.replace(/-/g,"_"),n=e._,l=ae.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ae.set(n,e),e[t])),fe)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},de=new Map,pe="undefined"!=typeof window?window:{},$e=pe.document||{head:{}},me={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},he=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),be=[],we=[],ve=(e,t)=>n=>{e.push(n),c||(c=!0,t&&4&me.$?je(ke):me.raf(ke))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},ke=()=>{ge(be),ge(we),(c=be.length>0)&&me.raf(ke)},je=e=>he().then(e),Se=ve(we,!0);export{m as H,r as a,Y as b,v as c,w as g,p as h,he as p,ie as r,le as s}