1. Torbjörn Törnkvist
  2. pure

Commits

mic  committed cb62e2a

add error message when no template root found

  • Participants
  • Parent commits 9e43c67
  • Branches default

Comments (0)

Files changed (3)

File index.html

View file
  • Ignore whitespace
 		<!--JSON needed to show the source code only -->
 		<script src="libs/json2.js"></script>
 
-		<script src="libs/pure2.js"></script>
+		<script src="libs/pure2_packed.js"></script>
 
 		<!-- Example page files -->
 		<script src="js/index.js"></script>

File libs/pure2.js

View file
  • Ignore whitespace
 	Copyright (c) 2009 Michael Cvilic - BeeBole.com
 
 	Thanks to Rog Peppe for the functional JS jump
-	revision: 2.22
+	revision: 2.23
 
 * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 	//search for the template node(s)
 	if(typeof sel === 'string'){
 		templates = plugins.find(ctxt || document, sel);
+		templates.length === 0 && error('The template "' + sel + '" was not found');
 	}else if(typeof sel === 'object'){
 		templates = [sel];
-	}else{
-		error('No templates found. Review your selector');
 	}
 	
 	for(var i = 0, ii = templates.length; i < ii; i++){
 				target = plugins.find(dom, selector);
 			}
 			if(!target || target.length === 0){
-				return error('no node found in the template for the selector ' + sel);
+				return error('The node "' + sel + '" was not found in the template');
 			}
 		}else{
 			// autoRender node

File libs/pure2_packed.js

View file
  • Ignore whitespace
     Copyright (c) 2009 Michael Cvilic - BeeBole.com
 
 	Thanks to Rog Peppe for the functional JS jump
-    revision: 2.22
+    revision: 2.23
 
 * * * * * * * * * * * * * * * * * * * * * * * * * */
-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}('9 $p,2r=$p=6(){9 a=2s[0],1W=I;7(x a===\'16\'){1W=2s[1]||I}8 $p.2t(a,1W)};$p.2t=6(l,q,r){9 r=2u(),1c=[];7(x l===\'16\'){1c=r.J(q||F,l)}A 7(x l===\'1X\'){1c=[l]}A{G(\'3b 1c 2v. 3c 1Y Q\')}B(9 i=0,M=1c.y;i<M;i++){r[i]=1c[i]}r.y=M;9 u=\'3d\'+1C.2w(1C.2x()*2y)+\'1Z\',1m=\'3e\'+1C.2w(1C.2x()*2y)+\'1Z\',20=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,2z={3f:\'3g\',2A:\'2B\'};8 r;6 G(e){3h(e);7(x 2C!==\'C\'){2C.3i(e);3j}3k(\'2r G: \'+e);}6 2u(){9 a=$p.Y,f=6(){};f.R=a;f.R.H=a.H||H;f.R.N=a.N||N;f.R.O=a.O||O;f.R.J=a.J||J;f.R.3l=1n;f.R.3m=G;8 3n f()}6 21(b){8 b.21||(6(n){9 a=F.1d(\'3o\'),h;a.22(n.2D(12));h=a.1D;a=17;8 h})(b)}6 1E(o){8 3p.R.3q.3r(o)==="[1X 3s]"}6 1o(b,f){8 6(a){8 b(\'\'+f(a))}}6 23(a,b){b=b||F.3t();9 c,1p;B(9 n 1e a){c=F.1d(n);b.22(c);7(x a[n]===\'1X\'){1p=23(a[n],c)}A{1p=F.1d(a[n]);c.22(1p)}}8 1p};6 J(n,a){7(x n===\'16\'){a=n;n=I}7(x F.2E!==\'C\'){8(n||F).2E(a)}A{G(\'3u 3v 13 2F 3w 24: 3x, 3y.5+, 3z+ 3A 3B+\\n\\3C 3D 2F 2G 1Y 3E, 3F 3G a 3H 3I/3J 24 a 3K Q 3L\')}}6 25(c,d){8 6(a){9 b=[c[0]],n=c.y,1F,1q,1G,1r;B(9 i=1;i<n;i++){1F=d[i](a);1q=c[i];7(1F===\'\'){1G=b[b.y-1];7((1r=1G.3M(/[\\w]+=\\"?$/))>-1){b[b.y-1]=1G.26(0,1r);1q=1q.3N(1)}}b[b.y]=1F;b[b.y]=1q}8 b.27(\'\')}}6 2H(p){9 m=p.1s(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===17){G(\'28 18 2I: "\'+p+\'"\')}7(m[1]===\'1t\'){G(\'"1t<-..." 3O a 3P 3Q B 1H 3R 3S 3T.\\n\\3U 3V 3W 29 B 1Y 18.\')}7(!m[2]){m[2]=6(a){8 a.1I}}8{29:m[1],14:m[2]}}6 1f(c){7(x(c)===\'6\'){8 c}9 m=c.1s(/^[a-3X-Z$1Z][\\w$]*(\\.[\\w$-]*[^\\.])*$/);7(m===17){9 d=I,s=c,1J=[],1g=[],i=0,2a;7(/\\\'|\\"/.13(s.2J(0))){7(/\\\'|\\"/.13(s.2J(s.y-1))){2a=s.26(1,s.y-1);8 6(){8 2a}}}A{2K((m=s.1s(/#\\{([^{}]+)\\}/))!==17){d=12;1J[i++]=s.2L(0,m.2M);1g[i]=1f(m[1]);s=s.2L(m.2M+m[0].y,s.y)}}7(!d){G(\'28 1I Q 2N: \'+c)}1J[i]=s;8 25(1J,1g)}m=c.1K(\'.\');8 6(a){9 b=a.1I;7(!b){8\'\'}9 v=a[m[0]],i=0;7(v){b=v.1t;i+=1}9 n=m.y;B(;i<n;i++){7(!b){2O}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1u(c,d,e){9 f,T,Q,D,P,K=[];7(x d===\'16\'){f=d;9 m=d.1s(20);7(!m){G(\'28 Q 2N: \'+d)}T=m[1];Q=m[2];D=m[3];P=m[4];7(Q===\'.\'||(!Q&&D)){K[0]=c}A{K=r.J(c,Q)}7(!K||K.y===0){8 G(\'2b 1v 2v 1e 1H 3Y B 1H Q \'+d)}}A{T=d.T;D=d.D;P=d.P;K=[c]}7(T||P){7(T&&P){G(\'P/T 2c 3Z 40 41 1H 42 43\')}A 7(e){G(\'2b P/T/19 44 45 B 18 K\')}A 7(P&&e){G(\'2c P 24 18 (14: \'+f+\')\')}}9 g,1a,U,1w,1h,1x;7(D){1w=(/^2P$/i).13(D);1h=(/^46$/i).13(D);1x=1h?\'1i\':D;g=6(a,s){a.47(1m+D,s);7(1x 1e a&&!1w){a[1x]=\'\'}7(a.2Q===1){a.2R(D);1h&&a.2R(1x)}};7(1w){1a=6(a){8 a.2P.48}}A 7(1h){1a=6(a){8 a.1i}}A{1a=6(a){8 a.49(D)}}7(1w||1h){U=6(s){8 s.19(/\\"/g,\'&2S;\')}}A{U=6(s){8 s.19(/\\"/g,\'&2S;\').19(/\\s/g,\'&4a;\')}}}A{7(e){g=6(a,s){9 b=a.1L;7(b){9 t=F.4b(s);a.1L.2d(t,a.4c);a.1L.2e(a)}}}A{1a=6(a){8 a.1D};g=6(a,s){a.1D=s}}U=6(s){8 s}}9 h;7(T){h=6(a,s){g(a,s+1a(a))}}A 7(P){h=6(a,s){g(a,1a(a)+s)}}A{h=6(a,s){g(a,s)}}8{D:D,L:K,2T:h,14:f,U:U}}6 1y(a,n){9 b=u+n+\':\';B(9 i=0;i<a.L.y;i++){a.2T(a.L[i],b)}}6 2f(e,f,g){8 6(c){9 a=f(c),2g=c[e],1M={2U:a},2h=[],2i=6(b){c.2U=a;c.1r=1M.1r=b;c.1t=1M.1t=a[b];2h.2j(g(c))};c[e]=1M;7(1E(a)){B(9 i=0,M=a.y||0;i<M;i++){2i(i)}}A{B(9 d 1e a){a.2k(d)&&2i(d)}}x 2g!==\'C\'?c[e]=2g:4d c[e];8 2h.27(\'\')}}6 2l(a,b,c,d){9 e=I;9 p;B(9 i 1e c){7(c.2k(i)){7(e){G(\'2c 4e 4f 4g 4h 18 2G a K\')}p=i;e=12}}7(!p){G(\'2b 18 2I\')}9 f=c[p];7(x(f)===\'16\'||x(f)===\'6\'){c={};c[p]={4i:f};8 2l(a,b,c,d)}9 g=2H(p),1z=1f(g.14),K=1u(a,b,12),L=K.L;B(i=0;i<L.y;i++){9 h=L[i],1A=1n(h,f);d[d.y]=1o(K.U,2f(g.29,1z,1A));K.L=[h];1y(K,d.y-1)}}6 2V(n,d){9 e=n.4j(\'*\'),2m=[],1j={a:[],l:{}},z,1N,i,M,j,1k,11,1O,2n;B(i=-1,M=e.y;i<M;i++){11=i>-1?e[i]:n;7(11.2Q===1&&11.1i!==\'\'){1O=11.1i.1K(\' \');B(j=0,1k=1O.y;j<1k;j++){2n=1O[j];z=2W(2n,11.15);7(z!==I){1N=(/4k/i).13(z.D);7(z.14.1P(\'@\')>-1||1N){11.1i=11.1i.19(\'@\'+z.D,\'\');7(1N){z.D=I}}2m.2j({n:11,z:z})}}}}8 2m;6 2W(c,a){9 b=c.1s(20),D=b[3]||2z[a],z={T:!!b[1],V:b[2],D:D,P:!!b[4],14:c},i,M,1Q,1R,W;B(i=1j.a.y-1;i>=0;i--){1Q=1j.a[i];1R=1Q.l[0];W=1R&&1R[z.V];7(x W!==\'C\'){z.V=1Q.p+\'.\'+z.V;7(1j.l[z.V]===12){W=W[0]}2O}}7(x W===\'C\'){W=1E(d)?d[0][z.V]:d[z.V];7(x W===\'C\'){8 I}}7(1E(W)){1j.a.2j({l:W,p:z.V});1j.l[z.V]=12;z.t=\'18\'}A{z.t=\'2X\'}8 z}}6 1n(a,b,c,d){9 e=[];d=d||c&&2V(a,c);7(c){9 j,1k,z,n,f,L,1z,1v,1A;2K(d.y>0){z=d[0].z;n=d[0].n;d.4l(0,1);7(z.t===\'2X\'){f=1u(n,z,I);1y(f,e.y);e[e.y]=1o(f.U,1f(z.V))}A{1z=1f(z.14);f=1u(n,z,12);L=f.L;B(j=0,1k=L.y;j<1k;j++){1v=L[j];1A=1n(1v,I,c,d);e[e.y]=1o(f.U,2f(z.14,1z,1A));f.L=[1v];1y(f,e.y-1)}}}}9 f,1l;B(9 g 1e b){7(b.2k(g)){1l=b[g];7(x(1l)===\'6\'||x(1l)===\'16\'){f=1u(a,g,I);1y(f,e.y);e[e.y]=1o(f.U,1f(1l))}A{2l(a,g,1l,e)}}}9 h=21(a),1g=[];7(a.15===\'4m\'&&h.1P(1m+\'4n\')>0){h=h.19(/\\4o\\s/,\' \')}A 7(a.15===\'2A\'&&h.1P(1m+\'2B\')>0){h=h.19(/\\4p=("|\')(\'|")\\s/,\' \')}h=h.1K(1m).27(\'\');9 k=h.1K(u),p;B(9 i=1;i<k.y;i++){p=k[i];1g[i]=e[4q(p,10)];k[i]=p.26(p.1P(\':\')+1)}8 25(k,1g)}6 H(c,d,e){9 f=1n((e||E[0]).2D(12),c,d);8 6(a,b){b=b||a;8 f({1I:a,2o:b})}}6 N(a,b){9 c=x b===\'6\'?b:r.H(b,I,E[0]);B(9 i=0,M=E.y;i<M;i++){E[i]=2p(E[i],c(a,I))}2o=17;8 E}6 O(a,b){9 c=r.H(b,a,E[0]);B(9 i=0,M=E.y;i<M;i++){E[i]=2p(E[i],c(a,I))}2o=17;8 E}6 2p(a,b){9 c=F.1d(\'4r\'),15=a.15.4s(),1B,X;7((/2Y|1S|2Z/).13(15)){9 d={1S:{1T:\'2q\'},2Y:{1T:{2q:\'1S\'}},2Z:{1T:{30:\'1S\'}}};X=23(d[15])}A 7((/2q|30|4t/).13(15)){X=F.1d(\'1T\')}A{X=F.1d(\'4u\')}9 e=a.1L;e.2d(X,a);e.2e(a);X.1D=b;1B=X.4v;e.2d(1B,X);e.2e(X);a=1B;X=1B=e=17;8 a}};$p.Y={};$p.31={1U:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 1U.4w(a,n)}}},32:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 $(n).4x(a)}}33.4y({4z:[\'H\',\'N\',\'O\'],H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $($p(E).N(a,b))[0]},O:6(a,b){8 $($p(E).O(a,b))[0]}})},34:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 $(n).J(a)}}1V.4A.4B({H:6(a,b){8 $p(E[0]).H(a,b)},N:6(a,b){8 1V($p(E[0]).N(a,b))},O:6(a,b){8 1V($p(E[0]).O(a,b))}})},35:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 $(n).4C(a)}}36.4D({H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $p(E).N(a,b)},O:6(a,b){8 $p(E).O(a,b)}})},R:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){n=n===F?n.4E:n;8 x n===\'16\'?$$(n):$(n).4F(a)}}36.4G({H:6(a,b,c){8 $p(a).H(b,c)},N:6(a,b,c){8 $p(a).N(b,c)},O:6(a,b,c){8 $p(a).O(b,c)}})},37:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 38(a,n)}}},39:6(){7(x F.1b===\'C\'){$p.Y.J=6(n,a){8 3a(a,n)}}}};(6(){9 a=x 1U!==\'C\'&&\'1U\'||x 33!==\'C\'&&\'32\'||x 1V!==\'C\'&&\'34\'||x 4H!==\'C\'&&\'35\'||x 4I!==\'C\'&&\'R\'||x 38!==\'C\'&&\'37\'||x 3a!==\'C\'&&\'39\';a&&$p.31[a]()})();',62,293,'||||||function|if|return|var||||||||||||||||||||||||typeof|length|cspec|else|for|undefined|attr|this|document|error|compile|false|find|target|nodes|ii|render|autoRender|append|selector|prototype||prepend|quotefn|prop|val|pa|plugins|||ni|true|test|sel|tagName|string|null|loop|replace|getstr|querySelector|templates|createElement|in|dataselectfn|pfns|isClass|className|openLoops|jj|dsel|attPfx|compiler|wrapquote|leaf|pVal|pos|match|item|gettarget|node|isStyle|attName|setsig|itersel|inner|ne|Math|innerHTML|isArray|fnVal|attLine|the|data|parts|split|parentNode|temp|isNodeValue|cs|indexOf|loopi|loopil|tr|table|dojo|jQuery|ctxt|object|your|_|selRx|outerHTML|appendChild|domify|with|concatenator|substring|join|bad|name|retStr|no|cannot|insertBefore|removeChild|loopfn|old|strs|buildArg|push|hasOwnProperty|loopgen|an|cj|context|replaceWith|tbody|pure|arguments|core|getPlugins|found|floor|random|1000000|autoAttr|INPUT|value|console|cloneNode|querySelectorAll|PURE|on|parseloopspec|spec|charAt|while|slice|index|syntax|break|style|nodeType|removeAttribute|quot|set|items|getAutoNodes|checkClass|str|td|th|thead|libs|domassistant|DOMAssistant|jquery|mootools|Element|sizzle|Sizzle|sly|Sly|No|Review|_s|_a|IMG|src|alert|log|debugger|throw|_compiler|_error|new|div|Object|toString|call|Array|createDocumentFragment|You|can|standalone|iPhone|FF3|Safari4|and|IE8|nTo|run|browser|you|need|JS|library|framework|CSS|engine|search|substr|is|reserved|word|current|running|iteration|nPlease|choose|another|zA|template|take|place|at|same|time|modifiers|allowed|class|setAttribute|cssText|getAttribute|nbsp|createTextNode|nextSibling|delete|have|more|than|one|root|getElementsByTagName|nodevalue|splice|OPTION|selected|sselected|svalue|parseInt|DIV|toLowerCase|tfoot|span|firstChild|query|cssSelect|attach|publicMethods|fn|extend|getElements|implement|body|select|addMethods|MooTools|Prototype'.split('|'),0,{}))
+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}('9 $p,2p=$p=6(){9 a=2q[0],1V=I;7(x a===\'16\'){1V=2q[1]||I}8 $p.2r(a,1V)};$p.2r=6(l,q,r){9 r=2s(),1c=[];7(x l===\'16\'){1c=r.J(q||F,l);1c.y===0&&G(\'2t 2u "\'+l+\'" 2v 2w 2x\')}A 7(x l===\'1W\'){1c=[l]}B(9 i=0,M=1c.y;i<M;i++){r[i]=1c[i]}r.y=M;9 u=\'3f\'+1C.2y(1C.2z()*2A)+\'1X\',1m=\'3g\'+1C.2y(1C.2z()*2A)+\'1X\',1Y=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,2B={3h:\'3i\',2C:\'2D\'};8 r;6 G(e){3j(e);7(x 2E!==\'C\'){2E.3k(e);3l}3m(\'2p G: \'+e);}6 2s(){9 a=$p.X,f=6(){};f.Q=a;f.Q.H=a.H||H;f.Q.N=a.N||N;f.Q.O=a.O||O;f.Q.J=a.J||J;f.Q.3n=1n;f.Q.3o=G;8 3p f()}6 1Z(b){8 b.1Z||(6(n){9 a=F.1d(\'3q\'),h;a.20(n.2F(11));h=a.1D;a=17;8 h})(b)}6 1E(o){8 3r.Q.3s.3t(o)==="[1W 3u]"}6 1o(b,f){8 6(a){8 b(\'\'+f(a))}}6 21(a,b){b=b||F.3v();9 c,1p;B(9 n 1e a){c=F.1d(n);b.20(c);7(x a[n]===\'1W\'){1p=21(a[n],c)}A{1p=F.1d(a[n]);c.20(1p)}}8 1p};6 J(n,a){7(x n===\'16\'){a=n;n=I}7(x F.2G!==\'C\'){8(n||F).2G(a)}A{G(\'3w 3x 12 2H 3y 22: 3z, 3A.5+, 3B+ 3C 3D+\\n\\3E 3F 2H 2I 2J 3G, 3H 3I a 3J 3K/3L 22 a 3M 13 3N\')}}6 23(c,d){8 6(a){9 b=[c[0]],n=c.y,1F,1q,1G,1r;B(9 i=1;i<n;i++){1F=d[i](a);1q=c[i];7(1F===\'\'){1G=b[b.y-1];7((1r=1G.3O(/[\\w]+=\\"?$/))>-1){b[b.y-1]=1G.24(0,1r);1q=1q.3P(1)}}b[b.y]=1F;b[b.y]=1q}8 b.25(\'\')}}6 2K(p){9 m=p.1s(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===17){G(\'26 18 2L: "\'+p+\'"\')}7(m[1]===\'1t\'){G(\'"1t<-..." 3Q a 3R 3S B 27 3T 3U 3V.\\n\\3W 3X 3Y 28 B 2J 18.\')}7(!m[2]){m[2]=6(a){8 a.1H}}8{28:m[1],14:m[2]}}6 1f(c){7(x(c)===\'6\'){8 c}9 m=c.1s(/^[a-3Z-Z$1X][\\w$]*(\\.[\\w$-]*[^\\.])*$/);7(m===17){9 d=I,s=c,1I=[],1g=[],i=0,29;7(/\\\'|\\"/.12(s.2M(0))){7(/\\\'|\\"/.12(s.2M(s.y-1))){29=s.24(1,s.y-1);8 6(){8 29}}}A{2N((m=s.1s(/#\\{([^{}]+)\\}/))!==17){d=11;1I[i++]=s.2O(0,m.2P);1g[i]=1f(m[1]);s=s.2O(m.2P+m[0].y,s.y)}}7(!d){G(\'26 1H 13 2Q: \'+c)}1I[i]=s;8 23(1I,1g)}m=c.1J(\'.\');8 6(a){9 b=a.1H;7(!b){8\'\'}9 v=a[m[0]],i=0;7(v){b=v.1t;i+=1}9 n=m.y;B(;i<n;i++){7(!b){2R}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1u(c,d,e){9 f,R,13,D,P,K=[];7(x d===\'16\'){f=d;9 m=d.1s(1Y);7(!m){G(\'26 13 2Q: \'+d)}R=m[1];13=m[2];D=m[3];P=m[4];7(13===\'.\'||(!13&&D)){K[0]=c}A{K=r.J(c,13)}7(!K||K.y===0){8 G(\'2t 1v "\'+d+\'" 2v 2w 2x 1e 27 2u\')}}A{R=d.R;D=d.D;P=d.P;K=[c]}7(R||P){7(R&&P){G(\'P/R 2a 40 41 42 27 43 44\')}A 7(e){G(\'2S P/R/19 45 46 B 18 K\')}A 7(P&&e){G(\'2a P 22 18 (14: \'+f+\')\')}}9 g,1a,T,1w,1h,1x;7(D){1w=(/^2T$/i).12(D);1h=(/^47$/i).12(D);1x=1h?\'1i\':D;g=6(a,s){a.48(1m+D,s);7(1x 1e a&&!1w){a[1x]=\'\'}7(a.2U===1){a.2V(D);1h&&a.2V(1x)}};7(1w){1a=6(a){8 a.2T.49}}A 7(1h){1a=6(a){8 a.1i}}A{1a=6(a){8 a.4a(D)}}7(1w||1h){T=6(s){8 s.19(/\\"/g,\'&2W;\')}}A{T=6(s){8 s.19(/\\"/g,\'&2W;\').19(/\\s/g,\'&4b;\')}}}A{7(e){g=6(a,s){9 b=a.1K;7(b){9 t=F.4c(s);a.1K.2b(t,a.4d);a.1K.2c(a)}}}A{1a=6(a){8 a.1D};g=6(a,s){a.1D=s}}T=6(s){8 s}}9 h;7(R){h=6(a,s){g(a,s+1a(a))}}A 7(P){h=6(a,s){g(a,1a(a)+s)}}A{h=6(a,s){g(a,s)}}8{D:D,L:K,2X:h,14:f,T:T}}6 1y(a,n){9 b=u+n+\':\';B(9 i=0;i<a.L.y;i++){a.2X(a.L[i],b)}}6 2d(e,f,g){8 6(c){9 a=f(c),2e=c[e],1L={2Y:a},2f=[],2g=6(b){c.2Y=a;c.1r=1L.1r=b;c.1t=1L.1t=a[b];2f.2h(g(c))};c[e]=1L;7(1E(a)){B(9 i=0,M=a.y||0;i<M;i++){2g(i)}}A{B(9 d 1e a){a.2i(d)&&2g(d)}}x 2e!==\'C\'?c[e]=2e:4e c[e];8 2f.25(\'\')}}6 2j(a,b,c,d){9 e=I;9 p;B(9 i 1e c){7(c.2i(i)){7(e){G(\'2a 4f 4g 4h 4i 18 2I a K\')}p=i;e=11}}7(!p){G(\'2S 18 2L\')}9 f=c[p];7(x(f)===\'16\'||x(f)===\'6\'){c={};c[p]={4j:f};8 2j(a,b,c,d)}9 g=2K(p),1z=1f(g.14),K=1u(a,b,11),L=K.L;B(i=0;i<L.y;i++){9 h=L[i],1A=1n(h,f);d[d.y]=1o(K.T,2d(g.28,1z,1A));K.L=[h];1y(K,d.y-1)}}6 2Z(n,d){9 e=n.4k(\'*\'),2k=[],1j={a:[],l:{}},z,1M,i,M,j,1k,Y,1N,2l;B(i=-1,M=e.y;i<M;i++){Y=i>-1?e[i]:n;7(Y.2U===1&&Y.1i!==\'\'){1N=Y.1i.1J(\' \');B(j=0,1k=1N.y;j<1k;j++){2l=1N[j];z=30(2l,Y.15);7(z!==I){1M=(/4l/i).12(z.D);7(z.14.1O(\'@\')>-1||1M){Y.1i=Y.1i.19(\'@\'+z.D,\'\');7(1M){z.D=I}}2k.2h({n:Y,z:z})}}}}8 2k;6 30(c,a){9 b=c.1s(1Y),D=b[3]||2B[a],z={R:!!b[1],U:b[2],D:D,P:!!b[4],14:c},i,M,1P,1Q,V;B(i=1j.a.y-1;i>=0;i--){1P=1j.a[i];1Q=1P.l[0];V=1Q&&1Q[z.U];7(x V!==\'C\'){z.U=1P.p+\'.\'+z.U;7(1j.l[z.U]===11){V=V[0]}2R}}7(x V===\'C\'){V=1E(d)?d[0][z.U]:d[z.U];7(x V===\'C\'){8 I}}7(1E(V)){1j.a.2h({l:V,p:z.U});1j.l[z.U]=11;z.t=\'18\'}A{z.t=\'31\'}8 z}}6 1n(a,b,c,d){9 e=[];d=d||c&&2Z(a,c);7(c){9 j,1k,z,n,f,L,1z,1v,1A;2N(d.y>0){z=d[0].z;n=d[0].n;d.4m(0,1);7(z.t===\'31\'){f=1u(n,z,I);1y(f,e.y);e[e.y]=1o(f.T,1f(z.U))}A{1z=1f(z.14);f=1u(n,z,11);L=f.L;B(j=0,1k=L.y;j<1k;j++){1v=L[j];1A=1n(1v,I,c,d);e[e.y]=1o(f.T,2d(z.14,1z,1A));f.L=[1v];1y(f,e.y-1)}}}}9 f,1l;B(9 g 1e b){7(b.2i(g)){1l=b[g];7(x(1l)===\'6\'||x(1l)===\'16\'){f=1u(a,g,I);1y(f,e.y);e[e.y]=1o(f.T,1f(1l))}A{2j(a,g,1l,e)}}}9 h=1Z(a),1g=[];7(a.15===\'4n\'&&h.1O(1m+\'4o\')>0){h=h.19(/\\4p\\s/,\' \')}A 7(a.15===\'2C\'&&h.1O(1m+\'2D\')>0){h=h.19(/\\4q=("|\')(\'|")\\s/,\' \')}h=h.1J(1m).25(\'\');9 k=h.1J(u),p;B(9 i=1;i<k.y;i++){p=k[i];1g[i]=e[4r(p,10)];k[i]=p.24(p.1O(\':\')+1)}8 23(k,1g)}6 H(c,d,e){9 f=1n((e||E[0]).2F(11),c,d);8 6(a,b){b=b||a;8 f({1H:a,2m:b})}}6 N(a,b){9 c=x b===\'6\'?b:r.H(b,I,E[0]);B(9 i=0,M=E.y;i<M;i++){E[i]=2n(E[i],c(a,I))}2m=17;8 E}6 O(a,b){9 c=r.H(b,a,E[0]);B(9 i=0,M=E.y;i<M;i++){E[i]=2n(E[i],c(a,I))}2m=17;8 E}6 2n(a,b){9 c=F.1d(\'4s\'),15=a.15.4t(),1B,W;7((/32|1R|33/).12(15)){9 d={1R:{1S:\'2o\'},32:{1S:{2o:\'1R\'}},33:{1S:{34:\'1R\'}}};W=21(d[15])}A 7((/2o|34|4u/).12(15)){W=F.1d(\'1S\')}A{W=F.1d(\'4v\')}9 e=a.1K;e.2b(W,a);e.2c(a);W.1D=b;1B=W.4w;e.2b(1B,W);e.2c(W);a=1B;W=1B=e=17;8 a}};$p.X={};$p.35={1T:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 1T.4x(a,n)}}},36:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 $(n).4y(a)}}37.4z({4A:[\'H\',\'N\',\'O\'],H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $($p(E).N(a,b))[0]},O:6(a,b){8 $($p(E).O(a,b))[0]}})},38:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 $(n).J(a)}}1U.4B.4C({H:6(a,b){8 $p(E[0]).H(a,b)},N:6(a,b){8 1U($p(E[0]).N(a,b))},O:6(a,b){8 1U($p(E[0]).O(a,b))}})},39:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 $(n).4D(a)}}3a.4E({H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $p(E).N(a,b)},O:6(a,b){8 $p(E).O(a,b)}})},Q:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){n=n===F?n.4F:n;8 x n===\'16\'?$$(n):$(n).4G(a)}}3a.4H({H:6(a,b,c){8 $p(a).H(b,c)},N:6(a,b,c){8 $p(a).N(b,c)},O:6(a,b,c){8 $p(a).O(b,c)}})},3b:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 3c(a,n)}}},3d:6(){7(x F.1b===\'C\'){$p.X.J=6(n,a){8 3e(a,n)}}}};(6(){9 a=x 1T!==\'C\'&&\'1T\'||x 37!==\'C\'&&\'36\'||x 1U!==\'C\'&&\'38\'||x 4I!==\'C\'&&\'39\'||x 4J!==\'C\'&&\'Q\'||x 3c!==\'C\'&&\'3b\'||x 3e!==\'C\'&&\'3d\';a&&$p.35[a]()})();',62,294,'||||||function|if|return|var||||||||||||||||||||||||typeof|length|cspec|else|for|undefined|attr|this|document|error|compile|false|find|target|nodes|ii|render|autoRender|append|prototype|prepend||quotefn|prop|val|pa|plugins|ni|||true|test|selector|sel|tagName|string|null|loop|replace|getstr|querySelector|templates|createElement|in|dataselectfn|pfns|isClass|className|openLoops|jj|dsel|attPfx|compiler|wrapquote|leaf|pVal|pos|match|item|gettarget|node|isStyle|attName|setsig|itersel|inner|ne|Math|innerHTML|isArray|fnVal|attLine|data|parts|split|parentNode|temp|isNodeValue|cs|indexOf|loopi|loopil|tr|table|dojo|jQuery|ctxt|object|_|selRx|outerHTML|appendChild|domify|with|concatenator|substring|join|bad|the|name|retStr|cannot|insertBefore|removeChild|loopfn|old|strs|buildArg|push|hasOwnProperty|loopgen|an|cj|context|replaceWith|tbody|pure|arguments|core|getPlugins|The|template|was|not|found|floor|random|1000000|autoAttr|INPUT|value|console|cloneNode|querySelectorAll|PURE|on|your|parseloopspec|spec|charAt|while|slice|index|syntax|break|no|style|nodeType|removeAttribute|quot|set|items|getAutoNodes|checkClass|str|td|th|thead|libs|domassistant|DOMAssistant|jquery|mootools|Element|sizzle|Sizzle|sly|Sly|_s|_a|IMG|src|alert|log|debugger|throw|_compiler|_error|new|div|Object|toString|call|Array|createDocumentFragment|You|can|standalone|iPhone|FF3|Safari4|and|IE8|nTo|run|browser|you|need|JS|library|framework|CSS|engine|search|substr|is|reserved|word|current|running|iteration|nPlease|choose|another|zA|take|place|at|same|time|modifiers|allowed|class|setAttribute|cssText|getAttribute|nbsp|createTextNode|nextSibling|delete|have|more|than|one|root|getElementsByTagName|nodevalue|splice|OPTION|selected|sselected|svalue|parseInt|DIV|toLowerCase|tfoot|span|firstChild|query|cssSelect|attach|publicMethods|fn|extend|getElements|implement|body|select|addMethods|MooTools|Prototype'.split('|'),0,{}))