PageSourceSearch

https://phenomgallery.com/cdn/shop/t/5/assets/select.js?v=35650943047906450611537277563

js phenomgallery.com collected 2026-10-03 21:31:26 UTC 3,191 bytes, 10 lines download raw bytes

1/*!
2 * jquery.customSelect() - v0.4.0
3 * http://adam.co/lab/jquery/customselect/
4 * 2013-04-28
5 *
6 * Copyright 2013 Adam Coulombe
7 * @license http://www.opensource.org/licenses/mit-license.html MIT License
8 * @license http://www.gnu.org/licenses/gpl.html GPL2 License 
9 */(function($){"use strict";$.fn.extend({customSelect:function(options){if(typeof document.body.style.maxHeight=="undefined")return this;var defaults={customClass:"customSelect",mapClass:!0,mapStyle:!0},options=$.extend(defaults,options),prefix=options.customClass,changed=function($select,customSelectSpan){var currentSelected=$select.find(":selected"),customSelectSpanInner=customSelectSpan.children(":first"),html=currentSelected.html()||"&nbsp;";customSelectSpanInner.html(html),currentSelected.attr("disabled")?customSelectSpan.addClass(getClass("DisabledOption")):customSelectSpan.removeClass(getClass("DisabledOption")),setTimeout(function(){customSelectSpan.removeClass(getClass("Open")),$(document).off("mouseup."+getClass("Open"))},60)},getClass=function(suffix){return prefix+suffix};return this.each(function(){var $select=$(this),customSelectInnerSpan=$("<span />").addClass(getClass("Inner")),customSelectSpan=$("<span />");$select.after(customSelectSpan.append(customSelectInnerSpan)),customSelectSpan.addClass(prefix),options.mapClass&&customSelectSpan.addClass($select.attr("class")),options.mapStyle&&customSelectSpan.attr("style",$select.attr("style")),$select.addClass("hasCustomSelect").on("update",function(){changed($select,customSelectSpan);var selectBoxWidth=parseInt($select.outerWidth(),10)-(parseInt(customSelectSpan.outerWidth(),10)-parseInt(customSelectSpan.width(),10));customSelectSpan.css({display:"inline-block"});var selectBoxHeight=customSelectSpan.outerHeight();$select.attr("disabled")?customSelectSpan.addClass(getClass("Disabled")):customSelectSpan.removeClass(getClass("Disabled")),customSelectInnerSpan.css({width:selectBoxWidth,display:"inline-block"}),$select.css({"-webkit-appearance":"menulist-button",width:customSelectSpan.outerWidth(),position:"absolute",opacity:0,height:selectBoxHeight,fontSize:customSelectSpan.css("font-size")})}).on("change",function(){customSelectSpan.addClass(getClass("Changed")),changed($select,customSelectSpan)}).on("keyup",function(){customSelectSpan.hasClass(getClass("Open"))||($select.blur(),$select.focus())}).on("mousedown",function(e){customSelectSpan.removeClass(getClass("Changed"))}).on("mouseup",function(e){customSelectSpan.hasClass(getClass("Open"))||(customSelectSpan.addClass(getClass("Open")),e.stopPropagation(),$(document).one("mouseup."+getClass("Open"),function(e2){e2.target!=$select.get(0)&&$.inArray(e2.target,$select.find("*").get())<0?$select.blur():changed($select,customSelectSpan)}))}).focus(function(){customSelectSpan.removeClass(getClass("Changed")).addClass(getClass("Focus"))}).blur(function(){customSelectSpan.removeClass(getClass("Focus")+" "+getClass("Open"))}).hover(function(){customSelectSpan.addClass(getClass("Hover"))},function(){customSelectSpan.removeClass(getClass("Hover"))}).trigger("update")})}})})(jQuery);
10//# sourceMappingURL=/cdn/shop/t/5/assets/select.js.map?v=35650943047906450611537277563

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.