PageSourceSearch

https://hotelespanamericano.com/sites/all/modules/nice_menus/superfish/js/superfish.js

js hotelespanamericano.com collected 2026-10-09 03:50:23 UTC 5,042 bytes, 153 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10
11/*
12 * Superfish v1.4.8 - jQuery menu widget
13 * Copyright (c) 2008 Joel Birch
14 *
15 * Dual licensed under the MIT and GPL licenses:
16 * 	http://www.opensource.org/licenses/mit-license.php
17 * 	http://www.gnu.org/licenses/gpl.html
18 *
19 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
20 */
21
22;(function($){
23	$.fn.superfish = function(op){
24
25		var sf = $.fn.superfish,
26			c = sf.c,
27			$arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),
28			over = function(){
29				var $$ = $(this), menu = getMenu($$);
30				clearTimeout(menu.sfTimer);
31				$$.showSuperfishUl().siblings().hideSuperfishUl();
32			},
33			out = function(){
34				var $$ = $(this), menu = getMenu($$), o = sf.op;
35				clearTimeout(menu.sfTimer);
36				menu.sfTimer=setTimeout(function(){
37					o.retainPath=($.inArray($$[0],o.$path)>-1);
38					$$.hideSuperfishUl();
39					if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
40				},o.delay);	
41			},
42			getMenu = function($menu){
43				var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
44				sf.op = sf.o[menu.serial];
45				return menu;
46			},
47			addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };
48			
49		return this.each(function() {
50			var s = this.serial = sf.o.length;
51			var o = $.extend({},sf.defaults,op);
52			o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
53				$(this).addClass([o.hoverClass,c.bcClass].join(' '))
54					.filter('li:has(ul)').removeClass(o.pathClass);
55			});
56			sf.o[s] = sf.op = o;
57			
58			$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
59				if (o.autoArrows) addArrow( $('>a:first-child',this) );
60			})
61			.not('.'+c.bcClass)
62				.hideSuperfishUl();
63			
64			var $a = $('a',this);
65			$a.each(function(i){
66				var $li = $a.eq(i).parents('li');
67				$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
68			});
69			o.onInit.call(this);
70			
71		}).each(function() {
72			var menuClasses = [c.menuClass];
73			if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
74			$(this).addClass(menuClasses.join(' '));
75		});
76	};
77
78	var sf = $.fn.superfish;
79	sf.o = [];
80	sf.op = {};
81	sf.IE7fix = function(){
82		var o = sf.op;
83		if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
84			this.toggleClass(sf.c.shadowClass+'-off');
85		};
86	sf.c = {
87		bcClass     : 'sf-breadcrumb',
88		menuClass   : 'sf-js-enabled',
89		anchorClass : 'sf-with-ul',
90		arrowClass  : 'sf-sub-indicator',
91		shadowClass : 'sf-shadow'
92	};
93	sf.defaults = {
94		hoverClass	: 'sfHover',
95		pathClass	: 'overideThisToUse',
96		pathLevels	: 1,
97		delay		: 800,
98		animation	: {opacity:'show'},
99		speed		: 'normal',
100		autoArrows	: true,
101		dropShadows : true,
102		disableHI	: false,		// true disables hoverIntent detection
103		onInit		: function(){}, // callback functions
104		onBeforeShow: function(){},
105		onShow		: function(){},
106		onHide		: function(){}
107	};
108	$.fn.extend({
109		hideSuperfishUl : function(){
110			var o = sf.op,
111				not = (o.retainPath===true) ? o.$path : '';
112			o.retainPath = false;
113			var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
114					.find('>ul').hide().css('visibility','hidden');
115			o.onHide.call($ul);
116			return this;
117		},
118		showSuperfishUl : function(){
119			var o = sf.op,
120				sh = sf.c.shadowClass+'-off',
121				$ul = this.addClass(o.hoverClass)
122					.find('>ul:hidden').css('visibility','visible');
123			sf.IE7fix.call($ul);
124			o.onBeforeShow.call($ul);
125			$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
126			return this;
127		}
128	});
129
130})(jQuery);
131
132}
133
134/*
135     FILE ARCHIVED ON 05:44:35 Dec 24, 2014 AND RETRIEVED FROM THE
136     INTERNET ARCHIVE ON 14:11:36 Aug 15, 2026.
137     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
138
139     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
140     SECTION 108(a)(3)).
141*/
142/*
143playback timings (ms):
144  captures_list: 0.469
145  exclusion.robots: 0.065
146  exclusion.robots.policy: 0.054
147  esindex: 0.008
148  cdx.remote: 26.435
149  LoadShardBlock: 51.36 (3)
150  PetaboxLoader3.datanode: 317.701 (4)
151  PetaboxLoader3.resolve: 59.813 (3)
152  load_resource: 375.795
153*/

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.