1var jcd=jcd||{};!function(e){jcd.customForm=function(t){"use strict";var o=void 0!==document.dir?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir");function c(){e("head meta[name=viewport]").remove(),e("head").prepend('<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1" />')}e(once("customFormStyckySelect",".c-sel-stycky",t)).each(function(){jcf.setOptions("Select",{useCustomScroll:!1,alwaysPreventMouseWheel:!1,maxVisibleItems:10,wrapNative:!1,fakeDropInBody:!1,wrapNativeOnMobile:!0,flipDropToFit:!0,handleResize:!0}),jcf.replace(".c-sel-stycky")}),e(".slide-to-date .on-device .c-sel").change(function(){window.location=e(".slide-to-date .on-device .c-sel option:selected").attr("value")}),e(once("customFormInBody",".c-sel, .jcdecaux-form-embed-block .form-select,.contact-form .form-select",t)).each(function(){jcf.setOptions("Select",{useCustomScroll:!1,alwaysPreventMouseWheel:!1,maxVisibleItems:10,wrapNative:!1,fakeDropInBody:!0,wrapNativeOnMobile:!0,flipDropToFit:!0,handleResize:!0}),jcf.replace(".c-sel"),jcf.replace(".jcdecaux-form-embed-block .form-select"),jcf.replace(".contact-form .form-select")}),e(once("customFormInPopup","html .c-sel-popup",t)).each(function(){jcf.setOptions("Select",{useCustomScroll:!1,alwaysPreventMouseWheel:!1,maxVisibleItems:10,wrapNative:!1,fakeDropInBody:!0,wrapNativeOnMobile:!0,flipDropToFit:!0,handleResize:!0}),jcf.replace(".c-sel-popup")}),e(window).bind("orientationchange",function(t){jcf.refresh(".c-sel-popup"),jcf.refresh(".c-sel"),jcf.refresh(".c-sel-stycky"),e(".c-sel-popup").hide(0),e(".c-sel").hide(0),e(".c-sel-stycky").hide(0)},!1),e(once("customFormCheckbox",e("input:checkbox",t))).each(function(){jcf.setOptions("Checkbox",{wrapNative:!0}),jcf.replace("input:checkbox")}),e(once("customFormFormCheckbox",".form-checkbox",t)).each(function(){jcf.setOptions("Checkbox",{wrapNative:!0}),jcf.replace(".form-checkbox")}),e(once("customFormRadio",".radio",t)).each(function(){jcf.setOptions("Radio",{wrapNative:!0}),jcf.replace(".radio")}),e(once("customFormFormRadio",".form-radio",t)).each(function(){jcf.setOptions("Radio",{wrapNative:!0}),jcf.replace(".form-radio")}),"rtl"===o?e(once("customFormDatepicker",".datepicker",t)).each(function(){e(this).find("input").datepicker({isRTL:!0}),e(this).find("input").attr("placeholder","jj/mm/aaaa")}):e(once("customFormDatepicker",".datepicker",t)).each(function(){e(this).find("input").datepicker({isRTL:!1}),e(this).find("input").attr("placeholder","jj/mm/aaaa")}),e(once("customCalendar",".atc-style-blue",t)).each(function(){e(this).each(function(){e(this).click(function(t){e(t.target).closest(".jcd-addtocalendar").hasClass("openlist")?(e(".atcb-link").removeClass("jcf-drop-active"),e(".atcb-list").removeClass("visible"),e(".atc-style-blue").removeClass("openlist")):(t.preventDefault(),e(".jcd-addtocalendar.atc-style-blue").removeClass("openlist"),e(this).addClass("openlist"))})})}),e(document).click(function(t){0===e(t.target).closest(".atc-style-blue").length&&"atcb-link"!==e(t.target).attr("class")&&(e(".atcb-link").removeClass("jcf-drop-active"),e(".atcb-list").removeClass("visible"),e(".atc-style-blue").removeClass("openlist"))}),e(".mobile-filter-nav .c-sel option").each(function(){e(this).html(e(this).html().toUpperCase())}),e(once("single-file",".js-form-type-webform-document-file,.js-form-type-managed-file,.js-form-type-webform-image-file,.js-form-type-webform-video-file,.js-form-type-webform-audio-file",t)).each(function(){var t=e(this);"multiple"===e(this).find('input[type="file"]').attr("multiple")?(t.append('<div class="jcf-upload-button">'+Drupal.t("Choose files")+"</div>"),t.closest(".js-form-item").addClass("multiple-file-wrapper")):(t.append('<div class="jcf-upload-button--single">'+Drupal.t("Choose a file")+"</div>"),t.closest(".js-form-item").addClass("one-file-wrapper")),t.find(".jcf-upload-button--single,.jcf-upload-button").on("click",function(){e(this).closest(".form-item").find("input:file").click()}),t.find("input:file").on("change",function(){e(".file-upload-js-error",t)&&e(".file-upload-js-error",t).text()||e(this).next("input:submit").mou
1sedown()})}),e('input[type="text"],textarea').each(function(){e(this).closest("div").on("touchstart",function(){e("head meta[name=viewport]").remove(),e("head").prepend('<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />')}),e(this).closest("div").on("touchend",function(){setTimeout(c,500)})})}}(jQuery),Drupal.behaviors.customForm={attach:jcd.customForm},jQuery.isReady&&Drupal.behaviors.customForm.attach(document);
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.