@ptcwebops/ptcw-design 6.3.8 → 6.3.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.
@@ -496,7 +496,7 @@ const PtcMobileSelect = class {
496
496
  let mySelect = new y({
497
497
  trigger: `#${this.triggerName}`,
498
498
  title: `${this.listTitle ? this.listTitle : ''}`,
499
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
499
+ wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2', 'test3'] }],
500
500
  position: [0],
501
501
  ensureBtnText: this.ensureBtnText,
502
502
  cancelBtnText: this.cancelBtnText,
@@ -505,13 +505,6 @@ const PtcMobileSelect = class {
505
505
  titleColor: 'var(--color-gray-12)',
506
506
  onShow: function (_1, _2, context) {
507
507
  if (that.selectedId) {
508
- /*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
509
- liEle.forEach((currentValue, currentIndex) => {
510
- if (currentValue.getAttribute('data-id') == currentId) {
511
- storeIndex = currentIndex;
512
- return;
513
- }
514
- });*/
515
508
  try {
516
509
  const item = that.getMobileSelectedItem(context);
517
510
  context.locatePosition(0, item.index);
@@ -522,7 +515,6 @@ const PtcMobileSelect = class {
522
515
  console.log(error);
523
516
  // debugger
524
517
  }
525
- //e.locatePosition(0, storeIndex);
526
518
  }
527
519
  else {
528
520
  return;
@@ -545,7 +537,6 @@ const PtcMobileSelect = class {
545
537
  context.setTriggerInnerText(selectedItem.value);
546
538
  context.show();
547
539
  }
548
- //console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
549
540
  }
550
541
  }.bind(this),
551
542
  });
@@ -137,7 +137,9 @@ const PtcValueLedLayout = class {
137
137
  getSidebarList() {
138
138
  const sidebarList = document.querySelectorAll('.vl-content-item');
139
139
  sidebarList.forEach(listItem => {
140
- let itemTitle = listItem.getAttribute('comp-title');
140
+ var _a, _b, _c, _d;
141
+ //let itemTitle = listItem.getAttribute('comp-title');
142
+ let itemTitle = ((_b = (_a = listItem.querySelector('ptc-title h2')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || ((_d = (_c = listItem.querySelector('ptc-title h1')) === null || _c === void 0 ? void 0 : _c.textContent) === null || _d === void 0 ? void 0 : _d.trim());
141
143
  let itemRef = listItem.getAttribute('id');
142
144
  let vlItem = { title: itemTitle, ref: itemRef };
143
145
  this.sidebarData.push(vlItem);
@@ -50,7 +50,7 @@ export class PtcMobileSelect {
50
50
  let mySelect = new MobileSelect({
51
51
  trigger: `#${this.triggerName}`,
52
52
  title: `${this.listTitle ? this.listTitle : ''}`,
53
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
53
+ wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2', 'test3'] }],
54
54
  position: [0],
55
55
  ensureBtnText: this.ensureBtnText,
56
56
  cancelBtnText: this.cancelBtnText,
@@ -59,13 +59,6 @@ export class PtcMobileSelect {
59
59
  titleColor: 'var(--color-gray-12)',
60
60
  onShow: function (_1, _2, context) {
61
61
  if (that.selectedId) {
62
- /*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
63
- liEle.forEach((currentValue, currentIndex) => {
64
- if (currentValue.getAttribute('data-id') == currentId) {
65
- storeIndex = currentIndex;
66
- return;
67
- }
68
- });*/
69
62
  try {
70
63
  const item = that.getMobileSelectedItem(context);
71
64
  context.locatePosition(0, item.index);
@@ -76,7 +69,6 @@ export class PtcMobileSelect {
76
69
  console.log(error);
77
70
  // debugger
78
71
  }
79
- //e.locatePosition(0, storeIndex);
80
72
  }
81
73
  else {
82
74
  return;
@@ -99,7 +91,6 @@ export class PtcMobileSelect {
99
91
  context.setTriggerInnerText(selectedItem.value);
100
92
  context.show();
101
93
  }
102
- //console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
103
94
  }
104
95
  }.bind(this),
105
96
  });
@@ -177,7 +168,7 @@ export class PtcMobileSelect {
177
168
  "optional": false,
178
169
  "docs": {
179
170
  "tags": [],
180
- "text": "Wheel Data (Mandatory)\r\neg: data: [{ id: \"1\", value: \"\u9644\u8FD1\" }],"
171
+ "text": "Wheel Data (Mandatory)\r\neg: data: [{ id: \"1\", value: \"English\" }],"
181
172
  }
182
173
  },
183
174
  "selectedId": {
@@ -129,7 +129,9 @@ export class PtcValueLedLayout {
129
129
  getSidebarList() {
130
130
  const sidebarList = document.querySelectorAll('.vl-content-item');
131
131
  sidebarList.forEach(listItem => {
132
- let itemTitle = listItem.getAttribute('comp-title');
132
+ var _a, _b, _c, _d;
133
+ //let itemTitle = listItem.getAttribute('comp-title');
134
+ let itemTitle = ((_b = (_a = listItem.querySelector('ptc-title h2')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || ((_d = (_c = listItem.querySelector('ptc-title h1')) === null || _c === void 0 ? void 0 : _c.textContent) === null || _d === void 0 ? void 0 : _d.trim());
133
135
  let itemRef = listItem.getAttribute('id');
134
136
  let vlItem = { title: itemTitle, ref: itemRef };
135
137
  this.sidebarData.push(vlItem);
@@ -6,15 +6,21 @@ export default {
6
6
  argTypes: {
7
7
  borderRadius: {
8
8
  control: 'select',
9
- options: ["", "radius-lg", "radius-standard", "radius-sm"],
10
9
  description: 'Image border shape',
11
- defaultValue: { summary: '' }
10
+ defaultValue: { summary: "'' means no border" },
11
+ options: [
12
+ '',
13
+ 'radius-large',
14
+ 'radius-large-top',
15
+ 'radius-standard',
16
+ 'radius-standard-top'
17
+ ]
12
18
  },
13
19
  imageType: {
14
20
  control: 'select',
15
- options: ["smart-bg", "smart-img"],
16
- description: 'Image type',
17
- defaultValue: { summary: 'smart-bg' }
21
+ description: 'Image type, "smart-bg needs to use with content inside the <ptc-img> tag"',
22
+ defaultValue: { summary: 'smart-bg' },
23
+ options: [ 'smart-bg', 'smart-img' ]
18
24
  },
19
25
  imgUrl: {
20
26
  control: 'text',
@@ -23,35 +29,15 @@ export default {
23
29
  },
24
30
  loadMode: {
25
31
  control: 'select',
26
- options: ["eager-bg", "lazy-bg"],
27
32
  description: 'Lazy loading option',
28
- defaultValue: { summary: 'lazy-bg' }
33
+ defaultValue: { summary: 'lazy-bg' },
34
+ options: [ 'eager-bg', 'lazy-bg' ]
29
35
  },
30
- sizeLg: {
36
+ styles: {
31
37
  control: 'text',
32
- description: 'Image solution for large screen &gt;=1200px',
33
- defaultValue: { summary: '1920x1080' }
34
- },
35
- sizeMd: {
36
- control: 'text',
37
- description: 'Image size for medium screen &gt;=992px and &lt;=1199px',
38
- defaultValue: { summary: '1366x500' }
39
- },
40
- sizeSm: {
41
- control: 'text',
42
- description: 'Image size for small screen &gt;=768px and &lt;=991px',
43
- defaultValue: { summary: '1240x496' }
44
- },
45
- sizeXs: {
46
- control: 'text',
47
- description: 'Image size for smallest screen &lt;=767px',
48
- defaultValue: { summary: '510x340' }
49
- },
50
- // styles: {
51
- // control: '',
52
- // description: '(optional) Injected CSS styles',
53
- // defaultValue: { summary: 'undefined' }
54
- // }
38
+ description: '(optional) Injected CSS styles',
39
+ defaultValue: { summary: 'undefined' }
40
+ }
55
41
  }
56
42
  };
57
43
 
@@ -60,23 +46,15 @@ const Template = args => { return html `<ptc-img
60
46
  image-type=${args.imageType}
61
47
  img-url=${args.imgUrl}
62
48
  load-mode=${args.loadMode}
63
- size-lg=${args.sizeLg}
64
- size-md=${args.sizeMd}
65
- size-sm=${args.sizeSm}
66
- size-xs=${args.sizeXs}
67
49
  styles=${args.styles}
68
50
  ></ptc-img>`;}
69
51
 
70
52
  export const Example = Template.bind({});
71
53
 
72
54
  Example.args = {
73
- borderRadius: 'radius-standard',
55
+ borderRadius: '',
74
56
  imageType: 'smart-img',
75
- imgUrl: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway",
57
+ imgUrl: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/3c9d7c7c7ca74dd483c4d7ca554ecc38?v=ece57c52',
76
58
  loadMode: 'lazy-bg',
77
- sizeLg: '1920x1080',
78
- sizeMd: '1366x500',
79
- sizeSm: '1240x496',
80
- sizeXs: '510x340',
81
- // styles: 'undefined'
59
+ styles: 'undefined'
82
60
  }
@@ -1,3 +1,4 @@
1
+ import { ParameterName } from '@storybook/addon-designs/esm/addon';
1
2
  import { html } from 'lit';
2
3
 
3
4
  export default {
@@ -34,15 +35,16 @@ export default {
34
35
  description: 'Trigger Name (Mandatory)',
35
36
  defaultValue: { summary: 'undefined' }
36
37
  },
37
- // wheelData: {
38
- // control: 'object',
39
- // description: "Wheel Data (Mandatory) eg: data: [{ id: '1', value: '附近' }],",
40
- // defaultValue: { summary: 'undefined' }
41
- // }
42
- }
38
+ wheelData: {
39
+ control: 'array',
40
+ description: "This component is used with <footer-nav> in the back-end solution. If you want to test it, please inject the data through Javascript. Becuase StencilJS doesn't automatically parse string attributes into arrays, developers need to handle the parsing themselves.",
41
+ defaultValue: { summary: '["test1", "test2", "test3"]' }
42
+ }
43
+ },
43
44
  };
44
45
 
45
- const Template = args => { return html `<div class="demo-with-bgcolor">
46
+ const Template = args => { return html `<ptc-para>This component is optimized for mobile screens. Please use the viewport addon in the "Example", and switch to a small device like a cell phone for correct display.</ptc-para>
47
+ <div class="demo-with-bgcolor">
46
48
  <ptc-mobile-select class="js-mobile-select-1"
47
49
  cancel-btn-text=${args.cancelBtnText}
48
50
  ensure-btn-text=${args.ensureBtnText}
@@ -50,21 +52,9 @@ const Template = args => { return html `<div class="demo-with-bgcolor">
50
52
  selected-id=${args.selectedId}
51
53
  selected-text=${args.selectedText}
52
54
  trigger-name=${args.triggerName}
53
- wheel-data=${args.wheelData}
55
+ .wheelData=${args.wheelData}
54
56
  ></ptc-mobile-select>
55
57
  </div>
56
-
57
- <script>
58
- const ptcSelect = document.querySelector('.js-mobile-select-1');
59
- ptcSelect.wheelData = [
60
- { id: 'https://www.ptc.com/en', value: 'English'},
61
- { id: 'https://www.ptc.com/cn', value: '中文 (简体)'},
62
- { id: 'https://www.ptc.com/tw', value: '中文 (繁體)'},
63
- { id: 'https://www.ptc.com/fr', value: 'Français'},
64
- { id: 'https://www.ptc.com/de', value: 'Deutsch'},
65
- { id: 'https://www.ptc.com/it', value: 'Italiano'},
66
- ];
67
- </script>
68
58
  `;}
69
59
 
70
60
  export const Example = Template.bind({});
@@ -76,5 +66,5 @@ Example.args = {
76
66
  selectedId: 'en',
77
67
  selectedText: 'English',
78
68
  triggerName: 'lang-ddl',
79
- // wheelData: 'undefined'
69
+ wheelData: [{id: "https://www.ptc.com/en", value: "English"}, {id: "https://www.ptc.com/fr", value: "Français"}, {id:"https://www.ptc.com/cn", value:"中文 (简体)"}]
80
70
  }
@@ -23445,7 +23445,7 @@ const PtcMobileSelect$1 = class extends HTMLElement$1 {
23445
23445
  let mySelect = new y({
23446
23446
  trigger: `#${this.triggerName}`,
23447
23447
  title: `${this.listTitle ? this.listTitle : ''}`,
23448
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
23448
+ wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2', 'test3'] }],
23449
23449
  position: [0],
23450
23450
  ensureBtnText: this.ensureBtnText,
23451
23451
  cancelBtnText: this.cancelBtnText,
@@ -23454,13 +23454,6 @@ const PtcMobileSelect$1 = class extends HTMLElement$1 {
23454
23454
  titleColor: 'var(--color-gray-12)',
23455
23455
  onShow: function (_1, _2, context) {
23456
23456
  if (that.selectedId) {
23457
- /*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
23458
- liEle.forEach((currentValue, currentIndex) => {
23459
- if (currentValue.getAttribute('data-id') == currentId) {
23460
- storeIndex = currentIndex;
23461
- return;
23462
- }
23463
- });*/
23464
23457
  try {
23465
23458
  const item = that.getMobileSelectedItem(context);
23466
23459
  context.locatePosition(0, item.index);
@@ -23471,7 +23464,6 @@ const PtcMobileSelect$1 = class extends HTMLElement$1 {
23471
23464
  console.log(error);
23472
23465
  // debugger
23473
23466
  }
23474
- //e.locatePosition(0, storeIndex);
23475
23467
  }
23476
23468
  else {
23477
23469
  return;
@@ -23494,7 +23486,6 @@ const PtcMobileSelect$1 = class extends HTMLElement$1 {
23494
23486
  context.setTriggerInnerText(selectedItem.value);
23495
23487
  context.show();
23496
23488
  }
23497
- //console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
23498
23489
  }
23499
23490
  }.bind(this),
23500
23491
  });
@@ -34215,7 +34206,9 @@ const PtcValueLedLayout$1 = class extends HTMLElement$1 {
34215
34206
  getSidebarList() {
34216
34207
  const sidebarList = document.querySelectorAll('.vl-content-item');
34217
34208
  sidebarList.forEach(listItem => {
34218
- let itemTitle = listItem.getAttribute('comp-title');
34209
+ var _a, _b, _c, _d;
34210
+ //let itemTitle = listItem.getAttribute('comp-title');
34211
+ let itemTitle = ((_b = (_a = listItem.querySelector('ptc-title h2')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || ((_d = (_c = listItem.querySelector('ptc-title h1')) === null || _c === void 0 ? void 0 : _c.textContent) === null || _d === void 0 ? void 0 : _d.trim());
34219
34212
  let itemRef = listItem.getAttribute('id');
34220
34213
  let vlItem = { title: itemTitle, ref: itemRef };
34221
34214
  this.sidebarData.push(vlItem);
@@ -492,7 +492,7 @@ const PtcMobileSelect = class {
492
492
  let mySelect = new y({
493
493
  trigger: `#${this.triggerName}`,
494
494
  title: `${this.listTitle ? this.listTitle : ''}`,
495
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
495
+ wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2', 'test3'] }],
496
496
  position: [0],
497
497
  ensureBtnText: this.ensureBtnText,
498
498
  cancelBtnText: this.cancelBtnText,
@@ -501,13 +501,6 @@ const PtcMobileSelect = class {
501
501
  titleColor: 'var(--color-gray-12)',
502
502
  onShow: function (_1, _2, context) {
503
503
  if (that.selectedId) {
504
- /*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
505
- liEle.forEach((currentValue, currentIndex) => {
506
- if (currentValue.getAttribute('data-id') == currentId) {
507
- storeIndex = currentIndex;
508
- return;
509
- }
510
- });*/
511
504
  try {
512
505
  const item = that.getMobileSelectedItem(context);
513
506
  context.locatePosition(0, item.index);
@@ -518,7 +511,6 @@ const PtcMobileSelect = class {
518
511
  console.log(error);
519
512
  // debugger
520
513
  }
521
- //e.locatePosition(0, storeIndex);
522
514
  }
523
515
  else {
524
516
  return;
@@ -541,7 +533,6 @@ const PtcMobileSelect = class {
541
533
  context.setTriggerInnerText(selectedItem.value);
542
534
  context.show();
543
535
  }
544
- //console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
545
536
  }
546
537
  }.bind(this),
547
538
  });
@@ -133,7 +133,9 @@ const PtcValueLedLayout = class {
133
133
  getSidebarList() {
134
134
  const sidebarList = document.querySelectorAll('.vl-content-item');
135
135
  sidebarList.forEach(listItem => {
136
- let itemTitle = listItem.getAttribute('comp-title');
136
+ var _a, _b, _c, _d;
137
+ //let itemTitle = listItem.getAttribute('comp-title');
138
+ let itemTitle = ((_b = (_a = listItem.querySelector('ptc-title h2')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || ((_d = (_c = listItem.querySelector('ptc-title h1')) === null || _c === void 0 ? void 0 : _c.textContent) === null || _d === void 0 ? void 0 : _d.trim());
137
139
  let itemRef = listItem.getAttribute('id');
138
140
  let vlItem = { title: itemTitle, ref: itemRef };
139
141
  this.sidebarData.push(vlItem);
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as o,g as l}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.sidebarData=[],this.dropFlag=!1,this.topBackgroundImage=void 0,this.isMobile=void 0,this.selectedValue=void 0}componentWillLoad(){this.getSidebarList(),this.isMobile=window.innerWidth<992}componentDidLoad(){this.setActiveItem(),this.selectBtn=this.hostElement.shadowRoot.querySelector(".select-button"),this.customSelect=this.hostElement.shadowRoot.querySelector(".custom-select"),this.optionsList=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li"),this.selectBtn.addEventListener("click",this.handleSelectButtonClick.bind(this)),this.customSelectDropdown(),document.querySelectorAll(".video-embad-container-value-led-class").forEach((t=>{const e=t.querySelector(".ptc-container");e&&(e.classList.remove("ptc-container"),t.classList.add("u-paddingTop-flush"))}))}handleScroll(){const t=this.hostElement.shadowRoot.querySelector(".vl-layout-wrap");if(t){const e=t.getBoundingClientRect();if(window.scrollY>=e.top&&window.scrollY<=e.height){this.setActiveItem();const t=this.hostElement.shadowRoot.querySelector(".vl-list-wrap ul li.active");t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}}handleWheel(){this.setActiveItem()}handleKeyDown(t){"ArrowUp"!==t.key&&"ArrowDown"!==t.key&&"PageUp"!==t.key&&"PageDown"!==t.key||this.setActiveItem()}handleMouseDown(){this.setActiveItem()}handleMouseUp(){this.setActiveItem()}handleTouchStart(){this.setActiveItem()}handleTouchMove(){this.setActiveItem()}handleTouchEnd(){this.setActiveItem()}handleResize(){this.isMobile=window.innerWidth<992,this.setActiveItem(),this.customSelectDropdown()}handleDropdownScroll(){let t=this.hostElement.shadowRoot.querySelector(".custom-select");if(t){let a=t.querySelector(".select-dropdown");var e=a.scrollHeight,o=a.scrollTop,l=a.offsetHeight;a.clientHeight<e&&(o>0?t.classList.add("scroll-top"):t.classList.remove("scroll-top"),l+o<e?t.classList.add("scroll-bottom"):t.classList.remove("scroll-bottom"))}}handleSelectButtonClick(){this.customSelect.classList.toggle("active"),this.selectBtn.setAttribute("aria-expanded","true"===this.selectBtn.getAttribute("aria-expanded")?"false":"true")}getSidebarList(){document.querySelectorAll(".vl-content-item").forEach((t=>{var e,o,l,a;let i=(null===(o=null===(e=t.querySelector("ptc-title h2"))||void 0===e?void 0:e.textContent)||void 0===o?void 0:o.trim())||(null===(a=null===(l=t.querySelector("ptc-title h1"))||void 0===l?void 0:l.textContent)||void 0===a?void 0:a.trim()),n=t.getAttribute("id");this.sidebarData.push({title:i,ref:n})}))}setActiveItem(){const t=window.scrollY||window.pageYOffset;let e=this.isMobile?85:5;t>=149?this.sidebarData.forEach(((o,l)=>{const a=document.getElementById(o.ref);a&&a.offsetTop<=t+e&&this.updateActiveItem(l)})):(this.updateActiveItem(0),this.isMobile&&(this.selectedValue.textContent=this.optionsList[0].textContent))}updateActiveItem(t){const e=this.hostElement.shadowRoot.querySelector(`.vl-list-wrap ul li:nth-child(${t+1})`),o=this.hostElement.shadowRoot.querySelector(".vl-list-wrap ul li.active");if(o&&o.classList.remove("active"),e&&e.classList.add("active"),this.mobileSelect=this.hostElement.shadowRoot.querySelector(".mobile-select"),this.mobileSelect){this.selectedValue=this.hostElement.shadowRoot.querySelector(".selected-value"),this.optionsList=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li"),this.optionsList.forEach((e=>{parseInt(e.id)===t&&(this.selectedValue.textContent=e.children[1].textContent)}));const e=this.hostElement.shadowRoot.querySelector(`.select-dropdown li:nth-child(${t+1})`),o=this.hostElement.shadowRoot.querySelector(".select-dropdown li.active");o&&o.classList.remove("active"),e&&e.classList.add("active")}}handleSelectChange(t){const e=document.getElementById(this.sidebarData[t].ref);e&&(e.scrollIntoView({behavior:"smooth"}),window.scrollTo(0,e.offsetTop-75))}customSelectDropdown(){this.selectedValue=this.hostElement.shadowRoot.querySelector(".selected-value"),this.customSelect&&this.isMobile&&this.optionsList.forEach(((t,e)=>{const o=o=>{"click"===o.type&&0!==o.clientX&&0!==o.clientY&&(this.selectedValue.textContent=t.children[1].textContent,this.customSelect.classList.remove("active"),this.handleSelectChange(e)),"Enter"===o.key&&(this.selectedValue.textContent=t.textContent,this.customSelect.classList.remove("active"),this.handleSelectChange(e))};t.addEventListener("keyup",o),t.addEventListener("click",o)}))}selectDropOption(t){this.updateActiveItem(t)}onMenuitemKeydown(t){let e=t.currentTarget,o=t.key,l=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li").length,a=this.hostElement.shadowRoot.querySelector(".select-button");t.ctrlKey||t.altKey||t.metaKey||"Tab"===o&&l-1==e.id&&a.focus()}render(){return e(o,null,e("div",{class:"top-image",style:{backgroundImage:`url(${this.topBackgroundImage})`}}),e("div",{class:"ptc-container"},e("div",{class:"pdf-slot-wrapper"},e("slot",{name:"pdf-slot"})),e("div",{class:"vl-layout-wrap"},this.sidebarData.length>0&&!this.isMobile&&e("div",{class:"vl-sidebar"},e("div",{class:"vl-list-wrap"},e("ul",{id:"vl-side-list"},this.sidebarData.map(((t,o)=>e("li",{id:"list-"+o,class:"mf-listen"},e("a",{href:"#"+t.ref,id:o,onClick:()=>{this.updateActiveItem(o)}},e("ptc-tooltip",{"max-length":"70",description:t.title,"no-overflow":"true"})))))))),e("span",{style:{display:"none !important"}}),e("div",{class:"vl-content-wrap"},e("div",{class:"custom-select mobile-select"},e("button",{class:"select-button",role:"combobox","aria-labelledby":"select button","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":"select-dropdown"},e("span",{class:"selected-value"},"Select option"),e("span",{class:"arrow"})),e("ul",{class:"select-dropdown",role:"listbox",id:"select-dropdown",onScroll:()=>this.handleDropdownScroll()},this.sidebarData.map(((t,o)=>e("li",{role:"option",id:o,onClick:()=>this.selectDropOption(o),tabIndex:0,onKeyDown:t=>{this.onMenuitemKeydown(t)}},e("input",{type:"radio",id:t.title,name:"vl-drop-list",tabIndex:-1}),e("label",{htmlFor:t.title},e("i",{class:"bx bxl-github"}),t.title)))))),e("div",{class:"vl-content-slot-wrap"},e("slot",null))))))}get hostElement(){return l(this)}};a.style='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}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}:host{display:block;position:relative}:host *{box-sizing:border-box;font-family:var(--ptc-font-latin)}:host .top-image{background-color:rgba(0, 0, 0, 0.6);background-blend-mode:multiply;position:absolute;z-index:-1;width:100%;height:500px;background-size:cover;background-position:center}:host .pdf-slot-wrapper{padding:var(--ptc-element-spacing-04) 0;width:100%;text-align:right}:host .vl-layout-wrap{margin-top:var(--ptc-element-spacing-04);width:100%;position:relative}@media only screen and (min-width: 992px){:host .vl-layout-wrap{display:flex;margin-top:40px}}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-sidebar{width:22%;margin-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-sidebar{margin-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 1440px){:host .vl-layout-wrap .vl-sidebar{margin-right:40px}}:host .vl-layout-wrap .vl-list-wrap{width:100%;padding:8px 0;box-shadow:var(--ptc-shadow-x-large);max-height:calc(100vh - 64px);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard)}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-list-wrap{z-index:105;margin:auto;position:sticky;top:32px;right:0;float:right;overflow-y:auto;overflow-x:hidden;padding:var(--ptc-layout-spacing-02) 0}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap{padding:var(--ptc-layout-spacing-03) 0}}:host .vl-layout-wrap .vl-list-wrap ul{margin:0;padding:0;list-style:none}:host .vl-layout-wrap .vl-list-wrap ul li{display:none}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-list-wrap ul li{display:block;margin:0 8px 4px 8px}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap ul li{margin:0 16px 8px 16px}}:host .vl-layout-wrap .vl-list-wrap ul li a{display:block;padding:8px 16px;font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);text-decoration:none;color:var(--color-gray-10);position:relative;background-color:transparent;border-radius:var(--ptc-border-radius-standard);transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap ul li a{font-size:var(--ptc-font-size-small)}}:host .vl-layout-wrap .vl-list-wrap ul li a::before{content:"";display:block;width:2px;height:calc(100% - 16px);background-color:transparent;position:absolute;left:4px}:host .vl-layout-wrap .vl-list-wrap ul li a:hover{background-color:var(--color-gray-02)}:host .vl-layout-wrap .vl-list-wrap ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-list-wrap ul li.active{display:block}:host .vl-layout-wrap .vl-list-wrap ul li.active a{font-weight:var(--ptc-font-weight-bold)}:host .vl-layout-wrap .vl-list-wrap ul li.active a::before{background-color:var(--color-green-07)}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar{width:8px}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar-track{background:transparent}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill)}:host .vl-layout-wrap .vl-list-wrap select{z-index:105;background-color:var(--color-white)}:host .vl-layout-wrap .vl-content-wrap{width:100%;padding:0 20px 20px 20px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 480px){:host .vl-layout-wrap .vl-content-wrap{padding:0 32px 32px 32px}}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap{width:78%;padding:48px}}:host .vl-layout-wrap .vl-content-wrap .mobile-select{position:sticky;top:-1px;z-index:1056;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:var(--color-white);width:calc(100% + 40px);margin-left:-20px;border-top-left-radius:4px;border-top-right-radius:4px}@media only screen and (min-width: 480px){:host .vl-layout-wrap .vl-content-wrap .mobile-select{width:calc(100% + 64px);margin-left:-32px}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select{display:block}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select{display:none}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button{width:100%;background-color:transparent;border-radius:0.25rem;cursor:pointer;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-size:var(--ptc-font-size-small);display:flex;justify-content:space-between;align-items:center;border-radius:4px 4px 0px 0px;box-shadow:var(--ptc-shadow-x-large);padding:var(--ptc-element-spacing-06);border:none;color:var(--color-gray-10);position:relative}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button::after{content:"";width:100%;height:0;background-color:transparent;display:block;position:absolute;bottom:0;box-shadow:0 16px 16px rgba(0, 0, 0, 0.2);left:0;right:0;z-index:105666}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button .selected-value{text-align:left;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-size:var(--ptc-font-size-small);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button .arrow{min-width:14px;width:14px;height:10px;background-image:url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none"><path d="M2 2.30469L6.94975 7.60799L11.8995 2.30469" stroke="%2300890B" stroke-width="3" stroke-linecap="round"/></svg>\');background-repeat:no-repeat;transition:transform ease-in-out 0.3s;margin-left:15px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown{position:absolute;list-style:none;width:100%;border-radius:0 0 4px 4px;background:var(--color-white);margin:0;padding:16px 0;max-height:70vh;overflow-y:auto;transition:0.5s ease;z-index:30000;box-shadow:0px 16px 16px rgba(0, 0, 0, 0.24);border-top:1px solid var(--color-gray-02);opacity:0;visibility:hidden}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li{position:relative;cursor:pointer;margin:0 5px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li label{display:block;width:100%;box-sizing:border-box;padding:16px 27px;cursor:pointer;font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li label::before{content:"";display:block;width:2px;height:calc(100% - 32px);background-color:transparent;position:absolute;left:11px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li.active label{font-weight:700}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li.active label::before{background-color:var(--color-green-07)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown input[type=radio]{position:absolute;left:0;opacity:0}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown input[type=radio]:checked~label{font-weight:700}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar{width:7px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar-track{background:var(--color-white);border-radius:25px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:25px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.active .arrow{transform:rotate(180deg)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.active .select-dropdown{opacity:1;visibility:visible}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.scroll-top.active .select-button::after{height:16px}:host .vl-layout-wrap .vl-content-wrap .mobile-select:focus-visible{outline:none}:host .vl-layout-wrap .vl-content-wrap .vl-content-slot-wrap{padding:var(--ptc-element-spacing-07) 0 0 0}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .vl-content-slot-wrap{padding:0}}:host .select-dropdown input:focus~label{background-color:#dfdfdf}';export{a as ptc_value_led_layout}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-ac75c7ad.js";var s=Object.defineProperty,h=(t,i,e)=>(((t,i,e)=>{i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e})(t,"symbol"!=typeof i?i+"":i,e),e);const o=class{constructor(t){h(this,"mobileSelect"),h(this,"trigger"),h(this,"wheelList"),h(this,"sliderList"),h(this,"wheelsContain"),h(this,"panel"),h(this,"ensureBtn"),h(this,"cancelBtn"),h(this,"grayLayer"),h(this,"popUp"),h(this,"initPosition"),h(this,"initColWidth"),h(this,"wheelsData"),h(this,"displayJson"),h(this,"curValue"),h(this,"curIndexArr"),h(this,"isCascade"),h(this,"isJsonType"),h(this,"startY"),h(this,"moveEndY"),h(this,"moveY"),h(this,"preMoveY"),h(this,"offsetY"),h(this,"offsetSum"),h(this,"oversizeBorder"),h(this,"enableClickStatus"),h(this,"optionHeight"),h(this,"curDistance"),h(this,"cascadeJsonData"),h(this,"eventHandleMap"),h(this,"initDeepCount"),h(this,"config"),!o.checkRequiredConfig(t)||(this.config=Object.assign({},o.defaultConfig,t),this.wheelsData=t.wheels,this.isJsonType=!1,this.cascadeJsonData=[],this.displayJson=[],this.curValue=[],this.curIndexArr=[],this.isCascade=!1,this.offsetY=0,this.offsetSum=0,this.curDistance=[],this.enableClickStatus=!1,this.optionHeight=0,this.initPosition=t.position||[],this.initColWidth=t.colWidth||[],this.init())}init(){if(!this.checkTriggerAvailable())return;const{config:t}=this;if(this.isJsonType=o.checkDataType(this.wheelsData),this.renderComponent(this.wheelsData),this.wheelList=this.mobileSelect.getElementsByClassName("ms-wheel"),this.sliderList=this.mobileSelect.getElementsByClassName("ms-select-container"),this.panel=this.mobileSelect.querySelector(".ms-panel"),this.wheelsContain=this.mobileSelect.querySelector(".ms-wheels"),this.ensureBtn=this.mobileSelect.querySelector(".ms-ensure"),this.cancelBtn=this.mobileSelect.querySelector(".ms-cancel"),this.grayLayer=this.mobileSelect.querySelector(".ms-gray-layer"),this.popUp=this.mobileSelect.querySelector(".ms-content"),this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight,t.initValue&&this.setTriggerInnerText(t.initValue),this.setStyle(t),this.isCascade=this.checkCascade(),this.isCascade&&this.initCascade(),t.initValue&&(this.initPosition=this.getPositionByInitValue()),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.isCascade?this.initPosition.forEach(((t,i)=>{this.checkRange(i,this.initPosition)})):this.setCurDistance(this.initPosition),this.eventHandleMap={cancelBtn:{event:"click",fn:()=>{var t,i,e,s;this.hide(),null==(i=(t=this.config).cancel)||i.call(t,this.curIndexArr,this.curValue,this),null==(s=(e=this.config).onCancel)||s.call(e,this.curValue,this.curIndexArr,this)}},ensureBtn:{event:"click",fn:()=>{var t,i,e,s;this.hide(),this.optionHeight||(this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight),this.setTriggerInnerText(this.getConnectedString()),this.curIndexArr=this.getIndexArr(),this.curValue=this.getCurValue(),null==(i=(t=this.config).callback)||i.call(t,this.curIndexArr,this.curValue,this),null==(s=(e=this.config).onChange)||s.call(e,this.curValue,this.curIndexArr,this)}},trigger:{event:"click",fn:()=>{this.show()}},grayLayer:{event:"click",fn:()=>this.hide()},popUp:{event:"click",fn:t=>t.stopPropagation()},panel:{event:["touchstart","touchend","touchmove"],fn:t=>this.touch(t)}},!navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/)&&(this.eventHandleMap.panel.event=["mousedown","mousemove","mouseup"]),this.registerEvents("add"),this.fixRowStyle(),t.autoFocus&&this.show()}static checkDataType(t){var i,e;return"object"==typeof(null==(e=null==(i=t[0])?void 0:i.data)?void 0:e[0])}static checkRequiredConfig(t){const i=o.REQUIRED_PARAMS;if(!t){const t=i.map((t=>`'${t}'`));return o.log("error",`missing required param ${t.join(" and ")}.`),!1}for(let e=0;e<i.length;e++){const s=i[e];if(!t[s])return o.log("error",`missing required param '${s}'.`),!1}return!0}static log(t,i){var e;null==(e=console[t])||e.call(console,`[mobile-select]: ${i}`)}checkTriggerAvailable(){const{config:t}=this;return this.trigger=t.trigger instanceof HTMLElement?t.trigger:document.querySelector(t.trigger),!!this.trigger||(o.log("error","trigger HTMLElement does not found on your document."),!1)}getPositionByInitValue(){var t;const{keyMap:i,connector:e,initValue:s}=this.config,h=(null==s?void 0:s.split(e))||[];if(this.isJsonType){let e=null==(t=this.wheelsData[0])?void 0:t.data;return h.reduce(((t,s)=>{var h;const o=null==e?void 0:e.findIndex((t=>t[i.value]==s));return t.push(o<0?0:o),e=null==(h=e[o])?void 0:h[i.childs],t}),[])}return h.reduce(((t,i,e)=>{var s,h;const o=null==(h=null==(s=this.wheelsData[e])?void 0:s.data)?void 0:h.findIndex((t=>t==i));return t.push(o<0?0:o),t}),[])}getConnectedString(){let t="";for(let i=0;i<this.wheelList.length;i++)t+=i==this.wheelList.length-1?this.getInnerText(i):this.getInnerText(i)+this.config.connector;return t}setTriggerInnerText(t){this.config.triggerDisplayValue&&(this.trigger.textContent=t)}setValue(t){if(!t||!t.length)return;if(this.isJsonType&&"object"!=typeof t[0]||!this.isJsonType&&"object"==typeof t[0])return void o.log("error",`The setValue() input format should be same with getValue(), like: ${JSON.stringify(this.getValue())}`);const{keyMap:i}=this.config;t.forEach(((t,e)=>{var s;const h=this.isCascade?this.displayJson[e]:null==(s=this.wheelsData[e])?void 0:s.data,o=null==h?void 0:h.findIndex((e=>this.isJsonType?t[i.id]==e[i.id]||t[i.value]==e[i.value]:t==e));this.locatePosition(e,o)})),this.setTriggerInnerText(this.getConnectedString())}setTitle(t){this.mobileSelect.querySelector(".ms-title").innerHTML=t}setStyle(t){if(t.ensureBtnColor&&(this.ensureBtn.style.color=t.ensureBtnColor),t.cancelBtnColor&&(this.cancelBtn.style.color=t.cancelBtnColor),t.titleColor&&(this.mobileSelect.querySelector(".ms-title").style.color=t.titleColor),t.textColor&&(this.panel=this.mobileSelect.querySelector(".ms-panel"),this.panel.style.color=t.textColor),t.titleBgColor&&(this.mobileSelect.querySelector(".ms-btn-bar").style.backgroundColor=t.titleBgColor),t.bgColor){this.panel=this.mobileSelect.querySelector(".ms-panel");const i=this.mobileSelect.querySelector(".ms-shadow-mask");this.panel.style.backgroundColor=t.bgColor,i.style.background="linear-gradient(to bottom, "+t.bgColor+", rgba(255, 255, 255, 0), "+t.bgColor+")"}"number"==typeof t.maskOpacity&&(this.mobileSelect.querySelector(".ms-gray-layer").style.background="rgba(0, 0, 0, "+t.maskOpacity+")")}show(){var t,i,e;this.mobileSelect.classList.add("ms-show"),null==(t=document.querySelector("body"))||t.classList.add("ms-show"),"function"==typeof this.config.onShow&&(null==(e=(i=this.config).onShow)||e.call(i,this.curValue,this.curIndexArr,this))}hide(){var t,i,e;this.mobileSelect.classList.remove("ms-show"),null==(t=document.querySelector("body"))||t.classList.remove("ms-show"),"function"==typeof this.config.onHide&&(null==(e=(i=this.config).onHide)||e.call(i,this.curValue,this.curIndexArr,this))}registerEvents(t){for(const[i,e]of Object.entries(this.eventHandleMap))"string"==typeof e.event?this[i][`${t}EventListener`](e.event,e.fn,{passive:!1}):e.event.forEach((s=>{this[i][`${t}EventListener`](s,e.fn,{passive:!1})}))}destroy(){var t,i;this.registerEvents("remove"),null==(i=null==(t=this.mobileSelect)?void 0:t.parentNode)||i.removeChild(this.mobileSelect)}getOptionsHtmlStr(t){const{keyMap:i}=this.config;let e="";if(this.isJsonType)for(let s=0;s<t.length;s++)e+=`<li data-id="${t[s][i.id]}">${t[s][i.value]}</li>`;else for(let i=0;i<t.length;i++)e+="<li>"+t[i]+"</li>";return e}renderComponent(t){this.mobileSelect=document.createElement("div"),this.mobileSelect.className="ms-mobile-select",this.mobileSelect.innerHTML=`<div class="ms-gray-layer"></div>\n <div class="ms-content">\n <div class="ms-btn-bar">\n <div class="ms-fix-width">\n <div class="ms-cancel">${this.config.cancelBtnText}</div> \n <div class="ms-title">${this.config.title||""}</div>\n <div class="ms-ensure">${this.config.ensureBtnText}</div>\n </div>\n </div>\n <div class="ms-panel">\n <div class="ms-fix-width">\n <div class="ms-wheels"></div>\n <div class="ms-select-line"></div>\n <div class="ms-shadow-mask"></div>\n </div>\n </div>`,document.body.appendChild(this.mobileSelect);let i="";for(let e=0;e<t.length;e++)i+=`<div class="ms-wheel" data-index="${e}"><ul class="ms-select-container">`,i+=this.getOptionsHtmlStr(t[e].data),i+="</ul></div>";this.mobileSelect.querySelector(".ms-wheels").innerHTML=i}reRenderWheels(){const t=this.wheelList.length-this.displayJson.length;if(t>0)for(let i=0;i<t;i++)this.wheelsContain.removeChild(this.wheelList[this.wheelList.length-1]);for(let t=0;t<this.displayJson.length;t++)if(this.wheelList[t])this.sliderList[t].innerHTML=this.getOptionsHtmlStr(this.displayJson[t]);else{const i=document.createElement("div");i.className="ms-wheel",i.innerHTML=`<ul class="ms-select-container">${this.getOptionsHtmlStr(this.displayJson[t])}</ul>`,i.setAttribute("data-index",t.toString()),this.wheelsContain.appendChild(i)}}checkCascade(){var t;const{keyMap:i}=this.config;if(this.isJsonType){const e=this.wheelsData[0].data;for(let s=0;s<e.length;s++)if(i.childs in e[s]&&(null==(t=e[s][i.childs])?void 0:t.length)>0)return this.cascadeJsonData=this.wheelsData[0].data,!0}return!1}initCascade(){this.displayJson.push(this.cascadeJsonData),this.initPosition.length>0?(this.initDeepCount=0,this.initCheckArrDeep(this.cascadeJsonData[this.initPosition[0]])):this.checkArrDeep(this.cascadeJsonData[0]),this.reRenderWheels()}initCheckArrDeep(t){if(t){const{keyMap:i}=this.config;if(i.childs in t&&t[i.childs].length>0){this.displayJson.push(t[i.childs]),this.initDeepCount++;const e=t[i.childs][this.initPosition[this.initDeepCount]];e?this.initCheckArrDeep(e):this.checkArrDeep(t[i.childs][0])}}}checkArrDeep(t){if(!t)return;const{keyMap:i}=this.config;i.childs in t&&t[i.childs].length>0&&(this.displayJson.push(t[i.childs]),this.checkArrDeep(t[i.childs][0]))}checkRange(t,i){var e;const s=this.displayJson.length-1-t,{keyMap:h}=this.config;for(let t=0;t<s;t++)this.displayJson.pop();let o;for(let s=0;s<=t;s++)o=0==s?this.cascadeJsonData[i[0]]:null==(e=null==o?void 0:o[h.childs])?void 0:e[i[s]];this.checkArrDeep(o),this.reRenderWheels(),this.fixRowStyle(),this.setCurDistance(this.resetPosition(t,i))}resetPosition(t,i){const e=[...i];let s;if(this.sliderList.length>i.length){s=this.sliderList.length-i.length;for(let t=0;t<s;t++)e.push(0)}else if(this.sliderList.length<i.length){s=i.length-this.sliderList.length;for(let t=0;t<s;t++)e.pop()}for(let i=t+1;i<e.length;i++)e[i]=0;return e}updateWheels(t){if(this.isCascade){if(this.cascadeJsonData=t,this.displayJson=[],this.initCascade(),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.setCurDistance(this.initPosition),this.fixRowStyle()}}updateWheel(t,i){if(this.isCascade)return void o.log("error","'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");let e="";e+=this.getOptionsHtmlStr(i),this.wheelsData[t]=this.isJsonType?{data:i}:i,this.sliderList[t].innerHTML=e}fixRowStyle(){if(this.initColWidth.length&&this.initColWidth.length===this.wheelList.length){const t=this.initColWidth.reduce(((t,i)=>t+i),0);return void this.initColWidth.forEach(((i,e)=>{this.wheelList[e].style.width=(i/t*100).toFixed(2)+"%"}))}const t=(100/this.wheelList.length).toFixed(2);for(let i=0;i<this.wheelList.length;i++)this.wheelList[i].style.width=t+"%"}getIndex(t){return Math.round((2*this.optionHeight-t)/this.optionHeight)}getIndexArr(){const t=[];for(let i=0;i<this.curDistance.length;i++)t.push(this.getIndex(this.curDistance[i]));return t}getCurValue(){const t=[],i=this.getIndexArr(),{keyMap:e}=this.config;if(this.isCascade)for(let s=0;s<this.wheelList.length;s++){const h=this.displayJson[s][i[s]];h&&t.push({[e.id]:h[e.id],[e.value]:h[e.value]})}else if(this.isJsonType)for(let i=0;i<this.curDistance.length;i++)t.push(this.wheelsData[i].data[this.getIndex(this.curDistance[i])]);else for(let i=0;i<this.curDistance.length;i++)t.push(this.getInnerText(i));return t}getValue(){return this.getCurValue()}calcDistance(t){return 2*this.optionHeight-t*this.optionHeight}setCurDistance(t){const i=[];for(let e=0;e<this.sliderList.length;e++)i.push(this.calcDistance(t[e])),this.movePosition(this.sliderList[e],i[e]);this.curDistance=i}fixPosition(t){return-(this.getIndex(t)-2)*this.optionHeight}movePosition(t,i){t.style.transform="translate3d(0,"+i+"px, 0)"}locatePosition(t,i){void 0===t||void 0===i||i<0||(this.curDistance[t]=this.calcDistance(i),this.movePosition(this.sliderList[t],this.curDistance[t]),this.isCascade&&this.checkRange(t,this.getIndexArr()))}updateCurDistance(t,i){this.curDistance[i]=parseInt(t.style.transform.split(",")[1])}getInnerText(t){var i;const e=this.sliderList[t].getElementsByTagName("li").length;let s=this.getIndex(this.curDistance[t]);return s>=e?s=e-1:s<0&&(s=0),(null==(i=this.sliderList[t].getElementsByTagName("li")[s])?void 0:i.textContent)||""}touch(t){var i,e,s,h,o,n,l,r;const a=(t.composedPath&&t.composedPath()).find((t=>{var i;return null==(i=t.classList)?void 0:i.contains("ms-wheel")}));if(!a)return;const c=a.firstChild,p=parseInt(a.getAttribute("data-index")||"0");switch(t.type){case"touchstart":case"mousedown":c.style.transition="none 0s ease-out",this.startY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.preMoveY=this.startY,"mousedown"===t.type&&(this.enableClickStatus=!0);break;case"touchmove":case"mousemove":if(t.preventDefault(),"mousemove"===t.type&&!this.enableClickStatus)break;this.moveY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.offsetY=(this.moveY-this.preMoveY)*this.config.scrollSpeed,this.updateCurDistance(c,p),this.curDistance[p]=this.curDistance[p]+this.offsetY,this.movePosition(c,this.curDistance[p]),this.preMoveY=this.moveY;break;case"touchend":case"mouseup":if(c.style.transition="transform 0.18s ease-out",this.moveEndY=Math.floor(t instanceof TouchEvent?t.changedTouches[0].clientY:t.clientY),this.offsetSum=this.moveEndY-this.startY,this.oversizeBorder=-(c.getElementsByTagName("li").length-3)*this.optionHeight,0==this.offsetSum){const t=Math.floor((window.innerHeight-this.moveEndY)/40);if(2!=t){const o=this.curDistance[p]+(t-2)*this.optionHeight;o<=2*this.optionHeight&&o>=this.oversizeBorder&&(this.curDistance[p]=o,this.movePosition(c,this.curDistance[p]),null==(e=(i=this.config).transitionEnd)||e.call(i,this.getIndexArr(),this.getCurValue(),this),null==(h=(s=this.config).onTransitionEnd)||h.call(s,this.getCurValue(),this.getIndexArr(),this))}}else this.updateCurDistance(c,p),this.curDistance[p]=this.fixPosition(this.curDistance[p]),this.curDistance[p]>2*this.optionHeight?this.curDistance[p]=2*this.optionHeight:this.curDistance[p]<this.oversizeBorder&&(this.curDistance[p]=this.oversizeBorder),this.movePosition(c,this.curDistance[p]),null==(n=(o=this.config).transitionEnd)||n.call(o,this.getIndexArr(),this.getCurValue(),this),null==(r=(l=this.config).onTransitionEnd)||r.call(l,this.getCurValue(),this.getIndexArr(),this);"mouseup"===t.type&&(this.enableClickStatus=!1),this.isCascade&&this.checkRange(p,this.getIndexArr())}}};let n=o;h(n,"defaultConfig",{keyMap:{id:"id",value:"value",childs:"childs"},position:[],colWidth:[],title:"",connector:" ",ensureBtnText:"确认",cancelBtnText:"取消",triggerDisplayValue:!0,scrollSpeed:1}),h(n,"REQUIRED_PARAMS",["trigger","wheels"]);class l{}const r=class{constructor(e){t(this,e),this.selectionChanged=i(this,"selectionChanged",7),this.triggerName=void 0,this.selectedText=void 0,this.wheelData=void 0,this.selectedId="",this.ensureBtnText="Confirm",this.cancelBtnText="Cancel",this.listTitle=void 0,this.notFoundPopupProceedButton=void 0}componentWillLoad(){this.notFoundPopupProceedButton=document.querySelector("#translation-popup-button"),this.notFoundPopupProceedButton&&this.notFoundPopupProceedButton.addEventListener("click",(()=>{let t=document.querySelector("footer-nav");if(t){let i=t.getAttribute("ms-selected-text"),e=document.querySelector("footer-nav #lang-ddl");e&&i&&(e.innerHTML=i)}}))}wrapperClick(t){if(t&&(t.preventDefault(),t.target.id!=this.triggerName)){let i=t.currentTarget.querySelector(`#${this.triggerName}`);i&&i.click()}}render(){return e("div",{class:"mobile-select-wrapper","aria-selectlanguage":"Select Language",tabindex:"0",onKeyPress:t=>{this.wrapperClick(t)}},e("div",{onClick:t=>{this.wrapperClick(t)}},e("span",{id:this.triggerName},this.selectedText),e("icon-asset",{type:"ptc",size:"x-small",name:"lang-drop-arrow",color:"white","is-mobile-select":"true","injected-style":"svg.ismobileselect{transform:translateX(10px); width: 13px !important;height: 10px !important;}"})))}componentDidRender(){let t=this,i=0;new n({trigger:`#${this.triggerName}`,title:`${this.listTitle?this.listTitle:""}`,wheels:this.wheelData?[{data:this.wheelData}]:[{data:["test1","test2"]}],position:[0],ensureBtnText:this.ensureBtnText,cancelBtnText:this.cancelBtnText,ensureBtnColor:"var(--color-gray-12)",cancelBtnColor:"var(--color-gray-12)",titleColor:"var(--color-gray-12)",onShow:function(e,s,h){if(t.selectedId)try{const e=t.getMobileSelectedItem(h);h.locatePosition(0,e.index),i=e.index}catch(t){console.log(t)}},callback:function(i,e,s){if(this.selectionChanged.emit({sender:s,index:i&&i.length>0?i[0]:-1,data:e&&e.length>0?e[0]:void 0}),e&&e[0]&&"#"!=e[0].id)window.location.href=e[0].id;else if(!i||isNaN(i[0])){const i=t.getMobileSelectedItem(s);s.locatePosition(0,i.index),s.setValue(this.wheelData[i.index]),s.setTriggerInnerText(i.value),s.show()}}.bind(this)}).locatePosition(0,i)}getMobileSelectedItem(t){let i=new l;return i.id=this.selectedId,t.mobileSelect.querySelectorAll("[data-id]").forEach(((t,e)=>{if(t.getAttribute("data-id")==i.id)return i.index=e,void(i.value=t.textContent)})),i}};r.style='.ms-mobile-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s;transform:translate(0, 0)}.ms-mobile-select *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.ms-mobile-select .ms-gray-layer{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.ms-mobile-select .ms-content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.ms-mobile-select .ms-fix-width{width:90%;margin:0 auto;position:relative}.ms-mobile-select .ms-fix-width:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-btn-bar{border-bottom:1px solid #dcdcdc;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.ms-mobile-select .ms-cancel,.ms-mobile-select .ms-ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-cancel{left:0;color:#666}.ms-mobile-select .ms-ensure{right:0;color:#1e83d3}.ms-mobile-select .ms-title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-mobile-select .ms-panel:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-wheels{width:100%;height:200px;overflow:hidden}.ms-mobile-select .ms-wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.ms-mobile-select .ms-select-container{display:block;text-align:center}.ms-mobile-select .ms-select-container li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-select-line{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.ms-mobile-select .ms-shadow-mask{position:absolute;top:0;width:100%;height:200px;background:linear-gradient(to bottom, #fffffff5, #ffffffcc 25%, #ffffff00 49%, #ffffff00 51%, #ffffffcc 75%, #fffffff5);opacity:0.9;pointer-events:none}.ms-mobile-select.ms-show{opacity:1;z-index:10000;visibility:visible}.ms-mobile-select.ms-show .ms-content{bottom:0}.ms-default-trigger{min-height:1em;color:#888}body.ms-show{overflow-y:hidden}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}}.mobile-select-wrapper{display:block;cursor:pointer}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobile-select-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}.ms-mobile-select.ms-show .ms-cancel,.ms-mobile-select.ms-show .ms-ensure{width:auto}';export{r as ptc_mobile_select}
1
+ import{r as t,c as i,h as e}from"./p-ac75c7ad.js";var s=Object.defineProperty,h=(t,i,e)=>(((t,i,e)=>{i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e})(t,"symbol"!=typeof i?i+"":i,e),e);const o=class{constructor(t){h(this,"mobileSelect"),h(this,"trigger"),h(this,"wheelList"),h(this,"sliderList"),h(this,"wheelsContain"),h(this,"panel"),h(this,"ensureBtn"),h(this,"cancelBtn"),h(this,"grayLayer"),h(this,"popUp"),h(this,"initPosition"),h(this,"initColWidth"),h(this,"wheelsData"),h(this,"displayJson"),h(this,"curValue"),h(this,"curIndexArr"),h(this,"isCascade"),h(this,"isJsonType"),h(this,"startY"),h(this,"moveEndY"),h(this,"moveY"),h(this,"preMoveY"),h(this,"offsetY"),h(this,"offsetSum"),h(this,"oversizeBorder"),h(this,"enableClickStatus"),h(this,"optionHeight"),h(this,"curDistance"),h(this,"cascadeJsonData"),h(this,"eventHandleMap"),h(this,"initDeepCount"),h(this,"config"),!o.checkRequiredConfig(t)||(this.config=Object.assign({},o.defaultConfig,t),this.wheelsData=t.wheels,this.isJsonType=!1,this.cascadeJsonData=[],this.displayJson=[],this.curValue=[],this.curIndexArr=[],this.isCascade=!1,this.offsetY=0,this.offsetSum=0,this.curDistance=[],this.enableClickStatus=!1,this.optionHeight=0,this.initPosition=t.position||[],this.initColWidth=t.colWidth||[],this.init())}init(){if(!this.checkTriggerAvailable())return;const{config:t}=this;if(this.isJsonType=o.checkDataType(this.wheelsData),this.renderComponent(this.wheelsData),this.wheelList=this.mobileSelect.getElementsByClassName("ms-wheel"),this.sliderList=this.mobileSelect.getElementsByClassName("ms-select-container"),this.panel=this.mobileSelect.querySelector(".ms-panel"),this.wheelsContain=this.mobileSelect.querySelector(".ms-wheels"),this.ensureBtn=this.mobileSelect.querySelector(".ms-ensure"),this.cancelBtn=this.mobileSelect.querySelector(".ms-cancel"),this.grayLayer=this.mobileSelect.querySelector(".ms-gray-layer"),this.popUp=this.mobileSelect.querySelector(".ms-content"),this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight,t.initValue&&this.setTriggerInnerText(t.initValue),this.setStyle(t),this.isCascade=this.checkCascade(),this.isCascade&&this.initCascade(),t.initValue&&(this.initPosition=this.getPositionByInitValue()),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.isCascade?this.initPosition.forEach(((t,i)=>{this.checkRange(i,this.initPosition)})):this.setCurDistance(this.initPosition),this.eventHandleMap={cancelBtn:{event:"click",fn:()=>{var t,i,e,s;this.hide(),null==(i=(t=this.config).cancel)||i.call(t,this.curIndexArr,this.curValue,this),null==(s=(e=this.config).onCancel)||s.call(e,this.curValue,this.curIndexArr,this)}},ensureBtn:{event:"click",fn:()=>{var t,i,e,s;this.hide(),this.optionHeight||(this.optionHeight=this.mobileSelect.querySelector("li").offsetHeight),this.setTriggerInnerText(this.getConnectedString()),this.curIndexArr=this.getIndexArr(),this.curValue=this.getCurValue(),null==(i=(t=this.config).callback)||i.call(t,this.curIndexArr,this.curValue,this),null==(s=(e=this.config).onChange)||s.call(e,this.curValue,this.curIndexArr,this)}},trigger:{event:"click",fn:()=>{this.show()}},grayLayer:{event:"click",fn:()=>this.hide()},popUp:{event:"click",fn:t=>t.stopPropagation()},panel:{event:["touchstart","touchend","touchmove"],fn:t=>this.touch(t)}},!navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/)&&(this.eventHandleMap.panel.event=["mousedown","mousemove","mouseup"]),this.registerEvents("add"),this.fixRowStyle(),t.autoFocus&&this.show()}static checkDataType(t){var i,e;return"object"==typeof(null==(e=null==(i=t[0])?void 0:i.data)?void 0:e[0])}static checkRequiredConfig(t){const i=o.REQUIRED_PARAMS;if(!t){const t=i.map((t=>`'${t}'`));return o.log("error",`missing required param ${t.join(" and ")}.`),!1}for(let e=0;e<i.length;e++){const s=i[e];if(!t[s])return o.log("error",`missing required param '${s}'.`),!1}return!0}static log(t,i){var e;null==(e=console[t])||e.call(console,`[mobile-select]: ${i}`)}checkTriggerAvailable(){const{config:t}=this;return this.trigger=t.trigger instanceof HTMLElement?t.trigger:document.querySelector(t.trigger),!!this.trigger||(o.log("error","trigger HTMLElement does not found on your document."),!1)}getPositionByInitValue(){var t;const{keyMap:i,connector:e,initValue:s}=this.config,h=(null==s?void 0:s.split(e))||[];if(this.isJsonType){let e=null==(t=this.wheelsData[0])?void 0:t.data;return h.reduce(((t,s)=>{var h;const o=null==e?void 0:e.findIndex((t=>t[i.value]==s));return t.push(o<0?0:o),e=null==(h=e[o])?void 0:h[i.childs],t}),[])}return h.reduce(((t,i,e)=>{var s,h;const o=null==(h=null==(s=this.wheelsData[e])?void 0:s.data)?void 0:h.findIndex((t=>t==i));return t.push(o<0?0:o),t}),[])}getConnectedString(){let t="";for(let i=0;i<this.wheelList.length;i++)t+=i==this.wheelList.length-1?this.getInnerText(i):this.getInnerText(i)+this.config.connector;return t}setTriggerInnerText(t){this.config.triggerDisplayValue&&(this.trigger.textContent=t)}setValue(t){if(!t||!t.length)return;if(this.isJsonType&&"object"!=typeof t[0]||!this.isJsonType&&"object"==typeof t[0])return void o.log("error",`The setValue() input format should be same with getValue(), like: ${JSON.stringify(this.getValue())}`);const{keyMap:i}=this.config;t.forEach(((t,e)=>{var s;const h=this.isCascade?this.displayJson[e]:null==(s=this.wheelsData[e])?void 0:s.data,o=null==h?void 0:h.findIndex((e=>this.isJsonType?t[i.id]==e[i.id]||t[i.value]==e[i.value]:t==e));this.locatePosition(e,o)})),this.setTriggerInnerText(this.getConnectedString())}setTitle(t){this.mobileSelect.querySelector(".ms-title").innerHTML=t}setStyle(t){if(t.ensureBtnColor&&(this.ensureBtn.style.color=t.ensureBtnColor),t.cancelBtnColor&&(this.cancelBtn.style.color=t.cancelBtnColor),t.titleColor&&(this.mobileSelect.querySelector(".ms-title").style.color=t.titleColor),t.textColor&&(this.panel=this.mobileSelect.querySelector(".ms-panel"),this.panel.style.color=t.textColor),t.titleBgColor&&(this.mobileSelect.querySelector(".ms-btn-bar").style.backgroundColor=t.titleBgColor),t.bgColor){this.panel=this.mobileSelect.querySelector(".ms-panel");const i=this.mobileSelect.querySelector(".ms-shadow-mask");this.panel.style.backgroundColor=t.bgColor,i.style.background="linear-gradient(to bottom, "+t.bgColor+", rgba(255, 255, 255, 0), "+t.bgColor+")"}"number"==typeof t.maskOpacity&&(this.mobileSelect.querySelector(".ms-gray-layer").style.background="rgba(0, 0, 0, "+t.maskOpacity+")")}show(){var t,i,e;this.mobileSelect.classList.add("ms-show"),null==(t=document.querySelector("body"))||t.classList.add("ms-show"),"function"==typeof this.config.onShow&&(null==(e=(i=this.config).onShow)||e.call(i,this.curValue,this.curIndexArr,this))}hide(){var t,i,e;this.mobileSelect.classList.remove("ms-show"),null==(t=document.querySelector("body"))||t.classList.remove("ms-show"),"function"==typeof this.config.onHide&&(null==(e=(i=this.config).onHide)||e.call(i,this.curValue,this.curIndexArr,this))}registerEvents(t){for(const[i,e]of Object.entries(this.eventHandleMap))"string"==typeof e.event?this[i][`${t}EventListener`](e.event,e.fn,{passive:!1}):e.event.forEach((s=>{this[i][`${t}EventListener`](s,e.fn,{passive:!1})}))}destroy(){var t,i;this.registerEvents("remove"),null==(i=null==(t=this.mobileSelect)?void 0:t.parentNode)||i.removeChild(this.mobileSelect)}getOptionsHtmlStr(t){const{keyMap:i}=this.config;let e="";if(this.isJsonType)for(let s=0;s<t.length;s++)e+=`<li data-id="${t[s][i.id]}">${t[s][i.value]}</li>`;else for(let i=0;i<t.length;i++)e+="<li>"+t[i]+"</li>";return e}renderComponent(t){this.mobileSelect=document.createElement("div"),this.mobileSelect.className="ms-mobile-select",this.mobileSelect.innerHTML=`<div class="ms-gray-layer"></div>\n <div class="ms-content">\n <div class="ms-btn-bar">\n <div class="ms-fix-width">\n <div class="ms-cancel">${this.config.cancelBtnText}</div> \n <div class="ms-title">${this.config.title||""}</div>\n <div class="ms-ensure">${this.config.ensureBtnText}</div>\n </div>\n </div>\n <div class="ms-panel">\n <div class="ms-fix-width">\n <div class="ms-wheels"></div>\n <div class="ms-select-line"></div>\n <div class="ms-shadow-mask"></div>\n </div>\n </div>`,document.body.appendChild(this.mobileSelect);let i="";for(let e=0;e<t.length;e++)i+=`<div class="ms-wheel" data-index="${e}"><ul class="ms-select-container">`,i+=this.getOptionsHtmlStr(t[e].data),i+="</ul></div>";this.mobileSelect.querySelector(".ms-wheels").innerHTML=i}reRenderWheels(){const t=this.wheelList.length-this.displayJson.length;if(t>0)for(let i=0;i<t;i++)this.wheelsContain.removeChild(this.wheelList[this.wheelList.length-1]);for(let t=0;t<this.displayJson.length;t++)if(this.wheelList[t])this.sliderList[t].innerHTML=this.getOptionsHtmlStr(this.displayJson[t]);else{const i=document.createElement("div");i.className="ms-wheel",i.innerHTML=`<ul class="ms-select-container">${this.getOptionsHtmlStr(this.displayJson[t])}</ul>`,i.setAttribute("data-index",t.toString()),this.wheelsContain.appendChild(i)}}checkCascade(){var t;const{keyMap:i}=this.config;if(this.isJsonType){const e=this.wheelsData[0].data;for(let s=0;s<e.length;s++)if(i.childs in e[s]&&(null==(t=e[s][i.childs])?void 0:t.length)>0)return this.cascadeJsonData=this.wheelsData[0].data,!0}return!1}initCascade(){this.displayJson.push(this.cascadeJsonData),this.initPosition.length>0?(this.initDeepCount=0,this.initCheckArrDeep(this.cascadeJsonData[this.initPosition[0]])):this.checkArrDeep(this.cascadeJsonData[0]),this.reRenderWheels()}initCheckArrDeep(t){if(t){const{keyMap:i}=this.config;if(i.childs in t&&t[i.childs].length>0){this.displayJson.push(t[i.childs]),this.initDeepCount++;const e=t[i.childs][this.initPosition[this.initDeepCount]];e?this.initCheckArrDeep(e):this.checkArrDeep(t[i.childs][0])}}}checkArrDeep(t){if(!t)return;const{keyMap:i}=this.config;i.childs in t&&t[i.childs].length>0&&(this.displayJson.push(t[i.childs]),this.checkArrDeep(t[i.childs][0]))}checkRange(t,i){var e;const s=this.displayJson.length-1-t,{keyMap:h}=this.config;for(let t=0;t<s;t++)this.displayJson.pop();let o;for(let s=0;s<=t;s++)o=0==s?this.cascadeJsonData[i[0]]:null==(e=null==o?void 0:o[h.childs])?void 0:e[i[s]];this.checkArrDeep(o),this.reRenderWheels(),this.fixRowStyle(),this.setCurDistance(this.resetPosition(t,i))}resetPosition(t,i){const e=[...i];let s;if(this.sliderList.length>i.length){s=this.sliderList.length-i.length;for(let t=0;t<s;t++)e.push(0)}else if(this.sliderList.length<i.length){s=i.length-this.sliderList.length;for(let t=0;t<s;t++)e.pop()}for(let i=t+1;i<e.length;i++)e[i]=0;return e}updateWheels(t){if(this.isCascade){if(this.cascadeJsonData=t,this.displayJson=[],this.initCascade(),this.initPosition.length<this.sliderList.length){const t=this.sliderList.length-this.initPosition.length;for(let i=0;i<t;i++)this.initPosition.push(0)}this.setCurDistance(this.initPosition),this.fixRowStyle()}}updateWheel(t,i){if(this.isCascade)return void o.log("error","'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");let e="";e+=this.getOptionsHtmlStr(i),this.wheelsData[t]=this.isJsonType?{data:i}:i,this.sliderList[t].innerHTML=e}fixRowStyle(){if(this.initColWidth.length&&this.initColWidth.length===this.wheelList.length){const t=this.initColWidth.reduce(((t,i)=>t+i),0);return void this.initColWidth.forEach(((i,e)=>{this.wheelList[e].style.width=(i/t*100).toFixed(2)+"%"}))}const t=(100/this.wheelList.length).toFixed(2);for(let i=0;i<this.wheelList.length;i++)this.wheelList[i].style.width=t+"%"}getIndex(t){return Math.round((2*this.optionHeight-t)/this.optionHeight)}getIndexArr(){const t=[];for(let i=0;i<this.curDistance.length;i++)t.push(this.getIndex(this.curDistance[i]));return t}getCurValue(){const t=[],i=this.getIndexArr(),{keyMap:e}=this.config;if(this.isCascade)for(let s=0;s<this.wheelList.length;s++){const h=this.displayJson[s][i[s]];h&&t.push({[e.id]:h[e.id],[e.value]:h[e.value]})}else if(this.isJsonType)for(let i=0;i<this.curDistance.length;i++)t.push(this.wheelsData[i].data[this.getIndex(this.curDistance[i])]);else for(let i=0;i<this.curDistance.length;i++)t.push(this.getInnerText(i));return t}getValue(){return this.getCurValue()}calcDistance(t){return 2*this.optionHeight-t*this.optionHeight}setCurDistance(t){const i=[];for(let e=0;e<this.sliderList.length;e++)i.push(this.calcDistance(t[e])),this.movePosition(this.sliderList[e],i[e]);this.curDistance=i}fixPosition(t){return-(this.getIndex(t)-2)*this.optionHeight}movePosition(t,i){t.style.transform="translate3d(0,"+i+"px, 0)"}locatePosition(t,i){void 0===t||void 0===i||i<0||(this.curDistance[t]=this.calcDistance(i),this.movePosition(this.sliderList[t],this.curDistance[t]),this.isCascade&&this.checkRange(t,this.getIndexArr()))}updateCurDistance(t,i){this.curDistance[i]=parseInt(t.style.transform.split(",")[1])}getInnerText(t){var i;const e=this.sliderList[t].getElementsByTagName("li").length;let s=this.getIndex(this.curDistance[t]);return s>=e?s=e-1:s<0&&(s=0),(null==(i=this.sliderList[t].getElementsByTagName("li")[s])?void 0:i.textContent)||""}touch(t){var i,e,s,h,o,n,l,r;const a=(t.composedPath&&t.composedPath()).find((t=>{var i;return null==(i=t.classList)?void 0:i.contains("ms-wheel")}));if(!a)return;const c=a.firstChild,p=parseInt(a.getAttribute("data-index")||"0");switch(t.type){case"touchstart":case"mousedown":c.style.transition="none 0s ease-out",this.startY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.preMoveY=this.startY,"mousedown"===t.type&&(this.enableClickStatus=!0);break;case"touchmove":case"mousemove":if(t.preventDefault(),"mousemove"===t.type&&!this.enableClickStatus)break;this.moveY=Math.floor(t instanceof TouchEvent?t.touches[0].clientY:t.clientY),this.offsetY=(this.moveY-this.preMoveY)*this.config.scrollSpeed,this.updateCurDistance(c,p),this.curDistance[p]=this.curDistance[p]+this.offsetY,this.movePosition(c,this.curDistance[p]),this.preMoveY=this.moveY;break;case"touchend":case"mouseup":if(c.style.transition="transform 0.18s ease-out",this.moveEndY=Math.floor(t instanceof TouchEvent?t.changedTouches[0].clientY:t.clientY),this.offsetSum=this.moveEndY-this.startY,this.oversizeBorder=-(c.getElementsByTagName("li").length-3)*this.optionHeight,0==this.offsetSum){const t=Math.floor((window.innerHeight-this.moveEndY)/40);if(2!=t){const o=this.curDistance[p]+(t-2)*this.optionHeight;o<=2*this.optionHeight&&o>=this.oversizeBorder&&(this.curDistance[p]=o,this.movePosition(c,this.curDistance[p]),null==(e=(i=this.config).transitionEnd)||e.call(i,this.getIndexArr(),this.getCurValue(),this),null==(h=(s=this.config).onTransitionEnd)||h.call(s,this.getCurValue(),this.getIndexArr(),this))}}else this.updateCurDistance(c,p),this.curDistance[p]=this.fixPosition(this.curDistance[p]),this.curDistance[p]>2*this.optionHeight?this.curDistance[p]=2*this.optionHeight:this.curDistance[p]<this.oversizeBorder&&(this.curDistance[p]=this.oversizeBorder),this.movePosition(c,this.curDistance[p]),null==(n=(o=this.config).transitionEnd)||n.call(o,this.getIndexArr(),this.getCurValue(),this),null==(r=(l=this.config).onTransitionEnd)||r.call(l,this.getCurValue(),this.getIndexArr(),this);"mouseup"===t.type&&(this.enableClickStatus=!1),this.isCascade&&this.checkRange(p,this.getIndexArr())}}};let n=o;h(n,"defaultConfig",{keyMap:{id:"id",value:"value",childs:"childs"},position:[],colWidth:[],title:"",connector:" ",ensureBtnText:"确认",cancelBtnText:"取消",triggerDisplayValue:!0,scrollSpeed:1}),h(n,"REQUIRED_PARAMS",["trigger","wheels"]);class l{}const r=class{constructor(e){t(this,e),this.selectionChanged=i(this,"selectionChanged",7),this.triggerName=void 0,this.selectedText=void 0,this.wheelData=void 0,this.selectedId="",this.ensureBtnText="Confirm",this.cancelBtnText="Cancel",this.listTitle=void 0,this.notFoundPopupProceedButton=void 0}componentWillLoad(){this.notFoundPopupProceedButton=document.querySelector("#translation-popup-button"),this.notFoundPopupProceedButton&&this.notFoundPopupProceedButton.addEventListener("click",(()=>{let t=document.querySelector("footer-nav");if(t){let i=t.getAttribute("ms-selected-text"),e=document.querySelector("footer-nav #lang-ddl");e&&i&&(e.innerHTML=i)}}))}wrapperClick(t){if(t&&(t.preventDefault(),t.target.id!=this.triggerName)){let i=t.currentTarget.querySelector(`#${this.triggerName}`);i&&i.click()}}render(){return e("div",{class:"mobile-select-wrapper","aria-selectlanguage":"Select Language",tabindex:"0",onKeyPress:t=>{this.wrapperClick(t)}},e("div",{onClick:t=>{this.wrapperClick(t)}},e("span",{id:this.triggerName},this.selectedText),e("icon-asset",{type:"ptc",size:"x-small",name:"lang-drop-arrow",color:"white","is-mobile-select":"true","injected-style":"svg.ismobileselect{transform:translateX(10px); width: 13px !important;height: 10px !important;}"})))}componentDidRender(){let t=this,i=0;new n({trigger:`#${this.triggerName}`,title:`${this.listTitle?this.listTitle:""}`,wheels:this.wheelData?[{data:this.wheelData}]:[{data:["test1","test2","test3"]}],position:[0],ensureBtnText:this.ensureBtnText,cancelBtnText:this.cancelBtnText,ensureBtnColor:"var(--color-gray-12)",cancelBtnColor:"var(--color-gray-12)",titleColor:"var(--color-gray-12)",onShow:function(e,s,h){if(t.selectedId)try{const e=t.getMobileSelectedItem(h);h.locatePosition(0,e.index),i=e.index}catch(t){console.log(t)}},callback:function(i,e,s){if(this.selectionChanged.emit({sender:s,index:i&&i.length>0?i[0]:-1,data:e&&e.length>0?e[0]:void 0}),e&&e[0]&&"#"!=e[0].id)window.location.href=e[0].id;else if(!i||isNaN(i[0])){const i=t.getMobileSelectedItem(s);s.locatePosition(0,i.index),s.setValue(this.wheelData[i.index]),s.setTriggerInnerText(i.value),s.show()}}.bind(this)}).locatePosition(0,i)}getMobileSelectedItem(t){let i=new l;return i.id=this.selectedId,t.mobileSelect.querySelectorAll("[data-id]").forEach(((t,e)=>{if(t.getAttribute("data-id")==i.id)return i.index=e,void(i.value=t.textContent)})),i}};r.style='.ms-mobile-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s;transform:translate(0, 0)}.ms-mobile-select *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.ms-mobile-select .ms-gray-layer{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.ms-mobile-select .ms-content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.ms-mobile-select .ms-fix-width{width:90%;margin:0 auto;position:relative}.ms-mobile-select .ms-fix-width:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-btn-bar{border-bottom:1px solid #dcdcdc;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.ms-mobile-select .ms-cancel,.ms-mobile-select .ms-ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-cancel{left:0;color:#666}.ms-mobile-select .ms-ensure{right:0;color:#1e83d3}.ms-mobile-select .ms-title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-mobile-select .ms-panel:after{content:".";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-wheels{width:100%;height:200px;overflow:hidden}.ms-mobile-select .ms-wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.ms-mobile-select .ms-select-container{display:block;text-align:center}.ms-mobile-select .ms-select-container li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-select-line{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.ms-mobile-select .ms-shadow-mask{position:absolute;top:0;width:100%;height:200px;background:linear-gradient(to bottom, #fffffff5, #ffffffcc 25%, #ffffff00 49%, #ffffff00 51%, #ffffffcc 75%, #fffffff5);opacity:0.9;pointer-events:none}.ms-mobile-select.ms-show{opacity:1;z-index:10000;visibility:visible}.ms-mobile-select.ms-show .ms-content{bottom:0}.ms-default-trigger{min-height:1em;color:#888}body.ms-show{overflow-y:hidden}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}}.mobile-select-wrapper{display:block;cursor:pointer}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobile-select-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}.ms-mobile-select.ms-show .ms-cancel,.ms-mobile-select.ms-show .ms-ensure{width:auto}';export{r as ptc_mobile_select}
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-ac75c7ad.js";export{s as setNonce}from"./p-ac75c7ad.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-d3229458",[[1,"blogs-search-section",{"noResultH3":[1,"no-result-h-3"],"noResultP":[1,"no-result-p"],"noResultButton":[1,"no-result-button"],"preloaderDependency":[32],"isLoading":[32],"data":[32],"search":[32],"filters":[32],"runSearch":[64]}]]],["p-9de963f8",[[1,"bundle-jumbotron-example",{"jumbotron":[1],"isIframe":[4,"is-iframe"]}]]],["p-4d8f6f46",[[2,"ptc-filter-level-theater",{"enableFilters":[4,"enable-filters"],"backButtonText":[1,"back-button-text"],"selectedTab":[32],"lastSelectedTab":[32],"lastSelectedTabGroup":[32],"selectedTabGroup":[32]}]]],["p-18ac526f",[[1,"ptc-featured-list",{"isMobile":[32],"selectedTab":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]]],["p-8c692bd6",[[0,"embedded-form",{"formData":[32],"isSubmitted":[32]}]]],["p-d089dc37",[[1,"featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]]],["p-821f0ff9",[[6,"homepage-jumbotron",{"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"jumbotron":[1],"isIframe":[4,"is-iframe"],"playBtnText":[1,"play-btn-text"],"pauseBtnText":[1,"pause-btn-text"],"activeTab":[32],"activeBgVideoSrc":[32],"activeMainTitle":[32],"activeSubTitle":[32],"activeButton":[32],"tileElements":[32],"isTransitioning":[32],"mediaTag":[32]},[[9,"resize","handleWindowResize"],[0,"itemSelected","onItemSelected"]]]]],["p-aac082cf",[[1,"news-search-result",{"isLoading":[32],"picWidth":[32],"picHeight":[32],"cardHeights":[32],"maxCardHeight":[32]}]]],["p-99b45d23",[[0,"ptc-form",{"formData":[32]}]]],["p-6f5fecae",[[1,"ptc-pricing-packaging-table",{"pageWithSubnav":[4,"page-with-subnav"],"tableTitle":[1,"table-title"],"tableSubTitle":[1,"table-sub-title"],"dataRows":[2,"data-rows"],"dataCols":[2,"data-cols"],"disclaimerCount":[2,"disclaimer-count"],"moreText":[1,"more-text"],"LessText":[1,"less-text"],"sectionId":[1,"section-id"],"isDesktopView":[32],"hashKey":[32],"debouncedHashEnable":[32],"cellWidthXXS":[32],"cellWidthMD":[32],"cellLeftRightPadding":[32],"headerType":[32],"lastScrollTop":[32],"scrollTimeInterval":[32],"scrollAmount":[32],"scrollLimit":[32],"stickyTopAt":[32],"columnHeaderLinks":[32],"hasEmptySpace":[32],"showFillerCells":[32],"showCtaButtonsRow":[32],"ctaButtons":[32],"disclaimers":[32],"tableDescription":[32]}]]],["p-ffb0ff97",[[0,"academic-form-test",{"formData":[32]}]]],["p-46f67bec",[[1,"author-listing-example",{"defaultAuthorImage":[1,"default-author-image"],"isLoading":[32],"loadedCardCount":[32],"cardsPerLoad":[32],"cardData":[32]},[[9,"scroll","handleScroll"]]]]],["p-17f6e145",[[4,"blog-detail-layout",{"preloaderDependency":[32]}]]],["p-48c33817",[[1,"most-popular-news",{"topTitle":[1,"top-title"]}]]],["p-fd7e5935",[[4,"ptc-pricing-add-on-section",{"cardCount":[2,"card-count"],"sectionTitle":[1,"section-title"],"sectionId":[1,"section-id"],"cardData":[32]}]]],["p-dc8c0a06",[[1,"sequential-bundle",{"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-d20cf3c5",[[1,"sequential-bundle-example",{"isInteralCardsExpanded":[1040],"isMobile":[32],"expandedCardIndex":[32]},[[9,"resize","handleResize"],[4,"cardOpened","handleCardOpened"]]]]],["p-ee534211",[[1,"bundle-example",{"isLoading":[32],"picWidth":[32],"picHeight":[32],"cardHeights":[32],"maxCardHeight":[32]},[[9,"resize","handleWindowResize"],[16,"squareHeightChanged","squareHeightChangedHandler"]]]]],["p-9d3a7f36",[[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]}]]],["p-d74ccb19",[[1,"ptc-news",{"newsTag":[1,"news-tag"],"newsImage":[1,"news-image"],"newsImageAlt":[1,"news-image-alt"],"newsDownloadUrl":[1,"news-download-url"]}]]],["p-b50f71dd",[[1,"ptc-product-sidebar",{"filterResults":[1,"filter-results"],"filterText":[1,"filter-text"],"clearText":[1,"clear-text"],"technologyText":[1,"technology-text"],"jumpToProduct":[1,"jump-to-product"],"selectTechnology":[1,"select-technology"],"suggestionList":[16],"searchTerm":[32],"suggestions":[32]},[[4,"dropdownTouched","handleDropdownTouched"],[0,"click","handleClick"],[4,"clearCtaClicked","handleclearCtaClicked"],[4,"selectedValues","handleSelectedValues"]]]]],["p-71360e29",[[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]}]]],["p-e5369c4d",[[1,"ptc-office-locations",{"regionListManual":[1,"region-list-manual"],"showMapText":[1,"show-map-text"],"hideMapText":[1,"hide-map-text"],"filtersText":[1,"filters-text"],"allRegionsText":[1,"all-regions-text"],"applyText":[1,"apply-text"],"clearText":[1,"clear-text"],"openRegion":[32],"isMobile":[32],"address":[32],"showMap":[32],"cardScroll":[32]},[[9,"resize","handleResize"],[8,"officeCardClicked","handleAddressClicked"]]]]],["p-a58698ca",[[1,"ptc-product-highlight-card",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"cardDescription":[1,"card-description"],"browserFirefox":[4,"browser-firefox"],"currentLanguage":[1,"current-language"]}]]],["p-f61a3476",[[1,"ptc-modal-quiz",{"totalQuestions":[2,"total-questions"],"modalId":[1,"modal-id"],"currentQuestion":[32],"currentSelectedPriority":[32],"selectedPriorityRadio":[32],"answers":[32],"traversal":[32],"focusIn":[64]}]]],["p-c01ea76f",[[1,"ptc-social-icons-footer",{"instagramUrl":[1,"instagram-url"],"facebookUrl":[1,"facebook-url"],"linkedinUrl":[1,"linkedin-url"],"xUrl":[1,"x-url"],"youtubeUrl":[1,"youtube-url"],"weiboUrl":[1,"weibo-url"],"youkuUrl":[1,"youku-url"],"wechatQrImageUrl":[1,"wechat-qr-image-url"],"wechatQrImageAltText":[1,"wechat-qr-image-alt-text"],"wechatImageUrl":[1,"wechat-image-url"],"wechatImageAlt":[1,"wechat-image-alt"],"instagramImageUrl":[1,"instagram-image-url"],"facebookImageUrl":[1,"facebook-image-url"],"linkedinImageUrl":[1,"linkedin-image-url"],"xImageUrl":[1,"x-image-url"],"youtubeImageUrl":[1,"youtube-image-url"],"weiboImageUrl":[1,"weibo-image-url"],"youkuImageUrl":[1,"youku-image-url"],"instagramImageAlt":[1,"instagram-image-alt"],"facebookImageAlt":[1,"facebook-image-alt"],"linkedinImageAlt":[1,"linkedin-image-alt"],"xImageAlt":[1,"x-image-alt"],"youtubeImageAlt":[1,"youtube-image-alt"],"weiboImageAlt":[1,"weibo-image-alt"],"youkuImageAlt":[1,"youku-image-alt"],"target":[1],"darkFocusState":[4,"dark-focus-state"]}]]],["p-38b782e8",[[1,"ptc-white-paper",{"items":[1],"topBackgroundImage":[1,"top-background-image"],"topBackgroundImageAlt":[1,"top-background-image-alt"],"itemsPerPage":[2,"items-per-page"],"currentPage":[32],"totalPages":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-c8f68292",[[6,"event-jumbotron-example",{"cards":[16],"modalBtnCloseText":[1,"modal-btn-close-text"],"activePanel":[32],"activeCard":[32],"isDragging":[32],"isMouseDown":[32],"isDesktop":[32],"openedWithKeyboard":[32]}]]],["p-a4f65d28",[[1,"footer-form",{"formData":[32]}]]],["p-593b8eff",[[1,"innovator-toggle-container",{"sectionTitle":[1,"section-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-b209c116",[[1,"ptc-announcement",{"barTitle":[1025,"bar-title"],"description":[1025],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[1537,"link-url"],"insideContainer":[4,"inside-container"],"target":[1025],"customMaxLines":[2,"custom-max-lines"],"moreText":[1,"more-text"],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-51a45b13",[[1,"ptc-bio-card",{"name":[1],"jobTitle":[1,"job-title"],"image":[1],"linkedin":[1],"twitter":[1],"isModal":[4,"is-modal"],"showModal":[32]}]]],["p-16e70f20",[[1,"ptc-collapse-list",{"showSearchBar":[4,"show-search-bar"],"header":[1],"trackerId":[1,"tracker-id"],"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"allowMultiSelect":[4,"allow-multi-select"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32],"removeSelectedItem":[64],"addSelectedItem":[64]}]]],["p-4ee98a3e",[[1,"ptc-homepage-video-background",{"videoSrc":[1,"video-src"],"posterSrc":[1,"poster-src"],"overlay":[4],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"playButtonTrackerId":[1,"play-button-tracker-id"],"buttonLocation":[1,"button-location"],"defer":[4],"links":[32]}]]],["p-7a3e9ecd",[[1,"ptc-office-location-card",{"region":[1],"country":[1],"address":[1],"isContactEmpty":[4,"is-contact-empty"],"officeName":[1,"office-name"],"showFullAddressModal":[4,"show-full-address-modal"],"showFullAddressText":[1,"show-full-address-text"]}]]],["p-15758793",[[1,"ptc-product-card",{"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"cardDescription":[1,"card-description"],"cardCtaText":[1,"card-cta-text"],"toggleCtaTitle":[1,"toggle-cta-title"],"isSlotEmpty":[4,"is-slot-empty"],"isOpen":[32]},[[0,"readmoreToggle","handleReadmoreToggle"]]]]],["p-4f93c631",[[1,"ptc-product-list",{"emptyTitle":[1,"empty-title"],"emptySubTitle":[1,"empty-sub-title"],"clearButtonLabel":[1,"clear-button-label"]},[[4,"selectedResult","handleSearchResult"],[4,"clearsearch","handleSearchResult"],[4,"selectedValues","handleMultipleSearchResult"],[4,"emptyResult","handleEmptyResult"]]]]],["p-38a56ed6",[[4,"ptc-tab-list",{"type":[1],"isMobile":[32],"isMobileTabWithBanner":[32],"selectedValue":[32],"dropdownItemsCount":[32],"toggleTabGroup":[64]},[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["p-e235bf27",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"],"contentAlignment":[1,"content-alignment"]}]]],["p-b436f56d",[[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028],"listType":[1,"list-type"],"dataRefineValue":[1,"data-refine-value"],"trackerId":[1,"tracker-id"],"tabIndexValue":[2,"tab-index-value"],"timeStamp":[32],"Refresh":[64]}]]],["p-00e21489",[[1,"ptc-previous-url",{"href":[1],"text":[1],"styles":[1]}]]],["p-b52301e2",[[1,"ptc-pricing-tabs",{"productTag":[1,"product-tag"],"header":[1],"tabLabel":[1,"tab-label"],"filterTag":[1,"filter-tag"],"styles":[1],"tabItems":[32],"isMobileViewPort":[32],"isDesktopViewPort":[32]},[[9,"resize","setIsMobileViewPort"]]]]],["p-73a853fc",[[1,"ptc-product-category",{"categoryDescription":[1,"category-description"]}]]],["p-3ee2a531",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"],"quoteImage":[1,"quote-image"]}]]],["p-8e8c7a3a",[[1,"ptc-related-card-rail",{"footerQuerySelector":[1,"footer-query-selector"],"railTitle":[1,"rail-title"],"closed":[32],"cardInView":[32],"data":[32],"screenBasedProps":[32]}]]],["p-9b26ea67",[[1,"ptc-square-card",{"number":[1],"arrowDirection":[1,"arrow-direction"]}]]],["p-c89030e4",[[1,"ptc-sticky-title",{"barTitle":[1,"bar-title"],"logo":[1],"isSticky":[32]},[[9,"scroll","handleScroll"]]]]],["p-03a917f8",[[6,"ptc-theater-video-modal",{"cards":[32],"showModal":[32],"currentCardIndex":[32],"filteredTagName":[32],"modalType":[32],"updateData":[64]}]]],["p-a37c5209",[[1,"ptc-value-led-card",{"cardImage":[1,"card-image"],"cardUpNext":[1,"card-up-next"]}]]],["p-fb8584e4",[[1,"ptc-value-prop-card",{"cardHref":[1,"card-href"],"target":[1],"rel":[1],"cardTitle":[1,"card-title"],"backgroundImage":[1,"background-image"]}]]],["p-eec2f3da",[[1,"homepage-toggled-content",{"activeTab":[32],"dropdownOpen":[32],"tileElements":[32]}]]],["p-8191928d",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"trackerId":[1,"tracker-id"],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]]],["p-dc85c302",[[1,"ptc-form-radio-button",{"name":[1],"isDisabled":[4,"is-disabled"],"isChecked":[4,"is-checked"],"checked":[32]}]]],["p-aea09a70",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["p-627103d8",[[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]}]]],["p-867a808f",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"],"notFoundPopupProceedButton":[8,"not-found-popup-proceed-button"]}]]],["p-77cad16c",[[1,"ptc-nav-submenu",{"label":[1],"iconAssetName":[1025,"icon-asset-name"],"iconSrc":[1,"icon-src"],"labelTrackerId":[1,"label-tracker-id"],"dropdownTrackerId":[1,"dropdown-tracker-id"],"backBtnTrackerId":[1,"back-btn-tracker-id"]}]]],["p-a791c53a",[[1,"ptc-podcast-card",{"heading":[1],"imageSrc":[1,"image-src"],"altText":[1,"alt-text"]}]]],["p-89177041",[[1,"ptc-quantity-counter",{"addToCartLabel":[1,"add-to-cart-label"],"addedLabel":[1,"added-label"],"disabled":[4],"count":[32]}]]],["p-01075feb",[[1,"ptc-scroll-button",{"direction":[1],"scrollContainerClass":[1,"scroll-container-class"],"scrollAmount":[2,"scroll-amount"],"orientation":[1],"trackerId":[1,"tracker-id"],"styles":[1],"isDragging":[1028,"is-dragging"],"isVisible":[32],"isMouseDown":[32],"initVisibility":[64]}]]],["p-d2cc0297",[[1,"ptc-search-field",{"textValue":[1,"text-value"],"placeholderLabel":[1,"placeholder-label"],"darkTheme":[4,"dark-theme"],"isNews":[4,"is-news"],"elevation":[1],"enableClear":[4,"enable-clear"],"styles":[1],"clearSearchValue":[64]}]]],["p-f731fc96",[[1,"ptc-slit-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"heading":[1],"content":[1],"styles":[1],"cardImage":[1,"card-image"]}]]],["p-a0bf3dd2",[[1,"ptc-subnav-card",{"cardTitle":[1,"card-title"],"cardHref":[1,"card-href"],"cardImageSrc":[1,"card-image-src"],"cardImageAlt":[1,"card-image-alt"],"ctaText":[1,"cta-text"],"ctaIconAssetName":[1,"cta-icon-asset-name"],"target":[1]}]]],["p-72825cf6",[[1,"ptc-value-led-layout",{"topBackgroundImage":[1,"top-background-image"],"selectedValue":[1032,"selected-value"],"isMobile":[32]},[[9,"scroll","handleScroll"],[9,"wheel","handleWheel"],[8,"keydown","handleKeyDown"],[9,"mousedown","handleMouseDown"],[9,"mouseup","handleMouseUp"],[9,"touchstart","handleTouchStart"],[9,"touchmove","handleTouchMove"],[9,"touchend","handleTouchEnd"],[9,"resize","handleResize"]]]]],["p-acdd9a1d",[[1,"ptc-value-led-speed-bump",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"isMobile":[1028,"is-mobile"]},[[9,"resize","handleResize"]]]]],["p-3872fce7",[[1,"dynamic-box-bundle",{"topImgSrc":[1,"top-img-src"],"topImgAlt":[1,"top-img-alt"],"boxHeight":[2,"box-height"],"isHovering":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseout","handleMouseOut"]]]]],["p-8521fdd4",[[4,"event-podcast-slider-example"]]],["p-6e8ed2ee",[[4,"featured-events-slider-example"]]],["p-5db7f70b",[[1,"jumbotron-sub-menu",{"isOpen":[32],"activeItem":[32]}]]],["p-3c3a7b54",[[1,"jumbotron-sub-mune",{"items":[1],"isOpen":[32],"activeItem":[32]}]]],["p-e577ad62",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-5946d7c9",[[1,"ptc-accordion",{"multiple":[4],"theme":[1],"isParent":[4,"is-parent"],"expandText":[1,"expand-text"],"collapseText":[1,"collapse-text"],"trackerId":[1,"tracker-id"]},[[0,"opened","openHandler"]]]]],["p-49e54079",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"theme":[1537],"trackerId":[1,"tracker-id"],"styles":[1],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["p-4b192f5e",[[1,"ptc-back-to-top",{"backToTop":[1,"back-to-top"],"showButton":[32]},[[0,"click","handleClick"]]]]],["p-27e47c25",[[2,"ptc-brightcov-video",{"videoId":[1,"video-id"]}]]],["p-9f194554",[[1,"ptc-case-studies-slider",{"tabs":[32],"tabPanels":[32],"activeTabIndex":[32],"firstTab":[32],"lastTab":[32]}]]],["p-9e2fd13c",[[6,"ptc-checkbox-group",{"groupName":[1,"group-name"],"type":[1]}]]],["p-9a335b5b",[[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1],"styles":[1]}]]],["p-bab5bb88",[[1,"ptc-countdown",{"countdownTitle":[1,"countdown-title"],"eventTime":[1,"event-time"],"eventTimeZone":[1,"event-time-zone"],"expiredText":[1,"expired-text"],"daysText":[1,"days-text"],"hoursText":[1,"hours-text"],"minutesText":[1,"minutes-text"],"secondsText":[1,"seconds-text"],"useHourFormat":[4,"use-hour-format"],"timeLeft":[32],"isExpired":[32],"displayLocale":[32]}]]],["p-5dae4f30",[[4,"ptc-data-lookup",{"elqSiteId":[1,"elq-site-id"],"elqVisitorLookupKey":[1,"elq-visitor-lookup-key"],"elqRecipientIdLookupKey":[1,"elq-recipient-id-lookup-key"],"elqContactLookupKey":[1,"elq-contact-lookup-key"],"elqSubscriptionLookupKey":[1,"elq-subscription-lookup-key"],"elqFieldEmailRecId":[1,"elq-field-email-rec-id"],"elqFieldContactEmail":[1,"elq-field-contact-email"],"elqFieldVisitorEmail":[1,"elq-field-visitor-email"],"elqFieldVisitorFirstname":[1,"elq-field-visitor-firstname"],"elqFieldVisitorLastname":[1,"elq-field-visitor-lastname"],"notmeLinkId":[1,"notme-link-id"],"notmeFieldsClass":[1,"notme-fields-class"],"notmeMessage":[1,"notme-message"],"notmeMessageNoname":[1,"notme-message-noname"],"isBlindSubmit":[4,"is-blind-submit"],"isInitialized":[32],"performDataLookup":[64],"performSubscriptionLookup":[64]}]]],["p-95187918",[[4,"ptc-footer",{"backgroundImage":[1,"background-image"],"isTabMob":[32]},[[9,"resize","handleWindowResize"]]]]],["p-c5f42895",[[1,"ptc-form-radio-group",{"name":[1],"checkedStates":[32],"eventListener":[32]}]]],["p-c68d31c6",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-28be539b",[[1,"ptc-homepage-image-feature"]]],["p-fd394e84",[[1,"ptc-icon-card",{"cardHref":[1,"card-href"],"target":[1],"trackerId":[1,"tracker-id"],"darkFocusState":[4,"dark-focus-state"]}]]],["p-d66debb3",[[4,"ptc-icon-card-slider-example"]]],["p-a412ff0a",[[1,"ptc-icon-component",{"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-bf3bc577",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["p-58e91cb8",[[1,"ptc-info-tile",{"link":[1],"variant":[1],"styles":[1],"trackerId":[1,"tracker-id"],"accessibilityIndex":[2,"accessibility-index"]}]]],["p-04ff81ef",[[1,"ptc-minimized-nav",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"navType":[1,"nav-type"],"trackerId":[1,"tracker-id"]}]]],["p-da02913d",[[1,"ptc-nav-card",{"cardType":[1025,"card-type"],"cardHref":[1025,"card-href"],"logoAlt":[1025,"logo-alt"],"target":[1025],"rel":[1025],"linkTitle":[1025,"link-title"],"cardLogo":[1025,"card-logo"],"heading":[1025],"description":[1025],"trackerId":[1,"tracker-id"],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-9df7489b",[[1,"ptc-nav-link",{"href":[1025],"isOutsideLink":[1028,"is-outside-link"],"titleText":[1025,"title-text"],"trackerId":[1,"tracker-id"]},[[2,"click","handleClick"]]]]],["p-8533988f",[[1,"ptc-nav-pills"]]],["p-97b9f41b",[[1,"ptc-nav-skip-to-content",{"buttonText":[1,"button-text"],"sectionId":[1,"section-id"]}]]],["p-15e36f30",[[1,"ptc-nav-slider",{"sliderId":[1,"slider-id"],"leftBtnTrackerId":[1,"left-btn-tracker-id"],"rightBtnTrackerId":[1,"right-btn-tracker-id"]},[[0,"dropdownClickEvent","handledropdownClickEvent"]]]]],["p-257a68df",[[0,"ptc-nav-tile",{"navLinks":[16]}]]],["p-081e969d",[[1,"ptc-preferance-center-form"]]],["p-f9256e3d",[[1,"ptc-readmore-char",{"maxCharacters":[2,"max-characters"],"description":[1],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"trackerId":[1,"tracker-id"],"expanded":[32]}]]],["p-6b32020a",[[1,"ptc-readmore-new",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-2b32297b",[[1,"ptc-readmore-v3",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"contentStyles":[1,"content-styles"],"trackerId":[1,"tracker-id"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-fdee2cdc",[[1,"ptc-responsive-wrapper"]]],["p-04f0b1ba",[[2,"ptc-seo-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"]}]]],["p-a7cb3851",[[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1],"cartText":[1,"cart-text"]}]]],["p-7a1db471",[[1,"ptc-showcase-card",{"headingIconUrl":[1,"heading-icon-url"],"headingIconAltText":[1,"heading-icon-alt-text"]}]]],["p-89ba3dfd",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"fontWeight":[1,"font-weight"],"styles":[1]}]]],["p-0e5932f0",[[1,"ptc-sticky-icons",null,[[9,"resize","handleResize"]]]]],["p-f5c97ab2",[[1,"ptc-sticky-section",{"hasPreloader":[4,"has-preloader"]},[[9,"scroll","handleScroll"],[9,"resize","handleResize"]]]]],["p-a54c6da5",[[1,"ptc-subnav",{"mobileTitle":[1,"mobile-title"],"navOpen":[32]},[[9,"scroll","handleScroll"],[0,"navLinkClicked","handleNavLinkClickedEvent"]]]]],["p-c631608f",[[1,"ptc-tab",{"optionClicked":[1540,"option-clicked"],"label":[1],"price":[1],"active":[4],"disabled":[516]}]]],["p-97eb1025",[[1,"ptc-tabs",{"tabs":[32],"openTab":[64]}]]],["p-fe907670",[[1,"ptc-text-copy-with-background",{"type":[1],"backgroundImage":[1,"background-image"],"ImageAltText":[1,"image-alt-text"],"topSlitBackgroundColor":[1,"top-slit-background-color"],"slitPosition":[1,"slit-position"],"isBackgroundBlur":[4,"is-background-blur"],"overlay":[4],"disableLightLinks":[4,"disable-light-links"],"styles":[1]}]]],["p-61d28206",[[4,"ptc-tooltip-v3",{"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"htmlTagType":[1,"html-tag-type"],"zIndex":[1,"z-index"],"position":[1],"theme":[1],"width":[1],"styles":[1],"hideOnMobile":[4,"hide-on-mobile"],"showTooltip":[32],"truncatedContent":[32],"maxCharEnable":[32],"maxLinesEnable":[32],"isSmallScreen":[32],"hideIfMobile":[32],"maxLinesShowCheck":[32]},[[9,"resize","windowResize"],[9,"resize","checkMaxLines"]]]]],["p-9ac99185",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["p-e3bf092e",[[1,"ptc-value-led-content",{"contentTag":[1,"content-tag"]}]]],["p-21fa5abe",[[6,"ptc-value-led-content-highlight"]]],["p-85f32bf5",[[1,"ptc-value-led-intro",{"contentTag":[1,"content-tag"]}]]],["p-76d98c5a",[[1,"ptc-video-embed",{"src":[1],"width":[2],"type":[1],"videoLoaded":[32]}]]],["p-2c2f895a",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["p-8038bf31",[[4,"tab-header",{"name":[1],"tooltip":[1],"tabHeaderText":[1,"tab-header-text"],"isSelected":[32],"maxLength":[32],"getChild":[64]},[[9,"resize","handleWindowResize"]]]]],["p-bfacfe67",[[1,"ptc-pricing-add-on-card",{"cardTitle":[1,"card-title"],"cardPricingText":[1,"card-pricing-text"],"cardCtaHref":[1,"card-cta-href"],"cardCtaText":[1,"card-cta-text"],"cardCtaTarget":[1,"card-cta-target"],"cardDisclaimer":[1,"card-disclaimer"],"sectionId":[1,"section-id"]}]]],["p-0a214a22",[[1,"ptc-image-download-strip",{"downloadUrl":[1,"download-url"],"trackerId":[1,"tracker-id"]}]]],["p-bf8fbba7",[[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"]]]]],["p-b8ee8699",[[2,"ptc-breadcrumb",{"position":[1],"removeTopMargin":[4,"remove-top-margin"],"color":[1],"isDarkMode":[4,"is-dark-mode"],"styles":[1]}]]],["p-464d8e22",[[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"disabled":[1028],"inputName":[1,"input-name"],"trackerId":[1,"tracker-id"],"offsetFocusOutline":[4,"offset-focus-outline"]}]]],["p-7cc9255e",[[1,"homepage-clickable-tab",{"active":[4],"label":[1],"activeColor":[1,"active-color"],"styles":[1],"trackerId":[1,"tracker-id"],"isHovered":[32]}]]],["p-5980d65d",[[1,"ptc-badge",{"number":[2],"svgCode":[1,"svg-code"],"type":[1]}]]],["p-0a9ee6c2",[[1,"ptc-pricing-block",{"active":[4],"optionClicked":[1540,"option-clicked"],"trackerId":[1,"tracker-id"]}]]],["p-99ee8a0e",[[1,"ptc-product-dropdown",{"newOptions":[16],"selectedOptions":[16],"placeholder":[1],"internalOptions":[32],"isOpen":[32]},[[4,"clearsearch","handleSearchResult"],[4,"inputChanged","handleinputChanged"]]]]],["p-c6a0dd99",[[1,"ptc-progress-bar",{"scrollPercentage":[32]},[[9,"scroll","handleScroll"]]]]],["p-9b0df204",[[1,"ptc-skeleton",{"isLoading":[4,"is-loading"],"animated":[4],"width":[1],"borderRadius":[1,"border-radius"],"topMargin":[1,"top-margin"],"btmMargin":[1,"btm-margin"]}]]],["p-8c49d736",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1],"zIndex":[1,"z-index"],"styles":[2]}]]],["p-ad821a01",[[1,"ptc-tooltip-v2",{"elementDisplay":[1,"element-display"],"maxLength":[2,"max-length"],"maxLines":[2,"max-lines"],"zIndex":[2,"z-index"],"width":[1],"position":[1],"hideOnMobile":[4,"hide-on-mobile"],"styles":[1],"fullText":[32],"displayText":[32],"showTip":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-752bba1c",[[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"],"hasCountdown":[4,"has-countdown"],"logo":[1],"styles":[1],"defer":[4],"hasCtaSlot":[1028,"has-cta-slot"],"contentBackground":[32],"contentColor":[32],"textAlign":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-f867ebe6",[[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],"focusCardWrapper":[64]},[[4,"cardOpened","handleCardOpened"]]]]],["p-3ddb6c50",[[1,"ptc-filter-tag",{"theme":[1],"styles":[1],"trackerID":[1,"tracker-i-d"],"iconColorMap":[32]}],[1,"ptc-pagenation",{"totalCount":[2,"total-count"],"numberOfItems":[2,"number-of-items"],"previousValue":[1,"previous-value"],"lastValue":[1,"last-value"],"minPageNumber":[2,"min-page-number"],"maxPageNumber":[2,"max-page-number"],"clickedPageNumber":[2,"clicked-page-number"],"appendArray":[4,"append-array"],"prevArrowImg":[1,"prev-arrow-img"],"nextArrowImg":[1,"next-arrow-img"],"theme":[1],"styles":[1],"pageNumbers":[32],"isSmallScreen":[32]},[[9,"resize","windowResize"]]]]],["p-931650bb",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["p-b651c1cb",[[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"]}]]],["p-4cee12b8",[[1,"ptc-social-icons",{"facebookUrl":[1,"facebook-url"],"linkedinUrl":[1,"linkedin-url"],"xUrl":[1,"x-url"],"emailTo":[1,"email-to"],"trackerId":[1,"tracker-id"],"target":[1]}]]],["p-92d22c78",[[1,"ptc-button",{"disabled":[516],"active":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1],"textAlign":[1,"text-align"],"enableAccessibilityAltStyle":[4,"enable-accessibility-alt-style"],"size":[1],"buttonTitle":[1,"button-title"],"ariaLabel":[1,"aria-label"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"maintainContent":[4,"maintain-content"],"trackerId":[1,"tracker-id"],"darkFocusState":[4,"dark-focus-state"]}]]],["p-99355e65",[[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"isMobileSelect":[4,"is-mobile-select"],"injectedStyle":[1,"injected-style"],"focusOn":[4,"focus-on"],"trackerId":[1,"tracker-id"]}]]],["p-bf18b622",[[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"tooltipZIndex":[1,"tooltip-z-index"],"tooltipPosition":[1,"tooltip-position"],"tooltipTheme":[1,"tooltip-theme"],"enableTooltip":[4,"enable-tooltip"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"hideTooltipOnMobile":[4,"hide-tooltip-on-mobile"],"tooltipWidth":[1,"tooltip-width"],"ismob":[32]}]]],["p-282b7d4e",[[1,"ptc-social-share",{"trackerId":[1,"tracker-id"],"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"iconColor":[1,"icon-color"],"iconHoverColor":[1,"icon-hover-color"],"iconSize":[1,"icon-size"],"darkFocusState":[4,"dark-focus-state"],"isHover":[32]}],[1,"ptc-filter-dropdown",{"placeholder":[1],"selectedTag":[1,"selected-tag"],"styles":[1],"internalOptions":[32],"selectedOptions":[32],"isOpen":[32],"clearFilterSelection":[64],"setSelectedItem":[64]}],[6,"ptc-theater-video",{"cardTitle":[1,"card-title"],"cardDescription":[1,"card-description"],"thumbImg":[1,"thumb-img"],"cardNumber":[2,"card-number"],"videoId":[2,"video-id"],"vtagName":[1,"vtag-name"],"modalType":[1,"modal-type"]}],[1,"ptc-theater-video-playlist",{"cardElements":[8,"card-elements"],"currentCardIndex":[32],"filteredTagName":[32]},[[4,"filterCliked","handleFilterClick"],[4,"vCardClicked","handleVCardClickedEvent"]]]]],["p-feecf6b5",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1],"addClassOnDefaultSlot":[64],"removeClassOnDefaultSlot":[64]}],[1,"ptc-card-wrapper",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"],"isLoading":[4,"is-loading"],"trackerId":[1,"tracker-id"],"disabled":[4],"hideLinkTitle":[4,"hide-link-title"],"styles":[1],"darkFocusState":[4,"dark-focus-state"]},[[9,"resize","handleResize"]]]]],["p-7793babb",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"],"hasBeforeHomeIcon":[4,"has-before-home-icon"],"trackerId":[1,"tracker-id"],"color":[1],"styles":[1],"ariaLabel":[1,"aria-label"]}]]],["p-d3ac3758",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"],"formatOptions":[1,"format-options"]}]]],["p-75988f52",[[1,"ptc-preloader-section",{"sectionType":[1,"section-type"],"numberOfCards":[2,"number-of-cards"],"autoShow":[4,"auto-show"],"isLoading":[32],"dependencies":[32],"showPreload":[64],"registerDependency":[64]}],[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"country":[1],"styles":[1],"ribbonText":[1,"ribbon-text"],"eventType":[1,"event-type"],"cardLogo":[1,"card-logo"],"titleLineCutOff":[2,"title-line-cut-off"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"cardOverflow":[1,"card-overflow"],"isCreoCard":[4,"is-creo-card"],"trackerId":[1,"tracker-id"],"isTabHidden":[1540,"is-tab-hidden"],"language":[1],"hasAncestorWithClass":[64]}]]],["p-2cb2de0f",[[0,"ptc-multi-select",{"items":[1040],"label":[1],"selectAllText":[1,"select-all-text"],"clearAllText":[1,"clear-all-text"],"isRequired":[4,"is-required"],"helpertext":[1],"placeholderText":[1,"placeholder-text"],"showDropdown":[32],"language":[32],"isValid":[32],"selectedItemsCount":[32],"hasInteracted":[32],"tooltipText":[32],"tooltipVisible":[32],"tooltipPosition":[32],"focusedItemIndex":[32],"focusToggleButton":[64]},[[4,"click","handleDocumentClick"]]],[4,"ptc-select",{"fieldId":[1,"field-id"],"label":[1],"isRequired":[4,"is-required"],"helpertext":[1025],"fieldName":[1,"field-name"],"disabled":[4],"selectedValue":[1025,"selected-value"],"defaultValue":[1025,"default-value"],"infoText":[1,"info-text"],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ptcDataTargetEloquaName":[1,"ptc-data-target-eloqua-name"],"language":[32]}]]],["p-7fe4d383",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"outlineColor":[1,"outline-color"],"styles":[1],"isLoading":[4,"is-loading"],"setHeight":[64],"removeInlineHeight":[64]}]]],["p-e90fbbad",[[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1],"setOverlay":[64]}]]],["p-cbee4653",[[1,"ptc-background-video",{"videoSrc":[1,"video-src"],"posterSrc":[1,"poster-src"],"overlay":[4],"overlayType":[1,"overlay-type"],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"buttonLocation":[1,"button-location"],"buttonTabIndex":[2,"button-tab-index"],"trackerId":[1,"tracker-id"],"defer":[4],"type":[1],"isIframe":[4,"is-iframe"],"paused":[32],"loadedTrue":[32],"pauseVideo":[64],"playVideo":[64]}]]],["p-04aae3f5",[[1,"fl-tab-content",{"nameKey":[1,"name-key"],"selected":[4],"onbeforematch":[16]}],[6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"valueKey":[2,"value-key"],"selected":[4],"trackerId":[1,"tracker-id"],"initialHeader":[32]}],[1,"fl-tab-image",{"nameKey":[1,"name-key"],"selected":[4]}]]],["p-7d29a418",[[1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1],"isContentSlotted":[1028,"is-content-slotted"],"updateReadmoreStatus":[64]},[[9,"resize","updateReadmoreStatus"]]]]],["p-dd02e4d6",[[0,"ptc-form-checkbox",{"checkboxId":[1,"checkbox-id"],"label":[1],"isRequired":[4,"is-required"],"isChecked":[1028,"is-checked"],"name":[1],"helpertext":[1025],"hideCheckbox":[4,"hide-checkbox"],"disabled":[4],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ignoreBlindSubmit":[4,"ignore-blind-submit"],"hasError":[32],"language":[32],"validateCheckbox":[64]}],[0,"ptc-textfield",{"fieldId":[1,"field-id"],"type":[1],"required":[4],"ptcMaxLength":[2,"ptc-max-length"],"labelText":[1025,"label-text"],"helpertext":[1025],"infoText":[1025,"info-text"],"alertText":[1025,"alert-text"],"alertTextContent":[1,"alert-text-content"],"disabled":[4],"fieldName":[1,"field-name"],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ptcDataTargetEloquaName":[1,"ptc-data-target-eloqua-name"],"inputValue":[1025,"input-value"],"customValidation":[16],"ignoreBlindSubmit":[4,"ignore-blind-submit"],"placeholderText":[1,"placeholder-text"],"styles":[1],"textfieldForm":[1,"textfield-form"],"language":[32],"syncCountry":[64],"validateTextField":[64]},[[2,"input","handleInput"],[2,"focus","handleFocus"],[2,"blur","inputBlurHandler"]]]]],["p-260ecfef",[[1,"max-width-container",{"maxWidthP":[2,"max-width-p"],"maxWidth":[2,"max-width"],"breakpoint":[2],"contentAlign":[1,"content-align"],"styles":[1]}]]],["p-99daf693",[[6,"ptc-tooltip",{"textDisplay":[1,"text-display"],"maxLength":[2,"max-length"],"textLines":[2,"text-lines"],"description":[1],"zIndex":[1,"z-index"],"position":[1],"styles":[1],"mode":[1],"theme":[1],"width":[1],"hideOnMobile":[4,"hide-on-mobile"],"isSmallScreen":[1028,"is-small-screen"],"noOverflow":[4,"no-overflow"]},[[9,"resize","addTruncatedClass"],[9,"resize","windowResize"]]]]],["p-25a25451",[[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"]]]]],["p-ab3d2934",[[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"customClass":[1025,"custom-class"],"show":[1028],"overlay":[1028],"fixed":[1028],"keepInViewport":[1028,"keep-in-viewport"],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"hideContainer":[1028,"hide-container"],"showHeaderFooter":[1028,"show-header-footer"],"borderRadius":[1025,"border-radius"],"isBioModal":[1028,"is-bio-modal"],"styles":[1],"modalType":[1,"modal-type"],"vhCenter":[4,"vh-center"],"headerOnlyBg":[1,"header-only-bg"],"headerOnlyText1":[1,"header-only-text-1"],"headerOnlyText2":[1,"header-only-text-2"],"bottomCloseBtn":[1,"bottom-close-btn"],"overlayHeight":[32],"openedByKeyboard":[32],"bodyOverflowSetting":[32],"showModal":[64],"hideModal":[64],"toggleModal":[64],"reloadIframe":[64]}],[1,"ptc-close-icon"]]],["p-3738a01f",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"disableResize":[1028,"disable-resize"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"displayImage":[1,"display-image"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["p-0c69ea52",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["p-7fb155da",[[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"],"paraAlign":[1,"para-align"],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"paraZIndex":[1,"para-z-index"],"styles":[1],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"tooltipZIndex":[1,"tooltip-z-index"],"tooltipPosition":[1,"tooltip-position"],"tooltipTheme":[1,"tooltip-theme"],"enableTooltip":[4,"enable-tooltip"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"hideTooltipOnMobile":[4,"hide-tooltip-on-mobile"],"noOverflow":[4,"no-overflow"],"tooltipWidth":[1,"tooltip-width"],"ismob":[32]}]]],["p-6a3caf2b",[[1,"blog-detail-content",{"scrollIntoViewOffset":[2,"scroll-into-view-offset"],"preloaderDependency":[32],"tableOfContents":[32],"currentActiveItems":[32],"contentInViewport":[32],"mobileTocDropdownState":[32],"stocTriggeredScroll":[32],"desktopTocScrollMin":[32]}],[1,"ptc-readmore-v2",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"truncated":[32],"expanded":[32],"fullText":[32],"displayText":[32]},[[0,"slotchange","slotChangeHandler"]]]]]]'),e)));
1
+ import{p as e,b as t}from"./p-ac75c7ad.js";export{s as setNonce}from"./p-ac75c7ad.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-d3229458",[[1,"blogs-search-section",{"noResultH3":[1,"no-result-h-3"],"noResultP":[1,"no-result-p"],"noResultButton":[1,"no-result-button"],"preloaderDependency":[32],"isLoading":[32],"data":[32],"search":[32],"filters":[32],"runSearch":[64]}]]],["p-9de963f8",[[1,"bundle-jumbotron-example",{"jumbotron":[1],"isIframe":[4,"is-iframe"]}]]],["p-4d8f6f46",[[2,"ptc-filter-level-theater",{"enableFilters":[4,"enable-filters"],"backButtonText":[1,"back-button-text"],"selectedTab":[32],"lastSelectedTab":[32],"lastSelectedTabGroup":[32],"selectedTabGroup":[32]}]]],["p-18ac526f",[[1,"ptc-featured-list",{"isMobile":[32],"selectedTab":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]]],["p-8c692bd6",[[0,"embedded-form",{"formData":[32],"isSubmitted":[32]}]]],["p-d089dc37",[[1,"featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]]],["p-821f0ff9",[[6,"homepage-jumbotron",{"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"jumbotron":[1],"isIframe":[4,"is-iframe"],"playBtnText":[1,"play-btn-text"],"pauseBtnText":[1,"pause-btn-text"],"activeTab":[32],"activeBgVideoSrc":[32],"activeMainTitle":[32],"activeSubTitle":[32],"activeButton":[32],"tileElements":[32],"isTransitioning":[32],"mediaTag":[32]},[[9,"resize","handleWindowResize"],[0,"itemSelected","onItemSelected"]]]]],["p-aac082cf",[[1,"news-search-result",{"isLoading":[32],"picWidth":[32],"picHeight":[32],"cardHeights":[32],"maxCardHeight":[32]}]]],["p-99b45d23",[[0,"ptc-form",{"formData":[32]}]]],["p-6f5fecae",[[1,"ptc-pricing-packaging-table",{"pageWithSubnav":[4,"page-with-subnav"],"tableTitle":[1,"table-title"],"tableSubTitle":[1,"table-sub-title"],"dataRows":[2,"data-rows"],"dataCols":[2,"data-cols"],"disclaimerCount":[2,"disclaimer-count"],"moreText":[1,"more-text"],"LessText":[1,"less-text"],"sectionId":[1,"section-id"],"isDesktopView":[32],"hashKey":[32],"debouncedHashEnable":[32],"cellWidthXXS":[32],"cellWidthMD":[32],"cellLeftRightPadding":[32],"headerType":[32],"lastScrollTop":[32],"scrollTimeInterval":[32],"scrollAmount":[32],"scrollLimit":[32],"stickyTopAt":[32],"columnHeaderLinks":[32],"hasEmptySpace":[32],"showFillerCells":[32],"showCtaButtonsRow":[32],"ctaButtons":[32],"disclaimers":[32],"tableDescription":[32]}]]],["p-ffb0ff97",[[0,"academic-form-test",{"formData":[32]}]]],["p-46f67bec",[[1,"author-listing-example",{"defaultAuthorImage":[1,"default-author-image"],"isLoading":[32],"loadedCardCount":[32],"cardsPerLoad":[32],"cardData":[32]},[[9,"scroll","handleScroll"]]]]],["p-17f6e145",[[4,"blog-detail-layout",{"preloaderDependency":[32]}]]],["p-48c33817",[[1,"most-popular-news",{"topTitle":[1,"top-title"]}]]],["p-fd7e5935",[[4,"ptc-pricing-add-on-section",{"cardCount":[2,"card-count"],"sectionTitle":[1,"section-title"],"sectionId":[1,"section-id"],"cardData":[32]}]]],["p-dc8c0a06",[[1,"sequential-bundle",{"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-d20cf3c5",[[1,"sequential-bundle-example",{"isInteralCardsExpanded":[1040],"isMobile":[32],"expandedCardIndex":[32]},[[9,"resize","handleResize"],[4,"cardOpened","handleCardOpened"]]]]],["p-ee534211",[[1,"bundle-example",{"isLoading":[32],"picWidth":[32],"picHeight":[32],"cardHeights":[32],"maxCardHeight":[32]},[[9,"resize","handleWindowResize"],[16,"squareHeightChanged","squareHeightChangedHandler"]]]]],["p-9d3a7f36",[[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]}]]],["p-d74ccb19",[[1,"ptc-news",{"newsTag":[1,"news-tag"],"newsImage":[1,"news-image"],"newsImageAlt":[1,"news-image-alt"],"newsDownloadUrl":[1,"news-download-url"]}]]],["p-b50f71dd",[[1,"ptc-product-sidebar",{"filterResults":[1,"filter-results"],"filterText":[1,"filter-text"],"clearText":[1,"clear-text"],"technologyText":[1,"technology-text"],"jumpToProduct":[1,"jump-to-product"],"selectTechnology":[1,"select-technology"],"suggestionList":[16],"searchTerm":[32],"suggestions":[32]},[[4,"dropdownTouched","handleDropdownTouched"],[0,"click","handleClick"],[4,"clearCtaClicked","handleclearCtaClicked"],[4,"selectedValues","handleSelectedValues"]]]]],["p-71360e29",[[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]}]]],["p-e5369c4d",[[1,"ptc-office-locations",{"regionListManual":[1,"region-list-manual"],"showMapText":[1,"show-map-text"],"hideMapText":[1,"hide-map-text"],"filtersText":[1,"filters-text"],"allRegionsText":[1,"all-regions-text"],"applyText":[1,"apply-text"],"clearText":[1,"clear-text"],"openRegion":[32],"isMobile":[32],"address":[32],"showMap":[32],"cardScroll":[32]},[[9,"resize","handleResize"],[8,"officeCardClicked","handleAddressClicked"]]]]],["p-a58698ca",[[1,"ptc-product-highlight-card",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"cardDescription":[1,"card-description"],"browserFirefox":[4,"browser-firefox"],"currentLanguage":[1,"current-language"]}]]],["p-f61a3476",[[1,"ptc-modal-quiz",{"totalQuestions":[2,"total-questions"],"modalId":[1,"modal-id"],"currentQuestion":[32],"currentSelectedPriority":[32],"selectedPriorityRadio":[32],"answers":[32],"traversal":[32],"focusIn":[64]}]]],["p-c01ea76f",[[1,"ptc-social-icons-footer",{"instagramUrl":[1,"instagram-url"],"facebookUrl":[1,"facebook-url"],"linkedinUrl":[1,"linkedin-url"],"xUrl":[1,"x-url"],"youtubeUrl":[1,"youtube-url"],"weiboUrl":[1,"weibo-url"],"youkuUrl":[1,"youku-url"],"wechatQrImageUrl":[1,"wechat-qr-image-url"],"wechatQrImageAltText":[1,"wechat-qr-image-alt-text"],"wechatImageUrl":[1,"wechat-image-url"],"wechatImageAlt":[1,"wechat-image-alt"],"instagramImageUrl":[1,"instagram-image-url"],"facebookImageUrl":[1,"facebook-image-url"],"linkedinImageUrl":[1,"linkedin-image-url"],"xImageUrl":[1,"x-image-url"],"youtubeImageUrl":[1,"youtube-image-url"],"weiboImageUrl":[1,"weibo-image-url"],"youkuImageUrl":[1,"youku-image-url"],"instagramImageAlt":[1,"instagram-image-alt"],"facebookImageAlt":[1,"facebook-image-alt"],"linkedinImageAlt":[1,"linkedin-image-alt"],"xImageAlt":[1,"x-image-alt"],"youtubeImageAlt":[1,"youtube-image-alt"],"weiboImageAlt":[1,"weibo-image-alt"],"youkuImageAlt":[1,"youku-image-alt"],"target":[1],"darkFocusState":[4,"dark-focus-state"]}]]],["p-38b782e8",[[1,"ptc-white-paper",{"items":[1],"topBackgroundImage":[1,"top-background-image"],"topBackgroundImageAlt":[1,"top-background-image-alt"],"itemsPerPage":[2,"items-per-page"],"currentPage":[32],"totalPages":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-c8f68292",[[6,"event-jumbotron-example",{"cards":[16],"modalBtnCloseText":[1,"modal-btn-close-text"],"activePanel":[32],"activeCard":[32],"isDragging":[32],"isMouseDown":[32],"isDesktop":[32],"openedWithKeyboard":[32]}]]],["p-a4f65d28",[[1,"footer-form",{"formData":[32]}]]],["p-593b8eff",[[1,"innovator-toggle-container",{"sectionTitle":[1,"section-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-b209c116",[[1,"ptc-announcement",{"barTitle":[1025,"bar-title"],"description":[1025],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[1537,"link-url"],"insideContainer":[4,"inside-container"],"target":[1025],"customMaxLines":[2,"custom-max-lines"],"moreText":[1,"more-text"],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-51a45b13",[[1,"ptc-bio-card",{"name":[1],"jobTitle":[1,"job-title"],"image":[1],"linkedin":[1],"twitter":[1],"isModal":[4,"is-modal"],"showModal":[32]}]]],["p-16e70f20",[[1,"ptc-collapse-list",{"showSearchBar":[4,"show-search-bar"],"header":[1],"trackerId":[1,"tracker-id"],"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"allowMultiSelect":[4,"allow-multi-select"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32],"removeSelectedItem":[64],"addSelectedItem":[64]}]]],["p-4ee98a3e",[[1,"ptc-homepage-video-background",{"videoSrc":[1,"video-src"],"posterSrc":[1,"poster-src"],"overlay":[4],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"playButtonTrackerId":[1,"play-button-tracker-id"],"buttonLocation":[1,"button-location"],"defer":[4],"links":[32]}]]],["p-7a3e9ecd",[[1,"ptc-office-location-card",{"region":[1],"country":[1],"address":[1],"isContactEmpty":[4,"is-contact-empty"],"officeName":[1,"office-name"],"showFullAddressModal":[4,"show-full-address-modal"],"showFullAddressText":[1,"show-full-address-text"]}]]],["p-15758793",[[1,"ptc-product-card",{"cardImage":[1,"card-image"],"cardImageAltText":[1,"card-image-alt-text"],"cardDescription":[1,"card-description"],"cardCtaText":[1,"card-cta-text"],"toggleCtaTitle":[1,"toggle-cta-title"],"isSlotEmpty":[4,"is-slot-empty"],"isOpen":[32]},[[0,"readmoreToggle","handleReadmoreToggle"]]]]],["p-4f93c631",[[1,"ptc-product-list",{"emptyTitle":[1,"empty-title"],"emptySubTitle":[1,"empty-sub-title"],"clearButtonLabel":[1,"clear-button-label"]},[[4,"selectedResult","handleSearchResult"],[4,"clearsearch","handleSearchResult"],[4,"selectedValues","handleMultipleSearchResult"],[4,"emptyResult","handleEmptyResult"]]]]],["p-38a56ed6",[[4,"ptc-tab-list",{"type":[1],"isMobile":[32],"isMobileTabWithBanner":[32],"selectedValue":[32],"dropdownItemsCount":[32],"toggleTabGroup":[64]},[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["p-e235bf27",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"],"contentAlignment":[1,"content-alignment"]}]]],["p-b436f56d",[[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028],"listType":[1,"list-type"],"dataRefineValue":[1,"data-refine-value"],"trackerId":[1,"tracker-id"],"tabIndexValue":[2,"tab-index-value"],"timeStamp":[32],"Refresh":[64]}]]],["p-00e21489",[[1,"ptc-previous-url",{"href":[1],"text":[1],"styles":[1]}]]],["p-b52301e2",[[1,"ptc-pricing-tabs",{"productTag":[1,"product-tag"],"header":[1],"tabLabel":[1,"tab-label"],"filterTag":[1,"filter-tag"],"styles":[1],"tabItems":[32],"isMobileViewPort":[32],"isDesktopViewPort":[32]},[[9,"resize","setIsMobileViewPort"]]]]],["p-73a853fc",[[1,"ptc-product-category",{"categoryDescription":[1,"category-description"]}]]],["p-3ee2a531",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"],"quoteImage":[1,"quote-image"]}]]],["p-8e8c7a3a",[[1,"ptc-related-card-rail",{"footerQuerySelector":[1,"footer-query-selector"],"railTitle":[1,"rail-title"],"closed":[32],"cardInView":[32],"data":[32],"screenBasedProps":[32]}]]],["p-9b26ea67",[[1,"ptc-square-card",{"number":[1],"arrowDirection":[1,"arrow-direction"]}]]],["p-c89030e4",[[1,"ptc-sticky-title",{"barTitle":[1,"bar-title"],"logo":[1],"isSticky":[32]},[[9,"scroll","handleScroll"]]]]],["p-03a917f8",[[6,"ptc-theater-video-modal",{"cards":[32],"showModal":[32],"currentCardIndex":[32],"filteredTagName":[32],"modalType":[32],"updateData":[64]}]]],["p-a37c5209",[[1,"ptc-value-led-card",{"cardImage":[1,"card-image"],"cardUpNext":[1,"card-up-next"]}]]],["p-fb8584e4",[[1,"ptc-value-prop-card",{"cardHref":[1,"card-href"],"target":[1],"rel":[1],"cardTitle":[1,"card-title"],"backgroundImage":[1,"background-image"]}]]],["p-eec2f3da",[[1,"homepage-toggled-content",{"activeTab":[32],"dropdownOpen":[32],"tileElements":[32]}]]],["p-8191928d",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"trackerId":[1,"tracker-id"],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]]],["p-dc85c302",[[1,"ptc-form-radio-button",{"name":[1],"isDisabled":[4,"is-disabled"],"isChecked":[4,"is-checked"],"checked":[32]}]]],["p-aea09a70",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["p-627103d8",[[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]}]]],["p-6aa9ed95",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"],"notFoundPopupProceedButton":[8,"not-found-popup-proceed-button"]}]]],["p-77cad16c",[[1,"ptc-nav-submenu",{"label":[1],"iconAssetName":[1025,"icon-asset-name"],"iconSrc":[1,"icon-src"],"labelTrackerId":[1,"label-tracker-id"],"dropdownTrackerId":[1,"dropdown-tracker-id"],"backBtnTrackerId":[1,"back-btn-tracker-id"]}]]],["p-a791c53a",[[1,"ptc-podcast-card",{"heading":[1],"imageSrc":[1,"image-src"],"altText":[1,"alt-text"]}]]],["p-89177041",[[1,"ptc-quantity-counter",{"addToCartLabel":[1,"add-to-cart-label"],"addedLabel":[1,"added-label"],"disabled":[4],"count":[32]}]]],["p-01075feb",[[1,"ptc-scroll-button",{"direction":[1],"scrollContainerClass":[1,"scroll-container-class"],"scrollAmount":[2,"scroll-amount"],"orientation":[1],"trackerId":[1,"tracker-id"],"styles":[1],"isDragging":[1028,"is-dragging"],"isVisible":[32],"isMouseDown":[32],"initVisibility":[64]}]]],["p-d2cc0297",[[1,"ptc-search-field",{"textValue":[1,"text-value"],"placeholderLabel":[1,"placeholder-label"],"darkTheme":[4,"dark-theme"],"isNews":[4,"is-news"],"elevation":[1],"enableClear":[4,"enable-clear"],"styles":[1],"clearSearchValue":[64]}]]],["p-f731fc96",[[1,"ptc-slit-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"heading":[1],"content":[1],"styles":[1],"cardImage":[1,"card-image"]}]]],["p-a0bf3dd2",[[1,"ptc-subnav-card",{"cardTitle":[1,"card-title"],"cardHref":[1,"card-href"],"cardImageSrc":[1,"card-image-src"],"cardImageAlt":[1,"card-image-alt"],"ctaText":[1,"cta-text"],"ctaIconAssetName":[1,"cta-icon-asset-name"],"target":[1]}]]],["p-2aa19c11",[[1,"ptc-value-led-layout",{"topBackgroundImage":[1,"top-background-image"],"selectedValue":[1032,"selected-value"],"isMobile":[32]},[[9,"scroll","handleScroll"],[9,"wheel","handleWheel"],[8,"keydown","handleKeyDown"],[9,"mousedown","handleMouseDown"],[9,"mouseup","handleMouseUp"],[9,"touchstart","handleTouchStart"],[9,"touchmove","handleTouchMove"],[9,"touchend","handleTouchEnd"],[9,"resize","handleResize"]]]]],["p-acdd9a1d",[[1,"ptc-value-led-speed-bump",{"cardTitle":[1,"card-title"],"cardImage":[1,"card-image"],"isMobile":[1028,"is-mobile"]},[[9,"resize","handleResize"]]]]],["p-3872fce7",[[1,"dynamic-box-bundle",{"topImgSrc":[1,"top-img-src"],"topImgAlt":[1,"top-img-alt"],"boxHeight":[2,"box-height"],"isHovering":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseout","handleMouseOut"]]]]],["p-8521fdd4",[[4,"event-podcast-slider-example"]]],["p-6e8ed2ee",[[4,"featured-events-slider-example"]]],["p-5db7f70b",[[1,"jumbotron-sub-menu",{"isOpen":[32],"activeItem":[32]}]]],["p-3c3a7b54",[[1,"jumbotron-sub-mune",{"items":[1],"isOpen":[32],"activeItem":[32]}]]],["p-e577ad62",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-5946d7c9",[[1,"ptc-accordion",{"multiple":[4],"theme":[1],"isParent":[4,"is-parent"],"expandText":[1,"expand-text"],"collapseText":[1,"collapse-text"],"trackerId":[1,"tracker-id"]},[[0,"opened","openHandler"]]]]],["p-49e54079",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"theme":[1537],"trackerId":[1,"tracker-id"],"styles":[1],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["p-4b192f5e",[[1,"ptc-back-to-top",{"backToTop":[1,"back-to-top"],"showButton":[32]},[[0,"click","handleClick"]]]]],["p-27e47c25",[[2,"ptc-brightcov-video",{"videoId":[1,"video-id"]}]]],["p-9f194554",[[1,"ptc-case-studies-slider",{"tabs":[32],"tabPanels":[32],"activeTabIndex":[32],"firstTab":[32],"lastTab":[32]}]]],["p-9e2fd13c",[[6,"ptc-checkbox-group",{"groupName":[1,"group-name"],"type":[1]}]]],["p-9a335b5b",[[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1],"styles":[1]}]]],["p-bab5bb88",[[1,"ptc-countdown",{"countdownTitle":[1,"countdown-title"],"eventTime":[1,"event-time"],"eventTimeZone":[1,"event-time-zone"],"expiredText":[1,"expired-text"],"daysText":[1,"days-text"],"hoursText":[1,"hours-text"],"minutesText":[1,"minutes-text"],"secondsText":[1,"seconds-text"],"useHourFormat":[4,"use-hour-format"],"timeLeft":[32],"isExpired":[32],"displayLocale":[32]}]]],["p-5dae4f30",[[4,"ptc-data-lookup",{"elqSiteId":[1,"elq-site-id"],"elqVisitorLookupKey":[1,"elq-visitor-lookup-key"],"elqRecipientIdLookupKey":[1,"elq-recipient-id-lookup-key"],"elqContactLookupKey":[1,"elq-contact-lookup-key"],"elqSubscriptionLookupKey":[1,"elq-subscription-lookup-key"],"elqFieldEmailRecId":[1,"elq-field-email-rec-id"],"elqFieldContactEmail":[1,"elq-field-contact-email"],"elqFieldVisitorEmail":[1,"elq-field-visitor-email"],"elqFieldVisitorFirstname":[1,"elq-field-visitor-firstname"],"elqFieldVisitorLastname":[1,"elq-field-visitor-lastname"],"notmeLinkId":[1,"notme-link-id"],"notmeFieldsClass":[1,"notme-fields-class"],"notmeMessage":[1,"notme-message"],"notmeMessageNoname":[1,"notme-message-noname"],"isBlindSubmit":[4,"is-blind-submit"],"isInitialized":[32],"performDataLookup":[64],"performSubscriptionLookup":[64]}]]],["p-95187918",[[4,"ptc-footer",{"backgroundImage":[1,"background-image"],"isTabMob":[32]},[[9,"resize","handleWindowResize"]]]]],["p-c5f42895",[[1,"ptc-form-radio-group",{"name":[1],"checkedStates":[32],"eventListener":[32]}]]],["p-c68d31c6",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-28be539b",[[1,"ptc-homepage-image-feature"]]],["p-fd394e84",[[1,"ptc-icon-card",{"cardHref":[1,"card-href"],"target":[1],"trackerId":[1,"tracker-id"],"darkFocusState":[4,"dark-focus-state"]}]]],["p-d66debb3",[[4,"ptc-icon-card-slider-example"]]],["p-a412ff0a",[[1,"ptc-icon-component",{"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-bf3bc577",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["p-58e91cb8",[[1,"ptc-info-tile",{"link":[1],"variant":[1],"styles":[1],"trackerId":[1,"tracker-id"],"accessibilityIndex":[2,"accessibility-index"]}]]],["p-04ff81ef",[[1,"ptc-minimized-nav",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"navType":[1,"nav-type"],"trackerId":[1,"tracker-id"]}]]],["p-da02913d",[[1,"ptc-nav-card",{"cardType":[1025,"card-type"],"cardHref":[1025,"card-href"],"logoAlt":[1025,"logo-alt"],"target":[1025],"rel":[1025],"linkTitle":[1025,"link-title"],"cardLogo":[1025,"card-logo"],"heading":[1025],"description":[1025],"trackerId":[1,"tracker-id"],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-9df7489b",[[1,"ptc-nav-link",{"href":[1025],"isOutsideLink":[1028,"is-outside-link"],"titleText":[1025,"title-text"],"trackerId":[1,"tracker-id"]},[[2,"click","handleClick"]]]]],["p-8533988f",[[1,"ptc-nav-pills"]]],["p-97b9f41b",[[1,"ptc-nav-skip-to-content",{"buttonText":[1,"button-text"],"sectionId":[1,"section-id"]}]]],["p-15e36f30",[[1,"ptc-nav-slider",{"sliderId":[1,"slider-id"],"leftBtnTrackerId":[1,"left-btn-tracker-id"],"rightBtnTrackerId":[1,"right-btn-tracker-id"]},[[0,"dropdownClickEvent","handledropdownClickEvent"]]]]],["p-257a68df",[[0,"ptc-nav-tile",{"navLinks":[16]}]]],["p-081e969d",[[1,"ptc-preferance-center-form"]]],["p-f9256e3d",[[1,"ptc-readmore-char",{"maxCharacters":[2,"max-characters"],"description":[1],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"trackerId":[1,"tracker-id"],"expanded":[32]}]]],["p-6b32020a",[[1,"ptc-readmore-new",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-2b32297b",[[1,"ptc-readmore-v3",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"contentStyles":[1,"content-styles"],"trackerId":[1,"tracker-id"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-fdee2cdc",[[1,"ptc-responsive-wrapper"]]],["p-04f0b1ba",[[2,"ptc-seo-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"]}]]],["p-a7cb3851",[[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1],"cartText":[1,"cart-text"]}]]],["p-7a1db471",[[1,"ptc-showcase-card",{"headingIconUrl":[1,"heading-icon-url"],"headingIconAltText":[1,"heading-icon-alt-text"]}]]],["p-89ba3dfd",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"fontWeight":[1,"font-weight"],"styles":[1]}]]],["p-0e5932f0",[[1,"ptc-sticky-icons",null,[[9,"resize","handleResize"]]]]],["p-f5c97ab2",[[1,"ptc-sticky-section",{"hasPreloader":[4,"has-preloader"]},[[9,"scroll","handleScroll"],[9,"resize","handleResize"]]]]],["p-a54c6da5",[[1,"ptc-subnav",{"mobileTitle":[1,"mobile-title"],"navOpen":[32]},[[9,"scroll","handleScroll"],[0,"navLinkClicked","handleNavLinkClickedEvent"]]]]],["p-c631608f",[[1,"ptc-tab",{"optionClicked":[1540,"option-clicked"],"label":[1],"price":[1],"active":[4],"disabled":[516]}]]],["p-97eb1025",[[1,"ptc-tabs",{"tabs":[32],"openTab":[64]}]]],["p-fe907670",[[1,"ptc-text-copy-with-background",{"type":[1],"backgroundImage":[1,"background-image"],"ImageAltText":[1,"image-alt-text"],"topSlitBackgroundColor":[1,"top-slit-background-color"],"slitPosition":[1,"slit-position"],"isBackgroundBlur":[4,"is-background-blur"],"overlay":[4],"disableLightLinks":[4,"disable-light-links"],"styles":[1]}]]],["p-61d28206",[[4,"ptc-tooltip-v3",{"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"htmlTagType":[1,"html-tag-type"],"zIndex":[1,"z-index"],"position":[1],"theme":[1],"width":[1],"styles":[1],"hideOnMobile":[4,"hide-on-mobile"],"showTooltip":[32],"truncatedContent":[32],"maxCharEnable":[32],"maxLinesEnable":[32],"isSmallScreen":[32],"hideIfMobile":[32],"maxLinesShowCheck":[32]},[[9,"resize","windowResize"],[9,"resize","checkMaxLines"]]]]],["p-9ac99185",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["p-e3bf092e",[[1,"ptc-value-led-content",{"contentTag":[1,"content-tag"]}]]],["p-21fa5abe",[[6,"ptc-value-led-content-highlight"]]],["p-85f32bf5",[[1,"ptc-value-led-intro",{"contentTag":[1,"content-tag"]}]]],["p-76d98c5a",[[1,"ptc-video-embed",{"src":[1],"width":[2],"type":[1],"videoLoaded":[32]}]]],["p-2c2f895a",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["p-8038bf31",[[4,"tab-header",{"name":[1],"tooltip":[1],"tabHeaderText":[1,"tab-header-text"],"isSelected":[32],"maxLength":[32],"getChild":[64]},[[9,"resize","handleWindowResize"]]]]],["p-bfacfe67",[[1,"ptc-pricing-add-on-card",{"cardTitle":[1,"card-title"],"cardPricingText":[1,"card-pricing-text"],"cardCtaHref":[1,"card-cta-href"],"cardCtaText":[1,"card-cta-text"],"cardCtaTarget":[1,"card-cta-target"],"cardDisclaimer":[1,"card-disclaimer"],"sectionId":[1,"section-id"]}]]],["p-0a214a22",[[1,"ptc-image-download-strip",{"downloadUrl":[1,"download-url"],"trackerId":[1,"tracker-id"]}]]],["p-bf8fbba7",[[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"]]]]],["p-b8ee8699",[[2,"ptc-breadcrumb",{"position":[1],"removeTopMargin":[4,"remove-top-margin"],"color":[1],"isDarkMode":[4,"is-dark-mode"],"styles":[1]}]]],["p-464d8e22",[[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"disabled":[1028],"inputName":[1,"input-name"],"trackerId":[1,"tracker-id"],"offsetFocusOutline":[4,"offset-focus-outline"]}]]],["p-7cc9255e",[[1,"homepage-clickable-tab",{"active":[4],"label":[1],"activeColor":[1,"active-color"],"styles":[1],"trackerId":[1,"tracker-id"],"isHovered":[32]}]]],["p-5980d65d",[[1,"ptc-badge",{"number":[2],"svgCode":[1,"svg-code"],"type":[1]}]]],["p-0a9ee6c2",[[1,"ptc-pricing-block",{"active":[4],"optionClicked":[1540,"option-clicked"],"trackerId":[1,"tracker-id"]}]]],["p-99ee8a0e",[[1,"ptc-product-dropdown",{"newOptions":[16],"selectedOptions":[16],"placeholder":[1],"internalOptions":[32],"isOpen":[32]},[[4,"clearsearch","handleSearchResult"],[4,"inputChanged","handleinputChanged"]]]]],["p-c6a0dd99",[[1,"ptc-progress-bar",{"scrollPercentage":[32]},[[9,"scroll","handleScroll"]]]]],["p-9b0df204",[[1,"ptc-skeleton",{"isLoading":[4,"is-loading"],"animated":[4],"width":[1],"borderRadius":[1,"border-radius"],"topMargin":[1,"top-margin"],"btmMargin":[1,"btm-margin"]}]]],["p-8c49d736",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1],"zIndex":[1,"z-index"],"styles":[2]}]]],["p-ad821a01",[[1,"ptc-tooltip-v2",{"elementDisplay":[1,"element-display"],"maxLength":[2,"max-length"],"maxLines":[2,"max-lines"],"zIndex":[2,"z-index"],"width":[1],"position":[1],"hideOnMobile":[4,"hide-on-mobile"],"styles":[1],"fullText":[32],"displayText":[32],"showTip":[32]},[[0,"slotchange","slotChangeHandler"]]]]],["p-752bba1c",[[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"],"hasCountdown":[4,"has-countdown"],"logo":[1],"styles":[1],"defer":[4],"hasCtaSlot":[1028,"has-cta-slot"],"contentBackground":[32],"contentColor":[32],"textAlign":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]]],["p-f867ebe6",[[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],"focusCardWrapper":[64]},[[4,"cardOpened","handleCardOpened"]]]]],["p-3ddb6c50",[[1,"ptc-filter-tag",{"theme":[1],"styles":[1],"trackerID":[1,"tracker-i-d"],"iconColorMap":[32]}],[1,"ptc-pagenation",{"totalCount":[2,"total-count"],"numberOfItems":[2,"number-of-items"],"previousValue":[1,"previous-value"],"lastValue":[1,"last-value"],"minPageNumber":[2,"min-page-number"],"maxPageNumber":[2,"max-page-number"],"clickedPageNumber":[2,"clicked-page-number"],"appendArray":[4,"append-array"],"prevArrowImg":[1,"prev-arrow-img"],"nextArrowImg":[1,"next-arrow-img"],"theme":[1],"styles":[1],"pageNumbers":[32],"isSmallScreen":[32]},[[9,"resize","windowResize"]]]]],["p-931650bb",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["p-b651c1cb",[[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"]}]]],["p-4cee12b8",[[1,"ptc-social-icons",{"facebookUrl":[1,"facebook-url"],"linkedinUrl":[1,"linkedin-url"],"xUrl":[1,"x-url"],"emailTo":[1,"email-to"],"trackerId":[1,"tracker-id"],"target":[1]}]]],["p-92d22c78",[[1,"ptc-button",{"disabled":[516],"active":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1],"textAlign":[1,"text-align"],"enableAccessibilityAltStyle":[4,"enable-accessibility-alt-style"],"size":[1],"buttonTitle":[1,"button-title"],"ariaLabel":[1,"aria-label"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"maintainContent":[4,"maintain-content"],"trackerId":[1,"tracker-id"],"darkFocusState":[4,"dark-focus-state"]}]]],["p-99355e65",[[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"isMobileSelect":[4,"is-mobile-select"],"injectedStyle":[1,"injected-style"],"focusOn":[4,"focus-on"],"trackerId":[1,"tracker-id"]}]]],["p-bf18b622",[[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"tooltipZIndex":[1,"tooltip-z-index"],"tooltipPosition":[1,"tooltip-position"],"tooltipTheme":[1,"tooltip-theme"],"enableTooltip":[4,"enable-tooltip"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"hideTooltipOnMobile":[4,"hide-tooltip-on-mobile"],"tooltipWidth":[1,"tooltip-width"],"ismob":[32]}]]],["p-282b7d4e",[[1,"ptc-social-share",{"trackerId":[1,"tracker-id"],"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"iconColor":[1,"icon-color"],"iconHoverColor":[1,"icon-hover-color"],"iconSize":[1,"icon-size"],"darkFocusState":[4,"dark-focus-state"],"isHover":[32]}],[1,"ptc-filter-dropdown",{"placeholder":[1],"selectedTag":[1,"selected-tag"],"styles":[1],"internalOptions":[32],"selectedOptions":[32],"isOpen":[32],"clearFilterSelection":[64],"setSelectedItem":[64]}],[6,"ptc-theater-video",{"cardTitle":[1,"card-title"],"cardDescription":[1,"card-description"],"thumbImg":[1,"thumb-img"],"cardNumber":[2,"card-number"],"videoId":[2,"video-id"],"vtagName":[1,"vtag-name"],"modalType":[1,"modal-type"]}],[1,"ptc-theater-video-playlist",{"cardElements":[8,"card-elements"],"currentCardIndex":[32],"filteredTagName":[32]},[[4,"filterCliked","handleFilterClick"],[4,"vCardClicked","handleVCardClickedEvent"]]]]],["p-feecf6b5",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1],"addClassOnDefaultSlot":[64],"removeClassOnDefaultSlot":[64]}],[1,"ptc-card-wrapper",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"],"isLoading":[4,"is-loading"],"trackerId":[1,"tracker-id"],"disabled":[4],"hideLinkTitle":[4,"hide-link-title"],"styles":[1],"darkFocusState":[4,"dark-focus-state"]},[[9,"resize","handleResize"]]]]],["p-7793babb",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"],"hasBeforeHomeIcon":[4,"has-before-home-icon"],"trackerId":[1,"tracker-id"],"color":[1],"styles":[1],"ariaLabel":[1,"aria-label"]}]]],["p-d3ac3758",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"],"formatOptions":[1,"format-options"]}]]],["p-75988f52",[[1,"ptc-preloader-section",{"sectionType":[1,"section-type"],"numberOfCards":[2,"number-of-cards"],"autoShow":[4,"auto-show"],"isLoading":[32],"dependencies":[32],"showPreload":[64],"registerDependency":[64]}],[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"country":[1],"styles":[1],"ribbonText":[1,"ribbon-text"],"eventType":[1,"event-type"],"cardLogo":[1,"card-logo"],"titleLineCutOff":[2,"title-line-cut-off"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"cardOverflow":[1,"card-overflow"],"isCreoCard":[4,"is-creo-card"],"trackerId":[1,"tracker-id"],"isTabHidden":[1540,"is-tab-hidden"],"language":[1],"hasAncestorWithClass":[64]}]]],["p-2cb2de0f",[[0,"ptc-multi-select",{"items":[1040],"label":[1],"selectAllText":[1,"select-all-text"],"clearAllText":[1,"clear-all-text"],"isRequired":[4,"is-required"],"helpertext":[1],"placeholderText":[1,"placeholder-text"],"showDropdown":[32],"language":[32],"isValid":[32],"selectedItemsCount":[32],"hasInteracted":[32],"tooltipText":[32],"tooltipVisible":[32],"tooltipPosition":[32],"focusedItemIndex":[32],"focusToggleButton":[64]},[[4,"click","handleDocumentClick"]]],[4,"ptc-select",{"fieldId":[1,"field-id"],"label":[1],"isRequired":[4,"is-required"],"helpertext":[1025],"fieldName":[1,"field-name"],"disabled":[4],"selectedValue":[1025,"selected-value"],"defaultValue":[1025,"default-value"],"infoText":[1,"info-text"],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ptcDataTargetEloquaName":[1,"ptc-data-target-eloqua-name"],"language":[32]}]]],["p-7fe4d383",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"outlineColor":[1,"outline-color"],"styles":[1],"isLoading":[4,"is-loading"],"setHeight":[64],"removeInlineHeight":[64]}]]],["p-e90fbbad",[[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1],"setOverlay":[64]}]]],["p-cbee4653",[[1,"ptc-background-video",{"videoSrc":[1,"video-src"],"posterSrc":[1,"poster-src"],"overlay":[4],"overlayType":[1,"overlay-type"],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"buttonLocation":[1,"button-location"],"buttonTabIndex":[2,"button-tab-index"],"trackerId":[1,"tracker-id"],"defer":[4],"type":[1],"isIframe":[4,"is-iframe"],"paused":[32],"loadedTrue":[32],"pauseVideo":[64],"playVideo":[64]}]]],["p-04aae3f5",[[1,"fl-tab-content",{"nameKey":[1,"name-key"],"selected":[4],"onbeforematch":[16]}],[6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"valueKey":[2,"value-key"],"selected":[4],"trackerId":[1,"tracker-id"],"initialHeader":[32]}],[1,"fl-tab-image",{"nameKey":[1,"name-key"],"selected":[4]}]]],["p-7d29a418",[[1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1],"isContentSlotted":[1028,"is-content-slotted"],"updateReadmoreStatus":[64]},[[9,"resize","updateReadmoreStatus"]]]]],["p-dd02e4d6",[[0,"ptc-form-checkbox",{"checkboxId":[1,"checkbox-id"],"label":[1],"isRequired":[4,"is-required"],"isChecked":[1028,"is-checked"],"name":[1],"helpertext":[1025],"hideCheckbox":[4,"hide-checkbox"],"disabled":[4],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ignoreBlindSubmit":[4,"ignore-blind-submit"],"hasError":[32],"language":[32],"validateCheckbox":[64]}],[0,"ptc-textfield",{"fieldId":[1,"field-id"],"type":[1],"required":[4],"ptcMaxLength":[2,"ptc-max-length"],"labelText":[1025,"label-text"],"helpertext":[1025],"infoText":[1025,"info-text"],"alertText":[1025,"alert-text"],"alertTextContent":[1,"alert-text-content"],"disabled":[4],"fieldName":[1,"field-name"],"ptcDataEloquaName":[1,"ptc-data-eloqua-name"],"ptcDataTargetEloquaName":[1,"ptc-data-target-eloqua-name"],"inputValue":[1025,"input-value"],"customValidation":[16],"ignoreBlindSubmit":[4,"ignore-blind-submit"],"placeholderText":[1,"placeholder-text"],"styles":[1],"textfieldForm":[1,"textfield-form"],"language":[32],"syncCountry":[64],"validateTextField":[64]},[[2,"input","handleInput"],[2,"focus","handleFocus"],[2,"blur","inputBlurHandler"]]]]],["p-260ecfef",[[1,"max-width-container",{"maxWidthP":[2,"max-width-p"],"maxWidth":[2,"max-width"],"breakpoint":[2],"contentAlign":[1,"content-align"],"styles":[1]}]]],["p-99daf693",[[6,"ptc-tooltip",{"textDisplay":[1,"text-display"],"maxLength":[2,"max-length"],"textLines":[2,"text-lines"],"description":[1],"zIndex":[1,"z-index"],"position":[1],"styles":[1],"mode":[1],"theme":[1],"width":[1],"hideOnMobile":[4,"hide-on-mobile"],"isSmallScreen":[1028,"is-small-screen"],"noOverflow":[4,"no-overflow"]},[[9,"resize","addTruncatedClass"],[9,"resize","windowResize"]]]]],["p-25a25451",[[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"]]]]],["p-ab3d2934",[[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"customClass":[1025,"custom-class"],"show":[1028],"overlay":[1028],"fixed":[1028],"keepInViewport":[1028,"keep-in-viewport"],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"hideContainer":[1028,"hide-container"],"showHeaderFooter":[1028,"show-header-footer"],"borderRadius":[1025,"border-radius"],"isBioModal":[1028,"is-bio-modal"],"styles":[1],"modalType":[1,"modal-type"],"vhCenter":[4,"vh-center"],"headerOnlyBg":[1,"header-only-bg"],"headerOnlyText1":[1,"header-only-text-1"],"headerOnlyText2":[1,"header-only-text-2"],"bottomCloseBtn":[1,"bottom-close-btn"],"overlayHeight":[32],"openedByKeyboard":[32],"bodyOverflowSetting":[32],"showModal":[64],"hideModal":[64],"toggleModal":[64],"reloadIframe":[64]}],[1,"ptc-close-icon"]]],["p-3738a01f",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"disableResize":[1028,"disable-resize"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"displayImage":[1,"display-image"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["p-0c69ea52",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["p-7fb155da",[[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"],"paraAlign":[1,"para-align"],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"paraZIndex":[1,"para-z-index"],"styles":[1],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"tooltipZIndex":[1,"tooltip-z-index"],"tooltipPosition":[1,"tooltip-position"],"tooltipTheme":[1,"tooltip-theme"],"enableTooltip":[4,"enable-tooltip"],"maxChars":[2,"max-chars"],"maxLines":[2,"max-lines"],"hideTooltipOnMobile":[4,"hide-tooltip-on-mobile"],"noOverflow":[4,"no-overflow"],"tooltipWidth":[1,"tooltip-width"],"ismob":[32]}]]],["p-6a3caf2b",[[1,"blog-detail-content",{"scrollIntoViewOffset":[2,"scroll-into-view-offset"],"preloaderDependency":[32],"tableOfContents":[32],"currentActiveItems":[32],"contentInViewport":[32],"mobileTocDropdownState":[32],"stocTriggeredScroll":[32],"desktopTocScrollMin":[32]}],[1,"ptc-readmore-v2",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"truncated":[32],"expanded":[32],"fullText":[32],"displayText":[32]},[[0,"slotchange","slotChangeHandler"]]]]]]'),e)));
@@ -16,7 +16,7 @@ export declare class PtcMobileSelect {
16
16
  selectedText: string;
17
17
  /**
18
18
  * Wheel Data (Mandatory)
19
- * eg: data: [{ id: "1", value: "附近" }],
19
+ * eg: data: [{ id: "1", value: "English" }],
20
20
  */
21
21
  wheelData: string[];
22
22
  /**
@@ -1229,7 +1229,7 @@ export namespace Components {
1229
1229
  */
1230
1230
  "triggerName": string;
1231
1231
  /**
1232
- * Wheel Data (Mandatory) eg: data: [{ id: "1", value: "附近" }],
1232
+ * Wheel Data (Mandatory) eg: data: [{ id: "1", value: "English" }],
1233
1233
  */
1234
1234
  "wheelData": string[];
1235
1235
  }
@@ -5404,7 +5404,7 @@ declare namespace LocalJSX {
5404
5404
  */
5405
5405
  "triggerName"?: string;
5406
5406
  /**
5407
- * Wheel Data (Mandatory) eg: data: [{ id: "1", value: "附近" }],
5407
+ * Wheel Data (Mandatory) eg: data: [{ id: "1", value: "English" }],
5408
5408
  */
5409
5409
  "wheelData"?: string[];
5410
5410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptcwebops/ptcw-design",
3
- "version": "6.3.8",
3
+ "version": "6.3.9",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "./dist/index.js",
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
2
 
3
- # PTC Design 6.3.8
3
+ # PTC Design 6.3.9
4
4
 
5
5
  The site is the place for documentation on PTC Design System
6
6
 
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as o,g as l}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.sidebarData=[],this.dropFlag=!1,this.topBackgroundImage=void 0,this.isMobile=void 0,this.selectedValue=void 0}componentWillLoad(){this.getSidebarList(),this.isMobile=window.innerWidth<992}componentDidLoad(){this.setActiveItem(),this.selectBtn=this.hostElement.shadowRoot.querySelector(".select-button"),this.customSelect=this.hostElement.shadowRoot.querySelector(".custom-select"),this.optionsList=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li"),this.selectBtn.addEventListener("click",this.handleSelectButtonClick.bind(this)),this.customSelectDropdown(),document.querySelectorAll(".video-embad-container-value-led-class").forEach((t=>{const e=t.querySelector(".ptc-container");e&&(e.classList.remove("ptc-container"),t.classList.add("u-paddingTop-flush"))}))}handleScroll(){const t=this.hostElement.shadowRoot.querySelector(".vl-layout-wrap");if(t){const e=t.getBoundingClientRect();if(window.scrollY>=e.top&&window.scrollY<=e.height){this.setActiveItem();const t=this.hostElement.shadowRoot.querySelector(".vl-list-wrap ul li.active");t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}}handleWheel(){this.setActiveItem()}handleKeyDown(t){"ArrowUp"!==t.key&&"ArrowDown"!==t.key&&"PageUp"!==t.key&&"PageDown"!==t.key||this.setActiveItem()}handleMouseDown(){this.setActiveItem()}handleMouseUp(){this.setActiveItem()}handleTouchStart(){this.setActiveItem()}handleTouchMove(){this.setActiveItem()}handleTouchEnd(){this.setActiveItem()}handleResize(){this.isMobile=window.innerWidth<992,this.setActiveItem(),this.customSelectDropdown()}handleDropdownScroll(){let t=this.hostElement.shadowRoot.querySelector(".custom-select");if(t){let a=t.querySelector(".select-dropdown");var e=a.scrollHeight,o=a.scrollTop,l=a.offsetHeight;a.clientHeight<e&&(o>0?t.classList.add("scroll-top"):t.classList.remove("scroll-top"),l+o<e?t.classList.add("scroll-bottom"):t.classList.remove("scroll-bottom"))}}handleSelectButtonClick(){this.customSelect.classList.toggle("active"),this.selectBtn.setAttribute("aria-expanded","true"===this.selectBtn.getAttribute("aria-expanded")?"false":"true")}getSidebarList(){document.querySelectorAll(".vl-content-item").forEach((t=>{let e=t.getAttribute("comp-title"),o=t.getAttribute("id");this.sidebarData.push({title:e,ref:o})}))}setActiveItem(){const t=window.scrollY||window.pageYOffset;let e=this.isMobile?85:5;t>=149?this.sidebarData.forEach(((o,l)=>{const a=document.getElementById(o.ref);a&&a.offsetTop<=t+e&&this.updateActiveItem(l)})):(this.updateActiveItem(0),this.isMobile&&(this.selectedValue.textContent=this.optionsList[0].textContent))}updateActiveItem(t){const e=this.hostElement.shadowRoot.querySelector(`.vl-list-wrap ul li:nth-child(${t+1})`),o=this.hostElement.shadowRoot.querySelector(".vl-list-wrap ul li.active");if(o&&o.classList.remove("active"),e&&e.classList.add("active"),this.mobileSelect=this.hostElement.shadowRoot.querySelector(".mobile-select"),this.mobileSelect){this.selectedValue=this.hostElement.shadowRoot.querySelector(".selected-value"),this.optionsList=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li"),this.optionsList.forEach((e=>{parseInt(e.id)===t&&(this.selectedValue.textContent=e.children[1].textContent)}));const e=this.hostElement.shadowRoot.querySelector(`.select-dropdown li:nth-child(${t+1})`),o=this.hostElement.shadowRoot.querySelector(".select-dropdown li.active");o&&o.classList.remove("active"),e&&e.classList.add("active")}}handleSelectChange(t){const e=document.getElementById(this.sidebarData[t].ref);e&&(e.scrollIntoView({behavior:"smooth"}),window.scrollTo(0,e.offsetTop-75))}customSelectDropdown(){this.selectedValue=this.hostElement.shadowRoot.querySelector(".selected-value"),this.customSelect&&this.isMobile&&this.optionsList.forEach(((t,e)=>{const o=o=>{"click"===o.type&&0!==o.clientX&&0!==o.clientY&&(this.selectedValue.textContent=t.children[1].textContent,this.customSelect.classList.remove("active"),this.handleSelectChange(e)),"Enter"===o.key&&(this.selectedValue.textContent=t.textContent,this.customSelect.classList.remove("active"),this.handleSelectChange(e))};t.addEventListener("keyup",o),t.addEventListener("click",o)}))}selectDropOption(t){this.updateActiveItem(t)}onMenuitemKeydown(t){let e=t.currentTarget,o=t.key,l=this.hostElement.shadowRoot.querySelectorAll(".select-dropdown li").length,a=this.hostElement.shadowRoot.querySelector(".select-button");t.ctrlKey||t.altKey||t.metaKey||"Tab"===o&&l-1==e.id&&a.focus()}render(){return e(o,null,e("div",{class:"top-image",style:{backgroundImage:`url(${this.topBackgroundImage})`}}),e("div",{class:"ptc-container"},e("div",{class:"pdf-slot-wrapper"},e("slot",{name:"pdf-slot"})),e("div",{class:"vl-layout-wrap"},this.sidebarData.length>0&&!this.isMobile&&e("div",{class:"vl-sidebar"},e("div",{class:"vl-list-wrap"},e("ul",{id:"vl-side-list"},this.sidebarData.map(((t,o)=>e("li",{id:"list-"+o,class:"mf-listen"},e("a",{href:"#"+t.ref,id:o,onClick:()=>{this.updateActiveItem(o)}},e("ptc-tooltip",{"max-length":"70",description:t.title,"no-overflow":"true"})))))))),e("span",{style:{display:"none !important"}}),e("div",{class:"vl-content-wrap"},e("div",{class:"custom-select mobile-select"},e("button",{class:"select-button",role:"combobox","aria-labelledby":"select button","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":"select-dropdown"},e("span",{class:"selected-value"},"Select option"),e("span",{class:"arrow"})),e("ul",{class:"select-dropdown",role:"listbox",id:"select-dropdown",onScroll:()=>this.handleDropdownScroll()},this.sidebarData.map(((t,o)=>e("li",{role:"option",id:o,onClick:()=>this.selectDropOption(o),tabIndex:0,onKeyDown:t=>{this.onMenuitemKeydown(t)}},e("input",{type:"radio",id:t.title,name:"vl-drop-list",tabIndex:-1}),e("label",{htmlFor:t.title},e("i",{class:"bx bxl-github"}),t.title)))))),e("div",{class:"vl-content-slot-wrap"},e("slot",null))))))}get hostElement(){return l(this)}};a.style='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}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}:host{display:block;position:relative}:host *{box-sizing:border-box;font-family:var(--ptc-font-latin)}:host .top-image{background-color:rgba(0, 0, 0, 0.6);background-blend-mode:multiply;position:absolute;z-index:-1;width:100%;height:500px;background-size:cover;background-position:center}:host .pdf-slot-wrapper{padding:var(--ptc-element-spacing-04) 0;width:100%;text-align:right}:host .vl-layout-wrap{margin-top:var(--ptc-element-spacing-04);width:100%;position:relative}@media only screen and (min-width: 992px){:host .vl-layout-wrap{display:flex;margin-top:40px}}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-sidebar{width:22%;margin-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-sidebar{margin-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 1440px){:host .vl-layout-wrap .vl-sidebar{margin-right:40px}}:host .vl-layout-wrap .vl-list-wrap{width:100%;padding:8px 0;box-shadow:var(--ptc-shadow-x-large);max-height:calc(100vh - 64px);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard)}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-list-wrap{z-index:105;margin:auto;position:sticky;top:32px;right:0;float:right;overflow-y:auto;overflow-x:hidden;padding:var(--ptc-layout-spacing-02) 0}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap{padding:var(--ptc-layout-spacing-03) 0}}:host .vl-layout-wrap .vl-list-wrap ul{margin:0;padding:0;list-style:none}:host .vl-layout-wrap .vl-list-wrap ul li{display:none}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-list-wrap ul li{display:block;margin:0 8px 4px 8px}}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap ul li{margin:0 16px 8px 16px}}:host .vl-layout-wrap .vl-list-wrap ul li a{display:block;padding:8px 16px;font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);text-decoration:none;color:var(--color-gray-10);position:relative;background-color:transparent;border-radius:var(--ptc-border-radius-standard);transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}@media only screen and (min-width: 1200px){:host .vl-layout-wrap .vl-list-wrap ul li a{font-size:var(--ptc-font-size-small)}}:host .vl-layout-wrap .vl-list-wrap ul li a::before{content:"";display:block;width:2px;height:calc(100% - 16px);background-color:transparent;position:absolute;left:4px}:host .vl-layout-wrap .vl-list-wrap ul li a:hover{background-color:var(--color-gray-02)}:host .vl-layout-wrap .vl-list-wrap ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-list-wrap ul li.active{display:block}:host .vl-layout-wrap .vl-list-wrap ul li.active a{font-weight:var(--ptc-font-weight-bold)}:host .vl-layout-wrap .vl-list-wrap ul li.active a::before{background-color:var(--color-green-07)}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar{width:8px}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar-track{background:transparent}:host .vl-layout-wrap .vl-list-wrap::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill)}:host .vl-layout-wrap .vl-list-wrap select{z-index:105;background-color:var(--color-white)}:host .vl-layout-wrap .vl-content-wrap{width:100%;padding:0 20px 20px 20px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 480px){:host .vl-layout-wrap .vl-content-wrap{padding:0 32px 32px 32px}}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap{width:78%;padding:48px}}:host .vl-layout-wrap .vl-content-wrap .mobile-select{position:sticky;top:-1px;z-index:1056;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:var(--color-white);width:calc(100% + 40px);margin-left:-20px;border-top-left-radius:4px;border-top-right-radius:4px}@media only screen and (min-width: 480px){:host .vl-layout-wrap .vl-content-wrap .mobile-select{width:calc(100% + 64px);margin-left:-32px}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select{display:block}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select{display:none}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button{width:100%;background-color:transparent;border-radius:0.25rem;cursor:pointer;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-size:var(--ptc-font-size-small);display:flex;justify-content:space-between;align-items:center;border-radius:4px 4px 0px 0px;box-shadow:var(--ptc-shadow-x-large);padding:var(--ptc-element-spacing-06);border:none;color:var(--color-gray-10);position:relative}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button::after{content:"";width:100%;height:0;background-color:transparent;display:block;position:absolute;bottom:0;box-shadow:0 16px 16px rgba(0, 0, 0, 0.2);left:0;right:0;z-index:105666}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button .selected-value{text-align:left;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-size:var(--ptc-font-size-small);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-button .arrow{min-width:14px;width:14px;height:10px;background-image:url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none"><path d="M2 2.30469L6.94975 7.60799L11.8995 2.30469" stroke="%2300890B" stroke-width="3" stroke-linecap="round"/></svg>\');background-repeat:no-repeat;transition:transform ease-in-out 0.3s;margin-left:15px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown{position:absolute;list-style:none;width:100%;border-radius:0 0 4px 4px;background:var(--color-white);margin:0;padding:16px 0;max-height:70vh;overflow-y:auto;transition:0.5s ease;z-index:30000;box-shadow:0px 16px 16px rgba(0, 0, 0, 0.24);border-top:1px solid var(--color-gray-02);opacity:0;visibility:hidden}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li{position:relative;cursor:pointer;margin:0 5px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li label{display:block;width:100%;box-sizing:border-box;padding:16px 27px;cursor:pointer;font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li label::before{content:"";display:block;width:2px;height:calc(100% - 32px);background-color:transparent;position:absolute;left:11px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li.active label{font-weight:700}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown li.active label::before{background-color:var(--color-green-07)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown input[type=radio]{position:absolute;left:0;opacity:0}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown input[type=radio]:checked~label{font-weight:700}}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar{width:7px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar-track{background:var(--color-white);border-radius:25px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select .select-dropdown::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:25px}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.active .arrow{transform:rotate(180deg)}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.active .select-dropdown{opacity:1;visibility:visible}:host .vl-layout-wrap .vl-content-wrap .mobile-select.custom-select.scroll-top.active .select-button::after{height:16px}:host .vl-layout-wrap .vl-content-wrap .mobile-select:focus-visible{outline:none}:host .vl-layout-wrap .vl-content-wrap .vl-content-slot-wrap{padding:var(--ptc-element-spacing-07) 0 0 0}@media only screen and (min-width: 992px){:host .vl-layout-wrap .vl-content-wrap .vl-content-slot-wrap{padding:0}}:host .select-dropdown input:focus~label{background-color:#dfdfdf}';export{a as ptc_value_led_layout}