1var globalCacheForjQueryReplacement=window.jQuery;window.jQuery=window.kQuery,function(t){"use strict";var e=function(t,e){this.init("ktooltip",t,e)};e.prototype={constructor:e,init:function(e,i,o){var n,s,h,l,a;for(this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.enabled=!0,a=(h=this.options.trigger.split(" ")).length;a--;)"click"==(l=h[a])?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!=l&&(n="hover"==l?"mouseenter":"focus",s="hover"==l?"mouseleave":"blur",this.$element.on(n+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(e){return(e=t.extend({},t.fn[this.type].defaults,this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},enter:function(e){var i,o=t.fn[this.type].defaults,n={};if(this._options&&t.each(this._options,(function(t,e){o[t]!=e&&(n[t]=e)}),this),!(i=t(e.currentTarget)[this.type](n).data(this.type)).options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)},leave:function(e){var i=t(e.currentTarget)[this.type](this._options).data(this.type);if(this.timeout&&clearTimeout(this.timeout),!i.options.delay||!i.options.delay.hide)return i.hide();i.hoverState="out",this.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)},show:function(){var e,i,o,n,s,h,l=t.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(l),l.isDefaultPrevented())return;switch(e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.detach().css({top:0,left:0,display:"block"}),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element),i=this.getPosition(),o=e[0].offsetWidth,n=e[0].offsetHeight,s){case"bottom":h={top:i.top+i.height,left:i.left+i.width/2-o/2};break;case"top":h={top:i.top-n,left:i.left+i.width/2-o/2};break;case"left":h={top:i.top+i.height/2-n/2,left:i.left-o};break;case"right":h={top:i.top+i.height/2-n/2,left:i.left+i.width}}this.applyPlacement(h,s),this.$element.trigger("shown")}},applyPlacement:function(t,e){var i,o,n,s,h=this.tip(),l=h[0].offsetWidth,a=h[0].offsetHeight;h.offset(t).addClass(e).addClass("in"),i=h[0].offsetWidth,o=h[0].offsetHeight,"top"==e&&o!=a&&(t.top=t.top+a-o,s=!0),"bottom"==e||"top"==e?(n=0,t.left<0&&(n=-2*t.left,t.left=0,h.offset(t),i=h[0].offsetWidth,o=h[0].offsetHeight),this.replaceArrow(n-l+i,i,"left")):this.replaceArrow(o-a,o,"top"),s&&h.offset(t)},replaceArrow:function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".k-tooltip__inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){var e,i=this.tip(),o=t.Event("hide");if(void 0!==window.MooTools&&!this.mootools_compatible){var n="function"==typeof window.Element.prototype.hide?window.Element.prototype.hide:null;n&&window.Element.implement({hide:function(){if(t(this).data("ktooltip"))return this;n.apply(this,arguments)}}),this.mootools_compatible=!0}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?(e=setTimeout((function(){i.off(t.support.transition.end).detach()}),500),i.one(t.support.transition.end,(function(){clearTimeout(e),i.detach()}))):i.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},getTitle:function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},tip:function(){return this.$tip=this.$tip||t(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".k-tooltip__arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var i=e?t(e.currentTarget)[this.type](this._options).data(this.type):this;i.tip().hasClass("in")?i.hide():i.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};t.fn.tooltip;t.fn.ktooltip=function(i){return this.each((function(){var o=t(this),n=o.data("ktooltip"),s="object"==typeof i&&i;n||o.data("ktooltip",n=new e(this,s)),"string"==typeof i&&n[i]()}))},t.fn.ktooltip.Constructor=e,t.fn.ktooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="k-tooltip"><div class="k-tooltip__arrow"></div><div class="k-tooltip__inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1}}(window.jQuery),window.jQuery=globalCacheForjQueryReplacement,globalCacheForjQueryReplacement=void 0;
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.