25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2 lines
46 KiB

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