Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.48.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : cdp-select.min.js
!function(e){e.fn.cdpNiceSelect=function(t){function s(t){t.after(e("<div></div>").addClass("cdp-nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var s=t.next(),c=t.find("option"),n=t.find("option:selected");s.find(".current").html(n.data("display")||n.text()),c.each(function(t){var c=e(this),n=c.data("display");s.find("ul").append(e("<li></li>").attr("data-value",c.val()).attr("data-display",n||null).addClass("option"+(c.is(":selected")?" selected":"")+(c.is(":disabled")?" disabled":"")).html(c.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),c=e(this).next(".cdp-nice-select"),n=c.hasClass("open");c.length&&(c.remove(),s(t),n&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".cdp-nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".cdp-nice-select").length&&e(document).off(".cdp_nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("cdp-nice-select")||s(t)}),e(document).off(".cdp_nice_select"),e(document).on("click.cdp_nice_select",".cdp-nice-select",function(t){var s=e(this);e(".cdp-nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.cdp_nice_select",function(t){0===e(t.target).closest(".cdp-nice-select").length&&e(".cdp-nice-select").removeClass("open").find(".option")}),e(document).on("click.cdp_nice_select",".cdp-nice-select .option:not(.disabled)",function(t){var s=e(this),c=s.closest(".cdp-nice-select");c.find(".selected").removeClass("selected"),s.addClass("selected");var n=s.data("display")||s.text();c.find(".current").text(n),c.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.cdp_nice_select",".cdp-nice-select",function(t){var s=e(this),c=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?c.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var n=c.nextAll(".option:not(.disabled)").first();n.length>0&&(s.find(".focus").removeClass("focus"),n.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=c.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var c=document.createElement("a").style;return c.cssText="pointer-events:auto","auto"!==c.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery),jQuery(document).ready(function(e){e("body").on("mousewheel DOMMouseScroll",".cdp-nice-select .list, .cdp-content-with-scroll",function(t){let s=null;"mousewheel"==t.type?s=-1*t.originalEvent.wheelDelta:"DOMMouseScroll"==t.type&&(s=40*t.originalEvent.detail),s&&(t.preventDefault(),e(this).scrollTop(s+e(this).scrollTop()))})});
© 2025 XylotrechusZ