@ptcwebops/ptcw-design 6.1.9 → 6.1.11

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 (39) hide show
  1. package/dist/cjs/fl-tab-content_3.cjs.entry.js +41 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ptc-background-video.cjs.entry.js +4 -2
  4. package/dist/cjs/ptc-featured-list.cjs.entry.js +21 -2
  5. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-jumbotron.cjs.entry.js +3 -1
  7. package/dist/cjs/ptcw-design.cjs.js +1 -1
  8. package/dist/collection/components/ptc-background-video/ptc-background-video.js +4 -2
  9. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +4 -0
  10. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +104 -2
  11. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +33 -2
  12. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
  13. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +37 -1
  14. package/dist/custom-elements/index.js +73 -12
  15. package/dist/esm/fl-tab-content_3.entry.js +41 -3
  16. package/dist/esm/loader.js +1 -1
  17. package/dist/esm/ptc-background-video.entry.js +4 -2
  18. package/dist/esm/ptc-featured-list.entry.js +21 -2
  19. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  20. package/dist/esm/ptc-jumbotron.entry.js +3 -1
  21. package/dist/esm/ptcw-design.js +1 -1
  22. package/dist/ptcw-design/p-6f9b7842.entry.js +1 -0
  23. package/dist/ptcw-design/p-89ba79da.entry.js +1 -0
  24. package/dist/ptcw-design/p-c2182386.entry.js +1 -0
  25. package/dist/ptcw-design/p-ce3d8282.entry.js +1 -0
  26. package/dist/ptcw-design/p-f2fc4865.entry.js +1 -0
  27. package/dist/ptcw-design/ptcw-design.css +1 -1
  28. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  29. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +5 -0
  30. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +2 -0
  31. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +5 -0
  32. package/dist/types/components.d.ts +16 -0
  33. package/package.json +1 -1
  34. package/readme.md +1 -1
  35. package/dist/ptcw-design/p-524088af.entry.js +0 -1
  36. package/dist/ptcw-design/p-879f4796.entry.js +0 -1
  37. package/dist/ptcw-design/p-ab49b93b.entry.js +0 -1
  38. package/dist/ptcw-design/p-d6d22105.entry.js +0 -1
  39. package/dist/ptcw-design/p-ec7e5ada.entry.js +0 -1
@@ -9,6 +9,7 @@ export class PtcJumbotron {
9
9
  this.pngImgStyles = "";
10
10
  this.gifSrc = undefined;
11
11
  this.bgVideoSrc = undefined;
12
+ this.bgVideoPosterSrc = undefined;
12
13
  this.bgSrc = undefined;
13
14
  this.isIframe = false;
14
15
  this.isHomepage = false;
@@ -27,6 +28,7 @@ export class PtcJumbotron {
27
28
  this.blogAuthorQueryHref = "";
28
29
  this.blogAuthorQueryTarget = "";
29
30
  this.styles = undefined;
31
+ this.defer = undefined;
30
32
  this.hasCtaSlot = undefined;
31
33
  }
32
34
  componentWillLoad() {
@@ -57,7 +59,7 @@ export class PtcJumbotron {
57
59
  break;
58
60
  case 'dark-video':
59
61
  case 'light-video':
60
- mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
62
+ mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
61
63
  break;
62
64
  case 'dark':
63
65
  case 'light':
@@ -288,6 +290,23 @@ export class PtcJumbotron {
288
290
  "attribute": "bg-video-src",
289
291
  "reflect": false
290
292
  },
293
+ "bgVideoPosterSrc": {
294
+ "type": "string",
295
+ "mutable": false,
296
+ "complexType": {
297
+ "original": "string",
298
+ "resolved": "string",
299
+ "references": {}
300
+ },
301
+ "required": false,
302
+ "optional": true,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": ""
306
+ },
307
+ "attribute": "bg-video-poster-src",
308
+ "reflect": false
309
+ },
291
310
  "bgSrc": {
292
311
  "type": "string",
293
312
  "mutable": false,
@@ -534,6 +553,23 @@ export class PtcJumbotron {
534
553
  "attribute": "styles",
535
554
  "reflect": false
536
555
  },
556
+ "defer": {
557
+ "type": "boolean",
558
+ "mutable": false,
559
+ "complexType": {
560
+ "original": "boolean",
561
+ "resolved": "boolean",
562
+ "references": {}
563
+ },
564
+ "required": false,
565
+ "optional": false,
566
+ "docs": {
567
+ "tags": [],
568
+ "text": "delay loading of video to improve perfomance"
569
+ },
570
+ "attribute": "defer",
571
+ "reflect": false
572
+ },
537
573
  "hasCtaSlot": {
538
574
  "type": "boolean",
539
575
  "mutable": true,
@@ -1413,30 +1413,68 @@ const FlTabContent$1 = class extends HTMLElement$1 {
1413
1413
  static get style() { return flTabContentCss; }
1414
1414
  };
1415
1415
 
1416
- const flTabHeaderCss = "h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{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-fl-tab-header-h{display:block}.sc-fl-tab-header-h p.sc-fl-tab-header{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){.sc-fl-tab-header-h p.sc-fl-tab-header{font-size:var(--ptc-font-size-small);padding:4px 8px;border-radius:var(--ptc-border-radius-standard);display:inline-block}.sc-fl-tab-header-h p.sc-fl-tab-header:hover{background-color:var(--color-gray-02)}.sc-fl-tab-header-h p.selected-p.sc-fl-tab-header,.sc-fl-tab-header-h p.selected-p-init.sc-fl-tab-header{background-color:var(--color-gray-03)}}";
1416
+ const flTabHeaderCss = "h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{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-fl-tab-header-h{display:block}.sc-fl-tab-header-h p.sc-fl-tab-header{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){.sc-fl-tab-header-h p.sc-fl-tab-header{font-size:var(--ptc-font-size-small);padding:4px 8px;border-radius:var(--ptc-border-radius-standard);display:inline-block}.sc-fl-tab-header-h p.sc-fl-tab-header:hover{background-color:var(--color-gray-02)}.sc-fl-tab-header-h p.selected-p.sc-fl-tab-header,.sc-fl-tab-header-h p.selected-p-init.sc-fl-tab-header{background-color:var(--color-gray-03)}}.sc-fl-tab-header-h p.sc-fl-tab-header:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
1417
1417
 
1418
1418
  const FlTabHeader$1 = class extends HTMLElement$1 {
1419
1419
  constructor() {
1420
1420
  super();
1421
1421
  this.__registerHost();
1422
1422
  this.flTabClicked = createEvent(this, "flTabClicked", 7);
1423
+ this.flHeaderArrowFocus = createEvent(this, "flHeaderArrowFocus", 7);
1424
+ this.flHeaderTabFocus = createEvent(this, "flHeaderTabFocus", 7);
1425
+ this.handleKeyDown = (e) => {
1426
+ switch (e.key) {
1427
+ case "ArrowDown": {
1428
+ this.flHeaderArrowFocus.emit({
1429
+ 'event': e,
1430
+ 'valueKey': this.valueKey,
1431
+ 'direction': 1
1432
+ });
1433
+ break;
1434
+ }
1435
+ case "ArrowUp": {
1436
+ this.flHeaderArrowFocus.emit({
1437
+ 'event': e,
1438
+ 'valueKey': this.valueKey,
1439
+ 'direction': -1
1440
+ });
1441
+ break;
1442
+ }
1443
+ case "Enter": {
1444
+ this.handleClick(e);
1445
+ break;
1446
+ }
1447
+ case "Tab":
1448
+ {
1449
+ this.flHeaderTabFocus.emit({
1450
+ 'sender': this,
1451
+ 'event': e,
1452
+ 'valueKey': this.valueKey
1453
+ });
1454
+ }
1455
+ break;
1456
+ }
1457
+ };
1423
1458
  this.tabTitle = undefined;
1424
1459
  this.nameKey = undefined;
1460
+ this.valueKey = -1;
1425
1461
  this.selected = false;
1462
+ this.trackerId = "";
1426
1463
  this.initialHeader = false;
1427
1464
  }
1428
1465
  handleClick(event) {
1429
1466
  this.flTabClicked.emit({
1430
1467
  'sender': this,
1431
1468
  'event': event,
1432
- 'name': this.nameKey
1469
+ 'name': this.nameKey,
1470
+ 'valueKey': this.valueKey
1433
1471
  });
1434
1472
  }
1435
1473
  componentWillLoad() {
1436
1474
  this.initialHeader = this.el.classList.contains('init-active');
1437
1475
  }
1438
1476
  render() {
1439
- return (h$1(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, h$1("slot", null), h$1("p", { class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''}` }, h$1("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
1477
+ return (h$1(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this), onKeyDown: this.handleKeyDown.bind(this) }, h$1("slot", null), h$1("p", { id: this.trackerId, class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''} mf-listen`, tabindex: (this.selected || window.innerWidth < 992) ? 0 : -1 }, h$1("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
1440
1478
  }
1441
1479
  get el() { return this; }
1442
1480
  static get style() { return flTabHeaderCss; }
@@ -8373,8 +8411,10 @@ const PtcBackgroundVideo$1 = class extends HTMLElement$1 {
8373
8411
  }
8374
8412
  render() {
8375
8413
  const videoContent = this.isIframe ? (h$1("div", { class: "iframe-wrapper" }, h$1("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h$1("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
8376
- return (h$1(Host, { class: this.type }, this.loadedTrue &&
8377
- videoContent, !!this.videoSrc && this.playButtonTitle && (h$1("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h$1("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$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1("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$1("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$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h$1("div", { class: `video-overlay ${this.overlayType}`, style: this.posterSrc ? { backgroundImage: 'url(\'' + this.posterSrc + '\')' } : { backgroundImage: 'linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)' } }) : '', this.type == 'default' ? h$1("slot", null) : ''));
8414
+ const placeholderContent = h$1("video", { poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true });
8415
+ return (h$1(Host, { class: this.type }, this.loadedTrue
8416
+ ? videoContent
8417
+ : placeholderContent, !!this.videoSrc && this.playButtonTitle && (h$1("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h$1("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$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1("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$1("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$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h$1("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h$1("slot", null) : ''));
8378
8418
  }
8379
8419
  toggleVideoPlay(e) {
8380
8420
  e.preventDefault();
@@ -17434,6 +17474,25 @@ const PtcFeaturedList$1 = class extends HTMLElement$1 {
17434
17474
  this.selectedTabGloble = event.detail.name;
17435
17475
  this.selectTab(this.selectedTabGloble);
17436
17476
  }
17477
+ handleFlHeaderArrowFocus(event) {
17478
+ var _a, _b;
17479
+ const tabHeaders = (_b = (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelectorAll('fl-tab-header');
17480
+ const currentValueKey = event.detail.valueKey;
17481
+ const tabDirection = event.detail.direction;
17482
+ const ind = currentValueKey - 1 + tabDirection;
17483
+ if (ind > -1 && ind < tabHeaders.length) {
17484
+ let nextToFocus = tabHeaders[ind].querySelector('p.sc-fl-tab-header');
17485
+ nextToFocus.focus();
17486
+ }
17487
+ }
17488
+ handleFlHeaderTabFocus(event) {
17489
+ var _a, _b;
17490
+ event.preventDefault();
17491
+ const tabContent = (_b = (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(`fl-tab-content[value-key="${event.detail.valueKey}"]`);
17492
+ let focusable = tabContent.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
17493
+ let firstFocusable = focusable[0];
17494
+ firstFocusable.focus();
17495
+ }
17437
17496
  holdTabOnResize(name) {
17438
17497
  const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
17439
17498
  const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
@@ -17504,11 +17563,11 @@ const PtcFeaturedList$1 = class extends HTMLElement$1 {
17504
17563
  render() {
17505
17564
  return (h$1(Host, null, h$1("div", { class: "featured-image-wrap" }, h$1("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, h$1("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h$1("fl-tab-image", { "name-key": "tab-02" }, h$1("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), h$1("fl-tab-image", { "name-key": "tab-03" }, h$1("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), h$1("fl-tab-image", { "name-key": "tab-04" }, h$1("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
17506
17565
  // Code for mobile only
17507
- h$1("div", { class: "mobile-wrapper" }, h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h$1("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: '#' }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h$1("fl-tab-content", { "name-key": "tab-02" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: '#' }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h$1("fl-tab-content", { "name-key": "tab-03" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: '#' }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h$1("fl-tab-content", { "name-key": "tab-04" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: '#' }, "See More about Aerospace & Defense")))))
17566
+ h$1("div", { class: "mobile-wrapper" }, h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "value-key": 1, "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h$1("fl-tab-content", { "value-key": 1, "name-key": "tab-01", class: "init-active" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "value-key": 2, "name-key": "tab-02", "tab-title": "Automotive" }), h$1("fl-tab-content", { "value-key": 2, "name-key": "tab-02" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "value-key": 3, "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h$1("fl-tab-content", { "value-key": 3, "name-key": "tab-03" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense"))), h$1("div", { class: 'acc-item' }, h$1("fl-tab-header", { "value-key": 4, "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h$1("fl-tab-content", { "value-key": 4, "name-key": "tab-04" }, h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense")))))
17508
17567
  :
17509
17568
  (
17510
17569
  // Code for Desktop only
17511
- h$1("div", { class: "non-mobile-wrapper" }, h$1("div", { class: "header-list-wrap" }, h$1("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h$1("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h$1("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h$1("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h$1("div", { class: "content-wrap" }, h$1("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: '#' }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "name-key": "tab-02" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: '#' }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "name-key": "tab-03" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), h$1("a", { href: '#' }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "name-key": "tab-04" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: '#' }, "See More about Aerospace & Defense")))))));
17570
+ h$1("div", { class: "non-mobile-wrapper" }, h$1("div", { class: "header-list-wrap" }, h$1("fl-tab-header", { "value-key": 1, "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h$1("fl-tab-header", { "value-key": 2, "name-key": "tab-02", "tab-title": "Automotive" }), h$1("fl-tab-header", { "value-key": 3, "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h$1("fl-tab-header", { "value-key": 4, "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h$1("div", { class: "content-wrap" }, h$1("fl-tab-content", { "value-key": 1, "name-key": "tab-01", class: "init-active" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "value-key": 2, "name-key": "tab-02" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "value-key": 3, "name-key": "tab-03" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense")), h$1("fl-tab-content", { "value-key": 4, "name-key": "tab-04" }, h$1("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h$1("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h$1("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization. Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization.")), h$1("a", { href: 'https://www.google.com', tabIndex: 0 }, "See More about Aerospace & Defense")))))));
17512
17571
  }
17513
17572
  get hostElement() { return this; }
17514
17573
  static get style() { return ptcFeaturedListCss; }
@@ -19028,7 +19087,7 @@ const PtcHomepageVideoBackground$1 = class extends HTMLElement$1 {
19028
19087
  });
19029
19088
  }
19030
19089
  render() {
19031
- return (h$1(Host, null, h$1("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark', "tracker-id": this.playButtonTrackerId, defer: this.defer }), h$1("div", { class: "ptc-container" }, h$1("div", { class: "primary-content-wrapper" }, h$1("slot", { name: "primary-content" })), h$1("div", { class: "card-links" }, h$1("div", { class: "secondary-content-wrapper" }, h$1("slot", { name: "secondary-content" })), h$1("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
19090
+ return (h$1(Host, null, h$1("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark', "tracker-id": this.playButtonTrackerId, defer: this.defer, "poster-src": this.posterSrc }), h$1("div", { class: "ptc-container" }, h$1("div", { class: "primary-content-wrapper" }, h$1("slot", { name: "primary-content" })), h$1("div", { class: "card-links" }, h$1("div", { class: "secondary-content-wrapper" }, h$1("slot", { name: "secondary-content" })), h$1("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
19032
19091
  const trackerId = link.getAttribute('data-tracker-id');
19033
19092
  const icon = link.getAttribute('data-icon');
19034
19093
  const target = link.getAttribute('target');
@@ -19639,6 +19698,7 @@ const PtcJumbotron$1 = class extends HTMLElement$1 {
19639
19698
  this.pngImgStyles = "";
19640
19699
  this.gifSrc = undefined;
19641
19700
  this.bgVideoSrc = undefined;
19701
+ this.bgVideoPosterSrc = undefined;
19642
19702
  this.bgSrc = undefined;
19643
19703
  this.isIframe = false;
19644
19704
  this.isHomepage = false;
@@ -19657,6 +19717,7 @@ const PtcJumbotron$1 = class extends HTMLElement$1 {
19657
19717
  this.blogAuthorQueryHref = "";
19658
19718
  this.blogAuthorQueryTarget = "";
19659
19719
  this.styles = undefined;
19720
+ this.defer = undefined;
19660
19721
  this.hasCtaSlot = undefined;
19661
19722
  }
19662
19723
  componentWillLoad() {
@@ -19687,7 +19748,7 @@ const PtcJumbotron$1 = class extends HTMLElement$1 {
19687
19748
  break;
19688
19749
  case 'dark-video':
19689
19750
  case 'light-video':
19690
- mediaElement = (h$1("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex }, ' ', this.hasPopupVideo && this.isMobile ? (h$1("div", { class: "mobile-modal-play-btn" }, ' ', h$1("slot", { name: "video" }))) : null));
19751
+ mediaElement = (h$1("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, ' ', this.hasPopupVideo && this.isMobile ? (h$1("div", { class: "mobile-modal-play-btn" }, ' ', h$1("slot", { name: "video" }))) : null));
19691
19752
  break;
19692
19753
  case 'dark':
19693
19754
  case 'light':
@@ -31319,7 +31380,7 @@ const DynamicBoxBundle = /*@__PURE__*/proxyCustomElement(DynamicBoxBundle$1, [1,
31319
31380
  const EmbeddedForm = /*@__PURE__*/proxyCustomElement(EmbeddedForm$1, [0,"embedded-form",{"formData":[32],"isSubmitted":[32]}]);
31320
31381
  const FeaturedList = /*@__PURE__*/proxyCustomElement(FeaturedList$1, [1,"featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]);
31321
31382
  const FlTabContent = /*@__PURE__*/proxyCustomElement(FlTabContent$1, [1,"fl-tab-content",{"nameKey":[1,"name-key"],"selected":[4]}]);
31322
- const FlTabHeader = /*@__PURE__*/proxyCustomElement(FlTabHeader$1, [6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"selected":[4],"initialHeader":[32]}]);
31383
+ const FlTabHeader = /*@__PURE__*/proxyCustomElement(FlTabHeader$1, [6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"valueKey":[2,"value-key"],"selected":[4],"trackerId":[1,"tracker-id"],"initialHeader":[32]}]);
31323
31384
  const FlTabImage = /*@__PURE__*/proxyCustomElement(FlTabImage$1, [1,"fl-tab-image",{"nameKey":[1,"name-key"],"selected":[4]}]);
31324
31385
  const FooterForm = /*@__PURE__*/proxyCustomElement(FooterForm$1, [1,"footer-form",{"formData":[32]}]);
31325
31386
  const HomepageClickableTab = /*@__PURE__*/proxyCustomElement(HomepageClickableTab$1, [1,"homepage-clickable-tab",{"active":[4],"label":[1],"activeColor":[1,"active-color"],"styles":[1],"trackerId":[1,"tracker-id"],"isHovered":[32]}]);
@@ -31360,7 +31421,7 @@ const PtcDropdown = /*@__PURE__*/proxyCustomElement(PtcDropdown$1, [1,"ptc-dropd
31360
31421
  const PtcDynamicCard = /*@__PURE__*/proxyCustomElement(PtcDynamicCard$1, [1,"ptc-dynamic-card",{"cardType":[1,"card-type"],"cardTitle":[1,"card-title"],"cardImgSrc":[1,"card-img-src"],"cardImgAlt":[1,"card-img-alt"],"cardScreen":[1,"card-screen"],"isExpanded":[1028,"is-expanded"],"styles":[1],"trackerId":[1,"tracker-id"],"overlayExists":[32]},[[4,"cardOpened","handleCardOpened"]]]);
31361
31422
  const PtcEllipsisDropdown = /*@__PURE__*/proxyCustomElement(PtcEllipsisDropdown$1, [1,"ptc-ellipsis-dropdown",{"dataItems":[16],"selectedTab":[1,"selected-tab"],"dropdownType":[1,"dropdown-type"],"isDropdownOpen":[32],"isMobile":[32],"isIPad":[32]},[[4,"click","offClick"],[9,"resize","handleResize"],[8,"escClicked","onEscClicked"]]]);
31362
31423
  const PtcEmbeddedQuiz = /*@__PURE__*/proxyCustomElement(PtcEmbeddedQuiz$1, [1,"ptc-embedded-quiz",{"getQuizEndpoint":[1,"get-quiz-endpoint"],"restartQuizText":[1,"restart-quiz-text"],"previousButtonText":[1,"previous-button-text"],"startButtonText":[1,"start-button-text"],"quiz":[32],"slide":[32],"traversal":[32]}]);
31363
- const PtcFeaturedList = /*@__PURE__*/proxyCustomElement(PtcFeaturedList$1, [1,"ptc-featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]);
31424
+ const PtcFeaturedList = /*@__PURE__*/proxyCustomElement(PtcFeaturedList$1, [1,"ptc-featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"],[4,"flHeaderArrowFocus","handleFlHeaderArrowFocus"],[4,"flHeaderTabFocus","handleFlHeaderTabFocus"]]]);
31364
31425
  const PtcFilterDropdown = /*@__PURE__*/proxyCustomElement(PtcFilterDropdown$1, [1,"ptc-filter-dropdown",{"placeholder":[1],"selectedTag":[1,"selected-tag"],"styles":[1],"internalOptions":[32],"selectedOptions":[32],"isOpen":[32]}]);
31365
31426
  const PtcFilterLevelTheater = /*@__PURE__*/proxyCustomElement(PtcFilterLevelTheater$1, [2,"ptc-filter-level-theater",{"enableFilters":[4,"enable-filters"],"backButtonText":[1,"back-button-text"],"selectedTab":[32],"lastSelectedTab":[32],"lastSelectedTabGroup":[32],"selectedTabGroup":[32]}]);
31366
31427
  const PtcFilterTag = /*@__PURE__*/proxyCustomElement(PtcFilterTag$1, [1,"ptc-filter-tag",{"theme":[1],"styles":[1],"iconColorMap":[32]}]);
@@ -31381,7 +31442,7 @@ const PtcImageDownloadStrip = /*@__PURE__*/proxyCustomElement(PtcImageDownloadSt
31381
31442
  const PtcImg = /*@__PURE__*/proxyCustomElement(PtcImg$1, [4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"],"styles":[1]},[[9,"resize","WindowResize"]]]);
31382
31443
  const PtcInfoTile = /*@__PURE__*/proxyCustomElement(PtcInfoTile$1, [1,"ptc-info-tile",{"link":[1],"variant":[1],"styles":[1],"trackerId":[1,"tracker-id"],"accessibilityIndex":[2,"accessibility-index"]}]);
31383
31444
  const PtcInlineCta = /*@__PURE__*/proxyCustomElement(PtcInlineCta$1, [1,"ptc-inline-cta",{"type":[1],"containerSelector":[1,"container-selector"],"containerIsShadow":[4,"container-is-shadow"],"trackerId":[1,"tracker-id"],"rte":[1],"image":[32],"heading":[32],"description":[32],"cta":[32]}]);
31384
- const PtcJumbotron = /*@__PURE__*/proxyCustomElement(PtcJumbotron$1, [1,"ptc-jumbotron",{"jumbotronType":[1,"jumbotron-type"],"hasPopupVideo":[4,"has-popup-video"],"mainTitle":[1,"main-title"],"subTitle":[1,"sub-title"],"pngSrc":[1,"png-src"],"pngImgStyles":[1,"png-img-styles"],"gifSrc":[1,"gif-src"],"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"isIframe":[4,"is-iframe"],"isHomepage":[4,"is-homepage"],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"buttonLocation":[1,"button-location"],"buttonTabIndex":[2,"button-tab-index"],"isTransitioning":[4,"is-transitioning"],"blogAuthorImage":[1,"blog-author-image"],"blogAuthorImageAlt":[1,"blog-author-image-alt"],"blogAuthorName":[1,"blog-author-name"],"blogAuthorQueryHref":[1,"blog-author-query-href"],"blogAuthorQueryTarget":[1,"blog-author-query-target"],"styles":[1],"hasCtaSlot":[1028,"has-cta-slot"],"contentBackground":[32],"contentColor":[32],"textAlign":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]);
31445
+ const PtcJumbotron = /*@__PURE__*/proxyCustomElement(PtcJumbotron$1, [1,"ptc-jumbotron",{"jumbotronType":[1,"jumbotron-type"],"hasPopupVideo":[4,"has-popup-video"],"mainTitle":[1,"main-title"],"subTitle":[1,"sub-title"],"pngSrc":[1,"png-src"],"pngImgStyles":[1,"png-img-styles"],"gifSrc":[1,"gif-src"],"bgVideoSrc":[1,"bg-video-src"],"bgVideoPosterSrc":[1,"bg-video-poster-src"],"bgSrc":[1,"bg-src"],"isIframe":[4,"is-iframe"],"isHomepage":[4,"is-homepage"],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"buttonLocation":[1,"button-location"],"buttonTabIndex":[2,"button-tab-index"],"isTransitioning":[4,"is-transitioning"],"blogAuthorImage":[1,"blog-author-image"],"blogAuthorImageAlt":[1,"blog-author-image-alt"],"blogAuthorName":[1,"blog-author-name"],"blogAuthorQueryHref":[1,"blog-author-query-href"],"blogAuthorQueryTarget":[1,"blog-author-query-target"],"styles":[1],"defer":[4],"hasCtaSlot":[1028,"has-cta-slot"],"contentBackground":[32],"contentColor":[32],"textAlign":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]);
31385
31446
  const PtcLink = /*@__PURE__*/proxyCustomElement(PtcLink$1, [1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"linkArea":[1,"link-area"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"styles":[1],"trackerId":[1,"tracker-id"],"tabNav":[2,"tab-nav"],"darkFocusState":[4,"dark-focus-state"]}]);
31386
31447
  const PtcList = /*@__PURE__*/proxyCustomElement(PtcList$1, [1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]);
31387
31448
  const PtcMediaCard = /*@__PURE__*/proxyCustomElement(PtcMediaCard$1, [1,"ptc-media-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"activeBackgroundImage":[1025,"active-background-image"],"activeBackgroundImageAlt":[1025,"active-background-image-alt"],"hoverBackgroundImage":[1025,"hover-background-image"],"heading":[1025],"headingTransform":[1025,"heading-transform"],"category":[1025],"ariaLabel":[1,"aria-label"],"iconImage":[1025,"icon-image"],"iconImageAlt":[1025,"icon-image-alt"],"trackerId":[1,"tracker-id"],"isHovered":[32],"isTabNavigated":[32]}]);
@@ -14,29 +14,67 @@ const FlTabContent = class {
14
14
  };
15
15
  FlTabContent.style = flTabContentCss;
16
16
 
17
- const flTabHeaderCss = "h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{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-fl-tab-header-h{display:block}.sc-fl-tab-header-h p.sc-fl-tab-header{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){.sc-fl-tab-header-h p.sc-fl-tab-header{font-size:var(--ptc-font-size-small);padding:4px 8px;border-radius:var(--ptc-border-radius-standard);display:inline-block}.sc-fl-tab-header-h p.sc-fl-tab-header:hover{background-color:var(--color-gray-02)}.sc-fl-tab-header-h p.selected-p.sc-fl-tab-header,.sc-fl-tab-header-h p.selected-p-init.sc-fl-tab-header{background-color:var(--color-gray-03)}}";
17
+ const flTabHeaderCss = "h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-fl-tab-header,h2.sc-fl-tab-header,h3.sc-fl-tab-header,h4.sc-fl-tab-header,h5.sc-fl-tab-header,h6.sc-fl-tab-header,p.sc-fl-tab-header,ul.sc-fl-tab-header,li.sc-fl-tab-header,ptc-subnav.sc-fl-tab-header,ptc-tab-list.sc-fl-tab-header,ptc-link.sc-fl-tab-header,ptc-square-card.sc-fl-tab-header,.hyphenate-text.sc-fl-tab-header,ptc-footer.sc-fl-tab-header{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-fl-tab-header-h{display:block}.sc-fl-tab-header-h p.sc-fl-tab-header{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){.sc-fl-tab-header-h p.sc-fl-tab-header{font-size:var(--ptc-font-size-small);padding:4px 8px;border-radius:var(--ptc-border-radius-standard);display:inline-block}.sc-fl-tab-header-h p.sc-fl-tab-header:hover{background-color:var(--color-gray-02)}.sc-fl-tab-header-h p.selected-p.sc-fl-tab-header,.sc-fl-tab-header-h p.selected-p-init.sc-fl-tab-header{background-color:var(--color-gray-03)}}.sc-fl-tab-header-h p.sc-fl-tab-header:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
18
18
 
19
19
  const FlTabHeader = class {
20
20
  constructor(hostRef) {
21
21
  registerInstance(this, hostRef);
22
22
  this.flTabClicked = createEvent(this, "flTabClicked", 7);
23
+ this.flHeaderArrowFocus = createEvent(this, "flHeaderArrowFocus", 7);
24
+ this.flHeaderTabFocus = createEvent(this, "flHeaderTabFocus", 7);
25
+ this.handleKeyDown = (e) => {
26
+ switch (e.key) {
27
+ case "ArrowDown": {
28
+ this.flHeaderArrowFocus.emit({
29
+ 'event': e,
30
+ 'valueKey': this.valueKey,
31
+ 'direction': 1
32
+ });
33
+ break;
34
+ }
35
+ case "ArrowUp": {
36
+ this.flHeaderArrowFocus.emit({
37
+ 'event': e,
38
+ 'valueKey': this.valueKey,
39
+ 'direction': -1
40
+ });
41
+ break;
42
+ }
43
+ case "Enter": {
44
+ this.handleClick(e);
45
+ break;
46
+ }
47
+ case "Tab":
48
+ {
49
+ this.flHeaderTabFocus.emit({
50
+ 'sender': this,
51
+ 'event': e,
52
+ 'valueKey': this.valueKey
53
+ });
54
+ }
55
+ break;
56
+ }
57
+ };
23
58
  this.tabTitle = undefined;
24
59
  this.nameKey = undefined;
60
+ this.valueKey = -1;
25
61
  this.selected = false;
62
+ this.trackerId = "";
26
63
  this.initialHeader = false;
27
64
  }
28
65
  handleClick(event) {
29
66
  this.flTabClicked.emit({
30
67
  'sender': this,
31
68
  'event': event,
32
- 'name': this.nameKey
69
+ 'name': this.nameKey,
70
+ 'valueKey': this.valueKey
33
71
  });
34
72
  }
35
73
  componentWillLoad() {
36
74
  this.initialHeader = this.el.classList.contains('init-active');
37
75
  }
38
76
  render() {
39
- return (h(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, h("slot", null), h("p", { class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''}` }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
77
+ return (h(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this), onKeyDown: this.handleKeyDown.bind(this) }, h("slot", null), h("p", { id: this.trackerId, class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''} mf-listen`, tabindex: (this.selected || window.innerWidth < 992) ? 0 : -1 }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
40
78
  }
41
79
  get el() { return getElement(this); }
42
80
  };