@ptcwebops/ptcw-design 5.5.7 → 5.5.9

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 (119) hide show
  1. package/dist/cjs/blog-detail-content_21.cjs.entry.js +1847 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ptc-card_2.cjs.entry.js +42 -55
  4. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  5. package/dist/cjs/ptc-mobile-select.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-readmore-char.cjs.entry.js +6 -2
  7. package/dist/cjs/ptcw-design.cjs.js +1 -1
  8. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +8 -2
  9. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +153 -0
  10. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -1
  11. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +4 -0
  12. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +5 -1
  13. package/dist/custom-elements/index.js +13 -6
  14. package/dist/esm/blog-detail-content_21.entry.js +1823 -0
  15. package/dist/esm/blogs-search-section.entry.js +1 -1
  16. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  17. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  18. package/dist/esm/loader.js +1 -1
  19. package/dist/esm/most-popular-news.entry.js +1 -1
  20. package/dist/esm/my-component.entry.js +1 -1
  21. package/dist/esm/ptc-card_2.entry.js +43 -56
  22. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  23. package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
  24. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  25. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  26. package/dist/esm/ptc-media-card.entry.js +1 -1
  27. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  28. package/dist/esm/ptc-multi-select_2.entry.js +1 -1
  29. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  30. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  31. package/dist/esm/ptc-readmore-char.entry.js +6 -2
  32. package/dist/esm/ptcw-design.js +1 -1
  33. package/dist/esm/{utils-33803ae2.js → utils-05c5b1ac.js} +1 -1
  34. package/dist/ptcw-design/{p-d0d8e810.entry.js → p-07b497ce.entry.js} +1 -1
  35. package/dist/ptcw-design/{p-c05156e4.entry.js → p-0e796d1a.entry.js} +1 -1
  36. package/dist/ptcw-design/p-172822b1.entry.js +1 -0
  37. package/dist/ptcw-design/{p-3518693e.js → p-1e9f07cf.js} +1 -1
  38. package/dist/ptcw-design/{p-45ade12a.entry.js → p-20c01caa.entry.js} +1 -1
  39. package/dist/ptcw-design/{p-90b30ec9.entry.js → p-40e095bf.entry.js} +1 -1
  40. package/dist/ptcw-design/{p-7a09fbe0.entry.js → p-428b050e.entry.js} +1 -1
  41. package/dist/ptcw-design/{p-eab269ef.entry.js → p-47c97f32.entry.js} +1 -1
  42. package/dist/ptcw-design/{p-eaedd433.entry.js → p-56763848.entry.js} +1 -1
  43. package/dist/ptcw-design/{p-fa217497.entry.js → p-5ede7718.entry.js} +1 -1
  44. package/dist/ptcw-design/p-601cfc50.entry.js +1 -0
  45. package/dist/ptcw-design/{p-c9eeffc5.entry.js → p-83a0be46.entry.js} +1 -1
  46. package/dist/ptcw-design/{p-6940fda4.entry.js → p-ae7aa3b1.entry.js} +1 -1
  47. package/dist/ptcw-design/{p-64faacc4.entry.js → p-b7d62b82.entry.js} +1 -1
  48. package/dist/ptcw-design/{p-9d5ba535.entry.js → p-c1820648.entry.js} +1 -1
  49. package/dist/ptcw-design/{p-9f25c02b.entry.js → p-e5fdd222.entry.js} +1 -1
  50. package/dist/ptcw-design/{p-fdb5edf5.entry.js → p-f2a67fc5.entry.js} +1 -1
  51. package/dist/ptcw-design/p-ffcc0b55.entry.js +1 -0
  52. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  53. package/package.json +1 -1
  54. package/readme.md +1 -1
  55. package/dist/cjs/blog-detail-content_2.cjs.entry.js +0 -271
  56. package/dist/cjs/blog-detail-layout.cjs.entry.js +0 -70
  57. package/dist/cjs/icon-asset.cjs.entry.js +0 -53
  58. package/dist/cjs/interfaces-574e6df7.js +0 -15
  59. package/dist/cjs/list-item.cjs.entry.js +0 -47
  60. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  61. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -86
  62. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -46
  63. package/dist/cjs/ptc-button.cjs.entry.js +0 -82
  64. package/dist/cjs/ptc-date.cjs.entry.js +0 -61
  65. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  66. package/dist/cjs/ptc-inline-cta.cjs.entry.js +0 -125
  67. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -148
  68. package/dist/cjs/ptc-link.cjs.entry.js +0 -92
  69. package/dist/cjs/ptc-para.cjs.entry.js +0 -125
  70. package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
  71. package/dist/cjs/ptc-social-icons.cjs.entry.js +0 -33
  72. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  73. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -56
  74. package/dist/cjs/ptc-title.cjs.entry.js +0 -151
  75. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  76. package/dist/esm/blog-detail-content_2.entry.js +0 -266
  77. package/dist/esm/blog-detail-layout.entry.js +0 -66
  78. package/dist/esm/icon-asset.entry.js +0 -49
  79. package/dist/esm/interfaces-4caedd26.js +0 -12
  80. package/dist/esm/list-item.entry.js +0 -43
  81. package/dist/esm/max-width-container.entry.js +0 -50
  82. package/dist/esm/ptc-background-video.entry.js +0 -82
  83. package/dist/esm/ptc-breadcrumb.entry.js +0 -42
  84. package/dist/esm/ptc-button.entry.js +0 -78
  85. package/dist/esm/ptc-date.entry.js +0 -57
  86. package/dist/esm/ptc-img.entry.js +0 -129
  87. package/dist/esm/ptc-inline-cta.entry.js +0 -121
  88. package/dist/esm/ptc-jumbotron.entry.js +0 -144
  89. package/dist/esm/ptc-link.entry.js +0 -88
  90. package/dist/esm/ptc-para.entry.js +0 -121
  91. package/dist/esm/ptc-picture.entry.js +0 -159
  92. package/dist/esm/ptc-social-icons.entry.js +0 -29
  93. package/dist/esm/ptc-spacer.entry.js +0 -34
  94. package/dist/esm/ptc-text-copy-with-background.entry.js +0 -52
  95. package/dist/esm/ptc-title.entry.js +0 -147
  96. package/dist/esm/ptc-tooltip.entry.js +0 -103
  97. package/dist/ptcw-design/p-071a6109.entry.js +0 -1
  98. package/dist/ptcw-design/p-0b5d6927.entry.js +0 -1
  99. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  100. package/dist/ptcw-design/p-114d11bc.entry.js +0 -1
  101. package/dist/ptcw-design/p-141af044.entry.js +0 -1
  102. package/dist/ptcw-design/p-1b9219a7.entry.js +0 -1
  103. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  104. package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
  105. package/dist/ptcw-design/p-3609fb4f.entry.js +0 -1
  106. package/dist/ptcw-design/p-36fefc72.entry.js +0 -1
  107. package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
  108. package/dist/ptcw-design/p-3f283f6f.entry.js +0 -1
  109. package/dist/ptcw-design/p-711bcdad.js +0 -1
  110. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  111. package/dist/ptcw-design/p-9a077de7.entry.js +0 -1
  112. package/dist/ptcw-design/p-a8627c57.entry.js +0 -1
  113. package/dist/ptcw-design/p-ae09fec7.entry.js +0 -1
  114. package/dist/ptcw-design/p-ccd5020d.entry.js +0 -1
  115. package/dist/ptcw-design/p-d1016f96.entry.js +0 -1
  116. package/dist/ptcw-design/p-dc41e459.entry.js +0 -1
  117. package/dist/ptcw-design/p-e2334026.entry.js +0 -1
  118. package/dist/ptcw-design/p-e4f933e6.entry.js +0 -1
  119. package/dist/ptcw-design/p-fe907670.entry.js +0 -1
@@ -1,66 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { P as PreloaderDependency } from './utils-33803ae2.js';
3
-
4
- const blogDetailLayoutCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}#blog-header-sticky-bar-container{display:none}#blog-header-sticky-bar{display:none}@media (min-width: 992px){#blog-header-sticky-bar-container{display:block;position:absolute;top:0;left:0;height:100%;width:100%}#blog-header-sticky-bar{display:block;width:100%;height:85px;margin-bottom:calc(48px + 132px);background-color:var(--color-gray-08);position:sticky;top:0;opacity:0}#blog-header-sticky-bar>div{height:100%;display:flex;align-items:center;justify-content:space-between}}@media (min-width: 1440px){#blog-header-sticky-bar{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-07) var(--ptc-element-spacing-02) var(--ptc-element-spacing-07)}}";
5
-
6
- const BlogDetailLayout = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.toggleStickyBarView = () => {
10
- var _a;
11
- const jumbotron = document.querySelector('ptc-jumbotron');
12
- const blogHeaderStickyBar = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.querySelector('div#blog-header-sticky-bar');
13
- if (jumbotron && blogHeaderStickyBar) {
14
- let jumbotronBottom = jumbotron.getBoundingClientRect().bottom;
15
- if (jumbotronBottom === 0) {
16
- blogHeaderStickyBar.style.opacity = '1';
17
- blogHeaderStickyBar.style.zIndex = '2';
18
- }
19
- else if (jumbotronBottom < 0) {
20
- if (jumbotronBottom >= -10) {
21
- blogHeaderStickyBar.style.opacity = `${-(jumbotronBottom / 10)}`;
22
- }
23
- else {
24
- blogHeaderStickyBar.style.opacity = '1';
25
- blogHeaderStickyBar.style.zIndex = '2';
26
- }
27
- }
28
- else {
29
- blogHeaderStickyBar.style.opacity = '0';
30
- blogHeaderStickyBar.style.zIndex = '0';
31
- }
32
- }
33
- };
34
- this.connectedCallback = () => {
35
- const preloader = document.querySelector('ptc-preloader-section');
36
- if (preloader) {
37
- this.preloaderDependency = new PreloaderDependency(preloader);
38
- }
39
- setTimeout(() => {
40
- console.log("Blog detail layout resolving promise");
41
- this.preloaderDependency.resolve();
42
- }, 5000);
43
- };
44
- this.componentWillLoad = () => {
45
- window.addEventListener('scroll', () => {
46
- this.toggleStickyBarView();
47
- });
48
- };
49
- this.disconnectedCallback = () => {
50
- window.removeEventListener('scroll', () => {
51
- this.toggleStickyBarView();
52
- });
53
- };
54
- this.preloaderDependency = undefined;
55
- }
56
- render() {
57
- const StickyHeader = () => {
58
- return h("div", { id: "blog-header-sticky-bar-container" }, h("div", { id: "blog-header-sticky-bar" }, h("div", { class: "ptc-container" }, h("ptc-para", { "font-size": "small", "font-weight": "w-8", "para-color": "white", "para-line-h": "line-height-densest", "para-margin": "margin-flush" }, h("ptc-readmore-v2", { "max-characters": "50", "read-less-text": "", "read-more-text": "" }, "The Key to Using AI to Enhance IoT Security")), h("div", { class: "button-container" }, h("ptc-button", { type: "link", color: "ptc-quaternary", "link-href": "https://www.ptc.com", target: "_blank", "tab-nav": "-1" }, "Request Free Trial"), h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": "https://www.ptc.com", target: "_blank", "tab-nav": "-1", styles: "\r\n\t\t\t\t\t\t\t\t\t.ptc-tertiary { \r\n\t\t\t\t\t\t\t\t\t\tborder: 2px solid var(--color-gray-08); \r\n\t\t\t\t\t\t\t\t\t\tmargin-left: var(--ptc-element-spacing-06);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t" }, "Speaking of Service Podcast")))));
59
- };
60
- return (h(Host, null, h("div", { style: { position: "relative" }, class: "ptc-section" }, h(StickyHeader, null), h("div", { class: "ptc-container" }, h("blog-detail-content", null, h("div", null, h("slot", { name: "content" })))))));
61
- }
62
- get hostEle() { return getElement(this); }
63
- };
64
- BlogDetailLayout.style = blogDetailLayoutCss;
65
-
66
- export { BlogDetailLayout as blog_detail_layout };
@@ -1,49 +0,0 @@
1
- import { r as registerInstance, a as getAssetPath, h, H as Host } from './index-c83db688.js';
2
-
3
- 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}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small)/2);height:calc(var(--ptc-font-size-x-small)/2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}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.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}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.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
4
-
5
- const IconAsset = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.regularSprite = getAssetPath('./media/regular.svg');
9
- this.solidSprite = getAssetPath('./media/solid.svg');
10
- this.brandSprite = getAssetPath('./media/brands.svg');
11
- this.ptcSprite = getAssetPath('./media/designer-v4.8.1.svg');
12
- this.name = undefined;
13
- this.size = 'xx-small';
14
- this.type = 'regular';
15
- this.spin = '';
16
- this.pulse = '';
17
- this.color = 'default';
18
- this.isMobileSelect = undefined;
19
- this.injectedStyle = undefined;
20
- }
21
- render() {
22
- const classMap = this.getCssClassMap();
23
- if (this.type == 'brands') {
24
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
25
- }
26
- else if (this.type == 'solid') {
27
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
28
- }
29
- else if (this.type == 'ptc') {
30
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
31
- }
32
- else {
33
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
34
- }
35
- }
36
- getCssClassMap() {
37
- return {
38
- [this.size]: true,
39
- [this.spin]: true,
40
- [this.pulse]: true,
41
- [this.color]: true,
42
- ['ismobileselect']: this.isMobileSelect ? true : false
43
- };
44
- }
45
- static get assetsDirs() { return ["media"]; }
46
- };
47
- IconAsset.style = iconAssetCss;
48
-
49
- export { IconAsset as icon_asset };
@@ -1,12 +0,0 @@
1
- let ResponsiveBgVariables = {
2
- envs: ['xs', 'sm', 'md', 'lg'],
3
- selector: '.ptc-img',
4
- interval: 250
5
- };
6
- let ResponsivePictureVariables = {
7
- envs: ['xs', 'sm', 'md', 'lg'],
8
- selector: '.ptc-picture',
9
- interval: 250
10
- };
11
-
12
- export { ResponsiveBgVariables as R, ResponsivePictureVariables as a };
@@ -1,43 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const listItemCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host(.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:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);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-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
4
-
5
- const ListItem = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.listType = 'list-primary';
9
- this.linkHref = undefined;
10
- this.flushBefore = false;
11
- this.linkTarget = '_self';
12
- this.hasBeforeHomeIcon = false;
13
- this.trackerId = undefined;
14
- this.color = undefined;
15
- this.styles = undefined;
16
- this.ariaLabel = '';
17
- }
18
- render() {
19
- const classMap = this.getCssClassMap();
20
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("li", { id: this.trackerId }, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {})), h("slot", null))) : (h("slot", null)))));
21
- }
22
- getCssClassMap() {
23
- let bcEnable = false;
24
- if (this.hostElement && this.hostElement.parentElement) {
25
- try {
26
- bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
27
- }
28
- catch (err) {
29
- console.log(err);
30
- }
31
- }
32
- return {
33
- [this.listType]: true,
34
- ['flush-before']: this.flushBefore ? true : false,
35
- [this.color]: !!this.color ? true : false,
36
- ['breadcrumb-center']: bcEnable
37
- };
38
- }
39
- get hostElement() { return getElement(this); }
40
- };
41
- ListItem.style = listItemCss;
42
-
43
- export { ListItem as list_item };
@@ -1,50 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
4
-
5
- const MaxWidthContainer = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.maxWidthP = undefined;
9
- this.maxWidth = undefined;
10
- this.breakpoint = 768;
11
- this.contentAlign = 'center';
12
- this.styles = undefined;
13
- }
14
- componentDidLoad() {
15
- this.handleResize();
16
- window.addEventListener('resize', this.handleResize.bind(this));
17
- }
18
- disconnectedCallback() {
19
- window.removeEventListener('resize', this.handleResize);
20
- }
21
- render() {
22
- const classMap = this.getCssClassMap();
23
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("slot", null)));
24
- }
25
- getCssClassMap() {
26
- return {
27
- [this.contentAlign]: true,
28
- };
29
- }
30
- handleResize() {
31
- // const selectedContainer = this.el.querySelector('.max-width-container');
32
- if (this.el) {
33
- if (window.innerWidth >= this.breakpoint) {
34
- if (this.maxWidthP) {
35
- this.el.style.maxWidth = `${this.maxWidthP}%`;
36
- }
37
- else {
38
- this.el.style.maxWidth = `${this.maxWidth}px`;
39
- }
40
- }
41
- else {
42
- this.el.style.maxWidth = 'initial';
43
- }
44
- }
45
- }
46
- get el() { return getElement(this); }
47
- };
48
- MaxWidthContainer.style = maxWidthContainerCss;
49
-
50
- export { MaxWidthContainer as max_width_container };
@@ -1,82 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;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 .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}: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}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}";
4
-
5
- const PtcBackgroundVideo = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.videoSrc = undefined;
9
- this.posterSrc = undefined;
10
- this.overlay = true;
11
- this.overlayType = 'standard';
12
- this.playButtonTitle = undefined;
13
- this.pauseButtonTitle = undefined;
14
- this.buttonLocation = 'bottom-right';
15
- this.buttonTabIndex = 0;
16
- this.paused = undefined;
17
- this.trackerId = undefined;
18
- this.type = 'default';
19
- this.isIframe = false;
20
- }
21
- // componentDidLoad() {
22
- // if(this.isIframe){
23
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
24
- // const iframeDoc = iframe.contentDocument
25
- // const iframeVideo = iframeDoc.querySelector('video');
26
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
27
- // iframeVideo.style.objectFit = 'cover';
28
- // }
29
- // }
30
- // @Method()
31
- // async toggleVideo() {
32
- // // show a prompt
33
- // this.paused = !this.paused;
34
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
35
- // if (video) {
36
- // if (this.paused) {
37
- // video.pause();
38
- // } else {
39
- // video.play().catch(z => console.error(z));
40
- // }
41
- // }
42
- // console.log('Hello, I am a publish method from ptc-background-video!');
43
- // }
44
- componentWillLoad() {
45
- this.paused = false;
46
- }
47
- render() {
48
- const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
49
- return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div" }, h("button", { class: 'bg-svg-play', type: "button", tabindex: this.buttonTabIndex, onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h("slot", null) : ''));
50
- }
51
- toggleVideoPlay(e) {
52
- e.preventDefault();
53
- this.paused = !this.paused;
54
- let video = this.el.shadowRoot.querySelector('video');
55
- if (video) {
56
- if (this.paused) {
57
- video.pause();
58
- }
59
- else {
60
- video.play().catch(z => console.error(z));
61
- }
62
- }
63
- }
64
- async pauseVideo() {
65
- this.paused = true;
66
- let video = this.el.shadowRoot.querySelector('video');
67
- if (video) {
68
- video.pause();
69
- }
70
- }
71
- async playVideo() {
72
- this.paused = false;
73
- let video = this.el.shadowRoot.querySelector('video');
74
- if (video) {
75
- video.play().catch(z => console.error(z));
76
- }
77
- }
78
- get el() { return getElement(this); }
79
- };
80
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
81
-
82
- export { PtcBackgroundVideo as ptc_background_video };
@@ -1,42 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcBreadcrumbCss = "h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline-flex;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);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-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{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
- componentWillLoad() {
14
- this.listItems = this.hostElement.querySelectorAll('list-item');
15
- }
16
- componentDidLoad() {
17
- if (this.listItems) {
18
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
19
- item.remove();
20
- });
21
- }
22
- }
23
- render() {
24
- const classMap = this.getCssClassMap();
25
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("nav", { "aria-label": "Breadcrumb" }, h("ol", { class: "ptc-breadcrumb-ol" }, h("li", { class: 'home-link' }, h("a", { href: "/", "aria-label": "Home Link" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index, array) => {
26
- const textContent = item.textContent.trim();
27
- const href = item.getAttribute('link-href');
28
- return (h("li", { key: index }, index < array.length - 1 ? (h("a", { href: href, target: '_self' }, textContent)) : (textContent), h("span", { class: "visually-hidden" }, "/")));
29
- })))));
30
- }
31
- getCssClassMap() {
32
- return {
33
- [this.position]: !!this.position && this.position !== undefined ? true : false,
34
- ['remove-top-margin']: this.removeTopMargin ? true : false,
35
- [this.color]: true
36
- };
37
- }
38
- get hostElement() { return getElement(this); }
39
- };
40
- PtcBreadcrumb.style = ptcBreadcrumbCss;
41
-
42
- export { PtcBreadcrumb as ptc_breadcrumb };
@@ -1,78 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { c as getSeoTagType } from './utils-33803ae2.js';
3
-
4
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);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:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}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-ease-inout);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:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.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-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 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 var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 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-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.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-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.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-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);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:var(--ptc-border-radius-standard);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 var(--ptc-ease-inout) var(--ptc-transition-medium);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))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);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:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);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-ease-inout)}.nav:focus-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.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]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black);transition:none}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black);transition:none}.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-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.tracker-div{display:inline;display:inline-block}";
5
-
6
- const PtcButton = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.clickEvent = createEvent(this, "clickEvent", 7);
10
- this.disabled = false;
11
- this.active = false;
12
- this.type = 'button';
13
- this.color = 'ptc-primary';
14
- this.iconAnimation = '';
15
- this.iconPosition = 'icon-right';
16
- this.linkHref = undefined;
17
- this.linkTitle = undefined;
18
- this.target = '_self';
19
- this.rel = undefined;
20
- this.tabNav = 0;
21
- this.styles = undefined;
22
- this.textAlign = undefined;
23
- this.enableAccessibilityAltStyle = false;
24
- this.size = undefined;
25
- this.buttonTitle = undefined;
26
- this.ariaLabel = '';
27
- this.seoCompatibilityMode = false;
28
- this.maintainContent = false;
29
- this.trackerId = undefined;
30
- }
31
- clickEventHandler() {
32
- this.clickEvent.emit();
33
- }
34
- seoCompRender() {
35
- const classMap = this.getCssClassMap();
36
- const Tag = !!this.linkHref ? 'a' : 'button';
37
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
38
- const html = firstChild && firstChild.innerHTML;
39
- if (this.el == firstChild) {
40
- this.el.innerHTML = '';
41
- }
42
- if (this.maintainContent) {
43
- this.el.innerHTML = html;
44
- }
45
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div" }, h(TagType, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), h("span", { innerHTML: html }, h("slot", { name: "slot-before-text" }), h("slot", { name: "slot-after-text" }))))));
46
- }
47
- standardRender() {
48
- const classMap = this.getCssClassMap();
49
- const Tag = !!this.linkHref ? 'a' : 'button';
50
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div" }, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
51
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
52
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" }))))));
53
- }
54
- render() {
55
- if (this.seoCompatibilityMode) {
56
- return this.seoCompRender();
57
- }
58
- else {
59
- return this.standardRender();
60
- }
61
- }
62
- getCssClassMap() {
63
- return {
64
- [this.color]: true,
65
- [this.iconAnimation]: true,
66
- [this.iconPosition]: true,
67
- ['disabled']: this.disabled ? true : false,
68
- ['active']: this.active ? true : false,
69
- [this.textAlign]: true,
70
- [this.size]: true,
71
- ['acc-alt-style']: this.enableAccessibilityAltStyle
72
- };
73
- }
74
- get el() { return getElement(this); }
75
- };
76
- PtcButton.style = ptcButtonCss;
77
-
78
- export { PtcButton as ptc_button };
@@ -1,57 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-c83db688.js';
2
-
3
- const ptcDateCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
4
-
5
- const PtcDate = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.year = 1900;
9
- this.month = 0;
10
- this.day = 1;
11
- this.country = 'en-US';
12
- this.dateString = undefined;
13
- this.dateColor = undefined;
14
- this.dateStyles = undefined;
15
- this.dataSize = 'small';
16
- this.formatOptions = undefined;
17
- }
18
- render() {
19
- // const newDate = new Date(this.year, this.month, this.day);
20
- const classMap = this.getCssClassMap();
21
- return (h(Host, { class: classMap }, this.dateStyles && h("style", null, this.dateStyles), h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
22
- }
23
- getCssClassMap() {
24
- return {
25
- [this.dateColor]: !!this.dateColor ? true : false,
26
- [this.dataSize]: !!this.dataSize ? true : false,
27
- };
28
- }
29
- getOptions() {
30
- let result = { year: 'numeric', month: 'short', day: 'numeric' };
31
- if (this.formatOptions) {
32
- try {
33
- var json = JSON.parse(this.formatOptions);
34
- if (json) {
35
- result = json;
36
- }
37
- }
38
- catch (e) {
39
- //debugger
40
- console.log(e);
41
- }
42
- }
43
- return result;
44
- }
45
- getDate() {
46
- if (this.dateString) {
47
- let newDate = new Date(this.dateString.replace(/-/g, '/'));
48
- return newDate;
49
- }
50
- else {
51
- return new Date(this.year, this.month - 1, this.day);
52
- }
53
- }
54
- };
55
- PtcDate.style = ptcDateCss;
56
-
57
- export { PtcDate as ptc_date };