PageSourceSearch

https://www.turismovillaviciosa.es/v_portal/javascript/tooltipster.js

js turismovillaviciosa.es collected 2026-10-01 13:14:19 UTC 41,392 bytes, 1 lines download raw bytes

1(function(A,B){if(typeof define==="function"&&define.amd){define(["jquery"],function(C){return(B(C))})}else{if(typeof exports==="object"){module.exports=B(require("jquery"))}else{B(jQuery)}}}(this,function(D){var C={animation:"fade",animationDuration:350,content:null,contentAsHTML:false,contentCloning:false,debug:true,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:false,multiple:false,parent:null,plugins:["sideTip"],repositionOnScroll:false,restoration:"none",selfDestruction:true,theme:[],timer:0,trackerInterval:500,trackOrigin:false,trackTooltip:false,trigger:"hover",triggerClose:{click:false,mouseleave:false,originClick:false,scroll:false,tap:false,touchleave:false},triggerOpen:{click:false,mouseenter:false,tap:false,touchstart:false},updateAnimation:"rotate",zIndex:9999999},F=(typeof window!="undefined")?window:null,G={hasTouchCapability:!!(F&&("ontouchstart" in F||(F.DocumentTouch&&F.document instanceof F.DocumentTouch)||F.navigator.maxTouchPoints)),hasTransitions:J(),IE:false,semVer:"4.2.5",window:F},B=function(){this.__$emitterPrivate=D({});this.__$emitterPublic=D({});this.__instancesLatestArr=[];this.__plugins={};this._env=G};B.prototype={__bridge:function(N,P,O){if(!P[O]){var M=function(){};M.prototype=N;var L=new M();if(L.__init){L.__init(P)}D.each(N,function(Q,R){if(Q.indexOf("__")!=0){if(!P[Q]){P[Q]=function(){return L[Q].apply(L,Array.prototype.slice.apply(arguments))};P[Q].bridged=L}else{if(C.debug){console.log("The "+Q+" method of the "+O+" plugin conflicts with another plugin or native methods")}}}});P[O]=L}return this},__setWindow:function(L){G.window=L;return this},_getRuler:function(L){return new I(L)},_off:function(){this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_on:function(){this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_one:function(){this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_plugin:function(M){var L=this;if(typeof M=="string"){var N=M,O=null;if(N.indexOf(".")>0){O=L.__plugins[N]}else{D.each(L.__plugins,function(P,Q){if(Q.name.substring(Q.name.length-N.length-1)=="."+N){O=Q;return false}})}return O}else{if(M.name.indexOf(".")<0){throw new Error("Plugins must be namespaced")}L.__plugins[M.name]=M;if(M.core){L.__bridge(M.core,L,M.name)}return this}},_trigger:function(){var L=Array.prototype.slice.apply(arguments);if(typeof L[0]=="string"){L[0]={type:L[0]}}this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,L);this.__$emitterPublic.trigger.apply(this.__$emitterPublic,L);return this},instances:function(L){var N=[],M=L||".tooltipstered";D(M).each(function(){var P=D(this),O=P.data("tooltipster-ns");if(O){D.each(O,function(Q,R){N.push(P.data(R))})}});return N},instancesLatest:function(){return this.__instancesLatestArr},off:function(){this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments));return this},on:function(){this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments));return this},one:function(){this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments));return this},origins:function(L){var M=L?L+" ":"";return D(M+".tooltipstered").toArray()},setDefaults:function(L){D.extend(C,L);return this},triggerHandler:function(){this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments));return this}};D.tooltipster=new B();D.Tooltipster=function(M,L){this.__callbacks={close:[],open:[]};this.__closingTime;this.__Content;this.__contentBcr;this.__destroyed=false;this.__$emitterPrivate=D({});this.__$emitterPublic=D({});this.__enabled=true;this.__garbageCollector;this.__Geometry;this.__lastPosition;this.__namespace="tooltipster-"+Math.round(Math.random()*1000000);this.__options;this.__$originParents;this.__pointerIsOverOrigin=false;this.__previousThemes=[];this.__state="closed";this.__timeouts={close:[],open:null};this.__touchEvents=[];this.__tracker=null;this._$origin;this._$tooltip;this.__init(M,L)};D.Tooltipster.prototype={__init:function(O,P){var N=this;N._$origin=D(O);N.__options=D.extend(true,{},C,P);N.__optionsFormat();if(!G.IE||G.IE>=N.__options.IEmin){var M=null;if(N._$origin.data("tooltipster-initialTitle")===undefined){M=N._$origin.attr("title");if(M===undefined){M=null}N._$origin.data("tooltipster-initialTitle",M)}if(N.__options.content!==null){N.__contentSet(N.__options.content)}else{var L=N._$origin.attr("data-tooltip-content"),Q;if(L){Q=D(L)}if(Q&&Q[0]){N.__contentSet(Q.first())}else{N.__contentSet(M)}}N._$origin.removeAttr("title").addClass("tooltipstered");N.__prepareOrigin();N.__prepareGC();D.each(N.__options.plugins,function(R,S){N._plug(S)});if(G.hasTouchCapability){D(G.window.document.body).on("touchmove."+N.__namespace+"-triggerOpen",function(R){N._touchRecordEvent(R)})}N._on("created",function(){N.__prepareTooltip()})._on("repositioned",function(R){N.__lastPosition=R.position})}else{N.__options.disabled=true}},__contentInsert:function(){var L=this,M=L._$tooltip.find(".tooltipster-content"),N=L.__Content,O=function(P){N=P};L._trigger({type:"format",content:L.__Content,format:O});if(L.__options.functionFormat){N=L.__options.functionFormat.call(L,L,{origin:L._$origin[0]},L.__Content)}
1if(typeof N==="string"&&!L.__options.contentAsHTML){M.text(N)}else{M.empty().append(N)}return L},__contentSet:function(L){if(L instanceof D&&this.__options.contentCloning){L=L.clone(true)}this.__Content=L;this._trigger({type:"updated",content:L});return this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,Q=b._$origin,Y=b._$origin.is("area");if(Y){var g=b._$origin.parent().attr("name");Q=D('img[usemap="#'+g+'"]')}var X=Q[0].getBoundingClientRect(),m=D(G.window.document),Z=D(G.window),c=Q,o={available:{document:null,window:null},document:{size:{height:m.height(),width:m.width()}},window:{scroll:{left:G.window.scrollX||G.window.document.documentElement.scrollLeft,top:G.window.scrollY||G.window.document.documentElement.scrollTop},size:{height:Z.height(),width:Z.width()}},origin:{fixedLineage:false,offset:{},size:{height:X.bottom-X.top,width:X.right-X.left},usemapImage:Y?Q[0]:null,windowOffset:{bottom:X.bottom,left:X.left,right:X.right,top:X.top}}},L=false;if(Y){var N=b._$origin.attr("shape"),l=b._$origin.attr("coords");if(l){l=l.split(",");D.map(l,function(q,p){l[p]=parseInt(q)})}if(N!="default"){switch(N){case"circle":var S=l[0],T=l[1],M=l[2],j=T-M,U=S-M;o.origin.size.height=M*2;o.origin.size.width=o.origin.size.height;o.origin.windowOffset.left+=U;o.origin.windowOffset.top+=j;break;case"rect":var R=l[0],V=l[1],a=l[2],n=l[3];o.origin.size.height=n-V;o.origin.size.width=a-R;o.origin.windowOffset.left+=R;o.origin.windowOffset.top+=V;break;case"poly":var f=0,d=0,P=0,O=0,W="even";for(var k=0;k<l.length;k++){var h=l[k];if(W=="even"){if(h>P){P=h;if(k===0){f=P}}if(h<f){f=h}W="odd"}else{if(h>O){O=h;if(k==1){d=O}}if(h<d){d=h}W="even"}}o.origin.size.height=O-d;o.origin.size.width=P-f;o.origin.windowOffset.left+=f;o.origin.windowOffset.top+=d;break}}}var e=function(i){o.origin.size.height=i.height,o.origin.windowOffset.left=i.left,o.origin.windowOffset.top=i.top,o.origin.size.width=i.width};b._trigger({type:"geometry",edit:e,geometry:{height:o.origin.size.height,left:o.origin.windowOffset.left,top:o.origin.windowOffset.top,width:o.origin.size.width}});o.origin.windowOffset.right=o.origin.windowOffset.left+o.origin.size.width;o.origin.windowOffset.bottom=o.origin.windowOffset.top+o.origin.size.height;o.origin.offset.left=o.origin.windowOffset.left+o.window.scroll.left;o.origin.offset.top=o.origin.windowOffset.top+o.window.scroll.top;o.origin.offset.bottom=o.origin.offset.top+o.origin.size.height;o.origin.offset.right=o.origin.offset.left+o.origin.size.width;o.available.document={bottom:{height:o.document.size.height-o.origin.offset.bottom,width:o.document.size.width},left:{height:o.document.size.height,width:o.origin.offset.left},right:{height:o.document.size.height,width:o.document.size.width-o.origin.offset.right},top:{height:o.origin.offset.top,width:o.document.size.width}};o.available.window={bottom:{height:Math.max(o.window.size.height-Math.max(o.origin.windowOffset.bottom,0),0),width:o.window.size.width},left:{height:o.window.size.height,width:Math.max(o.origin.windowOffset.left,0)},right:{height:o.window.size.height,width:Math.max(o.window.size.width-Math.max(o.origin.windowOffset.right,0),0)},top:{height:Math.max(o.origin.windowOffset.top,0),width:o.window.size.width}};while(c[0].tagName.toLowerCase()!="html"){if(c.css("position")=="fixed"){o.origin.fixedLineage=true;break}c=c.parent()}return o},__optionsFormat:function(){if(typeof this.__options.animationDuration=="number"){this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]}if(typeof this.__options.delay=="number"){this.__options.delay=[this.__options.delay,this.__options.delay]}if(typeof this.__options.delayTouch=="number"){this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]}if(typeof this.__options.theme=="string"){this.__options.theme=[this.__options.theme]}if(this.__options.parent===null){this.__options.parent=D(G.window.document.body)}else{if(typeof this.__options.parent=="string"){this.__options.parent=D(this.__options.parent)}}if(this.__options.trigger=="hover"){this.__options.triggerOpen={mouseenter:true,touchstart:true};this.__options.triggerClose={mouseleave:true,originClick:true,touchleave:true}}else{if(this.__options.trigger=="click"){this.__options.triggerOpen={click:true,tap:true};this.__options.triggerClose={click:true,tap:true}}}this._trigger("options");return this},__prepareGC:function(){var L=this;
1if(L.__options.selfDestruction){L.__garbageCollector=setInterval(function(){var M=new Date().getTime();L.__touchEvents=D.grep(L.__touchEvents,function(O,N){return M-O.time>60000});if(!A(L._$origin)){L.close(function(){L.destroy()})}},20000)}else{clearInterval(L.__garbageCollector)}return L},__prepareOrigin:function(){var L=this;L._$origin.off("."+L.__namespace+"-triggerOpen");if(G.hasTouchCapability){L._$origin.on("touchstart."+L.__namespace+"-triggerOpen touchend."+L.__namespace+"-triggerOpen touchcancel."+L.__namespace+"-triggerOpen",function(N){L._touchRecordEvent(N)})}if(L.__options.triggerOpen.click||(L.__options.triggerOpen.tap&&G.hasTouchCapability)){var M="";if(L.__options.triggerOpen.click){M+="click."+L.__namespace+"-triggerOpen "}if(L.__options.triggerOpen.tap&&G.hasTouchCapability){M+="touchend."+L.__namespace+"-triggerOpen"}L._$origin.on(M,function(N){if(L._touchIsMeaningfulEvent(N)){L._open(N)}})}if(L.__options.triggerOpen.mouseenter||(L.__options.triggerOpen.touchstart&&G.hasTouchCapability)){var M="";if(L.__options.triggerOpen.mouseenter){M+="mouseenter."+L.__namespace+"-triggerOpen "}if(L.__options.triggerOpen.touchstart&&G.hasTouchCapability){M+="touchstart."+L.__namespace+"-triggerOpen"}L._$origin.on(M,function(N){if(L._touchIsTouchEvent(N)||!L._touchIsEmulatedEvent(N)){L.__pointerIsOverOrigin=true;L._openShortly(N)}})}if(L.__options.triggerClose.mouseleave||(L.__options.triggerClose.touchleave&&G.hasTouchCapability)){var M="";if(L.__options.triggerClose.mouseleave){M+="mouseleave."+L.__namespace+"-triggerOpen "}if(L.__options.triggerClose.touchleave&&G.hasTouchCapability){M+="touchend."+L.__namespace+"-triggerOpen touchcancel."+L.__namespace+"-triggerOpen"}L._$origin.on(M,function(N){if(L._touchIsMeaningfulEvent(N)){L.__pointerIsOverOrigin=false}})}return L},__prepareTooltip:function(){var L=this,M=L.__options.interactive?"auto":"";L._$tooltip.attr("id",L.__namespace).css({"pointer-events":M,zIndex:L.__options.zIndex});D.each(L.__previousThemes,function(N,O){L._$tooltip.removeClass(O)});D.each(L.__options.theme,function(N,O){L._$tooltip.addClass(O)});L.__previousThemes=D.merge([],L.__options.theme);return L},__scrollHandler:function(N){var L=this;if(L.__options.triggerClose.scroll){L._close(N)}else{if(A(L._$origin)&&A(L._$tooltip)){var Q=null;if(N.target===G.window.document){if(!L.__Geometry.origin.fixedLineage){if(L.__options.repositionOnScroll){L.reposition(N)}}}else{Q=L.__geometry();var P=false;if(L._$origin.css("position")!="fixed"){L.__$originParents.each(function(U,V){var T=D(V),S=T.css("overflow-x"),R=T.css("overflow-y");if(S!="visible"||R!="visible"){var W=V.getBoundingClientRect();if(S!="visible"){if(Q.origin.windowOffset.left<W.left||Q.origin.windowOffset.right>W.right){P=true;return false}}if(R!="visible"){if(Q.origin.windowOffset.top<W.top||Q.origin.windowOffset.bottom>W.bottom){P=true;return false}}}if(T.css("position")=="fixed"){return false}})}if(P){L._$tooltip.css("visibility","hidden")}else{L._$tooltip.css("visibility","visible");if(L.__options.repositionOnScroll){L.reposition(N)}else{var O=Q.origin.offset.left-L.__Geometry.origin.offset.left,M=Q.origin.offset.top-L.__Geometry.origin.offset.top;L._$tooltip.css({left:L.__lastPosition.coord.left+O,top:L.__lastPosition.coord.top+M})}}}L._trigger({type:"scroll",event:N,geo:Q})}}return L},__stateSet:function(L){this.__state=L;this._trigger({type:"state",state:L});return this},__timeoutsClear:function(){clearTimeout(this.__timeouts.open);this.__timeouts.open=null;D.each(this.__timeouts.close,function(L,M){clearTimeout(M)});this.__timeouts.close=[];return this},__trackerStart:function(){var L=this,M=L._$tooltip.find(".tooltipster-content");if(L.__options.trackTooltip){L.__contentBcr=M[0].getBoundingClientRect()}L.__tracker=setInterval(function(){if(!A(L._$origin)||!A(L._$tooltip)){L._close()}else{if(L.__options.trackOrigin){var O=L.__geometry(),P=false;if(K(O.origin.size,L.__Geometry.origin.size)){if(L.__Geometry.origin.fixedLineage){if(K(O.origin.windowOffset,L.__Geometry.origin.windowOffset)){P=true}}else{if(K(O.origin.offset,L.__Geometry.origin.offset)){P=true}}}if(!P){if(L.__options.triggerClose.mouseleave){L._close()}else{L.reposition()}}}if(L.__options.trackTooltip){var N=M[0].getBoundingClientRect();if(N.height!==L.__contentBcr.height||N.width!==L.__contentBcr.width){L.reposition();L.__contentBcr=N}}}},L.__options.trackerInterval);return L},_close:function(M,T,O){var U=this,R=true;U._trigger({type:"close",event:M,stop:function(){R=false}});if(R||O){if(T){U.__callbacks.close.push(T)}U.__callbacks.open=[];U.__timeoutsClear();var L=function(){D.each(U.__callbacks.close,function(W,X){X.call(U,U,{event:M,origin:U._$origin[0]})});
1U.__callbacks.close=[]};if(U.__state!="closed"){var P=true,Q=new Date(),N=Q.getTime(),V=N+U.__options.animationDuration[1];if(U.__state=="disappearing"){if(V>U.__closingTime&&U.__options.animationDuration[1]>0){P=false}}if(P){U.__closingTime=V;if(U.__state!="disappearing"){U.__stateSet("disappearing")}var S=function(){clearInterval(U.__tracker);U._trigger({type:"closing",event:M});U._$tooltip.off("."+U.__namespace+"-triggerClose").removeClass("tooltipster-dying");D(G.window).off("."+U.__namespace+"-triggerClose");U.__$originParents.each(function(W,X){D(X).off("scroll."+U.__namespace+"-triggerClose")});U.__$originParents=null;D(G.window.document.body).off("."+U.__namespace+"-triggerClose");U._$origin.off("."+U.__namespace+"-triggerClose");U._off("dismissable");U.__stateSet("closed");U._trigger({type:"after",event:M});if(U.__options.functionAfter){U.__options.functionAfter.call(U,U,{event:M,origin:U._$origin[0]})}L()};if(G.hasTransitions){U._$tooltip.css({"-moz-animation-duration":U.__options.animationDuration[1]+"ms","-ms-animation-duration":U.__options.animationDuration[1]+"ms","-o-animation-duration":U.__options.animationDuration[1]+"ms","-webkit-animation-duration":U.__options.animationDuration[1]+"ms","animation-duration":U.__options.animationDuration[1]+"ms","transition-duration":U.__options.animationDuration[1]+"ms"});U._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying");if(U.__options.animationDuration[1]>0){U._$tooltip.delay(U.__options.animationDuration[1])}U._$tooltip.queue(S)}else{U._$tooltip.stop().fadeOut(U.__options.animationDuration[1],S)}}}else{L()}}return U},_off:function(){this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_on:function(){this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_one:function(){this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments));return this},_open:function(L,S){var U=this;if(!U.__destroying){if(A(U._$origin)&&U.__enabled){var Q=true;if(U.__state=="closed"){U._trigger({type:"before",event:L,stop:function(){Q=false}});if(Q&&U.__options.functionBefore){Q=U.__options.functionBefore.call(U,U,{event:L,origin:U._$origin[0]})}}if(Q!==false){if(U.__Content!==null){if(S){U.__callbacks.open.push(S)}U.__callbacks.close=[];U.__timeoutsClear();var M,R=function(){if(U.__state!="stable"){U.__stateSet("stable")}D.each(U.__callbacks.open,function(V,W){W.call(U,U,{origin:U._$origin[0],tooltip:U._$tooltip[0]})});U.__callbacks.open=[]};if(U.__state!=="closed"){M=0;if(U.__state==="disappearing"){U.__stateSet("appearing");if(G.hasTransitions){U._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show");if(U.__options.animationDuration[0]>0){U._$tooltip.delay(U.__options.animationDuration[0])}U._$tooltip.queue(R)}else{U._$tooltip.stop().fadeIn(R)}}else{if(U.__state=="stable"){R()}}}else{U.__stateSet("appearing");M=U.__options.animationDuration[0];U.__contentInsert();U.reposition(L,true);if(G.hasTransitions){U._$tooltip.addClass("tooltipster-"+U.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":U.__options.animationDuration[0]+"ms","-ms-animation-duration":U.__options.animationDuration[0]+"ms","-o-animation-duration":U.__options.animationDuration[0]+"ms","-webkit-animation-duration":U.__options.animationDuration[0]+"ms","animation-duration":U.__options.animationDuration[0]+"ms","transition-duration":U.__options.animationDuration[0]+"ms"});setTimeout(function(){if(U.__state!="closed"){U._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial");if(U.__options.animationDuration[0]>0){U._$tooltip.delay(U.__options.animationDuration[0])}U._$tooltip.queue(R)}},0)}else{U._$tooltip.css("display","none").fadeIn(U.__options.animationDuration[0],R)}U.__trackerStart();D(G.window).on("resize."+U.__namespace+"-triggerClose",function(W){var V=D(document.activeElement);if((!V.is("input")&&!V.is("textarea"))||!D.contains(U._$tooltip[0],V[0])){U.reposition(W)}}).on("scroll."+U.__namespace+"-triggerClose",function(V){U.__scrollHandler(V)});U.__$originParents=U._$origin.parents();U.__$originParents.each(function(V,W){D(W).on("scroll."+U.__namespace+"-triggerClose",function(X){U.__scrollHandler(X)})});if(U.__options.triggerClose.mouseleave||(U.__options.triggerClose.touchleave&&G.hasTouchCapability)){U._on("dismissable",function(V){if(V.dismissable){if(V.delay){P=setTimeout(function(){U._close(V.event)},V.delay);U.__timeouts.close.push(P)}else{U._close(V)}}else{clearTimeout(P)}});var O=U._$origin,T="",N="",P=null;if(U.__options.interactive){O=O.add(U._$tooltip)}if(U.__options.triggerClose.mouseleave){T+="mouseenter."+U.__namespace+"-triggerClose ";N+="mouseleave."+U.__namespace+"-triggerClose "}if(U.__options.triggerClose.touchleave&&G.hasTouchCapability){T+="touchstart."+U.__namespace+"-triggerClose";N+="touchend."+U.__namespace+"-triggerClose touchcancel."+U.__namespace+"-triggerClose"}O.on(N,function(W){if(U._touchIsTouchEvent(W)||!U._touchIsEmulatedEvent(W)){var V=(W.type=="mouseleave")?U.__options.delay:U.__options.delayTouch;
1U._trigger({delay:V[1],dismissable:true,event:W,type:"dismissable"})}}).on(T,function(V){if(U._touchIsTouchEvent(V)||!U._touchIsEmulatedEvent(V)){U._trigger({dismissable:false,event:V,type:"dismissable"})}})}if(U.__options.triggerClose.originClick){U._$origin.on("click."+U.__namespace+"-triggerClose",function(V){if(!U._touchIsTouchEvent(V)&&!U._touchIsEmulatedEvent(V)){U._close(V)}})}if(U.__options.triggerClose.click||(U.__options.triggerClose.tap&&G.hasTouchCapability)){setTimeout(function(){if(U.__state!="closed"){var W="",V=D(G.window.document.body);if(U.__options.triggerClose.click){W+="click."+U.__namespace+"-triggerClose "}if(U.__options.triggerClose.tap&&G.hasTouchCapability){W+="touchend."+U.__namespace+"-triggerClose"}V.on(W,function(X){if(U._touchIsMeaningfulEvent(X)){U._touchRecordEvent(X);if(!U.__options.interactive||!D.contains(U._$tooltip[0],X.target)){U._close(X)}}});if(U.__options.triggerClose.tap&&G.hasTouchCapability){V.on("touchstart."+U.__namespace+"-triggerClose",function(X){U._touchRecordEvent(X)})}}},0)}U._trigger("ready");if(U.__options.functionReady){U.__options.functionReady.call(U,U,{origin:U._$origin[0],tooltip:U._$tooltip[0]})}}if(U.__options.timer>0){var P=setTimeout(function(){U._close()},U.__options.timer+M);U.__timeouts.close.push(P)}}}}}return U},_openShortly:function(O){var L=this,N=true;if(L.__state!="stable"&&L.__state!="appearing"){if(!L.__timeouts.open){L._trigger({type:"start",event:O,stop:function(){N=false}});if(N){var M=(O.type.indexOf("touch")==0)?L.__options.delayTouch:L.__options.delay;if(M[0]){L.__timeouts.open=setTimeout(function(){L.__timeouts.open=null;if(L.__pointerIsOverOrigin&&L._touchIsMeaningfulEvent(O)){L._trigger("startend");L._open(O)}else{L._trigger("startcancel")}},M[0])}else{L._trigger("startend");L._open(O)}}}}return L},_optionsExtract:function(P,L){var M=this,N=D.extend(true,{},L);var O=M.__options[P];if(!O){O={};D.each(L,function(Q,R){var S=M.__options[Q];if(S!==undefined){O[Q]=S}})}D.each(N,function(Q,R){if(O[Q]!==undefined){if((typeof R=="object"&&!(R instanceof Array)&&R!=null)&&(typeof O[Q]=="object"&&!(O[Q] instanceof Array)&&O[Q]!=null)){D.extend(N[Q],O[Q])}else{N[Q]=O[Q]}}});return N},_plug:function(M){var L=D.tooltipster._plugin(M);if(L){if(L.instance){D.tooltipster.__bridge(L.instance,this,L.name)}}else{throw new Error('The "'+M+'" plugin is not defined')}return this},_touchIsEmulatedEvent:function(O){var N=false,L=new Date().getTime();for(var M=this.__touchEvents.length-1;M>=0;M--){var P=this.__touchEvents[M];if(L-P.time<500){if(P.target===O.target){N=true}}else{break}}return N},_touchIsMeaningfulEvent:function(L){return((this._touchIsTouchEvent(L)&&!this._touchSwiped(L.target))||(!this._touchIsTouchEvent(L)&&!this._touchIsEmulatedEvent(L)))},_touchIsTouchEvent:function(L){return L.type.indexOf("touch")==0},_touchRecordEvent:function(L){if(this._touchIsTouchEvent(L)){L.time=new Date().getTime();this.__touchEvents.push(L)}return this},_touchSwiped:function(O){var M=false;for(var L=this.__touchEvents.length-1;L>=0;L--){var N=this.__touchEvents[L];if(N.type=="touchmove"){M=true;break}else{if(N.type=="touchstart"&&O===N.target){break}}}return M},_trigger:function(){var L=Array.prototype.slice.apply(arguments);if(typeof L[0]=="string"){L[0]={type:L[0]}}L[0].instance=this;L[0].origin=this._$origin?this._$origin[0]:null;L[0].tooltip=this._$tooltip?this._$tooltip[0]:null;this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,L);D.tooltipster._trigger.apply(D.tooltipster,L);this.__$emitterPublic.trigger.apply(this.__$emitterPublic,L);return this},_unplug:function(N){var L=this;if(L[N]){var M=D.tooltipster._plugin(N);if(M.instance){D.each(M.instance,function(O,P){if(L[O]&&L[O].bridged===L[N]){delete L[O]}})}if(L[N].__destroy){L[N].__destroy()}delete L[N]}return L},close:function(L){if(!this.__destroyed){this._close(null,L)}else{this.__destroyError()}return this},content:function(M){var L=this;if(M===undefined){return L.__Content}else{if(!L.__destroyed){L.__contentSet(M);if(L.__Content!==null){if(L.__state!=="closed"){L.__contentInsert();L.reposition();if(L.__options.updateAnimation){if(G.hasTransitions){var N=L.__options.updateAnimation;L._$tooltip.addClass("tooltipster-update-"+N);setTimeout(function(){if(L.__state!="closed"){L._$tooltip.removeClass("tooltipster-update-"+N)}},1000)}else{L._$tooltip.fadeTo(200,0.5,function(){if(L.__state!="closed"){L._$tooltip.fadeTo(200,1)}})}}}}else{L._close()}}else{L.__destroyError()}return L}},destroy:function(){var L=this;
1if(!L.__destroyed){if(L.__state!="closed"){L.option("animationDuration",0)._close(null,null,true)}else{L.__timeoutsClear()}L._trigger("destroy");L.__destroyed=true;L._$origin.removeData(L.__namespace).off("."+L.__namespace+"-triggerOpen");D(G.window.document.body).off("."+L.__namespace+"-triggerOpen");var M=L._$origin.data("tooltipster-ns");if(M){if(M.length===1){var N=null;if(L.__options.restoration=="previous"){N=L._$origin.data("tooltipster-initialTitle")}else{if(L.__options.restoration=="current"){N=(typeof L.__Content=="string")?L.__Content:D("<div></div>").append(L.__Content).html()}}if(N){L._$origin.attr("title",N)}L._$origin.removeClass("tooltipstered");L._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else{M=D.grep(M,function(P,O){return P!==L.__namespace});L._$origin.data("tooltipster-ns",M)}}L._trigger("destroyed");L._off();L.off();L.__Content=null;L.__$emitterPrivate=null;L.__$emitterPublic=null;L.__options.parent=null;L._$origin=null;L._$tooltip=null;D.tooltipster.__instancesLatestArr=D.grep(D.tooltipster.__instancesLatestArr,function(P,O){return L!==P});clearInterval(L.__garbageCollector)}else{L.__destroyError()}return L},disable:function(){if(!this.__destroyed){this._close();this.__enabled=false;return this}else{this.__destroyError()}return this},elementOrigin:function(){if(!this.__destroyed){return this._$origin[0]}else{this.__destroyError()}},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){this.__enabled=true;return this},hide:function(L){return this.close(L)},instance:function(){return this},off:function(){if(!this.__destroyed){this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments))}return this},on:function(){if(!this.__destroyed){this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments))}else{this.__destroyError()}return this},one:function(){if(!this.__destroyed){this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments))}else{this.__destroyError()}return this},open:function(L){if(!this.__destroyed){this._open(null,L)}else{this.__destroyError()}return this},option:function(M,L){if(L===undefined){return this.__options[M]}else{if(!this.__destroyed){this.__options[M]=L;this.__optionsFormat();if(D.inArray(M,["trigger","triggerClose","triggerOpen"])>=0){this.__prepareOrigin()}if(M==="selfDestruction"){this.__prepareGC()}}else{this.__destroyError()}return this}},reposition:function(M,N){var L=this;if(!L.__destroyed){if(L.__state!="closed"&&A(L._$origin)){if(N||A(L._$tooltip)){if(!N){L._$tooltip.detach()}L.__Geometry=L.__geometry();L._trigger({type:"reposition",event:M,helper:{geo:L.__Geometry}})}}}else{L.__destroyError()}return L},show:function(L){return this.open(L)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:this.__state!=="closed",state:this.__state}},triggerHandler:function(){if(!this.__destroyed){this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments))}else{this.__destroyError()}return this}};D.fn.tooltipster=function(){var Q=Array.prototype.slice.apply(arguments),N="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(this.length===0){return this}else{if(typeof Q[0]==="string"){var T="#*$~&";this.each(function(){var X=D(this).data("tooltipster-ns"),W=X?D(this).data(X[0]):null;if(W){if(typeof W[Q[0]]==="function"){if(this.length>1&&Q[0]=="content"&&(Q[1] instanceof D||(typeof Q[1]=="object"&&Q[1]!=null&&Q[1].tagName))&&!W.__options.contentCloning&&W.__options.debug){console.log(N)}var Y=W[Q[0]](Q[1],Q[2])}else{throw new Error('Unknown method "'+Q[0]+'"')}if(Y!==W||Q[0]==="instance"){T=Y;return false}}else{throw new Error("You called Tooltipster's \""+Q[0]+'" method on an uninitialized element')}});return(T!=="#*$~&")?T:this}else{D.tooltipster.__instancesLatestArr=[];var O=Q[0]&&Q[0].multiple!==undefined,V=(O&&Q[0].multiple)||(!O&&C.multiple),R=Q[0]&&Q[0].content!==undefined,P=(R&&Q[0].content)||(!R&&C.content),M=Q[0]&&Q[0].contentCloning!==undefined,U=(M&&Q[0].contentCloning)||(!M&&C.contentCloning),S=Q[0]&&Q[0].debug!==undefined,L=(S&&Q[0].debug)||(!S&&C.debug);if(this.length>
11&&(P instanceof D||(typeof P=="object"&&P!=null&&P.tagName))&&!U&&L){console.log(N)}this.each(function(){var X=false,Z=D(this),W=Z.data("tooltipster-ns"),Y=null;if(!W){X=true}else{if(V){X=true}else{if(L){console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring.");console.log(this)}}}if(X){Y=new D.Tooltipster(this,Q[0]);if(!W){W=[]}W.push(Y.__namespace);Z.data("tooltipster-ns",W);Z.data(Y.__namespace,Y);if(Y.__options.functionInit){Y.__options.functionInit.call(Y,Y,{origin:this})}Y._trigger("init")}D.tooltipster.__instancesLatestArr.push(Y)});return this}}};function I(L){this.$container;this.constraints=null;this.__$tooltip;this.__init(L)}I.prototype={__init:function(L){this.__$tooltip=L;this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","visible");this.$container=D('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(G.window.document.body)},__forceRedraw:function(){var L=this.__$tooltip.parent();this.__$tooltip.detach();this.__$tooltip.appendTo(L)},constrain:function(M,L){this.constraints={width:M,height:L};this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:M});return this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""});this.$container.remove()},free:function(){this.constraints=null;this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""});return this},measure:function(){this.__forceRedraw();var Q=this.__$tooltip[0].getBoundingClientRect(),M={size:{height:Q.height||(Q.bottom-Q.top),width:Q.width||(Q.right-Q.left)}};if(this.constraints){var N=this.__$tooltip.find(".tooltipster-content"),L=this.__$tooltip.outerHeight(),O=N[0].getBoundingClientRect(),P={height:L<=this.constraints.height,width:(Q.width<=this.constraints.width&&O.width>=N[0].scrollWidth-1)};M.fits=P.height&&P.width}if(G.IE&&G.IE<=11&&M.size.width!==G.window.document.documentElement.clientWidth){M.size.width=Math.ceil(M.size.width)+1}return M}};function K(M,L){var N=true;D.each(M,function(P,O){if(L[P]===undefined||M[P]!==L[P]){N=false;return false}});return N}function A(N){var M=N.attr("id"),L=M?G.window.document.getElementById(M):null;return L?L===N[0]:D.contains(G.window.document.body,N[0])}var E=navigator.userAgent.toLowerCase();if(E.indexOf("msie")!=-1){G.IE=parseInt(E.split("msie")[1])}else{if(E.toLowerCase().indexOf("trident")!==-1&&E.indexOf(" rv:11")!==-1){G.IE=11}else{if(E.toLowerCase().indexOf("edge/")!=-1){G.IE=parseInt(E.toLowerCase().split("edge/")[1])}}}function J(){if(!F){return false}var L=F.document.body||F.document.documentElement,O=L.style,P="transition",M=["Moz","Webkit","Khtml","O","ms"];if(typeof O[P]=="string"){return true}P=P.charAt(0).toUpperCase()+P.substr(1);for(var N=0;N<M.length;N++){if(typeof O[M[N]+P]=="string"){return true}}return false}var H="tooltipster.sideTip";D.tooltipster._plugin({name:H,instance:{__defaults:function(){return{arrow:true,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:true}},__init:function(L){var M=this;M.__instance=L;M.__namespace="tooltipster-sideTip-"+Math.round(Math.random()*1000000);M.__previousState="closed";M.__options;M.__optionsFormat();M.__instance._on("state."+M.__namespace,function(N){if(N.state=="closed"){M.__close()}else{if(N.state=="appearing"&&M.__previousState=="closed"){M.__create()}}M.__previousState=N.state});M.__instance._on("options."+M.__namespace,function(){M.__optionsFormat()});
1M.__instance._on("reposition."+M.__namespace,function(N){M.__reposition(N.event,N.helper)})},__close:function(){if(this.__instance.content() instanceof D){this.__instance.content().detach()}this.__instance._$tooltip.remove();this.__instance._$tooltip=null},__create:function(){var L=D('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');if(!this.__options.arrow){L.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide()}if(this.__options.minWidth){L.css("min-width",this.__options.minWidth+"px")}if(this.__options.maxWidth){L.css("max-width",this.__options.maxWidth+"px")}this.__instance._$tooltip=L;this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var L=this;L.__options=L.__instance._optionsExtract(H,L.__defaults());if(L.__options.position){L.__options.side=L.__options.position}if(typeof L.__options.distance!="object"){L.__options.distance=[L.__options.distance]}if(L.__options.distance.length<4){if(L.__options.distance[1]===undefined){L.__options.distance[1]=L.__options.distance[0]}if(L.__options.distance[2]===undefined){L.__options.distance[2]=L.__options.distance[0]}if(L.__options.distance[3]===undefined){L.__options.distance[3]=L.__options.distance[1]}L.__options.distance={top:L.__options.distance[0],right:L.__options.distance[1],bottom:L.__options.distance[2],left:L.__options.distance[3]}}if(typeof L.__options.side=="string"){var M={top:"bottom",right:"left",bottom:"top",left:"right"};L.__options.side=[L.__options.side,M[L.__options.side]];if(L.__options.side[0]=="left"||L.__options.side[0]=="right"){L.__options.side.push("top","bottom")}else{L.__options.side.push("right","left")}}if(D.tooltipster._env.IE===6&&L.__options.arrow!==true){L.__options.arrow=false}},__reposition:function(L,N){var Y=this,P,R=Y.__targetFind(N),M=[];Y.__instance._$tooltip.detach();var S=Y.__instance._$tooltip.clone(),X=D.tooltipster._getRuler(S),O=false,Q=Y.__instance.option("animation");if(Q){S.removeClass("tooltipster-"+Q)}D.each(["window","document"],function(d,b){var a=null;Y.__instance._trigger({container:b,helper:N,satisfied:O,takeTest:function(f){a=f},results:M,type:"positionTest"});if(a==true||(a!=false&&O==false&&(b!="window"||Y.__options.viewportAware))){for(var d=0;d<Y.__options.side.length;d++){var e={horizontal:0,vertical:0},c=Y.__options.side[d];if(c=="top"||c=="bottom"){e.vertical=Y.__options.distance[c]}else{e.horizontal=Y.__options.distance[c]}Y.__sideChange(S,c);D.each(["natural","constrained"],function(j,k){a=null;Y.__instance._trigger({container:b,event:L,helper:N,mode:k,results:M,satisfied:O,side:c,takeTest:function(i){a=i},type:"positionTest"});if(a==true||(a!=false&&O==false)){var g={container:b,distance:e,fits:null,mode:k,outerSize:null,side:c,size:null,target:R[c],whole:null};var h=(k=="natural")?X.free():X.constrain(N.geo.available[b][c].width-e.horizontal,N.geo.available[b][c].height-e.vertical),f=h.measure();g.size=f.size;g.outerSize={height:f.size.height+e.vertical,width:f.size.width+e.horizontal};if(k=="natural"){if(N.geo.available[b][c].width>=g.outerSize.width&&N.geo.available[b][c].height>=g.outerSize.height){g.fits=true}else{g.fits=false}}else{g.fits=f.fits}if(b=="window"){if(!g.fits){g.whole=false}else{if(c=="top"||c=="bottom"){g.whole=(N.geo.origin.windowOffset.right>=Y.__options.minIntersection&&N.geo.window.size.width-N.geo.origin.windowOffset.left>=Y.__options.minIntersection)}else{g.whole=(N.geo.origin.windowOffset.bottom>=Y.__options.minIntersection&&N.geo.window.size.height-N.geo.origin.windowOffset.top>=Y.__options.minIntersection)}}}M.push(g);if(g.whole){O=true}else{if(g.mode=="natural"&&(g.fits||g.size.width<=N.geo.available[b][c].width)){return false}}}})}}});Y.__instance._trigger({edit:function(a){M=a},event:L,helper:N,results:M,type:"positionTested"});M.sort(function(e,d){if(e.whole&&!d.whole){return -1}else{if(!e.whole&&d.whole){return 1}else{if(e.whole&&d.whole){var c=Y.__options.side.indexOf(e.side),f=Y.__options.side.indexOf(d.side);if(c<f){return -1}else{if(c>f){return 1}else{return e.mode=="natural"?-1:1}}}else{if(e.fits&&!d.fits){return -1}else{if(!e.fits&&d.fits){return 1}else{if(e.fits&&d.fits){var c=Y.__options.side.indexOf(e.side),f=Y.__options.side.indexOf(d.side);if(c<f){return -1}else{if(c>f){return 1}else{return e.mode=="natural"?-1:1}}}else{if(e.container=="document"&&e.side=="bottom"&&e.mode=="natural"){return -1}else{return 1}}}}}}}});P=M[0];P.coord={};switch(P.side){case"left":case"right":P.coord.top=Math.floor(P.target-P.size.height/2);break;case"bottom":case"top":P.coord.left=Math.floor(P.target-P.size.width/2);break}switch(P.side){case"left":P.coord.left=N.geo.origin.windowOffset.left-P.outerSize.width;break;case"right":P.coord.left=N.geo.origin.windowOffset.right+P.distance.horizontal;break;case"top":P.coord.top=N.geo.origin.windowOffset.top-P.outerSize.height;break;case"bottom":P.coord.top=N.geo.origin.windowOffset.bottom+P.distance.vertical;break}if(P.container=="window"){if(P.side=="top"||P.side=="bottom"){if(P.coord.left<0){if(N.geo.origin.windowOffset.right-this.__options.minIntersection>=0){P.coord.left=0}else{P.coord.left=N.geo.origin.windowOffset.right-this.__options.minIntersection-1}}else{if(P.coord.left>N.geo.window.size.width-P.size.width){if(N.geo.origin.windowOffset.left+this.__options.minIntersection<=N.geo.window.size.width){P.coord.left=N.geo.window.size.width-P.size.width}else{P.coord.left=N.geo.origin.windowOffset.left+this.__options.minIntersection+1-P.size.width}}}}else{if(P.coord.top<0){if(N.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0){P.coord.top=0}else{P.coord.top=N.geo.origin.windowOffset.bottom-this.__options.minIntersection-1}}else{if(P.coord.top>N.geo.window.size.height-P.size.height){if(N.geo.origin.windowOffset.top+this.__options.minIntersection<=N.geo.window.size.height){P.coord.top=N.geo.window.size.height-P.size.height}else{P.coord.top=N.geo.origin.windowOffset.top+this.__options.minIntersection+1-P.size.height}}}}}else{if(P.coord.left>N.geo.window.size.width-P.size.width){P.coord.left=N.geo.window.size.width-P.size.width}if(P.coord.left<0){P.coord.left=0}}Y.__sideChange(S,P.side);N.tooltipClone=S[0];N.tooltipParent=Y.__instance.option("parent").parent[0];N.mode=P.mode;N.whole=P.whole;N.origin=Y.__instance._$origin[0];N.tooltip=Y.__instance._$tooltip[0];delete P.container;delete P.fits;delete P.mode;delete P.outerSize;delete P.whole;P.distance=P.distance.horizontal||P.distance.vertical;var T=D.extend(true,{},P);Y.__instance._trigger({edit:function(a){P=a},event:L,helper:N,position:T,type:"position"});if(Y.__options.functionPosition){var Z=Y.__options.functionPosition.call(Y,Y.__instance,N,T);if(Z){P=Z}}X.destroy();var U,W;if(P.side=="top"||P.side=="bottom"){U={prop:"left",val:P.target-P.coord.left};W=P.size.width-this.__options.minIntersection}else{U={prop:"top",val:P.target-P.coord.top};W=P.size.height-this.__options.minIntersection}if(U.val<this.__options.minIntersection){U.val=this.__options.minIntersection}else{if(U.val>W){U.val=W}}var V;if(N.geo.origin.fixedLineage){V=N.geo.origin.windowOffset}else{V={left:N.geo.origin.windowOffset.left+N.geo.window.scroll.left,top:N.geo.origin.windowOffset.top+N.geo.window.scroll.top}}P.coord={left:V.left+(P.coord.left-N.geo.origin.windowOffset.left),top:V.top+(P.coord.top-N.geo.origin.windowOffset.top)};Y.__sideChange(Y.__instance._$tooltip,P.side);if(N.geo.origin.fixedLineage){Y.__instance._$tooltip.css("position","fixed")}else{Y.__instance._$tooltip.css("position","")}Y.__instance._$tooltip.css({left:P.coord.left,top:P.coord.top,height:P.size.height,width:P.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(U.prop,U.val);Y.__instance._$tooltip.appendTo(Y.__instance.option("parent"));Y.__instance._trigger({type:"repositioned",event:L,position:P})},__sideChange:function(M,L){M.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+L)},__targetFind:function(N){var P={},L=this.__instance._$origin[0].getClientRects();if(L.length>1){var M=this.__instance._$origin.css("opacity");if(M==1){this.__instance._$origin.css("opacity",0.99);L=this.__instance._$origin[0].getClientRects();this.__instance._$origin.css("opacity",1)}}if(L.length<2){P.top=Math.floor(N.geo.origin.windowOffset.left+(N.geo.origin.size.width/2));P.bottom=P.top;P.left=Math.floor(N.geo.origin.windowOffset.top+(N.geo.origin.size.height/2));P.right=P.left}else{var O=L[0];P.top=Math.floor(O.left+(O.right-O.left)/2);if(L.length>2){O=L[Math.ceil(L.length/2)-1]}else{O=L[0]}
1P.right=Math.floor(O.top+(O.bottom-O.top)/2);O=L[L.length-1];P.bottom=Math.floor(O.left+(O.right-O.left)/2);if(L.length>2){O=L[Math.ceil((L.length+1)/2)-1]}else{O=L[L.length-1]}P.left=Math.floor(O.top+(O.bottom-O.top)/2)}return P}}});return D}));

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.