@ptcwebops/ptcw-design 0.4.2 → 0.4.4

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 (129) hide show
  1. package/dist/cjs/_commonjsHelpers-119ffc74.js +17 -0
  2. package/dist/cjs/icon-asset_5.cjs.entry.js +988 -0
  3. package/dist/cjs/{index-e39de343.js → index-3adcf9f4.js} +7 -0
  4. package/dist/cjs/interfaces-0ecd8027.js +15 -0
  5. package/dist/cjs/list-item.cjs.entry.js +29 -0
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/lottie-player.cjs.entry.js +3 -16
  8. package/dist/cjs/my-component.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +23 -0
  10. package/dist/cjs/ptc-button.cjs.entry.js +76 -0
  11. package/dist/cjs/ptc-card-bottom.cjs.entry.js +42 -0
  12. package/dist/cjs/ptc-card-content.cjs.entry.js +42 -0
  13. package/dist/cjs/ptc-card-plm.cjs.entry.js +27 -0
  14. package/dist/cjs/ptc-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-countdown.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-form.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-hero.cjs.entry.js +29 -0
  20. package/dist/cjs/ptc-img_2.cjs.entry.js +185 -0
  21. package/dist/cjs/ptc-input.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-link.cjs.entry.js +53 -0
  23. package/dist/cjs/ptc-list.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-lottie.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-nav-item.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-nav.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-para.cjs.entry.js +50 -0
  29. package/dist/cjs/ptc-picture.cjs.entry.js +169 -0
  30. package/dist/cjs/ptc-select.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-spacer.cjs.entry.js +46 -0
  33. package/dist/cjs/ptc-span.cjs.entry.js +34 -0
  34. package/dist/cjs/ptc-title.cjs.entry.js +55 -0
  35. package/dist/cjs/ptcw-design.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +2 -0
  37. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +199 -0
  38. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +149 -0
  39. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -0
  40. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +62 -0
  41. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -0
  42. package/dist/custom-elements/index.d.ts +12 -0
  43. package/dist/custom-elements/index.js +818 -2
  44. package/dist/esm/_commonjsHelpers-8b28c6fa.js +15 -0
  45. package/dist/esm/icon-asset_5.entry.js +980 -0
  46. package/dist/esm/{index-9e77d90e.js → index-357497dc.js} +7 -0
  47. package/dist/esm/interfaces-c1c73092.js +12 -0
  48. package/dist/esm/list-item.entry.js +25 -0
  49. package/dist/esm/loader.js +2 -2
  50. package/dist/esm/lottie-player.entry.js +2 -15
  51. package/dist/esm/my-component.entry.js +1 -1
  52. package/dist/esm/ptc-breadcrumb.entry.js +19 -0
  53. package/dist/esm/ptc-button.entry.js +72 -0
  54. package/dist/esm/ptc-card-bottom.entry.js +38 -0
  55. package/dist/esm/ptc-card-content.entry.js +38 -0
  56. package/dist/esm/ptc-card-plm.entry.js +23 -0
  57. package/dist/esm/ptc-card.entry.js +1 -1
  58. package/dist/esm/ptc-countdown.entry.js +1 -1
  59. package/dist/esm/ptc-date.entry.js +1 -1
  60. package/dist/esm/ptc-footer.entry.js +1 -1
  61. package/dist/esm/ptc-form.entry.js +1 -1
  62. package/dist/esm/ptc-hero.entry.js +25 -0
  63. package/dist/esm/ptc-img_2.entry.js +180 -0
  64. package/dist/esm/ptc-input.entry.js +1 -1
  65. package/dist/esm/ptc-link.entry.js +49 -0
  66. package/dist/esm/ptc-list.entry.js +1 -1
  67. package/dist/esm/ptc-lottie.entry.js +1 -1
  68. package/dist/esm/ptc-modal.entry.js +1 -1
  69. package/dist/esm/ptc-nav-item.entry.js +1 -1
  70. package/dist/esm/ptc-nav.entry.js +1 -1
  71. package/dist/esm/ptc-para.entry.js +46 -0
  72. package/dist/esm/ptc-picture.entry.js +165 -0
  73. package/dist/esm/ptc-select.entry.js +1 -1
  74. package/dist/esm/ptc-social-share.entry.js +1 -1
  75. package/dist/esm/ptc-spacer.entry.js +42 -0
  76. package/dist/esm/ptc-span.entry.js +30 -0
  77. package/dist/esm/ptc-title.entry.js +51 -0
  78. package/dist/esm/ptcw-design.js +2 -2
  79. package/dist/ptcw-design/{p-19f001a4.js → p-0e571387.js} +1 -1
  80. package/dist/ptcw-design/p-1e39bc14.entry.js +1 -0
  81. package/dist/ptcw-design/p-27538cac.entry.js +1 -0
  82. package/dist/ptcw-design/{p-abb97d21.entry.js → p-2f78af32.entry.js} +1 -1
  83. package/dist/ptcw-design/{p-3050845e.entry.js → p-3a174881.entry.js} +1 -1
  84. package/dist/ptcw-design/{p-b542c708.entry.js → p-4ba0046d.entry.js} +1 -1
  85. package/dist/ptcw-design/p-4bacc49a.entry.js +7 -0
  86. package/dist/ptcw-design/p-50e52c88.js +1 -0
  87. package/dist/ptcw-design/{p-65b30c15.entry.js → p-525faf32.entry.js} +1 -1
  88. package/dist/ptcw-design/p-5672aca0.entry.js +1 -0
  89. package/dist/ptcw-design/p-59a5663a.entry.js +1 -0
  90. package/dist/ptcw-design/{p-b798ca9c.entry.js → p-6106d579.entry.js} +1 -1
  91. package/dist/ptcw-design/p-6402cb6d.entry.js +1 -0
  92. package/dist/ptcw-design/p-64c98ea6.entry.js +1 -0
  93. package/dist/ptcw-design/{p-b803e2da.entry.js → p-66912e75.entry.js} +1 -1
  94. package/dist/ptcw-design/p-68bcb24d.entry.js +1 -0
  95. package/dist/ptcw-design/p-74a72a40.entry.js +1 -0
  96. package/dist/ptcw-design/{p-8a6de852.entry.js → p-75cc322d.entry.js} +1 -1
  97. package/dist/ptcw-design/{p-c140717c.entry.js → p-7b60638a.entry.js} +1 -1
  98. package/dist/ptcw-design/{p-b3e145f3.entry.js → p-7cea01d0.entry.js} +1 -1
  99. package/dist/ptcw-design/p-80c03571.entry.js +1 -0
  100. package/dist/ptcw-design/{p-762a6628.entry.js → p-87bc2b6f.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-feed36fa.entry.js → p-9367272c.entry.js} +1 -1
  102. package/dist/ptcw-design/{p-8f9df770.entry.js → p-9b5a3528.entry.js} +1 -1
  103. package/dist/ptcw-design/p-a4300906.entry.js +1 -0
  104. package/dist/ptcw-design/{p-fe25f590.entry.js → p-aa4f80c6.entry.js} +1 -1
  105. package/dist/ptcw-design/p-b26e2c72.entry.js +1 -0
  106. package/dist/ptcw-design/p-b6757552.entry.js +1 -0
  107. package/dist/ptcw-design/p-b68038b5.js +1 -0
  108. package/dist/ptcw-design/p-bb7e7943.entry.js +1 -0
  109. package/dist/ptcw-design/p-bfe3ac5b.entry.js +1 -0
  110. package/dist/ptcw-design/p-c47b4ebf.entry.js +1 -0
  111. package/dist/ptcw-design/p-ce2134e1.entry.js +1 -0
  112. package/dist/ptcw-design/ptcw-design.css +1 -1
  113. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  114. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +28 -0
  115. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -0
  116. package/dist/types/components.d.ts +74 -0
  117. package/package.json +6 -2
  118. package/readme.md +1 -1
  119. package/dist/cjs/icon-asset_16.cjs.entry.js +0 -849
  120. package/dist/cjs/ptc-announcement.cjs.entry.js +0 -43
  121. package/dist/cjs/ptc-svg-btn.cjs.entry.js +0 -81
  122. package/dist/esm/icon-asset_16.entry.js +0 -830
  123. package/dist/esm/ptc-announcement.entry.js +0 -39
  124. package/dist/esm/ptc-svg-btn.entry.js +0 -77
  125. package/dist/ptcw-design/p-57fcfb62.entry.js +0 -1
  126. package/dist/ptcw-design/p-5afee3b6.entry.js +0 -1
  127. package/dist/ptcw-design/p-96e30287.entry.js +0 -1
  128. package/dist/ptcw-design/p-97152565.entry.js +0 -1
  129. package/dist/ptcw-design/p-f98b4bdd.entry.js +0 -1
@@ -1,849 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-e39de343.js');
6
-
7
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-standard-ease)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-primary-green)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.inherit.sc-icon-asset{fill:inherit}";
8
-
9
- let IconAsset = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- /**
13
- * Icon Size
14
- */
15
- this.size = 'small';
16
- /**
17
- * Icon Type
18
- */
19
- this.type = 'regular';
20
- /**
21
- * Icon Spin Animation (not valid for ptc type)
22
- */
23
- this.spin = '';
24
- /**
25
- * Icon Pulse Animation (not valid for ptc type)
26
- */
27
- this.pulse = '';
28
- /**
29
- * Icon Color
30
- */
31
- this.color = 'default';
32
- this.regularSprite = index.getAssetPath('./media/regular.svg');
33
- this.solidSprite = index.getAssetPath('./media/solid.svg');
34
- this.brandSprite = index.getAssetPath('./media/brands.svg');
35
- this.ptcSprite = index.getAssetPath('./media/designer.svg');
36
- }
37
- render() {
38
- const classMap = this.getCssClassMap();
39
- if (this.type == 'brands') {
40
- return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
41
- }
42
- else if (this.type == 'solid') {
43
- return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
44
- }
45
- else if (this.type == 'ptc') {
46
- return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
- }
48
- else {
49
- return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
50
- }
51
- }
52
- getCssClassMap() {
53
- return {
54
- [this.size]: true,
55
- [this.spin]: true,
56
- [this.pulse]: true,
57
- [this.color]: true,
58
- };
59
- }
60
- static get assetsDirs() { return ["media"]; }
61
- };
62
- IconAsset.style = iconAssetCss;
63
-
64
- const listItemCss = ":host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:white;font-weight:700;font-size:12px;line-height:14px}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0}:host(.breadcrumb) li a.item-link{color:white;font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-x-small) !important;line-height:14px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:#3DAB49;outline:none}:host(:not(.flush-before)) li::before{margin-right:2px}";
65
-
66
- let ListItem = class {
67
- constructor(hostRef) {
68
- index.registerInstance(this, hostRef);
69
- this.listType = 'list-primary';
70
- this.linkHref = undefined;
71
- this.flushBefore = false;
72
- }
73
- render() {
74
- const classMap = this.getCssClassMap();
75
- return (index.h(index.Host, { class: classMap }, index.h("li", null, this.linkHref ? (index.h("a", Object.assign({ class: "item-link" }, (this.linkHref ? { href: this.linkHref } : {})), index.h("slot", null))) : (index.h("slot", null)))));
76
- }
77
- getCssClassMap() {
78
- return {
79
- [this.listType]: true,
80
- ['flush-before']: this.flushBefore ? true : false
81
- };
82
- }
83
- };
84
- ListItem.style = listItemCss;
85
-
86
- const ptcBreadcrumbCss = ":host{display:block;margin-top:21px}::slotted(*){transform:translate(-2px, -2px)}";
87
-
88
- let PtcBreadcrumb = class {
89
- constructor(hostRef) {
90
- index.registerInstance(this, hostRef);
91
- }
92
- render() {
93
- const classMap = this.getCssClassMap();
94
- return (index.h(index.Host, { class: classMap }, index.h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, index.h("icon-asset", { type: "ptc", size: "large", name: "icon-home", color: "white" })), index.h("slot", null)));
95
- }
96
- getCssClassMap() {
97
- return {};
98
- }
99
- };
100
- PtcBreadcrumb.style = ptcBreadcrumbCss;
101
-
102
- const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-primary-uigrey);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:3px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:0.86}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(285deg, var(--color-primary-uigrey) 155%, #6e717c 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px #5bb73b;background-image:linear-gradient(285deg, #5bb73b 155%, #178642 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(to right, #ffffff, #d3d3d3, #e5e5e5)}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-primary-uigrey)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:4px;margin-top:4px;box-shadow:0 0 25.8px 3.2px rgba(0, 0, 0, 0.5);border:solid 2.5px var(--color-secondary-tutlegreen-dark);background-image:linear-gradient(to right, var(--color-secondary-turtlegreen), var(--color-secondary-tutlegreen-dark))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-secondary-tutlegreen-dark), var(--color-secondary-turtlegreen));opacity:0;transition:opacity 0.6s cubic-bezier(0, 0, 0.23, 1);border-radius:2px}.legacy-green:hover{box-shadow:0 0 49px 6.1px rgba(0, 0, 0, 0.55)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-medium)}@media screen and (min-width: 768px){.legacy-green span{font-size:19px;letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:3px;display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all ease-out 0.25s;position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:#323b42;border-radius:var(--ptc-border-radius-medium);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:13px;font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:26px;list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.nav:focus{outline:3px solid #0092d1;outline-offset:2px}.nav:hover{background-color:#20262a}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-small) var(--ptc-font-size-large);transition:background-color var(--ptc-standard-ease) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:#a8aaaf;background:#e1e2e4}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:#a8aaaf}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:#a8aaaf !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid #0092d1;outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:17px;line-height:20px;letter-spacing:normal}.ptc-primary{background:#1f2024;border:2px solid #5bb73a;border-radius:var(--ptc-border-radius-medium)}.ptc-primary:hover{background-color:#33353a}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:#1f2024;border:2px solid #6d707b;border-radius:var(--ptc-border-radius-medium)}.ptc-secondary:hover{background-color:#33353a}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-primary-grey);border-radius:var(--ptc-border-radius-medium)}.ptc-tertiary:hover{background-color:#e1e2e4}.ptc-tertiary:active{background-color:#c5c5ca}.ptc-tertiary span{color:var(--color-primary-grey)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-primary-grey) !important}.ptc-quaternary{background:#158542;border:2px solid #459e67;border-radius:var(--ptc-border-radius-medium)}.ptc-quaternary:hover{background-color:#17713a}.ptc-quaternary:active{background-color:#186135}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
103
-
104
- let PtcButton = class {
105
- constructor(hostRef) {
106
- index.registerInstance(this, hostRef);
107
- this.clickEvent = index.createEvent(this, "clickEvent", 7);
108
- /**
109
- * Disabled button
110
- */
111
- this.disabled = false;
112
- /**
113
- * Button type
114
- */
115
- this.type = 'button';
116
- /**
117
- * Button theme color
118
- */
119
- this.color = 'ptc-primary';
120
- /**
121
- * Icon Animation
122
- */
123
- this.iconAnimation = '';
124
- /**
125
- * Icon Position
126
- */
127
- this.iconPosition = 'icon-right';
128
- /**
129
- * Link URL
130
- */
131
- this.linkHref = undefined;
132
- /**
133
- * link Title
134
- */
135
- this.linkTitle = undefined;
136
- /**
137
- * Link target
138
- * */
139
- this.target = '_self';
140
- /**
141
- * Link rel
142
- * */
143
- this.rel = undefined;
144
- /**
145
- * (optional) tab-nav.
146
- * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
147
- * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
148
- */
149
- this.tabNav = 0;
150
- }
151
- clickEventHandler() {
152
- this.clickEvent.emit();
153
- //console.log('click!');
154
- }
155
- render() {
156
- const classMap = this.getCssClassMap();
157
- const Tag = !!this.linkHref ? 'a' : 'button';
158
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))));
159
- }
160
- getCssClassMap() {
161
- return {
162
- [this.color]: true,
163
- [this.iconAnimation]: true,
164
- [this.iconPosition]: true,
165
- ['disabled']: this.disabled ? true : false,
166
- };
167
- }
168
- };
169
- PtcButton.style = ptcButtonCss;
170
-
171
- const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-05);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}@media screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
172
-
173
- let PtcCardBottom = class {
174
- constructor(hostRef) {
175
- index.registerInstance(this, hostRef);
176
- this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
177
- this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
178
- }
179
- hoverEventHandler() {
180
- this.hoverEvent.emit();
181
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
182
- this.el.previousElementSibling.classList.add('mouse-hover');
183
- this.el.classList.add('mouse-hover-card-bottom');
184
- }
185
- }
186
- leaveEventHandler() {
187
- this.hoverEvent.emit();
188
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
189
- this.el.previousElementSibling.classList.remove('mouse-hover');
190
- this.el.classList.remove('mouse-hover-card-bottom');
191
- }
192
- }
193
- render() {
194
- const classMap = this.getCssClassMap();
195
- return (index.h(index.Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "ptc-card-bottom-wrapper" }, index.h("slot", null))));
196
- }
197
- getCssClassMap() {
198
- return {
199
- [this.cardType]: this.cardType ? true : false,
200
- };
201
- }
202
- get el() { return index.getElement(this); }
203
- };
204
- PtcCardBottom.style = ptcCardBottomCss;
205
-
206
- const ptcCardContentCss = ":host{display:block}:host(.speed-bump){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-05) 28px var(--ptc-element-spacing-05) 28px;text-align:center}:host(.speed-bump-2){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-06) 20px;text-align:center}@media screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix 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'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix 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'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media screen and (min-width: 1980px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}@media screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}}@media screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}";
207
-
208
- let PtcCardContent = class {
209
- constructor(hostRef) {
210
- index.registerInstance(this, hostRef);
211
- this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
212
- this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
213
- }
214
- hoverEventHandler() {
215
- this.hoverEvent.emit();
216
- this.el.classList.add('mouse-hover');
217
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
218
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
219
- }
220
- }
221
- leaveEventHandler() {
222
- this.hoverEvent.emit();
223
- this.el.classList.remove('mouse-hover');
224
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
225
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
226
- }
227
- }
228
- render() {
229
- const classMap = this.getCssClassMap();
230
- return (index.h(index.Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "ptc-card-content-wrapper" }, index.h("slot", null))));
231
- }
232
- getCssClassMap() {
233
- return {
234
- [this.cardType]: !!this.cardType ? true : false,
235
- };
236
- }
237
- get el() { return index.getElement(this); }
238
- };
239
- PtcCardContent.style = ptcCardContentCss;
240
-
241
- const ptcCardPlmCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-video-p){padding:24px 24px 28px 24px}:host(.card-m-right){margin-right:8px}:host(.card-m-left){margin-left:8px}@media screen and (min-width: 768px){:host(.card-m-right){margin-right:12px}:host(.card-m-left){margin-left:12px}}@media screen and (min-width: 992px){:host(.card-m-right){margin-right:16px}:host(.card-m-left){margin-left:16px}}@media screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}";
242
-
243
- let PtcCardPlm = class {
244
- constructor(hostRef) {
245
- index.registerInstance(this, hostRef);
246
- this.linkTarget = '_self';
247
- }
248
- render() {
249
- const classMap = this.getCssClassMap();
250
- const Tag = !!this.cardLink ? 'a' : 'div';
251
- return (index.h(index.Host, { class: classMap }, index.h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), index.h("slot", null))));
252
- }
253
- getCssClassMap() {
254
- return {
255
- [this.cardType]: this.cardType ? true : false
256
- };
257
- }
258
- };
259
- PtcCardPlm.style = ptcCardPlmCss;
260
-
261
- const ptcHeroCss = ":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}";
262
-
263
- let PtcHero = class {
264
- constructor(hostRef) {
265
- index.registerInstance(this, hostRef);
266
- /**
267
- * Hero Background Image URL
268
- */
269
- this.bgUrl = undefined;
270
- }
271
- render() {
272
- const classMap = this.getCssClassMap();
273
- return (index.h(index.Host, { class: classMap }, index.h("div", { class: "ptc-hero-wrapper" }, index.h("ptc-img", Object.assign({ "image-type": "smart-bg" }, (!!this.bgUrl ? { imgUrl: this.bgUrl } : {}), { "size-xs": "600x450", "size-sm": "1108x658", "size-md": "1920x1080", "size-lg": "2700x1500" }), this.heroType == 'jumbotron' ? ([index.h("ptc-overlay", { "filter-color": "black-1" }), index.h("ptc-overlay", { "filter-color": "black-2" })]) : this.heroType == 'footer-cta' ? (index.h("ptc-overlay", { "filter-color": "black-3" })) : null, index.h("slot", null)))));
274
- }
275
- getCssClassMap() {
276
- return {
277
- [this.heroType]: this.heroType ? true : false,
278
- };
279
- }
280
- };
281
- PtcHero.style = ptcHeroCss;
282
-
283
- let ResponsiveBgVariables = {
284
- envs: ['xs', 'sm', 'md', 'lg'],
285
- selector: '.ptc-img',
286
- interval: 250
287
- };
288
- let ResponsivePictureVariables = {
289
- envs: ['xs', 'sm', 'md', 'lg'],
290
- selector: '.ptc-picture',
291
- interval: 250
292
- };
293
-
294
- 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-sm{border-radius:var(--ptc-border-radius-small)}.radius-md{border-radius:var(--ptc-border-radius-medium)}.radius-lg{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-primary-lightgrey)}@media (max-width: 767px){.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 (min-width: 1200px){.hidden-lg{display:none !important}}";
295
-
296
- let PtcImg = class {
297
- constructor(hostRef) {
298
- index.registerInstance(this, hostRef);
299
- /**
300
- * Image size for smallest screen
301
- * <=767px
302
- */
303
- this.sizeXs = '510x340';
304
- /**
305
- * Image size for small screen
306
- * >=768px and <=991px
307
- */
308
- this.sizeSm = '1240x496';
309
- /**
310
- * Image size for medium screen
311
- * >=992px and <=1199px
312
- */
313
- this.sizeMd = '1366x500';
314
- /**
315
- * Image solution for large screen
316
- * >=1200px
317
- */
318
- this.sizeLg = '1920x1080';
319
- /**
320
- * Image type
321
- */
322
- this.imageType = 'smart-bg';
323
- /**
324
- * Image border shape
325
- */
326
- this.borderRadius = '';
327
- /**
328
- * Lazy loading option
329
- */
330
- this.loadMode = 'lazy-bg';
331
- }
332
- /**
333
- * Image Z Index
334
- */
335
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
336
- WindowResize() {
337
- this.setResponsiveBg();
338
- }
339
- render() {
340
- const classMap = this.getCssClassMap();
341
- return (index.h(index.Host, null, index.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' ? index.h("slot", null) : null)));
342
- }
343
- componentDidLoad() {
344
- this.addIntersectionObserver();
345
- this.setResponsiveBg();
346
- }
347
- componentWillUpdate() {
348
- // console.log('componentWillUpdate!');
349
- this.addIntersectionObserver();
350
- this.setResponsiveBg();
351
- }
352
- //responsive image
353
- setResponsiveBg() {
354
- // Define local variables
355
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
356
- // console.log('current breakpoint: ' + currentBreakpoint);
357
- // Loop through all target elements
358
- for (var i = 0, len = backgrounds.length; i < len; i++) {
359
- // Set current variables
360
- el = backgrounds[i];
361
- elData = el.getAttribute('data-' + currentBreakpoint);
362
- // If the data attribute exists, set the background
363
- if (elData !== null) {
364
- el.style.backgroundImage = "url('" + elData + "')";
365
- }
366
- else {
367
- if (typeof console == 'object') {
368
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
369
- }
370
- }
371
- }
372
- }
373
- //lazy loading
374
- addIntersectionObserver() {
375
- if (!this.imgUrl) {
376
- console.log('no image!');
377
- return;
378
- }
379
- if ('IntersectionObserver' in window) {
380
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
381
- let bgObserver = new IntersectionObserver(entries => {
382
- entries.forEach(entry => {
383
- if (entry.isIntersecting) {
384
- const image = entry.target;
385
- image.classList.remove('lazy-bg');
386
- // console.log('loaded');
387
- bgObserver.unobserve(image);
388
- }
389
- });
390
- });
391
- lazyLoadBgs.forEach(image => {
392
- bgObserver.observe(image);
393
- });
394
- }
395
- }
396
- getCssClassMap() {
397
- return {
398
- [this.imageType]: true,
399
- 'ptc-img': true,
400
- [this.borderRadius]: true,
401
- [this.loadMode]: true,
402
- // [this.imageZIndex] : true
403
- };
404
- }
405
- getCurrentBreakPoints() {
406
- // Define local variables
407
- let doc = window.document, temp = doc.createElement('div'), env;
408
- // Append test node
409
- doc.body.appendChild(temp);
410
- // Loop through breakpoints
411
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
412
- env = ResponsiveBgVariables.envs[i];
413
- // Add classes
414
- temp.className = 'hidden-' + env;
415
- // Found breakpoint
416
- if (temp.offsetParent === null) {
417
- // Remove our test node
418
- doc.body.removeChild(temp);
419
- console.log('remove test node');
420
- // Return current breakpoint
421
- return env;
422
- }
423
- }
424
- // Breakpoint not found, try fallback
425
- doc.body.removeChild(temp);
426
- return this.getFallbackBreakpoint();
427
- }
428
- getFallbackBreakpoint() {
429
- if (window.matchMedia('(min-width: 992px)').matches) {
430
- return 'lg';
431
- }
432
- else if (window.matchMedia('(min-width: 768px)').matches) {
433
- return 'md';
434
- }
435
- else if (window.matchMedia('(min-width: 576px)').matches) {
436
- return 'sm';
437
- }
438
- else {
439
- return 'xs';
440
- }
441
- }
442
- get el() { return index.getElement(this); }
443
- };
444
- PtcImg.style = ptcImgCss;
445
-
446
- const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);outline:none;text-decoration:none}.simple::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-standard-ease);border-bottom:2px solid var(--color-primary-green);opacity:0}.simple:hover.simple::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-06);border-bottom:2px solid var(--color-primary-green);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-standard-ease)}.arrow:hover.arrow::after{width:100%}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-small)}.medium{font-size:var(--ptc-font-size-medium)}.large{font-size:var(--ptc-font-size-large)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-standard-ease)}.ptc-link.arrow icon-asset svg{fill:var(--color-primary-green) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 8%)}.ptc-link.arrow-plm svg{fill:#3DAB49 !important}.ptc-link:hover.arrow icon-asset{transform:translateX(var(--ptc-element-spacing-04))}.nav-title:focus,.nav-title-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid #0092d1;outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.15px;line-height:25.05px;list-style:none;margin-bottom:10px;text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:#f3f3f4;display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.3px;line-height:25.95px;list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-05);padding-bottom:7px;position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.primary-nav-link:hover{border-radius:4px;background-color:#20262a;text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:15px;list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-secondary-turtlegreen)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:0.12px;line-height:14.4px;list-style:none;margin-bottom:12px;text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid #74c34d;border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-standard-ease), color var(--ptc-transition-medium) var(--ptc-standard-ease);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);line-height:1.73;letter-spacing:1.13px;text-align:left;font-size:15px}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-secondary-turtlegreen);color:var(--color-secondary-turtlegreen)}.copyright-link{color:var(--color-white);font-size:13px;font-weight:var(--ptc-font-weight-normal);line-height:2;display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-19);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-acceletated-ease)}.arrow-plm:hover{text-decoration-color:#3DAB49}";
447
-
448
- let PtcLink = class {
449
- constructor(hostRef) {
450
- index.registerInstance(this, hostRef);
451
- /**
452
- * Disabled link
453
- */
454
- this.disabled = false;
455
- /**
456
- * Rxternal link
457
- * */
458
- this.external = false;
459
- /**
460
- * Target
461
- */
462
- this.target = '_self';
463
- /**
464
- * Theme
465
- */
466
- this.theme = 'simple';
467
- /**
468
- * Uppercase
469
- */
470
- this.uppercase = false;
471
- /**
472
- * Font Size
473
- */
474
- this.fontSize = 'medium';
475
- }
476
- render() {
477
- const classMap = this.getCssClassMap();
478
- return (index.h(index.Host, null, index.h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? index.h("icon-asset", { type: "solid", size: "small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? index.h("icon-asset", { type: "ptc", size: "x-small", name: "button-arrow-right" }) : '', index.h("slot", null))));
479
- }
480
- getCssClassMap() {
481
- return {
482
- ['ptc-link']: true,
483
- [this.theme]: true,
484
- ['uppercase']: this.uppercase,
485
- ['disabled']: this.disabled,
486
- [this.fontSize]: true,
487
- };
488
- }
489
- };
490
- PtcLink.style = ptcLinkCss;
491
-
492
- const ptcOverlayCss = ":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, #197BC0 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, #D12C3A 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, #C37729 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, #00890B 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, #20262A 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}@media screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, #20262A 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}}:host(.black-3){background:linear-gradient(180deg, #20262A 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, #617480 100%)}:host(.radius-sm){border-radius:var(--ptc-border-radius-small)}:host(.radius-md){border-radius:var(--ptc-border-radius-medium)}:host(.radius-lg){border-radius:var(--ptc-border-radius-large)}:host(.radius-x-lg){border-radius:var(--ptc-border-radius-x-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
493
-
494
- let PtcOverlay = class {
495
- constructor(hostRef) {
496
- index.registerInstance(this, hostRef);
497
- /**
498
- * Overlay z-index
499
- */
500
- this.overlayZIndex = 'z-index-auto';
501
- }
502
- render() {
503
- const classMap = this.getCssClassMap();
504
- return index.h(index.Host, { class: classMap });
505
- }
506
- getCssClassMap() {
507
- return {
508
- [this.filterColor]: !!this.filterColor ? true : false,
509
- [this.borderRadius]: !!this.borderRadius ? true : false,
510
- [this.overlayZIndex]: true
511
- };
512
- }
513
- };
514
- PtcOverlay.style = ptcOverlayCss;
515
-
516
- const ptcParaCss = ":host{z-index:1}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-primary-grey)}p.primary-grey{color:var(--color-primary-grey)}p.white{color:var(--color-white)}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.font-size-15{font-size:var(--ptc-font-size-15)}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-17{line-height:var(--ptc-line-height-17)}p.line-height-18{line-height:var(--ptc-line-height-18)}p.line-height-19{line-height:var(--ptc-line-height-19)}p.line-height-23{line-height:23px}p.line-height-denser{line-height:var(--ptc-line-height-denser)}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.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-secondary-grey);line-height:var(--ptc-line-height-looser);letter-spacing:1px}@media screen and (min-width: 992px){p.font-size-15{font-size:var(--ptc-font-size-medium)}}";
517
-
518
- let PtcPara = class {
519
- constructor(hostRef) {
520
- index.registerInstance(this, hostRef);
521
- /**
522
- * Paragraph font size
523
- **/
524
- this.fontSize = "medium";
525
- /**
526
- * Paragraph font weight
527
- **/
528
- this.fontWeight = 'w-4';
529
- /**
530
- * Paragraph Style
531
- **/
532
- this.paraStyle = 'default';
533
- /**
534
- * Paragraph Color
535
- */
536
- this.paraColor = 'primary-grey';
537
- /**
538
- * line height
539
- */
540
- this.paraLineH = 'line-height-normal';
541
- }
542
- render() {
543
- const classMap = this.getCssClassMap();
544
- return (index.h("p", { class: classMap, part: "part-para" }, index.h("slot", null)));
545
- }
546
- getCssClassMap() {
547
- return {
548
- [this.fontSize]: true,
549
- [this.fontWeight]: true,
550
- [this.paraStyle]: true,
551
- [this.paraMargin]: !!this.paraMargin ? true : false,
552
- [this.paraColor]: true,
553
- [this.paraLineH]: true
554
- };
555
- }
556
- };
557
- PtcPara.style = ptcParaCss;
558
-
559
- const ptcPictureCss = ":host{display:block;overflow:hidden}: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-sm{border-radius:var(--ptc-border-radius-small)}.radius-md{border-radius:var(--ptc-border-radius-medium)}.radius-lg{border-radius:var(--ptc-border-radius-large)}.radius-x-lg{border-radius:var(--ptc-border-radius-x-large)}.is-full-height{height:100%}.is-full-width{width:100%}";
560
-
561
- let PtcPicture = class {
562
- constructor(hostRef) {
563
- index.registerInstance(this, hostRef);
564
- /**
565
- * Image alt
566
- */
567
- this.alt = "image";
568
- /**
569
- * Image size for smallest screen
570
- * <=767px
571
- */
572
- this.sizeXs = '510x340';
573
- /**
574
- * Image size for small screen
575
- * >=768px and <=991px
576
- */
577
- this.sizeSm = '1240x496';
578
- /**
579
- * Image size for medium screen
580
- * >=992px and <=1199px
581
- */
582
- this.sizeMd = '1366x500';
583
- /**
584
- * Image solution for large screen
585
- * >=1200px
586
- */
587
- this.sizeLg = '1920x1080';
588
- /**
589
- * Image Position
590
- */
591
- this.imagePosition = 'static';
592
- /**
593
- * Object Fit
594
- * Default: cover
595
- */
596
- this.objectFit = 'cover';
597
- /**
598
- * Stretch height to 100%?
599
- */
600
- this.isFullHeight = false;
601
- /**
602
- * Stretch width to 100%?
603
- */
604
- this.isFullWidth = false;
605
- }
606
- WindowResize() {
607
- this.addIntersectionObserver();
608
- }
609
- componentDidLoad() {
610
- this.addIntersectionObserver();
611
- }
612
- componentWillUpdate() {
613
- if (this.src !== this.oldSrc) {
614
- this.addIntersectionObserver();
615
- }
616
- this.oldSrc = this.src;
617
- }
618
- //lazy-loading
619
- addIntersectionObserver() {
620
- if (!this.src) {
621
- return;
622
- }
623
- if ('IntersectionObserver' in window) {
624
- let lazyLoadImages = new IntersectionObserver(entries => {
625
- entries.forEach(entry => {
626
- if (entry.isIntersecting) {
627
- const image = this.el.shadowRoot.querySelector('img');
628
- image.src = this.setResponsiveBg();
629
- console.log('loaded');
630
- lazyLoadImages.unobserve(image);
631
- }
632
- });
633
- });
634
- lazyLoadImages.observe(this.el.shadowRoot.querySelector('img'));
635
- }
636
- else {
637
- // fall back to setTimeout for Safari and IE
638
- setTimeout(() => {
639
- const image = this.el.shadowRoot.querySelector('img');
640
- image.src = this.setResponsiveBg();
641
- image.onload = () => {
642
- image.removeAttribute('data-src');
643
- console.log('loaded fallback');
644
- };
645
- }, 5000);
646
- }
647
- }
648
- //responsive image
649
- setResponsiveBg() {
650
- // Define local variables
651
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
652
- for (var i = 0, len = backgrounds.length; i < len; i++) {
653
- // Set current variables
654
- el = backgrounds[i];
655
- elData = el.getAttribute('data-' + currentBreakpoint);
656
- if (elData !== null) {
657
- // console.log('img src= ' + elData);
658
- return elData;
659
- }
660
- else {
661
- if (typeof console == 'object') {
662
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
663
- }
664
- }
665
- }
666
- }
667
- render() {
668
- const classMap = this.getCssClassMap();
669
- return (index.h(index.Host, { class: this.imagePosition }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "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 })), index.h("slot", null)));
670
- }
671
- getCurrentBreakPoints() {
672
- // Define local variables
673
- let doc = window.document, temp = doc.createElement('div'), env;
674
- // Append test node
675
- doc.body.appendChild(temp);
676
- // Loop through breakpoints
677
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
678
- env = ResponsivePictureVariables.envs[i];
679
- // Add classes
680
- temp.className = 'hidden-' + env;
681
- // Found breakpoint
682
- if (temp.offsetParent === null) {
683
- // Remove our test node
684
- doc.body.removeChild(temp);
685
- console.log('remove test node');
686
- // Return current breakpoint
687
- return env;
688
- }
689
- }
690
- // Breakpoint not found, try fallback
691
- doc.body.removeChild(temp);
692
- return this.getFallbackBreakpoint();
693
- }
694
- getFallbackBreakpoint() {
695
- if (window.matchMedia('(min-width: 992px)').matches) {
696
- return 'lg';
697
- }
698
- else if (window.matchMedia('(min-width: 768px)').matches) {
699
- return 'md';
700
- }
701
- else if (window.matchMedia('(min-width: 576px)').matches) {
702
- return 'sm';
703
- }
704
- else {
705
- return 'xs';
706
- }
707
- }
708
- getCssClassMap() {
709
- return {
710
- [this.borderRadius]: this.borderRadius ? true : false,
711
- [this.objectFit]: true,
712
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
713
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true
714
- };
715
- }
716
- get el() { return index.getElement(this); }
717
- };
718
- PtcPicture.style = ptcPictureCss;
719
-
720
- const ptcSpacerCss = ":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.9375em){: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}}";
721
-
722
- let PtcSpacer = class {
723
- constructor(hostRef) {
724
- index.registerInstance(this, hostRef);
725
- /**
726
- * Breakpoint
727
- */
728
- this.breakpoint = '';
729
- /**
730
- * Spacing Size
731
- */
732
- this.size = 'medium';
733
- /**
734
- * Direction
735
- */
736
- this.direction = 'vertical';
737
- }
738
- render() {
739
- const classMap = this.getCssClassMap();
740
- return (index.h(index.Host, { class: classMap }));
741
- }
742
- getCssClassMap() {
743
- return {
744
- [this.size]: true,
745
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
746
- ['ptc-spacer-vertical']: this.direction === 'vertical',
747
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
748
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
749
- ['ptc-spacer-small']: this.breakpoint === 'small',
750
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
751
- ['ptc-spacer-large']: this.breakpoint === 'large',
752
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
753
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
754
- };
755
- }
756
- };
757
- PtcSpacer.style = ptcSpacerCss;
758
-
759
- const ptcSpanCss = ":host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:#cac8c8;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-05);font-size:17px;padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-primary-grey)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-19);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-primary-grey)}";
760
-
761
- let PtcSpan = class {
762
- constructor(hostRef) {
763
- index.registerInstance(this, hostRef);
764
- /**
765
- * Span Style
766
- */
767
- this.spanStyle = 'tag-style';
768
- /**
769
- * Display
770
- */
771
- this.display = 'inline';
772
- }
773
- render() {
774
- const classMap = this.getCssClassMap();
775
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("span", { part: "part-ptc-span" }, index.h("slot", null))));
776
- }
777
- getCssClassMap() {
778
- return {
779
- [this.spanStyle]: true,
780
- [this.display]: true,
781
- };
782
- }
783
- };
784
- PtcSpan.style = ptcSpanCss;
785
-
786
- const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px 12px var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px 12px var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px 12px var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px 12px var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px 12px var(--color-grey-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.font-size-15.sc-ptc-title h1.sc-ptc-title,div.font-size-15.sc-ptc-title h2.sc-ptc-title,div.font-size-15.sc-ptc-title h3.sc-ptc-title{font-size:15px}div.font-size-50.sc-ptc-title h1.sc-ptc-title,div.font-size-50.sc-ptc-title h2.sc-ptc-title,div.font-size-50.sc-ptc-title h3.sc-ptc-title{font-size:50px}div.lh-23.sc-ptc-title{line-height:23px}div.lh-28.sc-ptc-title{line-height:28px}div.lh-59.sc-ptc-title{line-height:59px}";
787
-
788
- let PtcTitle = class {
789
- constructor(hostRef) {
790
- index.registerInstance(this, hostRef);
791
- /**
792
- * Is this title using on the PLM Hub page
793
- */
794
- this.isPlmHub = false;
795
- /**
796
- * Title Tag Type
797
- */
798
- this.type = 'h2';
799
- /**
800
- * Upperline Style
801
- */
802
- this.upperline = 'dotted';
803
- }
804
- render() {
805
- const classMap = this.getCssClassMap();
806
- let TagType;
807
- switch (this.type) {
808
- case 'h1':
809
- TagType = 'h1';
810
- break;
811
- case 'h3':
812
- TagType = 'h3';
813
- break;
814
- default:
815
- TagType = 'h2';
816
- }
817
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, null, index.h("slot", null)))));
818
- }
819
- getCssClassMap() {
820
- return {
821
- [this.textAlign]: !!this.textAlign ? true : false,
822
- [this.upperline]: true,
823
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
824
- [this.titleMargin]: !!this.titleMargin ? true : false,
825
- [this.titleShadow]: !!this.titleShadow ? true : false,
826
- [this.titleWeight]: !!this.titleWeight ? true : false,
827
- [this.titleSize]: !!this.titleSize ? true : false,
828
- [this.titleLHeight]: !!this.titleLHeight ? true : false
829
- };
830
- }
831
- };
832
- PtcTitle.style = ptcTitleCss;
833
-
834
- exports.icon_asset = IconAsset;
835
- exports.list_item = ListItem;
836
- exports.ptc_breadcrumb = PtcBreadcrumb;
837
- exports.ptc_button = PtcButton;
838
- exports.ptc_card_bottom = PtcCardBottom;
839
- exports.ptc_card_content = PtcCardContent;
840
- exports.ptc_card_plm = PtcCardPlm;
841
- exports.ptc_hero = PtcHero;
842
- exports.ptc_img = PtcImg;
843
- exports.ptc_link = PtcLink;
844
- exports.ptc_overlay = PtcOverlay;
845
- exports.ptc_para = PtcPara;
846
- exports.ptc_picture = PtcPicture;
847
- exports.ptc_spacer = PtcSpacer;
848
- exports.ptc_span = PtcSpan;
849
- exports.ptc_title = PtcTitle;