Bug Tracker

Show
Ignore:
Timestamp:
03/17/08 09:23:12 (6 months ago)
Author:
joern.zaefferer
Message:
 
Location:
trunk/plugins/accordion
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/accordion/demo/index.html

    r4878 r5048  
    1919        jQuery('#list1a').accordion(); 
    2020        jQuery('#list1b').accordion({ 
    21             autoheight: false 
     21            autoHeight: false 
    2222        }); 
    2323         
     
    3939            animated: "bounceslide", 
    4040            header: "dt" 
    41         }).bind("change.ui-accordion", function(event, ui) { 
     41        }).bind("changeaccordion", function(event, ui) { 
    4242            jQuery('<div>' + ui.oldHeader.text() + ' hidden, ' + ui.newHeader.text() + ' shown</div>').appendTo('#log'); 
    4343        }); 
     
    4949            alwaysOpen: false, 
    5050            animated: false, 
    51             autoheight: false 
     51            autoHeight: false 
    5252        }); 
    5353         
     
    106106        <pre><code class="mix">jQuery('#list1a').accordion(); 
    107107jQuery('#list1b').accordion({ 
    108     autoheight: false 
     108    autoHeight: false 
    109109});</code></pre> 
    110110 
     
    277277    alwaysOpen: false, 
    278278    animated: false, 
    279     autoheight: false 
     279    autoHeight: false 
    280280});</code></pre> 
    281281 
  • trunk/plugins/accordion/jquery.accordion.js

    r4878 r5048  
    11/* 
    2  * jQuery UI Accordion 1.6 
     2 * jQuery UI Accordion 
    33 *  
    44 * Copyright (c) 2007 Jörn Zaefferer 
     
    2525        return this.each(function() { 
    2626            if (typeof options == "string") { 
    27                 var accordion = $.data(this, "ui-accordion"); 
    28                 accordion[options].apply(accordion, args); 
     27                var accordion = $.data(this, "accordion"); 
     28                if (accordion) 
     29                    accordion[options].apply(accordion, args); 
    2930            // INIT with optional options 
    3031            } else if (!$(this).is(".ui-accordion")) 
    31                 $.data(this, "ui-accordion", new $.ui.accordion(this, options)); 
     32                $.data(this, "accordion", new $.ui.accordion(this, options)); 
    3233        }); 
    3334    }, 
     
    7172            maxPadding = Math.max(maxPadding, $(this).innerHeight() - $(this).height()); 
    7273        }).height(maxHeight - maxPadding); 
    73     } else if ( options.autoheight ) { 
     74    } else if ( options.autoHeight ) { 
    7475        var maxHeight = 0; 
    7576        options.headers.next().each(function() { 
     
    8586     
    8687    if (options.event) 
    87         $(container).bind((options.event) + ".ui-accordion", clickHandler); 
     88        $(container).bind((options.event) + ".accordion", clickHandler); 
    8889}; 
    8990 
     
    104105    destroy: function() { 
    105106        this.options.headers.next().css("display", ""); 
    106         if ( this.options.fillSpace || this.options.autoheight ) { 
     107        if ( this.options.fillSpace || this.options.autoHeight ) { 
    107108            this.options.headers.next().css("height", ""); 
    108109        } 
    109         $.removeData(this.element, "ui-accordion"); 
    110         $(this.element).removeClass("ui-accordion").unbind(".ui-accordion"); 
    111     } 
    112 } 
     110        $.removeData(this.element, "accordion"); 
     111        $(this.element).removeClass("ui-accordion").unbind(".accordion"); 
     112    } 
     113}; 
    113114 
    114115function scopeCallback(callback, scope) { 
     
    116117        return callback.apply(scope, arguments); 
    117118    }; 
    118 } 
     119}; 
    119120 
    120121function completed(cancel) { 
    121122    // if removed while animated data can be empty 
    122     if (!$.data(this, "ui-accordion")) 
     123    if (!$.data(this, "accordion")) 
    123124        return; 
    124     var instance = $.data(this, "ui-accordion"); 
     125    var instance = $.data(this, "accordion"); 
    125126    var options = instance.options; 
    126127    options.running = cancel ? 0 : --options.running; 
     
    133134        }); 
    134135    } 
    135     $(this).triggerHandler("change.ui-accordion", [options.data], options.change); 
     136    $(this).triggerHandler("accordionchange", [options.data], options.change); 
    136137} 
    137138 
    138139function toggle(toShow, toHide, data, clickedActive, down) { 
    139     var options = $.data(this, "ui-accordion").options; 
     140    var options = $.data(this, "accordion").options; 
    140141    options.toShow = toShow; 
    141142    options.toHide = toHide; 
     
    153154                complete: complete, 
    154155                down: down, 
    155                 autoheight: options.autoheight 
     156                autoHeight: options.autoHeight 
    156157            }); 
    157158        } else { 
     
    161162                complete: complete, 
    162163                down: down, 
    163                 autoheight: options.autoheight 
     164                autoHeight: options.autoHeight 
    164165            }); 
    165166        } 
     
    176177 
    177178function clickHandler(event) { 
    178     var options = $.data(this, "ui-accordion").options; 
     179    var options = $.data(this, "accordion").options; 
    179180    if (options.disabled) 
    180181        return false; 
     
    256257        event: "click", 
    257258        header: "a", 
    258         autoheight: true, 
     259        autoHeight: true, 
    259260        running: 0, 
    260261        navigationFilter: function() { 
     
    287288                easing: options.easing, 
    288289                complete: function() { 
    289                     if ( !options.autoheight ) { 
     290                    if ( !options.autoHeight ) { 
    290291                        options.toShow.css("height", "auto"); 
    291292                    } 
     
    304305                easing: "easeinout", 
    305306                duration: 700 
    306             }) 
     307            }); 
    307308        } 
    308309    } 
  • trunk/plugins/accordion/jquery.accordion.min.js

    r4878 r5048  
    11/* 
    2  * jQuery UI Accordion 1.6 
     2 * jQuery UI Accordion 
    33 *  
    44 * Copyright (c) 2007 Jörn Zaefferer 
     
    1010 *   http://www.gnu.org/licenses/gpl.html 
    1111 * 
    12  * Revision: $Id: jquery.accordion.js 4876 2008-03-08 11:49:04Z joern.zaefferer $ 
     12 * Revision: $Id: ui.accordion.js 5046 2008-03-17 09:18:08Z joern.zaefferer $ 
    1313 * 
    14  */;(function($){$.ui=$.ui||{};$.fn.extend({accordion:function(options,data){var args=Array.prototype.slice.call(arguments,1);return this.each(function(){if(typeof options=="string"){var accordion=$.data(this,"ui-accordion");accordion[options].apply(accordion,args);}else if(!$(this).is(".ui-accordion"))$.data(this,"ui-accordion",new $.ui.accordion(this,options));});},activate:function(index){return this.accordion("activate",index);}});$.ui.accordion=function(container,options){this.options=options=$.extend({},$.ui.accordion.defaults,options);this.element=container;$(container).addClass("ui-accordion");if(options.navigation){var current=$(container).find("a").filter(options.navigationFilter);if(current.length){if(current.filter(options.header).length){options.active=current;}else{options.active=current.parent().parent().prev();current.addClass("current");}}}options.headers=$(container).find(options.header);options.active=findActive(options.headers,options.active);if(options.fillSpace){var maxHeight=$(container).parent().height();options.headers.each(function(){maxHeight-=$(this).outerHeight();});var maxPadding=0;options.headers.next().each(function(){maxPadding=Math.max(maxPadding,$(this).innerHeight()-$(this).height());}).height(maxHeight-maxPadding);}else if(options.autoheight){var maxHeight=0;options.headers.next().each(function(){maxHeight=Math.max(maxHeight,$(this).outerHeight());}).height(maxHeight);}options.headers.not(options.active||"").next().hide();options.active.parent().andSelf().addClass(options.selectedClass);if(options.event)$(container).bind((options.event)+".ui-accordion",clickHandler);};$.ui.accordion.prototype={activate:function(index){clickHandler.call(this.element,{target:findActive(this.options.headers,index)[0]});},enable:function(){this.options.disabled=false;},disable:function(){this.options.disabled=true;},destroy:function(){this.options.headers.next().css("display","");if(this.options.fillSpace||this.options.autoheight){this.options.headers.next().css("height","");}$.removeData(this.element,"ui-accordion");$(this.element).removeClass("ui-accordion").unbind(".ui-accordion");}}function scopeCallback(callback,scope){return function(){return callback.apply(scope,arguments);};}function completed(cancel){if(!$.data(this,"ui-accordion"))return;var instance=$.data(this,"ui-accordion");var options=instance.options;options.running=cancel?0:--options.running;if(options.running)return;if(options.clearStyle){options.toShow.add(options.toHide).css({height:"",overflow:""});}$(this).triggerHandler("change.ui-accordion",[options.data],options.change);}function toggle(toShow,toHide,data,clickedActive,down){var options=$.data(this,"ui-accordion").options;options.toShow=toShow;options.toHide=toHide;options.data=data;var complete=scopeCallback(completed,this);options.running=toHide.size()==0?toShow.size():toHide.size();if(options.animated){if(!options.alwaysOpen&&clickedActive){$.ui.accordion.animations[options.animated]({toShow:jQuery([]),toHide:toHide,complete:complete,down:down,autoheight:options.autoheight});}else{$.ui.accordion.animations[options.animated]({toShow:toShow,toHide:toHide,complete:complete,down:down,autoheight:options.autoheight});}}else{if(!options.alwaysOpen&&clickedActive){toShow.toggle();}else{toHide.hide();toShow.show();}complete(true);}}function clickHandler(event){var options=$.data(this,"ui-accordion").options;if(options.disabled)return false;if(!event.target&&!options.alwaysOpen){options.active.parent().andSelf().toggleClass(options.selectedClass);var toHide=options.active.next(),data={instance:this,options:options,newHeader:jQuery([]),oldHeader:options.active,newContent:jQuery([]),oldContent:toHide},toShow=options.active=$([]);toggle.call(this,toShow,toHide,data);return false;}var clicked=$(event.target);if(clicked.parents(options.header).length)while(!clicked.is(options.header))clicked=clicked.parent();var clickedActive=clicked[0]==options.active[0];if(options.running||(options.alwaysOpen&&clickedActive))return false;if(!clicked.is(options.header))return;options.active.parent().andSelf().toggleClass(options.selectedClass);if(!clickedActive){clicked.parent().andSelf().addClass(options.selectedClass);}var toShow=clicked.next(),toHide=options.active.next(),data={instance:this,options:options,newHeader:clicked,oldHeader:options.active,newContent:toShow,oldContent:toHide},down=options.headers.index(options.active[0])>options.headers.index(clicked[0]);options.active=clickedActive?$([]):clicked;toggle.call(this,toShow,toHide,data,clickedActive,down);return false;};function findActive(headers,selector){return selector!=undefined?typeof selector=="number"?headers.filter(":eq("+selector+")"):headers.not(headers.not(selector)):selector===false?$([]):headers.filter(":eq(0)");}$.extend($.ui.accordion,{defaults:{selectedClass:"selected",alwaysOpen:true,animated:'slide',event:"click",header:"a",autoheight:true,running:0,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase();}},animations:{slide:function(options,additions){options=$.extend({easing:"swing",duration:300},options,additions);if(!options.toHide.size()){options.toShow.animate({height:"show"},options);return;}var hideHeight=options.toHide.height(),showHeight=options.toShow.height(),difference=showHeight/hideHeight;options.toShow.css({height:0,overflow:'hidden'}).show();options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{step:function(now){var current=(hideHeight-now)*difference;if($.browser.msie||$.browser.opera){current=Math.ceil(current);}options.toShow.height(current);},duration:options.duration,easing:options.easing,complete:function(){if(!options.autoheight){options.toShow.css("height","auto");}options.complete();}});},bounceslide:function(options){this.slide(options,{easing:options.down?"bounceout":"swing",duration:options.down?1000:200});},easeslide:function(options){this.slide(options,{easing:"easeinout",duration:700})}}});})(jQuery); 
     14 */;(function($){$.ui=$.ui||{};$.fn.extend({accordion:function(options,data){var args=Array.prototype.slice.call(arguments,1);return this.each(function(){if(typeof options=="string"){var accordion=$.data(this,"accordion");if(accordion)accordion[options].apply(accordion,args);}else if(!$(this).is(".ui-accordion"))$.data(this,"accordion",new $.ui.accordion(this,options));});},activate:function(index){return this.accordion("activate",index);}});$.ui.accordion=function(container,options){this.options=options=$.extend({},$.ui.accordion.defaults,options);this.element=container;$(container).addClass("ui-accordion");if(options.navigation){var current=$(container).find("a").filter(options.navigationFilter);if(current.length){if(current.filter(options.header).length){options.active=current;}else{options.active=current.parent().parent().prev();current.addClass("current");}}}options.headers=$(container).find(options.header);options.active=findActive(options.headers,options.active);if(options.fillSpace){var maxHeight=$(container).parent().height();options.headers.each(function(){maxHeight-=$(this).outerHeight();});var maxPadding=0;options.headers.next().each(function(){maxPadding=Math.max(maxPadding,$(this).innerHeight()-$(this).height());}).height(maxHeight-maxPadding);}else if(options.autoHeight){var maxHeight=0;options.headers.next().each(function(){maxHeight=Math.max(maxHeight,$(this).outerHeight());}).height(maxHeight);}options.headers.not(options.active||"").next().hide();options.active.parent().andSelf().addClass(options.selectedClass);if(options.event)$(container).bind((options.event)+".accordion",clickHandler);};$.ui.accordion.prototype={activate:function(index){clickHandler.call(this.element,{target:findActive(this.options.headers,index)[0]});},enable:function(){this.options.disabled=false;},disable:function(){this.options.disabled=true;},destroy:function(){this.options.headers.next().css("display","");if(this.options.fillSpace||this.options.autoHeight){this.options.headers.next().css("height","");}$.removeData(this.element,"accordion");$(this.element).removeClass("ui-accordion").unbind(".accordion");}};function scopeCallback(callback,scope){return function(){return callback.apply(scope,arguments);};};function completed(cancel){if(!$.data(this,"accordion"))return;var instance=$.data(this,"accordion");var options=instance.options;options.running=cancel?0:--options.running;if(options.running)return;if(options.clearStyle){options.toShow.add(options.toHide).css({height:"",overflow:""});}$(this).triggerHandler("accordionchange",[options.data],options.change);}function toggle(toShow,toHide,data,clickedActive,down){var options=$.data(this,"accordion").options;options.toShow=toShow;options.toHide=toHide;options.data=data;var complete=scopeCallback(completed,this);options.running=toHide.size()==0?toShow.size():toHide.size();if(options.animated){if(!options.alwaysOpen&&clickedActive){$.ui.accordion.animations[options.animated]({toShow:jQuery([]),toHide:toHide,complete:complete,down:down,autoHeight:options.autoHeight});}else{$.ui.accordion.animations[options.animated]({toShow:toShow,toHide:toHide,complete:complete,down:down,autoHeight:options.autoHeight});}}else{if(!options.alwaysOpen&&clickedActive){toShow.toggle();}else{toHide.hide();toShow.show();}complete(true);}}function clickHandler(event){var options=$.data(this,"accordion").options;if(options.disabled)return false;if(!event.target&&!options.alwaysOpen){options.active.parent().andSelf().toggleClass(options.selectedClass);var toHide=options.active.next(),data={instance:this,options:options,newHeader:jQuery([]),oldHeader:options.active,newContent:jQuery([]),oldContent:toHide},toShow=options.active=$([]);toggle.call(this,toShow,toHide,data);return false;}var clicked=$(event.target);if(clicked.parents(options.header).length)while(!clicked.is(options.header))clicked=clicked.parent();var clickedActive=clicked[0]==options.active[0];if(options.running||(options.alwaysOpen&&clickedActive))return false;if(!clicked.is(options.header))return;options.active.parent().andSelf().toggleClass(options.selectedClass);if(!clickedActive){clicked.parent().andSelf().addClass(options.selectedClass);}var toShow=clicked.next(),toHide=options.active.next(),data={instance:this,options:options,newHeader:clicked,oldHeader:options.active,newContent:toShow,oldContent:toHide},down=options.headers.index(options.active[0])>options.headers.index(clicked[0]);options.active=clickedActive?$([]):clicked;toggle.call(this,toShow,toHide,data,clickedActive,down);return false;};function findActive(headers,selector){return selector!=undefined?typeof selector=="number"?headers.filter(":eq("+selector+")"):headers.not(headers.not(selector)):selector===false?$([]):headers.filter(":eq(0)");}$.extend($.ui.accordion,{defaults:{selectedClass:"selected",alwaysOpen:true,animated:'slide',event:"click",header:"a",autoHeight:true,running:0,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase();}},animations:{slide:function(options,additions){options=$.extend({easing:"swing",duration:300},options,additions);if(!options.toHide.size()){options.toShow.animate({height:"show"},options);return;}var hideHeight=options.toHide.height(),showHeight=options.toShow.height(),difference=showHeight/hideHeight;options.toShow.css({height:0,overflow:'hidden'}).show();options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{step:function(now){var current=(hideHeight-now)*difference;if($.browser.msie||$.browser.opera){current=Math.ceil(current);}options.toShow.height(current);},duration:options.duration,easing:options.easing,complete:function(){if(!options.autoHeight){options.toShow.css("height","auto");}options.complete();}});},bounceslide:function(options){this.slide(options,{easing:options.down?"bounceout":"swing",duration:options.down?1000:200});},easeslide:function(options){this.slide(options,{easing:"easeinout",duration:700});}}});})(jQuery); 
  • trunk/plugins/accordion/jquery.accordion.pack.js

    r4878 r5048  
    11/* 
    2  * jQuery UI Accordion 1.6 
     2 * jQuery UI Accordion 
    33 *  
    44 * Copyright (c) 2007 Jörn Zaefferer 
     
    1010 *   http://www.gnu.org/licenses/gpl.html 
    1111 * 
    12  * Revision: $Id: jquery.accordion.js 4876 2008-03-08 11:49:04Z joern.zaefferer $ 
     12 * Revision: $Id: ui.accordion.js 5046 2008-03-17 09:18:08Z joern.zaefferer $ 
    1313 * 
    1414 */ 
    15 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}(';(3($){$.5=$.5||{};$.1L.M({6:3(c,b){7 d=1Q.1k.1K.F(16,1);9 2.B(3(){4(1m c=="1O"){7 a=$.j(2,"5-6");a[c].1h(a,d)}t 4(!$(2).R(".5-6"))$.j(2,"5-6",1D $.5.6(2,c))})},Q:3(a){9 2.6("Q",a)}});$.5.6=3(e,d){2.i=d=$.M({},$.5.6.11,d);2.N=e;$(e).L("5-6");4(d.1Z){7 a=$(e).1t("a").q(d.1r);4(a.V){4(a.q(d.u).V){d.8=a}t{d.8=a.m().m().1N();a.L("1M")}}}d.k=$(e).1t(d.u);d.8=U(d.k,d.8);4(d.1j){7 b=$(e).m().h();d.k.B(3(){b-=$(2).1g()});7 c=0;d.k.o().B(3(){c=P.19(c,$(2).1F()-$(2).h())}).h(b-c)}t 4(d.n){7 b=0;d.k.o().B(3(){b=P.19(b,$(2).1g())}).h(b)}d.k.O(d.8||"").o().10();d.8.m().J().L(d.w);4(d.Y)$(e).1z((d.Y)+".5-6",W)};$.5.6.1k={Q:3(a){W.F(2.N,{X:U(2.i.k,a)[0]})},1v:3(){2.i.Z=s},25:3(){2.i.Z=D},1Y:3(){2.i.k.o().C("1W","");4(2.i.1j||2.i.n){2.i.k.o().C("h","")}$.1V(2.N,"5-6");$(2.N).1U("5-6").1T(".5-6")}}3 1q(a,b){9 3(){9 a.1h(b,16)}}3 1p(a){4(!$.j(2,"5-6"))9;7 b=$.j(2,"5-6");7 c=b.i;c.v=a?0:--c.v;4(c.v)9;4(c.1S){c.l.1R(c.p).C({h:"",1n:""})}$(2).1P("1l.5-6",[c.j],c.1l)}3 I(g,c,b,d,a){7 e=$.j(2,"5-6").i;e.l=g;e.p=c;e.j=b;7 f=1q(1p,2);e.v=c.H()==0?g.H():c.H();4(e.G){4(!e.A&&d){$.5.6.T[e.G]({l:K([]),p:c,x:f,r:a,n:e.n})}t{$.5.6.T[e.G]({l:g,p:c,x:f,r:a,n:e.n})}}t{4(!e.A&&d){g.I()}t{c.10();g.S()}f(D)}}3 W(a){7 c=$.j(2,"5-6").i;4(c.Z)9 s;4(!a.X&&!c.A){c.8.m().J().1i(c.w);7 d=c.8.o(),j={1f:2,i:c,1e:K([]),1d:c.8,12:K([]),1b:d},f=c.8=$([]);I.F(2,f,d,j);9 s}7 b=$(a.X);4(b.1J(c.u).V)1I(!b.R(c.u))b=b.m();7 e=b[0]==c.8[0];4(c.v||(c.A&&e))9 s;4(!b.R(c.u))9;c.8.m().J().1i(c.w);4(!e){b.m().J().L(c.w)}7 f=b.o(),d=c.8.o(),j={1f:2,i:c,1e:b,1d:c.8,12:f,1b:d},r=c.k.1a(c.8[0])>c.k.1a(b[0]);c.8=e?$([]):b;I.F(2,f,d,j,e,r);9 s};3 U(a,b){9 b!=1H?1m b=="1G"?a.q(":18("+b+")"):a.O(a.O(b)):b===s?$([]):a.q(":18(0)")}$.M($.5.6,{11:{w:"1E",A:D,G:\'E\',Y:"1C",u:"a",n:D,v:0,1r:3(){9 2.17.1c()==1B.17.1c()}},T:{E:3(e,d){e=$.M({z:"15",y:1A},e,d);4(!e.p.H()){e.l.14({h:"S"},e);9}7 c=e.p.h(),13=e.l.h(),1s=13/c;e.l.C({h:0,1n:\'1o\'}).S();e.p.q(":1o").B(e.x).1y().q(":1x").14({h:"10"},{1X:3(a){7 b=(c-a)*1s;4($.1u.1w||$.1u.20){b=P.21(b)}e.l.h(b)},y:e.y,z:e.z,x:3(){4(!e.n){e.l.C("h","2a")}e.x()}})},28:3(a){2.E(a,{z:a.r?"27":"15",y:a.r?26:24})},23:3(a){2.E(a,{z:"22",y:29})}}})})(K);',62,135,'||this|function|if|ui|accordion|var|active|return||||||||height|options|data|headers|toShow|parent|autoheight|next|toHide|filter|down|false|else|header|running|selectedClass|complete|duration|easing|alwaysOpen|each|css|true|slide|call|animated|size|toggle|andSelf|jQuery|addClass|extend|element|not|Math|activate|is|show|animations|findActive|length|clickHandler|target|event|disabled|hide|defaults|newContent|showHeight|animate|swing|arguments|href|eq|max|index|oldContent|toLowerCase|oldHeader|newHeader|instance|outerHeight|apply|toggleClass|fillSpace|prototype|change|typeof|overflow|hidden|completed|scopeCallback|navigationFilter|difference|find|browser|enable|msie|visible|end|bind|300|location|click|new|selected|innerHeight|number|undefined|while|parents|slice|fn|current|prev|string|triggerHandler|Array|add|clearStyle|unbind|removeClass|removeData|display|step|destroy|navigation|opera|ceil|easeinout|easeslide|200|disable|1000|bounceout|bounceslide|700|auto'.split('|'),0,{})) 
     15eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}(';(4($){$.i=$.i||{};$.1J.M({5:4(c,b){6 d=1Q.1k.1I.F(18,1);8 2.B(4(){3(1l c=="1N"){6 a=$.j(2,"5");3(a)a[c].1i(a,d)}s 3(!$(2).O(".i-5"))$.j(2,"5",1C $.i.5(2,c))})},U:4(a){8 2.5("U",a)}});$.i.5=4(e,d){2.h=d=$.M({},$.i.5.11,d);2.N=e;$(e).L("i-5");3(d.22){6 a=$(e).1s("a").r(d.1r);3(a.V){3(a.r(d.v).V){d.7=a}s{d.7=a.n().n().1M();a.L("1K")}}}d.k=$(e).1s(d.v);d.7=S(d.k,d.7);3(d.1j){6 b=$(e).n().9();d.k.B(4(){b-=$(2).1h()});6 c=0;d.k.o().B(4(){c=P.1a(c,$(2).1E()-$(2).9())}).9(b-c)}s 3(d.m){6 b=0;d.k.o().B(4(){b=P.1a(b,$(2).1h())}).9(b)}d.k.10(d.7||"").o().T();d.7.n().I().L(d.z);3(d.Y)$(e).1x((d.Y)+".5",W)};$.i.5.1k={U:4(a){W.F(2.N,{X:S(2.h.k,a)[0]})},1u:4(){2.h.Z=q},26:4(){2.h.Z=E},1Z:4(){2.h.k.o().C("1W","");3(2.h.1j||2.h.m){2.h.k.o().C("9","")}$.1V(2.N,"5");$(2.N).1U("i-5").1T(".5")}};4 1q(a,b){8 4(){8 a.1i(b,18)}};4 1p(a){3(!$.j(2,"5"))8;6 b=$.j(2,"5");6 c=b.h;c.t=a?0:--c.t;3(c.t)8;3(c.1S){c.l.1R(c.p).C({9:"",1m:""})}$(2).1P("1O",[c.j],c.1L)}4 K(g,c,b,d,a){6 e=$.j(2,"5").h;e.l=g;e.p=c;e.j=b;6 f=1q(1p,2);e.t=c.H()==0?g.H():c.H();3(e.J){3(!e.A&&d){$.i.5.R[e.J]({l:G([]),p:c,x:f,u:a,m:e.m})}s{$.i.5.R[e.J]({l:g,p:c,x:f,u:a,m:e.m})}}s{3(!e.A&&d){g.K()}s{c.T();g.Q()}f(E)}}4 W(a){6 c=$.j(2,"5").h;3(c.Z)8 q;3(!a.X&&!c.A){c.7.n().I().1g(c.z);6 d=c.7.o(),j={1f:2,h:c,1e:G([]),12:c.7,1d:G([]),1c:d},f=c.7=$([]);K.F(2,f,d,j);8 q}6 b=$(a.X);3(b.1H(c.v).V)1G(!b.O(c.v))b=b.n();6 e=b[0]==c.7[0];3(c.t||(c.A&&e))8 q;3(!b.O(c.v))8;c.7.n().I().1g(c.z);3(!e){b.n().I().L(c.z)}6 f=b.o(),d=c.7.o(),j={1f:2,h:c,1e:b,12:c.7,1d:f,1c:d},u=c.k.1b(c.7[0])>c.k.1b(b[0]);c.7=e?$([]):b;K.F(2,f,d,j,e,u);8 q};4 S(a,b){8 b!=1F?1l b=="1D"?a.r(":19("+b+")"):a.10(a.10(b)):b===q?$([]):a.r(":19(0)")}$.M($.i.5,{11:{z:"1B",A:E,J:\'D\',Y:"1A",v:"a",m:E,t:0,1r:4(){8 2.1n.17()==1z.1n.17()}},R:{D:4(e,d){e=$.M({y:"16",w:1y},e,d);3(!e.p.H()){e.l.15({9:"Q"},e);8}6 c=e.p.9(),14=e.l.9(),13=14/c;e.l.C({9:0,1m:\'1o\'}).Q();e.p.r(":1o").B(e.x).1w().r(":1X").15({9:"T"},{1v:4(a){6 b=(c-a)*13;3($.1t.20||$.1t.21){b=P.2b(b)}e.l.9(b)},w:e.w,y:e.y,x:4(){3(!e.m){e.l.C("9","2a")}e.x()}})},28:4(a){2.D(a,{y:a.u?"27":"16",w:a.u?25:24})},23:4(a){2.D(a,{y:"29",w:1Y})}}})})(G);',62,136,'||this|if|function|accordion|var|active|return|height||||||||options|ui|data|headers|toShow|autoHeight|parent|next|toHide|false|filter|else|running|down|header|duration|complete|easing|selectedClass|alwaysOpen|each|css|slide|true|call|jQuery|size|andSelf|animated|toggle|addClass|extend|element|is|Math|show|animations|findActive|hide|activate|length|clickHandler|target|event|disabled|not|defaults|oldHeader|difference|showHeight|animate|swing|toLowerCase|arguments|eq|max|index|oldContent|newContent|newHeader|instance|toggleClass|outerHeight|apply|fillSpace|prototype|typeof|overflow|href|hidden|completed|scopeCallback|navigationFilter|find|browser|enable|step|end|bind|300|location|click|selected|new|number|innerHeight|undefined|while|parents|slice|fn|current|change|prev|string|accordionchange|triggerHandler|Array|add|clearStyle|unbind|removeClass|removeData|display|visible|700|destroy|msie|opera|navigation|easeslide|200|1000|disable|bounceout|bounceslide|easeinout|auto|ceil'.split('|'),0,{}))