1"use strict"; 2 3(function ($, Drupal) { 4 Drupal.behaviors.analyticsFormSettings = { 5 attach: function attach(context) { 6 var formsList = [{ 7 formSelector: '.doctor-finder-tool', 8 resultSelector: '.geolocation-map-wrapper', 9 errorSelector: '.error', 10 formName: 'jynarque|dtc|nephrologist finder form', 11 formType: 'locator|non-dynamic', 12 ajax: true, 13 formFieldPopulated: ['field_geo_proximity-zip'], 14 simpleErrorsFormat: true 15 }, { 16 formSelector: '.webform-submission-webinar-registration-form', 17 resultSelector: '.confirmation-message', 18 errorSelector: '.form-item--error-message, .alert-danger:not(.fade), .captcha-error', 19 formName: 'jynarque|dtc|adpkd peer conversations form', 20 formType: 'signup form|non-dynamic form', 21 ajax: true, 22 stepsSelectors: { 23 1: '[data-webform-key="step_1"]', 24 2: '[data-webform-key="step_2"]', 25 3: '[data-webform-key="step_3"]', 26 4: '[data-webform-key="step_4"]' 27 }, 28 simpleErrorsFormat: true 29 }, { 30 formSelector: '.webform-submission-talk-with-a-peer-mentor-form', 31 resultSelector: '.confirmation-message', 32 errorSelector: '.form-item--error-message, .alert-danger:not(.fade), .captcha-error', 33 formName: 'jynarque|dtc|adpkd peer mentor program form', 34 formType: 'signup form|non-dynamic form', 35 ajax: true, 36 stepsSelectors: { 37 2: '[data-webform-key="second_step"]', 38 3: '[data-webform-key="third_step"]', 39 4: '[data-webform-key="fourth_step"]' 40 }, 41 simpleErrorsFormat: true 42 }, { 43 formSelector: '.webform-submission-questionnaire-form', 44 resultSelector: '.webform-confirmation-content', 45 formName: 'jynarque|dtc|is jynarque right for you form', 46 formType: 'talk to your doctor|non-dynamic form', 47 ajax: true, 48 newPageConfirmation: true, 49 formResult: '.webform-result__message h1', 50 addCustomClasses: { 51 '.radios--wrapper.fieldgroup': 'data-analytics-form-questionblock', 52 '.radios--wrapper .fieldset-legend': 'data-analytics-form-question', 53 '.radios--wrapper .js-webform-radios input': 'data-analytics-form-answer' 54 }, 55 simpleErrorsFormat: true 56 }, { 57 formSelector: '.otsuka-jynarque-hcc-calendar-form', 58 resultSelector: '', 59 formName: 'jynarque|dtc|lab test reminder calendar form', 60 formType: 'reminder form|non-dynamic form', 61 simpleErrorsFormat: true 62 }]; 63 Drupal.analytics.initForm(formsList); 64 } 65 }; 66})(jQuery, Drupal);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.