diff --git a/dist/jquery.qtip.css b/dist/jquery.qtip.css index 2c41d33a..5c799c83 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 03:56:41 2010 +0000 +* Date: Thu Dec 9 04:00:53 2010 +0000 */ .ui-tooltip-accessible{ diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index 2afa8779..cd2a95bc 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 03:56:41 2010 +0000 +* Date: Thu Dec 9 04:00:53 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -24,7 +24,7 @@ var TRUE = true, (function($, window, undefined) { // Option object sanitizer -function sanitizeOptions(opts, plugins) +function sanitizeOptions(opts) { var content; @@ -106,12 +106,10 @@ function sanitizeOptions(opts, plugins) }; } - // Sanitize plugin options if enabled - if(plugins) { - $.each($.fn.qtip.plugins, function() { - if(this.sanitize) { this.sanitize(opts); } - }); - } + // Sanitize plugin options + $.each($.fn.qtip.plugins, function() { + if(this.sanitize) { this.sanitize(opts); } + }); return opts; } @@ -808,7 +806,7 @@ function QTip(target, options, id) option[0][ option[1] ] = value.nodeType ? $(value) : value; // Re-sanitize options - sanitizeOptions(options, 1); + sanitizeOptions(options); // Execute any valid callbacks for(category in checks) { @@ -1247,7 +1245,7 @@ function init(id, opts) metadata5 = metadata && opts.metadata.type === 'html5' ? metadata[opts.metadata.name] : NULL, // Merge in our sanitized metadata and remove metadata object so we don't interfere with other metadata calls - config = $.extend(TRUE, {}, $.fn.qtip.defaults, opts, sanitizeOptions(metadata5 || metadata), 1); + config = $.extend(TRUE, {}, $.fn.qtip.defaults, opts, sanitizeOptions(metadata5 || metadata)); elem.removeData('metadata'); // Re-grab our positioning options now we've merged our metadata diff --git a/dist/jquery.qtip.min.js b/dist/jquery.qtip.min.js index 86c38dbf..989dec45 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 03:56:41 2010 +0000 +* Date: Thu Dec 9 04:00:53 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -17,68 +17,68 @@ /*global window: false, jQuery: false */ var TRUE=true,FALSE=false,NULL=null; -(function(a,G,K){function L(d,c){var i;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};i=d.content.text||FALSE;if(!a.isFunction(i)&&(!i&&!i.attr||i.length<1||"object"===typeof i&&!i.jquery))i=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};c&&a.each(a.fn.qtip.plugins, -function(){this.sanitize&&this.sanitize(d)});return d}function O(d,c,i){function h(b){var f,j=b.split("."),m=c[j[0]];for(b=1;b",{html:f}):a("", -{"class":"ui-state-default",text:"Close tooltip",title:"Close tooltip",css:{"text-indent":"-10000em"}}).prepend(a("",{"class":(c.style.widget?"ui":k)+"-icon ui-icon-close"}));b.button.prependTo(b.titlebar).attr("role","button").addClass(k+"-close").hover(function(j){a(this).toggleClass("ui-state-hover",j.type==="mouseenter")}).click(function(){b.tooltip.hasClass("ui-state-disabled")||e.hide();return FALSE}).bind("mousedown keydown mouseup keyup mouseout",function(j){a(this).toggleClass("ui-state-active ui-state-focus", -/down$/i.test(j.type))});e.redraw()}function q(){var b=e.elements;b.titlebar&&s();b.titlebar=a("
",{"class":k+"-titlebar "+(c.style.widget?"ui-widget-header":"")}).append(b.title=a("
",{id:k+"-"+i+"-title","class":k+"-title",html:c.content.title.text})).prependTo(b.wrapper);if(c.content.title.button)u();else e.rendered===TRUE&&e.redraw()}function A(b){var f=e.elements;if(!e.rendered||!b)return FALSE;if(a.isFunction(b))b=b.call(d);b.jquery&&b.length>0?f.content.empty().append(b.css({display:"block"})): -f.content.html(b);f.tooltip.queue("fx",function(j){function m(p){g=g.not(p);if(g.length===0){e.redraw();e.rendered===TRUE&&e.reposition(e.cache.event);j()}}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(b,f, -j,m){function g(C){if(o.tooltip.hasClass("ui-state-disabled"))return FALSE;o.show.trigger("qtip-"+i+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var D=function(){e.show(C)};if(c.show.delay>0)e.timers.show=setTimeout(D,c.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(c.hide.fixed&&(c.position.target==="mouse"&& -D||/mouse(out|leave|move)/.test(C.type)&&D)){C.stopPropagation();C.preventDefault();return FALSE}o.tooltip.stop(1,1);if(c.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(C)},c.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)},c.hide.inactive)}function w(C){e.elements.tooltip.is(":visible")&&e.reposition(C)}var t=".qtip-"+i,o={show:c.show.target,hide:c.hide.target, -tooltip:e.elements.tooltip},x={show:String(c.show.event).split(" "),hide:String(c.hide.event).split(" ")},F=a.browser.msie&&/^6\.[0-9]/.test(a.browser.version);d.bind("remove.qtip",function(){e.destroy()});if(j&&c.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 c.hide.inactive){o.show.bind("qtip-"+i+"-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(b){a.each(x.show,function(C,D){o.show.bind(D+t,g)});o.tooltip.bind("mouseover"+t,function(){e.focus()})}if(m){if(c.position.adjust.resize||c.position.adjust.screen)a(G).bind("resize"+t,w);if(c.position.adjust.screen||F&&o.tooltip.css("position")=== -"fixed")a(document).bind("scroll"+t,w);/unfocus/i.test(c.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()});c.position.target==="mouse"&&a(document).bind("mousemove"+t,function(C){if(c.position.adjust.mouse&&!o.tooltip.hasClass("ui-state-disabled")&&o.tooltip.is(":visible"))e.reposition(C||a.fn.qtip.mouse)})}}function z(b,f,j,m){m=parseInt(m, -10)!==0;var g=".qtip-"+i,p={show:b?c.show.target:a("
"),hide:f?c.hide.target:a("
"),tooltip:j?e.elements.tooltip:a("
")};f={show:String(c.show.event).split(" "),hide:String(c.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-"+i+"-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(j?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 b&&p.show.unbind(f.show+g+"-create")}var e=this,k="ui-tooltip",n=".qtip."+k;e.id=i;e.rendered=FALSE;e.elements={target:d};e.cache={event:{},target:NULL,disabled:FALSE};e.timers={img:[]};e.options=c;e.plugins={};a.extend(e,{render:function(b){var f=e.elements,j=a.Event("tooltiprender");if(e.rendered)return FALSE;e.rendered=b?-2:-1;f.tooltip= -a("
").attr({id:k+"-"+i,role:"tooltip","class":k+" qtip ui-tooltip-accessible ui-helper-reset "+c.style.classes}).css("z-index",a.fn.qtip.zindex+a(n).length).toggleClass("ui-widget",c.style.widget).toggleClass("ui-state-disabled",e.cache.disabled).data("qtip",e).appendTo(c.position.container);f.wrapper=a("
",{"class":k+"-wrapper"}).appendTo(f.tooltip);f.content=a("
",{"class":k+"-content "+(c.style.widget?"ui-widget-content":""),id:k+"-"+i+"-content"}).appendTo(f.wrapper);c.content.title.text&& -q();A(c.content.text);a.each(a.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});e.rendered=TRUE;B(1,1,1,1);a.each(c.events,function(m,g){g&&f.tooltip.bind("tooltip"+m,g)});f.tooltip.queue("fx",function(m){if(c.show.ready||b){f.tooltip.hide();e.show(e.cache.event)}f.tooltip.removeClass("ui-tooltip-accessible");j.originalEvent=e.cache.event;f.tooltip.trigger(j,[e.hash()]);m()});return e},get:function(b){switch(b.toLowerCase()){case "offset":b=l("position");break;case "dimensions":b= -l("dimensions");break;default:b=h(b.toLowerCase());b=b[0].precedance?b[0].string():b[0].jquery?b[0]:b[0][b[1]];break}return b},set:function(b,f){b=b.toLowerCase();var j=h(b),m=e.elements,g=m.tooltip,p,v,w,t={builtin:{id:function(){var o=f===TRUE?a.fn.qtip.nextid:f,x=k+"-"+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(b)?"my":"at";if("string"===typeof f)c.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=b.search(/fixed/i)>-1?[0,[0,1,1,1]]:[b.substr(0,3),b.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",k+" 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(k+ -"-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=j[0][j[1]];j[0][j[1]]=f.nodeType?a(f):f;L(c,1);for(v in t)for(w in t[v])RegExp(w,"i").test(b)&&t[v][w].call(e,j[0],j[1],f,p);return e},toggle:function(b,f){function j(){var t=a(this),o=b?"attr":"removeAttr",x=/^1|0$/.test(t.css("opacity"));e.elements.title&& -d[o]("aria-labelledby",k+"-"+i+"-title");d[o]("aria-describedby",k+"-"+i+"-content");if(b){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=b?"show":"hide",g=e.elements.tooltip,p=c[m],v=g.is(":visible"),w;if((typeof b).search("boolean|number"))b=!g.is(":visible");if(!v&&!b||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(c.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(b){e.focus();e.reposition(f);p.solo&&a(n).qtip("hide")}else clearTimeout(e.timers.show);g.attr("aria-hidden",Boolean(!b));g.stop(1,1);if(a.isFunction(p.effect)){p.effect.call(g,e.hash());g.queue(function(){j.call(this);a(this).dequeue()})}else if(p.effect=== -FALSE){g[m]();j.call(g)}else g.fadeTo(90,b?1:0,j);b&&p.target.trigger("qtip-"+i+"-inactive");return e},show:function(b){e.toggle(TRUE,b)},hide:function(b){e.toggle(FALSE,b)},focus:function(b){if(e.rendered===FALSE)return FALSE;var f=e.elements.tooltip,j=a(n),m=parseInt(f[0].style.zIndex,10),g=a.fn.qtip.zindex+j.length,p=k+"-focus",v=a.extend({},b);if(!f.hasClass(p)&&m!==g){j.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])});b=a.Event("tooltipfocus");b.originalEvent=v;f.trigger(b,[e.hash(),g]);if(!b.isDefaultPrevented())f.addClass(p)[0].style.zIndex=g}return e},reposition:function(b){if(e.rendered===FALSE)return FALSE;var f=c.position.target,j=e.elements.tooltip,m=c.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=j.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"};b=v.mouse||!b||!b.pageX?a.extend({},a.fn.qtip.mouse):b;y={top:b.pageY,left:b.pageX}}else{if(f==="event")f=b&&b.target&&b.type!=="scroll"&&b.type!=="resize"?e.cache.target=a(b.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};j.attr("class",function(){return a(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(k+"-pos-"+g.abbreviation());C.originalEvent=a.extend({},b);j.trigger(C,[e.hash(),y,E.elem]);if(C.isDefaultPrevented())return e;delete y.adjusted;if(j.is(":visible")&&a.isFunction(m.effect)){m.effect.call(j,e.hash(),y);j.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)||j.css(y);return e},redraw:function(){if(!e.rendered||!(a.browser.msie&&parseInt(a.browser.version.charAt(0),10)<9))return FALSE;var b=e.elements.tooltip;b.attr("style");var f;b.css({width:"auto",height:"auto"});f=l("dimensions",1);a.each(["width","height"],function(j,m){var g=parseInt(b.css("max-"+m),10)||0,p=parseInt(b.css("min-"+m),10)||0;f[m]=g+p?Math.min(Math.max(f[m],p),g):f[m]});b.css(f)},disable:function(b){var f=e.elements.tooltip;if(e.rendered)f.toggleClass("ui-state-disabled", -b);else e.cache.disabled=!!b;return e},destroy:function(){var b=e.elements,f=b.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&&b.tooltip.remove();f&&d.attr("title",f);d.removeAttr("aria-describedby");return d},hash:function(){var b=a.extend({},e);delete b.cache;delete b.timers;delete b.options;delete b.plugins;delete b.render;delete b.hash;return b}})}function P(d,c){var i,h,r=a(this);i=a(document.body); -var l=this===document?i:r;h=r.metadata?r.metadata(c.metadata):NULL;var s=a.extend(TRUE,{},a.fn.qtip.defaults,c,L((h&&c.metadata.type==="html5"?h[c.metadata.name]:NULL)||h),1);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=i;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");i=new O(r,s,d);r.data("qtip",i);return i}function Q(d){var c=this;c.checks={"^content.ajax":function(){this.plugins.ajax.load(this.options.content.ajax)}};a.extend(c,{init:function(){var i=d.options.content.ajax;d.elements.tooltip.bind("tooltiprender.ajax", -function(){c.load(i);d.elements.tooltip.bind("tooltipshow.ajax",function(){i.once===FALSE&&d.rendered===TRUE&&c.load(i)})})},load:function(i){a.ajax(a.extend(TRUE,{},i,{success:function(h,r){if(a.isFunction(i.success))if(i.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(i.error)){h=i.error.call(d.hash(),h,r,l);if(h===FALSE)return}d.set("content.text",s)}}));return c},destroy:function(){d.elements.tooltip.unbind("tooltipshow.ajax")}}); -c.init()}function N(d,c,i){var h=Math.floor(c/2),r=Math.floor(i/2);c={bottomright:[[0,0],[c,i],[c,0]],bottomleft:[[0,0],[c,0],[0,i]],topright:[[0,i],[c,0],[c,i]],topleft:[[0,0],[0,i],[c,i]],topcenter:[[0,i],[h,0],[c,i]],bottomcenter:[[0,0],[c,0],[h,i]],rightcenter:[[0,0],[c,r],[0,i]],leftcenter:[[c,0],[c,i],[0,r]]};c.lefttop=c.bottomright;c.righttop=c.bottomleft;c.leftbottom=c.topright;c.rightbottom=c.topleft;return c[d]}function R(d){function c(k){var n=l.tip,b=["left","right"],f=r.offset,j,m;if(r.corner=== -FALSE||!n)return FALSE;k=k||h.corner;j=k.precedance;m=j==="y"?"x":"y";b[j==="y"?"push":"unshift"]("top","bottom");f=Math.max(k[m]==="center"?f:0,f);n.css({top:"",bottom:"",left:"",right:"",margin:""});switch(k[j==="y"?"x":"y"]){case "center":n.css(b[0],"50%").css("margin-"+b[0],-Math.floor(A[j==="y"?"width":"height"]/2)+f);break;case b[0]:n.css(b[0],f);break;case b[1]:n.css(b[1],f);break}f=A[j==="x"?"width":"height"];if(z){s.toggleClass("ui-tooltip-accessible",!s.is(":visible"));f-=parseInt(u.css("border-"+ -k[j]+"-width"),10)||0;s.removeClass("ui-tooltip-accessible")}if(e==="vml"&&/bottom|right/.test(k[k.precedance]))f+=z?1:-1;n.css(k[j],-f)}function i(k,n,b){if(l.tip){k=a.extend({},h.corner);n=k.precedance==="y"?["y","top","left","height","x"]:["x","left","top","width","y"];var f=b.adjusted,j=[0,0];if(h.corner.fixed!==TRUE){if(f.left)k.x=k.x==="center"?f.left>0?"left":"right":k.x==="left"?"right":"left";if(f.top)k.y=k.y==="center"?f.top>0?"top":"bottom":k.y==="top"?"bottom":"top";if(k.string()!==q.corner.string()&& -(q.top!==f.top||q.left!==f.left))h.update(k)}j[0]=z?parseInt(u.css("border-"+k[n[0]]+"-width"),10)||0:e==="vml"?1:0;j[1]=Math.max(k[n[4]]==="center"?r.offset:0,r.offset);b[n[1]]+=(k[n[0]]===n[1]?1:-1)*(A[n[3]]-j[0]);b[n[2]]-=(k[n[4]]===n[2]||k[n[4]]==="center"?1:-1)*j[1];q.left=f.left;q.top=f.top;q.corner=k}}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 k=a.browser.msie,n=h.detectCorner(),b=h[h.mimic?"mimic":"corner"].string().indexOf("center")>-1;if(n){if(e=== -TRUE)e=a("")[0].getContext?"canvas":k&&(b||A.height!==A.width)?"vml":"polygon";else if(e==="canvas")e=k?"vml":!a("")[0].getContext?"polygon":"canvas";else if(e==="polygon")e=k&&b?"vml":e;h.create();h.detectColours();h.update();s.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",i)}return n},detectCorner:function(){var k=r.corner,n=d.options.position.at,b=d.options.position.my;if(b.string)b=b.string();if(k===FALSE||b===FALSE&&n===FALSE)return FALSE;else if(k===TRUE)h.corner=new a.fn.qtip.plugins.Corner(b); -else if(!k.string){h.corner=new a.fn.qtip.plugins.Corner(k);h.corner.fixed=TRUE}return h.corner.string()!=="centercenter"},detectColours:function(){var k=l.tip,n=h.corner,b=h.corner[h.corner.precedance],f="border-"+b+"-color",j=/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=k.css({backgroundColor:"",border:""}).css("background-color")||"transparent";B.border=k.get(0).style?k.get(0).style["border"+ -b.charAt(0)+b.substr(1)+"Color"]:k.css(f)||"transparent";if(j.test(B.fill))B.fill=z?n.css("background-color"):m.css(f);if(!B.border||j.test(B.border))B.border=m.css(f)||B.fill;a("*",k).add(k).css("background-color","transparent").css("border",0)},create:function(){var k=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(k){var n=l.tip,b=A.width,f=A.height,j=z>0?0:1,m=Math.ceil(z/2+0.5),g=r.mimic,p,v;if(!k)k=h.corner;if(g===FALSE)g=k;else{g=new a.fn.qtip.plugins.Corner(g);g.precedance=k.precedance;if(g.x==="inherit")g.x=k.x;else if(g.y==="inherit")g.y=k.y;else if(g.x===g.y)g[k.precedance]=k[k.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(),b,f);j<2;j++){if(j){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[j?"fill":"border"];n.fill()}break;case "vml":p=N(g.string(),b,f);j="m"+p[0][0]+","+p[0][1]+" l"+p[1][0]+","+p[1][1]+" "+p[2][0]+","+p[2][1]+" xe";n.attr({path:j,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"){j=b>f?1.5:bf?5:2.2;m=[Math.floor(j*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,b]:["top","bottom",t.x,b,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(b/2)+"px").css("border-"+t.x,Math.floor(b/2)+"px solid "+x).css("border-"+t.y,Math.floor(f/2)+"px solid "+x)});break}c(k);return h},destroy:function(){l.tip&&l.tip.remove();s.unbind(".qtip-tip")}})}function S(d,c){var i=this,h=d.elements,r=h.tooltip;h.overlay=a("#qtip-overlay");a.extend(i,{init:function(){r.bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(l,s,u){l=l.type.replace("tooltip","");a.isFunction(c[l])?c[l].call(h.overlay,u,s):i[l](u)});h.overlay.length|| -i.create();c.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(){i.toggle(TRUE)},hide:function(){i.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")}});i.init()} -function T(d){var c=this,i=d.elements,h=i.tooltip,r=".bgiframe-"+d.id,l="tooltipmove"+r+" tooltipshow"+r;a.extend(c,{init:function(){i.bgiframe=a('');i.bgiframe.appendTo(h);h.bind(l,c.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]]()}i.bgiframe.css(A).css(s)},destroy:function(){c.iframe.remove();h.unbind(l)}});c.init()}a.fn.qtip=function(d,c,i){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)&&c)if(i!==K)q.set(c,i);else r=q.get(c);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,c){return this.each(function(){function i(A){function B(){q.render(typeof A==="object"||h.show.ready);r.show.unbind(l.show); +(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("", +{"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)return FALSE;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);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,i);if(h.show.ready||h.prerender)i(c)})};a.each({attr:function(d){var c=a(this),i=c.data("qtip");return arguments.length===1&&d==="title"&&i&&i.rendered===TRUE?c.data("oldtitle"):NULL},remove:a.ui?NULL:function(d,c){a(this).each(function(){if(!c)if(!d||a.filter(d,[this]).length)a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}, -function(d,c){if(!c)return TRUE;a.fn["Old"+d]=a.fn[d];a.fn[d]=function(){return c.apply(this,arguments)||a.fn["Old"+d].apply(this,arguments)}});a(document.body).attr("role",function(d,c){return!c?"application":c});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 c=this.x.substr(0,1),i=this.y.substr(0,1);return c===i?c:c==="c"||c!=="c"&&i!=="c"?i+c:c+i}}};a.fn.qtip.defaults= +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")})})}}, +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 c=d.plugins.ajax,i=d.options.content.ajax;if(i&&i.url)if(c)return c;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 c=d.content;if(c&&"ajax"in c){c=c.ajax;if(typeof c!=="object")c=d.content.ajax={url:c};if("boolean"!==typeof c.once&&c.once)c.once=!!c.once}};a.extend(TRUE,a.fn.qtip.defaults,{content:{ajax:{once:TRUE}}}); -a.fn.qtip.plugins.tip=function(d){var c=d.plugins.tip,i=d.options.style.tip;if(i&&i.corner)if(c)return c;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 c=d.style;if(c&&"tip"in c){c=d.style.tip;if(typeof c!=="object")d.style.tip={corner:c};if(!/string|boolean/i.test(typeof c.corner))c.corner=true;if(typeof c.method!=="string")c.method=TRUE;if(!/canvas|polygon/i.test(c.method))c.method= -TRUE;typeof c.width!=="number"&&delete c.width;typeof c.height!=="number"&&delete c.height;typeof c.border!=="number"&&delete c.border;typeof c.offset!=="number"&&delete c.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,c){function i(z,e){for(var k=0,n=1,b=1,f=0,j=0,m=z.width,g=z.height;m>0&&g>0&&n>0&&b>0;){m=Math.floor(m/2);g=Math.floor(g/2);if(c.x==="left")n=m;else if(c.x==="right")n= -z.width-m;else n+=Math.floor(m/2);if(c.y==="top")b=g;else if(c.y==="bottom")b=z.height-g;else b+=Math.floor(g/2);for(k=e.length;k--;){if(e.length<2)break;f=e[k][0]-z.offset.left;j=e[k][1]-z.offset.top;if(c.x==="left"&&f>=n||c.x==="right"&&f<=n||c.x==="center"&&(fz.width-n)||c.y==="top"&&j>=b||c.y==="bottom"&&j<=b||c.y==="center"&&(jz.height-b))e.splice(k,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")+ +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]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=4y,12=72,1F=6R;(V(a,G,K){V L(d,c){11 i;U(!d)X 12;U("1I"!==1m d.2n)d.2n={2a:d.2n};U("19"2i d){U("1I"!==1m d.19||d.19.2G)d.19={1M:d.19};i=d.19.1M||12;U(!a.2x(i)&&(!i&&!i.1v||i.1r<1||"1I"===1m i&&!i.2G))i=d.19.1M=12;U("1o"2i d.19&&"1I"!==1m d.19.1o)d.19.1o={1M:d.19.1o}}U("1h"2i d){U("1I"!==1m d.1h)d.1h={2f:d.1h,2u:d.1h};U("1I"!==1m d.1h.1U)d.1h.1U={};U("56"!==1m d.1h.1U.2M)d.1h.1U.2M=!!d.1h.1U.2M}U("W"2i d){U("1I"!==1m d.W)d.W={1w:d.W};U("1I"!==1m d.W)d.W=d.W.2G?{1j:d.W}:{1w:d.W}}U("16"2i d)U("1I"!==1m d.16)d.16=d.16.2G?{1j:d.16}:{1w:d.16};U("1i"2i d&&"1I"!==1m d.1i)d.1i={3r:d.1i};c&&a.1x(a.1a.Y.1e,V(){14.3i&&14.3i(d)});X d}V O(d,c,i){V h(b){11 f,j=b.2O("."),m=c[j[0]];2S(b=1;b",{3l:f}):a("",{"1T":"1g-1X-3P",1M:"59 13",1o:"59 13",1c:{"1M-5D":"-5E"}}).5F(a("<4I />",{"1T":(c.1i.1Q?"1g":k)+"-3C 1g-3C-58"}));b.22.4n(b.2h).1v("3W","22").3z(k+"-58").4C(V(j){a(14).23("1g-1X-4C",j.2a==="42")}).3F(V(){b.13.2C("1g-1X-1Y")||e.16();X 12}).1q("3O 5G 4O 5H 45",V(j){a(14).23("1g-1X-5I 1g-1X-2R",/5J$/i.1K(j.2a))});e.3Q()}V q(){11 b=e.1k;b.2h&&s();b.2h=a("<25 />",{"1T":k+"-2h "+(c.1i.1Q?"1g-1Q-4G":"")}).3R(b.1o=a("<25 />",{1C:k+"-"+i+"-1o","1T":k+"-1o",3l:c.19.1o.1M})).4n(b.2Q);U(c.19.1o.22)u();18 e.1u===1b&&e.3Q()}V A(b){11 f=e.1k;U(!e.1u||!b)X 12;U(a.2x(b))b=b.1W(d);b.2G&&b.1r>0?f.19.5K().3R(b.1c({37:"3v"})):f.19.3l(b);f.13.3N("4F",V(j){V m(p){g=g.4f(p);U(g.1r===0){e.3Q();e.1u===1b&&e.2k(e.1O.1w);j()}}11 g=a("3k:4f([1f]):4f([1d])",e.1k.19);g.1x(V(p,v){11 w=["6b","3H","3h","5L",""].5M(".Y-5N ");a(14).1q(w,V(){2j(e.1L.3k[p]);m(14)});(V t(){U(v.1f)X m(v);e.1L.3k[p]=3e(t,20)})();X 1b});g.1r===0&&m(g)});X e}V B(b,f,j,m){V g(C){U(o.13.2C("1g-1X-1Y"))X 12;o.W.2F("Y-"+i+"-24");2j(e.1L.W);2j(e.1L.16);11 D=V(){e.W(C)};U(c.W.2r>0)e.1L.W=3e(D,c.W.2r);18 D()}V p(C){U(o.13.2C("1g-1X-1Y"))X 12;11 D=a(C.4L||C.1j).44(n)[0]==o.13[0];2j(e.1L.W);2j(e.1L.16);U(c.16.2z&&(c.1h.1j==="29"&&D||/29(4B|4z|4t)/.1K(C.2a)&&D)){C.65();C.68();X 12}o.13.3V(1,1);U(c.16.2r>0)e.1L.16=3e(V(){e.16(C)},c.16.2r);18 e.16(C)}V v(C){U(o.13.2C("1g-1X-1Y"))X 12;2j(e.1L.24);e.1L.24=3e(V(){e.16(C)},c.16.24)}V w(C){e.1k.13.2c(":2w")&&e.2k(C)}11 t=".Y-"+i,o={W:c.W.1j,16:c.16.1j,13:e.1k.13},x={W:2E(c.W.1w).2O(" "),16:2E(c.16.1w).2O(" ")},F=a.2q.2X&&/^6\\.[0-9]/.1K(a.2q.3M);d.1q("2b.Y",V(){e.2t()});U(j&&c.16.2z){o.16=o.16.2v(o.13);o.13.1q("46"+t,V(){o.13.2C("1g-1X-1Y")||2j(e.1L.16)})}U(f){U("2W"===1m c.16.24){o.W.1q("Y-"+i+"-24",v);a.1x(a.1a.Y.4o,V(C,D){o.16.2v(e.1k.13).1q(D+t+"-24",v)})}a.1x(x.16,V(C,D){11 E=a.5O(D,x.W);U(E>-1&&a(o.16).2v(o.W).1r===a(o.16).1r||D==="4E"){o.W.1q(D+t,V(y){o.13.2c(":2w")?p(y):g(y)});1Z x.W[E]}18 o.16.1q(D+t,p)})}U(b){a.1x(x.W,V(C,D){o.W.1q(D+t,g)});o.13.1q("46"+t,V(){e.2R()})}U(m){U(c.1h.1U.2I||c.1h.1U.2M)a(G).1q("2I"+t,w);U(c.1h.1U.2M||F&&o.13.1c("1h")==="2z")a(1V).1q("3X"+t,w);/4E/i.1K(c.16.1w)&&a(1V).1q("3O"+t,V(C){11 D=e.1k.13;a(C.1j).44(n).1r===0&&a(C.1j).2v(d).1r>1&&D.2c(":2w")&&!D.2C("1g-1X-1Y")&&e.16()});c.1h.1j==="29"&&a(1V).1q("3g"+t,V(C){U(c.1h.1U.29&&!o.13.2C("1g-1X-1Y")&&o.13.2c(":2w"))e.2k(C||a.1a.Y.29)})}}V z(b,f,j,m){m=2e(m,10)!==0;11 g=".Y-"+i,p={W:b?c.W.1j:a("<25/>"),16:f?c.16.1j:a("<25/>"),13:j?e.1k.13:a("<25/>")};f={W:2E(c.W.1w).2O(" "),16:2E(c.16.1w).2O(" ")};U(e.1u){a.1x(f.W,V(v,w){p.W.1D(w+g)});p.W.1D("3g"+g).1D("45"+g).1D("Y-"+i+"-24");a.1x(f.16,V(v,w){p.16.2v(p.13).1D(w+g)});a.1x(a.1a.Y.4o,V(v,w){p.16.2v(j?e.1k.19:1F).1D(w+g+"-24")});p.16.1D("45"+g);p.13.1D("46"+g);U(m){a(G).1D("2I"+g);a(1V).1D("3O"+g+" 3g"+g)}}18 b&&p.W.1D(f.W+g+"-2N")}11 e=14,k="1g-13",n=".Y."+k;e.1C=i;e.1u=12;e.1k={1j:d};e.1O={1w:{},1j:1F,1Y:12};e.1L={3k:[]};e.1S=c;e.1e={};a.1G(e,{21:V(b){11 f=e.1k,j=a.39("4U");U(e.1u)X 12;e.1u=b?-2:-1;f.13=a("<25/>").1v({1C:k+"-"+i,3W:"13","1T":k+" Y 1g-13-2Z 1g-5l-4H "+c.1i.3r}).1c("z-40",a.1a.Y.4b+a(n).1r).23("1g-1Q",c.1i.1Q).23("1g-1X-1Y",e.1O.1Y).2g("Y",e).2K(c.1h.2A);f.2Q=a("<25 />",{"1T":k+"-2Q"}).2K(f.13);f.19=a("<25 />",{"1T":k+"-19 "+(c.1i.1Q?"1g-1Q-19":""),1C:k+"-"+i+"-19"}).2K(f.2Q);c.19.1o.1M&&q();A(c.19.1M);a.1x(a.1a.Y.1e,V(){14.2J==="21"&&14(e)});e.1u=1b;B(1,1,1,1);a.1x(c.4s,V(m,g){g&&f.13.1q("13"+m,g)});f.13.3N("4F",V(m){U(c.W.3n||b){f.13.16();e.W(e.1O.1w)}f.13.3J("1g-13-2Z");j.3d=e.1O.1w;f.13.2F(j,[e.27()]);m()});X e},2L:V(b){34(b.2D()){1N"1n":b=l("1h");1E;1N"38":b=l("38");1E;3P:b=h(b.2D());b=b[0].1B?b[0].1J():b[0].2G?b[0]:b[0][b[1]];1E}X b},3a:V(b,f){b=b.2D();11 j=h(b),m=e.1k,g=m.13,p,v,w,t={5Q:{1C:V(){11 o=f===1b?a.1a.Y.48:f,x=k+"-"+o;U(o!==12&&o.1r>0&&!a("#1g-13-"+o).1r){g[0].1C=x;m.19[0].1C=x+"-19";m.1o[0].1C=x+"-1o"}},"^19.1M":V(){A(f)},"^19.1o.1M":V(){U(e.1u)U(!e.1k.1o&&f){q();e.2k()}18 f?e.1k.1o.3l(f):s()},"^19.1o.22":V(){11 o=e.1k.22,x=e.1k.1o;U(e.1u)U(f){x||q();u()}18 o.2b()},"^1h.(2f|2u)$":V(){11 o=/2f$/i.1K(b)?"2f":"2u";U("1J"===1m f)c.1h[o]=28 a.1a.Y.1e.2P(f)},"^1h.(2f|2u|1U|1j)":V(){e.1u&&e.2k()},"^1h.2A$":V(){U(e.1u===1b){g.2K(f);e.2k()}},"^(W|16).(1w|1j|2z|2r|24)":V(o,x,F,C){11 D=b.4d(/2z/i)>-1?[0,[0,1,1,1]]:[b.3D(0,3),b.3G(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.3n$":V(){e.1u===12&&e.W()},"^1i.3r$":V(){e.1k.13.1v("1T",k+" Y 1g-5l-4H "+f)},"^1i.1Q$":V(){11 o=!!f;g.23("1g-1Q",o);m.2h.23("1g-1Q-4G",o);m.19.23("1g-1Q-19",o);m.22.4r("4I").23(k+"-3C",!o).23("1g-3C",o)},"^4s.(21|W|4t|16|2R|3t)":V(o,x,F){m.13[(a.2x(f)?"":"5R")+"1q"]("13"+x,F)}}};a.1x(e.1e,V(o){U("1I"===1m 14.3K)t[o]=14.3K});p=j[0][j[1]];j[0][j[1]]=f.5P?a(f):f;L(c,1);2S(v 2i t)2S(w 2i t[v])5S(w,"i").1K(b)&&t[v][w].1W(e,j[0],j[1],f,p);X e},2T:V(b,f){V j(){11 t=a(14),o=b?"1v":"3q",x=/^1|0$/.1K(t.1c("3y"));e.1k.1o&&d[o]("3j-4J",k+"-"+i+"-1o");d[o]("3j-4S",k+"-"+i+"-19");U(b){U(a.2q.2X&&14.1i&&x){w=14.1i;w.4a("3B");w.4a("3y")}}18 x&&t.16()}U(e.1u===12)X 12;11 m=b?"W":"16",g=e.1k.13,p=c[m],v=g.2c(":2w"),w;U((1m b).4d("3w|2W"))b=!g.2c(":2w");U(!v&&!b||g.2c(":5T"))X e;U(f){U(e.1O.1w&&/5V|5W/.1K(f.2a)&&/4B|4z/.1K(e.1O.1w.2a)&&a(f.1j).2v(c.W.1j).1r<2&&a(f.4L).44(n).1r>0)X e;e.1O.1w=a.1G({},f)}v=a.39("13"+m);v.3d=f?e.1O.1w:1F;g.2F(v,[e.27(),3u]);U(v.49())X e;U(b){e.2R();e.2k(f);p.5h&&a(n).Y("16")}18 2j(e.1L.W);g.1v("3j-5X",5Y(!b));g.3V(1,1);U(a.2x(p.2m)){p.2m.1W(g,e.27());g.3N(V(){j.1W(14);a(14).4P()})}18 U(p.2m===12){g[m]();j.1W(g)}18 g.4v(3u,b?1:0,j);b&&p.1j.2F("Y-"+i+"-24");X e},W:V(b){e.2T(1b,b)},16:V(b){e.2T(12,b)},2R:V(b){U(e.1u===12)X 12;11 f=e.1k.13,j=a(n),m=2e(f[0].1i.3Z,10),g=a.1a.Y.4b+j.1r,p=k+"-2R",v=a.1G({},b);U(!f.2C(p)&&m!==g){j.1x(V(){14.1i.3Z-=1});a(n+"."+p).1x(V(){11 w=a(14),t=w.Y(),o;U(!t||t.1u===12)X 1b;w.3J(p);o=a.39("5Z");o.3d=v;w.2F(o,[t,g])});b=a.39("60");b.3d=v;f.2F(b,[e.27(),g]);U(!b.49())f.3z(p)[0].1i.3Z=g}X e},2k:V(b){U(e.1u===12)X 12;11 f=c.1h.1j,j=e.1k.13,m=c.1h,g=m.2f,p=m.2u,v=m.1U,w=e.1k.13.1d(),t=e.1k.13.1f(),o=a(m.2A)[0],x=0,F=0,C=a.39("3Y"),D=j.1c("1h")==="2z",E=a(v.2A&&o!==1V.36?o:G),y={17:0,15:0};o={17:V(H){11 J=E.3E,I=p.x==="17"?x:p.x==="1A"?-x:-x/2,M=H+w-E.1d-J;I=(g.x==="17"?w:g.x==="1A"?-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==="1y"?-1:1)*I;X y.17-H},15:V(H){11 J=E.3T,I=p.y==="15"?F:p.y==="1z"?-F:-F/2,M=H+t-E.1f-J;I=(g.y==="15"?t:g.y==="1z"?-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==="1y"?-1:1)*I;X y.15-H}};E={4N:E,1f:E[(E[0]===G?"h":"70")+"63"](),1d:E[(E[0]===G?"w":"6Y")+"64"](),3E:E.3E(),3T:E.3T()};U(f==="29"){p={x:"17",y:"15"};b=v.29||!b||!b.3U?a.1G({},a.1a.Y.29):b;y={15:b.47,17:b.3U}}18{U(f==="1w")f=b&&b.1j&&b.2a!=="3X"&&b.2a!=="2I"?e.1O.1j=a(b.1j):e.1O.1j;f=a(f).66(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.3T,17:D?0:E.3E}}18 U(f.2c("69")&&a.1a.Y.1e.4c){y=a.1a.Y.1e.4c(f,p);x=y.1d;F=y.1f;y=y.1n}18{x=f.4h();F=f.4j();y=r(f)}y.17+=p.x==="1A"?x:p.x==="1y"?x/2:0;y.15+=p.y==="1z"?F:p.y==="1y"?F/2:0}y.17+=v.x+(g.x==="1A"?-w:g.x==="1y"?-w/2:0);y.15+=v.y+(g.y==="1z"?-t:g.y==="1y"?-t/2:0);y.4i=v.2M&&f[0]!==G&&f[0]!==1V.36?{17:o.17(y.17),15:o.15(y.15)}:{17:0,15:0};j.1v("1T",V(){X a(14).1v("1T").32(/1g-13-4M-\\w+/i,"")}).3z(k+"-4M-"+g.53());C.3d=a.1G({},b);j.2F(C,[e.27(),y,E.4N]);U(C.49())X e;1Z y.4i;U(j.2c(":2w")&&a.2x(m.2m)){m.2m.1W(j,e.27(),y);j.3N(V(){11 H=a(14);H.1c({3y:"",1f:""});a.2q.2X&&14.1i&&14.1i.4a("3B");H.4P()})}18 6d(y.17,y.15)||j.1c(y);X e},3Q:V(){U(!e.1u||!(a.2q.2X&&2e(a.2q.3M.3G(0),10)<9))X 12;11 b=e.1k.13;b.1v("1i");11 f;b.1c({1d:"4Q",1f:"4Q"});f=l("38",1);a.1x(["1d","1f"],V(j,m){11 g=2e(b.1c("31-"+m),10)||0,p=2e(b.1c("4R-"+m),10)||0;f[m]=g+p?1p.4R(1p.31(f[m],p),g):f[m]});b.1c(f)},4p:V(b){11 f=e.1k.13;U(e.1u)f.23("1g-1X-1Y",b);18 e.1O.1Y=!!b;X e},2t:V(){11 b=e.1k,f=b.1j.2g("43");e.1u&&a.1x(e.1e,V(){14.2J==="21"&&14.2t()});z(1,1,1,1);d.4T("Y");e.1u&&b.13.2b();f&&d.1v("1o",f);d.3q("3j-4S");X d},27:V(){11 b=a.1G({},e);1Z b.1O;1Z b.1L;1Z b.1S;1Z b.1e;1Z b.21;1Z b.27;X b}})}V P(d,c){11 i,h,r=a(14);i=a(1V.36);11 l=14===1V?i:r;h=r.2n?r.2n(c.2n):1F;11 s=a.1G(1b,{},a.1a.Y.3c,c,L((h&&c.2n.2a==="6f"?h[c.2n.4X]:1F)||h),1);r.4T("2n");h=s.1h;U("3w"===1m s.19.1M)U(s.19.1v!==12&&r.1v(s.19.1v))s.19.1M=r.1v(s.19.1v);18 X 12;U(h.2A===12)h.2A=i;U(h.1j===12)h.1j=l;U(s.W.1j===12)s.W.1j=l;U(s.16.1j===12)s.16.1j=l;h.2u=28 a.1a.Y.1e.2P(h.2u);h.2f=28 a.1a.Y.1e.2P(h.2f);U(r.2g("Y"))U(s.4l)r.Y("2t");18 U(s.4l===12)X 12;r.1v("1o")&&r.2g("43",r.1v("1o")).3q("1o");i=28 O(r,s,d);r.2g("Y",i);X i}V Q(d){11 c=14;c.3K={"^19.1H":V(){14.1e.1H.3h(14.1S.19.1H)}};a.1G(c,{2B:V(){11 i=d.1S.19.1H;d.1k.13.1q("4U.1H",V(){c.3h(i);d.1k.13.1q("3f.1H",V(){i.30===12&&d.1u===1b&&c.3h(i)})})},3h:V(i){a.1H(a.1G(1b,{},i,{4e:V(h,r){U(a.2x(i.4e))U(i.4e.1W(d.27(),h,r)===12)X;d.3a("19.1M",h)},3H:V(h,r,l){11 s=r||l;U(a.2x(i.3H)){h=i.3H.1W(d.27(),h,r,l);U(h===12)X}d.3a("19.1M",s)}}));X c},2t:V(){d.1k.13.1D("3f.1H")}});c.2B()}V N(d,c,i){11 h=1p.1P(c/2),r=1p.1P(i/2);c={4V:[[0,0],[c,i],[c,0]],4W:[[0,0],[c,0],[0,i]],4Y:[[0,i],[c,0],[c,i]],4Z:[[0,0],[0,i],[c,i]],6r:[[0,i],[h,0],[c,i]],6q:[[0,0],[c,0],[h,i]],6j:[[0,0],[c,r],[0,i]],6l:[[c,0],[c,i],[0,r]]};c.6m=c.4V;c.6o=c.4W;c.6p=c.4Y;c.6s=c.4Z;X c[d]}V R(d){V c(k){11 n=l.1l,b=["17","1A"],f=r.1n,j,m;U(r.1t===12||!n)X 12;k=k||h.1t;j=k.1B;m=j==="y"?"x":"y";b[j==="y"?"57":"6t"]("15","1z");f=1p.31(k[m]==="1y"?f:0,f);n.1c({15:"",1z:"",17:"",1A:"",52:""});34(k[j==="y"?"x":"y"]){1N"1y":n.1c(b[0],"50%").1c("52-"+b[0],-1p.1P(A[j==="y"?"1d":"1f"]/2)+f);1E;1N b[0]:n.1c(b[0],f);1E;1N b[1]:n.1c(b[1],f);1E}f=A[j==="x"?"1d":"1f"];U(z){s.23("1g-13-2Z",!s.2c(":2w"));f-=2e(u.1c("1s-"+k[j]+"-1d"),10)||0;s.3J("1g-13-2Z")}U(e==="2o"&&/1z|1A/.1K(k[k.1B]))f+=z?1:-1;n.1c(k[j],-f)}V i(k,n,b){U(l.1l){k=a.1G({},h.1t);n=k.1B==="y"?["y","15","17","1f","x"]:["x","17","15","1d","y"];11 f=b.4i,j=[0,0];U(h.1t.2z!==1b){U(f.17)k.x=k.x==="1y"?f.17>0?"17":"1A":k.x==="17"?"1A":"17";U(f.15)k.y=k.y==="1y"?f.15>0?"15":"1z":k.y==="15"?"1z":"15";U(k.1J()!==q.1t.1J()&&(q.15!==f.15||q.17!==f.17))h.3m(k)}j[0]=z?2e(u.1c("1s-"+k[n[0]]+"-1d"),10)||0:e==="2o"?1:0;j[1]=1p.31(k[n[4]]==="1y"?r.1n:0,r.1n);b[n[1]]+=(k[n[0]]===n[1]?1:-1)*(A[n[3]]-j[0]);b[n[2]]-=(k[n[4]]===n[2]||k[n[4]]==="1y"?1:-1)*j[1];q.17=f.17;q.15=f.15;q.1t=k}}11 h=14,r=d.1S.1i.1l,l=d.1k,s=l.13,u=l.2Q,q={15:0,17:0,1t:{1J:V(){}}},A={1d:r.1d,1f:r.1f},B={},z=r.1s||0,e=r.2U||12;h.1t=1F;h.33=1F;h.3K={"^1h.2f|1i.1l.(1t|33|2U|1s)":V(){z=r.1s;U(h.2B())14.2L("1h.1j")!=="29"&&14.2k();18 h.2t()},"^1i.1l.(1f|1d)":V(){A={1d:r.1d,1f:r.1f};h.2N();h.3m();d.2k()},"^1i.(3r|1Q)$":V(){h.4k();h.3m()}};a.1G(h,{2B:V(){11 k=a.2q.2X,n=h.55(),b=h[h.33?"33":"1t"].1J().6u("1y")>-1;U(n){U(e===1b)e=a("<2s />")[0].3S?"2s":k&&(b||A.1f!==A.1d)?"2o":"2V";18 U(e==="2s")e=k?"2o":!a("<2s />")[0].3S?"2V":"2s";18 U(e==="2V")e=k&&b?"2o":e;h.2N();h.4k();h.3m();s.1D(".Y-1l").1q("3Y.Y-1l",i)}X n},55:V(){11 k=r.1t,n=d.1S.1h.2u,b=d.1S.1h.2f;U(b.1J)b=b.1J();U(k===12||b===12&&n===12)X 12;18 U(k===1b)h.1t=28 a.1a.Y.1e.2P(b);18 U(!k.1J){h.1t=28 a.1a.Y.1e.2P(k);h.1t.2z=1b}X h.1t.1J()!=="4A"},4k:V(){11 k=l.1l,n=h.1t,b=h.1t[h.1t.1B],f="1s-"+b+"-3o",j=/6v?\\(0, 0, 0(, 0)?\\)|35/i,m=l.2h&&n.y==="15",g=d.1S.1i.1Q;n=g?l.19:m?l.2h:l.2Q;m=!g?l.2Q:m?l.2h:l.19;B.2H=k.1c({6w:"",1s:""}).1c("4m-3o")||"35";B.1s=k.2L(0).1i?k.2L(0).1i["1s"+b.3G(0)+b.3D(1)+"6x"]:k.1c(f)||"35";U(j.1K(B.2H))B.2H=z?n.1c("4m-3o"):m.1c(f);U(!B.1s||j.1K(B.1s))B.1s=m.1c(f)||B.2H;a("*",k).2v(k).1c("4m-3o","35").1c("1s",0)},2N:V(){11 k=A.1d,n=A.1f;l.1l&&l.1l.2b();l.1l=a(\'<25 1T="1g-13-1l" />\').23("1g-1Q-19",d.1S.1i.1Q).1c(A).4n(s);34(e){1N"2s":a(\'<2s 1f="\'+n+\'" 1d="\'+k+\'" />\').2K(l.1l)[0].3S("2d").5g();1E;1N"2o":l.1l.3l(\'<2o:4q 6y="0 0" 6z="\'+k+" "+n+\'" 6A="\'+!!z+\'" 1i="5a:3s(#3P#5b); 37:5c-3v; 6B:1b; 1h: 3A; 15:0; 17:0; 1d:\'+k+"2p; 1f:"+n+"2p; 6C-6D:"+h.1t.y+\';"><2o:6E 6F="\'+(z-2)+\'2p" 6G="6H" 6I="10" 1i="5a:3s(#3P#5b); 37:5c-3v;" />\');1E;1N"2V":l.1l.3R(\'<25 1T="1g-13-1l-6J" />\').3R(z?\'<25 1T="1g-13-1l-1s" />\':"");1E}X h},3m:V(k){11 n=l.1l,b=A.1d,f=A.1f,j=z>0?0:1,m=1p.3L(z/2+0.5),g=r.33,p,v;U(!k)k=h.1t;U(g===12)g=k;18{g=28 a.1a.Y.1e.2P(g);g.1B=k.1B;U(g.x==="3I")g.x=k.x;18 U(g.y==="3I")g.y=k.y;18 U(g.x===g.y)g[k.1B]=k[k.1B]}v=1p[/b|r/.1K(g[g.1B==="y"?"x":"y"])?"3L":"1P"];n=n.4r();34(e){1N"2s":n=n.2L(0).3S("2d");n.5e&&n.5e();n.6K(0,0,5f,5f);2S(p=N(g.1J(),b,f);j<2;j++){U(j){n.5g();n.6M(v((g.x==="17"?1:g.x==="1A"?-1:0)*(z+1)*(g.1B==="y"?0.5:1)),v((g.y==="15"?1:g.y==="1z"?-1:0)*(z+1)*(g.1B==="x"?0.5:1)))}n.6N();n.6O(p[0][0],p[0][1]);n.5i(p[1][0],p[1][1]);n.5i(p[2][0],p[2][1]);n.6P();n.6Q=B[j?"2H":"1s"];n.2H()}1E;1N"2o":p=N(g.1J(),b,f);j="m"+p[0][0]+","+p[0][1]+" l"+p[1][0]+","+p[1][1]+" "+p[2][0]+","+p[2][1]+" 6S";n.1v({6U:j,6V:B.2H});U(z){n.4r().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)}}1E;1N"2V":U(g.1B==="y"){j=b>f?1.5:bf?5:2.2;m=[1p.1P(j*m*(g.x==="1A"?-1:1)*(g.y==="1y"?0.9:1)),g.y==="15"?m:g.y==="1z"?-m:0]}n.3q("1i").1x(V(w){11 t={x:g.1B==="x"?g.x==="17"?"1A":"17":g.x,y:g.1B==="y"?g.y==="15"?"1z":"15":g.y},o=g.x==="1y"?["17","1A",t.y,f,b]:["15","1z",t.x,b,f],x=B[!w&&z?"1s":"2H"];w&&a(14).1c({1h:"3A","z-40":1,17:m[0],15:m[1]});g.x==="1y"||g.y==="1y"?a(14).1c("1s-"+o[2],o[3]+"2p 4u "+x).1c("1s-"+o[0],1p.1P(o[4]/2)+"2p 5m 35").1c("1s-"+o[1],1p.1P(o[4]/2)+"2p 5m 35"):a(14).1c("1s-1d",1p.1P(f/2)+"2p "+1p.1P(b/2)+"2p").1c("1s-"+t.x,1p.1P(b/2)+"2p 4u "+x).1c("1s-"+t.y,1p.1P(f/2)+"2p 4u "+x)});1E}c(k);X h},2t:V(){l.1l&&l.1l.2b();s.1D(".Y-1l")}})}V S(d,c){11 i=14,h=d.1k,r=h.13;h.26=a("#Y-26");a.1G(i,{2B:V(){r.1q("3f.2y 4w.2y",V(l,s,u){l=l.2a.32("13","");a.2x(c[l])?c[l].1W(h.26,u,s):i[l](u)});h.26.1r||i.2N();c.3t===1b&&h.26.1q("3F.2y"+d.1C,V(){d.16.1W(d)})},2N:V(){h.26=a("<25 />",{1C:"Y-26",1c:{1h:"3A",15:0,17:0,37:"5n"}}).2K(1V.36);a(G).1q("2I.2y",V(){h.26.1c({1f:1p.31(a(G).1f(),a(1V).1f()),1d:1p.31(a(G).1d(),a(1V).1d())})}).2F("2I")},2T:V(l){11 s=h.26,u=d.1S.W.1R.2m,q=l?"W":"16";s.3V(1b,12);U(a.2x(u))u.1W(s,l);18 u===12?s[q]():s.4v(3u,l?0.7:0,V(){l||a(14).16()})},W:V(){i.2T(1b)},16:V(){i.2T(12)},2t:V(){11 l=1b;a("*").1x(V(){11 s=a(14).2g("Y");U(s&&s.1C!==d.1C&&s.1S.W.1R)X l=12});U(l){h.26.2b();a(G).1D("3X.2y 2I.2y")}18 h.26.1D("3F.2y"+d.1C);r.1D("3f.2y 4w.2y")}});i.2B()}V T(d){11 c=14,i=d.1k,h=i.13,r=".2l-"+d.1C,l="3Y"+r+" 3f"+r;a.1G(c,{2B:V(){i.2l=a(\'<41 1T="1g-13-2l" 5o="0" 5p="-1" 5q="5r:\\\'\\\';" 1i="37:3v; 1h:3A; z-40:-1; 3B:5s(3y=0);">\');i.2l.2K(h);h.1q(l,c.1U)},1U:V(){11 s=d.2L("38"),u=d.1e.1l,q=d.1k.1l,A;A=2e(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]]()}i.2l.1c(A).1c(s)},2t:V(){c.41.2b();h.1D(l)}});c.2B()}a.1a.Y=V(d,c,i){11 h=2E(d).2D(),r=1F,l=h==="4p"?[1b]:a.5t(2Y).4D(1,10),s=l[l.1r-1],u;U(!2Y.1r&&14.2g("Y")||h==="5u")X(u=14.2g("Y"))?u.27():K;18 U("1J"===1m d){14.1x(V(){11 q=a(14).2g("Y");U(!q)X 1b;U(/5v|3a/.1K(h)&&c)U(i!==K)q.3a(c,i);18 r=q.2L(c);18{U(!q.1u&&(h==="W"||h==="2T")){U(s&&s.5y)q.1O.1w=s;q.21(1)}18 U(h==="5A"){h="4p";l=[12]}q[h]&&q[h].3b(q[h],l)}});X r!==1F?r:14}18 U("1I"===1m d||!2Y.1r){u=L(a.1G(1b,{},d));X a.1a.Y.1q.1W(14,u,s)}};a.1a.Y.1q=V(d,c){X 14.1x(V(){V i(A){V B(){q.21(1m A==="1I"||h.W.3n);r.W.1D(l.W);r.16.1D(l.16)}U(q.1O.1Y)X 12;q.1O.1w=a.1G({},A);U(h.W.2r>0){2j(q.1L.W);q.1L.W=3e(B,h.W.2r);l.W!==l.16&&r.16.1q(l.16,V(){2j(q.1L.W)})}18 B()}11 h,r,l,s=d.1C=!d.1C||d.1C===12||d.1C.1r<1||a("#1g-13-"+d.1C).1r?a.1a.Y.48++:d.1C,u=".Y-"+s+"-2N",q=P.1W(14,s,d);U(q===12)X 1b;h=q.1S;a.1x(a.1a.Y.1e,V(){14.2J==="2J"&&14(q)});r={W:h.W.1j,16:h.16.1j};l={W:2E(h.W.1w).32(" ",u+" ")+u,16:2E(h.16.1w).32(" ",u+" ")+u};r.W.1q(l.W,i);U(h.W.3n||h.54)i(c)})};a.1x({1v:V(d){11 c=a(14),i=c.2g("Y");X 2Y.1r===1&&d==="1o"&&i&&i.1u===1b?c.2g("43"):1F},2b:a.1g?1F:V(d,c){a(14).1x(V(){U(!c)U(!d||a.3B(d,[14]).1r)a("*",14).2v(14).1x(V(){a(14).5U("2b")})})}},V(d,c){U(!c)X 1b;a.1a["4K"+d]=a.1a[d];a.1a[d]=V(){X c.3b(14,2Y)||a.1a["4K"+d].3b(14,2Y)}});a(1V.36).1v("3W",V(d,c){X!c?"61":c});a(1V).1q("3g.Y",V(d){a.1a.Y.29={3U:d.3U,47:d.47}});a.1a.Y.3M="2.0.67";a.1a.Y.48=0;a.1a.Y.4o="3F 6a 3O 4O 3g 5j 42".2O(" ");a.1a.Y.4b=6e;a.1a.Y.1e={2P:V(d){d=2E(d).32(/([A-Z])/," $1").32(/6h/6k,"1y").2D();14.x=(d.4g(/17|1A/i)||d.4g(/1y/)||["3I"])[0].2D();14.y=(d.4g(/15|1z|1y/i)||["3I"])[0].2D();14.1B=d.3G(0).4d(/^(t|b)/)>-1?"y":"x";14.1J=V(){X 14.1B==="y"?14.y+14.x:14.x+14.y};14.53=V(){11 c=14.x.3D(0,1),i=14.y.3D(0,1);X c===i?c:c==="c"||c!=="c"&&i!=="c"?i+c:c+i}}};a.1a.Y.3c={54:12,1C:12,4l:1b,2n:{2a:"1T"},19:{1M:1b,1v:"1o",1o:{1M:12,22:12}},1h:{2f:"15 17",2u:"1z 1A",1j:12,2A:12,1U:{x:0,y:0,29:1b,2M:12,2I:1b,2A:12},2m:1b},W:{1j:12,1w:"42",2m:1b,2r:3u,5h:12,3n:12},16:{1j:12,1w:"5j",2m:1b,2r:0,2z:12,24:12},1i:{3r:"",1Q:12},4s:{21:1F,4t:1F,W:1F,16:1F,2R:1F,3t:1F}};a.1a.Y.1e.1H=V(d){11 c=d.1e.1H,i=d.1S.19.1H;U(i&&i.3s)U(c)X c;18{d.1e.1H=28 Q(d);X d.1e.1H}};a.1a.Y.1e.1H.2J="21";a.1a.Y.1e.1H.3i=V(d){11 c=d.19;U(c&&"1H"2i c){c=c.1H;U(1m c!=="1I")c=d.19.1H={3s:c};U("3w"!==1m c.30&&c.30)c.30=!!c.30}};a.1G(1b,a.1a.Y.3c,{19:{1H:{30:1b}}});a.1a.Y.1e.1l=V(d){11 c=d.1e.1l,i=d.1S.1i.1l;U(i&&i.1t)U(c)X c;18{d.1e.1l=28 R(d);d.1e.1l.2B();X d.1e.1l}};a.1a.Y.1e.1l.2J="21";a.1a.Y.1e.1l.3i=V(d){11 c=d.1i;U(c&&"1l"2i c){c=d.1i.1l;U(1m c!=="1I")d.1i.1l={1t:c};U(!/1J|3w/i.1K(1m c.1t))c.1t=4y;U(1m c.2U!=="1J")c.2U=1b;U(!/2s|2V/i.1K(c.2U))c.2U=1b;1m c.1d!=="2W"&&1Z c.1d;1m c.1f!=="2W"&&1Z c.1f;1m c.1s!=="2W"&&1Z c.1s;1m c.1n!=="2W"&&1Z c.1n}};a.1G(1b,a.1a.Y.3c,{1i:{1l:{1t:1b,33:12,2U:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.Y.1e.4c=V(d,c){V i(z,e){2S(11 k=0,n=1,b=1,f=0,j=0,m=z.1d,g=z.1f;m>0&&g>0&&n>0&&b>0;){m=1p.1P(m/2);g=1p.1P(g/2);U(c.x==="17")n=m;18 U(c.x==="1A")n=z.1d-m;18 n+=1p.1P(m/2);U(c.y==="15")b=g;18 U(c.y==="1z")b=z.1f-g;18 b+=1p.1P(g/2);2S(k=e.1r;k--;){U(e.1r<2)1E;f=e[k][0]-z.1n.17;j=e[k][1]-z.1n.15;U(c.x==="17"&&f>=n||c.x==="1A"&&f<=n||c.x==="1y"&&(fz.1d-n)||c.y==="15"&&j>=b||c.y==="1z"&&j<=b||c.y==="1y"&&(jz.1f-b))e.62(k,1)}}X{17:e[0][0],15:e[0][1]}}11 h=d.1v("4q").2D(),r=d.1v("6c").2O(","),l=[],s=a(\'3k[6g="#\'+d.6i("5d").1v("4X")+\'"]\'),u=s.1n(),q={1d:0,1f:0,1n:{15:51,1A:0,1z:0,17:51}},A=0,B=0;u.17+=1p.3L((s.4h()-s.1d())/2);u.15+=1p.3L((s.4j()-s.1f())/2);U(h==="4x")2S(A=r.1r;A--;){B=[2e(r[--A],10),2e(r[A+1],10)];U(B[0]>q.1n.1A)q.1n.1A=B[0];U(B[0]q.1n.1z)q.1n.1z=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=4y,12=72,1F=6R;(V(a,G,K){V L(d){11 b;U(!d)X 12;U("1I"!==1m d.2n)d.2n={2a:d.2n};U("19"2i d){U("1I"!==1m d.19||d.19.2G)d.19={1M:d.19};b=d.19.1M||12;U(!a.2x(b)&&(!b&&!b.1v||b.1r<1||"1I"===1m b&&!b.2G))b=d.19.1M=12;U("1o"2i d.19&&"1I"!==1m d.19.1o)d.19.1o={1M:d.19.1o}}U("1h"2i d){U("1I"!==1m d.1h)d.1h={2f:d.1h,2u:d.1h};U("1I"!==1m d.1h.1U)d.1h.1U={};U("56"!==1m d.1h.1U.2M)d.1h.1U.2M=!!d.1h.1U.2M}U("W"2i d){U("1I"!==1m d.W)d.W={1w:d.W};U("1I"!==1m d.W)d.W=d.W.2G?{1j:d.W}:{1w:d.W}}U("16"2i d)U("1I"!==1m d.16)d.16=d.16.2G?{1j:d.16}:{1w:d.16};U("1i"2i d&&"1I"!==1m d.1i)d.1i={3r:d.1i};a.1x(a.1a.Y.1e,V(){14.3i&&14.3i(d)});X d}V O(d,b,k){V h(c){11 f,i=c.2O("."),m=b[i[0]];2S(c=1;c",{3l:f}):a("",{"1T":"1g-1X-3P",1M:"59 13",1o:"59 13",1c:{"1M-5D":"-5E"}}).5F(a("<4I />",{"1T":(b.1i.1Q?"1g":j)+"-3C 1g-3C-58"}));c.22.4n(c.2h).1v("3W","22").3z(j+"-58").4C(V(i){a(14).23("1g-1X-4C",i.2a==="42")}).3F(V(){c.13.2C("1g-1X-1Y")||e.16();X 12}).1q("3O 5G 4O 5H 45",V(i){a(14).23("1g-1X-5I 1g-1X-2R",/5J$/i.1K(i.2a))});e.3Q()}V q(){11 c=e.1k;c.2h&&s();c.2h=a("<25 />",{"1T":j+"-2h "+(b.1i.1Q?"1g-1Q-4G":"")}).3R(c.1o=a("<25 />",{1C:j+"-"+k+"-1o","1T":j+"-1o",3l:b.19.1o.1M})).4n(c.2Q);U(b.19.1o.22)u();18 e.1u===1b&&e.3Q()}V A(c){11 f=e.1k;U(!e.1u||!c)X 12;U(a.2x(c))c=c.1W(d);c.2G&&c.1r>0?f.19.5K().3R(c.1c({37:"3v"})):f.19.3l(c);f.13.3N("4F",V(i){V m(p){g=g.4f(p);U(g.1r===0){e.3Q();e.1u===1b&&e.2k(e.1O.1w);i()}}11 g=a("3k:4f([1f]):4f([1d])",e.1k.19);g.1x(V(p,v){11 w=["6b","3H","3h","5L",""].5M(".Y-5N ");a(14).1q(w,V(){2j(e.1L.3k[p]);m(14)});(V t(){U(v.1f)X m(v);e.1L.3k[p]=3e(t,20)})();X 1b});g.1r===0&&m(g)});X e}V B(c,f,i,m){V g(C){U(o.13.2C("1g-1X-1Y"))X 12;o.W.2F("Y-"+k+"-24");2j(e.1L.W);2j(e.1L.16);11 D=V(){e.W(C)};U(b.W.2r>0)e.1L.W=3e(D,b.W.2r);18 D()}V p(C){U(o.13.2C("1g-1X-1Y"))X 12;11 D=a(C.4L||C.1j).44(n)[0]==o.13[0];2j(e.1L.W);2j(e.1L.16);U(b.16.2z&&(b.1h.1j==="29"&&D||/29(4B|4z|4t)/.1K(C.2a)&&D)){C.65();C.68();X 12}o.13.3V(1,1);U(b.16.2r>0)e.1L.16=3e(V(){e.16(C)},b.16.2r);18 e.16(C)}V v(C){U(o.13.2C("1g-1X-1Y"))X 12;2j(e.1L.24);e.1L.24=3e(V(){e.16(C)},b.16.24)}V w(C){e.1k.13.2c(":2w")&&e.2k(C)}11 t=".Y-"+k,o={W:b.W.1j,16:b.16.1j,13:e.1k.13},x={W:2E(b.W.1w).2O(" "),16:2E(b.16.1w).2O(" ")},F=a.2q.2X&&/^6\\.[0-9]/.1K(a.2q.3M);d.1q("2b.Y",V(){e.2t()});U(i&&b.16.2z){o.16=o.16.2v(o.13);o.13.1q("46"+t,V(){o.13.2C("1g-1X-1Y")||2j(e.1L.16)})}U(f){U("2W"===1m b.16.24){o.W.1q("Y-"+k+"-24",v);a.1x(a.1a.Y.4o,V(C,D){o.16.2v(e.1k.13).1q(D+t+"-24",v)})}a.1x(x.16,V(C,D){11 E=a.5O(D,x.W);U(E>-1&&a(o.16).2v(o.W).1r===a(o.16).1r||D==="4E"){o.W.1q(D+t,V(y){o.13.2c(":2w")?p(y):g(y)});1Z x.W[E]}18 o.16.1q(D+t,p)})}U(c){a.1x(x.W,V(C,D){o.W.1q(D+t,g)});o.13.1q("46"+t,V(){e.2R()})}U(m){U(b.1h.1U.2I||b.1h.1U.2M)a(G).1q("2I"+t,w);U(b.1h.1U.2M||F&&o.13.1c("1h")==="2z")a(1V).1q("3X"+t,w);/4E/i.1K(b.16.1w)&&a(1V).1q("3O"+t,V(C){11 D=e.1k.13;a(C.1j).44(n).1r===0&&a(C.1j).2v(d).1r>1&&D.2c(":2w")&&!D.2C("1g-1X-1Y")&&e.16()});b.1h.1j==="29"&&a(1V).1q("3g"+t,V(C){U(b.1h.1U.29&&!o.13.2C("1g-1X-1Y")&&o.13.2c(":2w"))e.2k(C||a.1a.Y.29)})}}V z(c,f,i,m){m=2e(m,10)!==0;11 g=".Y-"+k,p={W:c?b.W.1j:a("<25/>"),16:f?b.16.1j:a("<25/>"),13:i?e.1k.13:a("<25/>")};f={W:2E(b.W.1w).2O(" "),16:2E(b.16.1w).2O(" ")};U(e.1u){a.1x(f.W,V(v,w){p.W.1D(w+g)});p.W.1D("3g"+g).1D("45"+g).1D("Y-"+k+"-24");a.1x(f.16,V(v,w){p.16.2v(p.13).1D(w+g)});a.1x(a.1a.Y.4o,V(v,w){p.16.2v(i?e.1k.19:1F).1D(w+g+"-24")});p.16.1D("45"+g);p.13.1D("46"+g);U(m){a(G).1D("2I"+g);a(1V).1D("3O"+g+" 3g"+g)}}18 c&&p.W.1D(f.W+g+"-2N")}11 e=14,j="1g-13",n=".Y."+j;e.1C=k;e.1u=12;e.1k={1j:d};e.1O={1w:{},1j:1F,1Y:12};e.1L={3k:[]};e.1S=b;e.1e={};a.1G(e,{21:V(c){11 f=e.1k,i=a.39("4U");U(e.1u)X 12;e.1u=c?-2:-1;f.13=a("<25/>").1v({1C:j+"-"+k,3W:"13","1T":j+" Y 1g-13-2Z 1g-5l-4H "+b.1i.3r}).1c("z-40",a.1a.Y.4b+a(n).1r).23("1g-1Q",b.1i.1Q).23("1g-1X-1Y",e.1O.1Y).2g("Y",e).2K(b.1h.2A);f.2Q=a("<25 />",{"1T":j+"-2Q"}).2K(f.13);f.19=a("<25 />",{"1T":j+"-19 "+(b.1i.1Q?"1g-1Q-19":""),1C:j+"-"+k+"-19"}).2K(f.2Q);b.19.1o.1M&&q();A(b.19.1M);a.1x(a.1a.Y.1e,V(){14.2J==="21"&&14(e)});e.1u=1b;B(1,1,1,1);a.1x(b.4s,V(m,g){g&&f.13.1q("13"+m,g)});f.13.3N("4F",V(m){U(b.W.3n||c){f.13.16();e.W(e.1O.1w)}f.13.3J("1g-13-2Z");i.3d=e.1O.1w;f.13.2F(i,[e.27()]);m()});X e},2L:V(c){34(c.2D()){1N"1n":c=l("1h");1E;1N"38":c=l("38");1E;3P:c=h(c.2D());c=c[0].1B?c[0].1J():c[0].2G?c[0]:c[0][c[1]];1E}X c},3a:V(c,f){c=c.2D();11 i=h(c),m=e.1k,g=m.13,p,v,w,t={5Q:{1C:V(){11 o=f===1b?a.1a.Y.48:f,x=j+"-"+o;U(o!==12&&o.1r>0&&!a("#1g-13-"+o).1r){g[0].1C=x;m.19[0].1C=x+"-19";m.1o[0].1C=x+"-1o"}},"^19.1M":V(){A(f)},"^19.1o.1M":V(){U(e.1u)U(!e.1k.1o&&f){q();e.2k()}18 f?e.1k.1o.3l(f):s()},"^19.1o.22":V(){11 o=e.1k.22,x=e.1k.1o;U(e.1u)U(f){x||q();u()}18 o.2b()},"^1h.(2f|2u)$":V(){11 o=/2f$/i.1K(c)?"2f":"2u";U("1J"===1m f)b.1h[o]=28 a.1a.Y.1e.2P(f)},"^1h.(2f|2u|1U|1j)":V(){e.1u&&e.2k()},"^1h.2A$":V(){U(e.1u===1b){g.2K(f);e.2k()}},"^(W|16).(1w|1j|2z|2r|24)":V(o,x,F,C){11 D=c.4d(/2z/i)>-1?[0,[0,1,1,1]]:[c.3D(0,3),c.3G(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.3n$":V(){e.1u===12&&e.W()},"^1i.3r$":V(){e.1k.13.1v("1T",j+" Y 1g-5l-4H "+f)},"^1i.1Q$":V(){11 o=!!f;g.23("1g-1Q",o);m.2h.23("1g-1Q-4G",o);m.19.23("1g-1Q-19",o);m.22.4r("4I").23(j+"-3C",!o).23("1g-3C",o)},"^4s.(21|W|4t|16|2R|3t)":V(o,x,F){m.13[(a.2x(f)?"":"5R")+"1q"]("13"+x,F)}}};a.1x(e.1e,V(o){U("1I"===1m 14.3K)t[o]=14.3K});p=i[0][i[1]];i[0][i[1]]=f.5P?a(f):f;L(b);2S(v 2i t)2S(w 2i t[v])5S(w,"i").1K(c)&&t[v][w].1W(e,i[0],i[1],f,p);X e},2T:V(c,f){V i(){11 t=a(14),o=c?"1v":"3q",x=/^1|0$/.1K(t.1c("3y"));e.1k.1o&&d[o]("3j-4J",j+"-"+k+"-1o");d[o]("3j-4S",j+"-"+k+"-19");U(c){U(a.2q.2X&&14.1i&&x){w=14.1i;w.4a("3B");w.4a("3y")}}18 x&&t.16()}U(e.1u===12)X 12;11 m=c?"W":"16",g=e.1k.13,p=b[m],v=g.2c(":2w"),w;U((1m c).4d("3w|2W"))c=!g.2c(":2w");U(!v&&!c||g.2c(":5T"))X e;U(f){U(e.1O.1w&&/5V|5W/.1K(f.2a)&&/4B|4z/.1K(e.1O.1w.2a)&&a(f.1j).2v(b.W.1j).1r<2&&a(f.4L).44(n).1r>0)X e;e.1O.1w=a.1G({},f)}v=a.39("13"+m);v.3d=f?e.1O.1w:1F;g.2F(v,[e.27(),3u]);U(v.49())X e;U(c){e.2R();e.2k(f);p.5h&&a(n).Y("16")}18 2j(e.1L.W);g.1v("3j-5X",5Y(!c));g.3V(1,1);U(a.2x(p.2m)){p.2m.1W(g,e.27());g.3N(V(){i.1W(14);a(14).4P()})}18 U(p.2m===12){g[m]();i.1W(g)}18 g.4v(3u,c?1:0,i);c&&p.1j.2F("Y-"+k+"-24");X e},W:V(c){e.2T(1b,c)},16:V(c){e.2T(12,c)},2R:V(c){U(e.1u===12)X 12;11 f=e.1k.13,i=a(n),m=2e(f[0].1i.3Z,10),g=a.1a.Y.4b+i.1r,p=j+"-2R",v=a.1G({},c);U(!f.2C(p)&&m!==g){i.1x(V(){14.1i.3Z-=1});a(n+"."+p).1x(V(){11 w=a(14),t=w.Y(),o;U(!t||t.1u===12)X 1b;w.3J(p);o=a.39("5Z");o.3d=v;w.2F(o,[t,g])});c=a.39("60");c.3d=v;f.2F(c,[e.27(),g]);U(!c.49())f.3z(p)[0].1i.3Z=g}X e},2k:V(c){U(e.1u===12)X 12;11 f=b.1h.1j,i=e.1k.13,m=b.1h,g=m.2f,p=m.2u,v=m.1U,w=e.1k.13.1d(),t=e.1k.13.1f(),o=a(m.2A)[0],x=0,F=0,C=a.39("3Y"),D=i.1c("1h")==="2z",E=a(v.2A&&o!==1V.36?o:G),y={17:0,15:0};o={17:V(H){11 J=E.3E,I=p.x==="17"?x:p.x==="1A"?-x:-x/2,M=H+w-E.1d-J;I=(g.x==="17"?w:g.x==="1A"?-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==="1y"?-1:1)*I;X y.17-H},15:V(H){11 J=E.3T,I=p.y==="15"?F:p.y==="1z"?-F:-F/2,M=H+t-E.1f-J;I=(g.y==="15"?t:g.y==="1z"?-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==="1y"?-1:1)*I;X y.15-H}};E={4N:E,1f:E[(E[0]===G?"h":"70")+"63"](),1d:E[(E[0]===G?"w":"6Y")+"64"](),3E:E.3E(),3T:E.3T()};U(f==="29"){p={x:"17",y:"15"};c=v.29||!c||!c.3U?a.1G({},a.1a.Y.29):c;y={15:c.47,17:c.3U}}18{U(f==="1w")f=c&&c.1j&&c.2a!=="3X"&&c.2a!=="2I"?e.1O.1j=a(c.1j):e.1O.1j;f=a(f).66(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.3T,17:D?0:E.3E}}18 U(f.2c("69")&&a.1a.Y.1e.4c){y=a.1a.Y.1e.4c(f,p);x=y.1d;F=y.1f;y=y.1n}18{x=f.4h();F=f.4j();y=r(f)}y.17+=p.x==="1A"?x:p.x==="1y"?x/2:0;y.15+=p.y==="1z"?F:p.y==="1y"?F/2:0}y.17+=v.x+(g.x==="1A"?-w:g.x==="1y"?-w/2:0);y.15+=v.y+(g.y==="1z"?-t:g.y==="1y"?-t/2:0);y.4i=v.2M&&f[0]!==G&&f[0]!==1V.36?{17:o.17(y.17),15:o.15(y.15)}:{17:0,15:0};i.1v("1T",V(){X a(14).1v("1T").32(/1g-13-4M-\\w+/i,"")}).3z(j+"-4M-"+g.53());C.3d=a.1G({},c);i.2F(C,[e.27(),y,E.4N]);U(C.49())X e;1Z y.4i;U(i.2c(":2w")&&a.2x(m.2m)){m.2m.1W(i,e.27(),y);i.3N(V(){11 H=a(14);H.1c({3y:"",1f:""});a.2q.2X&&14.1i&&14.1i.4a("3B");H.4P()})}18 6d(y.17,y.15)||i.1c(y);X e},3Q:V(){U(!e.1u||!(a.2q.2X&&2e(a.2q.3M.3G(0),10)<9))X 12;11 c=e.1k.13;c.1v("1i");11 f;c.1c({1d:"4Q",1f:"4Q"});f=l("38",1);a.1x(["1d","1f"],V(i,m){11 g=2e(c.1c("31-"+m),10)||0,p=2e(c.1c("4R-"+m),10)||0;f[m]=g+p?1p.4R(1p.31(f[m],p),g):f[m]});c.1c(f)},4p:V(c){11 f=e.1k.13;U(e.1u)f.23("1g-1X-1Y",c);18 e.1O.1Y=!!c;X e},2t:V(){11 c=e.1k,f=c.1j.2g("43");e.1u&&a.1x(e.1e,V(){14.2J==="21"&&14.2t()});z(1,1,1,1);d.4T("Y");e.1u&&c.13.2b();f&&d.1v("1o",f);d.3q("3j-4S");X d},27:V(){11 c=a.1G({},e);1Z c.1O;1Z c.1L;1Z c.1S;1Z c.1e;1Z c.21;1Z c.27;X c}})}V P(d,b){11 k,h,r=a(14);k=a(1V.36);11 l=14===1V?k:r;h=r.2n?r.2n(b.2n):1F;11 s=a.1G(1b,{},a.1a.Y.3c,b,L((h&&b.2n.2a==="6f"?h[b.2n.4X]:1F)||h));r.4T("2n");h=s.1h;U("3w"===1m s.19.1M)U(s.19.1v!==12&&r.1v(s.19.1v))s.19.1M=r.1v(s.19.1v);18 X 12;U(h.2A===12)h.2A=k;U(h.1j===12)h.1j=l;U(s.W.1j===12)s.W.1j=l;U(s.16.1j===12)s.16.1j=l;h.2u=28 a.1a.Y.1e.2P(h.2u);h.2f=28 a.1a.Y.1e.2P(h.2f);U(r.2g("Y"))U(s.4l)r.Y("2t");18 U(s.4l===12)X 12;r.1v("1o")&&r.2g("43",r.1v("1o")).3q("1o");k=28 O(r,s,d);r.2g("Y",k);X k}V Q(d){11 b=14;b.3K={"^19.1H":V(){14.1e.1H.3h(14.1S.19.1H)}};a.1G(b,{2B:V(){11 k=d.1S.19.1H;d.1k.13.1q("4U.1H",V(){b.3h(k);d.1k.13.1q("3f.1H",V(){k.30===12&&d.1u===1b&&b.3h(k)})})},3h:V(k){a.1H(a.1G(1b,{},k,{4e:V(h,r){U(a.2x(k.4e))U(k.4e.1W(d.27(),h,r)===12)X;d.3a("19.1M",h)},3H:V(h,r,l){11 s=r||l;U(a.2x(k.3H)){h=k.3H.1W(d.27(),h,r,l);U(h===12)X}d.3a("19.1M",s)}}));X b},2t:V(){d.1k.13.1D("3f.1H")}});b.2B()}V N(d,b,k){11 h=1p.1P(b/2),r=1p.1P(k/2);b={4V:[[0,0],[b,k],[b,0]],4W:[[0,0],[b,0],[0,k]],4Y:[[0,k],[b,0],[b,k]],4Z:[[0,0],[0,k],[b,k]],6r:[[0,k],[h,0],[b,k]],6q:[[0,0],[b,0],[h,k]],6j:[[0,0],[b,r],[0,k]],6l:[[b,0],[b,k],[0,r]]};b.6m=b.4V;b.6o=b.4W;b.6p=b.4Y;b.6s=b.4Z;X b[d]}V R(d){V b(j){11 n=l.1l,c=["17","1A"],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"?"57":"6t"]("15","1z");f=1p.31(j[m]==="1y"?f:0,f);n.1c({15:"",1z:"",17:"",1A:"",52:""});34(j[i==="y"?"x":"y"]){1N"1y":n.1c(c[0],"50%").1c("52-"+c[0],-1p.1P(A[i==="y"?"1d":"1f"]/2)+f);1E;1N c[0]:n.1c(c[0],f);1E;1N c[1]:n.1c(c[1],f);1E}f=A[i==="x"?"1d":"1f"];U(z){s.23("1g-13-2Z",!s.2c(":2w"));f-=2e(u.1c("1s-"+j[i]+"-1d"),10)||0;s.3J("1g-13-2Z")}U(e==="2o"&&/1z|1A/.1K(j[j.1B]))f+=z?1:-1;n.1c(j[i],-f)}V k(j,n,c){U(l.1l){j=a.1G({},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.2z!==1b){U(f.17)j.x=j.x==="1y"?f.17>0?"17":"1A":j.x==="17"?"1A":"17";U(f.15)j.y=j.y==="1y"?f.15>0?"15":"1z":j.y==="15"?"1z":"15";U(j.1J()!==q.1t.1J()&&(q.15!==f.15||q.17!==f.17))h.3m(j)}i[0]=z?2e(u.1c("1s-"+j[n[0]]+"-1d"),10)||0:e==="2o"?1:0;i[1]=1p.31(j[n[4]]==="1y"?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]]==="1y"?1:-1)*i[1];q.17=f.17;q.15=f.15;q.1t=j}}11 h=14,r=d.1S.1i.1l,l=d.1k,s=l.13,u=l.2Q,q={15:0,17:0,1t:{1J:V(){}}},A={1d:r.1d,1f:r.1f},B={},z=r.1s||0,e=r.2U||12;h.1t=1F;h.33=1F;h.3K={"^1h.2f|1i.1l.(1t|33|2U|1s)":V(){z=r.1s;U(h.2B())14.2L("1h.1j")!=="29"&&14.2k();18 h.2t()},"^1i.1l.(1f|1d)":V(){A={1d:r.1d,1f:r.1f};h.2N();h.3m();d.2k()},"^1i.(3r|1Q)$":V(){h.4k();h.3m()}};a.1G(h,{2B:V(){11 j=a.2q.2X,n=h.55(),c=h[h.33?"33":"1t"].1J().6u("1y")>-1;U(n){U(e===1b)e=a("<2s />")[0].3S?"2s":j&&(c||A.1f!==A.1d)?"2o":"2V";18 U(e==="2s")e=j?"2o":!a("<2s />")[0].3S?"2V":"2s";18 U(e==="2V")e=j&&c?"2o":e;h.2N();h.4k();h.3m();s.1D(".Y-1l").1q("3Y.Y-1l",k)}X n},55:V(){11 j=r.1t,n=d.1S.1h.2u,c=d.1S.1h.2f;U(c.1J)c=c.1J();U(j===12||c===12&&n===12)X 12;18 U(j===1b)h.1t=28 a.1a.Y.1e.2P(c);18 U(!j.1J){h.1t=28 a.1a.Y.1e.2P(j);h.1t.2z=1b}X h.1t.1J()!=="4A"},4k:V(){11 j=l.1l,n=h.1t,c=h.1t[h.1t.1B],f="1s-"+c+"-3o",i=/6v?\\(0, 0, 0(, 0)?\\)|35/i,m=l.2h&&n.y==="15",g=d.1S.1i.1Q;n=g?l.19:m?l.2h:l.2Q;m=!g?l.2Q:m?l.2h:l.19;B.2H=j.1c({6w:"",1s:""}).1c("4m-3o")||"35";B.1s=j.2L(0).1i?j.2L(0).1i["1s"+c.3G(0)+c.3D(1)+"6x"]:j.1c(f)||"35";U(i.1K(B.2H))B.2H=z?n.1c("4m-3o"):m.1c(f);U(!B.1s||i.1K(B.1s))B.1s=m.1c(f)||B.2H;a("*",j).2v(j).1c("4m-3o","35").1c("1s",0)},2N:V(){11 j=A.1d,n=A.1f;l.1l&&l.1l.2b();l.1l=a(\'<25 1T="1g-13-1l" />\').23("1g-1Q-19",d.1S.1i.1Q).1c(A).4n(s);34(e){1N"2s":a(\'<2s 1f="\'+n+\'" 1d="\'+j+\'" />\').2K(l.1l)[0].3S("2d").5g();1E;1N"2o":l.1l.3l(\'<2o:4q 6y="0 0" 6z="\'+j+" "+n+\'" 6A="\'+!!z+\'" 1i="5a:3s(#3P#5b); 37:5c-3v; 6B:1b; 1h: 3A; 15:0; 17:0; 1d:\'+j+"2p; 1f:"+n+"2p; 6C-6D:"+h.1t.y+\';"><2o:6E 6F="\'+(z-2)+\'2p" 6G="6H" 6I="10" 1i="5a:3s(#3P#5b); 37:5c-3v;" />\');1E;1N"2V":l.1l.3R(\'<25 1T="1g-13-1l-6J" />\').3R(z?\'<25 1T="1g-13-1l-1s" />\':"");1E}X h},3m:V(j){11 n=l.1l,c=A.1d,f=A.1f,i=z>0?0:1,m=1p.3L(z/2+0.5),g=r.33,p,v;U(!j)j=h.1t;U(g===12)g=j;18{g=28 a.1a.Y.1e.2P(g);g.1B=j.1B;U(g.x==="3I")g.x=j.x;18 U(g.y==="3I")g.y=j.y;18 U(g.x===g.y)g[j.1B]=j[j.1B]}v=1p[/b|r/.1K(g[g.1B==="y"?"x":"y"])?"3L":"1P"];n=n.4r();34(e){1N"2s":n=n.2L(0).3S("2d");n.5e&&n.5e();n.6K(0,0,5f,5f);2S(p=N(g.1J(),c,f);i<2;i++){U(i){n.5g();n.6M(v((g.x==="17"?1:g.x==="1A"?-1:0)*(z+1)*(g.1B==="y"?0.5:1)),v((g.y==="15"?1:g.y==="1z"?-1:0)*(z+1)*(g.1B==="x"?0.5:1)))}n.6N();n.6O(p[0][0],p[0][1]);n.5i(p[1][0],p[1][1]);n.5i(p[2][0],p[2][1]);n.6P();n.6Q=B[i?"2H":"1s"];n.2H()}1E;1N"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]+" 6S";n.1v({6U:i,6V:B.2H});U(z){n.4r().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)}}1E;1N"2V":U(g.1B==="y"){i=c>f?1.5:cf?5:2.2;m=[1p.1P(i*m*(g.x==="1A"?-1:1)*(g.y==="1y"?0.9:1)),g.y==="15"?m:g.y==="1z"?-m:0]}n.3q("1i").1x(V(w){11 t={x:g.1B==="x"?g.x==="17"?"1A":"17":g.x,y:g.1B==="y"?g.y==="15"?"1z":"15":g.y},o=g.x==="1y"?["17","1A",t.y,f,c]:["15","1z",t.x,c,f],x=B[!w&&z?"1s":"2H"];w&&a(14).1c({1h:"3A","z-40":1,17:m[0],15:m[1]});g.x==="1y"||g.y==="1y"?a(14).1c("1s-"+o[2],o[3]+"2p 4u "+x).1c("1s-"+o[0],1p.1P(o[4]/2)+"2p 5m 35").1c("1s-"+o[1],1p.1P(o[4]/2)+"2p 5m 35"):a(14).1c("1s-1d",1p.1P(f/2)+"2p "+1p.1P(c/2)+"2p").1c("1s-"+t.x,1p.1P(c/2)+"2p 4u "+x).1c("1s-"+t.y,1p.1P(f/2)+"2p 4u "+x)});1E}b(j);X h},2t:V(){l.1l&&l.1l.2b();s.1D(".Y-1l")}})}V S(d,b){11 k=14,h=d.1k,r=h.13;h.26=a("#Y-26");a.1G(k,{2B:V(){r.1q("3f.2y 4w.2y",V(l,s,u){l=l.2a.32("13","");a.2x(b[l])?b[l].1W(h.26,u,s):k[l](u)});h.26.1r||k.2N();b.3t===1b&&h.26.1q("3F.2y"+d.1C,V(){d.16.1W(d)})},2N:V(){h.26=a("<25 />",{1C:"Y-26",1c:{1h:"3A",15:0,17:0,37:"5n"}}).2K(1V.36);a(G).1q("2I.2y",V(){h.26.1c({1f:1p.31(a(G).1f(),a(1V).1f()),1d:1p.31(a(G).1d(),a(1V).1d())})}).2F("2I")},2T:V(l){11 s=h.26,u=d.1S.W.1R.2m,q=l?"W":"16";s.3V(1b,12);U(a.2x(u))u.1W(s,l);18 u===12?s[q]():s.4v(3u,l?0.7:0,V(){l||a(14).16()})},W:V(){k.2T(1b)},16:V(){k.2T(12)},2t:V(){11 l=1b;a("*").1x(V(){11 s=a(14).2g("Y");U(s&&s.1C!==d.1C&&s.1S.W.1R)X l=12});U(l){h.26.2b();a(G).1D("3X.2y 2I.2y")}18 h.26.1D("3F.2y"+d.1C);r.1D("3f.2y 4w.2y")}});k.2B()}V T(d){11 b=14,k=d.1k,h=k.13,r=".2l-"+d.1C,l="3Y"+r+" 3f"+r;a.1G(b,{2B:V(){k.2l=a(\'<41 1T="1g-13-2l" 5o="0" 5p="-1" 5q="5r:\\\'\\\';" 1i="37:3v; 1h:3A; z-40:-1; 3B:5s(3y=0);">\');k.2l.2K(h);h.1q(l,b.1U)},1U:V(){11 s=d.2L("38"),u=d.1e.1l,q=d.1k.1l,A;A=2e(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.2l.1c(A).1c(s)},2t:V(){b.41.2b();h.1D(l)}});b.2B()}a.1a.Y=V(d,b,k){11 h=2E(d).2D(),r=1F,l=h==="4p"?[1b]:a.5t(2Y).4D(1,10),s=l[l.1r-1],u;U(!2Y.1r&&14.2g("Y")||h==="5u")X(u=14.2g("Y"))?u.27():K;18 U("1J"===1m d){14.1x(V(){11 q=a(14).2g("Y");U(!q)X 1b;U(/5v|3a/.1K(h)&&b)U(k!==K)q.3a(b,k);18 r=q.2L(b);18{U(!q.1u&&(h==="W"||h==="2T")){U(s&&s.5y)q.1O.1w=s;q.21(1)}18 U(h==="5A"){h="4p";l=[12]}q[h]&&q[h].3b(q[h],l)}});X r!==1F?r:14}18 U("1I"===1m d||!2Y.1r){u=L(a.1G(1b,{},d));X a.1a.Y.1q.1W(14,u,s)}};a.1a.Y.1q=V(d,b){X 14.1x(V(){V k(A){V B(){q.21(1m A==="1I"||h.W.3n);r.W.1D(l.W);r.16.1D(l.16)}U(q.1O.1Y)X 12;q.1O.1w=a.1G({},A);U(h.W.2r>0){2j(q.1L.W);q.1L.W=3e(B,h.W.2r);l.W!==l.16&&r.16.1q(l.16,V(){2j(q.1L.W)})}18 B()}11 h,r,l,s=d.1C=!d.1C||d.1C===12||d.1C.1r<1||a("#1g-13-"+d.1C).1r?a.1a.Y.48++:d.1C,u=".Y-"+s+"-2N",q=P.1W(14,s,d);U(q===12)X 1b;h=q.1S;a.1x(a.1a.Y.1e,V(){14.2J==="2J"&&14(q)});r={W:h.W.1j,16:h.16.1j};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.3n||h.54)k(b)})};a.1x({1v:V(d){11 b=a(14),k=b.2g("Y");X 2Y.1r===1&&d==="1o"&&k&&k.1u===1b?b.2g("43"):1F},2b:a.1g?1F:V(d,b){a(14).1x(V(){U(!b)U(!d||a.3B(d,[14]).1r)a("*",14).2v(14).1x(V(){a(14).5U("2b")})})}},V(d,b){U(!b)X 1b;a.1a["4K"+d]=a.1a[d];a.1a[d]=V(){X b.3b(14,2Y)||a.1a["4K"+d].3b(14,2Y)}});a(1V.36).1v("3W",V(d,b){X!b?"61":b});a(1V).1q("3g.Y",V(d){a.1a.Y.29={3U:d.3U,47:d.47}});a.1a.Y.3M="2.0.67";a.1a.Y.48=0;a.1a.Y.4o="3F 6a 3O 4O 3g 5j 42".2O(" ");a.1a.Y.4b=6e;a.1a.Y.1e={2P:V(d){d=2E(d).32(/([A-Z])/," $1").32(/6h/6k,"1y").2D();14.x=(d.4g(/17|1A/i)||d.4g(/1y/)||["3I"])[0].2D();14.y=(d.4g(/15|1z|1y/i)||["3I"])[0].2D();14.1B=d.3G(0).4d(/^(t|b)/)>-1?"y":"x";14.1J=V(){X 14.1B==="y"?14.y+14.x:14.x+14.y};14.53=V(){11 b=14.x.3D(0,1),k=14.y.3D(0,1);X b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.1a.Y.3c={54:12,1C:12,4l:1b,2n:{2a:"1T"},19:{1M:1b,1v:"1o",1o:{1M:12,22:12}},1h:{2f:"15 17",2u:"1z 1A",1j:12,2A:12,1U:{x:0,y:0,29:1b,2M:12,2I:1b,2A:12},2m:1b},W:{1j:12,1w:"42",2m:1b,2r:3u,5h:12,3n:12},16:{1j:12,1w:"5j",2m:1b,2r:0,2z:12,24:12},1i:{3r:"",1Q:12},4s:{21:1F,4t:1F,W:1F,16:1F,2R:1F,3t:1F}};a.1a.Y.1e.1H=V(d){11 b=d.1e.1H,k=d.1S.19.1H;U(k&&k.3s)U(b)X b;18{d.1e.1H=28 Q(d);X d.1e.1H}};a.1a.Y.1e.1H.2J="21";a.1a.Y.1e.1H.3i=V(d){11 b=d.19;U(b&&"1H"2i b){b=b.1H;U(1m b!=="1I")b=d.19.1H={3s:b};U("3w"!==1m b.30&&b.30)b.30=!!b.30}};a.1G(1b,a.1a.Y.3c,{19:{1H:{30:1b}}});a.1a.Y.1e.1l=V(d){11 b=d.1e.1l,k=d.1S.1i.1l;U(k&&k.1t)U(b)X b;18{d.1e.1l=28 R(d);d.1e.1l.2B();X d.1e.1l}};a.1a.Y.1e.1l.2J="21";a.1a.Y.1e.1l.3i=V(d){11 b=d.1i;U(b&&"1l"2i b){b=d.1i.1l;U(1m b!=="1I")d.1i.1l={1t:b};U(!/1J|3w/i.1K(1m b.1t))b.1t=4y;U(1m b.2U!=="1J")b.2U=1b;U(!/2s|2V/i.1K(b.2U))b.2U=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.1G(1b,a.1a.Y.3c,{1i:{1l:{1t:1b,33:12,2U:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.Y.1e.4c=V(d,b){V k(z,e){2S(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.1P(m/2);g=1p.1P(g/2);U(b.x==="17")n=m;18 U(b.x==="1A")n=z.1d-m;18 n+=1p.1P(m/2);U(b.y==="15")c=g;18 U(b.y==="1z")c=z.1f-g;18 c+=1p.1P(g/2);2S(j=e.1r;j--;){U(e.1r<2)1E;f=e[j][0]-z.1n.17;i=e[j][1]-z.1n.15;U(b.x==="17"&&f>=n||b.x==="1A"&&f<=n||b.x==="1y"&&(fz.1d-n)||b.y==="15"&&i>=c||b.y==="1z"&&i<=c||b.y==="1y"&&(iz.1f-c))e.62(j,1)}}X{17:e[0][0],15:e[0][1]}}11 h=d.1v("4q").2D(),r=d.1v("6c").2O(","),l=[],s=a(\'3k[6g="#\'+d.6i("5d").1v("4X")+\'"]\'),u=s.1n(),q={1d:0,1f:0,1n:{15:51,1A:0,1z:0,17:51}},A=0,B=0;u.17+=1p.3L((s.4h()-s.1d())/2);u.15+=1p.3L((s.4j()-s.1f())/2);U(h==="4x")2S(A=r.1r;A--;){B=[2e(r[--A],10),2e(r[A+1],10)];U(B[0]>q.1n.1A)q.1n.1A=B[0];U(B[0]q.1n.1z)q.1n.1z=B[1];U(B[1]