Sindbad~EG File Manager
!function(t,e,i){var s;s=function(s){"use strict";var o,n,r,a,h,l,c="width",d="height",p="left",u="bottom",f="right",g="center",m="shift",$={},v="qtip",y="data-hasqtip",b="data-qtip-id",_=["ui-widget","ui-tooltip"],w="."+v,x="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),C=v+"-fixed",q=v+"-default",T=v+"-focus",j=v+"-hover",z=v+"-disabled",W="_replacedByqTip",k="oldtitle",E={ie:function(){var t,i;for(t=4,i=e.createElement("div");i.innerHTML="<!--[if gt IE "+t+"]><i></i><![endif]-->",i.getElementsByTagName("i")[0];t+=1);return t>4?t:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||!1};function P(t,e,i,o){this.id=i,this.target=t,this.tooltip=null,this.elements={target:t},this._id=v+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache={event:{},target:s(),disabled:!1,attr:o,onTooltip:!1,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=!1}function A(t){return null===t||"object"!=typeof t}function S(t){return!("function"==typeof t||t&&t.attr||t.length||"object"==typeof t&&(t.jquery||t.then))}function L(t){var e,i,o,n;return!A(t)&&(A(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(A(e=t.content)||e.jquery||e.done?(i=!S(e)&&e,e=t.content={text:i}):i=e.text,"ajax"in e&&(n=(o=e.ajax)&&!1!==o.once,delete e.ajax,e.text=function(t,e){var r=i||s(this).attr(e.options.content.attr)||"Loading...",a=s.ajax(s.extend({},o,{context:e})).then(o.success,null,o.error).then(function(t){return t&&n&&e.set("content.text",t),t},function(t,i,s){!e.destroyed&&0!==t.status&&e.set("content.text",i+": "+s)});return n?r:(e.set("content.text",r),a)}),"title"in e&&(s.isPlainObject(e.title)&&(e.button=e.title.button,e.title=e.title.text),S(e.title||!1)&&(e.title=!1))),"position"in t&&A(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&A(t.show)&&(t.show=t.show.jquery?{target:t.show}:!0===t.show?{ready:!0}:{event:t.show}),"hide"in t&&A(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&A(t.style)&&(t.style={classes:t.style}),s.each($,function(){this.sanitize&&this.sanitize(t)}),t)}function I(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)s<n.length&&(i=o);return[i||t,n.pop()]}function D(t,e){var i,s,o;for(i in this.checks)if(this.checks.hasOwnProperty(i))for(s in this.checks[i])this.checks[i].hasOwnProperty(s)&&(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}(r=P.prototype)._when=function(t){return s.when.apply(s,t)},r.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,o=this.cache,r=this.elements,a=i.content.text,h=i.content.title,l=i.content.button,c=i.position,d=[];return s.attr(this.target[0],"aria-describedby",this._id),o.posClass=this._createPosClass((this.position={my:c.my,at:c.at}).my),this.tooltip=r.tooltip=s("<div/>",{id:this._id,class:[v,q,i.style.classes,o.posClass].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===c.target&&c.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":!1,"aria-describedby":this._id+"-content","aria-hidden":!0}).toggleClass(z,this.disabled).attr(b,this.id).data(v,this).appendTo(c.container).append(r.content=s("<div />",{class:v+"-content",id:this._id+"-content","aria-atomic":!0})),this.rendered=-1,this.positioning=!0,h&&(this._createTitle(),"function"!=typeof h&&d.push(this._updateTitle(h,!1))),l&&this._createButton(),"function"!=typeof a&&d.push(this._updateContent(a,!1)),this.rendered=!0,this._setWidget(),s.each($,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._unassignEvents(),this._assignEvents(),this._when(d).then(function(){e._trigger("render"),e.positioning=!1,!e.hiddenDuringWait&&(i.show.ready||t)&&e.toggle(!0,o.event,!1),e.hiddenDuringWait=!1}),n.api[this.id]=this,this},r.destroy=function(t){if(this.destroyed)return this.target;function e(){if(!this.destroyed){this.destroyed=!0;var t,e=this.target,i=e.attr(k);for(t in this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),s.each(this.plugins,function(){this.destroy&&this.destroy()}),this.timers)this.timers.hasOwnProperty(t)&&clearTimeout(this.timers[t]);e.removeData(v).removeAttr(b).removeAttr(y).removeAttr("aria-describedby"),this.options.suppress&&i&&e.attr("title",i).removeAttr(k),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=null,delete n.api[this.id]}}return(!0!==t||"hide"===this.triggering)&&this.rendered?(this.tooltip.one("tooltiphidden",s.proxy(e,this)),this.triggering||this.hide()):e.call(this),this.target},h=r.checks={builtin:{"^id$":function(t,e,i,o){var r=!0===i?n.nextid:i,a=v+"-"+r;!1!==r&&r.length>0&&!s("#"+a).length?(this._id=a,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=o},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){if(!i)return this._removeTitle();i&&!this.elements.title&&this._createTitle(),this._updateTitle(i)},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(this.position[e]=t[e]=new a(i,"at"===e))},"^position.container$":function(t,e,i){this.rendered&&this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(!0)||this.toggle(!0))},"^style.classes$":function(t,e,i,s){this.rendered&&this.tooltip.removeClass(s).addClass(i)},"^style.(width|height)":function(t,e,i){this.rendered&&this.tooltip.css(e,i)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(t,e,i){this.rendered&&this.tooltip.toggleClass(q,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){this.rendered&&this.tooltip[("function"==typeof i?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var t=this.options.position;this.tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},r.get=function(t){if(this.destroyed)return this;var e=I(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var B=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,O=/^prerender|show\.ready/i;r.set=function(t,e){if(this.destroyed)return this;var i,o=this.rendered,n=!1,r=this.options;return"string"==typeof t?(i=t,(t={})[i]=e):t=s.extend({},t),s.each(t,function(e,i){if(o&&O.test(e)){delete t[e];return}var a,h=I(r,e.toLowerCase());a=h[0][h[1]],h[0][h[1]]=i&&i.nodeType?s(i):i,n=B.test(e)||n,t[e]=[h[0],h[1],i,a]}),L(r),this.positioning=!0,s.each(t,s.proxy(D,this)),this.positioning=!1,this.rendered&&this.tooltip[0].offsetWidth>0&&n&&this.reposition("mouse"===r.position.target?null:this.cache.event),this},r._update=function(t,e){var i=this,s=this.cache;return!!this.rendered&&!!t&&(("function"==typeof t&&(t=t.call(this.elements.target,s.event,this)||""),"function"==typeof t.then)?(s.waiting=!0,t.then(function(t){return s.waiting=!1,i._update(t,e)},null,function(t){return i._update(t,e)})):!1!==t&&(!!t||""===t)&&(t.jquery&&t.length>0?e.empty().append(t.css({display:"block",visibility:"visible"})):e.html(t),this._waitForContent(e).then(function(t){i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(s.event,!t.length)})))},r._waitForContent=function(t){var e=this.cache;return e.waiting=!0,(s.fn.imagesLoaded?t.imagesLoaded():new s.Deferred().resolve([])).done(function(){e.waiting=!1}).promise()},r._updateContent=function(t,e){this._update(t,this.elements.content,e)},r._updateTitle=function(t,e){!1===this._update(t,this.elements.title,e)&&this._removeTitle(!1)},r._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=s("<div />",{class:v+"-titlebar "+(this.options.style.widget?M("header"):"")}).append(t.title=s("<div />",{id:e,class:v+"-title","aria-atomic":!0})).insertBefore(t.content).on(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){s(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).on(".qtip-close","mouseover mouseout",function(t){s(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},r._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=null,!1!==t&&this.reposition())},r._createPosClass=function(t){return v+"-pos-"+(t||this.options.position.my).abbrev()},r.reposition=function(i,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=!0;var n,r,a,h,l=this.cache,c=this.tooltip,d=this.options.position,m=d.target,v=d.my,y=d.at,b=d.viewport,_=d.container,w=d.adjust,x=w.method.split(" "),C=c.outerWidth(!1),q=c.outerHeight(!1),T=0,j=0,z=c.css("position"),W={left:0,top:0},k=c[0].offsetWidth>0,P=i&&"scroll"===i.type,A=s(t),S=_[0].ownerDocument,L=this.mouse;if(Array.isArray(m)&&2===m.length)y={x:p,y:"top"},W={left:m[0],top:m[1]};else if("mouse"===m)y={x:p,y:"top"},(!w.mouse||this.options.hide.distance)&&l.origin&&l.origin.pageX?i=l.origin:!i||i&&("resize"===i.type||"scroll"===i.type)?i=l.event:L&&L.pageX&&(i=L),"static"!==z&&(W=_.offset()),S.body.offsetWidth!==(t.innerWidth||S.documentElement.clientWidth)&&(r=s(e.body).offset()),W={left:i.pageX-W.left+(r&&r.left||0),top:i.pageY-W.top+(r&&r.top||0)},w.mouse&&P&&L&&(W.left-=(L.scrollX||0)-A.scrollLeft(),W.top-=(L.scrollY||0)-A.scrollTop());else{if("event"===m?i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?l.target=s(i.target):i.target||(l.target=this.elements.target):"event"!==m&&(l.target=s(m.jquery?m:this.elements.target)),0===(m=s(m=l.target).eq(0)).length)return this;m[0]===e||m[0]===t?(T=E.iOS?t.innerWidth:m.width(),j=E.iOS?t.innerHeight:m.height(),m[0]===t&&(W={top:(b||m).scrollTop(),left:(b||m).scrollLeft()})):$.imagemap&&m.is("area")?n=$.imagemap(this,m,y,!!$.viewport&&x):$.svg&&m&&m[0].ownerSVGElement?n=$.svg(this,m,y,!!$.viewport&&x):(T=m.outerWidth(!1),j=m.outerHeight(!1),W=m.offset()),n&&(T=n.width,j=n.height,r=n.offset,W=n.position),W=this.reposition.offset(m,W,_),(E.iOS>3.1&&E.iOS<4.1||E.iOS>=4.3&&E.iOS<4.33||!E.iOS&&"fixed"===z)&&(W.left-=A.scrollLeft(),W.top-=A.scrollTop()),(!n||n&&!1!==n.adjustable)&&(W.left+=y.x===f?T:y.x===g?T/2:0,W.top+=y.y===u?j:y.y===g?j/2:0)}return W.left+=w.x+(v.x===f?-C:v.x===g?-C/2:0),W.top+=w.y+(v.y===u?-q:v.y===g?-q/2:0),$.viewport?(a=W.adjusted=$.viewport(this,W,d,T,j,C,q),r&&a.left&&(W.left+=r.left),r&&a.top&&(W.top+=r.top),a.my&&(this.position.my=a.my)):W.adjusted={left:0,top:0},l.posClass!==(h=this._createPosClass(this.position.my))&&(l.posClass=h,c.removeClass(l.posClass).addClass(h)),this._trigger("move",[W,b.elem||b],i)&&(delete W.adjusted,!1===o||!k||isNaN(W.left)||isNaN(W.top)||"mouse"===m||"function"!=typeof d.effect?c.css(W):"function"==typeof d.effect&&(d.effect.call(c,this,s.extend({},W)),c.queue(function(t){s(this).css({opacity:"",height:""}),E.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=!1),this},r.reposition.offset=function(t,i,o){if(!o[0])return i;var n,r,a,h,l=s(t[0].ownerDocument),c=!!E.ie&&"CSS1Compat"!==e.compatMode,d=o[0];function p(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}do"static"===(r=s.css(d,"position"))||("fixed"===r?(a=d.getBoundingClientRect(),p(l,-1)):(a=s(d).position(),a.left+=parseFloat(s.css(d,"borderLeftWidth"))||0,a.top+=parseFloat(s.css(d,"borderTopWidth"))||0),i.left-=a.left+(parseFloat(s.css(d,"marginLeft"))||0),i.top-=a.top+(parseFloat(s.css(d,"marginTop"))||0),n||"hidden"===(h=s.css(d,"overflow"))||"visible"===h||(n=s(d)));while(d=d.offsetParent);return n&&(n[0]!==l[0]||c)&&p(n,1),i};var V=(a=r.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,g).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?"y":"x"}).prototype;function M(t){return _.concat("").join(t?"-"+t+" ":" ")}function R(t,e){if(e>0)return setTimeout(s.proxy(t,this),e);t.call(this)}function H(t){!this.tooltip.hasClass(z)&&(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=R.call(this,function(){this.toggle(!0,t)},this.options.show.delay))}function N(t){if(!this.tooltip.hasClass(z)&&!this.destroyed){var e=s(t.relatedTarget),i=e.closest(w)[0]===this.tooltip[0],o=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||o)){try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}return}this.timers.hide=R.call(this,function(){this.toggle(!1,t)},this.options.hide.delay,this)}}function X(t){!this.tooltip.hasClass(z)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=R.call(this,function(){this.hide(t)},this.options.hide.inactive))}function Y(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function G(t,i,o){s(e.body).on(t,(i.split?i:i.join("."+v+" "))+"."+v,function(){var t=n.api[s.attr(this,b)];t&&!t.disabled&&o.apply(t,arguments)})}V.invert=function(t,e){this[t]=this[t]===p?f:this[t]===f?p:e||this[t]},V.string=function(t){var e=this.x,i=this.y,s=e!==i?"center"===e||"center"!==i&&("y"===this.precedance||this.forceY)?[i,e]:[e,i]:[e];return!1!==t?s.join(" "):s},V.abbrev=function(){var t=this.string(!1);return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},V.clone=function(){return new a(this.string(),this.forceY)},r.toggle=function(t,i){var o=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&o.event&&/out|leave/.test(o.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;o.event=s.event.fix(i)}if(this.waiting&&!t&&(this.hiddenDuringWait=!0),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,c,d=t?"show":"hide",p=this.options[d],u=this.options.position,f=this.options.content,g=this.tooltip.css("width"),m=this.tooltip.is(":visible"),$=t||1===p.target.length,y=!i||p.target.length<2||o.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!m),h=(a=!r.is(":animated")&&m===t&&y)?null:!!this._trigger(d,[90]),this.destroyed||(!1!==h&&t&&this.focus(i),!h||a||(s.attr(r[0],"aria-hidden",!t),t?(this.mouse&&(o.origin=s.event.fix(this.mouse)),"function"==typeof f.text&&this._updateContent(f.text,!1),"function"==typeof f.title&&this._updateTitle(f.title,!1),!l&&"mouse"===u.target&&u.adjust.mouse&&(s(e).on("mousemove."+v,this._storeMouse),l=!0),g||r.css("width",r.outerWidth(!1)),this.reposition(i,arguments[2]),g||r.css("width",""),p.solo&&("string"==typeof p.solo?s(p.solo):s(w,p.solo)).not(r).not(p.target).qtip("hide",new s.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete o.origin,l&&!s(w+'[tracking="true"]:visible',p.solo).not(r).length&&(s(e).off("mousemove."+v),l=!1),this.blur(i)),c=s.proxy(function(){t?(E.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof p.autofocus&&s(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),!1===p.effect||!1===$?(r[d](),c()):"function"==typeof p.effect?(r.stop(1,1),p.effect.call(r,this),r.queue("fx",function(t){c(),t()})):r.fadeTo(90,t?1:0,c),t&&p.target.trigger("qtip-"+this.id+"-inactive"))),this},r.show=function(t){return this.toggle(!0,t)},r.hide=function(t){return this.toggle(!1,t)},r.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=s(w),i=this.tooltip,o=parseInt(i[0].style.zIndex,10),r=n.zindex+e.length;return!i.hasClass(T)&&this._trigger("focus",[r],t)&&(o!==r&&(e.each(function(){this.style.zIndex>o&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+T).qtip("blur",t)),i.addClass(T)[0].style.zIndex=r),this},r.blur=function(t){return!this.rendered||this.destroyed||(this.tooltip.removeClass(T),this._trigger("blur",[this.tooltip.css("zIndex")],t)),this},r.disable=function(t){return this.destroyed||("toggle"===t?t=!(this.rendered?this.tooltip.hasClass(z):this.disabled):"boolean"!=typeof t&&(t=!0),this.rendered&&this.tooltip.toggleClass(z,t).attr("aria-disabled",t),this.disabled=!!t),this},r.enable=function(){return this.disable(!1)},r._createButton=function(){var t=this,e=this.elements,i=e.tooltip,o=this.options.content.button,n="string"==typeof o?o:"Close tooltip";e.button&&e.button.remove(),o.jquery?e.button=o:e.button=s("<a />",{class:"qtip-close "+(this.options.style.widget?"":v+"-icon"),title:n,"aria-label":n}).prepend(s("<span />",{class:"ui-icon ui-icon-close",html:"×"})),e.button.appendTo(e.titlebar||i).attr("role","button").on("click",function(e){return i.hasClass(z)||t.hide(e),!1})},r._updateButton=function(t){if(!this.rendered)return!1;var e=this.elements.button;t?this._createButton():e.remove()},r._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(z);i.removeClass(z),z=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(z,s),i.toggleClass("ui-helper-reset "+M(),t).toggleClass(q,this.options.style.def&&!t),e.content&&e.content.toggleClass(M("content"),t),e.titlebar&&e.titlebar.toggleClass(M("header"),t),e.button&&e.button.toggleClass(v+"-icon",!t)},r._storeMouse=function(t){return(this.mouse=s.event.fix(t)).type="mousemove",this},r._bind=function(t,e,i,o,n){if(t&&i&&e.length){var r="."+this._id+(o?"-"+o:"");return s(t).on((e.split?e:e.join(r+" "))+r,s.proxy(i,n||this)),this}},r._unbind=function(t,e){return t&&s(t).off("."+this._id+(e?"-"+e:"")),this},r._trigger=function(t,e,i){var o=new s.Event("tooltip"+t);return o.originalEvent=i&&s.extend({},i)||this.cache.event||null,this.triggering=t,this.tooltip.trigger(o,[this].concat(e||[])),this.triggering=!1,!o.isDefaultPrevented()},r._bindEvents=function(t,e,i,o,n,r){var a=i.filter(o).add(o.filter(i)),h=[];a.length&&(s.each(e,function(e,i){var o=s.inArray(i,t);o>-1&&h.push(t.splice(o,1)[0])}),h.length&&(this._bind(a,h,function(t){(this.rendered&&this.tooltip[0].offsetWidth>0?r:n).call(this,t)}),i=i.not(a),o=o.not(a))),this._bind(i,t,n),this._bind(o,e,r)},r._assignInitialEvents=function(t){var e=this.options,i=e.show.target,o=e.hide.target,n=e.show.event?(""+e.show.event).trim().split(" "):[],r=e.hide.event?(""+e.hide.event).trim().split(" "):[];function a(t){if(this.disabled||this.destroyed)return!1;this.cache.event=t&&s.event.fix(t),this.cache.target=t&&s(t.target),clearTimeout(this.timers.show),this.timers.show=R.call(this,function(){this.render("object"==typeof t||e.show.ready)},e.prerender?0:e.show.delay)}this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(e.show.event)&&!/mouse(out|leave)/i.test(e.hide.event)&&r.push("mouseleave"),this._bind(i,"mousemove",function(t){this._storeMouse(t),this.cache.onTarget=!0}),this._bindEvents(n,r,i,o,a,function(){if(!this.timers)return!1;clearTimeout(this.timers.show)}),(e.show.ready||e.prerender)&&a.call(this,t)},r._assignEvents=function(){var i=this,o=this.options,r=o.position,a=this.tooltip,h=o.show.target,l=o.hide.target,c=r.container,d=r.viewport,p=s(e),u=s(t),f=o.show.event?(""+o.show.event).trim().split(" "):[],g=o.hide.event?(""+o.hide.event).trim().split(" "):[];s.each(o.events,function(t,e){i._bind(a,"toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t],e,null,a)}),/mouse(out|leave)/i.test(o.hide.event)&&"window"===o.hide.leave&&this._bind(p,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),o.hide.fixed?l=l.add(a.addClass(C)):/mouse(over|enter)/i.test(o.show.event)&&this._bind(l,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+o.hide.event).indexOf("unfocus")>-1&&this._bind(c.closest("html"),["mousedown","touchstart"],function(t){var e=s(t.target),i=this.rendered&&!this.tooltip.hasClass(z)&&this.tooltip[0].offsetWidth>0,o=e.parents(w).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||o||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof o.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",X,"inactive"),this._bind(l.add(a),n.inactiveEvents,X)),this._bindEvents(f,g,h,l,H,N),this._bind(h.add(a),"mousemove",function(t){if("number"==typeof o.hide.distance){var e=this.cache.origin||{},i=this.options.hide.distance,s=Math.abs;(s(t.pageX-e.pageX)>=i||s(t.pageY-e.pageY)>=i)&&this.hide(t)}this._storeMouse(t)}),"mouse"===r.target&&r.adjust.mouse&&(o.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(t){if(!this.cache)return!1;this.cache.onTarget="mouseenter"===t.type}),this._bind(p,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(z)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(r.adjust.resize||d.length)&&this._bind(s.event.special.resize?d:u,"resize",Y),r.adjust.scroll&&this._bind(u.add(r.container),"scroll",Y)},r._unassignEvents=function(){var i=this.options,o=i.show.target,n=i.hide.target,r=s.grep([this.elements.target[0],this.rendered&&this.tooltip[0],i.position.container[0],i.position.viewport[0],i.position.container.closest("html")[0],t,e],function(t){return"object"==typeof t});o&&o.toArray&&(r=r.concat(o.toArray())),n&&n.toArray&&(r=r.concat(n.toArray())),this._unbind(r)._unbind(r,"destroy")._unbind(r,"inactive")},s(function(){G(w,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=s(t.currentTarget),o=s(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(C)&&!i.hasClass(z)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.position.adjust.mouse&&n.hide.event&&n.show.target&&!o.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(j,e)}),G("["+b+"]",x,X)}),n=s.fn.qtip=function(t,o,r){var h=(""+t).toLowerCase(),l=null,c=s.makeArray(arguments).slice(1),d=c[c.length-1],p=this[0]?s.data(this[0],v):null;return!arguments.length&&p||"api"===h?p:"string"==typeof t?(this.each(function(){var t=s.data(this,v);if(!t)return!0;if(d&&d.timeStamp&&(t.cache.event=d),o&&("option"===h||"options"===h)){if(!(r!==i||s.isPlainObject(o)))return l=t.get(o),!1;t.set(o,r)}else t[h]&&t[h].apply(t,c)}),null!==l?l:this):"object"!=typeof t&&arguments.length?void 0:(p=L(s.extend(!0,{},t)),this.each(function(t){var i,o;if(o=(o=Array.isArray(p.id)?p.id[t]:p.id)&&!1!==o&&!(o.length<1)&&!n.api[o]?o:n.nextid++,!1===(i=function t(i,o,r){var h,l,c,d,p,u=s(e.body),f=i[0]===e?u:i,g=i.metadata?i.metadata(r.metadata):null,m="html5"===r.metadata.type&&g?g[r.metadata.name]:null,$=i.data(r.metadata.name||"qtipopts");try{$="string"==typeof $?JSON.parse($):$}catch(b){}if(l=(d=s.extend(!0,{},n.defaults,r,"object"==typeof $?L($):null,L(m||g))).position,d.id=o,"boolean"==typeof d.content.text){if(c=i.attr(d.content.attr),!1===d.content.attr||!c)return!1;d.content.text=c}if(l.container.length||(l.container=u),!1===l.target&&(l.target=f),!1===d.show.target&&(d.show.target=f),!0===d.show.solo&&(d.show.solo=l.container.closest("body")),!1===d.hide.target&&(d.hide.target=f),!0===d.position.viewport&&(d.position.viewport=l.container),l.container=l.container.eq(0),l.at=new a(l.at,!0),l.my=new a(l.my),i.data(v)){if(d.overwrite)i.qtip("destroy",!0);else if(!1===d.overwrite)return!1}return i.attr(y,o),d.suppress&&(p=i.attr("title"))&&i.removeAttr("title").attr(k,p).attr("title",""),h=new P(i,d,o,!!c),i.data(v,h),h}(s(this),o,p)))return!0;n.api[o]=i,s.each($,function(){"initialize"===this.initialize&&this(i)}),i._assignInitialEvents(d)}))},s.qtip=P,n.api={},s.each({attr:function(t,e){if(this.length){var i=this[0],o="title",n=s.data(i,"qtip");if(t===o&&n&&n.options&&"object"==typeof n&&"object"==typeof n.options&&n.options.suppress)return arguments.length<2?s.attr(i,k):(n&&n.options.content.attr===o&&n.cache.attr&&n.set("content.text",e),this.attr(k,e))}return s.fn["attr"+W].apply(this,arguments)},clone:function(t){var e=s.fn["clone"+W].apply(this,arguments);return t||e.filter("["+k+"]").attr("title",function(){return s.attr(this,k)}).removeAttr(k),e}},function(t,e){if(!e||s.fn[t+W])return!0;var i=s.fn[t+W]=s.fn[t];s.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),s.ui||(s["cleanData"+W]=s.cleanData,s.cleanData=function(t){for(var e,i=0;(e=s(t[i])).length;i++)if(e.attr(y))try{e.triggerHandler("removeqtip")}catch(o){}s["cleanData"+W].apply(this,arguments)}),n.version="3.0.3",n.nextid=0,n.inactiveEvents=x,n.zindex=15e3,n.defaults={prerender:!1,id:!1,overwrite:!0,suppress:!0,content:{text:!0,attr:"title",title:!1,button:!1},position:{my:"top left",at:"bottom right",target:!1,container:!1,viewport:!1,adjust:{x:0,y:0,mouse:!0,scroll:!0,resize:!0,method:"flipinvert flipinvert"},effect:function(t,e){s(this).animate(e,{duration:200,queue:!1})}},show:{target:!1,event:"mouseenter",effect:!0,delay:90,solo:!1,ready:!1,autofocus:!1},hide:{target:!1,event:"mouseleave",effect:!0,delay:0,fixed:!1,inactive:!1,leave:"window",distance:!1},style:{classes:"",widget:!1,width:!1,height:!1,def:!0},events:{render:null,move:null,show:null,hide:null,toggle:null,visible:null,hidden:null,focus:null,blur:null}};var F,U,J,K,Z,Q="margin",tt="border",te="color",ti="background-color",ts="transparent",to=" !important",tn=!!e.createElement("canvas").getContext,tr=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function ta(t){return t.charAt(0).toUpperCase()+t.slice(1)}var th={},tl=["Webkit","O","Moz","ms"];function tc(t,e){return Math.ceil(parseFloat(function t(e,s){var o,n,r=s.charAt(0).toUpperCase()+s.slice(1),a=(s+" "+tl.join(r+" ")+r).split(" "),h=0;if(th[s])return e.css(th[s]);for(;o=a[h++];)if(i!==(n=e.css(o)))return th[s]=o,n}(t,e)))}function td(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.qtip=t,this.init(t)}tn?J=(K=t.devicePixelRatio||1)/(Z=(tp=e.createElement("canvas").getContext("2d")).backingStorePixelRatio||tp.webkitBackingStorePixelRatio||tp.mozBackingStorePixelRatio||tp.msBackingStorePixelRatio||tp.oBackingStorePixelRatio||1):U=function(t,e,i){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(i||"")+'" />'},s.extend(td.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=s("<div />",{class:v+"-tip"}).prependTo(t.tooltip),tn?((e=s("<canvas />").appendTo(this.element)[0].getContext("2d")).lineJoin="miter",e.miterLimit=1e5,e.save()):(e=U("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(s("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&("top"===t.y||t.y===g&&this.element.position().top+this.size[1]/2+this.options.offset<e.outerHeight(!0))},_parseCorner:function(t){var e=this.qtip.options.position.my;return!1===t||!1===e?t=!1:!0===t?t=new a(e.string()):t.string||((t=new a(t)).fixed=!0),t},_parseWidth:function(t,e,i){var s=this.qtip.elements,o=tt+ta(e)+"Width";return(i?tc(i,o):tc(s.content,o)||tc(this._useTitle(t)&&s.titlebar||s.content,o)||tc(s.tooltip,o))||0},_parseRadius:function(t){var e=this.qtip.elements,i=tt+ta(t.y)+ta(t.x)+"Radius";return E.ie<9?0:tc(this._useTitle(t)&&e.titlebar||e.content,i)||tc(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!(!s||i&&s===t.css(i)||tr.test(s))&&s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),o=tt+ta(t[t.precedance])+ta(te),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,ti)||r(n,ti)||r(e.content,ti)||r(e.tooltip,ti)||i.css(ti),a[1]=r(i,o,te)||r(n,o,te)||r(e.content,o,te)||r(e.tooltip,o,te)||e.tooltip.css(o),s("*",i).add(i).css("cssText",ti+":"+ts+to+";"+tt+":0"+to+";"),a},_calculateSize:function(t){var e,i,s,o="y"===t.precedance,n=this.options.width,r=this.options.height,a="c"===t.abbrev(),h=(o?n:r)*(a?.5:1),l=Math.pow,c=Math.round,d=Math.sqrt(l(h,2)+l(r,2)),p=[this.border/h*d,this.border/r*d];return p[2]=Math.sqrt(l(p[0],2)-l(this.border,2)),p[3]=Math.sqrt(l(p[1],2)-l(this.border,2)),s=[c((i=(e=d+p[2]+p[3]+(a?0:p[0]))/d)*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t,e,i){i=i||1;var s=(e=e||this.size)[0]*i,o=e[1]*i,n=Math.ceil(s/2),r=Math.ceil(o/2),a={br:[0,0,s,o,s,0],bl:[0,0,s,0,0,o],tr:[0,o,s,0,s,o],tl:[0,0,0,o,s,o],tc:[0,o,n,0,s,o],bc:[0,0,s,0,n,o],rc:[0,0,s,r,0,o],lc:[s,0,s,o,0,r]};return a.lt=a.br,a.rt=a.bl,a.lb=a.tr,a.rb=a.tl,a[t.abbrev()]},_drawCoords:function(t,e){t.beginPath(),t.moveTo(e[0],e[1]),t.lineTo(e[2],e[3]),t.lineTo(e[4],e[5]),t.closePath()},create:function(){var t=this.corner=(tn||E.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(e,i){if(!this.enabled)return this;var o,n,r,h,l,m,$,v,y=this.qtip.elements,b=this.element,_=b.children(),w=this.options,x=this.size,C=w.mimic,q=Math.round;e||(e=this.qtip.cache.corner||this.corner),!1===C?C=e:((C=new a(C)).precedance=e.precedance,"inherit"===C.x?C.x=e.x:"inherit"===C.y?C.y=e.y:C.x===C.y&&(C[e.precedance]=e[e.precedance])),n=C.precedance,"x"===e.precedance?this._swapDimensions():this._resetDimensions(),(o=this.color=this._parseColours(e))[1]!==ts?(v=this.border=this._parseWidth(e,e[e.precedance]),w.border&&v<1&&!tr.test(o[1])&&(o[0]=o[1]),this.border=v=!0!==w.border?w.border:v):this.border=v=0,$=this.size=this._calculateSize(e),b.css({width:$[0],height:$[1],lineHeight:$[1]+"px"}),m="y"===e.precedance?[q(C.x===p?v:C.x===f?$[0]-x[0]-v:($[0]-x[0])/2),q("top"===C.y?$[1]-x[1]:0)]:[q(C.x===p?$[0]-x[0]:0),q("top"===C.y?v:C.y===u?$[1]-x[1]-v:($[1]-x[1])/2)],tn?((r=_[0].getContext("2d")).restore(),r.save(),r.clearRect(0,0,6e3,6e3),h=this._calculateTip(C,x,J),l=this._calculateTip(C,this.size,J),_.attr(c,$[0]*J).attr(d,$[1]*J),_.css(c,$[0]).css(d,$[1]),this._drawCoords(r,l),r.fillStyle=o[1],r.fill(),r.translate(m[0]*J,m[1]*J),this._drawCoords(r,h),r.fillStyle=o[0],r.fill()):(h="m"+(h=this._calculateTip(C))[0]+","+h[1]+" l"+h[2]+","+h[3]+" "+h[4]+","+h[5]+" xe",m[2]=v&&/^(r|b)/i.test(e.string())?8===E.ie?2:1:0,_.css({coordsize:$[0]+v+" "+$[1]+v,antialias:""+(C.string().indexOf(g)>-1),left:m[0]-m[2]*Number("x"===n),top:m[1]-m[2]*Number("y"===n),width:$[0]+v,height:$[1]+v}).each(function(t){var e=s(this);e[e.prop?"prop":"attr"]({coordsize:$[0]+v+" "+$[1]+v,path:h,fillcolor:o[0],filled:!!t,stroked:!t}).toggle(!!(v||t)),t||e.html(U("stroke",'weight="'+2*v+'px" color="'+o[1]+'" miterlimit="1000" joinstyle="miter"'))})),t.opera&&setTimeout(function(){y.tip.css({display:"inline-block",visibility:"visible"})},1),!1!==i&&this.calculate(e,$)},calculate:function(t,e){if(!this.enabled)return!1;var i,o,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l={};return i=(t=t||this.corner).precedance,e=e||this._calculateSize(t),o=[t.x,t.y],"x"===i&&o.reverse(),s.each(o,function(s,o){var a,c,d;o===g?(l[a="y"===i?p:"top"]="50%",l[Q+"-"+a]=-Math.round(e["y"===i?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),d=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(d>a?d:-a)))}),l[t[i]]-=e["x"===i?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,s){if(this.enabled){var o,n,r=e.cache,a=this.corner.clone(),h=s.adjusted,l=e.options.position.adjust.method.split(" "),c=l[0],d=l[1]||l[0],$={left:!1,top:!1,x:0,y:0},v={};!0!==this.corner.fixed&&(y(c,"x","y",p,f),y(d,"y","x","top",u),(a.string()!==r.corner.string()||r.cornerTop!==h.top||r.cornerLeft!==h.left)&&this.update(a,!1)),i!==(o=this.calculate(a)).right&&(o.left=-o.right),i!==o.bottom&&(o.top=-o.bottom),o.user=this.offset,$.left=c===m&&!!h.left,$.left&&b("x",p,f),$.top=d===m&&!!h.top,$.top&&b("y","top",u),this.element.css(v).toggle(!($.x&&$.y||a.x===g&&$.y||a.y===g&&$.x)),s.left-=o.left.charAt?o.user:c===m&&!$.top&&($.left||$.top)?0:o.left+this.border,s.top-=o.top.charAt?o.user:d===m&&!$.left&&($.left||$.top)?0:o.top+this.border,r.cornerLeft=h.left,r.cornerTop=h.top,r.corner=a.clone()}function y(t,e,i,s,o){t===m&&a.precedance===e&&h[s]&&a[i]!==g?a.precedance="x"===a.precedance?"y":"x":t!==m&&h[s]&&(a[e]=a[e]===g?h[s]>0?s:o:a[e]===s?o:s)}function b(t,e,r){a[t]===g?v[Q+"-"+e]=$[t]=o[Q+"-"+e]-h[e]:(n=i!==o[r]?[h[e],-o[e]]:[-h[e],o[e]],($[t]=Math.max(n[0],n[1]))>n[0]&&(s[e]-=h[e],$[e]=!1),v[i!==o[r]?r:e]=$[t])}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),(F=$.tip=function(t){return new td(t,t.options.style.tip)}).initialize="render",F.sanitize=function(t){if(t.style&&"tip"in t.style){var e=t.style.tip;"object"!=typeof e&&(e=t.style.tip={corner:e}),/string|boolean/i.test(typeof e.corner)||(e.corner=!0)}},h.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},s.extend(!0,n.defaults,{style:{tip:{corner:!0,mimic:!1,width:6,height:6,border:!0,offset:0}}});var tp,tu,tf,tg="qtip-modal",tm="."+tg;function t$(t,e){this.options=e,this._ns="-modal",this.qtip=t,this.init(t)}function tv(t){this._ns="ie6",this.qtip=t,this.init(t)}tf=new(tf=function(){var t,i,o,n=this,r={};function a(t){r.length<1&&t.length?t.not("body").blur():r.first().focus()}function h(e){if(o.is(":visible")){var i,n=s(e.target),r=t.tooltip,h=n.closest(w);(i=!(h.length<1)&&parseInt(h[0].style.zIndex,10)>parseInt(r[0].style.zIndex,10))||n.closest(w)[0]===r[0]||a(n)}}s.extend(n,{init:function(){return(o=n.elem=s("<div />",{id:"qtip-overlay",html:"<div></div>"})).on("mousedown",function(){return!1}).hide(),s(e.body).on("focusin"+tm,h),s(e).on("keydown"+tm,function(e){t&&t.options.show.modal.escape&&27===e.keyCode&&t.hide(e)}),o.on("click"+tm,function(e){t&&t.options.show.modal.blur&&t.hide(e)}),n},update:function(e){t=e,r=!1!==e.options.show.modal.stealfocus?e.tooltip.find("*").filter(function(){return function t(e){if(s.expr[":"].focusable)return s.expr[":"].focusable;var i,o,n,r=!isNaN(s.attr(e,"tabindex")),a=e.nodeName&&e.nodeName.toLowerCase();return"area"===a?(o=(i=e.parentNode).name,!!e.href&&!!o&&"map"===i.nodeName.toLowerCase()&&!!(n=s("img[usemap=#"+o+"]")[0])&&n.is(":visible")):/input|select|textarea|button|object/.test(a)?!e.disabled:"a"===a&&e.href||r}(this)}):[]},toggle:function(r,h,l){var c=r.tooltip,d=r.options.show.modal,p=d.effect,u=o.is(":visible"),f=s(tm).filter(":visible:not(:animated)").not(c);return n.update(r),h&&!1!==d.stealfocus&&a(s(":focus")),o.toggleClass("blurs",d.blur),h&&o.appendTo(e.body),o.is(":animated")&&u===h&&!1!==i||!h&&f.length||(o.stop(!0,!1),"function"==typeof p?p.call(o,h):!1===p?o[h?"show":"hide"]():o.fadeTo(parseInt(l,10)||90,h?1:0,function(){h||o.hide()}),h||o.queue(function(t){o.css({left:"",top:""}),s(tm).length||o.detach(),t()}),i=h,t.destroyed&&(t=null)),n}}),n.init()}),s.extend(t$.prototype,{init:function(t){var e=t.tooltip;if(!this.options.on)return this;t.elements.overlay=tf.elem,e.addClass(tg).css("z-index",n.modal_zindex+s(tm).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,o){var n=t.originalEvent;if(t.target===e[0]){if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&s(n.relatedTarget).closest(tf.elem[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&"tooltipsolo"!==n.type)&&this.toggle(t,"tooltipshow"===t.type,o)}},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var o=s(tm),r=n.modal_zindex+o.length,a=parseInt(e[0].style.zIndex,10);tf.elem[0].style.zIndex=r-1,o.each(function(){this.style.zIndex>a&&(this.style.zIndex-=1)}),o.filter("."+T).qtip("blur",t.originalEvent),e.addClass(T)[0].style.zIndex=r,tf.update(i);try{t.preventDefault()}catch(h){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&s(tm).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this)},toggle:function(t,e,i){if(t&&t.isDefaultPrevented())return this;tf.toggle(this.qtip,!!e,i)},destroy:function(){this.qtip.tooltip.removeClass(tg),this.qtip._unbind(this.qtip.tooltip,this._ns),tf.toggle(this.qtip,!1),delete this.qtip.elements.overlay}}),(tu=$.modal=function(t){return new t$(t,t.options.show.modal)}).sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:void 0===t.show.modal.on&&(t.show.modal.on=!0))},n.modal_zindex=n.zindex-200,tu.initialize="render",h.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},s.extend(!0,n.defaults,{show:{modal:{on:!1,effect:!0,blur:!0,stealfocus:!0,escape:!0}}}),$.viewport=function(i,s,o,n,r,a,h){var l,$,v,y,b,_,w,x,C=o.target,q=i.elements.tooltip,T=o.my,j=o.at,z=o.adjust,W=z.method.split(" "),k=W[0],E=W[1]||W[0],P=o.viewport,A=o.container,S={left:0,top:0};if(!P.jquery||C[0]===t||C[0]===e.body||"none"===z.method)return S;function L(t,e,i,o,n,r,a,h,l){var d=s[n],p=T[t],u=j[t],f=p===n?l:p===r?-l:-l/2,C=w[n]+x[n]-(y?0:v[n]),q=C-d,z=d+l-(a===c?b:_)-C,W=f-(T.precedance===t||p===T[e]?u===n?h:u===r?-h:-h/2:0)-(u===g?h/2:0);return i===m?(W=(p===n?1:-1)*f,s[n]+=q>0?q:z>0?-z:0,s[n]=Math.max(-v[n]+x[n],d-W,Math.min(Math.max(-v[n]+x[n]+(a===c?b:_),d+W),s[n],"center"===p?d-f:1e9))):(o*="flipinvert"===i?2:0,q>0&&(p!==n||z>0)?(s[n]-=W+o,$.invert(t,n)):z>0&&(p!==r||q>0)&&(s[n]-=(p===g?-W:W)+o,$.invert(t,r)),s[n]<w[n]&&-s[n]>z&&(s[n]=d,$=T.clone())),s[n]-d}return v=A.offset()||S,y="static"===A.css("position"),l="fixed"===q.css("position"),b=P[0]===t?P.width():P.outerWidth(!1),_=P[0]===t?P.height():P.outerHeight(!1),w={left:l?0:P.scrollLeft(),top:l?0:P.scrollTop()},x=P.offset()||S,("shift"!==k||"shift"!==E)&&($=T.clone()),S={left:"none"!==k?L("x","y",k,z.x,p,f,c,n,a):0,top:"none"!==E?L("y","x",E,z.y,"top",u,d,r,h):0,my:$}},$.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:!1},r=0,a=[],h=1,l=1,c=0,d=0;for(r=t.length;r--;)(i=[parseInt(t[--r],10),parseInt(t[r+1],10)])[0]>n.position.right&&(n.position.right=i[0]),i[0]<n.position.left&&(n.position.left=i[0]),i[1]>n.position.bottom&&(n.position.bottom=i[1]),i[1]<n.position.top&&(n.position.top=i[1]),a.push(i);if(s=n.width=Math.abs(n.position.right-n.position.left),o=n.height=Math.abs(n.position.bottom-n.position.top),"c"===e.abbrev())n.position={left:n.position.left+n.width/2,top:n.position.top+n.height/2};else{for(;s>0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),e.x===p?h=s:e.x===f?h=n.width-s:h+=Math.floor(s/2),"top"===e.y?l=o:e.y===u?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(a.length<2);)c=a[r][0]-n.position.left,d=a[r][1]-n.position.top,(e.x===p&&c>=h||e.x===f&&c<=h||e.x===g&&(c<h||c>n.width-h)||"top"===e.y&&d>=l||e.y===u&&d<=l||e.y===g&&(d<l||d>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=$.polys._angles[o.abbrev()],r=0===n?0:i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:!1}},circle:function(t,e,i,s){return $.polys.ellipse(t,e,i,i,s)}},$.svg=function(t,i,o){for(var n,r,a,h,l,c,d,p,u,f=i[0],g=s(f.ownerSVGElement),m=f.ownerDocument,v=(parseInt(i.css("stroke-width"),10)||0)/2;!f.getBBox;)f=f.parentNode;if(!f.getBBox||!f.parentNode)return!1;switch(f.nodeName){case"ellipse":case"circle":p=$.polys.ellipse(f.cx.baseVal.value,f.cy.baseVal.value,(f.rx||f.r).baseVal.value+v,(f.ry||f.r).baseVal.value+v,o);break;case"line":case"polygon":case"polyline":for(d=f.points||[{x:f.x1.baseVal.value,y:f.y1.baseVal.value},{x:f.x2.baseVal.value,y:f.y2.baseVal.value}],p=[],c=-1,h=d.numberOfItems||d.length;++c<h;)l=d.getItem?d.getItem(c):d[c],p.push.apply(p,[l.x,l.y]);p=$.polys.polygon(p,o);break;default:p={width:(p=f.getBBox()).width,height:p.height,position:{left:p.x,top:p.y}}}return u=p.position,(g=g[0]).createSVGPoint&&(r=f.getScreenCTM(),(d=g.createSVGPoint()).x=u.left,d.y=u.top,a=d.matrixTransform(r),u.left=a.x,u.top=a.y),m!==e&&"mouse"!==t.position.target&&(n=s((m.defaultView||m.parentWindow).frameElement).offset())&&(u.left+=n.left,u.top+=n.top),m=s(m),u.left+=m.scrollLeft(),u.top+=m.scrollTop(),p},$.imagemap=function(t,e,i){e.jquery||(e=s(e));var o,n,r,a,h,l=(e.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),c=s('img[usemap="#'+e.parent("map").attr("name")+'"]'),d=e.attr("coords").trim().replace(/,$/,"").split(",");if(!c.length)return!1;if("polygon"===l)a=$.polys.polygon(d,i);else{if(!$.polys[l])return!1;for(r=-1,h=d.length,n=[];++r<h;)n.push(parseInt(d[r],10));a=$.polys[l].apply(this,n.concat(i))}return o=c.offset(),o.left+=Math.ceil((c.outerWidth(!1)-c.width())/2),o.top+=Math.ceil((c.outerHeight(!1)-c.height())/2),a.position.left+=o.left,a.position.top+=o.top,a},s.extend(tv.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=s(t).scrollTop()+"px")},init:function(i){var o=i.tooltip;s("select, object").length<1&&(this.bgiframe=i.elements.bgiframe=s('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(o),i._bind(o,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=s("<div/>",{id:v+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(o,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(!1),width:i.outerWidth(!1)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e={left:-(e=parseInt(i.css("borderLeftWidth"),10)||0),top:-e},o&&n&&(t="x"===o.corner.precedance?[c,p]:[d,"top"],e[t[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css(d,n.height),n.width?o.css(c,n.width):(o.css(c,"").appendTo(this.redrawContainer),(e=o.width())%2<1&&(e+=1),t=((i=o.css("maxWidth")||"")+(s=o.css("minWidth")||"")).indexOf("%")>-1?r.width()/100:0,e=(i=(i.indexOf("%")>-1?t:1*parseInt(i,10))||e)+(s=(s.indexOf("%")>-1?t:1*parseInt(s,10))||0)?Math.min(Math.max(e,s),i):e,o.css(c,Math.round(e)).appendTo(r)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),(o=$.ie6=function(t){return 6===E.ie&&new tv(t)}).initialize="render",h.ie6={"^content|style$":function(){this.redraw()}}},"function"==typeof define&&define.amd?define(["jquery"],s):jQuery&&!jQuery.fn.qtip&&s(jQuery)}(window,document);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists