<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-YUI.add(&quot;gallery-node-accordion&quot;,function(B){var S=B.UA,f=B.ClassNameManager.getClassName,X={},I={fast:0.1,slow:0.6,normal:0.4},J=&quot;accordion&quot;,E=&quot;item&quot;,a=&quot;scrollHeight&quot;,e=&quot;scrollWidth&quot;,F=&quot;width&quot;,V=&quot;height&quot;,i=&quot;px&quot;,G=&quot;.&quot;,O=&quot;host&quot;,j=&quot;orientation&quot;,D=&quot;fade&quot;,W=&quot;multiple&quot;,L=&quot;persistent&quot;,k=&quot;speed&quot;,c=&quot;anim&quot;,T=&quot;items&quot;,g=f(J),Z=f(J,&quot;hidden&quot;),H=f(J,E),M=f(J,E,&quot;active&quot;),A=f(J,E,&quot;sliding&quot;),d=f(J,E,&quot;hd&quot;),b=f(J,E,&quot;bd&quot;),K=f(J,E,&quot;ft&quot;),P=f(J,E,&quot;trigger&quot;),h=G+H,C=G+b,Q=&quot;&gt;.&quot;,U=Q+H,R=Q+H+G+P+&quot;,&quot;+Q+H+Q+d+Q+P+&quot;,&quot;+Q+H+Q+K+Q+P,N=function(){N.superclass.constructor.apply(this,arguments);};N.NAME=&quot;NodeAccordion&quot;;N.NS=J;N.ATTRS={activeItems:{readOnly:true,getter:function(Y){return this._root.all(Q+M);}},items:{readOnly:true,getter:function(Y){return this._root.all(U);}},orientation:{value:V,writeOnce:true},fade:{value:false},anim:{value:false,validator:function(Y){return !B.Lang.isUndefined(B.Anim);}},multiple:{value:true},persistent:{value:false},speed:{value:0.4,validator:function(Y){return(B.Lang.isNumber(Y)||(B.Lang.isString(Y)&amp;&amp;I.hasOwnProperty(Y)));},setter:function(Y){return(I.hasOwnProperty(Y)?I[Y]:Y);}}};B.extend(N,B.Plugin.Base,{_root:null,initializer:function(l){var m=this.get(O),Y=[];if(m){this._root=m;this.get(T).each(function(n){if(n.hasClass(M)){this.expandItem(n);}else{this.collapseItem(n);}},this);Y.push(m.delegate(&quot;click&quot;,function(n){this.toggleItem(n.currentTarget);n.target.blur();n.halt();},R,this));Y=this._eventHandlers;m.removeClass(Z);}},destructor:function(){var Y=this._eventHandlers;if(Y){B.Array.each(Y,function(l){l.detach();});this._eventHandlers=null;}},_getItem:function(l){if(B.Lang.isNumber(l)){l=this.get(T).item(l);}var Y=function(m){return m.hasClass(H);};if(l&amp;&amp;!l.hasClass(H)){return l.ancestor(Y);}return l;},_animate:function(n,Y,l){var m=X[n];if((m)&amp;&amp;(m.get(&quot;running&quot;))){m.stop();}if(B.Lang.isFunction(this.get(c))){Y.easing=this.get(c);}m=new B.Anim(Y);m.on(&quot;end&quot;,l,this);m.run();X[n]=m;return m;},_openItem:function(u){var p,Y,s,n,m,r=this.get(T),l=this.get(j),q={duration:this.get(k),to:{scroll:[]}},t;if(u&amp;&amp;r.size()&amp;&amp;!u.hasClass(M)&amp;&amp;(p=u.one(C))&amp;&amp;(Y=B.stamp(p))){if(!this.get(W)){t=this._root.one(Q+M);}q.to[l]=(l==F?p.get(e):p.get(a));q.node=p;u.addClass(A);s=function(){u.removeClass(A);u.addClass(M);};if(!this.get(c)){n=p.get(l);if(B.Lang.isObject(t)){n=t.get(l);t.addClass(A);}for(m=1;m&lt;=n;m++){if(B.Lang.isObject(t)){t.setStyle(l,(n-m)+i);}p.setStyle(l,m+i);}if(B.Lang.isObject(t)){t.removeClass(A);t.removeClass(M);}s();}else{q.to.scroll=[0,0];if(this.get(D)){q.to.opacity=1;}if(B.Lang.isObject(t)){this._closeItem(t);}this._animate(Y,q,s);}}},_closeItem:function(t){var p,Y,s,n,m,r=this.get(T),l=this.get(j),q={duration:this.get(k),to:{scroll:[]}};if(t&amp;&amp;r.size()&amp;&amp;(p=t.one(C))&amp;&amp;(Y=B.stamp(p))){q.to[l]=(((l==V)&amp;&amp;S.ie&amp;&amp;(S.ie&lt;7))?1:0);q.node=p;t.addClass(A);s=function(){t.removeClass(A);t.removeClass(M);};if(!this.get(c)){n=p.get(l);for(m=n;m&gt;=q.to[l].to;m--){p.setStyle(l,m+i);}s();}else{q.to.scroll=(l==F?[p.get(e),0]:[0,p.get(a)]);if(this.get(D)){q.to.opacity=0;}this._animate(Y,q,s);}}},expandAllItems:function(){if(this.get(W)){this.get(T).each(function(Y){this.expandItem(Y);},this);}return this;},collapseAllItems:function(){if(this.get(W)||!this.get(L)){this.get(T).each(function(Y){this.collapseItem(Y);},this);}return this;},expandItem:function(l){var Y=this._getItem(l);if(Y){this._openItem(Y);}return this;},collapseItem:function(l){var Y=this._getItem(l);if(Y&amp;&amp;Y.hasClass(M)&amp;&amp;(this.get(W)||!this.get(L))){this._closeItem(Y);}return this;},toggleItem:function(l){var Y=this._getItem(l);if(Y){((Y.hasClass(M)&amp;&amp;(this.get(W)||!this.get(L)))?this._closeItem(Y):this._openItem(Y));}return this;}});B.namespace(&quot;Plugin&quot;);B.Plugin.NodeAccordion=N;},&quot;gallery-2009.10.27-23&quot;,{requires:[&quot;node-base&quot;,&quot;node-style&quot;,&quot;plugin&quot;,&quot;node-event-delegate&quot;,&quot;classnamemanager&quot;],optional:[&quot;anim&quot;]});
\ No newline at end of file
+YUI.add(&quot;gallery-node-accordion&quot;,function(B){var S=B.UA,f=B.ClassNameManager.getClassName,X={},I={fast:0.1,slow:0.6,normal:0.4},J=&quot;accordion&quot;,E=&quot;item&quot;,a=&quot;scrollHeight&quot;,e=&quot;scrollWidth&quot;,F=&quot;width&quot;,V=&quot;height&quot;,i=&quot;px&quot;,G=&quot;.&quot;,O=&quot;host&quot;,j=&quot;orientation&quot;,D=&quot;fade&quot;,W=&quot;multiple&quot;,L=&quot;persistent&quot;,k=&quot;speed&quot;,c=&quot;anim&quot;,T=&quot;items&quot;,g=f(J),Z=f(J,&quot;hidden&quot;),H=f(J,E),M=f(J,E,&quot;active&quot;),A=f(J,E,&quot;sliding&quot;),d=f(J,E,&quot;hd&quot;),b=f(J,E,&quot;bd&quot;),K=f(J,E,&quot;ft&quot;),P=f(J,E,&quot;trigger&quot;),h=G+H,C=G+b,Q=&quot;&gt;.&quot;,U=Q+H,R=Q+H+G+P+&quot;,&quot;+Q+H+Q+d+Q+P+&quot;,&quot;+Q+H+Q+K+Q+P,N=function(){N.superclass.constructor.apply(this,arguments);};N.NAME=&quot;NodeAccordion&quot;;N.NS=J;N.ATTRS={activeItems:{readOnly:true,getter:function(Y){return this._root.all(Q+M);}},items:{readOnly:true,getter:function(Y){return this._root.all(U);}},orientation:{value:V,writeOnce:true},fade:{value:false},anim:{value:false,validator:function(Y){return !B.Lang.isUndefined(B.Anim);}},multiple:{value:true},persistent:{value:false},speed:{value:0.4,validator:function(Y){return(B.Lang.isNumber(Y)||(B.Lang.isString(Y)&amp;&amp;I.hasOwnProperty(Y)));},setter:function(Y){return(I.hasOwnProperty(Y)?I[Y]:Y);}}};B.extend(N,B.Plugin.Base,{_root:null,initializer:function(l){var m=this.get(O),Y=[];if(m){this._root=m;this.get(T).each(function(n){if(n.hasClass(M)){this.expandItem(n);}else{this.collapseItem(n);}},this);Y.push(m.delegate(&quot;click&quot;,function(n){this.toggleItem(n.currentTarget);n.target.blur();n.halt();},R,this));Y=this._eventHandlers;m.removeClass(Z);}},destructor:function(){var Y=this._eventHandlers;if(Y){B.Array.each(Y,function(l){l.detach();});this._eventHandlers=null;}},_getItem:function(l){if(B.Lang.isNumber(l)){l=this.get(T).item(l);}var Y=function(m){return m.hasClass(H);};if(l&amp;&amp;!l.hasClass(H)){return l.ancestor(Y);}return l;},_animate:function(n,Y,l){var m=X[n];if((m)&amp;&amp;(m.get(&quot;running&quot;))){m.stop();}if(B.Lang.isFunction(this.get(c))){Y.easing=this.get(c);}m=new B.Anim(Y);m.on(&quot;end&quot;,l,this);m.run();X[n]=m;return m;},_openItem:function(u){var p,Y,s,n,m,r=this.get(T),l=this.get(j),q={duration:this.get(k),to:{scroll:[]}},t;if(u&amp;&amp;r.size()&amp;&amp;!u.hasClass(M)&amp;&amp;(p=u.one(C))&amp;&amp;(Y=B.stamp(p))){if(!this.get(W)){t=this._root.one(Q+M);}q.to[l]=(l==F?p.get(e):p.get(a));q.node=p;u.addClass(A);s=function(){u.removeClass(A);u.addClass(M);};if(!this.get(c)){n=p.get(l);if(B.Lang.isObject(t)){n=t.get(l);t.addClass(A);}for(m=1;m&lt;=n;m++){if(B.Lang.isObject(t)){t.setStyle(l,(n-m)+i);}p.setStyle(l,m+i);}if(B.Lang.isObject(t)){t.removeClass(A);t.removeClass(M);}s();}else{q.to.scroll=[0,0];if(this.get(D)){q.to.opacity=1;}if(B.Lang.isObject(t)){this._closeItem(t);}this._animate(Y,q,s);}}},_closeItem:function(t){var p,Y,s,n,m,r=this.get(T),l=this.get(j),q={duration:this.get(k),to:{scroll:[]}};if(t&amp;&amp;r.size()&amp;&amp;(p=t.one(C))&amp;&amp;(Y=B.stamp(p))){q.to[l]=(((l==V)&amp;&amp;S.ie&amp;&amp;(S.ie&lt;7))?1:0);q.node=p;t.addClass(A);s=function(){t.removeClass(A);t.removeClass(M);};if(!this.get(c)){n=p.get(l);for(m=n;m&gt;=q.to[l].to;m--){p.setStyle(l,m+i);}s();}else{q.to.scroll=(l==F?[p.get(e),0]:[0,p.get(a)]);if(this.get(D)){q.to.opacity=0;}this._animate(Y,q,s);}}},expandAllItems:function(){if(this.get(W)){this.get(T).each(function(Y){this.expandItem(Y);},this);}return this;},collapseAllItems:function(){if(this.get(W)||!this.get(L)){this.get(T).each(function(Y){this.collapseItem(Y);},this);}return this;},expandItem:function(l){var Y=this._getItem(l);if(Y){this._openItem(Y);}return this;},collapseItem:function(l){var Y=this._getItem(l);if(Y&amp;&amp;Y.hasClass(M)&amp;&amp;(this.get(W)||!this.get(L))){this._closeItem(Y);}return this;},toggleItem:function(l){var Y=this._getItem(l);if(Y){((Y.hasClass(M)&amp;&amp;(this.get(W)||!this.get(L)))?this._closeItem(Y):this._openItem(Y));}return this;}});B.namespace(&quot;Plugin&quot;);B.Plugin.NodeAccordion=N;},&quot;gallery-2009.11.02-19&quot;,{requires:[&quot;node-base&quot;,&quot;node-style&quot;,&quot;plugin&quot;,&quot;node-event-delegate&quot;,&quot;classnamemanager&quot;],optional:[&quot;anim&quot;]});
\ No newline at end of file</diff>
      <filename>build/gallery-node-accordion/gallery-node-accordion-min.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ecfe4920fe5111e15b5d93e4a7de5ac13951357</id>
    </parent>
  </parents>
  <author>
    <name>YUI Builder</name>
    <email>build@yuilibrary.com</email>
  </author>
  <url>http://github.com/apm/yui3-gallery/commit/81cdc8f77e9246c9bc7fb55b9633b1eeb4e9f18e</url>
  <id>81cdc8f77e9246c9bc7fb55b9633b1eeb4e9f18e</id>
  <committed-date>2009-11-02T11:43:59-08:00</committed-date>
  <authored-date>2009-11-02T11:43:59-08:00</authored-date>
  <message>Gallery Build Tag: gallery-2009.11.02-19</message>
  <tree>527cf8eaed59fae94b63e4480ec1181dc2671b73</tree>
  <committer>
    <name>YUI Builder</name>
    <email>build@yuilibrary.com</email>
  </committer>
</commit>
