PageSourceSearch

https://www.galaaxylaax.com/wp-content/themes/galaaxylaax/assets/js/flexmenu.min.js

js galaaxylaax.com collected 2026-10-04 13:33:27 UTC 2,245 bytes, 1 lines download raw bytes

1!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(v){var e,i=v(window).width(),n=v(window).height(),l=[];v(window).resize(function(){clearTimeout(e),e=setTimeout(function(){v(window).width()===i&&v(window).height()===n||(v(l).each(function(){v(this).flexMenu({undo:!0}).flexMenu(this.options)}),i=v(window).width(),n=v(window).height())},200)}),v.fn.flexMenu=function(e){var i,w=v.extend({threshold:2,cutoff:2,linkText:"More",linkTitle:"View More",linkTextAll:"Menu",linkTitleAll:"Open/Close Menu",shouldApply:function(){return!0},showOnHover:!0,popupAbsolute:!0,popupClass:"",undo:!1},e);return this.options=w,0<=(i=v.inArray(this,l))?l.splice(i,1):l.push(this),this.each(function(){var e,i,n,l,o,t,f=v(this),u=f.find("> li"),s=u.first(),d=u.last(),p=u.length,r=Math.floor(s.offset().top),a=Math.floor(s.outerHeight(!0)),h=!1;function c(e){return Math.ceil(e.offset().top)>=r+a}if(c(d)&&p>w.threshold&&!w.undo&&f.is(":visible")&&w.shouldApply()){var M=v('<ul class="flexMenu-popup" style="display:none;'+(w.popupAbsolute?" position: absolute;":"")+'"></ul>');for(M.addClass(w.popupClass),t=p;1<t;t--){if(i=c(e=f.find("> li:last-child")),t-1<=w.cutoff){v(f.children().get().reverse()).appendTo(M),h=!0;break}if(!i)break;e.appendTo(M)}h?f.append('<li class="flexMenu-viewMore flexMenu-allInPopup"><a href="#" title="'+w.linkTitleAll+'">'+w.linkTextAll+"</a></li>"):f.append('<li class="flexMenu-viewMore"><a href="#" title="'+w.linkTitle+'">'+w.linkText+"</a></li>"),c(n=f.find("> li.flexMenu-viewMore"))&&f.find("> li:nth-last-child(2)").appendTo(M),M.children().each(function(e,i){M.prepend(i)}),n.append(M),f.find("> li.flexMenu-viewMore > a").click(function(e){!function(e){v("li.flexMenu-viewMore.active").not(e).removeClass("active").find("> ul").hide()}(n),M.toggle(),n.toggleClass("active"),e.preventDefault()}),w.showOnHover&&"undefined"!=typeof Modernizr&&!Modernizr.touch&&n.hover(function(){M.show(),v(this).addClass("active")},function(){M.hide(),v(this).removeClass("active")})}else if(w.undo&&f.find("ul.flexMenu-popup")){for(l=(o=f.find("ul.flexMenu-popup")).find("li").length,t=1;t<=l;t++)o.find("> li:first-child").appendTo(f);o.remove(),f.find("> li.flexMenu-viewMore").remove()}})}});

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.