@ptcwebops/ptcw-design 1.2.0 → 1.2.1

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 (202) hide show
  1. package/dist/cjs/bundle-example.cjs.entry.js +1 -1
  2. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +43 -0
  3. package/dist/cjs/core-fd18b67a.js +3771 -0
  4. package/dist/cjs/icon-asset.cjs.entry.js +53 -0
  5. package/dist/cjs/interfaces-0ecd8027.js +15 -0
  6. package/dist/cjs/list-item.cjs.entry.js +33 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/max-width-container_5.cjs.entry.js +452 -0
  9. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +138 -0
  10. package/dist/cjs/ptc-button_8.cjs.entry.js +528 -0
  11. package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +8 -1
  15. package/dist/cjs/ptc-pagenation.cjs.entry.js +5 -5
  16. package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  18. package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-title.cjs.entry.js +78 -0
  22. package/dist/cjs/ptc-tooltip.cjs.entry.js +90 -0
  23. package/dist/cjs/ptcw-design.cjs.js +1 -1
  24. package/dist/cjs/sequential-bundle.cjs.entry.js +100 -0
  25. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  26. package/dist/collection/collection-manifest.json +4 -2
  27. package/dist/collection/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.css +14 -4
  28. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +22 -0
  29. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -0
  30. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +781 -0
  31. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +152 -0
  32. package/dist/collection/components/ptc-announcement/ptc-announcement.js +0 -1
  33. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +1 -1
  34. package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +1 -1
  35. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +4 -2
  36. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +47 -55
  37. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +3 -3
  38. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -4
  39. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +32 -0
  40. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +12 -5
  41. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +4 -4
  42. package/dist/collection/components/ptc-picture/ptc-picture.js +8 -5
  43. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +1 -0
  44. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +6 -4
  45. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  46. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +4 -0
  47. package/dist/collection/components/ptc-tabs/ptc-tabs.css +1 -0
  48. package/dist/collection/components/tab-header/tab-header.css +1 -1
  49. package/dist/custom-elements/index.d.ts +12 -0
  50. package/dist/custom-elements/index.js +4030 -47
  51. package/dist/esm/bundle-example.entry.js +2 -2
  52. package/dist/esm/bundle-jumbotron-example.entry.js +39 -0
  53. package/dist/esm/core-1c9d4889.js +3769 -0
  54. package/dist/esm/dropdown-item.entry.js +1 -1
  55. package/dist/esm/icon-asset.entry.js +49 -0
  56. package/dist/esm/{index-8e63c32d.js → index-4afc9d28.js} +1 -1
  57. package/dist/esm/interfaces-c1c73092.js +12 -0
  58. package/dist/esm/list-item.entry.js +29 -0
  59. package/dist/esm/loader.js +3 -3
  60. package/dist/esm/lottie-player.entry.js +1 -1
  61. package/dist/esm/max-width-container_5.entry.js +444 -0
  62. package/dist/esm/my-component.entry.js +1 -1
  63. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  64. package/dist/esm/ptc-accordion.entry.js +1 -1
  65. package/dist/esm/ptc-announcement.entry.js +1 -1
  66. package/dist/esm/ptc-breadcrumb_2.entry.js +133 -0
  67. package/dist/esm/ptc-button_8.entry.js +517 -0
  68. package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
  69. package/dist/esm/ptc-card.entry.js +1 -1
  70. package/dist/esm/ptc-checkbox.entry.js +2 -2
  71. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  72. package/dist/esm/ptc-container.entry.js +1 -1
  73. package/dist/esm/ptc-date.entry.js +1 -1
  74. package/dist/esm/ptc-dropdown.entry.js +2 -2
  75. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  76. package/dist/esm/ptc-filter-tag.entry.js +2 -2
  77. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  78. package/dist/esm/ptc-hero.entry.js +1 -1
  79. package/dist/esm/ptc-icon-list.entry.js +1 -1
  80. package/dist/esm/ptc-icon-minimize.entry.js +9 -2
  81. package/dist/esm/ptc-link.entry.js +1 -1
  82. package/dist/esm/ptc-list.entry.js +1 -1
  83. package/dist/esm/ptc-lottie.entry.js +1 -1
  84. package/dist/esm/ptc-media-card.entry.js +1 -1
  85. package/dist/esm/ptc-minimized-footer.entry.js +1 -1
  86. package/dist/esm/ptc-minimized-header.entry.js +1 -1
  87. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  88. package/dist/esm/ptc-nav-card.entry.js +1 -1
  89. package/dist/esm/ptc-pagenation.entry.js +6 -6
  90. package/dist/esm/ptc-previous-url.entry.js +1 -1
  91. package/dist/esm/ptc-pricing-block.entry.js +2 -2
  92. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  93. package/dist/esm/ptc-quote.entry.js +1 -1
  94. package/dist/esm/ptc-readmore.entry.js +1 -1
  95. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  96. package/dist/esm/ptc-search-field.entry.js +1 -1
  97. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  98. package/dist/esm/ptc-social-share.entry.js +1 -1
  99. package/dist/esm/ptc-span.entry.js +1 -1
  100. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  101. package/dist/esm/ptc-tab-list.entry.js +2 -2
  102. package/dist/esm/ptc-tab.entry.js +2 -2
  103. package/dist/esm/ptc-tabs.entry.js +2 -2
  104. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  105. package/dist/esm/ptc-title.entry.js +74 -0
  106. package/dist/esm/ptc-tooltip.entry.js +86 -0
  107. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  108. package/dist/esm/ptcw-design.js +3 -3
  109. package/dist/esm/sequential-bundle.entry.js +96 -0
  110. package/dist/esm/tab-content.entry.js +1 -1
  111. package/dist/esm/tab-header.entry.js +2 -2
  112. package/dist/ptcw-design/{p-f55984c2.entry.js → p-00b2c937.entry.js} +1 -1
  113. package/dist/ptcw-design/p-0335a2de.entry.js +1 -0
  114. package/dist/ptcw-design/p-07059441.entry.js +1 -0
  115. package/dist/ptcw-design/{p-462567d1.entry.js → p-08f40716.entry.js} +1 -1
  116. package/dist/ptcw-design/{p-8c6b069b.entry.js → p-09a6b0a7.entry.js} +1 -1
  117. package/dist/ptcw-design/{p-1bc06d03.entry.js → p-0c1e7f62.entry.js} +1 -1
  118. package/dist/ptcw-design/p-0eeebc10.entry.js +1 -0
  119. package/dist/ptcw-design/{p-366528df.entry.js → p-10555016.entry.js} +1 -1
  120. package/dist/ptcw-design/{p-b922e3a5.entry.js → p-2ac4eb02.entry.js} +1 -1
  121. package/dist/ptcw-design/{p-fa0e4fe3.entry.js → p-2d0de92a.entry.js} +1 -1
  122. package/dist/ptcw-design/p-36a3f48e.entry.js +1 -0
  123. package/dist/ptcw-design/{p-cdff68d4.entry.js → p-372a6bb1.entry.js} +1 -1
  124. package/dist/ptcw-design/{p-00c9ae79.entry.js → p-3bc3c801.entry.js} +1 -1
  125. package/dist/ptcw-design/{p-ca6d7814.entry.js → p-3f88508e.entry.js} +1 -1
  126. package/dist/ptcw-design/{p-6872e11b.entry.js → p-4132db6b.entry.js} +1 -1
  127. package/dist/ptcw-design/{p-3bb54c51.entry.js → p-42424ba0.entry.js} +1 -1
  128. package/dist/ptcw-design/p-4a0c9db2.entry.js +1 -0
  129. package/dist/ptcw-design/p-50e52c88.js +1 -0
  130. package/dist/ptcw-design/{p-61d91a69.entry.js → p-536abb90.entry.js} +1 -1
  131. package/dist/ptcw-design/{p-f958e8c7.entry.js → p-588eb1d3.entry.js} +1 -1
  132. package/dist/ptcw-design/{p-c64a3715.entry.js → p-603576bb.entry.js} +1 -1
  133. package/dist/ptcw-design/p-665a7d6a.entry.js +1 -0
  134. package/dist/ptcw-design/{p-a43f3c42.entry.js → p-6756c89e.entry.js} +1 -1
  135. package/dist/ptcw-design/p-69dddd51.js +1 -0
  136. package/dist/ptcw-design/{p-d7d6eff1.entry.js → p-6a0b0d0e.entry.js} +1 -1
  137. package/dist/ptcw-design/{p-d43ff8d4.entry.js → p-6ab6a1e2.entry.js} +1 -1
  138. package/dist/ptcw-design/{p-8a1c2577.entry.js → p-6acd380a.entry.js} +1 -1
  139. package/dist/ptcw-design/{p-609f7161.entry.js → p-6bbccda8.entry.js} +1 -1
  140. package/dist/ptcw-design/{p-de1ceba8.entry.js → p-6f244989.entry.js} +1 -1
  141. package/dist/ptcw-design/p-74422742.entry.js +1 -0
  142. package/dist/ptcw-design/p-7650e042.entry.js +1 -0
  143. package/dist/ptcw-design/{p-f81d880d.entry.js → p-77d3b816.entry.js} +1 -1
  144. package/dist/ptcw-design/{p-343f216f.entry.js → p-7f7594ee.entry.js} +1 -1
  145. package/dist/ptcw-design/{p-6e8222ce.entry.js → p-91db9d8a.entry.js} +1 -1
  146. package/dist/ptcw-design/p-91dc58c5.entry.js +1 -0
  147. package/dist/ptcw-design/{p-2181c8c7.entry.js → p-9805a542.entry.js} +1 -1
  148. package/dist/ptcw-design/p-9bbfeec6.entry.js +1 -0
  149. package/dist/ptcw-design/{p-63c06667.js → p-9dd25c18.js} +1 -1
  150. package/dist/ptcw-design/{p-8a6acf0d.entry.js → p-a76bf4d6.entry.js} +1 -1
  151. package/dist/ptcw-design/p-aa62ab8c.entry.js +1 -0
  152. package/dist/ptcw-design/{p-1c9ed21b.entry.js → p-aae3d333.entry.js} +1 -1
  153. package/dist/ptcw-design/p-ab9d5bb9.entry.js +1 -0
  154. package/dist/ptcw-design/{p-af975d78.entry.js → p-b2d0228f.entry.js} +1 -1
  155. package/dist/ptcw-design/{p-a7b20fe7.entry.js → p-b5064c43.entry.js} +1 -1
  156. package/dist/ptcw-design/{p-55d298f5.entry.js → p-b73ea53a.entry.js} +1 -1
  157. package/dist/ptcw-design/p-bcbf087c.entry.js +1 -0
  158. package/dist/ptcw-design/{p-2ae39c65.entry.js → p-c0b1c34c.entry.js} +1 -1
  159. package/dist/ptcw-design/p-c17514f5.entry.js +1 -0
  160. package/dist/ptcw-design/{p-12780f09.entry.js → p-c326164f.entry.js} +1 -1
  161. package/dist/ptcw-design/{p-0f8784e9.entry.js → p-c5975914.entry.js} +1 -1
  162. package/dist/ptcw-design/p-c80aebb8.entry.js +1 -0
  163. package/dist/ptcw-design/{p-574680c3.entry.js → p-c83efab5.entry.js} +1 -1
  164. package/dist/ptcw-design/{p-a24ecd75.entry.js → p-c9342bd2.entry.js} +1 -1
  165. package/dist/ptcw-design/{p-ea19d8f6.entry.js → p-cb7b03fb.entry.js} +1 -1
  166. package/dist/ptcw-design/{p-dd6501a8.entry.js → p-cff0b2b0.entry.js} +1 -1
  167. package/dist/ptcw-design/p-d8f8974f.entry.js +1 -0
  168. package/dist/ptcw-design/{p-59058faa.entry.js → p-deed8ef6.entry.js} +1 -1
  169. package/dist/ptcw-design/{p-c7bd4d99.entry.js → p-e282af3d.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-e4f1e8fd.entry.js → p-f733dad8.entry.js} +1 -1
  171. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  172. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -0
  173. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -0
  174. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +5 -6
  175. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +3 -0
  176. package/dist/types/components.d.ts +41 -5
  177. package/package.json +3 -4
  178. package/readme.md +1 -1
  179. package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +0 -1131
  180. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
  181. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +0 -57
  182. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -34
  183. package/dist/esm/bundle-jumbotron-example_16.entry.js +0 -1112
  184. package/dist/esm/ptc-card-content.entry.js +0 -64
  185. package/dist/esm/ptc-dynamic-card.entry.js +0 -53
  186. package/dist/esm/ptc-overlay.entry.js +0 -30
  187. package/dist/ptcw-design/p-46a6b69c.entry.js +0 -1
  188. package/dist/ptcw-design/p-46afd828.entry.js +0 -1
  189. package/dist/ptcw-design/p-47b2c76f.entry.js +0 -1
  190. package/dist/ptcw-design/p-598d16e5.entry.js +0 -1
  191. package/dist/ptcw-design/p-6b1eb02f.entry.js +0 -1
  192. package/dist/ptcw-design/p-a4e1afa5.entry.js +0 -1
  193. package/dist/ptcw-design/p-af3d5be7.entry.js +0 -1
  194. package/dist/ptcw-design/p-ce9f0355.entry.js +0 -1
  195. package/dist/ptcw-design/p-e91fbd67.entry.js +0 -1
  196. package/dist/ptcw-design/p-f6fe5efe.entry.js +0 -1
  197. package/dist/ptcw-design/p-fe1ff7d2.entry.js +0 -1
  198. /package/dist/collection/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.js +0 -0
  199. /package/dist/collection/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.css +0 -0
  200. /package/dist/collection/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.js +0 -0
  201. /package/dist/types/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.d.ts +0 -0
  202. /package/dist/types/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.d.ts +0 -0
@@ -0,0 +1,444 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-4afc9d28.js';
2
+ import { a as ResponsiveBgVariables } from './interfaces-c1c73092.js';
3
+
4
+ const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
5
+
6
+ const MaxWidthContainer = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.maxWidth = undefined;
10
+ this.breakpoint = 768;
11
+ this.contentAlign = 'center';
12
+ }
13
+ componentDidLoad() {
14
+ this.handleResize();
15
+ window.addEventListener('resize', this.handleResize.bind(this));
16
+ }
17
+ disconnectedCallback() {
18
+ window.removeEventListener('resize', this.handleResize);
19
+ }
20
+ render() {
21
+ const classMap = this.getCssClassMap();
22
+ return (h(Host, { class: classMap }, h("slot", null)));
23
+ }
24
+ getCssClassMap() {
25
+ return {
26
+ [this.contentAlign]: true,
27
+ };
28
+ }
29
+ handleResize() {
30
+ // const selectedContainer = this.el.querySelector('.max-width-container');
31
+ if (this.el) {
32
+ if (window.innerWidth >= this.breakpoint) {
33
+ this.el.style.maxWidth = `${this.maxWidth}px`;
34
+ }
35
+ else {
36
+ this.el.style.maxWidth = 'initial';
37
+ }
38
+ }
39
+ }
40
+ get el() { return getElement(this); }
41
+ };
42
+ MaxWidthContainer.style = maxWidthContainerCss;
43
+
44
+ const ptcBackgroundVideoCss = ":host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}";
45
+
46
+ const PtcBackgroundVideo = class {
47
+ constructor(hostRef) {
48
+ registerInstance(this, hostRef);
49
+ this.videoSrc = undefined;
50
+ this.posterSrc = undefined;
51
+ this.overlay = true;
52
+ this.type = 'default';
53
+ }
54
+ render() {
55
+ return (h(Host, { class: this.type }, h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }), this.overlay
56
+ ? h("div", { class: "video-overlay" })
57
+ : "", this.type == 'default'
58
+ ? h("slot", null)
59
+ : ""));
60
+ }
61
+ };
62
+ PtcBackgroundVideo.style = ptcBackgroundVideoCss;
63
+
64
+ const ptcImgCss = ".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}}";
65
+
66
+ const PtcImg = class {
67
+ constructor(hostRef) {
68
+ registerInstance(this, hostRef);
69
+ this.sizeXs = '510x340';
70
+ this.sizeSm = '1240x496';
71
+ this.sizeMd = '1366x500';
72
+ this.sizeLg = '1920x1080';
73
+ this.imgUrl = undefined;
74
+ this.imageType = 'smart-bg';
75
+ this.borderRadius = '';
76
+ this.loadMode = 'lazy-bg';
77
+ }
78
+ /**
79
+ * Image Z Index
80
+ */
81
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
82
+ WindowResize() {
83
+ this.setResponsiveBg();
84
+ }
85
+ render() {
86
+ const classMap = this.getCssClassMap();
87
+ return (h(Host, null, h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
88
+ }
89
+ componentDidLoad() {
90
+ this.addIntersectionObserver();
91
+ this.setResponsiveBg();
92
+ }
93
+ componentWillUpdate() {
94
+ this.addIntersectionObserver();
95
+ this.setResponsiveBg();
96
+ }
97
+ //responsive image
98
+ setResponsiveBg() {
99
+ // Define local variables
100
+ let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
101
+ // Loop through all target elements
102
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
103
+ // Set current variables
104
+ el = backgrounds[i];
105
+ elData = el.getAttribute('data-' + currentBreakpoint);
106
+ // If the data attribute exists, set the background
107
+ if (elData !== null) {
108
+ el.style.backgroundImage = "url('" + elData + "')";
109
+ }
110
+ else {
111
+ if (typeof console == 'object') {
112
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
113
+ }
114
+ }
115
+ }
116
+ }
117
+ //lazy loading
118
+ addIntersectionObserver() {
119
+ if (!this.imgUrl) {
120
+ console.log('no image!');
121
+ return;
122
+ }
123
+ if ('IntersectionObserver' in window) {
124
+ let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
125
+ let bgObserver = new IntersectionObserver(entries => {
126
+ entries.forEach(entry => {
127
+ if (entry.isIntersecting) {
128
+ const image = entry.target;
129
+ image.classList.remove('lazy-bg');
130
+ bgObserver.unobserve(image);
131
+ }
132
+ });
133
+ });
134
+ lazyLoadBgs.forEach(image => {
135
+ bgObserver.observe(image);
136
+ });
137
+ }
138
+ }
139
+ getCssClassMap() {
140
+ return {
141
+ [this.imageType]: true,
142
+ 'ptc-img': true,
143
+ [this.borderRadius]: true,
144
+ [this.loadMode]: true,
145
+ // [this.imageZIndex] : true
146
+ };
147
+ }
148
+ getCurrentBreakPoints() {
149
+ // Define local variables
150
+ let doc = window.document, temp = doc.createElement('div'), env;
151
+ // Append test node
152
+ doc.body.appendChild(temp);
153
+ // Loop through breakpoints
154
+ for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
155
+ env = ResponsiveBgVariables.envs[i];
156
+ // Add classes
157
+ temp.className = 'hidden-' + env;
158
+ // Found breakpoint
159
+ if (temp.offsetParent === null) {
160
+ // Remove our test node
161
+ doc.body.removeChild(temp);
162
+ // Return current breakpoint
163
+ return env;
164
+ }
165
+ }
166
+ // Breakpoint not found, try fallback
167
+ doc.body.removeChild(temp);
168
+ return this.getFallbackBreakpoint();
169
+ }
170
+ getFallbackBreakpoint() {
171
+ if (window.matchMedia('(min-width: 992px)').matches) {
172
+ return 'lg';
173
+ }
174
+ else if (window.matchMedia('(min-width: 768px)').matches) {
175
+ return 'md';
176
+ }
177
+ else if (window.matchMedia('(min-width: 576px)').matches) {
178
+ return 'sm';
179
+ }
180
+ else {
181
+ return 'xs';
182
+ }
183
+ }
184
+ get el() { return getElement(this); }
185
+ };
186
+ PtcImg.style = ptcImgCss;
187
+
188
+ const ptcModalCss = ":host{display:block}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper .modal-popup.shadow-scroller{max-height:756px}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:var(--spacing-md);right:var(--spacing-md);margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden;overflow-y:auto}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:72px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";
189
+
190
+ const PtcModal = class {
191
+ constructor(hostRef) {
192
+ registerInstance(this, hostRef);
193
+ this.closed = createEvent(this, "closed", 7);
194
+ this.opened = createEvent(this, "opened", 7);
195
+ this.iframeUrl = undefined;
196
+ this.size = 'sm';
197
+ this.show = false;
198
+ this.overlay = true;
199
+ this.fixed = false;
200
+ this.closeOnBlur = false;
201
+ this.rounded = false;
202
+ this.showHeaderFooter = false;
203
+ this.overlayHeight = undefined;
204
+ this.bodyOverflowSetting = undefined;
205
+ }
206
+ fireOnClosed(modal) {
207
+ this.closed.emit(modal);
208
+ }
209
+ fireOnOpened(modal) {
210
+ this.opened.emit(modal);
211
+ }
212
+ componentWillLoad() {
213
+ let body = document.querySelector('body');
214
+ this.bodyOverflowSetting = {
215
+ //overflow: body.style['overflow'],
216
+ overflowY: body.style['overflowY'],
217
+ overflowX: body.style['overflowX'],
218
+ };
219
+ }
220
+ componentWillRender() {
221
+ let body = document.querySelector('body');
222
+ if (body) {
223
+ if (this.show) {
224
+ //body.style['overflow'] = 'hidden';
225
+ body.style['overflowY'] = 'scroll';
226
+ body.style['overflowX'] = 'hidden';
227
+ }
228
+ else {
229
+ //body.style['overflow'] = this.bodyOverflowSetting.overflow;
230
+ body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
231
+ body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
232
+ }
233
+ }
234
+ }
235
+ componentDidLoad() {
236
+ if (this.show) {
237
+ this.fireOnOpened(this);
238
+ }
239
+ if (this.showHeaderFooter) {
240
+ this.handleScroll();
241
+ }
242
+ }
243
+ componentDidUpdate() {
244
+ if (this.show) {
245
+ this.fireOnOpened(this);
246
+ }
247
+ else {
248
+ this.fireOnClosed(this);
249
+ }
250
+ }
251
+ resizeIframe(e) {
252
+ let iFrame = e.target;
253
+ setTimeout(() => {
254
+ try {
255
+ if (iFrame.contentDocument) {
256
+ iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
257
+ }
258
+ else {
259
+ iFrame.height = '616px'; //default
260
+ iFrame.removeAttribute('scrolling');
261
+ }
262
+ }
263
+ catch (error) {
264
+ console.log(error);
265
+ iFrame.height = '616px'; //default
266
+ iFrame.removeAttribute('scrolling');
267
+ }
268
+ iFrame.classList.add('ready');
269
+ }, 50);
270
+ }
271
+ handleScroll() {
272
+ let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
273
+ if (modal) {
274
+ let body = modal.querySelector('.modal-body');
275
+ var height = body.clientHeight;
276
+ var scrollHeight = body.scrollHeight;
277
+ var scrollTop = body.scrollTop;
278
+ var offset = body.offsetHeight;
279
+ if (height < scrollHeight) { //has scrollbar
280
+ if (scrollTop > 0) { //can scroll up
281
+ modal.classList.add('scroll-top');
282
+ }
283
+ else {
284
+ modal.classList.remove('scroll-top');
285
+ }
286
+ if (offset + scrollTop < scrollHeight) { //can scroll down
287
+ modal.classList.add('scroll-bottom');
288
+ }
289
+ else {
290
+ modal.classList.remove('scroll-bottom');
291
+ }
292
+ }
293
+ }
294
+ }
295
+ close() {
296
+ this.show = false;
297
+ }
298
+ render() {
299
+ let content;
300
+ let overlay;
301
+ let type = this.iframeUrl ? 'frame' : 'html';
302
+ let closebtn = (h("div", { class: "close" }, h("a", { href: "#", onClick: (e) => { e.preventDefault(); this.close(); } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { d: "M1 1L13 13", stroke: "black" }), h("path", { d: "M13 1L1 13", stroke: "black" })))));
303
+ if (this.iframeUrl) {
304
+ content = (h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
305
+ }
306
+ else {
307
+ if (this.showHeaderFooter) {
308
+ content = (h("slot", { name: "body" }));
309
+ }
310
+ else {
311
+ content = (h("slot", null));
312
+ }
313
+ }
314
+ if (this.overlay) {
315
+ if (this.closeOnBlur) {
316
+ overlay = h("div", { class: "overlay", onClick: (_) => this.close() });
317
+ }
318
+ else {
319
+ overlay = h("div", { class: "overlay" });
320
+ }
321
+ }
322
+ return (h(Host, null, h("div", { class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? 'fixed' : ''} ` }, overlay, h("div", { class: `modal-popup ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
323
+ h("div", { class: "modal-header" }, h("slot", { name: "header" }), closebtn),
324
+ h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
325
+ h("div", { class: "modal-footer" }, h("slot", { name: "footer" }))
326
+ ] : [
327
+ closebtn,
328
+ h("div", { class: "modal-body" }, content)
329
+ ]))));
330
+ }
331
+ get el() { return getElement(this); }
332
+ };
333
+ PtcModal.style = ptcModalCss;
334
+
335
+ const closeSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
336
+ <g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
337
+ <path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
338
+ <path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>
339
+ <path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>
340
+ <path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>
341
+ <path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>
342
+ <path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>
343
+ <path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>
344
+ </g>
345
+ </svg>`;
346
+
347
+ const arrowSvgLeft = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
348
+ <g filter="url(#filter0_d_494_37)">
349
+ <circle cx="24" cy="22" r="20" fill="white"/>
350
+ <path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>
351
+ </g>
352
+ <defs>
353
+ <filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
354
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
355
+ <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"/>
356
+ <feOffset dy="2"/>
357
+ <feGaussianBlur stdDeviation="2"/>
358
+ <feComposite in2="hardAlpha" operator="out"/>
359
+ <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"/>
360
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>
361
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>
362
+ </filter>
363
+ </defs>
364
+ </svg>
365
+ `;
366
+
367
+ const arrowSvgRight = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
368
+ <g filter="url(#filter0_d_494_34)">
369
+ <circle cx="24" cy="22" r="20" fill="white"/>
370
+ <path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>
371
+ </g>
372
+ <defs>
373
+ <filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
374
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
375
+ <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"/>
376
+ <feOffset dy="2"/>
377
+ <feGaussianBlur stdDeviation="2"/>
378
+ <feComposite in2="hardAlpha" operator="out"/>
379
+ <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"/>
380
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>
381
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>
382
+ </filter>
383
+ </defs>
384
+ </svg>
385
+ `;
386
+
387
+ const backarrow = `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">
388
+ <defs>
389
+ <style>
390
+ .cls-1 {
391
+ fill: #fff;
392
+ fill-rule: evenodd;
393
+ }
394
+ </style>
395
+ </defs>
396
+ <path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>
397
+ </svg>
398
+ `;
399
+
400
+ const play = `<svg width="84" height="84" viewBox="0 0 84 84" fill="none" xmlns="http://www.w3.org/2000/svg">
401
+ <g filter="url(#filter0_d_241_171)">
402
+ <circle cx="42" cy="38" r="36" fill="#1F2024"/>
403
+ <circle cx="42" cy="38" r="35" stroke="#33A13C" stroke-width="2"/>
404
+ </g>
405
+ <path d="M58 38L34 51.8564L34 24.1436L58 38Z" fill="white"/>
406
+ <defs>
407
+ <filter id="filter0_d_241_171" x="0" y="0" width="84" height="84" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
408
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
409
+ <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"/>
410
+ <feMorphology radius="2" operator="dilate" in="SourceAlpha" result="effect1_dropShadow_241_171"/>
411
+ <feOffset dy="4"/>
412
+ <feGaussianBlur stdDeviation="2"/>
413
+ <feComposite in2="hardAlpha" operator="out"/>
414
+ <feColorMatrix type="matrix" values="0 0 0 0 0.231373 0 0 0 0 0.270588 0 0 0 0 0.313726 0 0 0 0.1 0"/>
415
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_241_171"/>
416
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_241_171" result="shape"/>
417
+ </filter>
418
+ </defs>
419
+ </svg>
420
+ `;
421
+
422
+ const ptcSvgBtnCss = ":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}}";
423
+
424
+ const PtcSvgBtn = class {
425
+ constructor(hostRef) {
426
+ registerInstance(this, hostRef);
427
+ this.svgName = 'close';
428
+ this.display = 'block';
429
+ this.zIndex = undefined;
430
+ this.styles = undefined;
431
+ }
432
+ render() {
433
+ const classMap = this.getCssClassMap();
434
+ return (h(Host, Object.assign({ class: classMap }, (this.zIndex !== undefined ? { style: { zIndex: this.zIndex } } : null)), this.styles && h("style", null, this.styles), !!this.svgName && this.svgName === 'close' ? h("div", { class: "svg-close", innerHTML: closeSvg }) : null, !!this.svgName && this.svgName === 'slider-left' ? h("div", { class: "slider-left", innerHTML: arrowSvgLeft }) : null, !!this.svgName && this.svgName === 'slider-right' ? h("div", { class: "slider-right", innerHTML: arrowSvgRight }) : null, !!this.svgName && this.svgName === 'back-arrow' ? h("div", { class: "back-arrow", innerHTML: backarrow }) : null, !!this.svgName && this.svgName === 'play' ? h("div", { class: "play", innerHTML: play }) : null));
435
+ }
436
+ getCssClassMap() {
437
+ return {
438
+ [this.display]: true,
439
+ };
440
+ }
441
+ };
442
+ PtcSvgBtn.style = ptcSvgBtnCss;
443
+
444
+ export { MaxWidthContainer as max_width_container, PtcBackgroundVideo as ptc_background_video, PtcImg as ptc_img, PtcModal as ptc_modal, PtcSvgBtn as ptc_svg_btn };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h } from './index-4afc9d28.js';
2
2
  import { f as format } from './utils-f937097d.js';
3
3
 
4
4
  const myComponentCss = ":host{display:block}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-8e63c32d.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4afc9d28.js';
2
2
 
3
3
  const hasSlot = (parentEl, slotName) => {
4
4
  return !!parentEl.querySelector(':scope > [slot="' + slotName + '"'); // cast boolean
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4afc9d28.js';
2
2
 
3
3
  const ptcAccordionCss = ":host{--ptc-accordion-item-body-max-height:100vh}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-8e63c32d.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-4afc9d28.js';
2
2
 
3
3
  const ptcAnnouncementCss = ":host{display:block}.announcement{width:100%;position:relative;background-color:var(--color-gray-02);z-index:860;background-size:cover;background-repeat:repeat-x;border-top:3px solid var(--color-green-07);box-shadow:var(--ptc-shadow-medium);z-index:999;display:none}.visible{display:block}.content-wrapper{display:flex;padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-06) var(--ptc-element-spacing-03) var(--ptc-element-spacing-05);margin:0 auto;align-items:center;justify-content:space-between;max-width:1200px}@media only screen and (min-width: 768px){.content-wrapper{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-06)}}@media only screen and (min-width: 1200px){.content-wrapper{padding:var(--ptc-element-spacing-03) 15px var(--ptc-element-spacing-03) 15px;max-width:1170px;box-sizing:border-box}}@media screen and (min-width: 1400px){.content-wrapper{padding:var(--ptc-element-spacing-03) 0px var(--ptc-element-spacing-03) 0px;max-width:1200px}}.left-content{max-width:calc(100% - 76px);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;position:relative}.title{font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);letter-spacing:var(--ptc-letter-spacing-dense);text-align:left;color:var(--color-gray-10);margin-bottom:var(--ptc-element-spacing-02);max-width:100%}.description{font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);line-height:var(--ptc-line-height-densest);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);max-width:100%}.description div{display:inline-block;padding-right:var(--ptc-element-spacing-01);vertical-align:middle}.cta-link{color:var(--color-blue-07);font-size:var(--ptc-font-size-x-small);-webkit-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);-o-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);font-weight:var(--ptc-font-weight-bold);text-decoration:underline;display:inline-block;vertical-align:middle;cursor:pointer}.cta-link::before{content:\"\";position:absolute;width:100%;height:100%;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1}.cta-link:link{color:var(--color-blue-07)}.cta-link:hover{color:var(--color-blue-08)}.cta-link:active{color:var(--color-gray-09)}.cta-link:focus{outline:2px solid var(--color-blue-07);outline-offset:0.25rem}.bar-close{max-width:36px;cursor:pointer;margin-left:var(--ptc-element-spacing-08);position:relative}.bar-close::before{content:\"\";position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1}@media only screen and (min-width: 992px){.left-content{flex-direction:row;max-width:calc(100% - 58px);flex:1 1 1032px}.bar-close{max-width:18px}.bar-close::before{width:34px;height:34px}.title{margin-right:var(--ptc-element-spacing-04);margin-bottom:0;flex:0 1 auto;max-width:248px}.title.max-title{max-width:unset !important;flex:2 1 560px}.description{flex:1 1 768px}}";
4
4
 
@@ -0,0 +1,133 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4afc9d28.js';
2
+
3
+ const ptcBreadcrumbCss = ":host{display:block;margin-top:var(--ptc-element-spacing-05)}::slotted(*){transform:translate(-2px, -2px)}:host(.left){display:flex;justify-content:flex-start}:host(.center){display:flex;justify-content:center}:host(.right){display:flex;justify-content:flex-end}:host(.remove-top-margin){margin-top:0px !important}";
4
+
5
+ const PtcBreadcrumb = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.position = undefined;
9
+ this.removeTopMargin = false;
10
+ this.color = 'white';
11
+ this.styles = undefined;
12
+ }
13
+ render() {
14
+ const classMap = this.getCssClassMap();
15
+ return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("list-item", { listType: "breadcrumb", flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color })), h("slot", null)));
16
+ }
17
+ getCssClassMap() {
18
+ return {
19
+ [this.position]: !!this.position && this.position !== undefined ? true : false,
20
+ ['remove-top-margin']: this.removeTopMargin ? true : false,
21
+ };
22
+ }
23
+ };
24
+ PtcBreadcrumb.style = ptcBreadcrumbCss;
25
+
26
+ const ptcJumbotronCss = ".ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.grid-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{column-gap:3rem}}.grid-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{column-gap:3rem}}.grid-x-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{column-gap:4rem}}.grid-x-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{column-gap:4rem}}.grid-medium-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{column-gap:2rem}}.grid-medium-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:2rem;padding-bottom:2rem}@media only screen and (min-width: 992px){.ptc-section{padding-top:3rem;padding-bottom:3rem}}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.fef-two-column-two-media .has-col-gap-lg{grid-column-gap:var(--spacing-md)}@media only screen and (min-width: 992px){.fef-two-column-two-media .has-col-gap-lg{grid-column-gap:var(--spacing-lg)}}.fef-two-column-two-media .is-col-6-md{padding-bottom:3rem}.fef-two-column-two-media .is-col-6-md:last-child{padding-bottom:0rem}@media only screen and (min-width: 768px){.fef-two-column-two-media .is-col-6-md{padding-bottom:0rem}}ptc-icon-list.icon-top-align-list a{text-decoration:none;transition:color 0.3s ease;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-font-size-x-large);border-bottom:0.094rem solid var(--color-green-06);color:var(--color-gray-10)}ptc-icon-list.icon-top-align-list a:hover{color:var(--color-green-06)}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.product-tab ptc-title h3{font-size:20px !important;font-weight:900}@media only screen and (min-width: 1200px){.product-tab ptc-title h3{font-size:15px !important;font-weight:800}}.product-tab .is-grid{grid-column-gap:20px;grid-row-gap:12px}:host{display:block}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:unset}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#F3F3F3}.video-ratio{position:relative;overflow:hidden;height:0;padding-bottom:100%}@media only screen and (min-width: 768px){.video-ratio{padding-bottom:75%}}@media only screen and (min-width: 992px){.video-ratio{padding-bottom:59.37%;max-height:500px}}@media only screen and (min-width: 1200px){.video-ratio{padding-bottom:39.67%}}@media only screen and (min-width: 1440px){.video-ratio{padding-bottom:33%}}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.gap-adjustment{gap:var(--ptc-element-spacing-05)}.text-adjustment{justify-content:flex-start}@media only screen and (min-width: 992px){.text-adjustment{justify-content:center}}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}ptc-svg-btn{position:absolute;left:50%;bottom:150%;transform:translate(-50%, 50%)}@media only screen and (min-width: 992px){ptc-svg-btn{left:70%;bottom:50%;transform:translate(0%, 50%)}}";
27
+
28
+ const PtcJumbotron = class {
29
+ constructor(hostRef) {
30
+ registerInstance(this, hostRef);
31
+ this.jumbotronType = 'light';
32
+ this.popupVideo = undefined;
33
+ this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
34
+ this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
35
+ this.pngSrc = undefined;
36
+ this.gifSrc = undefined;
37
+ this.bgVideoSrc = undefined;
38
+ this.bgSrc = undefined;
39
+ this.contentBackground = undefined;
40
+ this.contentColor = undefined;
41
+ this.textAlign = 'left';
42
+ }
43
+ handleResize() {
44
+ this.getContentBackground();
45
+ }
46
+ connectedCallback() {
47
+ this.getContentBackground();
48
+ }
49
+ componentDidLoad() {
50
+ if (!!this.popupVideo) {
51
+ const selectedBtn = this.el.shadowRoot.querySelector('#j-modal-btn');
52
+ const PtcModal = this.el.shadowRoot.querySelector('#j-modal');
53
+ console.log('selected btn: ' + selectedBtn + '; selected Modal: ' + PtcModal);
54
+ selectedBtn.addEventListener('click', () => {
55
+ PtcModal.show = true;
56
+ });
57
+ }
58
+ }
59
+ render() {
60
+ console.log('render');
61
+ const classMap = this.getCssClassMap();
62
+ let mediaElement;
63
+ switch (this.jumbotronType) {
64
+ case 'png':
65
+ mediaElement = (h("div", { class: "mobile-media-image" }, h("ptc-picture", { src: this.pngSrc })));
66
+ break;
67
+ case 'gif':
68
+ mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
69
+ break;
70
+ case 'dark-video':
71
+ case 'light-video':
72
+ mediaElement = h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc });
73
+ break;
74
+ default:
75
+ mediaElement = h("ptc-img", { "img-url": this.bgSrc });
76
+ }
77
+ return (h(Host, { class: classMap }, h("div", { class: "parent" }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: "ptc-container content-layout" }, h("max-width-container", { "max-width": "578", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign }, h("slot", { name: "breadcrumb" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-title", { type: "h1", upperline: "no-upperline", "title-size": "xxxx-large", "title-height": "densest", "title-weight": "w-8", "title-margin": "margin-flush", "text-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "title-lines": "3", description: this.mainTitle, position: "bottom", styles: `.text-ellipsis{color: ${this.contentColor};}` })), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-margin": "margin-bottom-6", "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "text-lines": "7", description: this.subTitle, position: "bottom", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))), !!this.popupVideo
78
+ ? [
79
+ h("ptc-modal", { id: "j-modal", show: false, size: "lg", "iframe-url": this.popupVideo }),
80
+ h("ptc-svg-btn", { id: "j-modal-btn", "svg-name": "play", display: "block", "z-index": 2 }),
81
+ ]
82
+ : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc }))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null)))));
83
+ }
84
+ getCssClassMap() {
85
+ return {
86
+ // [this.imageZIndex] : true
87
+ };
88
+ }
89
+ getContentBackground() {
90
+ if (window.innerWidth < 992) {
91
+ switch (this.jumbotronType) {
92
+ case 'light':
93
+ case 'light-video':
94
+ this.contentBackground = '#F3F3F3';
95
+ this.contentColor = 'var(--color-gray-10)';
96
+ break;
97
+ case 'dark':
98
+ case 'dark-video':
99
+ this.contentBackground = 'var(--color-gray-09)';
100
+ this.contentColor = 'var(--color-white)';
101
+ break;
102
+ default:
103
+ this.contentBackground = 'transparent';
104
+ this.contentColor = 'var(--color-gray-10)';
105
+ }
106
+ }
107
+ else {
108
+ switch (this.jumbotronType) {
109
+ case 'light':
110
+ case 'light-video':
111
+ this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
112
+ this.contentColor = 'var(--color-gray-10)';
113
+ break;
114
+ case 'dark':
115
+ case 'dark-video':
116
+ this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
117
+ this.contentColor = 'var(--color-white)';
118
+ break;
119
+ case 'gif':
120
+ this.contentBackground = '#F3F3F3';
121
+ this.contentColor = 'var(--color-gray-10)';
122
+ break;
123
+ default:
124
+ this.contentBackground = 'transparent';
125
+ this.contentColor = 'var(--color-gray-10)';
126
+ }
127
+ }
128
+ }
129
+ get el() { return getElement(this); }
130
+ };
131
+ PtcJumbotron.style = ptcJumbotronCss;
132
+
133
+ export { PtcBreadcrumb as ptc_breadcrumb, PtcJumbotron as ptc_jumbotron };