at path:
ROOT
/
wp-content
/
themes
/
kadu
/
assets
/
js
/
nice-select.min.js
run:
R
W
Run
ScrollTrigger.min.js
41.68 KB
2023-09-23 05:34:08
R
W
Run
Delete
Rename
SplitText.min.js
15.24 KB
2024-03-17 04:31:32
R
W
Run
Delete
Rename
bootstrap.bundle.min.js
78.54 KB
2023-09-23 05:34:08
R
W
Run
Delete
Rename
counterup.min.js
2.13 KB
2024-02-03 04:01:36
R
W
Run
Delete
Rename
gsap.min.js
69.85 KB
2024-05-14 05:32:58
R
W
Run
Delete
Rename
jquery.min.js
85.48 KB
2023-12-07 05:07:16
R
W
Run
Delete
Rename
lenis.min.js
10.2 KB
2024-01-10 10:56:06
R
W
Run
Delete
Rename
magnific-popup.min.js
19.75 KB
2024-02-11 04:39:28
R
W
Run
Delete
Rename
main.js
21.14 KB
2024-07-04 12:01:29
R
W
Run
Delete
Rename
marquee.min.js
8.82 KB
2024-03-03 09:15:24
R
W
Run
Delete
Rename
nice-select.min.js
2.88 KB
2024-02-14 05:01:42
R
W
Run
Delete
Rename
swiper-bundle.min.js
144.99 KB
2023-12-07 05:04:10
R
W
Run
Delete
Rename
tilt.jquery.min.js
8.67 KB
2024-06-13 05:40:14
R
W
Run
Delete
Rename
waypoints.min.js
8.63 KB
2024-02-03 04:01:58
R
W
Run
Delete
Rename
wow.js
16.76 KB
2023-09-23 05:34:08
R
W
Run
Delete
Rename
error_log
up
📄
nice-select.min.js
Save
/* jQuery Nice Select - v1.0 https://github.com/hernansartorio/jquery-nice-select Made by Hernán Sartorio */ !function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("<div></div>").addClass("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(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("<li></li>").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".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.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.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 n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery);