PageSourceSearch

https://premiercsi.com/DesktopModules/DS_QuickForm/JS/qf_multistep.js?v=5.3.1.0

js premiercsi.com collected 2026-10-06 21:31:08 UTC 3,052 bytes, 1 lines download raw bytes

1var QF_MultiStep = function (t, e) { this.$elem = t, this.defaults = { themecolor: "#2059a6" }, this.currentStep = 1, this.totalStep = 1, this.options = $.extend({}, this.defaults, e) }; QF_MultiStep.prototype = { init: function () { return $("multistep" + this.options.ModuleId + " .qf_right_icon").html(svg_right), this.totalStep = $(".qf_step", this.$elem).length, this.displayStep(1), this.addEvents(), this.$elem }, displayStep: function (t) { $(".qf_step", this.$elem).hide(), $(".qf_step" + t, this.$elem).show(), $(".qf_back", this.$elem).show(), $(".qf_next", this.$elem).show(), $(".qf_submit_div" + this.options.ModuleId).hide(), $(".qf_captcha_div" + this.options.ModuleId).hide(); var e = $(".qf_step" + t, this.$elem).attr("stepname"); $("#multistep" + this.options.ModuleId + " .qf_steps_item").removeClass("active").removeClass("current"); var s = $("#multistep" + this.options.ModuleId + " .qf_count_step"), t = $("#multistep" + this.options.ModuleId + " .qf_check"); s.css("background-color", "unset"), t.css("background-color", "unset"); for (var o = 1; o <= this.totalStep; o++) { var i = $("#multistep" + this.options.ModuleId + " .qf_step_button" + o + " .qf_count_step"), l = $("#multistep" + this.options.ModuleId + " .qf_step_button" + o + " .qf_check"), n = $("#multistep" + this.options.ModuleId + " .qf_step_button" + o); o < this.currentStep ? (i.hide(), l.css("display", "block"), n.addClass("active"), i.css("background-color", this.options.themecolor), l.css("background-color", this.options.themecolor)) : (i.css("display", "block"), l.hide()), o == this.currentStep && (i.css("background-color", this.options.themecolor), l.css("background-color", this.options.themecolor), n.addClass("current").addClass("active")) } t = (this.currentStep / this.totalStep * 100).toFixed(2); $("#qf_form" + this.options.ModuleId + " .qf_progress_barinner").css("width", t + "%"), $("#qf_form" + this.options.ModuleId + " .qf_progress_num").html(t + "%"), $("#multistep_mobile" + this.options.ModuleId + " .qf_step_current").html(e), 1 == this.currentStep ? $(".qf_back", this.$elem).hide() : this.currentStep == this.totalStep && ($(".qf_next", this.$elem).hide(), $(".qf_submit_div" + this.options.ModuleId).show(), $(".qf_captcha_div" + this.options.ModuleId).show()), $("#multistep_mobile" + this.options.ModuleId + " .qf_number").html(this.currentStep + "/" + this.totalStep), SmartResize(this.options.ModuleId, this.options.labelAndControlLayout) }, addEvents: function () { var t = this; $(".qf_back", this.$elem).off("click").click(function () { t.currentStep-- , t.displayStep(t.currentStep), t.scrollToTop() }); t.options.ModuleId; $(".qf_next", this.$elem).off("click").click(function () { return !!qf_validate(t.options.ModuleId, !1) && (t.currentStep++ , t.displayStep(t.currentStep), void t.scrollToTop()) }) }, scrollToTop: function () { $("html,body").animate({ scrollTop: $("#qf_form" + this.options.ModuleId).offset().top - 30 }, 500) } }, $.fn.MultiStep = function (t) { return new QF_MultiStep(this, t).init() };

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.