@ptcwebops/ptcw-design 2.9.0 → 2.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/cjs/{ptc-form-checkbox_3.cjs.entry.js → embedded-form_9.cjs.entry.js} +737 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ptc-subnav.cjs.entry.js +1 -1
  4. package/dist/cjs/ptcw-design.cjs.js +1 -1
  5. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +17 -1
  6. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +6 -2
  7. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +29 -0
  8. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +16 -1
  9. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  10. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +1 -1
  11. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +1 -0
  12. package/dist/collection/utils/elq-lib.js +100 -50
  13. package/dist/custom-elements/index.js +127 -59
  14. package/dist/esm/{ptc-form-checkbox_3.entry.js → embedded-form_9.entry.js} +733 -3
  15. package/dist/esm/loader.js +1 -1
  16. package/dist/esm/ptc-subnav.entry.js +1 -1
  17. package/dist/esm/ptcw-design.js +1 -1
  18. package/dist/ptcw-design/p-18a51b46.entry.js +1 -0
  19. package/dist/ptcw-design/{p-5d183a57.entry.js → p-6faf3ced.entry.js} +16 -16
  20. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  21. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +1 -0
  22. package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +1 -0
  23. package/dist/types/utils/elq-lib.d.ts +4 -0
  24. package/package.json +1 -1
  25. package/readme.md +1 -1
  26. package/dist/cjs/embedded-form.cjs.entry.js +0 -105
  27. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  28. package/dist/cjs/ptc-button.cjs.entry.js +0 -50
  29. package/dist/cjs/ptc-data-lookup.cjs.entry.js +0 -378
  30. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  31. package/dist/cjs/ptc-title.cjs.entry.js +0 -78
  32. package/dist/esm/embedded-form.entry.js +0 -101
  33. package/dist/esm/max-width-container.entry.js +0 -50
  34. package/dist/esm/ptc-button.entry.js +0 -46
  35. package/dist/esm/ptc-data-lookup.entry.js +0 -374
  36. package/dist/esm/ptc-spacer.entry.js +0 -34
  37. package/dist/esm/ptc-title.entry.js +0 -74
  38. package/dist/ptcw-design/p-2240e6c6.entry.js +0 -1
  39. package/dist/ptcw-design/p-33c054ff.entry.js +0 -1
  40. package/dist/ptcw-design/p-92bbd407.entry.js +0 -1
  41. package/dist/ptcw-design/p-97118c77.entry.js +0 -1
  42. package/dist/ptcw-design/p-b1528ee0.entry.js +0 -1
  43. package/dist/ptcw-design/p-bd474021.entry.js +0 -1
  44. package/dist/ptcw-design/p-f1c77113.entry.js +0 -1
@@ -7,7 +7,7 @@ export class ElqLib {
7
7
  this.visitor_elq_id = null;
8
8
  this.field_mappings = [];
9
9
  this.callback_queue = [];
10
- //private fields_populated: boolean = false;
10
+ this.fields_populated = false;
11
11
  this.user_elq_email = '';
12
12
  this.user_elq_firstname = '';
13
13
  this.user_elq_lastname = '';
@@ -47,6 +47,8 @@ export class ElqLib {
47
47
  setEloquaSiteId() {
48
48
  if (this.params.elq_site_id) {
49
49
  ElqLib._elqQ.push(['elqSetSiteId', this.params.elq_site_id]);
50
+ ElqLib._elqQ.push(['elqUseFirstPartyCookie', 'tracking.ptc.com']);
51
+ ElqLib._elqQ.push(['elqTrackPageView', window.location.href]);
50
52
  }
51
53
  }
52
54
  fire_pageview(url) {
@@ -73,7 +75,8 @@ export class ElqLib {
73
75
  }
74
76
  else {
75
77
  // If no visitor ID, attempt to do a visitor lookup with an Eloqua cookie
76
- this.lookup_visitor_by_cookie();
78
+ this.lookup_visitor_by_cookie(); //preference center
79
+ this.lookup_contact_by_email();
77
80
  }
78
81
  }
79
82
  add_field_mapping(mapping) {
@@ -142,11 +145,11 @@ export class ElqLib {
142
145
  }
143
146
  }
144
147
  }
145
- // After processing the queue, you might want to update user details or perform other operations
148
+ // After processing the queue, update user details or perform other operations
146
149
  if (actionSucceeded) {
147
150
  this.update_user_details();
151
+ this.populate_mapped_fields();
148
152
  }
149
- //this.populate_mapped_fields();
150
153
  // ...additional code to handle the aftermath of callback processing...
151
154
  }
152
155
  lookup_visitor_by_cookie() {
@@ -185,9 +188,10 @@ export class ElqLib {
185
188
  }
186
189
  }
187
190
  handle_visitor_lookup() {
188
- const email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
191
+ //console.log('Contact Email: ' + this.params.elq_field_contact_email)
192
+ const email = window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email); //it was elq_field_visitor_email ( V_Email_Address)
189
193
  if (email) {
190
- console.log(`LOOKUP: Found visitor email address: ${email}`);
194
+ console.log(`LOOKUP: Found contact email address: ${email}`);
191
195
  this.user_elq_email = email.trim();
192
196
  this.lookup_contact_by_email();
193
197
  this.callback_queue.push(this.handle_contact_lookup.bind(this));
@@ -206,36 +210,62 @@ export class ElqLib {
206
210
  return false;
207
211
  }
208
212
  }
209
- // private populate_mapped_fields(): void {
210
- // console.log("MAPPING: Starting field mapping");
211
- // // Loop through all mappings
212
- // for (mapping_set in field_mappings) {
213
- // for (mapping_element in field_mappings[mapping_set]) {
214
- // var mapping_elq_field = field_mappings[mapping_set][mapping_element];
215
- // var element = document.getElementById(mapping_element);
216
- // var field_value = GetElqContentPersonalizationValue(mapping_elq_field);
217
- // // Check that field exists
218
- // if (element == null) {
219
- // log("MAPPING: Could not populate element '" + mapping_element + "' as it does not exist");
220
- // }
221
- // else if (element.value != '') {
222
- // log("MAPPING: Could not populate element '" + mapping_element + "' as it already contained a value");
223
- // }
224
- // else if (field_value == '') {
225
- // log("MAPPING: Could not populate element '" + mapping_element + "' as the Eloqua field '" + mapping_elq_field + "' contained no data");
226
- // }
227
- // else {
228
- // fields_populated = true;
229
- // element.value = field_value;
230
- // log("MAPPING: Mapped element '" + mapping_element + "' with Eloqua field '" + mapping_elq_field + "'");
231
- // }
232
- // }
233
- // }
234
- // console.log("MAPPING: Finished field mapping");
235
- // // Update notme link
236
- // //update_notme_link ();
237
- // }
213
+ populate_mapped_fields() {
214
+ console.log('MAPPING: Starting field mapping');
215
+ this.field_mappings.forEach(({ elementId, elqFieldName }) => {
216
+ const element = document.getElementById(elementId);
217
+ const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
218
+ if (element && fieldValue) {
219
+ element.value = fieldValue;
220
+ element.style.display = 'none'; // Hide the field
221
+ this.fields_populated = true;
222
+ }
223
+ });
224
+ console.log('MAPPING: Finished ');
225
+ if (this.fields_populated) {
226
+ this.update_notme_link();
227
+ }
228
+ }
238
229
  update_user_details() {
230
+ console.log('displaying user info...');
231
+ if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
232
+ document
233
+ .querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
234
+ .forEach((element) => {
235
+ if (element.tagName === 'SPAN') {
236
+ const spanText = element;
237
+ const spanEloquaName = spanText.getAttribute('data-eloqua-name');
238
+ if (spanEloquaName !== null) {
239
+ const spanElqValue = window.GetElqContentPersonalizationValue(spanEloquaName);
240
+ if (spanElqValue !== '' && spanElqValue.length > 0) {
241
+ spanText.textContent = spanElqValue;
242
+ }
243
+ }
244
+ }
245
+ else if (element.className.includes('intl-tel-input')) {
246
+ const telInput = element;
247
+ const eloquaName = telInput.getAttribute('data-eloqua-name');
248
+ if (eloquaName !== null) {
249
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
250
+ if (elqValue !== '' && elqValue.length > 0) {
251
+ setTimeout(() => {
252
+ telInput.placeholder = elqValue;
253
+ }, 1000);
254
+ }
255
+ }
256
+ }
257
+ else {
258
+ const input = element;
259
+ const eloquaName = input.getAttribute('data-eloqua-name');
260
+ if (eloquaName !== null) {
261
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
262
+ if (elqValue !== '' && elqValue.length > 0) {
263
+ input.value = elqValue;
264
+ }
265
+ }
266
+ }
267
+ });
268
+ }
239
269
  if (this.user_elq_email == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email) != '') {
240
270
  this.user_elq_email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
241
271
  }
@@ -279,22 +309,42 @@ export class ElqLib {
279
309
  // var link = $('<a href="">' + message + '</a>').appendTo(notme_link_element).click(this.remove_user_details);
280
310
  // }
281
311
  // }
282
- // private remove_user_details(): void {
283
- // this.user_elq_email = '';
284
- // this.user_elq_firstname = '';
285
- // this.user_elq_lastname = '';
286
- // $('.' + this.params.notme_fields_class).val('');
287
- // $('#' + this.params.notme_link_id)
288
- // .find('a')
289
- // .remove();
290
- // //Flush out old user cookie
291
- // ElqLib._elqQ.push(['elqVisitorGuid', ' ']);
292
- // ElqLib._elqQ.push(['elqTrackPageView']);
293
- // //return false;
294
- // }
312
+ update_notme_link() {
313
+ // Assuming the user's first and last name are available from Eloqua fields
314
+ const firstName = window.GetElqContentPersonalizationValue('elq_field_visitor_firstname');
315
+ const lastName = window.GetElqContentPersonalizationValue('elq_field_visitor_lastname');
316
+ const notMeLinkElement = document.getElementById('not-me-link-id'); // Adjust ID as necessary
317
+ if (notMeLinkElement) {
318
+ let message = this.params.notme_message_noname;
319
+ if (firstName && lastName) {
320
+ //message = `Not ${firstName} ${lastName}? Click here.`;
321
+ message = this.params.notme_message.replace('{name}', `${firstName} ${lastName}`);
322
+ }
323
+ notMeLinkElement.innerHTML = `<a href="#" onclick="return false;">${message}</a>`;
324
+ notMeLinkElement.onclick = this.remove_user_details.bind(this);
325
+ }
326
+ }
327
+ remove_user_details() {
328
+ this.user_elq_email = '';
329
+ this.user_elq_firstname = '';
330
+ this.user_elq_lastname = '';
331
+ $('.' + this.params.notme_fields_class).val('');
332
+ $('#' + this.params.notme_link_id)
333
+ .find('a')
334
+ .remove();
335
+ //Flush out old user cookie
336
+ ElqLib._elqQ.push(['elqVisitorGuid', ' ']);
337
+ ElqLib._elqQ.push(['elqTrackPageView']);
338
+ return false;
339
+ }
340
+ // private remove_user_details(): boolean {
341
+ // // Clear user data and reset form fields
342
+ // // ... implementation ...
343
+ // return false; // To prevent default link action
344
+ // }
295
345
  // Private Method to load Eloqua Scripts
296
346
  async_load() {
297
- const scriptUrl = 'http://img.en25.com/i/elqCfg.min.js';
347
+ const scriptUrl = 'https://img.en25.com/i/elqCfg.min.js';
298
348
  const scriptElement = document.createElement('script');
299
349
  scriptElement.type = 'text/javascript';
300
350
  scriptElement.async = true;
@@ -314,6 +364,6 @@ export class ElqLib {
314
364
  console.log(`Async loading of script ${scriptUrl} initiated.`);
315
365
  }
316
366
  }
317
- ElqLib._elqQ = [];
367
+ ElqLib._elqQ = window['_elqQ'] || [];
318
368
  // Static member initialization
319
369
  //ElqLib._elqQ = window['_elqQ'] || [];
@@ -379,7 +379,7 @@ const DynamicBoxBundle$1 = class extends HTMLElement$1 {
379
379
  static get style() { return dynamicBoxBundleCss; }
380
380
  };
381
381
 
382
- const embeddedFormCss = ":host{display:block}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}";
382
+ const embeddedFormCss = ":host{display:block}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.ptc-embedded-form.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}@keyframes rollUp{from{height:auto;opacity:1}to{height:0;opacity:0}}.ptc-form-roll-up{animation:rollUp 1s forwards;}";
383
383
 
384
384
  const EmbeddedForm$1 = class extends HTMLElement$1 {
385
385
  constructor() {
@@ -396,6 +396,7 @@ const EmbeddedForm$1 = class extends HTMLElement$1 {
396
396
  howhearselfreport: '',
397
397
  policyChecked: false,
398
398
  };
399
+ this.isSubmitted = false;
399
400
  }
400
401
  componentDidLoad() {
401
402
  this.onDataLookup();
@@ -445,6 +446,7 @@ const EmbeddedForm$1 = class extends HTMLElement$1 {
445
446
  bubbles: true,
446
447
  });
447
448
  this.el.dispatchEvent(formSubmitEvent);
449
+ this.isSubmitted = true;
448
450
  console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone, this.formData.country, this.formData.inquiryReason, this.formData.howhearselfreport, this.formData.policyChecked);
449
451
  }
450
452
  else {
@@ -472,7 +474,8 @@ const EmbeddedForm$1 = class extends HTMLElement$1 {
472
474
  invalidLength === 0);
473
475
  }
474
476
  render() {
475
- return (h$1(Host, null, h$1("div", { class: "ptc-container ptc-section-standard flex-adjustments" }, h$1("div", { class: "form-wrapper" }, h$1("max-width-container", { "max-width": "277", breakpoint: 480 }, h$1("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h$1("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h$1("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h$1("ptc-spacer", { breakpoint: "small", size: "small" }), h$1("ptc-spacer", { breakpoint: "small", size: "small" })), h$1("form", { onSubmit: event => this.handleSubmit(event) }, h$1("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", name: "firstname" }), h$1("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", name: "lastname" }), h$1("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", name: "company-field" }), h$1("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", name: "email" }), h$1("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", name: "country" }, h$1("ul", { class: "mdc-list" }, h$1("li", { class: "mdc-list-item", "data-value": "" }, h$1("span", { class: "mdc-list-item__ripple" })), h$1("li", { class: "mdc-list-item", "data-value": "USA" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "USA")), h$1("li", { class: "mdc-list-item", "data-value": "Canada" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Canada")), h$1("li", { class: "mdc-list-item", "data-value": "China" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "China")))), h$1("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", name: "phone" }), h$1("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", name: "inquiryreason", "field-id": "contact-inquiry" }, h$1("ul", { class: "mdc-list" }, h$1("li", { class: "mdc-list-item", "data-value": "" }, h$1("span", { class: "mdc-list-item__ripple" })), h$1("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h$1("li", { class: "mdc-list-item", "data-value": "CAD" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h$1("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h$1("ptc-textfield", { "field-id": "self-reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", name: "howhearselfreport" }), h$1("ptc-textfield", { type: "hidden", "ptc-data-eloqua-name": "test", "input-value": "test" }), h$1("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "policy1" }), h$1("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; margin-top: 48px; display:block; text-align:right;}" }, "Submit"))))));
477
+ const formClass = this.isSubmitted ? "ptc-form-roll-up" : "";
478
+ return (h$1(Host, null, h$1("div", { class: "ptc-container ptc-section-standard flex-adjustments" }, h$1("div", { class: "form-wrapper ptc-embedded-form" }, h$1("max-width-container", { "max-width": "277", breakpoint: 480 }, h$1("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h$1("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h$1("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h$1("ptc-spacer", { breakpoint: "small", size: "small" }), h$1("ptc-spacer", { breakpoint: "small", size: "small" })), h$1("form", { onSubmit: event => this.handleSubmit(event), class: formClass }, h$1("div", { id: "not-me-link-id" }), h$1("div", { id: "not-me-additional-top", class: "not-me-additional-text" }), h$1("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", name: "firstname" }), h$1("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", name: "lastname" }), h$1("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", name: "company-field" }), h$1("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", name: "email" }), h$1("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", name: "country" }, h$1("ul", { class: "mdc-list" }, h$1("li", { class: "mdc-list-item", "data-value": "" }, h$1("span", { class: "mdc-list-item__ripple" })), h$1("li", { class: "mdc-list-item", "data-value": "USA" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "USA")), h$1("li", { class: "mdc-list-item", "data-value": "Canada" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Canada")), h$1("li", { class: "mdc-list-item", "data-value": "China" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "China")))), h$1("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", name: "phone" }), h$1("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", name: "inquiryreason", "field-id": "contact-inquiry" }, h$1("ul", { class: "mdc-list" }, h$1("li", { class: "mdc-list-item", "data-value": "" }, h$1("span", { class: "mdc-list-item__ripple" })), h$1("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h$1("li", { class: "mdc-list-item", "data-value": "CAD" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h$1("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h$1("span", { class: "mdc-list-item__ripple" }), h$1("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h$1("ptc-textfield", { "field-id": "self-reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", name: "howhearselfreport" }), h$1("ptc-textfield", { type: "hidden", "ptc-data-eloqua-name": "test", "input-value": "test" }), h$1("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "policy1" }), h$1("div", { id: "not-me-additional-bottom", class: "not-me-additional-text" }), h$1("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; margin-top: 48px; display:block; text-align:right;}" }, "Submit"))))));
476
479
  }
477
480
  get el() { return this; }
478
481
  static get style() { return embeddedFormCss; }
@@ -8038,7 +8041,7 @@ class ElqLib {
8038
8041
  this.visitor_elq_id = null;
8039
8042
  this.field_mappings = [];
8040
8043
  this.callback_queue = [];
8041
- //private fields_populated: boolean = false;
8044
+ this.fields_populated = false;
8042
8045
  this.user_elq_email = '';
8043
8046
  this.user_elq_firstname = '';
8044
8047
  this.user_elq_lastname = '';
@@ -8078,6 +8081,8 @@ class ElqLib {
8078
8081
  setEloquaSiteId() {
8079
8082
  if (this.params.elq_site_id) {
8080
8083
  ElqLib._elqQ.push(['elqSetSiteId', this.params.elq_site_id]);
8084
+ ElqLib._elqQ.push(['elqUseFirstPartyCookie', 'tracking.ptc.com']);
8085
+ ElqLib._elqQ.push(['elqTrackPageView', window.location.href]);
8081
8086
  }
8082
8087
  }
8083
8088
  fire_pageview(url) {
@@ -8104,7 +8109,8 @@ class ElqLib {
8104
8109
  }
8105
8110
  else {
8106
8111
  // If no visitor ID, attempt to do a visitor lookup with an Eloqua cookie
8107
- this.lookup_visitor_by_cookie();
8112
+ this.lookup_visitor_by_cookie(); //preference center
8113
+ this.lookup_contact_by_email();
8108
8114
  }
8109
8115
  }
8110
8116
  add_field_mapping(mapping) {
@@ -8173,11 +8179,11 @@ class ElqLib {
8173
8179
  }
8174
8180
  }
8175
8181
  }
8176
- // After processing the queue, you might want to update user details or perform other operations
8182
+ // After processing the queue, update user details or perform other operations
8177
8183
  if (actionSucceeded) {
8178
8184
  this.update_user_details();
8185
+ this.populate_mapped_fields();
8179
8186
  }
8180
- //this.populate_mapped_fields();
8181
8187
  // ...additional code to handle the aftermath of callback processing...
8182
8188
  }
8183
8189
  lookup_visitor_by_cookie() {
@@ -8216,9 +8222,10 @@ class ElqLib {
8216
8222
  }
8217
8223
  }
8218
8224
  handle_visitor_lookup() {
8219
- const email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
8225
+ //console.log('Contact Email: ' + this.params.elq_field_contact_email)
8226
+ const email = window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email); //it was elq_field_visitor_email ( V_Email_Address)
8220
8227
  if (email) {
8221
- console.log(`LOOKUP: Found visitor email address: ${email}`);
8228
+ console.log(`LOOKUP: Found contact email address: ${email}`);
8222
8229
  this.user_elq_email = email.trim();
8223
8230
  this.lookup_contact_by_email();
8224
8231
  this.callback_queue.push(this.handle_contact_lookup.bind(this));
@@ -8237,36 +8244,62 @@ class ElqLib {
8237
8244
  return false;
8238
8245
  }
8239
8246
  }
8240
- // private populate_mapped_fields(): void {
8241
- // console.log("MAPPING: Starting field mapping");
8242
- // // Loop through all mappings
8243
- // for (mapping_set in field_mappings) {
8244
- // for (mapping_element in field_mappings[mapping_set]) {
8245
- // var mapping_elq_field = field_mappings[mapping_set][mapping_element];
8246
- // var element = document.getElementById(mapping_element);
8247
- // var field_value = GetElqContentPersonalizationValue(mapping_elq_field);
8248
- // // Check that field exists
8249
- // if (element == null) {
8250
- // log("MAPPING: Could not populate element '" + mapping_element + "' as it does not exist");
8251
- // }
8252
- // else if (element.value != '') {
8253
- // log("MAPPING: Could not populate element '" + mapping_element + "' as it already contained a value");
8254
- // }
8255
- // else if (field_value == '') {
8256
- // log("MAPPING: Could not populate element '" + mapping_element + "' as the Eloqua field '" + mapping_elq_field + "' contained no data");
8257
- // }
8258
- // else {
8259
- // fields_populated = true;
8260
- // element.value = field_value;
8261
- // log("MAPPING: Mapped element '" + mapping_element + "' with Eloqua field '" + mapping_elq_field + "'");
8262
- // }
8263
- // }
8264
- // }
8265
- // console.log("MAPPING: Finished field mapping");
8266
- // // Update notme link
8267
- // //update_notme_link ();
8268
- // }
8247
+ populate_mapped_fields() {
8248
+ console.log('MAPPING: Starting field mapping');
8249
+ this.field_mappings.forEach(({ elementId, elqFieldName }) => {
8250
+ const element = document.getElementById(elementId);
8251
+ const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
8252
+ if (element && fieldValue) {
8253
+ element.value = fieldValue;
8254
+ element.style.display = 'none'; // Hide the field
8255
+ this.fields_populated = true;
8256
+ }
8257
+ });
8258
+ console.log('MAPPING: Finished ');
8259
+ if (this.fields_populated) {
8260
+ this.update_notme_link();
8261
+ }
8262
+ }
8269
8263
  update_user_details() {
8264
+ console.log('displaying user info...');
8265
+ if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
8266
+ document
8267
+ .querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
8268
+ .forEach((element) => {
8269
+ if (element.tagName === 'SPAN') {
8270
+ const spanText = element;
8271
+ const spanEloquaName = spanText.getAttribute('data-eloqua-name');
8272
+ if (spanEloquaName !== null) {
8273
+ const spanElqValue = window.GetElqContentPersonalizationValue(spanEloquaName);
8274
+ if (spanElqValue !== '' && spanElqValue.length > 0) {
8275
+ spanText.textContent = spanElqValue;
8276
+ }
8277
+ }
8278
+ }
8279
+ else if (element.className.includes('intl-tel-input')) {
8280
+ const telInput = element;
8281
+ const eloquaName = telInput.getAttribute('data-eloqua-name');
8282
+ if (eloquaName !== null) {
8283
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
8284
+ if (elqValue !== '' && elqValue.length > 0) {
8285
+ setTimeout(() => {
8286
+ telInput.placeholder = elqValue;
8287
+ }, 1000);
8288
+ }
8289
+ }
8290
+ }
8291
+ else {
8292
+ const input = element;
8293
+ const eloquaName = input.getAttribute('data-eloqua-name');
8294
+ if (eloquaName !== null) {
8295
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
8296
+ if (elqValue !== '' && elqValue.length > 0) {
8297
+ input.value = elqValue;
8298
+ }
8299
+ }
8300
+ }
8301
+ });
8302
+ }
8270
8303
  if (this.user_elq_email == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email) != '') {
8271
8304
  this.user_elq_email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
8272
8305
  }
@@ -8310,22 +8343,42 @@ class ElqLib {
8310
8343
  // var link = $('<a href="">' + message + '</a>').appendTo(notme_link_element).click(this.remove_user_details);
8311
8344
  // }
8312
8345
  // }
8313
- // private remove_user_details(): void {
8314
- // this.user_elq_email = '';
8315
- // this.user_elq_firstname = '';
8316
- // this.user_elq_lastname = '';
8317
- // $('.' + this.params.notme_fields_class).val('');
8318
- // $('#' + this.params.notme_link_id)
8319
- // .find('a')
8320
- // .remove();
8321
- // //Flush out old user cookie
8322
- // ElqLib._elqQ.push(['elqVisitorGuid', ' ']);
8323
- // ElqLib._elqQ.push(['elqTrackPageView']);
8324
- // //return false;
8325
- // }
8346
+ update_notme_link() {
8347
+ // Assuming the user's first and last name are available from Eloqua fields
8348
+ const firstName = window.GetElqContentPersonalizationValue('elq_field_visitor_firstname');
8349
+ const lastName = window.GetElqContentPersonalizationValue('elq_field_visitor_lastname');
8350
+ const notMeLinkElement = document.getElementById('not-me-link-id'); // Adjust ID as necessary
8351
+ if (notMeLinkElement) {
8352
+ let message = this.params.notme_message_noname;
8353
+ if (firstName && lastName) {
8354
+ //message = `Not ${firstName} ${lastName}? Click here.`;
8355
+ message = this.params.notme_message.replace('{name}', `${firstName} ${lastName}`);
8356
+ }
8357
+ notMeLinkElement.innerHTML = `<a href="#" onclick="return false;">${message}</a>`;
8358
+ notMeLinkElement.onclick = this.remove_user_details.bind(this);
8359
+ }
8360
+ }
8361
+ remove_user_details() {
8362
+ this.user_elq_email = '';
8363
+ this.user_elq_firstname = '';
8364
+ this.user_elq_lastname = '';
8365
+ $('.' + this.params.notme_fields_class).val('');
8366
+ $('#' + this.params.notme_link_id)
8367
+ .find('a')
8368
+ .remove();
8369
+ //Flush out old user cookie
8370
+ ElqLib._elqQ.push(['elqVisitorGuid', ' ']);
8371
+ ElqLib._elqQ.push(['elqTrackPageView']);
8372
+ return false;
8373
+ }
8374
+ // private remove_user_details(): boolean {
8375
+ // // Clear user data and reset form fields
8376
+ // // ... implementation ...
8377
+ // return false; // To prevent default link action
8378
+ // }
8326
8379
  // Private Method to load Eloqua Scripts
8327
8380
  async_load() {
8328
- const scriptUrl = 'http://img.en25.com/i/elqCfg.min.js';
8381
+ const scriptUrl = 'https://img.en25.com/i/elqCfg.min.js';
8329
8382
  const scriptElement = document.createElement('script');
8330
8383
  scriptElement.type = 'text/javascript';
8331
8384
  scriptElement.async = true;
@@ -8345,17 +8398,16 @@ class ElqLib {
8345
8398
  console.log(`Async loading of script ${scriptUrl} initiated.`);
8346
8399
  }
8347
8400
  }
8348
- ElqLib._elqQ = [];
8401
+ ElqLib._elqQ = window['_elqQ'] || [];
8349
8402
  // Static member initialization
8350
8403
  //ElqLib._elqQ = window['_elqQ'] || [];
8351
8404
 
8352
- const ptcDataLookupCss = ":host{display:block}";
8405
+ const ptcDataLookupCss = ":host{display:block}#not-me-link-id{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-03)}#not-me-link-id a{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;text-decoration-line:underline}.not-me-additional-text{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-regular);line-height:normal;margin-bottom:var(--ptc-element-spacing-03)}";
8353
8406
 
8354
8407
  const PtcDataLookup$1 = class extends HTMLElement$1 {
8355
8408
  constructor() {
8356
8409
  super();
8357
8410
  this.__registerHost();
8358
- this.__attachShadow();
8359
8411
  this.elqSiteId = undefined;
8360
8412
  this.elqVisitorLookupKey = undefined;
8361
8413
  this.elqRecipientIdLookupKey = undefined;
@@ -8373,6 +8425,7 @@ const PtcDataLookup$1 = class extends HTMLElement$1 {
8373
8425
  }
8374
8426
  componentWillLoad() {
8375
8427
  this.initializeElqLib();
8428
+ this.elqLib.add_field_mapping({ elementId: 'email-field', elqFieldName: 'C_EmailAddress' });
8376
8429
  }
8377
8430
  initializeElqLib() {
8378
8431
  this.elqLib = new ElqLib({
@@ -8392,8 +8445,23 @@ const PtcDataLookup$1 = class extends HTMLElement$1 {
8392
8445
  });
8393
8446
  this.isInitialized = true;
8394
8447
  }
8448
+ getCookie(name) {
8449
+ let cookieValue = null;
8450
+ if (document.cookie) {
8451
+ const cookies = document.cookie.split(';');
8452
+ for (let cookie of cookies) {
8453
+ const [key, value] = cookie.trim().split('=');
8454
+ if (key === name) {
8455
+ cookieValue = decodeURIComponent(value);
8456
+ break;
8457
+ }
8458
+ }
8459
+ }
8460
+ return cookieValue;
8461
+ }
8395
8462
  async performDataLookup() {
8396
8463
  if (this.isInitialized) {
8464
+ this.elqLib.user_elq_email = this.getCookie('elq-uid');
8397
8465
  this.elqLib.find_eloqua_contact();
8398
8466
  }
8399
8467
  }
@@ -20865,7 +20933,7 @@ const PtcStickyTitle$1 = class extends HTMLElement$1 {
20865
20933
  static get style() { return ptcStickyTitleCss; }
20866
20934
  };
20867
20935
 
20868
- const ptcSubnavCss = ":host{display:block;width:100%;background-color:var(--color-gray-12);position:relative}@media only screen and (min-width: 1200px){:host{background-color:var(--color-gray-10)}}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:2000;transition:top 0.5s}:host .navbar{overflow-x:hidden}@media only screen and (min-width: 1200px){:host .navbar{overflow-x:visible}}:host .navbar .navbar-inner{max-width:1200px;margin:auto;box-sizing:border-box;padding:0px;display:none}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner{padding:0px;height:auto;display:block}}:host .navbar .navbar-inner .nav-wrapper{width:auto;margin:auto 0;min-width:163px;max-height:calc(100vh - 53px)}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner .nav-wrapper{width:auto;display:flex;justify-content:space-between;max-height:auto}}:host .navbar.navOpen .navbar-inner{display:block}:host .navbar .navbar-toggle{display:block;width:100%;text-align:center;color:var(--color-white);background-color:var(--color-gray-10);border:none;padding:16px;font-size:15px;line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .navbar .navbar-toggle svg{vertical-align:middle;margin-left:4px}@media only screen and (min-width: 1200px){:host .navbar .navbar-toggle{display:none}}";
20936
+ const ptcSubnavCss = ":host{display:block;width:100%;background-color:var(--color-gray-12);z-index:2000;position:relative}@media only screen and (min-width: 1200px){:host{background-color:var(--color-gray-10)}}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:2000;transition:top 0.5s}:host .navbar{overflow-x:hidden}@media only screen and (min-width: 1200px){:host .navbar{overflow-x:visible}}:host .navbar .navbar-inner{max-width:1200px;margin:auto;box-sizing:border-box;padding:0px;display:none}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner{padding:0px;height:auto;display:block}}:host .navbar .navbar-inner .nav-wrapper{width:auto;margin:auto 0;min-width:163px;max-height:calc(100vh - 53px)}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner .nav-wrapper{width:auto;display:flex;justify-content:space-between;max-height:auto}}:host .navbar.navOpen .navbar-inner{display:block}:host .navbar .navbar-toggle{display:block;width:100%;text-align:center;color:var(--color-white);background-color:var(--color-gray-10);border:none;padding:16px;font-size:15px;line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .navbar .navbar-toggle svg{vertical-align:middle;margin-left:4px}@media only screen and (min-width: 1200px){:host .navbar .navbar-toggle{display:none}}";
20869
20937
 
20870
20938
  const PtcSubnav$1 = class extends HTMLElement$1 {
20871
20939
  constructor() {
@@ -24789,7 +24857,7 @@ const PtcTextfield$1 = class extends HTMLElement$1 {
24789
24857
  this.mdcTextfield = mdcTextfield;
24790
24858
  } }, h$1("span", { class: "mdc-notched-outline ptc-textfield-outline" }, h$1("span", { class: "mdc-notched-outline__leading" }), h$1("span", { class: "mdc-notched-outline__trailing" })), h$1("input", Object.assign({ ref: customInput => {
24791
24859
  this.customInput = customInput;
24792
- } }, (this.getInputClassName() ? { class: this.getInputClassName() } : null), { type: this.type }, (this.required ? { required: true } : null), (this.ptcMaxLength ? { maxlength: this.ptcMaxLength } : null), { "aria-controls": this.name, "aria-describedby": this.name, "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }, (this.getValidationPattern() ? { pattern: this.getValidationPattern() } : null)))),
24860
+ }, id: this.fieldId }, (this.getInputClassName() ? { class: this.getInputClassName() } : null), { type: this.type }, (this.required ? { required: true } : null), (this.ptcMaxLength ? { maxlength: this.ptcMaxLength } : null), { "aria-controls": this.name, "aria-describedby": this.name, "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }, (this.getValidationPattern() ? { pattern: this.getValidationPattern() } : null)))),
24793
24861
  h$1("div", { class: `mdc-text-field-helper-line
24794
24862
  ${!!this.ptcMaxLength ? 'field-with-counter' : ''}` }, h$1("div", { class: "mdc-text-field-helper-text mdc-text-field-helper-text--validation-msg", id: this.name }, h$1("svg", { class: "input-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h$1("g", { "clip-path": "url(#clip0_12_1424)" }, h$1("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h$1("defs", null, h$1("clipPath", { id: "clip0_12_1424" }, h$1("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext), this.ptcMaxLength ? (h$1("div", { class: "mdc-text-field-character-counter" }, this.inputValue.length, " / ", this.ptcMaxLength)) : null),
24795
24863
  ]) : (h$1("input", { type: "hidden", "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }))));
@@ -25561,7 +25629,7 @@ const BundleExample = /*@__PURE__*/proxyCustomElement(BundleExample$1, [1,"bundl
25561
25629
  const BundleJumbotronExample = /*@__PURE__*/proxyCustomElement(BundleJumbotronExample$1, [1,"bundle-jumbotron-example",{"jumbotron":[1],"isIframe":[4,"is-iframe"]}]);
25562
25630
  const DropdownItem = /*@__PURE__*/proxyCustomElement(DropdownItem$1, [4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]);
25563
25631
  const DynamicBoxBundle = /*@__PURE__*/proxyCustomElement(DynamicBoxBundle$1, [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"]]]);
25564
- const EmbeddedForm = /*@__PURE__*/proxyCustomElement(EmbeddedForm$1, [0,"embedded-form",{"formData":[32]}]);
25632
+ const EmbeddedForm = /*@__PURE__*/proxyCustomElement(EmbeddedForm$1, [0,"embedded-form",{"formData":[32],"isSubmitted":[32]}]);
25565
25633
  const FeaturedList = /*@__PURE__*/proxyCustomElement(FeaturedList$1, [1,"featured-list",{"isMobile":[32],"selectedTabGloble":[32]},[[9,"resize","handleResize"],[4,"flTabClicked","handleflTabClicked"]]]);
25566
25634
  const FlTabContent = /*@__PURE__*/proxyCustomElement(FlTabContent$1, [1,"fl-tab-content",{"nameKey":[1,"name-key"],"selected":[4]}]);
25567
25635
  const FlTabHeader = /*@__PURE__*/proxyCustomElement(FlTabHeader$1, [6,"fl-tab-header",{"tabTitle":[1,"tab-title"],"nameKey":[1,"name-key"],"selected":[4],"initialHeader":[32]}]);
@@ -25589,7 +25657,7 @@ const PtcCaseStudiesSlider = /*@__PURE__*/proxyCustomElement(PtcCaseStudiesSlide
25589
25657
  const PtcCheckbox = /*@__PURE__*/proxyCustomElement(PtcCheckbox$1, [1,"ptc-checkbox",{"checked":[1025],"value":[1025],"disabled":[1028],"inputName":[1,"input-name"]}]);
25590
25658
  const PtcCollapseList = /*@__PURE__*/proxyCustomElement(PtcCollapseList$1, [1,"ptc-collapse-list",{"header":[1],"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32]}]);
25591
25659
  const PtcContainer = /*@__PURE__*/proxyCustomElement(PtcContainer$1, [1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1],"styles":[1]}]);
25592
- const PtcDataLookup = /*@__PURE__*/proxyCustomElement(PtcDataLookup$1, [1,"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"],"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"],"isInitialized":[32]}]);
25660
+ const PtcDataLookup = /*@__PURE__*/proxyCustomElement(PtcDataLookup$1, [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"],"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"],"isInitialized":[32]}]);
25593
25661
  const PtcDate = /*@__PURE__*/proxyCustomElement(PtcDate$1, [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"]}]);
25594
25662
  const PtcDropdown = /*@__PURE__*/proxyCustomElement(PtcDropdown$1, [1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]);
25595
25663
  const PtcDynamicCard = /*@__PURE__*/proxyCustomElement(PtcDynamicCard$1, [1,"ptc-dynamic-card",{"cardType":[1,"card-type"],"cardTitle":[1,"card-title"],"cardImgSrc":[1,"card-img-src"],"cardImgAlt":[1,"card-img-alt"],"cardScreen":[1,"card-screen"],"isExpanded":[4,"is-expanded"],"styles":[1],"overlayExists":[32]}]);
@@ -25670,7 +25738,7 @@ const PtcTheaterVideo = /*@__PURE__*/proxyCustomElement(PtcTheaterVideo$1, [6,"p
25670
25738
  const PtcTheaterVideoModal = /*@__PURE__*/proxyCustomElement(PtcTheaterVideoModal$1, [6,"ptc-theater-video-modal",{"cards":[32],"showModal":[32],"currentCardIndex":[32],"filteredTagName":[32],"modalType":[32]}]);
25671
25739
  const PtcTheaterVideoPlaylist = /*@__PURE__*/proxyCustomElement(PtcTheaterVideoPlaylist$1, [1,"ptc-theater-video-playlist",{"cardElements":[8,"card-elements"],"currentCardIndex":[32],"filteredTagName":[32]},[[4,"filterCliked","handleFilterClick"],[4,"vCardClicked","handleVCardClickedEvent"]]]);
25672
25740
  const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [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"]}]);
25673
- const PtcTooltip = /*@__PURE__*/proxyCustomElement(PtcTooltip$1, [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":[4,"is-small-screen"]},[[9,"resize","addTruncatedClass"],[9,"resize","windowResize"]]]);
25741
+ const PtcTooltip = /*@__PURE__*/proxyCustomElement(PtcTooltip$1, [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"]},[[9,"resize","addTruncatedClass"],[9,"resize","windowResize"]]]);
25674
25742
  const PtcTwoColumnMedia = /*@__PURE__*/proxyCustomElement(PtcTwoColumnMedia$1, [1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]);
25675
25743
  const PtcValuePropCard = /*@__PURE__*/proxyCustomElement(PtcValuePropCard$1, [1,"ptc-value-prop-card",{"cardHref":[1,"card-href"],"target":[1],"rel":[1],"cardTitle":[1,"card-title"],"backgroundImage":[1,"background-image"]}]);
25676
25744
  const SequentialBundle = /*@__PURE__*/proxyCustomElement(SequentialBundle$1, [1,"sequential-bundle",{"isMobile":[32]},[[9,"resize","handleResize"]]]);