6 (function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery
)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var e=0,i=Array.prototype.sl
ice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);
o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a
){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0]
;e=e.split(".")[1];var h=l+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.e
xtend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){retur
n!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return this._cre
ateWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.exten
d(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a
.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunctio
n(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}f
unction n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this.
_super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this
,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.p
rototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{con
structor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstru
ctors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i.
_proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bri
dge(e,o),o},t.widget.extend=function(e){for(var s,n,o=i.call(arguments,1),a=0,r=
o.length;r>a;a++)for(s in o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void 0!==n&&(e[
s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.
extend({},n):n);return e},t.widget.bridge=function(e,s){var n=s.prototype.widget
FullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=i.call(arguments,1),l
=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(t
his,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=
s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void
0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot
call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+
"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.ea
ch(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data
(this,n,new s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=
[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){
s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventN
amespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this
.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullN
ame,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destro
y()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this
.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.
extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.d
isabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",n
ull,this._getCreateEventData()),this._init()},_getCreateOptions:function(){retur
n{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){v
ar e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._remo
veClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullN
ame),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bin
dings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.el
ement},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widge
t.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift
(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++
)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0==
=n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options
[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:fun
ction(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:functi
on(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabl
ed"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,
n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n
.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:
s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(
this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(th
is.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-st
ate-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:
function(){return this._setOptions({disabled:!0})},_classes:function(e){function
i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.a
dd?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.clas
sesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]]
)}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.c
lasses||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e
.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_
untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,funct
ion(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target
).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_a
ddClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:functio
n(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra
:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(t
his._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(
s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.elemen
t,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disab
led!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).app
ly(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid
++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,
c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespa
ce+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e)
.get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hove
rable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t
?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:fun
ction(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e)
{this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e
){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:fun
ction(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){th
is._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){thi
s._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e
,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetE
ventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=
i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),
!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPreve
nted())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype
["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"nu
mber"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!
t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effect
s.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){
t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){retu
rn[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:
1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];r
eturn 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t
.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e
.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pa
geX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Ma
th.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d
]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if
(void 0!==n)return n;var e,i,s=t("<div style='display:block;position:absolute;wi
dth:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></d
iv></div>"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("
overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i
},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("ove
rflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"==
=i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.h
eight<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,hei
ght:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||windo
w),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType,o=!s&&!n;return{element:i,isWi
ndow:s,isDocument:n,offset:o?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLef
t(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.
position=function(n){if(!n||!n.of)return d.apply(this,arguments);n=t.extend({},n
);var u,p,f,g,m,_,v=t(n.of),b=t.position.getWithinInfo(n.within),y=t.position.ge
tScrollInfo(b),w=(n.collision||"flip").split(" "),k={};return _=s(v),v[0].preven
tDefault&&(n.at="left top"),p=_.width,f=_.height,g=_.offset,m=t.extend({},g),t.e
ach(["my","at"],function(){var t,e,i=(n[this]||"").split(" ");1===i.length&&(i=r
.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","ce
nter"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=h.exec
(i[0]),e=h.exec(i[1]),k[this]=[t?t[0]:0,e?e[0]:0],n[this]=[c.exec(i[0])[0],c.exe
c(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===n.at[0]?m.left+=p:"center"===n
.at[0]&&(m.left+=p/2),"bottom"===n.at[1]?m.top+=f:"center"===n.at[1]&&(m.top+=f/
2),u=e(k.at,p,f),m.left+=u[0],m.top+=u[1],this.each(function(){var s,r,l=t(this)
,h=l.outerWidth(),c=l.outerHeight(),d=i(this,"marginLeft"),_=i(this,"marginTop")
,x=h+d+i(this,"marginRight")+y.width,C=c+_+i(this,"marginBottom")+y.height,D=t.e
xtend({},m),T=e(k.my,l.outerWidth(),l.outerHeight());"right"===n.my[0]?D.left-=h
:"center"===n.my[0]&&(D.left-=h/2),"bottom"===n.my[1]?D.top-=c:"center"===n.my[1
]&&(D.top-=c/2),D.left+=T[0],D.top+=T[1],s={marginLeft:d,marginTop:_},t.each(["l
eft","top"],function(e,i){t.ui.position[w[e]]&&t.ui.position[w[e]][i](D,{targetW
idth:p,targetHeight:f,elemWidth:h,elemHeight:c,collisionPosition:s,collisionWidt
h:x,collisionHeight:C,offset:[u[0]+T[0],u[1]+T[1]],my:n.my,at:n.at,within:b,elem
:l})}),n.using&&(r=function(t){var e=g.left-D.left,i=e+p-h,s=g.top-D.top,r=s+f-c
,u={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:l
,left:D.left,top:D.top,width:h,height:c},horizontal:0>i?"left":e>0?"right":"cent
er",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="cent
er"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?
"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))
})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrol
lLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+
e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a
-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?
t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWi
ndow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marg
inTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e
.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l
>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i
,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n
.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-
r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e
.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=
t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left
-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:fun
ction(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow
?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.coll
isionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHei
ght:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2
*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f
+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=
p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments)
,t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip
.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.u
i.position,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13
,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,
TAB:9,UP:38},t.fn.extend({uniqueId:function(){var t=0;return function(){return t
his.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:functi
on(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr
("id")})}}),t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-toolti
p":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("titl
e")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",
position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tr
ack:!1,close:null,open:null},_addDescribedBy:function(e,i){var s=(e.attr("aria-d
escribedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-de
scribedby",t.trim(s.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui
-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-
1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.att
r("aria-describedby",s):e.removeAttr("aria-describedby")},_create:function(){thi
s._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.l
iveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"a
dditions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,
"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,
i){var s=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e)
{s._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable"
:"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,s)
{var n=t.Event("blur");n.target=n.currentTarget=s.element[0],e.close(n,!0)}),thi
s.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).a
ddBack().filter(function(){var e=t(this);return e.is("[title]")?e.data("ui-toolt
ip-title",e.attr("title")).removeAttr("title"):void 0}))},_enable:function(){thi
s.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.att
r("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function
(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length
&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("
title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(
function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.targe
t=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[t
his.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._registe
rCloseHandlers(e,s),this._updateContent(s,e))},_updateContent:function(t,e){var
i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s||s.node
Type||s.jquery?this._open(e,t,s):(i=s.call(t[0],function(i){n._delay(function(){
t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}),i&&this._open(e
,t,i),void 0)},_open:function(e,i,s){function n(t){h.of=t,a.is(":hidden")||a.pos
ition(h)}var o,a,r,l,h=t.extend({},this.options.position);if(s){if(o=this._find(
i))return o.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&
(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._toolt
ip(i),a=o.tooltip,this._addDescribedBy(i,a.attr("id")),a.find(".ui-tooltip-conte
nt").html(s),this.liveRegion.children().hide(),l=t("<div>").html(a.find(".ui-too
ltip-content").html()),l.removeAttr("name").find("[name]").removeAttr("name"),l.
removeAttr("id").find("[id]").removeAttr("id"),l.appendTo(this.liveRegion),this.
options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n
(e)):a.position(t.extend({of:i},this.options.position)),a.hide(),this._show(a,th
is.options.show),this.options.track&&this.options.show&&this.options.show.delay&
&(r=this.delayedShow=setInterval(function(){a.is(":visible")&&(n(h.of),clearInte
rval(r))},t.fx.interval)),this._trigger("open",e,{tooltip:a})}},_registerCloseHa
ndlers:function(e,i){var s={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE
){var s=t.Event(e);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[
0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseo
ver"!==e.type||(s.mouseleave="close"),e&&"focusin"!==e.type||(s.focusout="close"
),this._on(!0,i,s)},close:function(e){var i,s=this,n=t(e?e.currentTarget:this.el
ement),o=this._find(n);return o?(i=o.tooltip,o.closing||(clearInterval(this.dela
yedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui
-tooltip-title")),this._removeDescribedBy(n),o.hiding=!0,i.stop(!0),this._hide(i
,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-toolt
ip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this.
_off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&
t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.pa
rents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:i}),o.hiding||(o.closin
g=!1)),void 0):(n.removeData("ui-tooltip-open"),void 0)},_tooltip:function(e){va
r i=t("<div>").attr("role","tooltip"),s=t("<div>").appendTo(i),n=i.uniqueId().at
tr("id");return this._addClass(s,"ui-tooltip-content"),this._addClass(i,"ui-tool
tip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[
n]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return
e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tool
tips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");r
eturn e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.ea
ch(this.tooltips,function(i,s){var n=t.Event("blur"),o=s.element;n.target=n.curr
entTarget=o[0],e.close(n,!0),t("#"+i).remove(),o.data("ui-tooltip-title")&&(o.at
tr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip
-title"))}),this.liveRegion.remove()}}),t.uiBackCompat!==!1&&t.widget("ui.toolti
p",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._sup
erApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.opt
ions.tooltipClass),t}}),t.ui.tooltip}); | |