PageSourceSearch

https://parklouie.com/wp-content/plugins/arforms-form-builder/js/arforms_controls.js?ver=1.8.5_2

js parklouie.com collected 2026-09-24 12:52:26 UTC 2,371 bytes, 1 lines download raw bytes

1"use strict";const arforms_controls=class{constructor(){this.arforms_initialize_form_fields()}arforms_initialize_form_fields(){this.arforms_initialize_datepicker(),this.arforms_initialize_timepicker()}arforms_initialize_timepicker(){var t=document.querySelectorAll(".arf_timepciker");if(null!=t&&0<t.length)for(var e of t){var a=e.getAttribute("data-field-options");let i=JSON.parse(a),o=24==i.clock?"H:mm":"h:mm A";a=i.step||30;let t={locale:i.timepickerlocalization,format:o,stepping:a};null!=e.getAttribute("data-rtl")&&(t.widgetPositioning={horizontal:"right",vertical:"auto"}),t=wp.hooks.applyFilters("arforms_modify_timepicker_options",t,e),jQuery(e).datetimepicker(t),jQuery(e).on("dp.change",function(t){var e,a=jQuery(this).val(),r=jQuery(this).attr("id")+"_time_formatted";""==a?(jQuery(this).removeClass("arf_material_active"),jQuery("#"+r).val(a).trigger("change")):(a=jQuery(this).data("DateTimePicker").viewDate(),e=i.timepickerlocalization||"en",e=moment(a._d).locale(e).format(o),jQuery(this).val(e),e=moment(a._d).locale("en").format(o),jQuery("#"+r).val(e).trigger("change"))})}}arforms_initialize_datepicker(){var t=document.querySelectorAll(".arforms_datepicker_control");if(null!=t&&0<t.length)for(var e of t){var a=e.getAttribute("data-field-options"),a=JSON.parse(a),i=e.getAttribute("data-start-date"),o=e.getAttribute("data-end-date"),l=e.getAttribute("data-date-new-format");let r=e.getAttribute("data-cl-format"),t={locale:a.locale,useCurrent:1==a.currentdefaultdate,format:e.getAttribute("data-date-format"),minDate:moment(""+i,""+l),maxDate:moment(""+o,""+l),daysOfWeekDisabled:null!=e.getAttribute("data-off-days")?JSON.parse(e.getAttribute("data-off-days")):[],keyBinds:""};""!=a.show_time_calendar&&(t.stepping=a.step),null!=e.getAttribute("data-rtl")&&(t.widgetPositioning={horizontal:"right",vertical:"auto"}),t=wp.hooks.applyFilters("arforms_modify_datepicker_options",t,e),jQuery(e).datetimepicker(t),jQuery(e).on("dp.change",function(t){jQuery(this).trigger("change");var e=jQuery(this).val(),a=jQuery(this).attr("id")+"_formatted";""==e?(jQuery(this).removeClass("arf_material_active"),jQuery("#"+a).val(e).trigger("change")):(e=jQuery(this).data("DateTimePicker").viewDate()._d,e=moment(e).format(r),jQuery(this).addClass("arf_material_active"),jQuery("#"+a).val(e).trigger("change"))})}}},arforms_controls_obj=new arforms_controls;

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.