diff --git a/dist/jquery.qtip.css b/dist/jquery.qtip.css index 21cbcfcd..2a5a105b 100644 --- a/dist/jquery.qtip.css +++ b/dist/jquery.qtip.css @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 04:03:40 2010 +0000 +* Date: Thu Dec 9 15:26:00 2010 +0000 */ .ui-tooltip-accessible{ diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index cc8153d3..f6a3552c 100644 --- a/dist/jquery.qtip.js +++ b/dist/jquery.qtip.js @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 04:03:40 2010 +0000 +* Date: Thu Dec 9 15:26:00 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -402,13 +402,15 @@ function QTip(target, options, id) function assignEvents(show, hide, tooltip, doc) { var namespace = '.qtip-'+id, + posOptions = options.position, targets = { show: options.show.target, hide: options.hide.target, - tooltip: self.elements.tooltip + tooltip: self.elements.tooltip, + container: posOptions.container[0] === document.body ? document : posOptions.container }, events = { show: String(options.show.event).split(' '), hide: String(options.hide.event).split(' ') }, - IE6 = $.browser.msie && (/^6\.[0-9]/).test($.browser.version); + IE6 = $.browser.msie && parseInt($.browser.version, 10) === 6; // Define show event method function showMethod(event) @@ -443,7 +445,7 @@ function QTip(target, options, id) clearTimeout(self.timers.hide); // Prevent hiding if tooltip is fixed and event target is the tooltip. Or if mouse positioning is enabled and cursor momentarily overlaps - if(options.hide.fixed && ((options.position.target === 'mouse' && ontoTooltip) || ((/mouse(out|leave|move)/).test(event.type) && ontoTooltip))) + if(options.hide.fixed && ((posOptions.target === 'mouse' && ontoTooltip) || ((/mouse(out|leave|move)/).test(event.type) && ontoTooltip))) { // Prevent default and popagation event.stopPropagation(); @@ -471,8 +473,13 @@ function QTip(target, options, id) } function repositionMethod(event) { + console.log(event) + if(self.cache.processing) { return; } + // Only update position if tooltip is visible + self.cache.processing = 1; if(self.elements.tooltip.is(':visible')) { self.reposition(event); } + self.cache.processing = 0; } // Catch remove events on target element to destroy tooltip @@ -541,13 +548,13 @@ function QTip(target, options, id) // Apply document events if(doc) { // Adjust positions of the tooltip on window resize if enabled - if(options.position.adjust.resize || options.position.adjust.screen) { - $(window).bind('resize'+namespace, repositionMethod); + if(posOptions.adjust.resize || posOptions.adjust.screen) { + $($.event.special.resize ? targets.container : window).bind('resize'+namespace, repositionMethod); } // Adjust tooltip position on scroll if screen adjustment is enabled - if(options.position.adjust.screen || (IE6 && targets.tooltip.css('position') === 'fixed')) { - $(document).bind('scroll'+namespace, repositionMethod); + if(posOptions.adjust.screen || (IE6 && targets.tooltip.css('position') === 'fixed')) { + $(targets.container).bind('scroll'+namespace, repositionMethod); } // Hide tooltip on document mousedown if unfocus events are enabled @@ -563,10 +570,10 @@ function QTip(target, options, id) } // If mouse is the target, update tooltip position on document mousemove - if(options.position.target === 'mouse') { + if(posOptions.target === 'mouse') { $(document).bind('mousemove'+namespace, function(event) { // Update the tooltip position only if the tooltip is visible and adjustment is enabled - if(options.position.adjust.mouse && !targets.tooltip.hasClass('ui-state-disabled') && targets.tooltip.is(':visible')) { + if(posOptions.adjust.mouse && !targets.tooltip.hasClass('ui-state-disabled') && targets.tooltip.is(':visible')) { self.reposition(event || $.fn.qtip.mouse); } }); @@ -974,11 +981,7 @@ function QTip(target, options, id) reposition: function(event) { - // Return if tooltip isn't rendered or we're already processing a previous call - if(self.rendered === FALSE || self.cache.processing) { return FALSE; } - - // Set processing flag and continue otherwise - else { self.cache.processing = 1; } + if(self.rendered === FALSE) { return FALSE; } var target = options.position.target, tooltip = self.elements.tooltip, @@ -1043,6 +1046,9 @@ function QTip(target, options, id) scrollTop: viewport.scrollTop() }; + + + // Check if mouse was the target if(target === 'mouse') { // Force left top to allow flipping @@ -1139,9 +1145,6 @@ function QTip(target, options, id) tooltip.css(position); } - // Revoke processing flag now we're done - self.cache.processing = 0; - return self; }, diff --git a/dist/jquery.qtip.min.js b/dist/jquery.qtip.min.js index 27a9e777..dd0e9be6 100644 --- a/dist/jquery.qtip.min.js +++ b/dist/jquery.qtip.min.js @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 04:03:40 2010 +0000 +* Date: Thu Dec 9 15:26:00 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -19,66 +19,66 @@ var TRUE=true,FALSE=false,NULL=null; (function(a,G,K){function L(d){var b;if(!d)return FALSE;if("object"!==typeof d.metadata)d.metadata={type:d.metadata};if("content"in d){if("object"!==typeof d.content||d.content.jquery)d.content={text:d.content};b=d.content.text||FALSE;if(!a.isFunction(b)&&(!b&&!b.attr||b.length<1||"object"===typeof b&&!b.jquery))b=d.content.text=FALSE;if("title"in d.content&&"object"!==typeof d.content.title)d.content.title={text:d.content.title}}if("position"in d){if("object"!==typeof d.position)d.position={my:d.position, at:d.position};if("object"!==typeof d.position.adjust)d.position.adjust={};if("undefined"!==typeof d.position.adjust.screen)d.position.adjust.screen=!!d.position.adjust.screen}if("show"in d){if("object"!==typeof d.show)d.show={event:d.show};if("object"!==typeof d.show)d.show=d.show.jquery?{target:d.show}:{event:d.show}}if("hide"in d)if("object"!==typeof d.hide)d.hide=d.hide.jquery?{target:d.hide}:{event:d.hide};if("style"in d&&"object"!==typeof d.style)d.style={classes:d.style};a.each(a.fn.qtip.plugins, -function(){this.sanitize&&this.sanitize(d)});return d}function O(d,b,k){function h(c){var f,i=c.split("."),m=b[i[0]];for(c=1;c",{html:f}):a("", +function(){this.sanitize&&this.sanitize(d)});return d}function O(d,b,k){function h(c){var f,i=c.split("."),m=b[i[0]];for(c=1;c",{html:f}):a("", {"class":"ui-state-default",text:"Close tooltip",title:"Close tooltip",css:{"text-indent":"-10000em"}}).prepend(a("",{"class":(b.style.widget?"ui":j)+"-icon ui-icon-close"}));c.button.prependTo(c.titlebar).attr("role","button").addClass(j+"-close").hover(function(i){a(this).toggleClass("ui-state-hover",i.type==="mouseenter")}).click(function(){c.tooltip.hasClass("ui-state-disabled")||e.hide();return FALSE}).bind("mousedown keydown mouseup keyup mouseout",function(i){a(this).toggleClass("ui-state-active ui-state-focus", -/down$/i.test(i.type))});e.redraw()}function q(){var c=e.elements;c.titlebar&&s();c.titlebar=a("
",{"class":j+"-titlebar "+(b.style.widget?"ui-widget-header":"")}).append(c.title=a("
",{id:j+"-"+k+"-title","class":j+"-title",html:b.content.title.text})).prependTo(c.wrapper);if(b.content.title.button)u();else e.rendered===TRUE&&e.redraw()}function A(c){var f=e.elements;if(!e.rendered||!c)return FALSE;if(a.isFunction(c))c=c.call(d);c.jquery&&c.length>0?f.content.empty().append(c.css({display:"block"})): -f.content.html(c);f.tooltip.queue("fx",function(i){function m(p){g=g.not(p);if(g.length===0){e.redraw();e.rendered===TRUE&&e.reposition(e.cache.event);i()}}var g=a("img:not([height]):not([width])",e.elements.content);g.each(function(p,v){var w=["abort","error","load","unload",""].join(".qtip-image ");a(this).bind(w,function(){clearTimeout(e.timers.img[p]);m(this)});(function t(){if(v.height)return m(v);e.timers.img[p]=setTimeout(t,20)})();return TRUE});g.length===0&&m(g)});return e}function B(c,f, -i,m){function g(C){if(o.tooltip.hasClass("ui-state-disabled"))return FALSE;o.show.trigger("qtip-"+k+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var D=function(){e.show(C)};if(b.show.delay>0)e.timers.show=setTimeout(D,b.show.delay);else D()}function p(C){if(o.tooltip.hasClass("ui-state-disabled"))return FALSE;var D=a(C.relatedTarget||C.target).parents(n)[0]==o.tooltip[0];clearTimeout(e.timers.show);clearTimeout(e.timers.hide);if(b.hide.fixed&&(b.position.target==="mouse"&& -D||/mouse(out|leave|move)/.test(C.type)&&D)){C.stopPropagation();C.preventDefault();return FALSE}o.tooltip.stop(1,1);if(b.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(C)},b.hide.delay);else e.hide(C)}function v(C){if(o.tooltip.hasClass("ui-state-disabled"))return FALSE;clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){e.hide(C)},b.hide.inactive)}function w(C){e.elements.tooltip.is(":visible")&&e.reposition(C)}var t=".qtip-"+k,o={show:b.show.target,hide:b.hide.target, -tooltip:e.elements.tooltip},x={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")},F=a.browser.msie&&/^6\.[0-9]/.test(a.browser.version);d.bind("remove.qtip",function(){e.destroy()});if(i&&b.hide.fixed){o.hide=o.hide.add(o.tooltip);o.tooltip.bind("mouseover"+t,function(){o.tooltip.hasClass("ui-state-disabled")||clearTimeout(e.timers.hide)})}if(f){if("number"===typeof b.hide.inactive){o.show.bind("qtip-"+k+"-inactive",v);a.each(a.fn.qtip.inactiveEvents,function(C,D){o.hide.add(e.elements.tooltip).bind(D+ -t+"-inactive",v)})}a.each(x.hide,function(C,D){var E=a.inArray(D,x.show);if(E>-1&&a(o.hide).add(o.show).length===a(o.hide).length||D==="unfocus"){o.show.bind(D+t,function(y){o.tooltip.is(":visible")?p(y):g(y)});delete x.show[E]}else o.hide.bind(D+t,p)})}if(c){a.each(x.show,function(C,D){o.show.bind(D+t,g)});o.tooltip.bind("mouseover"+t,function(){e.focus()})}if(m){if(b.position.adjust.resize||b.position.adjust.screen)a(G).bind("resize"+t,w);if(b.position.adjust.screen||F&&o.tooltip.css("position")=== -"fixed")a(document).bind("scroll"+t,w);/unfocus/i.test(b.hide.event)&&a(document).bind("mousedown"+t,function(C){var D=e.elements.tooltip;a(C.target).parents(n).length===0&&a(C.target).add(d).length>1&&D.is(":visible")&&!D.hasClass("ui-state-disabled")&&e.hide()});b.position.target==="mouse"&&a(document).bind("mousemove"+t,function(C){if(b.position.adjust.mouse&&!o.tooltip.hasClass("ui-state-disabled")&&o.tooltip.is(":visible"))e.reposition(C||a.fn.qtip.mouse)})}}function z(c,f,i,m){m=parseInt(m, -10)!==0;var g=".qtip-"+k,p={show:c?b.show.target:a("
"),hide:f?b.hide.target:a("
"),tooltip:i?e.elements.tooltip:a("
")};f={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")};if(e.rendered){a.each(f.show,function(v,w){p.show.unbind(w+g)});p.show.unbind("mousemove"+g).unbind("mouseout"+g).unbind("qtip-"+k+"-inactive");a.each(f.hide,function(v,w){p.hide.add(p.tooltip).unbind(w+g)});a.each(a.fn.qtip.inactiveEvents,function(v,w){p.hide.add(i?e.elements.content:NULL).unbind(w+ -g+"-inactive")});p.hide.unbind("mouseout"+g);p.tooltip.unbind("mouseover"+g);if(m){a(G).unbind("resize"+g);a(document).unbind("mousedown"+g+" mousemove"+g)}}else c&&p.show.unbind(f.show+g+"-create")}var e=this,j="ui-tooltip",n=".qtip."+j;e.id=k;e.rendered=FALSE;e.elements={target:d};e.cache={event:{},target:NULL,disabled:FALSE};e.timers={img:[]};e.options=b;e.plugins={};a.extend(e,{render:function(c){var f=e.elements,i=a.Event("tooltiprender");if(e.rendered)return FALSE;e.rendered=c?-2:-1;f.tooltip= -a("
").attr({id:j+"-"+k,role:"tooltip","class":j+" qtip ui-tooltip-accessible ui-helper-reset "+b.style.classes}).css("z-index",a.fn.qtip.zindex+a(n).length).toggleClass("ui-widget",b.style.widget).toggleClass("ui-state-disabled",e.cache.disabled).data("qtip",e).appendTo(b.position.container);f.wrapper=a("
",{"class":j+"-wrapper"}).appendTo(f.tooltip);f.content=a("
",{"class":j+"-content "+(b.style.widget?"ui-widget-content":""),id:j+"-"+k+"-content"}).appendTo(f.wrapper);b.content.title.text&& -q();A(b.content.text);a.each(a.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});e.rendered=TRUE;B(1,1,1,1);a.each(b.events,function(m,g){g&&f.tooltip.bind("tooltip"+m,g)});f.tooltip.queue("fx",function(m){if(b.show.ready||c){f.tooltip.hide();e.show(e.cache.event)}f.tooltip.removeClass("ui-tooltip-accessible");i.originalEvent=e.cache.event;f.tooltip.trigger(i,[e.hash()]);m()});return e},get:function(c){switch(c.toLowerCase()){case "offset":c=l("position");break;case "dimensions":c= -l("dimensions");break;default:c=h(c.toLowerCase());c=c[0].precedance?c[0].string():c[0].jquery?c[0]:c[0][c[1]];break}return c},set:function(c,f){c=c.toLowerCase();var i=h(c),m=e.elements,g=m.tooltip,p,v,w,t={builtin:{id:function(){var o=f===TRUE?a.fn.qtip.nextid:f,x=j+"-"+o;if(o!==FALSE&&o.length>0&&!a("#ui-tooltip-"+o).length){g[0].id=x;m.content[0].id=x+"-content";m.title[0].id=x+"-title"}},"^content.text":function(){A(f)},"^content.title.text":function(){if(e.rendered)if(!e.elements.title&&f){q(); -e.reposition()}else f?e.elements.title.html(f):s()},"^content.title.button":function(){var o=e.elements.button,x=e.elements.title;if(e.rendered)if(f){x||q();u()}else o.remove()},"^position.(my|at)$":function(){var o=/my$/i.test(c)?"my":"at";if("string"===typeof f)b.position[o]=new a.fn.qtip.plugins.Corner(f)},"^position.(my|at|adjust|target)":function(){e.rendered&&e.reposition()},"^position.container$":function(){if(e.rendered===TRUE){g.appendTo(f);e.reposition()}},"^(show|hide).(event|target|fixed|delay|inactive)":function(o, -x,F,C){var D=c.search(/fixed/i)>-1?[0,[0,1,1,1]]:[c.substr(0,3),c.charAt(0)==="s"?[1,0,0,0]:[0,1,0,0]];if(D[0])o[x]=C;z.apply(e,D[1]);if(D[0])o[x]=F;B.apply(e,D[1])},"^show.ready$":function(){e.rendered===FALSE&&e.show()},"^style.classes$":function(){e.elements.tooltip.attr("class",j+" qtip ui-helper-reset "+f)},"^style.widget$":function(){var o=!!f;g.toggleClass("ui-widget",o);m.titlebar.toggleClass("ui-widget-header",o);m.content.toggleClass("ui-widget-content",o);m.button.children("span").toggleClass(j+ -"-icon",!o).toggleClass("ui-icon",o)},"^events.(render|show|move|hide|focus|blur)":function(o,x,F){m.tooltip[(a.isFunction(f)?"":"un")+"bind"]("tooltip"+x,F)}}};a.each(e.plugins,function(o){if("object"===typeof this.checks)t[o]=this.checks});p=i[0][i[1]];i[0][i[1]]=f.nodeType?a(f):f;L(b);for(v in t)for(w in t[v])RegExp(w,"i").test(c)&&t[v][w].call(e,i[0],i[1],f,p);return e},toggle:function(c,f){function i(){var t=a(this),o=c?"attr":"removeAttr",x=/^1|0$/.test(t.css("opacity"));e.elements.title&&d[o]("aria-labelledby", -j+"-"+k+"-title");d[o]("aria-describedby",j+"-"+k+"-content");if(c){if(a.browser.msie&&this.style&&x){w=this.style;w.removeAttribute("filter");w.removeAttribute("opacity")}}else x&&t.hide()}if(e.rendered===FALSE)return FALSE;var m=c?"show":"hide",g=e.elements.tooltip,p=b[m],v=g.is(":visible"),w;if((typeof c).search("boolean|number"))c=!g.is(":visible");if(!v&&!c||g.is(":animated"))return e;if(f){if(e.cache.event&&/over|enter/.test(f.type)&&/out|leave/.test(e.cache.event.type)&&a(f.target).add(b.show.target).length< -2&&a(f.relatedTarget).parents(n).length>0)return e;e.cache.event=a.extend({},f)}v=a.Event("tooltip"+m);v.originalEvent=f?e.cache.event:NULL;g.trigger(v,[e.hash(),90]);if(v.isDefaultPrevented())return e;if(c){e.focus();e.reposition(f);p.solo&&a(n).qtip("hide")}else clearTimeout(e.timers.show);g.attr("aria-hidden",Boolean(!c));g.stop(1,1);if(a.isFunction(p.effect)){p.effect.call(g,e.hash());g.queue(function(){i.call(this);a(this).dequeue()})}else if(p.effect===FALSE){g[m]();i.call(g)}else g.fadeTo(90, -c?1:0,i);c&&p.target.trigger("qtip-"+k+"-inactive");return e},show:function(c){e.toggle(TRUE,c)},hide:function(c){e.toggle(FALSE,c)},focus:function(c){if(e.rendered===FALSE)return FALSE;var f=e.elements.tooltip,i=a(n),m=parseInt(f[0].style.zIndex,10),g=a.fn.qtip.zindex+i.length,p=j+"-focus",v=a.extend({},c);if(!f.hasClass(p)&&m!==g){i.each(function(){this.style.zIndex-=1});a(n+"."+p).each(function(){var w=a(this),t=w.qtip(),o;if(!t||t.rendered===FALSE)return TRUE;w.removeClass(p);o=a.Event("tooltipblur"); -o.originalEvent=v;w.trigger(o,[t,g])});c=a.Event("tooltipfocus");c.originalEvent=v;f.trigger(c,[e.hash(),g]);if(!c.isDefaultPrevented())f.addClass(p)[0].style.zIndex=g}return e},reposition:function(c){if(e.rendered===FALSE||e.cache.processing)return FALSE;else e.cache.processing=1;var f=b.position.target,i=e.elements.tooltip,m=b.position,g=m.my,p=m.at,v=m.adjust,w=e.elements.tooltip.width(),t=e.elements.tooltip.height(),o=a(m.container)[0],x=0,F=0,C=a.Event("tooltipmove"),D=i.css("position")==="fixed", -E=a(v.container&&o!==document.body?o:G),y={left:0,top:0};o={left:function(H){var J=E.scrollLeft,I=p.x==="left"?x:p.x==="right"?-x:-x/2,M=H+w-E.width-J;I=(g.x==="left"?w:g.x==="right"?-w:-w/2)-(g.x===g.y?1:-2)*v.x-(g.precedance==="x"||g.x===g.y?I:0);if(J-H>0)y.left-=I;else if(M>0)y.left-=(g.x==="center"?-1:1)*I;return y.left-H},top:function(H){var J=E.scrollTop,I=p.y==="top"?F:p.y==="bottom"?-F:-F/2,M=H+t-E.height-J;I=(g.y==="top"?t:g.y==="bottom"?-t:-t/2)-(g.y===g.x?1:-2)*v.y-(g.precedance==="y"|| -g.x===g.y?I:0);if(J-H>0)y.top-=I;else if(M>0)y.top-=(g.y==="center"?-1:1)*I;return y.top-H}};E={elem:E,height:E[(E[0]===G?"h":"outerH")+"eight"](),width:E[(E[0]===G?"w":"outerW")+"idth"](),scrollLeft:E.scrollLeft(),scrollTop:E.scrollTop()};if(f==="mouse"){p={x:"left",y:"top"};c=v.mouse||!c||!c.pageX?a.extend({},a.fn.qtip.mouse):c;y={top:c.pageY,left:c.pageX}}else{if(f==="event")f=c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?e.cache.target=a(c.target):e.cache.target;f=a(f).eq(0);if(f.length=== -0)return e;else if(f[0]===document||f[0]===G){x=f.width();F=f.height();if(f[0]===G)y={top:D?0:E.scrollTop,left:D?0:E.scrollLeft}}else if(f.is("area")&&a.fn.qtip.plugins.imagemap){y=a.fn.qtip.plugins.imagemap(f,p);x=y.width;F=y.height;y=y.offset}else{x=f.outerWidth();F=f.outerHeight();y=r(f)}y.left+=p.x==="right"?x:p.x==="center"?x/2:0;y.top+=p.y==="bottom"?F:p.y==="center"?F/2:0}y.left+=v.x+(g.x==="right"?-w:g.x==="center"?-w/2:0);y.top+=v.y+(g.y==="bottom"?-t:g.y==="center"?-t/2:0);y.adjusted=v.screen&& -f[0]!==G&&f[0]!==document.body?{left:o.left(y.left),top:o.top(y.top)}:{left:0,top:0};i.attr("class",function(){return a(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+g.abbreviation());C.originalEvent=a.extend({},c);i.trigger(C,[e.hash(),y,E.elem]);if(C.isDefaultPrevented())return e;delete y.adjusted;if(i.is(":visible")&&a.isFunction(m.effect)){m.effect.call(i,e.hash(),y);i.queue(function(){var H=a(this);H.css({opacity:"",height:""});a.browser.msie&&this.style&&this.style.removeAttribute("filter"); -H.dequeue()})}else isNaN(y.left,y.top)||i.css(y);e.cache.processing=0;return e},redraw:function(){if(!e.rendered||!(a.browser.msie&&parseInt(a.browser.version.charAt(0),10)<9))return FALSE;var c=e.elements.tooltip;c.attr("style");var f;c.css({width:"auto",height:"auto"});f=l("dimensions",1);a.each(["width","height"],function(i,m){var g=parseInt(c.css("max-"+m),10)||0,p=parseInt(c.css("min-"+m),10)||0;f[m]=g+p?Math.min(Math.max(f[m],p),g):f[m]});c.css(f)},disable:function(c){var f=e.elements.tooltip; -if(e.rendered)f.toggleClass("ui-state-disabled",c);else e.cache.disabled=!!c;return e},destroy:function(){var c=e.elements,f=c.target.data("oldtitle");e.rendered&&a.each(e.plugins,function(){this.initialize==="render"&&this.destroy()});z(1,1,1,1);d.removeData("qtip");e.rendered&&c.tooltip.remove();f&&d.attr("title",f);d.removeAttr("aria-describedby");return d},hash:function(){var c=a.extend({},e);delete c.cache;delete c.timers;delete c.options;delete c.plugins;delete c.render;delete c.hash;return c}})} -function P(d,b){var k,h,r=a(this);k=a(document.body);var l=this===document?k:r;h=r.metadata?r.metadata(b.metadata):NULL;var s=a.extend(TRUE,{},a.fn.qtip.defaults,b,L((h&&b.metadata.type==="html5"?h[b.metadata.name]:NULL)||h));r.removeData("metadata");h=s.position;if("boolean"===typeof s.content.text)if(s.content.attr!==FALSE&&r.attr(s.content.attr))s.content.text=r.attr(s.content.attr);else return FALSE;if(h.container===FALSE)h.container=k;if(h.target===FALSE)h.target=l;if(s.show.target===FALSE)s.show.target= -l;if(s.hide.target===FALSE)s.hide.target=l;h.at=new a.fn.qtip.plugins.Corner(h.at);h.my=new a.fn.qtip.plugins.Corner(h.my);if(r.data("qtip"))if(s.overwrite)r.qtip("destroy");else if(s.overwrite===FALSE)return FALSE;r.attr("title")&&r.data("oldtitle",r.attr("title")).removeAttr("title");k=new O(r,s,d);r.data("qtip",k);return k}function Q(d){var b=this;b.checks={"^content.ajax":function(){this.plugins.ajax.load(this.options.content.ajax)}};a.extend(b,{init:function(){var k=d.options.content.ajax;d.elements.tooltip.bind("tooltiprender.ajax", -function(){b.load(k);d.elements.tooltip.bind("tooltipshow.ajax",function(){k.once===FALSE&&d.rendered===TRUE&&b.load(k)})})},load:function(k){a.ajax(a.extend(TRUE,{},k,{success:function(h,r){if(a.isFunction(k.success))if(k.success.call(d.hash(),h,r)===FALSE)return;d.set("content.text",h)},error:function(h,r,l){var s=r||l;if(a.isFunction(k.error)){h=k.error.call(d.hash(),h,r,l);if(h===FALSE)return}d.set("content.text",s)}}));return b},destroy:function(){d.elements.tooltip.unbind("tooltipshow.ajax")}}); -b.init()}function N(d,b,k){var h=Math.floor(b/2),r=Math.floor(k/2);b={bottomright:[[0,0],[b,k],[b,0]],bottomleft:[[0,0],[b,0],[0,k]],topright:[[0,k],[b,0],[b,k]],topleft:[[0,0],[0,k],[b,k]],topcenter:[[0,k],[h,0],[b,k]],bottomcenter:[[0,0],[b,0],[h,k]],rightcenter:[[0,0],[b,r],[0,k]],leftcenter:[[b,0],[b,k],[0,r]]};b.lefttop=b.bottomright;b.righttop=b.bottomleft;b.leftbottom=b.topright;b.rightbottom=b.topleft;return b[d]}function R(d){function b(j){var n=l.tip,c=["left","right"],f=r.offset,i,m;if(r.corner=== -FALSE||!n)return FALSE;j=j||h.corner;i=j.precedance;m=i==="y"?"x":"y";c[i==="y"?"push":"unshift"]("top","bottom");f=Math.max(j[m]==="center"?f:0,f);n.css({top:"",bottom:"",left:"",right:"",margin:""});switch(j[i==="y"?"x":"y"]){case "center":n.css(c[0],"50%").css("margin-"+c[0],-Math.floor(A[i==="y"?"width":"height"]/2)+f);break;case c[0]:n.css(c[0],f);break;case c[1]:n.css(c[1],f);break}f=A[i==="x"?"width":"height"];if(z){s.toggleClass("ui-tooltip-accessible",!s.is(":visible"));f-=parseInt(u.css("border-"+ -j[i]+"-width"),10)||0;s.removeClass("ui-tooltip-accessible")}if(e==="vml"&&/bottom|right/.test(j[j.precedance]))f+=z?1:-1;n.css(j[i],-f)}function k(j,n,c){if(l.tip){j=a.extend({},h.corner);n=j.precedance==="y"?["y","top","left","height","x"]:["x","left","top","width","y"];var f=c.adjusted,i=[0,0];if(h.corner.fixed!==TRUE){if(f.left)j.x=j.x==="center"?f.left>0?"left":"right":j.x==="left"?"right":"left";if(f.top)j.y=j.y==="center"?f.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==q.corner.string()&& -(q.top!==f.top||q.left!==f.left))h.update(j)}i[0]=z?parseInt(u.css("border-"+j[n[0]]+"-width"),10)||0:e==="vml"?1:0;i[1]=Math.max(j[n[4]]==="center"?r.offset:0,r.offset);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(A[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="center"?1:-1)*i[1];q.left=f.left;q.top=f.top;q.corner=j}}var h=this,r=d.options.style.tip,l=d.elements,s=l.tooltip,u=l.wrapper,q={top:0,left:0,corner:{string:function(){}}},A={width:r.width,height:r.height},B={},z=r.border||0,e=r.method||FALSE;h.corner= -NULL;h.mimic=NULL;h.checks={"^position.my|style.tip.(corner|mimic|method|border)":function(){z=r.border;if(h.init())this.get("position.target")!=="mouse"&&this.reposition();else h.destroy()},"^style.tip.(height|width)":function(){A={width:r.width,height:r.height};h.create();h.update();d.reposition()},"^style.(classes|widget)$":function(){h.detectColours();h.update()}};a.extend(h,{init:function(){var j=a.browser.msie,n=h.detectCorner(),c=h[h.mimic?"mimic":"corner"].string().indexOf("center")>-1;if(n){if(e=== -TRUE)e=a("")[0].getContext?"canvas":j&&(c||A.height!==A.width)?"vml":"polygon";else if(e==="canvas")e=j?"vml":!a("")[0].getContext?"polygon":"canvas";else if(e==="polygon")e=j&&c?"vml":e;h.create();h.detectColours();h.update();s.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",k)}return n},detectCorner:function(){var j=r.corner,n=d.options.position.at,c=d.options.position.my;if(c.string)c=c.string();if(j===FALSE||c===FALSE&&n===FALSE)return FALSE;else if(j===TRUE)h.corner=new a.fn.qtip.plugins.Corner(c); -else if(!j.string){h.corner=new a.fn.qtip.plugins.Corner(j);h.corner.fixed=TRUE}return h.corner.string()!=="centercenter"},detectColours:function(){var j=l.tip,n=h.corner,c=h.corner[h.corner.precedance],f="border-"+c+"-color",i=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,m=l.titlebar&&n.y==="top",g=d.options.style.widget;n=g?l.content:m?l.titlebar:l.wrapper;m=!g?l.wrapper:m?l.titlebar:l.content;B.fill=j.css({backgroundColor:"",border:""}).css("background-color")||"transparent";B.border=j.get(0).style?j.get(0).style["border"+ -c.charAt(0)+c.substr(1)+"Color"]:j.css(f)||"transparent";if(i.test(B.fill))B.fill=z?n.css("background-color"):m.css(f);if(!B.border||i.test(B.border))B.border=m.css(f)||B.fill;a("*",j).add(j).css("background-color","transparent").css("border",0)},create:function(){var j=A.width,n=A.height;l.tip&&l.tip.remove();l.tip=a('
').toggleClass("ui-widget-content",d.options.style.widget).css(A).prependTo(s);switch(e){case "canvas":a('').appendTo(l.tip)[0].getContext("2d").save(); -break;case "vml":l.tip.html('');break;case "polygon":l.tip.append('
').append(z?'
': -"");break}return h},update:function(j){var n=l.tip,c=A.width,f=A.height,i=z>0?0:1,m=Math.ceil(z/2+0.5),g=r.mimic,p,v;if(!j)j=h.corner;if(g===FALSE)g=j;else{g=new a.fn.qtip.plugins.Corner(g);g.precedance=j.precedance;if(g.x==="inherit")g.x=j.x;else if(g.y==="inherit")g.y=j.y;else if(g.x===g.y)g[j.precedance]=j[j.precedance]}v=Math[/b|r/.test(g[g.precedance==="y"?"x":"y"])?"ceil":"floor"];n=n.children();switch(e){case "canvas":n=n.get(0).getContext("2d");n.restore&&n.restore();n.clearRect(0,0,3E3,3E3); -for(p=N(g.string(),c,f);i<2;i++){if(i){n.save();n.translate(v((g.x==="left"?1:g.x==="right"?-1:0)*(z+1)*(g.precedance==="y"?0.5:1)),v((g.y==="top"?1:g.y==="bottom"?-1:0)*(z+1)*(g.precedance==="x"?0.5:1)))}n.beginPath();n.moveTo(p[0][0],p[0][1]);n.lineTo(p[1][0],p[1][1]);n.lineTo(p[2][0],p[2][1]);n.closePath();n.fillStyle=B[i?"fill":"border"];n.fill()}break;case "vml":p=N(g.string(),c,f);i="m"+p[0][0]+","+p[0][1]+" l"+p[1][0]+","+p[1][1]+" "+p[2][0]+","+p[2][1]+" xe";n.attr({path:i,fillcolor:B.fill}); -if(z){n.children().attr("color",B.border);if(g.precedance==="y"){n.css("top",(g.y==="top"?1:-1)*(z-2));n.css("left",g.x==="left"?1:-2)}else{n.css("left",(g.x==="left"?1:-1)*(z-2));n.css("top",g.y==="top"?1:-2)}}break;case "polygon":if(g.precedance==="y"){i=c>f?1.5:cf?5:2.2;m=[Math.floor(i*m*(g.x==="right"?-1:1)*(g.y==="center"?0.9:1)),g.y==="top"?m:g.y==="bottom"?-m:0]}n.removeAttr("style").each(function(w){var t= -{x:g.precedance==="x"?g.x==="left"?"right":"left":g.x,y:g.precedance==="y"?g.y==="top"?"bottom":"top":g.y},o=g.x==="center"?["left","right",t.y,f,c]:["top","bottom",t.x,c,f],x=B[!w&&z?"border":"fill"];w&&a(this).css({position:"absolute","z-index":1,left:m[0],top:m[1]});g.x==="center"||g.y==="center"?a(this).css("border-"+o[2],o[3]+"px solid "+x).css("border-"+o[0],Math.floor(o[4]/2)+"px dashed transparent").css("border-"+o[1],Math.floor(o[4]/2)+"px dashed transparent"):a(this).css("border-width", -Math.floor(f/2)+"px "+Math.floor(c/2)+"px").css("border-"+t.x,Math.floor(c/2)+"px solid "+x).css("border-"+t.y,Math.floor(f/2)+"px solid "+x)});break}b(j);return h},destroy:function(){l.tip&&l.tip.remove();s.unbind(".qtip-tip")}})}function S(d,b){var k=this,h=d.elements,r=h.tooltip;h.overlay=a("#qtip-overlay");a.extend(k,{init:function(){r.bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(l,s,u){l=l.type.replace("tooltip","");a.isFunction(b[l])?b[l].call(h.overlay,u,s):k[l](u)});h.overlay.length|| -k.create();b.blur===TRUE&&h.overlay.bind("click.qtipmodal"+d.id,function(){d.hide.call(d)})},create:function(){h.overlay=a("
",{id:"qtip-overlay",css:{position:"absolute",top:0,left:0,display:"none"}}).appendTo(document.body);a(G).bind("resize.qtipmodal",function(){h.overlay.css({height:Math.max(a(G).height(),a(document).height()),width:Math.max(a(G).width(),a(document).width())})}).trigger("resize")},toggle:function(l){var s=h.overlay,u=d.options.show.modal.effect,q=l?"show":"hide";s.stop(TRUE, -FALSE);if(a.isFunction(u))u.call(s,l);else u===FALSE?s[q]():s.fadeTo(90,l?0.7:0,function(){l||a(this).hide()})},show:function(){k.toggle(TRUE)},hide:function(){k.toggle(FALSE)},destroy:function(){var l=TRUE;a("*").each(function(){var s=a(this).data("qtip");if(s&&s.id!==d.id&&s.options.show.modal)return l=FALSE});if(l){h.overlay.remove();a(G).unbind("scroll.qtipmodal resize.qtipmodal")}else h.overlay.unbind("click.qtipmodal"+d.id);r.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});k.init()} -function T(d){var b=this,k=d.elements,h=k.tooltip,r=".bgiframe-"+d.id,l="tooltipmove"+r+" tooltipshow"+r;a.extend(b,{init:function(){k.bgiframe=a('');k.bgiframe.appendTo(h);h.bind(l,b.adjust)},adjust:function(){var s=d.get("dimensions"),u=d.plugins.tip,q=d.elements.tip,A;A=parseInt(h.css("border-left-width"),10)||0;A={left:-A, -top:-A};if(u&&q){u=u.corner.precedance==="x"?["width","left"]:["height","top"];A[u[1]]-=q[u[0]]()}k.bgiframe.css(A).css(s)},destroy:function(){b.iframe.remove();h.unbind(l)}});b.init()}a.fn.qtip=function(d,b,k){var h=String(d).toLowerCase(),r=NULL,l=h==="disable"?[TRUE]:a.makeArray(arguments).slice(1,10),s=l[l.length-1],u;if(!arguments.length&&this.data("qtip")||h==="api")return(u=this.data("qtip"))?u.hash():K;else if("string"===typeof d){this.each(function(){var q=a(this).data("qtip");if(!q)return TRUE; -if(/option|set/.test(h)&&b)if(k!==K)q.set(b,k);else r=q.get(b);else{if(!q.rendered&&(h==="show"||h==="toggle")){if(s&&s.timeStamp)q.cache.event=s;q.render(1)}else if(h==="enable"){h="disable";l=[FALSE]}q[h]&&q[h].apply(q[h],l)}});return r!==NULL?r:this}else if("object"===typeof d||!arguments.length){u=L(a.extend(TRUE,{},d));return a.fn.qtip.bind.call(this,u,s)}};a.fn.qtip.bind=function(d,b){return this.each(function(){function k(A){function B(){q.render(typeof A==="object"||h.show.ready);r.show.unbind(l.show); -r.hide.unbind(l.hide)}if(q.cache.disabled)return FALSE;q.cache.event=a.extend({},A);if(h.show.delay>0){clearTimeout(q.timers.show);q.timers.show=setTimeout(B,h.show.delay);l.show!==l.hide&&r.hide.bind(l.hide,function(){clearTimeout(q.timers.show)})}else B()}var h,r,l,s=d.id=!d.id||d.id===FALSE||d.id.length<1||a("#ui-tooltip-"+d.id).length?a.fn.qtip.nextid++:d.id,u=".qtip-"+s+"-create",q=P.call(this,s,d);if(q===FALSE)return TRUE;h=q.options;a.each(a.fn.qtip.plugins,function(){this.initialize==="initialize"&& -this(q)});r={show:h.show.target,hide:h.hide.target};l={show:String(h.show.event).replace(" ",u+" ")+u,hide:String(h.hide.event).replace(" ",u+" ")+u};r.show.bind(l.show,k);if(h.show.ready||h.prerender)k(b)})};a.each({attr:function(d){var b=a(this),k=b.data("qtip");return arguments.length===1&&d==="title"&&k&&k.rendered===TRUE?b.data("oldtitle"):NULL},remove:a.ui?NULL:function(d,b){a(this).each(function(){if(!b)if(!d||a.filter(d,[this]).length)a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}, +/down$/i.test(i.type))});e.redraw()}function p(){var c=e.elements;c.titlebar&&s();c.titlebar=a("
",{"class":j+"-titlebar "+(b.style.widget?"ui-widget-header":"")}).append(c.title=a("
",{id:j+"-"+k+"-title","class":j+"-title",html:b.content.title.text})).prependTo(c.wrapper);if(b.content.title.button)v();else e.rendered===TRUE&&e.redraw()}function C(c){var f=e.elements;if(!e.rendered||!c)return FALSE;if(a.isFunction(c))c=c.call(d);c.jquery&&c.length>0?f.content.empty().append(c.css({display:"block"})): +f.content.html(c);f.tooltip.queue("fx",function(i){function m(o){g=g.not(o);if(g.length===0){e.redraw();e.rendered===TRUE&&e.reposition(e.cache.event);i()}}var g=a("img:not([height]):not([width])",e.elements.content);g.each(function(o,w){var y=["abort","error","load","unload",""].join(".qtip-image ");a(this).bind(y,function(){clearTimeout(e.timers.img[o]);m(this)});(function u(){if(w.height)return m(w);e.timers.img[o]=setTimeout(u,20)})();return TRUE});g.length===0&&m(g)});return e}function D(c,f, +i,m){function g(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;r.show.trigger("qtip-"+k+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var x=function(){e.show(z)};if(b.show.delay>0)e.timers.show=setTimeout(x,b.show.delay);else x()}function o(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;var x=a(z.relatedTarget||z.target).parents(n)[0]==r.tooltip[0];clearTimeout(e.timers.show);clearTimeout(e.timers.hide);if(b.hide.fixed&&(t.target==="mouse"&&x||/mouse(out|leave|move)/.test(z.type)&& +x)){z.stopPropagation();z.preventDefault();return FALSE}r.tooltip.stop(1,1);if(b.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(z)},b.hide.delay);else e.hide(z)}function w(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){e.hide(z)},b.hide.inactive)}function y(z){console.log(z);if(!e.cache.processing){e.cache.processing=1;e.elements.tooltip.is(":visible")&&e.reposition(z);e.cache.processing=0}}var u=".qtip-"+ +k,t=b.position,r={show:b.show.target,hide:b.hide.target,tooltip:e.elements.tooltip,container:t.container[0]===document.body?document:t.container},E={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")},I=a.browser.msie&&parseInt(a.browser.version,10)===6;d.bind("remove.qtip",function(){e.destroy()});if(i&&b.hide.fixed){r.hide=r.hide.add(r.tooltip);r.tooltip.bind("mouseover"+u,function(){r.tooltip.hasClass("ui-state-disabled")||clearTimeout(e.timers.hide)})}if(f){if("number"=== +typeof b.hide.inactive){r.show.bind("qtip-"+k+"-inactive",w);a.each(a.fn.qtip.inactiveEvents,function(z,x){r.hide.add(e.elements.tooltip).bind(x+u+"-inactive",w)})}a.each(E.hide,function(z,x){var A=a.inArray(x,E.show);if(A>-1&&a(r.hide).add(r.show).length===a(r.hide).length||x==="unfocus"){r.show.bind(x+u,function(F){r.tooltip.is(":visible")?o(F):g(F)});delete E.show[A]}else r.hide.bind(x+u,o)})}if(c){a.each(E.show,function(z,x){r.show.bind(x+u,g)});r.tooltip.bind("mouseover"+u,function(){e.focus()})}if(m){if(t.adjust.resize|| +t.adjust.screen)a(a.event.special.resize?r.container:G).bind("resize"+u,y);if(t.adjust.screen||I&&r.tooltip.css("position")==="fixed")a(r.container).bind("scroll"+u,y);/unfocus/i.test(b.hide.event)&&a(document).bind("mousedown"+u,function(z){var x=e.elements.tooltip;a(z.target).parents(n).length===0&&a(z.target).add(d).length>1&&x.is(":visible")&&!x.hasClass("ui-state-disabled")&&e.hide()});t.target==="mouse"&&a(document).bind("mousemove"+u,function(z){if(t.adjust.mouse&&!r.tooltip.hasClass("ui-state-disabled")&& +r.tooltip.is(":visible"))e.reposition(z||a.fn.qtip.mouse)})}}function B(c,f,i,m){m=parseInt(m,10)!==0;var g=".qtip-"+k,o={show:c?b.show.target:a("
"),hide:f?b.hide.target:a("
"),tooltip:i?e.elements.tooltip:a("
")};f={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")};if(e.rendered){a.each(f.show,function(w,y){o.show.unbind(y+g)});o.show.unbind("mousemove"+g).unbind("mouseout"+g).unbind("qtip-"+k+"-inactive");a.each(f.hide,function(w,y){o.hide.add(o.tooltip).unbind(y+ +g)});a.each(a.fn.qtip.inactiveEvents,function(w,y){o.hide.add(i?e.elements.content:NULL).unbind(y+g+"-inactive")});o.hide.unbind("mouseout"+g);o.tooltip.unbind("mouseover"+g);if(m){a(G).unbind("resize"+g);a(document).unbind("mousedown"+g+" mousemove"+g)}}else c&&o.show.unbind(f.show+g+"-create")}var e=this,j="ui-tooltip",n=".qtip."+j;e.id=k;e.rendered=FALSE;e.elements={target:d};e.cache={event:{},target:NULL,disabled:FALSE};e.timers={img:[]};e.options=b;e.plugins={};a.extend(e,{render:function(c){var f= +e.elements,i=a.Event("tooltiprender");if(e.rendered)return FALSE;e.rendered=c?-2:-1;f.tooltip=a("
").attr({id:j+"-"+k,role:"tooltip","class":j+" qtip ui-tooltip-accessible ui-helper-reset "+b.style.classes}).css("z-index",a.fn.qtip.zindex+a(n).length).toggleClass("ui-widget",b.style.widget).toggleClass("ui-state-disabled",e.cache.disabled).data("qtip",e).appendTo(b.position.container);f.wrapper=a("
",{"class":j+"-wrapper"}).appendTo(f.tooltip);f.content=a("
",{"class":j+"-content "+ +(b.style.widget?"ui-widget-content":""),id:j+"-"+k+"-content"}).appendTo(f.wrapper);b.content.title.text&&p();C(b.content.text);a.each(a.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});e.rendered=TRUE;D(1,1,1,1);a.each(b.events,function(m,g){g&&f.tooltip.bind("tooltip"+m,g)});f.tooltip.queue("fx",function(m){if(b.show.ready||c){f.tooltip.hide();e.show(e.cache.event)}f.tooltip.removeClass("ui-tooltip-accessible");i.originalEvent=e.cache.event;f.tooltip.trigger(i,[e.hash()]);m()}); +return e},get:function(c){switch(c.toLowerCase()){case "offset":c=l("position");break;case "dimensions":c=l("dimensions");break;default:c=h(c.toLowerCase());c=c[0].precedance?c[0].string():c[0].jquery?c[0]:c[0][c[1]];break}return c},set:function(c,f){c=c.toLowerCase();var i=h(c),m=e.elements,g=m.tooltip,o,w,y,u={builtin:{id:function(){var t=f===TRUE?a.fn.qtip.nextid:f,r=j+"-"+t;if(t!==FALSE&&t.length>0&&!a("#ui-tooltip-"+t).length){g[0].id=r;m.content[0].id=r+"-content";m.title[0].id=r+"-title"}}, +"^content.text":function(){C(f)},"^content.title.text":function(){if(e.rendered)if(!e.elements.title&&f){p();e.reposition()}else f?e.elements.title.html(f):s()},"^content.title.button":function(){var t=e.elements.button,r=e.elements.title;if(e.rendered)if(f){r||p();v()}else t.remove()},"^position.(my|at)$":function(){var t=/my$/i.test(c)?"my":"at";if("string"===typeof f)b.position[t]=new a.fn.qtip.plugins.Corner(f)},"^position.(my|at|adjust|target)":function(){e.rendered&&e.reposition()},"^position.container$":function(){if(e.rendered=== +TRUE){g.appendTo(f);e.reposition()}},"^(show|hide).(event|target|fixed|delay|inactive)":function(t,r,E,I){var z=c.search(/fixed/i)>-1?[0,[0,1,1,1]]:[c.substr(0,3),c.charAt(0)==="s"?[1,0,0,0]:[0,1,0,0]];if(z[0])t[r]=I;B.apply(e,z[1]);if(z[0])t[r]=E;D.apply(e,z[1])},"^show.ready$":function(){e.rendered===FALSE&&e.show()},"^style.classes$":function(){e.elements.tooltip.attr("class",j+" qtip ui-helper-reset "+f)},"^style.widget$":function(){var t=!!f;g.toggleClass("ui-widget",t);m.titlebar.toggleClass("ui-widget-header", +t);m.content.toggleClass("ui-widget-content",t);m.button.children("span").toggleClass(j+"-icon",!t).toggleClass("ui-icon",t)},"^events.(render|show|move|hide|focus|blur)":function(t,r,E){m.tooltip[(a.isFunction(f)?"":"un")+"bind"]("tooltip"+r,E)}}};a.each(e.plugins,function(t){if("object"===typeof this.checks)u[t]=this.checks});o=i[0][i[1]];i[0][i[1]]=f.nodeType?a(f):f;L(b);for(w in u)for(y in u[w])RegExp(y,"i").test(c)&&u[w][y].call(e,i[0],i[1],f,o);return e},toggle:function(c,f){function i(){var u= +a(this),t=c?"attr":"removeAttr",r=/^1|0$/.test(u.css("opacity"));e.elements.title&&d[t]("aria-labelledby",j+"-"+k+"-title");d[t]("aria-describedby",j+"-"+k+"-content");if(c){if(a.browser.msie&&this.style&&r){y=this.style;y.removeAttribute("filter");y.removeAttribute("opacity")}}else r&&u.hide()}if(e.rendered===FALSE)return FALSE;var m=c?"show":"hide",g=e.elements.tooltip,o=b[m],w=g.is(":visible"),y;if((typeof c).search("boolean|number"))c=!g.is(":visible");if(!w&&!c||g.is(":animated"))return e;if(f){if(e.cache.event&& +/over|enter/.test(f.type)&&/out|leave/.test(e.cache.event.type)&&a(f.target).add(b.show.target).length<2&&a(f.relatedTarget).parents(n).length>0)return e;e.cache.event=a.extend({},f)}w=a.Event("tooltip"+m);w.originalEvent=f?e.cache.event:NULL;g.trigger(w,[e.hash(),90]);if(w.isDefaultPrevented())return e;if(c){e.focus();e.reposition(f);o.solo&&a(n).qtip("hide")}else clearTimeout(e.timers.show);g.attr("aria-hidden",Boolean(!c));g.stop(1,1);if(a.isFunction(o.effect)){o.effect.call(g,e.hash());g.queue(function(){i.call(this); +a(this).dequeue()})}else if(o.effect===FALSE){g[m]();i.call(g)}else g.fadeTo(90,c?1:0,i);c&&o.target.trigger("qtip-"+k+"-inactive");return e},show:function(c){e.toggle(TRUE,c)},hide:function(c){e.toggle(FALSE,c)},focus:function(c){if(e.rendered===FALSE)return FALSE;var f=e.elements.tooltip,i=a(n),m=parseInt(f[0].style.zIndex,10),g=a.fn.qtip.zindex+i.length,o=j+"-focus",w=a.extend({},c);if(!f.hasClass(o)&&m!==g){i.each(function(){this.style.zIndex-=1});a(n+"."+o).each(function(){var y=a(this),u=y.qtip(), +t;if(!u||u.rendered===FALSE)return TRUE;y.removeClass(o);t=a.Event("tooltipblur");t.originalEvent=w;y.trigger(t,[u,g])});c=a.Event("tooltipfocus");c.originalEvent=w;f.trigger(c,[e.hash(),g]);if(!c.isDefaultPrevented())f.addClass(o)[0].style.zIndex=g}return e},reposition:function(c){if(e.rendered===FALSE)return FALSE;var f=b.position.target,i=e.elements.tooltip,m=b.position,g=m.my,o=m.at,w=m.adjust,y=e.elements.tooltip.width(),u=e.elements.tooltip.height(),t=a(m.container)[0],r=0,E=0,I=a.Event("tooltipmove"), +z=i.css("position")==="fixed",x=a(w.container&&t!==document.body?t:G),A={left:0,top:0};t={left:function(F){var J=x.scrollLeft,H=o.x==="left"?r:o.x==="right"?-r:-r/2,M=F+y-x.width-J;H=(g.x==="left"?y:g.x==="right"?-y:-y/2)-(g.x===g.y?1:-2)*w.x-(g.precedance==="x"||g.x===g.y?H:0);if(J-F>0)A.left-=H;else if(M>0)A.left-=(g.x==="center"?-1:1)*H;return A.left-F},top:function(F){var J=x.scrollTop,H=o.y==="top"?E:o.y==="bottom"?-E:-E/2,M=F+u-x.height-J;H=(g.y==="top"?u:g.y==="bottom"?-u:-u/2)-(g.y===g.x? +1:-2)*w.y-(g.precedance==="y"||g.x===g.y?H:0);if(J-F>0)A.top-=H;else if(M>0)A.top-=(g.y==="center"?-1:1)*H;return A.top-F}};x={elem:x,height:x[(x[0]===G?"h":"outerH")+"eight"](),width:x[(x[0]===G?"w":"outerW")+"idth"](),scrollLeft:x.scrollLeft(),scrollTop:x.scrollTop()};if(f==="mouse"){o={x:"left",y:"top"};c=w.mouse||!c||!c.pageX?a.extend({},a.fn.qtip.mouse):c;A={top:c.pageY,left:c.pageX}}else{if(f==="event")f=c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?e.cache.target=a(c.target):e.cache.target; +f=a(f).eq(0);if(f.length===0)return e;else if(f[0]===document||f[0]===G){r=f.width();E=f.height();if(f[0]===G)A={top:z?0:x.scrollTop,left:z?0:x.scrollLeft}}else if(f.is("area")&&a.fn.qtip.plugins.imagemap){A=a.fn.qtip.plugins.imagemap(f,o);r=A.width;E=A.height;A=A.offset}else{r=f.outerWidth();E=f.outerHeight();A=q(f)}A.left+=o.x==="right"?r:o.x==="center"?r/2:0;A.top+=o.y==="bottom"?E:o.y==="center"?E/2:0}A.left+=w.x+(g.x==="right"?-y:g.x==="center"?-y/2:0);A.top+=w.y+(g.y==="bottom"?-u:g.y==="center"? +-u/2:0);A.adjusted=w.screen&&f[0]!==G&&f[0]!==document.body?{left:t.left(A.left),top:t.top(A.top)}:{left:0,top:0};i.attr("class",function(){return a(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+g.abbreviation());I.originalEvent=a.extend({},c);i.trigger(I,[e.hash(),A,x.elem]);if(I.isDefaultPrevented())return e;delete A.adjusted;if(i.is(":visible")&&a.isFunction(m.effect)){m.effect.call(i,e.hash(),A);i.queue(function(){var F=a(this);F.css({opacity:"",height:""});a.browser.msie&& +this.style&&this.style.removeAttribute("filter");F.dequeue()})}else isNaN(A.left,A.top)||i.css(A);return e},redraw:function(){if(!e.rendered||!(a.browser.msie&&parseInt(a.browser.version.charAt(0),10)<9))return FALSE;var c=e.elements.tooltip;c.attr("style");var f;c.css({width:"auto",height:"auto"});f=l("dimensions",1);a.each(["width","height"],function(i,m){var g=parseInt(c.css("max-"+m),10)||0,o=parseInt(c.css("min-"+m),10)||0;f[m]=g+o?Math.min(Math.max(f[m],o),g):f[m]});c.css(f)},disable:function(c){var f= +e.elements.tooltip;if(e.rendered)f.toggleClass("ui-state-disabled",c);else e.cache.disabled=!!c;return e},destroy:function(){var c=e.elements,f=c.target.data("oldtitle");e.rendered&&a.each(e.plugins,function(){this.initialize==="render"&&this.destroy()});B(1,1,1,1);d.removeData("qtip");e.rendered&&c.tooltip.remove();f&&d.attr("title",f);d.removeAttr("aria-describedby");return d},hash:function(){var c=a.extend({},e);delete c.cache;delete c.timers;delete c.options;delete c.plugins;delete c.render;delete c.hash; +return c}})}function P(d,b){var k,h,q=a(this);k=a(document.body);var l=this===document?k:q;h=q.metadata?q.metadata(b.metadata):NULL;var s=a.extend(TRUE,{},a.fn.qtip.defaults,b,L((h&&b.metadata.type==="html5"?h[b.metadata.name]:NULL)||h));q.removeData("metadata");h=s.position;if("boolean"===typeof s.content.text)if(s.content.attr!==FALSE&&q.attr(s.content.attr))s.content.text=q.attr(s.content.attr);else return FALSE;if(h.container===FALSE)h.container=k;if(h.target===FALSE)h.target=l;if(s.show.target=== +FALSE)s.show.target=l;if(s.hide.target===FALSE)s.hide.target=l;h.at=new a.fn.qtip.plugins.Corner(h.at);h.my=new a.fn.qtip.plugins.Corner(h.my);if(q.data("qtip"))if(s.overwrite)q.qtip("destroy");else if(s.overwrite===FALSE)return FALSE;q.attr("title")&&q.data("oldtitle",q.attr("title")).removeAttr("title");k=new O(q,s,d);q.data("qtip",k);return k}function Q(d){var b=this;b.checks={"^content.ajax":function(){this.plugins.ajax.load(this.options.content.ajax)}};a.extend(b,{init:function(){var k=d.options.content.ajax; +d.elements.tooltip.bind("tooltiprender.ajax",function(){b.load(k);d.elements.tooltip.bind("tooltipshow.ajax",function(){k.once===FALSE&&d.rendered===TRUE&&b.load(k)})})},load:function(k){a.ajax(a.extend(TRUE,{},k,{success:function(h,q){if(a.isFunction(k.success))if(k.success.call(d.hash(),h,q)===FALSE)return;d.set("content.text",h)},error:function(h,q,l){var s=q||l;if(a.isFunction(k.error)){h=k.error.call(d.hash(),h,q,l);if(h===FALSE)return}d.set("content.text",s)}}));return b},destroy:function(){d.elements.tooltip.unbind("tooltipshow.ajax")}}); +b.init()}function N(d,b,k){var h=Math.floor(b/2),q=Math.floor(k/2);b={bottomright:[[0,0],[b,k],[b,0]],bottomleft:[[0,0],[b,0],[0,k]],topright:[[0,k],[b,0],[b,k]],topleft:[[0,0],[0,k],[b,k]],topcenter:[[0,k],[h,0],[b,k]],bottomcenter:[[0,0],[b,0],[h,k]],rightcenter:[[0,0],[b,q],[0,k]],leftcenter:[[b,0],[b,k],[0,q]]};b.lefttop=b.bottomright;b.righttop=b.bottomleft;b.leftbottom=b.topright;b.rightbottom=b.topleft;return b[d]}function R(d){function b(j){var n=l.tip,c=["left","right"],f=q.offset,i,m;if(q.corner=== +FALSE||!n)return FALSE;j=j||h.corner;i=j.precedance;m=i==="y"?"x":"y";c[i==="y"?"push":"unshift"]("top","bottom");f=Math.max(j[m]==="center"?f:0,f);n.css({top:"",bottom:"",left:"",right:"",margin:""});switch(j[i==="y"?"x":"y"]){case "center":n.css(c[0],"50%").css("margin-"+c[0],-Math.floor(C[i==="y"?"width":"height"]/2)+f);break;case c[0]:n.css(c[0],f);break;case c[1]:n.css(c[1],f);break}f=C[i==="x"?"width":"height"];if(B){s.toggleClass("ui-tooltip-accessible",!s.is(":visible"));f-=parseInt(v.css("border-"+ +j[i]+"-width"),10)||0;s.removeClass("ui-tooltip-accessible")}if(e==="vml"&&/bottom|right/.test(j[j.precedance]))f+=B?1:-1;n.css(j[i],-f)}function k(j,n,c){if(l.tip){j=a.extend({},h.corner);n=j.precedance==="y"?["y","top","left","height","x"]:["x","left","top","width","y"];var f=c.adjusted,i=[0,0];if(h.corner.fixed!==TRUE){if(f.left)j.x=j.x==="center"?f.left>0?"left":"right":j.x==="left"?"right":"left";if(f.top)j.y=j.y==="center"?f.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==p.corner.string()&& +(p.top!==f.top||p.left!==f.left))h.update(j)}i[0]=B?parseInt(v.css("border-"+j[n[0]]+"-width"),10)||0:e==="vml"?1:0;i[1]=Math.max(j[n[4]]==="center"?q.offset:0,q.offset);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(C[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="center"?1:-1)*i[1];p.left=f.left;p.top=f.top;p.corner=j}}var h=this,q=d.options.style.tip,l=d.elements,s=l.tooltip,v=l.wrapper,p={top:0,left:0,corner:{string:function(){}}},C={width:q.width,height:q.height},D={},B=q.border||0,e=q.method||FALSE;h.corner= +NULL;h.mimic=NULL;h.checks={"^position.my|style.tip.(corner|mimic|method|border)":function(){B=q.border;if(h.init())this.get("position.target")!=="mouse"&&this.reposition();else h.destroy()},"^style.tip.(height|width)":function(){C={width:q.width,height:q.height};h.create();h.update();d.reposition()},"^style.(classes|widget)$":function(){h.detectColours();h.update()}};a.extend(h,{init:function(){var j=a.browser.msie,n=h.detectCorner(),c=h[h.mimic?"mimic":"corner"].string().indexOf("center")>-1;if(n){if(e=== +TRUE)e=a("")[0].getContext?"canvas":j&&(c||C.height!==C.width)?"vml":"polygon";else if(e==="canvas")e=j?"vml":!a("")[0].getContext?"polygon":"canvas";else if(e==="polygon")e=j&&c?"vml":e;h.create();h.detectColours();h.update();s.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",k)}return n},detectCorner:function(){var j=q.corner,n=d.options.position.at,c=d.options.position.my;if(c.string)c=c.string();if(j===FALSE||c===FALSE&&n===FALSE)return FALSE;else if(j===TRUE)h.corner=new a.fn.qtip.plugins.Corner(c); +else if(!j.string){h.corner=new a.fn.qtip.plugins.Corner(j);h.corner.fixed=TRUE}return h.corner.string()!=="centercenter"},detectColours:function(){var j=l.tip,n=h.corner,c=h.corner[h.corner.precedance],f="border-"+c+"-color",i=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,m=l.titlebar&&n.y==="top",g=d.options.style.widget;n=g?l.content:m?l.titlebar:l.wrapper;m=!g?l.wrapper:m?l.titlebar:l.content;D.fill=j.css({backgroundColor:"",border:""}).css("background-color")||"transparent";D.border=j.get(0).style?j.get(0).style["border"+ +c.charAt(0)+c.substr(1)+"Color"]:j.css(f)||"transparent";if(i.test(D.fill))D.fill=B?n.css("background-color"):m.css(f);if(!D.border||i.test(D.border))D.border=m.css(f)||D.fill;a("*",j).add(j).css("background-color","transparent").css("border",0)},create:function(){var j=C.width,n=C.height;l.tip&&l.tip.remove();l.tip=a('
').toggleClass("ui-widget-content",d.options.style.widget).css(C).prependTo(s);switch(e){case "canvas":a('').appendTo(l.tip)[0].getContext("2d").save(); +break;case "vml":l.tip.html('');break;case "polygon":l.tip.append('
').append(B?'
': +"");break}return h},update:function(j){var n=l.tip,c=C.width,f=C.height,i=B>0?0:1,m=Math.ceil(B/2+0.5),g=q.mimic,o,w;if(!j)j=h.corner;if(g===FALSE)g=j;else{g=new a.fn.qtip.plugins.Corner(g);g.precedance=j.precedance;if(g.x==="inherit")g.x=j.x;else if(g.y==="inherit")g.y=j.y;else if(g.x===g.y)g[j.precedance]=j[j.precedance]}w=Math[/b|r/.test(g[g.precedance==="y"?"x":"y"])?"ceil":"floor"];n=n.children();switch(e){case "canvas":n=n.get(0).getContext("2d");n.restore&&n.restore();n.clearRect(0,0,3E3,3E3); +for(o=N(g.string(),c,f);i<2;i++){if(i){n.save();n.translate(w((g.x==="left"?1:g.x==="right"?-1:0)*(B+1)*(g.precedance==="y"?0.5:1)),w((g.y==="top"?1:g.y==="bottom"?-1:0)*(B+1)*(g.precedance==="x"?0.5:1)))}n.beginPath();n.moveTo(o[0][0],o[0][1]);n.lineTo(o[1][0],o[1][1]);n.lineTo(o[2][0],o[2][1]);n.closePath();n.fillStyle=D[i?"fill":"border"];n.fill()}break;case "vml":o=N(g.string(),c,f);i="m"+o[0][0]+","+o[0][1]+" l"+o[1][0]+","+o[1][1]+" "+o[2][0]+","+o[2][1]+" xe";n.attr({path:i,fillcolor:D.fill}); +if(B){n.children().attr("color",D.border);if(g.precedance==="y"){n.css("top",(g.y==="top"?1:-1)*(B-2));n.css("left",g.x==="left"?1:-2)}else{n.css("left",(g.x==="left"?1:-1)*(B-2));n.css("top",g.y==="top"?1:-2)}}break;case "polygon":if(g.precedance==="y"){i=c>f?1.5:cf?5:2.2;m=[Math.floor(i*m*(g.x==="right"?-1:1)*(g.y==="center"?0.9:1)),g.y==="top"?m:g.y==="bottom"?-m:0]}n.removeAttr("style").each(function(y){var u= +{x:g.precedance==="x"?g.x==="left"?"right":"left":g.x,y:g.precedance==="y"?g.y==="top"?"bottom":"top":g.y},t=g.x==="center"?["left","right",u.y,f,c]:["top","bottom",u.x,c,f],r=D[!y&&B?"border":"fill"];y&&a(this).css({position:"absolute","z-index":1,left:m[0],top:m[1]});g.x==="center"||g.y==="center"?a(this).css("border-"+t[2],t[3]+"px solid "+r).css("border-"+t[0],Math.floor(t[4]/2)+"px dashed transparent").css("border-"+t[1],Math.floor(t[4]/2)+"px dashed transparent"):a(this).css("border-width", +Math.floor(f/2)+"px "+Math.floor(c/2)+"px").css("border-"+u.x,Math.floor(c/2)+"px solid "+r).css("border-"+u.y,Math.floor(f/2)+"px solid "+r)});break}b(j);return h},destroy:function(){l.tip&&l.tip.remove();s.unbind(".qtip-tip")}})}function S(d,b){var k=this,h=d.elements,q=h.tooltip;h.overlay=a("#qtip-overlay");a.extend(k,{init:function(){q.bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(l,s,v){l=l.type.replace("tooltip","");a.isFunction(b[l])?b[l].call(h.overlay,v,s):k[l](v)});h.overlay.length|| +k.create();b.blur===TRUE&&h.overlay.bind("click.qtipmodal"+d.id,function(){d.hide.call(d)})},create:function(){h.overlay=a("
",{id:"qtip-overlay",css:{position:"absolute",top:0,left:0,display:"none"}}).appendTo(document.body);a(G).bind("resize.qtipmodal",function(){h.overlay.css({height:Math.max(a(G).height(),a(document).height()),width:Math.max(a(G).width(),a(document).width())})}).trigger("resize")},toggle:function(l){var s=h.overlay,v=d.options.show.modal.effect,p=l?"show":"hide";s.stop(TRUE, +FALSE);if(a.isFunction(v))v.call(s,l);else v===FALSE?s[p]():s.fadeTo(90,l?0.7:0,function(){l||a(this).hide()})},show:function(){k.toggle(TRUE)},hide:function(){k.toggle(FALSE)},destroy:function(){var l=TRUE;a("*").each(function(){var s=a(this).data("qtip");if(s&&s.id!==d.id&&s.options.show.modal)return l=FALSE});if(l){h.overlay.remove();a(G).unbind("scroll.qtipmodal resize.qtipmodal")}else h.overlay.unbind("click.qtipmodal"+d.id);q.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});k.init()} +function T(d){var b=this,k=d.elements,h=k.tooltip,q=".bgiframe-"+d.id,l="tooltipmove"+q+" tooltipshow"+q;a.extend(b,{init:function(){k.bgiframe=a('');k.bgiframe.appendTo(h);h.bind(l,b.adjust)},adjust:function(){var s=d.get("dimensions"),v=d.plugins.tip,p=d.elements.tip,C;C=parseInt(h.css("border-left-width"),10)||0;C={left:-C, +top:-C};if(v&&p){v=v.corner.precedance==="x"?["width","left"]:["height","top"];C[v[1]]-=p[v[0]]()}k.bgiframe.css(C).css(s)},destroy:function(){b.iframe.remove();h.unbind(l)}});b.init()}a.fn.qtip=function(d,b,k){var h=String(d).toLowerCase(),q=NULL,l=h==="disable"?[TRUE]:a.makeArray(arguments).slice(1,10),s=l[l.length-1],v;if(!arguments.length&&this.data("qtip")||h==="api")return(v=this.data("qtip"))?v.hash():K;else if("string"===typeof d){this.each(function(){var p=a(this).data("qtip");if(!p)return TRUE; +if(/option|set/.test(h)&&b)if(k!==K)p.set(b,k);else q=p.get(b);else{if(!p.rendered&&(h==="show"||h==="toggle")){if(s&&s.timeStamp)p.cache.event=s;p.render(1)}else if(h==="enable"){h="disable";l=[FALSE]}p[h]&&p[h].apply(p[h],l)}});return q!==NULL?q:this}else if("object"===typeof d||!arguments.length){v=L(a.extend(TRUE,{},d));return a.fn.qtip.bind.call(this,v,s)}};a.fn.qtip.bind=function(d,b){return this.each(function(){function k(C){function D(){p.render(typeof C==="object"||h.show.ready);q.show.unbind(l.show); +q.hide.unbind(l.hide)}if(p.cache.disabled)return FALSE;p.cache.event=a.extend({},C);if(h.show.delay>0){clearTimeout(p.timers.show);p.timers.show=setTimeout(D,h.show.delay);l.show!==l.hide&&q.hide.bind(l.hide,function(){clearTimeout(p.timers.show)})}else D()}var h,q,l,s=d.id=!d.id||d.id===FALSE||d.id.length<1||a("#ui-tooltip-"+d.id).length?a.fn.qtip.nextid++:d.id,v=".qtip-"+s+"-create",p=P.call(this,s,d);if(p===FALSE)return TRUE;h=p.options;a.each(a.fn.qtip.plugins,function(){this.initialize==="initialize"&& +this(p)});q={show:h.show.target,hide:h.hide.target};l={show:String(h.show.event).replace(" ",v+" ")+v,hide:String(h.hide.event).replace(" ",v+" ")+v};q.show.bind(l.show,k);if(h.show.ready||h.prerender)k(b)})};a.each({attr:function(d){var b=a(this),k=b.data("qtip");return arguments.length===1&&d==="title"&&k&&k.rendered===TRUE?b.data("oldtitle"):NULL},remove:a.ui?NULL:function(d,b){a(this).each(function(){if(!b)if(!d||a.filter(d,[this]).length)a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}, function(d,b){if(!b)return TRUE;a.fn["Old"+d]=a.fn[d];a.fn[d]=function(){return b.apply(this,arguments)||a.fn["Old"+d].apply(this,arguments)}});a(document.body).attr("role",function(d,b){return!b?"application":b});a(document).bind("mousemove.qtip",function(d){a.fn.qtip.mouse={pageX:d.pageX,pageY:d.pageY}});a.fn.qtip.version="2.0.0pre";a.fn.qtip.nextid=0;a.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");a.fn.qtip.zindex=15E3;a.fn.qtip.plugins={Corner:function(d){d= String(d).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase();this.x=(d.match(/left|right/i)||d.match(/center/)||["inherit"])[0].toLowerCase();this.y=(d.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.precedance=d.charAt(0).search(/^(t|b)/)>-1?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y};this.abbreviation=function(){var b=this.x.substr(0,1),k=this.y.substr(0,1);return b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.fn.qtip.defaults= {prerender:FALSE,id:FALSE,overwrite:TRUE,metadata:{type:"class"},content:{text:TRUE,attr:"title",title:{text:FALSE,button:FALSE}},position:{my:"top left",at:"bottom right",target:FALSE,container:FALSE,adjust:{x:0,y:0,mouse:TRUE,screen:FALSE,resize:TRUE,container:FALSE},effect:TRUE},show:{target:FALSE,event:"mouseenter",effect:TRUE,delay:90,solo:FALSE,ready:FALSE},hide:{target:FALSE,event:"mouseleave",effect:TRUE,delay:0,fixed:FALSE,inactive:FALSE},style:{classes:"",widget:FALSE},events:{render:NULL, move:NULL,show:NULL,hide:NULL,focus:NULL,blur:NULL}};a.fn.qtip.plugins.ajax=function(d){var b=d.plugins.ajax,k=d.options.content.ajax;if(k&&k.url)if(b)return b;else{d.plugins.ajax=new Q(d);return d.plugins.ajax}};a.fn.qtip.plugins.ajax.initialize="render";a.fn.qtip.plugins.ajax.sanitize=function(d){var b=d.content;if(b&&"ajax"in b){b=b.ajax;if(typeof b!=="object")b=d.content.ajax={url:b};if("boolean"!==typeof b.once&&b.once)b.once=!!b.once}};a.extend(TRUE,a.fn.qtip.defaults,{content:{ajax:{once:TRUE}}}); a.fn.qtip.plugins.tip=function(d){var b=d.plugins.tip,k=d.options.style.tip;if(k&&k.corner)if(b)return b;else{d.plugins.tip=new R(d);d.plugins.tip.init();return d.plugins.tip}};a.fn.qtip.plugins.tip.initialize="render";a.fn.qtip.plugins.tip.sanitize=function(d){var b=d.style;if(b&&"tip"in b){b=d.style.tip;if(typeof b!=="object")d.style.tip={corner:b};if(!/string|boolean/i.test(typeof b.corner))b.corner=true;if(typeof b.method!=="string")b.method=TRUE;if(!/canvas|polygon/i.test(b.method))b.method= -TRUE;typeof b.width!=="number"&&delete b.width;typeof b.height!=="number"&&delete b.height;typeof b.border!=="number"&&delete b.border;typeof b.offset!=="number"&&delete b.offset}};a.extend(TRUE,a.fn.qtip.defaults,{style:{tip:{corner:TRUE,mimic:FALSE,method:TRUE,width:9,height:9,border:0,offset:0}}});a.fn.qtip.plugins.imagemap=function(d,b){function k(z,e){for(var j=0,n=1,c=1,f=0,i=0,m=z.width,g=z.height;m>0&&g>0&&n>0&&c>0;){m=Math.floor(m/2);g=Math.floor(g/2);if(b.x==="left")n=m;else if(b.x==="right")n= -z.width-m;else n+=Math.floor(m/2);if(b.y==="top")c=g;else if(b.y==="bottom")c=z.height-g;else c+=Math.floor(g/2);for(j=e.length;j--;){if(e.length<2)break;f=e[j][0]-z.offset.left;i=e[j][1]-z.offset.top;if(b.x==="left"&&f>=n||b.x==="right"&&f<=n||b.x==="center"&&(fz.width-n)||b.y==="top"&&i>=c||b.y==="bottom"&&i<=c||b.y==="center"&&(iz.height-c))e.splice(j,1)}}return{left:e[0][0],top:e[0][1]}}var h=d.attr("shape").toLowerCase(),r=d.attr("coords").split(","),l=[],s=a('img[usemap="#'+d.parent("map").attr("name")+ -'"]'),u=s.offset(),q={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},A=0,B=0;u.left+=Math.ceil((s.outerWidth()-s.width())/2);u.top+=Math.ceil((s.outerHeight()-s.height())/2);if(h==="poly")for(A=r.length;A--;){B=[parseInt(r[--A],10),parseInt(r[A+1],10)];if(B[0]>q.offset.right)q.offset.right=B[0];if(B[0]q.offset.bottom)q.offset.bottom=B[1];if(B[1]0&&g>0&&n>0&&c>0;){m=Math.floor(m/2);g=Math.floor(g/2);if(b.x==="left")n=m;else if(b.x==="right")n= +B.width-m;else n+=Math.floor(m/2);if(b.y==="top")c=g;else if(b.y==="bottom")c=B.height-g;else c+=Math.floor(g/2);for(j=e.length;j--;){if(e.length<2)break;f=e[j][0]-B.offset.left;i=e[j][1]-B.offset.top;if(b.x==="left"&&f>=n||b.x==="right"&&f<=n||b.x==="center"&&(fB.width-n)||b.y==="top"&&i>=c||b.y==="bottom"&&i<=c||b.y==="center"&&(iB.height-c))e.splice(j,1)}}return{left:e[0][0],top:e[0][1]}}var h=d.attr("shape").toLowerCase(),q=d.attr("coords").split(","),l=[],s=a('img[usemap="#'+d.parent("map").attr("name")+ +'"]'),v=s.offset(),p={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},C=0,D=0;v.left+=Math.ceil((s.outerWidth()-s.width())/2);v.top+=Math.ceil((s.outerHeight()-s.height())/2);if(h==="poly")for(C=q.length;C--;){D=[parseInt(q[--C],10),parseInt(q[C+1],10)];if(D[0]>p.offset.right)p.offset.right=D[0];if(D[0]p.offset.bottom)p.offset.bottom=D[1];if(D[1]35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('"5x 5y";11 1b=4z,12=5z,1I=6T;(V(a,G,K){V L(d){11 b;U(!d)X 12;U("1K"!==1m d.2n)d.2n={2c:d.2n};U("19"2l d){U("1K"!==1m d.19||d.19.2G)d.19={1L:d.19};b=d.19.1L||12;U(!a.2x(b)&&(!b&&!b.1v||b.1r<1||"1K"===1m b&&!b.2G))b=d.19.1L=12;U("1o"2l d.19&&"1K"!==1m d.19.1o)d.19.1o={1L:d.19.1o}}U("1g"2l d){U("1K"!==1m d.1g)d.1g={2b:d.1g,2y:d.1g};U("1K"!==1m d.1g.1T)d.1g.1T={};U("58"!==1m d.1g.1T.2N)d.1g.1T.2N=!!d.1g.1T.2N}U("W"2l d){U("1K"!==1m d.W)d.W={1w:d.W};U("1K"!==1m d.W)d.W=d.W.2G?{1k:d.W}:{1w:d.W}}U("16"2l d)U("1K"!==1m d.16)d.16=d.16.2G?{1k:d.16}:{1w:d.16};U("1i"2l d&&"1K"!==1m d.1i)d.1i={3r:d.1i};a.1y(a.1a.Y.1e,V(){13.3h&&13.3h(d)});X d}V O(d,b,k){V h(c){11 f,i=c.2R("."),m=b[i[0]];2Q(c=1;c",{3i:f}):a("",{"1S":"1h-1X-3R",1L:"5a 14",1o:"5a 14",1c:{"1L-6L":"-5F"}}).5G(a("<4I />",{"1S":(b.1i.1Q?"1h":j)+"-3A 1h-3A-4D"}));c.22.4o(c.2j).1v("45","22").3y(j+"-4D").5m(V(i){a(13).24("1h-1X-5m",i.2c==="4p")}).3I(V(){c.14.2C("1h-1X-1Y")||e.16();X 12}).1q("3P 5H 4Q 5I 3V",V(i){a(13).24("1h-1X-5J 1h-1X-2O",/5K$/i.1M(i.2c))});e.3J()}V q(){11 c=e.1j;c.2j&&s();c.2j=a("<25 />",{"1S":j+"-2j "+(b.1i.1Q?"1h-1Q-4H":"")}).3S(c.1o=a("<25 />",{1C:j+"-"+k+"-1o","1S":j+"-1o",3i:b.19.1o.1L})).4o(c.2P);U(b.19.1o.22)u();18 e.1u===1b&&e.3J()}V A(c){11 f=e.1j;U(!e.1u||!c)X 12;U(a.2x(c))c=c.1W(d);c.2G&&c.1r>0?f.19.5L().3S(c.1c({3c:"3u"})):f.19.3i(c);f.14.3z("4F",V(i){V m(p){g=g.4f(p);U(g.1r===0){e.3J();e.1u===1b&&e.2h(e.1H.1w);i()}}11 g=a("3j:4f([1f]):4f([1d])",e.1j.19);g.1y(V(p,v){11 w=["5M","3M","3g","6b",""].5N(".Y-5O ");a(13).1q(w,V(){2k(e.1N.3j[p]);m(13)});(V t(){U(v.1f)X m(v);e.1N.3j[p]=3e(t,20)})();X 1b});g.1r===0&&m(g)});X e}V B(c,f,i,m){V g(C){U(o.14.2C("1h-1X-1Y"))X 12;o.W.2F("Y-"+k+"-21");2k(e.1N.W);2k(e.1N.16);11 D=V(){e.W(C)};U(b.W.2A>0)e.1N.W=3e(D,b.W.2A);18 D()}V p(C){U(o.14.2C("1h-1X-1Y"))X 12;11 D=a(C.4C||C.1k).44(n)[0]==o.14[0];2k(e.1N.W);2k(e.1N.16);U(b.16.2B&&(b.1g.1k==="2g"&&D||/2g(4J|4A|4u)/.1M(C.2c)&&D)){C.68();C.5P();X 12}o.14.3W(1,1);U(b.16.2A>0)e.1N.16=3e(V(){e.16(C)},b.16.2A);18 e.16(C)}V v(C){U(o.14.2C("1h-1X-1Y"))X 12;2k(e.1N.21);e.1N.21=3e(V(){e.16(C)},b.16.21)}V w(C){e.1j.14.26(":2v")&&e.2h(C)}11 t=".Y-"+k,o={W:b.W.1k,16:b.16.1k,14:e.1j.14},x={W:2E(b.W.1w).2R(" "),16:2E(b.16.1w).2R(" ")},F=a.2q.2X&&/^6\\.[0-9]/.1M(a.2q.3Q);d.1q("2a.Y",V(){e.2t()});U(i&&b.16.2B){o.16=o.16.2s(o.14);o.14.1q("43"+t,V(){o.14.2C("1h-1X-1Y")||2k(e.1N.16)})}U(f){U("2W"===1m b.16.21){o.W.1q("Y-"+k+"-21",v);a.1y(a.1a.Y.4q,V(C,D){o.16.2s(e.1j.14).1q(D+t+"-21",v)})}a.1y(x.16,V(C,D){11 E=a.5Q(D,x.W);U(E>-1&&a(o.16).2s(o.W).1r===a(o.16).1r||D==="4N"){o.W.1q(D+t,V(y){o.14.26(":2v")?p(y):g(y)});1Z x.W[E]}18 o.16.1q(D+t,p)})}U(c){a.1y(x.W,V(C,D){o.W.1q(D+t,g)});o.14.1q("43"+t,V(){e.2O()})}U(m){U(b.1g.1T.2D||b.1g.1T.2N)a(G).1q("2D"+t,w);U(b.1g.1T.2N||F&&o.14.1c("1g")==="2B")a(1V).1q("3X"+t,w);/4N/i.1M(b.16.1w)&&a(1V).1q("3P"+t,V(C){11 D=e.1j.14;a(C.1k).44(n).1r===0&&a(C.1k).2s(d).1r>1&&D.26(":2v")&&!D.2C("1h-1X-1Y")&&e.16()});b.1g.1k==="2g"&&a(1V).1q("3k"+t,V(C){U(b.1g.1T.2g&&!o.14.2C("1h-1X-1Y")&&o.14.26(":2v"))e.2h(C||a.1a.Y.2g)})}}V z(c,f,i,m){m=28(m,10)!==0;11 g=".Y-"+k,p={W:c?b.W.1k:a("<25/>"),16:f?b.16.1k:a("<25/>"),14:i?e.1j.14:a("<25/>")};f={W:2E(b.W.1w).2R(" "),16:2E(b.16.1w).2R(" ")};U(e.1u){a.1y(f.W,V(v,w){p.W.1D(w+g)});p.W.1D("3k"+g).1D("3V"+g).1D("Y-"+k+"-21");a.1y(f.16,V(v,w){p.16.2s(p.14).1D(w+g)});a.1y(a.1a.Y.4q,V(v,w){p.16.2s(i?e.1j.19:1I).1D(w+g+"-21")});p.16.1D("3V"+g);p.14.1D("43"+g);U(m){a(G).1D("2D"+g);a(1V).1D("3P"+g+" 3k"+g)}}18 c&&p.W.1D(f.W+g+"-2L")}11 e=13,j="1h-14",n=".Y."+j;e.1C=k;e.1u=12;e.1j={1k:d};e.1H={1w:{},1k:1I,1Y:12};e.1N={3j:[]};e.1U=b;e.1e={};a.1E(e,{23:V(c){11 f=e.1j,i=a.38("4W");U(e.1u)X 12;e.1u=c?-2:-1;f.14=a("<25/>").1v({1C:j+"-"+k,45:"14","1S":j+" Y 1h-14-30 1h-4G-4M "+b.1i.3r}).1c("z-40",a.1a.Y.4b+a(n).1r).24("1h-1Q",b.1i.1Q).24("1h-1X-1Y",e.1H.1Y).2f("Y",e).2M(b.1g.2z);f.2P=a("<25 />",{"1S":j+"-2P"}).2M(f.14);f.19=a("<25 />",{"1S":j+"-19 "+(b.1i.1Q?"1h-1Q-19":""),1C:j+"-"+k+"-19"}).2M(f.2P);b.19.1o.1L&&q();A(b.19.1L);a.1y(a.1a.Y.1e,V(){13.2J==="23"&&13(e)});e.1u=1b;B(1,1,1,1);a.1y(b.4t,V(m,g){g&&f.14.1q("14"+m,g)});f.14.3z("4F",V(m){U(b.W.3m||c){f.14.16();e.W(e.1H.1w)}f.14.3N("1h-14-30");i.3n=e.1H.1w;f.14.2F(i,[e.27()]);m()});X e},2S:V(c){34(c.2I()){1P"1n":c=l("1g");1G;1P"37":c=l("37");1G;3R:c=h(c.2I());c=c[0].1B?c[0].1J():c[0].2G?c[0]:c[0][c[1]];1G}X c},39:V(c,f){c=c.2I();11 i=h(c),m=e.1j,g=m.14,p,v,w,t={5R:{1C:V(){11 o=f===1b?a.1a.Y.4r:f,x=j+"-"+o;U(o!==12&&o.1r>0&&!a("#1h-14-"+o).1r){g[0].1C=x;m.19[0].1C=x+"-19";m.1o[0].1C=x+"-1o"}},"^19.1L":V(){A(f)},"^19.1o.1L":V(){U(e.1u)U(!e.1j.1o&&f){q();e.2h()}18 f?e.1j.1o.3i(f):s()},"^19.1o.22":V(){11 o=e.1j.22,x=e.1j.1o;U(e.1u)U(f){x||q();u()}18 o.2a()},"^1g.(2b|2y)$":V(){11 o=/2b$/i.1M(c)?"2b":"2y";U("1J"===1m f)b.1g[o]=29 a.1a.Y.1e.2K(f)},"^1g.(2b|2y|1T|1k)":V(){e.1u&&e.2h()},"^1g.2z$":V(){U(e.1u===1b){g.2M(f);e.2h()}},"^(W|16).(1w|1k|2B|2A|21)":V(o,x,F,C){11 D=c.4j(/2B/i)>-1?[0,[0,1,1,1]]:[c.3F(0,3),c.3K(0)==="s"?[1,0,0,0]:[0,1,0,0]];U(D[0])o[x]=C;z.3b(e,D[1]);U(D[0])o[x]=F;B.3b(e,D[1])},"^W.3m$":V(){e.1u===12&&e.W()},"^1i.3r$":V(){e.1j.14.1v("1S",j+" Y 1h-4G-4M "+f)},"^1i.1Q$":V(){11 o=!!f;g.24("1h-1Q",o);m.2j.24("1h-1Q-4H",o);m.19.24("1h-1Q-19",o);m.22.4s("4I").24(j+"-3A",!o).24("1h-3A",o)},"^4t.(23|W|4u|16|2O|3t)":V(o,x,F){m.14[(a.2x(f)?"":"5S")+"1q"]("14"+x,F)}}};a.1y(e.1e,V(o){U("1K"===1m 13.3E)t[o]=13.3E});p=i[0][i[1]];i[0][i[1]]=f.5T?a(f):f;L(b);2Q(v 2l t)2Q(w 2l t[v])5U(w,"i").1M(c)&&t[v][w].1W(e,i[0],i[1],f,p);X e},2U:V(c,f){V i(){11 t=a(13),o=c?"1v":"3q",x=/^1|0$/.1M(t.1c("3x"));e.1j.1o&&d[o]("3f-4L",j+"-"+k+"-1o");d[o]("3f-4U",j+"-"+k+"-19");U(c){U(a.2q.2X&&13.1i&&x){w=13.1i;w.49("3C");w.49("3x")}}18 x&&t.16()}U(e.1u===12)X 12;11 m=c?"W":"16",g=e.1j.14,p=b[m],v=g.26(":2v"),w;U((1m c).4j("3w|2W"))c=!g.26(":2v");U(!v&&!c||g.26(":5V"))X e;U(f){U(e.1H.1w&&/5W|5Y/.1M(f.2c)&&/4J|4A/.1M(e.1H.1w.2c)&&a(f.1k).2s(b.W.1k).1r<2&&a(f.4C).44(n).1r>0)X e;e.1H.1w=a.1E({},f)}v=a.38("14"+m);v.3n=f?e.1H.1w:1I;g.2F(v,[e.27(),3v]);U(v.48())X e;U(c){e.2O();e.2h(f);p.5i&&a(n).Y("16")}18 2k(e.1N.W);g.1v("3f-5Z",60(!c));g.3W(1,1);U(a.2x(p.2p)){p.2p.1W(g,e.27());g.3z(V(){i.1W(13);a(13).4R()})}18 U(p.2p===12){g[m]();i.1W(g)}18 g.4w(3v,c?1:0,i);c&&p.1k.2F("Y-"+k+"-21");X e},W:V(c){e.2U(1b,c)},16:V(c){e.2U(12,c)},2O:V(c){U(e.1u===12)X 12;11 f=e.1j.14,i=a(n),m=28(f[0].1i.3Z,10),g=a.1a.Y.4b+i.1r,p=j+"-2O",v=a.1E({},c);U(!f.2C(p)&&m!==g){i.1y(V(){13.1i.3Z-=1});a(n+"."+p).1y(V(){11 w=a(13),t=w.Y(),o;U(!t||t.1u===12)X 1b;w.3N(p);o=a.38("61");o.3n=v;w.2F(o,[t,g])});c=a.38("62");c.3n=v;f.2F(c,[e.27(),g]);U(!c.48())f.3y(p)[0].1i.3Z=g}X e},2h:V(c){U(e.1u===12||e.1H.4a)X 12;18 e.1H.4a=1;11 f=b.1g.1k,i=e.1j.14,m=b.1g,g=m.2b,p=m.2y,v=m.1T,w=e.1j.14.1d(),t=e.1j.14.1f(),o=a(m.2z)[0],x=0,F=0,C=a.38("3Y"),D=i.1c("1g")==="2B",E=a(v.2z&&o!==1V.36?o:G),y={17:0,15:0};o={17:V(H){11 J=E.3H,I=p.x==="17"?x:p.x==="1z"?-x:-x/2,M=H+w-E.1d-J;I=(g.x==="17"?w:g.x==="1z"?-w:-w/2)-(g.x===g.y?1:-2)*v.x-(g.1B==="x"||g.x===g.y?I:0);U(J-H>0)y.17-=I;18 U(M>0)y.17-=(g.x==="1x"?-1:1)*I;X y.17-H},15:V(H){11 J=E.3G,I=p.y==="15"?F:p.y==="1A"?-F:-F/2,M=H+t-E.1f-J;I=(g.y==="15"?t:g.y==="1A"?-t:-t/2)-(g.y===g.x?1:-2)*v.y-(g.1B==="y"||g.x===g.y?I:0);U(J-H>0)y.15-=I;18 U(M>0)y.15-=(g.y==="1x"?-1:1)*I;X y.15-H}};E={4P:E,1f:E[(E[0]===G?"h":"64")+"70"](),1d:E[(E[0]===G?"w":"66")+"6Y"](),3H:E.3H(),3G:E.3G()};U(f==="2g"){p={x:"17",y:"15"};c=v.2g||!c||!c.3U?a.1E({},a.1a.Y.2g):c;y={15:c.46,17:c.3U}}18{U(f==="1w")f=c&&c.1k&&c.2c!=="3X"&&c.2c!=="2D"?e.1H.1k=a(c.1k):e.1H.1k;f=a(f).67(0);U(f.1r===0)X e;18 U(f[0]===1V||f[0]===G){x=f.1d();F=f.1f();U(f[0]===G)y={15:D?0:E.3G,17:D?0:E.3H}}18 U(f.26("69")&&a.1a.Y.1e.4g){y=a.1a.Y.1e.4g(f,p);x=y.1d;F=y.1f;y=y.1n}18{x=f.4h();F=f.4k();y=r(f)}y.17+=p.x==="1z"?x:p.x==="1x"?x/2:0;y.15+=p.y==="1A"?F:p.y==="1x"?F/2:0}y.17+=v.x+(g.x==="1z"?-w:g.x==="1x"?-w/2:0);y.15+=v.y+(g.y==="1A"?-t:g.y==="1x"?-t/2:0);y.4i=v.2N&&f[0]!==G&&f[0]!==1V.36?{17:o.17(y.17),15:o.15(y.15)}:{17:0,15:0};i.1v("1S",V(){X a(13).1v("1S").32(/1h-14-4O-\\w+/i,"")}).3y(j+"-4O-"+g.55());C.3n=a.1E({},c);i.2F(C,[e.27(),y,E.4P]);U(C.48())X e;1Z y.4i;U(i.26(":2v")&&a.2x(m.2p)){m.2p.1W(i,e.27(),y);i.3z(V(){11 H=a(13);H.1c({3x:"",1f:""});a.2q.2X&&13.1i&&13.1i.49("3C");H.4R()})}18 6e(y.17,y.15)||i.1c(y);e.1H.4a=0;X e},3J:V(){U(!e.1u||!(a.2q.2X&&28(a.2q.3Q.3K(0),10)<9))X 12;11 c=e.1j.14;c.1v("1i");11 f;c.1c({1d:"4S",1f:"4S"});f=l("37",1);a.1y(["1d","1f"],V(i,m){11 g=28(c.1c("33-"+m),10)||0,p=28(c.1c("4T-"+m),10)||0;f[m]=g+p?1p.4T(1p.33(f[m],p),g):f[m]});c.1c(f)},41:V(c){11 f=e.1j.14;U(e.1u)f.24("1h-1X-1Y",c);18 e.1H.1Y=!!c;X e},2t:V(){11 c=e.1j,f=c.1k.2f("4c");e.1u&&a.1y(e.1e,V(){13.2J==="23"&&13.2t()});z(1,1,1,1);d.4V("Y");e.1u&&c.14.2a();f&&d.1v("1o",f);d.3q("3f-4U");X d},27:V(){11 c=a.1E({},e);1Z c.1H;1Z c.1N;1Z c.1U;1Z c.1e;1Z c.23;1Z c.27;X c}})}V P(d,b){11 k,h,r=a(13);k=a(1V.36);11 l=13===1V?k:r;h=r.2n?r.2n(b.2n):1I;11 s=a.1E(1b,{},a.1a.Y.3a,b,L((h&&b.2n.2c==="6g"?h[b.2n.4Z]:1I)||h));r.4V("2n");h=s.1g;U("3w"===1m s.19.1L)U(s.19.1v!==12&&r.1v(s.19.1v))s.19.1L=r.1v(s.19.1v);18 X 12;U(h.2z===12)h.2z=k;U(h.1k===12)h.1k=l;U(s.W.1k===12)s.W.1k=l;U(s.16.1k===12)s.16.1k=l;h.2y=29 a.1a.Y.1e.2K(h.2y);h.2b=29 a.1a.Y.1e.2K(h.2b);U(r.2f("Y"))U(s.4m)r.Y("2t");18 U(s.4m===12)X 12;r.1v("1o")&&r.2f("4c",r.1v("1o")).3q("1o");k=29 O(r,s,d);r.2f("Y",k);X k}V Q(d){11 b=13;b.3E={"^19.1F":V(){13.1e.1F.3g(13.1U.19.1F)}};a.1E(b,{2u:V(){11 k=d.1U.19.1F;d.1j.14.1q("4W.1F",V(){b.3g(k);d.1j.14.1q("3d.1F",V(){k.31===12&&d.1u===1b&&b.3g(k)})})},3g:V(k){a.1F(a.1E(1b,{},k,{4d:V(h,r){U(a.2x(k.4d))U(k.4d.1W(d.27(),h,r)===12)X;d.39("19.1L",h)},3M:V(h,r,l){11 s=r||l;U(a.2x(k.3M)){h=k.3M.1W(d.27(),h,r,l);U(h===12)X}d.39("19.1L",s)}}));X b},2t:V(){d.1j.14.1D("3d.1F")}});b.2u()}V N(d,b,k){11 h=1p.1O(b/2),r=1p.1O(k/2);b={4X:[[0,0],[b,k],[b,0]],4Y:[[0,0],[b,0],[0,k]],51:[[0,k],[b,0],[b,k]],52:[[0,0],[0,k],[b,k]],6r:[[0,k],[h,0],[b,k]],6k:[[0,0],[b,0],[h,k]],6l:[[0,0],[b,r],[0,k]],6n:[[b,0],[b,k],[0,r]]};b.6o=b.4X;b.6q=b.4Y;b.6s=b.51;b.6t=b.52;X b[d]}V R(d){V b(j){11 n=l.1l,c=["17","1z"],f=r.1n,i,m;U(r.1t===12||!n)X 12;j=j||h.1t;i=j.1B;m=i==="y"?"x":"y";c[i==="y"?"59":"6u"]("15","1A");f=1p.33(j[m]==="1x"?f:0,f);n.1c({15:"",1A:"",17:"",1z:"",54:""});34(j[i==="y"?"x":"y"]){1P"1x":n.1c(c[0],"50%").1c("54-"+c[0],-1p.1O(A[i==="y"?"1d":"1f"]/2)+f);1G;1P c[0]:n.1c(c[0],f);1G;1P c[1]:n.1c(c[1],f);1G}f=A[i==="x"?"1d":"1f"];U(z){s.24("1h-14-30",!s.26(":2v"));f-=28(u.1c("1s-"+j[i]+"-1d"),10)||0;s.3N("1h-14-30")}U(e==="2o"&&/1A|1z/.1M(j[j.1B]))f+=z?1:-1;n.1c(j[i],-f)}V k(j,n,c){U(l.1l){j=a.1E({},h.1t);n=j.1B==="y"?["y","15","17","1f","x"]:["x","17","15","1d","y"];11 f=c.4i,i=[0,0];U(h.1t.2B!==1b){U(f.17)j.x=j.x==="1x"?f.17>0?"17":"1z":j.x==="17"?"1z":"17";U(f.15)j.y=j.y==="1x"?f.15>0?"15":"1A":j.y==="15"?"1A":"15";U(j.1J()!==q.1t.1J()&&(q.15!==f.15||q.17!==f.17))h.3l(j)}i[0]=z?28(u.1c("1s-"+j[n[0]]+"-1d"),10)||0:e==="2o"?1:0;i[1]=1p.33(j[n[4]]==="1x"?r.1n:0,r.1n);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(A[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="1x"?1:-1)*i[1];q.17=f.17;q.15=f.15;q.1t=j}}11 h=13,r=d.1U.1i.1l,l=d.1j,s=l.14,u=l.2P,q={15:0,17:0,1t:{1J:V(){}}},A={1d:r.1d,1f:r.1f},B={},z=r.1s||0,e=r.2T||12;h.1t=1I;h.2Y=1I;h.3E={"^1g.2b|1i.1l.(1t|2Y|2T|1s)":V(){z=r.1s;U(h.2u())13.2S("1g.1k")!=="2g"&&13.2h();18 h.2t()},"^1i.1l.(1f|1d)":V(){A={1d:r.1d,1f:r.1f};h.2L();h.3l();d.2h()},"^1i.(3r|1Q)$":V(){h.4l();h.3l()}};a.1E(h,{2u:V(){11 j=a.2q.2X,n=h.57(),c=h[h.2Y?"2Y":"1t"].1J().6v("1x")>-1;U(n){U(e===1b)e=a("<2r />")[0].3T?"2r":j&&(c||A.1f!==A.1d)?"2o":"2V";18 U(e==="2r")e=j?"2o":!a("<2r />")[0].3T?"2V":"2r";18 U(e==="2V")e=j&&c?"2o":e;h.2L();h.4l();h.3l();s.1D(".Y-1l").1q("3Y.Y-1l",k)}X n},57:V(){11 j=r.1t,n=d.1U.1g.2y,c=d.1U.1g.2b;U(c.1J)c=c.1J();U(j===12||c===12&&n===12)X 12;18 U(j===1b)h.1t=29 a.1a.Y.1e.2K(c);18 U(!j.1J){h.1t=29 a.1a.Y.1e.2K(j);h.1t.2B=1b}X h.1t.1J()!=="4B"},4l:V(){11 j=l.1l,n=h.1t,c=h.1t[h.1t.1B],f="1s-"+c+"-3o",i=/6w?\\(0, 0, 0(, 0)?\\)|35/i,m=l.2j&&n.y==="15",g=d.1U.1i.1Q;n=g?l.19:m?l.2j:l.2P;m=!g?l.2P:m?l.2j:l.19;B.2H=j.1c({6x:"",1s:""}).1c("4n-3o")||"35";B.1s=j.2S(0).1i?j.2S(0).1i["1s"+c.3K(0)+c.3F(1)+"6y"]:j.1c(f)||"35";U(i.1M(B.2H))B.2H=z?n.1c("4n-3o"):m.1c(f);U(!B.1s||i.1M(B.1s))B.1s=m.1c(f)||B.2H;a("*",j).2s(j).1c("4n-3o","35").1c("1s",0)},2L:V(){11 j=A.1d,n=A.1f;l.1l&&l.1l.2a();l.1l=a(\'<25 1S="1h-14-1l" />\').24("1h-1Q-19",d.1U.1i.1Q).1c(A).4o(s);34(e){1P"2r":a(\'<2r 1f="\'+n+\'" 1d="\'+j+\'" />\').2M(l.1l)[0].3T("2d").5h();1G;1P"2o":l.1l.3i(\'<2o:47 6z="0 0" 6A="\'+j+" "+n+\'" 6B="\'+!!z+\'" 1i="5b:3s(#3R#5c); 3c:5d-3u; 6C:1b; 1g: 3B; 15:0; 17:0; 1d:\'+j+"2m; 1f:"+n+"2m; 6D-6E:"+h.1t.y+\';"><2o:6F 6G="\'+(z-2)+\'2m" 6H="6I" 6J="10" 1i="5b:3s(#3R#5c); 3c:5d-3u;" />\');1G;1P"2V":l.1l.3S(\'<25 1S="1h-14-1l-6K" />\').3S(z?\'<25 1S="1h-14-1l-1s" />\':"");1G}X h},3l:V(j){11 n=l.1l,c=A.1d,f=A.1f,i=z>0?0:1,m=1p.3O(z/2+0.5),g=r.2Y,p,v;U(!j)j=h.1t;U(g===12)g=j;18{g=29 a.1a.Y.1e.2K(g);g.1B=j.1B;U(g.x==="3L")g.x=j.x;18 U(g.y==="3L")g.y=j.y;18 U(g.x===g.y)g[j.1B]=j[j.1B]}v=1p[/b|r/.1M(g[g.1B==="y"?"x":"y"])?"3O":"1O"];n=n.4s();34(e){1P"2r":n=n.2S(0).3T("2d");n.5f&&n.5f();n.6M(0,0,5g,5g);2Q(p=N(g.1J(),c,f);i<2;i++){U(i){n.5h();n.6N(v((g.x==="17"?1:g.x==="1z"?-1:0)*(z+1)*(g.1B==="y"?0.5:1)),v((g.y==="15"?1:g.y==="1A"?-1:0)*(z+1)*(g.1B==="x"?0.5:1)))}n.6O();n.6Q(p[0][0],p[0][1]);n.5j(p[1][0],p[1][1]);n.5j(p[2][0],p[2][1]);n.6R();n.6S=B[i?"2H":"1s"];n.2H()}1G;1P"2o":p=N(g.1J(),c,f);i="m"+p[0][0]+","+p[0][1]+" l"+p[1][0]+","+p[1][1]+" "+p[2][0]+","+p[2][1]+" 6U";n.1v({6W:i,6X:B.2H});U(z){n.4s().1v("3o",B.1s);U(g.1B==="y"){n.1c("15",(g.y==="15"?1:-1)*(z-2));n.1c("17",g.x==="17"?1:-2)}18{n.1c("17",(g.x==="17"?1:-1)*(z-2));n.1c("15",g.y==="15"?1:-2)}}1G;1P"2V":U(g.1B==="y"){i=c>f?1.5:cf?5:2.2;m=[1p.1O(i*m*(g.x==="1z"?-1:1)*(g.y==="1x"?0.9:1)),g.y==="15"?m:g.y==="1A"?-m:0]}n.3q("1i").1y(V(w){11 t={x:g.1B==="x"?g.x==="17"?"1z":"17":g.x,y:g.1B==="y"?g.y==="15"?"1A":"15":g.y},o=g.x==="1x"?["17","1z",t.y,f,c]:["15","1A",t.x,c,f],x=B[!w&&z?"1s":"2H"];w&&a(13).1c({1g:"3B","z-40":1,17:m[0],15:m[1]});g.x==="1x"||g.y==="1x"?a(13).1c("1s-"+o[2],o[3]+"2m 4v "+x).1c("1s-"+o[0],1p.1O(o[4]/2)+"2m 5n 35").1c("1s-"+o[1],1p.1O(o[4]/2)+"2m 5n 35"):a(13).1c("1s-1d",1p.1O(f/2)+"2m "+1p.1O(c/2)+"2m").1c("1s-"+t.x,1p.1O(c/2)+"2m 4v "+x).1c("1s-"+t.y,1p.1O(f/2)+"2m 4v "+x)});1G}b(j);X h},2t:V(){l.1l&&l.1l.2a();s.1D(".Y-1l")}})}V S(d,b){11 k=13,h=d.1j,r=h.14;h.2e=a("#Y-2e");a.1E(k,{2u:V(){r.1q("3d.2w 4x.2w",V(l,s,u){l=l.2c.32("14","");a.2x(b[l])?b[l].1W(h.2e,u,s):k[l](u)});h.2e.1r||k.2L();b.3t===1b&&h.2e.1q("3I.2w"+d.1C,V(){d.16.1W(d)})},2L:V(){h.2e=a("<25 />",{1C:"Y-2e",1c:{1g:"3B",15:0,17:0,3c:"5o"}}).2M(1V.36);a(G).1q("2D.2w",V(){h.2e.1c({1f:1p.33(a(G).1f(),a(1V).1f()),1d:1p.33(a(G).1d(),a(1V).1d())})}).2F("2D")},2U:V(l){11 s=h.2e,u=d.1U.W.1R.2p,q=l?"W":"16";s.3W(1b,12);U(a.2x(u))u.1W(s,l);18 u===12?s[q]():s.4w(3v,l?0.7:0,V(){l||a(13).16()})},W:V(){k.2U(1b)},16:V(){k.2U(12)},2t:V(){11 l=1b;a("*").1y(V(){11 s=a(13).2f("Y");U(s&&s.1C!==d.1C&&s.1U.W.1R)X l=12});U(l){h.2e.2a();a(G).1D("3X.2w 2D.2w")}18 h.2e.1D("3I.2w"+d.1C);r.1D("3d.2w 4x.2w")}});k.2u()}V T(d){11 b=13,k=d.1j,h=k.14,r=".2i-"+d.1C,l="3Y"+r+" 3d"+r;a.1E(b,{2u:V(){k.2i=a(\'<42 1S="1h-14-2i" 5p="0" 5q="-1" 5r="5s:\\\'\\\';" 1i="3c:3u; 1g:3B; z-40:-1; 3C:5t(3x=0);">\');k.2i.2M(h);h.1q(l,b.1T)},1T:V(){11 s=d.2S("37"),u=d.1e.1l,q=d.1j.1l,A;A=28(h.1c("1s-17-1d"),10)||0;A={17:-A,15:-A};U(u&&q){u=u.1t.1B==="x"?["1d","17"]:["1f","15"];A[u[1]]-=q[u[0]]()}k.2i.1c(A).1c(s)},2t:V(){b.42.2a();h.1D(l)}});b.2u()}a.1a.Y=V(d,b,k){11 h=2E(d).2I(),r=1I,l=h==="41"?[1b]:a.5u(2Z).4E(1,10),s=l[l.1r-1],u;U(!2Z.1r&&13.2f("Y")||h==="5v")X(u=13.2f("Y"))?u.27():K;18 U("1J"===1m d){13.1y(V(){11 q=a(13).2f("Y");U(!q)X 1b;U(/5w|39/.1M(h)&&b)U(k!==K)q.39(b,k);18 r=q.2S(b);18{U(!q.1u&&(h==="W"||h==="2U")){U(s&&s.5A)q.1H.1w=s;q.23(1)}18 U(h==="5C"){h="41";l=[12]}q[h]&&q[h].3b(q[h],l)}});X r!==1I?r:13}18 U("1K"===1m d||!2Z.1r){u=L(a.1E(1b,{},d));X a.1a.Y.1q.1W(13,u,s)}};a.1a.Y.1q=V(d,b){X 13.1y(V(){V k(A){V B(){q.23(1m A==="1K"||h.W.3m);r.W.1D(l.W);r.16.1D(l.16)}U(q.1H.1Y)X 12;q.1H.1w=a.1E({},A);U(h.W.2A>0){2k(q.1N.W);q.1N.W=3e(B,h.W.2A);l.W!==l.16&&r.16.1q(l.16,V(){2k(q.1N.W)})}18 B()}11 h,r,l,s=d.1C=!d.1C||d.1C===12||d.1C.1r<1||a("#1h-14-"+d.1C).1r?a.1a.Y.4r++:d.1C,u=".Y-"+s+"-2L",q=P.1W(13,s,d);U(q===12)X 1b;h=q.1U;a.1y(a.1a.Y.1e,V(){13.2J==="2J"&&13(q)});r={W:h.W.1k,16:h.16.1k};l={W:2E(h.W.1w).32(" ",u+" ")+u,16:2E(h.16.1w).32(" ",u+" ")+u};r.W.1q(l.W,k);U(h.W.3m||h.56)k(b)})};a.1y({1v:V(d){11 b=a(13),k=b.2f("Y");X 2Z.1r===1&&d==="1o"&&k&&k.1u===1b?b.2f("4c"):1I},2a:a.1h?1I:V(d,b){a(13).1y(V(){U(!b)U(!d||a.3C(d,[13]).1r)a("*",13).2s(13).1y(V(){a(13).5X("2a")})})}},V(d,b){U(!b)X 1b;a.1a["4K"+d]=a.1a[d];a.1a[d]=V(){X b.3b(13,2Z)||a.1a["4K"+d].3b(13,2Z)}});a(1V.36).1v("45",V(d,b){X!b?"63":b});a(1V).1q("3k.Y",V(d){a.1a.Y.2g={3U:d.3U,46:d.46}});a.1a.Y.3Q="2.0.6a";a.1a.Y.4r=0;a.1a.Y.4q="3I 6c 3P 4Q 3k 5k 4p".2R(" ");a.1a.Y.4b=6f;a.1a.Y.1e={2K:V(d){d=2E(d).32(/([A-Z])/," $1").32(/6i/6m,"1x").2I();13.x=(d.4e(/17|1z/i)||d.4e(/1x/)||["3L"])[0].2I();13.y=(d.4e(/15|1A|1x/i)||["3L"])[0].2I();13.1B=d.3K(0).4j(/^(t|b)/)>-1?"y":"x";13.1J=V(){X 13.1B==="y"?13.y+13.x:13.x+13.y};13.55=V(){11 b=13.x.3F(0,1),k=13.y.3F(0,1);X b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.1a.Y.3a={56:12,1C:12,4m:1b,2n:{2c:"1S"},19:{1L:1b,1v:"1o",1o:{1L:12,22:12}},1g:{2b:"15 17",2y:"1A 1z",1k:12,2z:12,1T:{x:0,y:0,2g:1b,2N:12,2D:1b,2z:12},2p:1b},W:{1k:12,1w:"4p",2p:1b,2A:3v,5i:12,3m:12},16:{1k:12,1w:"5k",2p:1b,2A:0,2B:12,21:12},1i:{3r:"",1Q:12},4t:{23:1I,4u:1I,W:1I,16:1I,2O:1I,3t:1I}};a.1a.Y.1e.1F=V(d){11 b=d.1e.1F,k=d.1U.19.1F;U(k&&k.3s)U(b)X b;18{d.1e.1F=29 Q(d);X d.1e.1F}};a.1a.Y.1e.1F.2J="23";a.1a.Y.1e.1F.3h=V(d){11 b=d.19;U(b&&"1F"2l b){b=b.1F;U(1m b!=="1K")b=d.19.1F={3s:b};U("3w"!==1m b.31&&b.31)b.31=!!b.31}};a.1E(1b,a.1a.Y.3a,{19:{1F:{31:1b}}});a.1a.Y.1e.1l=V(d){11 b=d.1e.1l,k=d.1U.1i.1l;U(k&&k.1t)U(b)X b;18{d.1e.1l=29 R(d);d.1e.1l.2u();X d.1e.1l}};a.1a.Y.1e.1l.2J="23";a.1a.Y.1e.1l.3h=V(d){11 b=d.1i;U(b&&"1l"2l b){b=d.1i.1l;U(1m b!=="1K")d.1i.1l={1t:b};U(!/1J|3w/i.1M(1m b.1t))b.1t=4z;U(1m b.2T!=="1J")b.2T=1b;U(!/2r|2V/i.1M(b.2T))b.2T=1b;1m b.1d!=="2W"&&1Z b.1d;1m b.1f!=="2W"&&1Z b.1f;1m b.1s!=="2W"&&1Z b.1s;1m b.1n!=="2W"&&1Z b.1n}};a.1E(1b,a.1a.Y.3a,{1i:{1l:{1t:1b,2Y:12,2T:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.Y.1e.4g=V(d,b){V k(z,e){2Q(11 j=0,n=1,c=1,f=0,i=0,m=z.1d,g=z.1f;m>0&&g>0&&n>0&&c>0;){m=1p.1O(m/2);g=1p.1O(g/2);U(b.x==="17")n=m;18 U(b.x==="1z")n=z.1d-m;18 n+=1p.1O(m/2);U(b.y==="15")c=g;18 U(b.y==="1A")c=z.1f-g;18 c+=1p.1O(g/2);2Q(j=e.1r;j--;){U(e.1r<2)1G;f=e[j][0]-z.1n.17;i=e[j][1]-z.1n.15;U(b.x==="17"&&f>=n||b.x==="1z"&&f<=n||b.x==="1x"&&(fz.1d-n)||b.y==="15"&&i>=c||b.y==="1A"&&i<=c||b.y==="1x"&&(iz.1f-c))e.65(j,1)}}X{17:e[0][0],15:e[0][1]}}11 h=d.1v("47").2I(),r=d.1v("6d").2R(","),l=[],s=a(\'3j[6h="#\'+d.6j("5e").1v("4Z")+\'"]\'),u=s.1n(),q={1d:0,1f:0,1n:{15:53,1z:0,1A:0,17:53}},A=0,B=0;u.17+=1p.3O((s.4h()-s.1d())/2);u.15+=1p.3O((s.4k()-s.1f())/2);U(h==="4y")2Q(A=r.1r;A--;){B=[28(r[--A],10),28(r[A+1],10)];U(B[0]>q.1n.1z)q.1n.1z=B[0];U(B[0]q.1n.1A)q.1n.1A=B[1];U(B[1]35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('"5w 5x";11 1b=4z,12=76,1I=5y;(V(a,G,K){V L(d){11 b;U(!d)X 12;U("1K"!==1m d.2n)d.2n={28:d.2n};U("19"2i d){U("1K"!==1m d.19||d.19.2E)d.19={1M:d.19};b=d.19.1M||12;U(!a.2r(b)&&(!b&&!b.1v||b.1q<1||"1K"===1m b&&!b.2E))b=d.19.1M=12;U("1o"2i d.19&&"1K"!==1m d.19.1o)d.19.1o={1M:d.19.1o}}U("1l"2i d){U("1K"!==1m d.1l)d.1l={2a:d.1l,2x:d.1l};U("1K"!==1m d.1l.1T)d.1l.1T={};U("59"!==1m d.1l.1T.2N)d.1l.1T.2N=!!d.1l.1T.2N}U("W"2i d){U("1K"!==1m d.W)d.W={1w:d.W};U("1K"!==1m d.W)d.W=d.W.2E?{1i:d.W}:{1w:d.W}}U("17"2i d)U("1K"!==1m d.17)d.17=d.17.2E?{1i:d.17}:{1w:d.17};U("1h"2i d&&"1K"!==1m d.1h)d.1h={3k:d.1h};a.1x(a.1a.Y.1e,V(){13.3f&&13.3f(d)});X d}V O(d,b,k){V h(c){11 f,i=c.2R("."),m=b[i[0]];2O(c=1;c",{3j:f}):a("",{"1R":"1g-1X-3z",1M:"5b 14",1o:"5b 14",1c:{"1M-5D":"-6B"}}).5E(a("<4J />",{"1R":(b.1h.1Q?"1g":j)+"-3C 1g-3C-5d"}));c.23.4k(c.2k).1v("44","23").3U(j+"-5d").4C(V(i){a(13).22("1g-1X-4C",i.28==="4n")}).3D(V(){c.14.2F("1g-1X-1Y")||e.17();X 12}).1r("3N 5F 4R 5G 4r",V(i){a(13).22("1g-1X-6h 1g-1X-2S",/5H$/i.1O(i.28))});e.3M()}V p(){11 c=e.1j;c.2k&&s();c.2k=a("<24 />",{"1R":j+"-2k "+(b.1h.1Q?"1g-1Q-4I":"")}).3y(c.1o=a("<24 />",{1C:j+"-"+k+"-1o","1R":j+"-1o",3j:b.19.1o.1M})).4k(c.2Q);U(b.19.1o.23)v();18 e.1u===1b&&e.3M()}V C(c){11 f=e.1j;U(!e.1u||!c)X 12;U(a.2r(c))c=c.1Z(d);c.2E&&c.1q>0?f.19.5I().3y(c.1c({3c:"3u"})):f.19.3j(c);f.14.3O("4F",V(i){V m(o){g=g.4a(o);U(g.1q===0){e.3M();e.1u===1b&&e.2j(e.1F.1w);i()}}11 g=a("38:4a([1f]):4a([1d])",e.1j.19);g.1x(V(o,w){11 y=["6x","3G","3d","5J",""].5K(".Y-5L ");a(13).1r(y,V(){2m(e.1L.38[o]);m(13)});(V u(){U(w.1f)X m(w);e.1L.38[o]=3h(u,20)})();X 1b});g.1q===0&&m(g)});X e}V D(c,f,i,m){V g(z){U(r.14.2F("1g-1X-1Y"))X 12;r.W.2H("Y-"+k+"-25");2m(e.1L.W);2m(e.1L.17);11 x=V(){e.W(z)};U(b.W.2C>0)e.1L.W=3h(x,b.W.2C);18 x()}V o(z){U(r.14.2F("1g-1X-1Y"))X 12;11 x=a(z.4O||z.1i).3W(n)[0]==r.14[0];2m(e.1L.W);2m(e.1L.17);U(b.17.2B&&(t.1i==="2b"&&x||/2b(4M|4N|4v)/.1O(z.28)&&x)){z.6b();z.63();X 12}r.14.3V(1,1);U(b.17.2C>0)e.1L.17=3h(V(){e.17(z)},b.17.2C);18 e.17(z)}V w(z){U(r.14.2F("1g-1X-1Y"))X 12;2m(e.1L.25);e.1L.25=3h(V(){e.17(z)},b.17.25)}V y(z){5N.5O(z);U(!e.1F.45){e.1F.45=1;e.1j.14.2c(":2A")&&e.2j(z);e.1F.45=0}}11 u=".Y-"+k,t=b.1l,r={W:b.W.1i,17:b.17.1i,14:e.1j.14,1W:t.1W[0]===1V.2Z?1V:t.1W},E={W:2D(b.W.1w).2R(" "),17:2D(b.17.1w).2R(" ")},I=a.2w.2X&&26(a.2w.3E,10)===6;d.1r("2h.Y",V(){e.2u()});U(i&&b.17.2B){r.17=r.17.2s(r.14);r.14.1r("43"+u,V(){r.14.2F("1g-1X-1Y")||2m(e.1L.17)})}U(f){U("2Y"===1m b.17.25){r.W.1r("Y-"+k+"-25",w);a.1x(a.1a.Y.4o,V(z,x){r.17.2s(e.1j.14).1r(x+u+"-25",w)})}a.1x(E.17,V(z,x){11 A=a.5P(x,E.W);U(A>-1&&a(r.17).2s(r.W).1q===a(r.17).1q||x==="4E"){r.W.1r(x+u,V(F){r.14.2c(":2A")?o(F):g(F)});21 E.W[A]}18 r.17.1r(x+u,o)})}U(c){a.1x(E.W,V(z,x){r.W.1r(x+u,g)});r.14.1r("43"+u,V(){e.2S()})}U(m){U(t.1T.2v||t.1T.2N)a(a.1w.5Q.2v?r.1W:G).1r("2v"+u,y);U(t.1T.2N||I&&r.14.1c("1l")==="2B")a(r.1W).1r("3X"+u,y);/4E/i.1O(b.17.1w)&&a(1V).1r("3N"+u,V(z){11 x=e.1j.14;a(z.1i).3W(n).1q===0&&a(z.1i).2s(d).1q>1&&x.2c(":2A")&&!x.2F("1g-1X-1Y")&&e.17()});t.1i==="2b"&&a(1V).1r("3i"+u,V(z){U(t.1T.2b&&!r.14.2F("1g-1X-1Y")&&r.14.2c(":2A"))e.2j(z||a.1a.Y.2b)})}}V B(c,f,i,m){m=26(m,10)!==0;11 g=".Y-"+k,o={W:c?b.W.1i:a("<24/>"),17:f?b.17.1i:a("<24/>"),14:i?e.1j.14:a("<24/>")};f={W:2D(b.W.1w).2R(" "),17:2D(b.17.1w).2R(" ")};U(e.1u){a.1x(f.W,V(w,y){o.W.1D(y+g)});o.W.1D("3i"+g).1D("4r"+g).1D("Y-"+k+"-25");a.1x(f.17,V(w,y){o.17.2s(o.14).1D(y+g)});a.1x(a.1a.Y.4o,V(w,y){o.17.2s(i?e.1j.19:1I).1D(y+g+"-25")});o.17.1D("4r"+g);o.14.1D("43"+g);U(m){a(G).1D("2v"+g);a(1V).1D("3N"+g+" 3i"+g)}}18 c&&o.W.1D(f.W+g+"-2K")}11 e=13,j="1g-14",n=".Y."+j;e.1C=k;e.1u=12;e.1j={1i:d};e.1F={1w:{},1i:1I,1Y:12};e.1L={38:[]};e.1S=b;e.1e={};a.1E(e,{27:V(c){11 f=e.1j,i=a.3r("4X");U(e.1u)X 12;e.1u=c?-2:-1;f.14=a("<24/>").1v({1C:j+"-"+k,44:"14","1R":j+" Y 1g-14-30 1g-4G-4H "+b.1h.3k}).1c("z-3Z",a.1a.Y.4i+a(n).1q).22("1g-1Q",b.1h.1Q).22("1g-1X-1Y",e.1F.1Y).2e("Y",e).2P(b.1l.1W);f.2Q=a("<24 />",{"1R":j+"-2Q"}).2P(f.14);f.19=a("<24 />",{"1R":j+"-19 "+(b.1h.1Q?"1g-1Q-19":""),1C:j+"-"+k+"-19"}).2P(f.2Q);b.19.1o.1M&&p();C(b.19.1M);a.1x(a.1a.Y.1e,V(){13.2J==="27"&&13(e)});e.1u=1b;D(1,1,1,1);a.1x(b.4u,V(m,g){g&&f.14.1r("14"+m,g)});f.14.3O("4F",V(m){U(b.W.3o||c){f.14.17();e.W(e.1F.1w)}f.14.3I("1g-14-30");i.3b=e.1F.1w;f.14.2H(i,[e.29()]);m()});X e},2U:V(c){33(c.2G()){1P"1n":c=l("1l");1H;1P"39":c=l("39");1H;3z:c=h(c.2G());c=c[0].1B?c[0].1J():c[0].2E?c[0]:c[0][c[1]];1H}X c},3a:V(c,f){c=c.2G();11 i=h(c),m=e.1j,g=m.14,o,w,y,u={5R:{1C:V(){11 t=f===1b?a.1a.Y.46:f,r=j+"-"+t;U(t!==12&&t.1q>0&&!a("#1g-14-"+t).1q){g[0].1C=r;m.19[0].1C=r+"-19";m.1o[0].1C=r+"-1o"}},"^19.1M":V(){C(f)},"^19.1o.1M":V(){U(e.1u)U(!e.1j.1o&&f){p();e.2j()}18 f?e.1j.1o.3j(f):s()},"^19.1o.23":V(){11 t=e.1j.23,r=e.1j.1o;U(e.1u)U(f){r||p();v()}18 t.2h()},"^1l.(2a|2x)$":V(){11 t=/2a$/i.1O(c)?"2a":"2x";U("1J"===1m f)b.1l[t]=2f a.1a.Y.1e.2T(f)},"^1l.(2a|2x|1T|1i)":V(){e.1u&&e.2j()},"^1l.1W$":V(){U(e.1u===1b){g.2P(f);e.2j()}},"^(W|17).(1w|1i|2B|2C|25)":V(t,r,E,I){11 z=c.4c(/2B/i)>-1?[0,[0,1,1,1]]:[c.3K(0,3),c.3H(0)==="s"?[1,0,0,0]:[0,1,0,0]];U(z[0])t[r]=I;B.3g(e,z[1]);U(z[0])t[r]=E;D.3g(e,z[1])},"^W.3o$":V(){e.1u===12&&e.W()},"^1h.3k$":V(){e.1j.14.1v("1R",j+" Y 1g-4G-4H "+f)},"^1h.1Q$":V(){11 t=!!f;g.22("1g-1Q",t);m.2k.22("1g-1Q-4I",t);m.19.22("1g-1Q-19",t);m.23.4q("4J").22(j+"-3C",!t).22("1g-3C",t)},"^4u.(27|W|4v|17|2S|3s)":V(t,r,E){m.14[(a.2r(f)?"":"5S")+"1r"]("14"+r,E)}}};a.1x(e.1e,V(t){U("1K"===1m 13.3J)u[t]=13.3J});o=i[0][i[1]];i[0][i[1]]=f.5M?a(f):f;L(b);2O(w 2i u)2O(y 2i u[w])5T(y,"i").1O(c)&&u[w][y].1Z(e,i[0],i[1],f,o);X e},2L:V(c,f){V i(){11 u=a(13),t=c?"1v":"3p",r=/^1|0$/.1O(u.1c("3x"));e.1j.1o&&d[t]("3e-4K",j+"-"+k+"-1o");d[t]("3e-4V",j+"-"+k+"-19");U(c){U(a.2w.2X&&13.1h&&r){y=13.1h;y.4l("3A");y.4l("3x")}}18 r&&u.17()}U(e.1u===12)X 12;11 m=c?"W":"17",g=e.1j.14,o=b[m],w=g.2c(":2A"),y;U((1m c).4c("3w|2Y"))c=!g.2c(":2A");U(!w&&!c||g.2c(":5V"))X e;U(f){U(e.1F.1w&&/5W|5X/.1O(f.28)&&/4M|4N/.1O(e.1F.1w.28)&&a(f.1i).2s(b.W.1i).1q<2&&a(f.4O).3W(n).1q>0)X e;e.1F.1w=a.1E({},f)}w=a.3r("14"+m);w.3b=f?e.1F.1w:1I;g.2H(w,[e.29(),3R]);U(w.48())X e;U(c){e.2S();e.2j(f);o.5k&&a(n).Y("17")}18 2m(e.1L.W);g.1v("3e-5Y",5Z(!c));g.3V(1,1);U(a.2r(o.2q)){o.2q.1Z(g,e.29());g.3O(V(){i.1Z(13);a(13).4S()})}18 U(o.2q===12){g[m]();i.1Z(g)}18 g.4w(3R,c?1:0,i);c&&o.1i.2H("Y-"+k+"-25");X e},W:V(c){e.2L(1b,c)},17:V(c){e.2L(12,c)},2S:V(c){U(e.1u===12)X 12;11 f=e.1j.14,i=a(n),m=26(f[0].1h.4s,10),g=a.1a.Y.4i+i.1q,o=j+"-2S",w=a.1E({},c);U(!f.2F(o)&&m!==g){i.1x(V(){13.1h.4s-=1});a(n+"."+o).1x(V(){11 y=a(13),u=y.Y(),t;U(!u||u.1u===12)X 1b;y.3I(o);t=a.3r("60");t.3b=w;y.2H(t,[u,g])});c=a.3r("61");c.3b=w;f.2H(c,[e.29(),g]);U(!c.48())f.3U(o)[0].1h.4s=g}X e},2j:V(c){U(e.1u===12)X 12;11 f=b.1l.1i,i=e.1j.14,m=b.1l,g=m.2a,o=m.2x,w=m.1T,y=e.1j.14.1d(),u=e.1j.14.1f(),t=a(m.1W)[0],r=0,E=0,I=a.3r("3Y"),z=i.1c("1l")==="2B",x=a(w.1W&&t!==1V.2Z?t:G),A={15:0,16:0};t={15:V(F){11 J=x.3Q,H=o.x==="15"?r:o.x==="1A"?-r:-r/2,M=F+y-x.1d-J;H=(g.x==="15"?y:g.x==="1A"?-y:-y/2)-(g.x===g.y?1:-2)*w.x-(g.1B==="x"||g.x===g.y?H:0);U(J-F>0)A.15-=H;18 U(M>0)A.15-=(g.x==="1y"?-1:1)*H;X A.15-F},16:V(F){11 J=x.3S,H=o.y==="16"?E:o.y==="1z"?-E:-E/2,M=F+u-x.1f-J;H=(g.y==="16"?u:g.y==="1z"?-u:-u/2)-(g.y===g.x?1:-2)*w.y-(g.1B==="y"||g.x===g.y?H:0);U(J-F>0)A.16-=H;18 U(M>0)A.16-=(g.y==="1y"?-1:1)*H;X A.16-F}};x={4Q:x,1f:x[(x[0]===G?"h":"70")+"65"](),1d:x[(x[0]===G?"w":"66")+"67"](),3Q:x.3Q(),3S:x.3S()};U(f==="2b"){o={x:"15",y:"16"};c=w.2b||!c||!c.3T?a.1E({},a.1a.Y.2b):c;A={16:c.4p,15:c.3T}}18{U(f==="1w")f=c&&c.1i&&c.28!=="3X"&&c.28!=="2v"?e.1F.1i=a(c.1i):e.1F.1i;f=a(f).68(0);U(f.1q===0)X e;18 U(f[0]===1V||f[0]===G){r=f.1d();E=f.1f();U(f[0]===G)A={16:z?0:x.3S,15:z?0:x.3Q}}18 U(f.2c("6a")&&a.1a.Y.1e.41){A=a.1a.Y.1e.41(f,o);r=A.1d;E=A.1f;A=A.1n}18{r=f.4e();E=f.4h();A=q(f)}A.15+=o.x==="1A"?r:o.x==="1y"?r/2:0;A.16+=o.y==="1z"?E:o.y==="1y"?E/2:0}A.15+=w.x+(g.x==="1A"?-y:g.x==="1y"?-y/2:0);A.16+=w.y+(g.y==="1z"?-u:g.y==="1y"?-u/2:0);A.4f=w.2N&&f[0]!==G&&f[0]!==1V.2Z?{15:t.15(A.15),16:t.16(A.16)}:{15:0,16:0};i.1v("1R",V(){X a(13).1v("1R").31(/1g-14-4P-\\w+/i,"")}).3U(j+"-4P-"+g.56());I.3b=a.1E({},c);i.2H(I,[e.29(),A,x.4Q]);U(I.48())X e;21 A.4f;U(i.2c(":2A")&&a.2r(m.2q)){m.2q.1Z(i,e.29(),A);i.3O(V(){11 F=a(13);F.1c({3x:"",1f:""});a.2w.2X&&13.1h&&13.1h.4l("3A");F.4S()})}18 6e(A.15,A.16)||i.1c(A);X e},3M:V(){U(!e.1u||!(a.2w.2X&&26(a.2w.3E.3H(0),10)<9))X 12;11 c=e.1j.14;c.1v("1h");11 f;c.1c({1d:"4T",1f:"4T"});f=l("39",1);a.1x(["1d","1f"],V(i,m){11 g=26(c.1c("36-"+m),10)||0,o=26(c.1c("4U-"+m),10)||0;f[m]=g+o?1p.4U(1p.36(f[m],o),g):f[m]});c.1c(f)},4m:V(c){11 f=e.1j.14;U(e.1u)f.22("1g-1X-1Y",c);18 e.1F.1Y=!!c;X e},2u:V(){11 c=e.1j,f=c.1i.2e("42");e.1u&&a.1x(e.1e,V(){13.2J==="27"&&13.2u()});B(1,1,1,1);d.4W("Y");e.1u&&c.14.2h();f&&d.1v("1o",f);d.3p("3e-4V");X d},29:V(){11 c=a.1E({},e);21 c.1F;21 c.1L;21 c.1S;21 c.1e;21 c.27;21 c.29;X c}})}V P(d,b){11 k,h,q=a(13);k=a(1V.2Z);11 l=13===1V?k:q;h=q.2n?q.2n(b.2n):1I;11 s=a.1E(1b,{},a.1a.Y.3n,b,L((h&&b.2n.28==="6g"?h[b.2n.52]:1I)||h));q.4W("2n");h=s.1l;U("3w"===1m s.19.1M)U(s.19.1v!==12&&q.1v(s.19.1v))s.19.1M=q.1v(s.19.1v);18 X 12;U(h.1W===12)h.1W=k;U(h.1i===12)h.1i=l;U(s.W.1i===12)s.W.1i=l;U(s.17.1i===12)s.17.1i=l;h.2x=2f a.1a.Y.1e.2T(h.2x);h.2a=2f a.1a.Y.1e.2T(h.2a);U(q.2e("Y"))U(s.4d)q.Y("2u");18 U(s.4d===12)X 12;q.1v("1o")&&q.2e("42",q.1v("1o")).3p("1o");k=2f O(q,s,d);q.2e("Y",k);X k}V Q(d){11 b=13;b.3J={"^19.1G":V(){13.1e.1G.3d(13.1S.19.1G)}};a.1E(b,{2y:V(){11 k=d.1S.19.1G;d.1j.14.1r("4X.1G",V(){b.3d(k);d.1j.14.1r("37.1G",V(){k.2V===12&&d.1u===1b&&b.3d(k)})})},3d:V(k){a.1G(a.1E(1b,{},k,{49:V(h,q){U(a.2r(k.49))U(k.49.1Z(d.29(),h,q)===12)X;d.3a("19.1M",h)},3G:V(h,q,l){11 s=q||l;U(a.2r(k.3G)){h=k.3G.1Z(d.29(),h,q,l);U(h===12)X}d.3a("19.1M",s)}}));X b},2u:V(){d.1j.14.1D("37.1G")}});b.2y()}V N(d,b,k){11 h=1p.1N(b/2),q=1p.1N(k/2);b={4Y:[[0,0],[b,k],[b,0]],4Z:[[0,0],[b,0],[0,k]],51:[[0,k],[b,0],[b,k]],53:[[0,0],[0,k],[b,k]],6j:[[0,k],[h,0],[b,k]],6s:[[0,0],[b,0],[h,k]],6r:[[0,0],[b,q],[0,k]],6m:[[b,0],[b,k],[0,q]]};b.6n=b.4Y;b.6p=b.4Z;b.6t=b.51;b.6u=b.53;X b[d]}V R(d){V b(j){11 n=l.1k,c=["15","1A"],f=q.1n,i,m;U(q.1t===12||!n)X 12;j=j||h.1t;i=j.1B;m=i==="y"?"x":"y";c[i==="y"?"5a":"6v"]("16","1z");f=1p.36(j[m]==="1y"?f:0,f);n.1c({16:"",1z:"",15:"",1A:"",55:""});33(j[i==="y"?"x":"y"]){1P"1y":n.1c(c[0],"50%").1c("55-"+c[0],-1p.1N(C[i==="y"?"1d":"1f"]/2)+f);1H;1P c[0]:n.1c(c[0],f);1H;1P c[1]:n.1c(c[1],f);1H}f=C[i==="x"?"1d":"1f"];U(B){s.22("1g-14-30",!s.2c(":2A"));f-=26(v.1c("1s-"+j[i]+"-1d"),10)||0;s.3I("1g-14-30")}U(e==="2o"&&/1z|1A/.1O(j[j.1B]))f+=B?1:-1;n.1c(j[i],-f)}V k(j,n,c){U(l.1k){j=a.1E({},h.1t);n=j.1B==="y"?["y","16","15","1f","x"]:["x","15","16","1d","y"];11 f=c.4f,i=[0,0];U(h.1t.2B!==1b){U(f.15)j.x=j.x==="1y"?f.15>0?"15":"1A":j.x==="15"?"1A":"15";U(f.16)j.y=j.y==="1y"?f.16>0?"16":"1z":j.y==="16"?"1z":"16";U(j.1J()!==p.1t.1J()&&(p.16!==f.16||p.15!==f.15))h.3m(j)}i[0]=B?26(v.1c("1s-"+j[n[0]]+"-1d"),10)||0:e==="2o"?1:0;i[1]=1p.36(j[n[4]]==="1y"?q.1n:0,q.1n);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(C[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="1y"?1:-1)*i[1];p.15=f.15;p.16=f.16;p.1t=j}}11 h=13,q=d.1S.1h.1k,l=d.1j,s=l.14,v=l.2Q,p={16:0,15:0,1t:{1J:V(){}}},C={1d:q.1d,1f:q.1f},D={},B=q.1s||0,e=q.2M||12;h.1t=1I;h.35=1I;h.3J={"^1l.2a|1h.1k.(1t|35|2M|1s)":V(){B=q.1s;U(h.2y())13.2U("1l.1i")!=="2b"&&13.2j();18 h.2u()},"^1h.1k.(1f|1d)":V(){C={1d:q.1d,1f:q.1f};h.2K();h.3m();d.2j()},"^1h.(3k|1Q)$":V(){h.4g();h.3m()}};a.1E(h,{2y:V(){11 j=a.2w.2X,n=h.57(),c=h[h.35?"35":"1t"].1J().6w("1y")>-1;U(n){U(e===1b)e=a("<2t />")[0].3P?"2t":j&&(c||C.1f!==C.1d)?"2o":"2W";18 U(e==="2t")e=j?"2o":!a("<2t />")[0].3P?"2W":"2t";18 U(e==="2W")e=j&&c?"2o":e;h.2K();h.4g();h.3m();s.1D(".Y-1k").1r("3Y.Y-1k",k)}X n},57:V(){11 j=q.1t,n=d.1S.1l.2x,c=d.1S.1l.2a;U(c.1J)c=c.1J();U(j===12||c===12&&n===12)X 12;18 U(j===1b)h.1t=2f a.1a.Y.1e.2T(c);18 U(!j.1J){h.1t=2f a.1a.Y.1e.2T(j);h.1t.2B=1b}X h.1t.1J()!=="4A"},4g:V(){11 j=l.1k,n=h.1t,c=h.1t[h.1t.1B],f="1s-"+c+"-3l",i=/6y?\\(0, 0, 0(, 0)?\\)|34/i,m=l.2k&&n.y==="16",g=d.1S.1h.1Q;n=g?l.19:m?l.2k:l.2Q;m=!g?l.2Q:m?l.2k:l.19;D.2I=j.1c({6z:"",1s:""}).1c("4j-3l")||"34";D.1s=j.2U(0).1h?j.2U(0).1h["1s"+c.3H(0)+c.3K(1)+"6A"]:j.1c(f)||"34";U(i.1O(D.2I))D.2I=B?n.1c("4j-3l"):m.1c(f);U(!D.1s||i.1O(D.1s))D.1s=m.1c(f)||D.2I;a("*",j).2s(j).1c("4j-3l","34").1c("1s",0)},2K:V(){11 j=C.1d,n=C.1f;l.1k&&l.1k.2h();l.1k=a(\'<24 1R="1g-14-1k" />\').22("1g-1Q-19",d.1S.1h.1Q).1c(C).4k(s);33(e){1P"2t":a(\'<2t 1f="\'+n+\'" 1d="\'+j+\'" />\').2P(l.1k)[0].3P("2d").5j();1H;1P"2o":l.1k.3j(\'<2o:47 6C="0 0" 6D="\'+j+" "+n+\'" 6E="\'+!!B+\'" 1h="5c:3t(#3z#5e); 3c:5f-3u; 6F:1b; 1l: 3v; 16:0; 15:0; 1d:\'+j+"2p; 1f:"+n+"2p; 6G-6H:"+h.1t.y+\';"><2o:6I 6J="\'+(B-2)+\'2p" 6K="6L" 6M="10" 1h="5c:3t(#3z#5e); 3c:5f-3u;" />\');1H;1P"2W":l.1k.3y(\'<24 1R="1g-14-1k-6N" />\').3y(B?\'<24 1R="1g-14-1k-1s" />\':"");1H}X h},3m:V(j){11 n=l.1k,c=C.1d,f=C.1f,i=B>0?0:1,m=1p.3L(B/2+0.5),g=q.35,o,w;U(!j)j=h.1t;U(g===12)g=j;18{g=2f a.1a.Y.1e.2T(g);g.1B=j.1B;U(g.x==="3F")g.x=j.x;18 U(g.y==="3F")g.y=j.y;18 U(g.x===g.y)g[j.1B]=j[j.1B]}w=1p[/b|r/.1O(g[g.1B==="y"?"x":"y"])?"3L":"1N"];n=n.4q();33(e){1P"2t":n=n.2U(0).3P("2d");n.5h&&n.5h();n.6O(0,0,5i,5i);2O(o=N(g.1J(),c,f);i<2;i++){U(i){n.5j();n.6P(w((g.x==="15"?1:g.x==="1A"?-1:0)*(B+1)*(g.1B==="y"?0.5:1)),w((g.y==="16"?1:g.y==="1z"?-1:0)*(B+1)*(g.1B==="x"?0.5:1)))}n.6Q();n.6R(o[0][0],o[0][1]);n.5l(o[1][0],o[1][1]);n.5l(o[2][0],o[2][1]);n.6T();n.6U=D[i?"2I":"1s"];n.2I()}1H;1P"2o":o=N(g.1J(),c,f);i="m"+o[0][0]+","+o[0][1]+" l"+o[1][0]+","+o[1][1]+" "+o[2][0]+","+o[2][1]+" 6V";n.1v({6W:i,6X:D.2I});U(B){n.4q().1v("3l",D.1s);U(g.1B==="y"){n.1c("16",(g.y==="16"?1:-1)*(B-2));n.1c("15",g.x==="15"?1:-2)}18{n.1c("15",(g.x==="15"?1:-1)*(B-2));n.1c("16",g.y==="16"?1:-2)}}1H;1P"2W":U(g.1B==="y"){i=c>f?1.5:cf?5:2.2;m=[1p.1N(i*m*(g.x==="1A"?-1:1)*(g.y==="1y"?0.9:1)),g.y==="16"?m:g.y==="1z"?-m:0]}n.3p("1h").1x(V(y){11 u={x:g.1B==="x"?g.x==="15"?"1A":"15":g.x,y:g.1B==="y"?g.y==="16"?"1z":"16":g.y},t=g.x==="1y"?["15","1A",u.y,f,c]:["16","1z",u.x,c,f],r=D[!y&&B?"1s":"2I"];y&&a(13).1c({1l:"3v","z-3Z":1,15:m[0],16:m[1]});g.x==="1y"||g.y==="1y"?a(13).1c("1s-"+t[2],t[3]+"2p 4t "+r).1c("1s-"+t[0],1p.1N(t[4]/2)+"2p 5n 34").1c("1s-"+t[1],1p.1N(t[4]/2)+"2p 5n 34"):a(13).1c("1s-1d",1p.1N(f/2)+"2p "+1p.1N(c/2)+"2p").1c("1s-"+u.x,1p.1N(c/2)+"2p 4t "+r).1c("1s-"+u.y,1p.1N(f/2)+"2p 4t "+r)});1H}b(j);X h},2u:V(){l.1k&&l.1k.2h();s.1D(".Y-1k")}})}V S(d,b){11 k=13,h=d.1j,q=h.14;h.2g=a("#Y-2g");a.1E(k,{2y:V(){q.1r("37.2z 4x.2z",V(l,s,v){l=l.28.31("14","");a.2r(b[l])?b[l].1Z(h.2g,v,s):k[l](v)});h.2g.1q||k.2K();b.3s===1b&&h.2g.1r("3D.2z"+d.1C,V(){d.17.1Z(d)})},2K:V(){h.2g=a("<24 />",{1C:"Y-2g",1c:{1l:"3v",16:0,15:0,3c:"75"}}).2P(1V.2Z);a(G).1r("2v.2z",V(){h.2g.1c({1f:1p.36(a(G).1f(),a(1V).1f()),1d:1p.36(a(G).1d(),a(1V).1d())})}).2H("2v")},2L:V(l){11 s=h.2g,v=d.1S.W.1U.2q,p=l?"W":"17";s.3V(1b,12);U(a.2r(v))v.1Z(s,l);18 v===12?s[p]():s.4w(3R,l?0.7:0,V(){l||a(13).17()})},W:V(){k.2L(1b)},17:V(){k.2L(12)},2u:V(){11 l=1b;a("*").1x(V(){11 s=a(13).2e("Y");U(s&&s.1C!==d.1C&&s.1S.W.1U)X l=12});U(l){h.2g.2h();a(G).1D("3X.2z 2v.2z")}18 h.2g.1D("3D.2z"+d.1C);q.1D("37.2z 4x.2z")}});k.2y()}V T(d){11 b=13,k=d.1j,h=k.14,q=".2l-"+d.1C,l="3Y"+q+" 37"+q;a.1E(b,{2y:V(){k.2l=a(\'<40 1R="1g-14-2l" 5o="0" 5p="-1" 5q="5r:\\\'\\\';" 1h="3c:3u; 1l:3v; z-3Z:-1; 3A:5s(3x=0);">\');k.2l.2P(h);h.1r(l,b.1T)},1T:V(){11 s=d.2U("39"),v=d.1e.1k,p=d.1j.1k,C;C=26(h.1c("1s-15-1d"),10)||0;C={15:-C,16:-C};U(v&&p){v=v.1t.1B==="x"?["1d","15"]:["1f","16"];C[v[1]]-=p[v[0]]()}k.2l.1c(C).1c(s)},2u:V(){b.40.2h();h.1D(l)}});b.2y()}a.1a.Y=V(d,b,k){11 h=2D(d).2G(),q=1I,l=h==="4m"?[1b]:a.5t(32).4D(1,10),s=l[l.1q-1],v;U(!32.1q&&13.2e("Y")||h==="5u")X(v=13.2e("Y"))?v.29():K;18 U("1J"===1m d){13.1x(V(){11 p=a(13).2e("Y");U(!p)X 1b;U(/5v|3a/.1O(h)&&b)U(k!==K)p.3a(b,k);18 q=p.2U(b);18{U(!p.1u&&(h==="W"||h==="2L")){U(s&&s.5A)p.1F.1w=s;p.27(1)}18 U(h==="5B"){h="4m";l=[12]}p[h]&&p[h].3g(p[h],l)}});X q!==1I?q:13}18 U("1K"===1m d||!32.1q){v=L(a.1E(1b,{},d));X a.1a.Y.1r.1Z(13,v,s)}};a.1a.Y.1r=V(d,b){X 13.1x(V(){V k(C){V D(){p.27(1m C==="1K"||h.W.3o);q.W.1D(l.W);q.17.1D(l.17)}U(p.1F.1Y)X 12;p.1F.1w=a.1E({},C);U(h.W.2C>0){2m(p.1L.W);p.1L.W=3h(D,h.W.2C);l.W!==l.17&&q.17.1r(l.17,V(){2m(p.1L.W)})}18 D()}11 h,q,l,s=d.1C=!d.1C||d.1C===12||d.1C.1q<1||a("#1g-14-"+d.1C).1q?a.1a.Y.46++:d.1C,v=".Y-"+s+"-2K",p=P.1Z(13,s,d);U(p===12)X 1b;h=p.1S;a.1x(a.1a.Y.1e,V(){13.2J==="2J"&&13(p)});q={W:h.W.1i,17:h.17.1i};l={W:2D(h.W.1w).31(" ",v+" ")+v,17:2D(h.17.1w).31(" ",v+" ")+v};q.W.1r(l.W,k);U(h.W.3o||h.58)k(b)})};a.1x({1v:V(d){11 b=a(13),k=b.2e("Y");X 32.1q===1&&d==="1o"&&k&&k.1u===1b?b.2e("42"):1I},2h:a.1g?1I:V(d,b){a(13).1x(V(){U(!b)U(!d||a.3A(d,[13]).1q)a("*",13).2s(13).1x(V(){a(13).5U("2h")})})}},V(d,b){U(!b)X 1b;a.1a["4L"+d]=a.1a[d];a.1a[d]=V(){X b.3g(13,32)||a.1a["4L"+d].3g(13,32)}});a(1V.2Z).1v("44",V(d,b){X!b?"62":b});a(1V).1r("3i.Y",V(d){a.1a.Y.2b={3T:d.3T,4p:d.4p}});a.1a.Y.3E="2.0.69";a.1a.Y.46=0;a.1a.Y.4o="3D 6c 3N 4R 3i 5m 4n".2R(" ");a.1a.Y.4i=6f;a.1a.Y.1e={2T:V(d){d=2D(d).31(/([A-Z])/," $1").31(/6k/6o,"1y").2G();13.x=(d.4b(/15|1A/i)||d.4b(/1y/)||["3F"])[0].2G();13.y=(d.4b(/16|1z|1y/i)||["3F"])[0].2G();13.1B=d.3H(0).4c(/^(t|b)/)>-1?"y":"x";13.1J=V(){X 13.1B==="y"?13.y+13.x:13.x+13.y};13.56=V(){11 b=13.x.3K(0,1),k=13.y.3K(0,1);X b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.1a.Y.3n={58:12,1C:12,4d:1b,2n:{28:"1R"},19:{1M:1b,1v:"1o",1o:{1M:12,23:12}},1l:{2a:"16 15",2x:"1z 1A",1i:12,1W:12,1T:{x:0,y:0,2b:1b,2N:12,2v:1b,1W:12},2q:1b},W:{1i:12,1w:"4n",2q:1b,2C:3R,5k:12,3o:12},17:{1i:12,1w:"5m",2q:1b,2C:0,2B:12,25:12},1h:{3k:"",1Q:12},4u:{27:1I,4v:1I,W:1I,17:1I,2S:1I,3s:1I}};a.1a.Y.1e.1G=V(d){11 b=d.1e.1G,k=d.1S.19.1G;U(k&&k.3t)U(b)X b;18{d.1e.1G=2f Q(d);X d.1e.1G}};a.1a.Y.1e.1G.2J="27";a.1a.Y.1e.1G.3f=V(d){11 b=d.19;U(b&&"1G"2i b){b=b.1G;U(1m b!=="1K")b=d.19.1G={3t:b};U("3w"!==1m b.2V&&b.2V)b.2V=!!b.2V}};a.1E(1b,a.1a.Y.3n,{19:{1G:{2V:1b}}});a.1a.Y.1e.1k=V(d){11 b=d.1e.1k,k=d.1S.1h.1k;U(k&&k.1t)U(b)X b;18{d.1e.1k=2f R(d);d.1e.1k.2y();X d.1e.1k}};a.1a.Y.1e.1k.2J="27";a.1a.Y.1e.1k.3f=V(d){11 b=d.1h;U(b&&"1k"2i b){b=d.1h.1k;U(1m b!=="1K")d.1h.1k={1t:b};U(!/1J|3w/i.1O(1m b.1t))b.1t=4z;U(1m b.2M!=="1J")b.2M=1b;U(!/2t|2W/i.1O(b.2M))b.2M=1b;1m b.1d!=="2Y"&&21 b.1d;1m b.1f!=="2Y"&&21 b.1f;1m b.1s!=="2Y"&&21 b.1s;1m b.1n!=="2Y"&&21 b.1n}};a.1E(1b,a.1a.Y.3n,{1h:{1k:{1t:1b,35:12,2M:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.Y.1e.41=V(d,b){V k(B,e){2O(11 j=0,n=1,c=1,f=0,i=0,m=B.1d,g=B.1f;m>0&&g>0&&n>0&&c>0;){m=1p.1N(m/2);g=1p.1N(g/2);U(b.x==="15")n=m;18 U(b.x==="1A")n=B.1d-m;18 n+=1p.1N(m/2);U(b.y==="16")c=g;18 U(b.y==="1z")c=B.1f-g;18 c+=1p.1N(g/2);2O(j=e.1q;j--;){U(e.1q<2)1H;f=e[j][0]-B.1n.15;i=e[j][1]-B.1n.16;U(b.x==="15"&&f>=n||b.x==="1A"&&f<=n||b.x==="1y"&&(fB.1d-n)||b.y==="16"&&i>=c||b.y==="1z"&&i<=c||b.y==="1y"&&(iB.1f-c))e.64(j,1)}}X{15:e[0][0],16:e[0][1]}}11 h=d.1v("47").2G(),q=d.1v("6d").2R(","),l=[],s=a(\'38[6i="#\'+d.6l("5g").1v("52")+\'"]\'),v=s.1n(),p={1d:0,1f:0,1n:{16:54,1A:0,1z:0,15:54}},C=0,D=0;v.15+=1p.3L((s.4e()-s.1d())/2);v.16+=1p.3L((s.4h()-s.1f())/2);U(h==="4y")2O(C=q.1q;C--;){D=[26(q[--C],10),26(q[C+1],10)];U(D[0]>p.1n.1A)p.1n.1A=D[0];U(D[0]p.1n.1z)p.1n.1z=D[1];U(D[1]