emblem-source 0.1.18 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/dist/emblem.js +893 -749
  2. data/dist/emblem.min.js +2 -2
  3. metadata +2 -2
data/dist/emblem.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(e){(function(e){var t;t=function(){function e(e){this.str=e!=null?e:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset(),this}return e.prototype.bol=function(){return this.pos<=0||this.str[this.pos-1]==="\n"},e.prototype.captures=function(){return this.lastMatch.captures},e.prototype.check=function(e){var t;return this.str.substr(this.pos).search(e)!==0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),this.lastMatch.str)},e.prototype.checkUntil=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.captures=t.slice(1),this.lastMatch.str=this.str.substr(this.pos,n)+t[0])},e.prototype.clone=function(){var e,t,n,r;e=new this.constructor(this.str),e.pos=this.pos,e.lastMatch={},r=this.lastMatch;for(t in r)n=r[t],e.lastMatch[t]=n;return e},e.prototype.concat=function(e){return this.str+=e,this},e.prototype.eos=function(){return this.pos===this.str.length},e.prototype.exists=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),n)},e.prototype.getch=function(){return this.scan(/./)},e.prototype.match=function(){return this.lastMatch.str},e.prototype.matches=function(e){return this.check(e),this.matchSize()},e.prototype.matched=function(){return this.lastMatch.str!=null},e.prototype.matchSize=function(){return this.matched()?this.match().length:null},e.prototype.peek=function(e){return this.str.substr(this.pos,e)},e.prototype.pointer=function(){return this.pos},e.prototype.setPointer=function(e){return e=+e,e<0&&(e=0),e>this.str.length&&(e=this.str.length),this.pos=e},e.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},e.prototype.rest=function(){return this.str.substr(this.pos)},e.prototype.scan=function(e){var t;return t=this.check(e),t!=null&&(this.pos+=t.length),t},e.prototype.scanUntil=function(e){var t;return t=this.checkUntil(e),t!=null&&(this.pos+=t.length),t},e.prototype.skip=function(e){return this.scan(e),this.matchSize()},e.prototype.skipUntil=function(e){return this.scanUntil(e),this.matchSize()},e.prototype.string=function(){return this.str},e.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},e.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},e}(),t.prototype.beginningOfLine=t.prototype.bol,t.prototype.clear=t.prototype.terminate,t.prototype.dup=t.prototype.clone,t.prototype.endOfString=t.prototype.eos,t.prototype.exist=t.prototype.exists,t.prototype.getChar=t.prototype.getch,t.prototype.position=t.prototype.pointer,t.StringScanner=t,this.StringScanner=t})(this);var t=this.StringScanner,n;this.Emblem={},n=this.Emblem,n.VERSION="0.1.17",n.Parser=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=s(e,t)}function r(e){function Br(){return e.substring(Ar,Lr)}function jr(){return Ar}function Fr(){return qr(Ar).line}function Ir(){return qr(Ar).column}function qr(t){function n(t,n){var r,i;for(r=0;r<n;r++)i=e.charAt(r),i==="\n"?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):i==="\r"||i==="\u2028"||i==="\u2029"?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return Or!==t&&(Or>t&&(Or=0,Mr={line:1,column:1,seenCR:!1}),Or=t,n(Mr,Or)),Mr}function Rr(e){if(Lr<_r)return;Lr>_r&&(_r=Lr,Dr=[]),Dr.push(e)}function Ur(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function zr(){var e;return e=Wr(),e}function Wr(){var e,t,n,r,i,s,l,c,h;return e=Lr,t=Vr(),t!==null?(n=Lr,r=Ps(),r!==null?(i=Xr(),i!==null?(s=Is(),s!==null?(l=Bs(),l!==null?(c=_s(),c!==null?(h=Vr(),h!==null?(Ar=n,r=a(h),r===null?(Lr=n,n=r):n=r):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o),n===null&&(n=u),n!==null?(Ar=e,t=f(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function Xr(){var t,n,r,i;return t=Lr,n=Lr,e.charCodeAt(Lr)===61?(r=l,Lr++):(r=null,Pr===0&&Rr(c)),r!==null?(i=Is(),i!==null?(r=[r,i],n=r):(Lr=n,n=o)):(Lr=n,n=o),n===null&&(n=u),n!==null?(e.substr(Lr,4)===h?(r=h,Lr+=4):(r=null,Pr===0&&Rr(p)),r!==null?(n=[n,r],t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Vr(){var e,t,n;e=Lr,t=[],n=$r();while(n!==null)t.push(n),n=$r();return t!==null&&(Ar=e,t=v(t)),t===null?(Lr=e,e=t):e=t,e}function $r(){var e,t;return Pr++,e=Jr(),e===null&&(e=ei(),e===null&&(e=Kr(),e===null&&(e=Gr(),e===null&&(e=Pi(),e===null&&(e=Yr()))))),Pr--,e===null&&(t=null,Pr===0&&Rr(m)),e}function Jr(){var e,t,n;return e=Lr,t=Is(),t!==null?(n=Bs(),n!==null?(Ar=e,t=g(),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function Kr(){var t,n,r,i,s,u,a,f;t=Lr,e.charCodeAt(Lr)===62?(n=y,Lr++):(n=null,Pr===0&&Rr(b));if(n!==null){r=Is();if(r!==null){i=Qr();if(i!==null){s=Is();if(s!==null){u=[],a=pi();while(a!==null)u.push(a),a=pi();u!==null?(a=Is(),a!==null?(f=Bs(),f!==null?(Ar=t,n=w(i,u),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o}else Lr=t,t=o}else Lr=t,t=o;return t}function Qr(){var t,n,r,i;t=Lr,n=Lr,r=[],E.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(S));if(i!==null)while(i!==null)r.push(i),E.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(S));else r=o;return r!==null&&(r=e.substring(n,Lr)),n=r,n!==null&&(Ar=t,n=x(n)),n===null?(Lr=t,t=n):t=n,t}function Gr(){var e;return e=ri(),e===null&&(e=ii()),e}function Yr(){var e,t;return e=Lr,t=ui(),t===null&&(t=ti()),t!==null&&(Ar=e,t=T(t)),t===null?(Lr=e,e=t):e=t,e}function Zr(){var e,t,n,r,i,s,u,a;e=Lr,t=Us();if(t!==null){n=Bs();if(n!==null){r=[],i=Lr,s=_s();if(s!==null){u=[],a=Zr();if(a!==null)while(a!==null)u.push(a),a=Zr();else u=o;u!==null?(a=js(),a!==null?(s=[s,u,a],i=s):(Lr=i,i=o)):(Lr=i,i=o)}else Lr=i,i=o;while(i!==null){r.push(i),i=Lr,s=_s();if(s!==null){u=[],a=Zr();if(a!==null)while(a!==null)u.push(a),a=Zr();else u=o;u!==null?(a=js(),a!==null?(s=[s,u,a],i=s):(Lr=i,i=o)):(Lr=i,i=o)}else Lr=i,i=o}r!==null?(Ar=e,t=g(),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o}else Lr=e,e=o;return e}function ei(){var t,n,r;return t=Lr,e.charCodeAt(Lr)===47?(n=N,Lr++):(n=null,Pr===0&&Rr(C)),n!==null?(r=Zr(),r!==null?(Ar=t,n=g(),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function ti(){var e;return e=ni(),e===null&&(e=si()),e}function ni(){var t,n,r;return t=Lr,n=Lr,Pr++,k.test(e.charAt(Lr))?(r=e.charAt(Lr),Lr++):(r=null,Pr===0&&Rr(L)),Pr--,r!==null?(Lr=n,n=u):n=o,n!==null?(r=si(),r!==null?(Ar=t,n=A(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function ri(){var e,t,n,r,i,s,a,f,l;e=Lr,t=os();if(t!==null){n=Is();if(n!==null){r=Bs();if(r!==null){i=Lr,s=[],a=Jr();while(a!==null)s.push(a),a=Jr();s!==null?(a=_s(),a!==null?(f=Vr(),f!==null?(l=Ps(),l!==null?(s=[s,a,f,l],i=s):(Lr=i,i=o)):(Lr=i,i=o)):(Lr=i,i=o)):(Lr=i,i=o),i===null&&(i=u),i!==null?(Ar=e,t=O(t,i),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o}else Lr=e,e=o}else Lr=e,e=o;return e}function ii(){var t,n,r,i,s,a,f,h;t=Lr,n=os();if(n!==null){e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_)),r===null&&(r=Lr,Pr++,e.charCodeAt(Lr)===61?(i=l,Lr++):(i=null,Pr===0&&Rr(c)),Pr--,i!==null?(Lr=r,r=u):r=o);if(r!==null){i=Mi();if(i!==null){s=Lr,a=_s();if(a!==null){f=[],h=_i();if(h!==null)while(h!==null)f.push(h),h=_i();else f=o;f!==null?(h=Ps(),h!==null?(a=[a,f,h],s=a):(Lr=s,s=o)):(Lr=s,s=o)}else Lr=s,s=o;s===null&&(s=u),s!==null?(Ar=t,n=D(n,i,s),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o}else Lr=t,t=o;return t}function si(){var e,t,n,r,i,s,a,f,l;e=oi();if(e===null){e=Lr,t=ai();if(t!==null){n=Is();if(n!==null){r=Bs();if(r!==null){i=Lr,s=[],a=Jr();while(a!==null)s.push(a),a=Jr();s!==null?(a=_s(),a!==null?(f=Wr(),f!==null?(l=Ps(),l!==null?(s=[s,a,f,l],i=s):(Lr=i,i=o)):(Lr=i,i=o)):(Lr=i,i=o)):(Lr=i,i=o),i===null&&(i=u),i!==null?(Ar=e,t=P(t,i),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o}else Lr=e,e=o}else Lr=e,e=o}return e}function oi(){var e,t,n,r;return e=Lr,t=ai(),t!==null?(n=Is(),n!==null?(r=Pi(),r!==null?(Ar=e,t=H(t,r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o),e}function ui(){var e,t,n;return e=Lr,t=ss(),t!==null?(n=si(),n!==null?(Ar=e,t=B(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function ai(){var t,n,r,i,s,a;t=Lr,e.charCodeAt(Lr)===62?(n=y,Lr++):(n=null,Pr===0&&Rr(b)),n===null&&(n=u);if(n!==null){r=Is();if(r!==null){i=Ei();if(i!==null){s=[],a=pi();while(a!==null)s.push(a),a=pi();s!==null?(a=di(),a===null&&(a=u),a!==null?(Ar=t,n=j(n,i,s,a),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o}else Lr=t,t=o;return t}function fi(){var e,t;return e=Lr,t=bs(),t!==null&&(Ar=e,t=F(t)),t===null?(Lr=e,e=t):e=t,e===null&&(e=Lr,t=ws(),t!==null&&(Ar=e,t=I(t)),t===null?(Lr=e,e=t):e=t,e===null&&(e=Lr,t=Es(),t!==null&&(Ar=e,t=q(t)),t===null?(Lr=e,e=t):e=t)),e}function li(){var e;return e=ci(),e===null&&(e=hi()),e}function ci(){var e,t,n,r;e=Lr,t=ws();if(t!==null){n=[],r=Es();while(r!==null)n.push(r),r=Es();n!==null?(Ar=e,t=R(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o;return e}function hi(){var e,t,n;e=Lr,t=[],n=Es();if(n!==null)while(n!==null)t.push(n),n=Es();else t=o;return t!==null&&(Ar=e,t=U(t)),t===null?(Lr=e,e=t):e=t,e}function pi(){var e,t,n;return e=Lr,t=Is(),t!==null?(n=fi(),n===null&&(n=yi()),n!==null?(Ar=e,t=z(n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function di(){var e,t,n;e=Lr,t=[],n=gi();if(n!==null)while(n!==null)t.push(n),n=gi();else t=o;return t!==null&&(Ar=e,t=W(t)),t===null?(Lr=e,e=t):e=t,e}function vi(){var t,n,r,i;Pr++,e.substr(Lr,2)===V?(t=V,Lr+=2):(t=null,Pr===0&&Rr($));if(t===null){e.charCodeAt(Lr)===46?(t=J,Lr++):(t=null,Pr===0&&Rr(K));if(t===null){t=Lr,n=Lr,r=[],Q.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(G));if(i!==null)while(i!==null)r.push(i),Q.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(G));else r=o;r!==null&&(r=e.substring(n,Lr)),n=r,n!==null?(r=Lr,Pr++,e.charCodeAt(Lr)===61?(i=l,Lr++):(i=null,Pr===0&&Rr(c)),Pr--,i===null?r=u:(Lr=r,r=o),r!==null?(Ar=t,n=Y(n),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)}}return Pr--,t===null&&(n=null,Pr===0&&Rr(X)),t}function mi(){var e,t;return Pr++,e=xs(),Pr--,e===null&&(t=null,Pr===0&&Rr(Z)),e}function gi(){var t,n,r,i,s,u;return t=Lr,n=Is(),n!==null?(r=Lr,i=mi(),i!==null?(e.charCodeAt(Lr)===61?(s=l,Lr++):(s=null,Pr===0&&Rr(c)),s!==null?(u=Ti(),u!==null?(i=[i,s,u],r=i):(Lr=r,r=o)):(Lr=r,r=o)):(Lr=r,r=o),r===null&&(r=Lr,i=mi(),i!==null?(e.charCodeAt(Lr)===61?(s=l,Lr++):(s=null,Pr===0&&Rr(c)),s!==null?(u=xi(),u!==null?(i=[i,s,u],r=i):(Lr=r,r=o)):(Lr=r,r=o)):(Lr=r,r=o),r===null&&(r=Lr,i=mi(),i!==null?(e.charCodeAt(Lr)===61?(s=l,Lr++):(s=null,Pr===0&&Rr(c)),s!==null?(u=Ei(),u!==null?(i=[i,s,u],r=i):(Lr=r,r=o)):(Lr=r,r=o)):(Lr=r,r=o),r===null&&(r=Lr,i=mi(),i!==null?(e.charCodeAt(Lr)===61?(s=l,Lr++):(s=null,Pr===0&&Rr(c)),s!==null?(u=Si(),u!==null?(i=[i,s,u],r=i):(Lr=r,r=o)):(Lr=r,r=o)):(Lr=r,r=o)))),r!==null?(Ar=t,n=et(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function yi(){var e;return e=Ei(),e===null&&(e=Si(),e===null&&(e=xi(),e===null&&(e=Ti()))),e}function bi(){var e,t,n,r,i,s;e=Lr,t=vi();if(t!==null){n=[],r=Lr,i=wi(),i!==null?(s=vi(),s!==null?(Ar=r,i=tt(s),i===null?(Lr=r,r=i):r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=wi(),i!==null?(s=vi(),s!==null?(Ar=r,i=tt(s),i===null?(Lr=r,r=i):r=i):(Lr=r,r=o)):(Lr=r,r=o);n!==null?(Ar=e,t=nt(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o;return e}function wi(){var t,n;return Pr++,it.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(st)),Pr--,t===null&&(n=null,Pr===0&&Rr(rt)),t}function Ei(){var e,t;return e=Lr,t=bi(),t!==null&&(Ar=e,t=ot(t)),t===null?(Lr=e,e=t):e=t,e}function Si(){var e,t;return e=Lr,t=ki(),t!==null&&(Ar=e,t=ut(t)),t===null?(Lr=e,e=t):e=t,e}function xi(){var e,t;return e=Lr,t=Ci(),t!==null&&(Ar=e,t=at(t)),t===null?(Lr=e,e=t):e=t,e}function Ti(){var e,t;return e=Lr,t=Ni(),t!==null&&(Ar=e,t=ft(t)),t===null?(Lr=e,e=t):e=t,e}function Ni(){var t,n;return Pr++,e.substr(Lr,4)===ct?(t=ct,Lr+=4):(t=null,Pr===0&&Rr(ht)),t===null&&(e.substr(Lr,5)===pt?(t=pt,Lr+=5):(t=null,Pr===0&&Rr(dt))),Pr--,t===null&&(n=null,Pr===0&&Rr(lt)),t}function Ci(){var t,n,r,i;Pr++,t=Lr,n=Lr,r=[],mt.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(gt));if(i!==null)while(i!==null)r.push(i),mt.test(e.charAt(Lr))?(i=e.charAt(Lr),Lr++):(i=null,Pr===0&&Rr(gt));else r=o;return r!==null&&(r=e.substring(n,Lr)),n=r,n!==null&&(Ar=t,n=yt(n)),n===null?(Lr=t,t=n):t=n,Pr--,t===null&&(n=null,Pr===0&&Rr(vt)),t}function ki(){var t,n,r,i,s;return t=Lr,n=Lr,e.charCodeAt(Lr)===34?(r=bt,Lr++):(r=null,Pr===0&&Rr(wt)),r!==null?(i=Li(),i!==null?(e.charCodeAt(Lr)===34?(s=bt,Lr++):(s=null,Pr===0&&Rr(wt)),s!==null?(r=[r,i,s],n=r):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o),n===null&&(n=Lr,e.charCodeAt(Lr)===39?(r=Et,Lr++):(r=null,Pr===0&&Rr(St)),r!==null?(i=Ai(),i!==null?(e.charCodeAt(Lr)===39?(s=Et,Lr++):(s=null,Pr===0&&Rr(St)),s!==null?(r=[r,i,s],n=r):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o)),n!==null&&(Ar=t,n=xt(n)),n===null?(Lr=t,t=n):t=n,t}function Li(){var t,n,r,i,s;t=Lr,n=[],r=Lr,i=Lr,Pr++,s=Bs(),Pr--,s===null?i=u:(Lr=i,i=o),i!==null?(Tt.test(e.charAt(Lr))?(s=e.charAt(Lr),Lr++):(s=null,Pr===0&&Rr(Nt)),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=Lr,Pr++,s=Bs(),Pr--,s===null?i=u:(Lr=i,i=o),i!==null?(Tt.test(e.charAt(Lr))?(s=e.charAt(Lr),Lr++):(s=null,Pr===0&&Rr(Nt)),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);return n!==null&&(n=e.substring(t,Lr)),t=n,t}function Ai(){var t,n,r,i,s;t=Lr,n=[],r=Lr,i=Lr,Pr++,s=Bs(),Pr--,s===null?i=u:(Lr=i,i=o),i!==null?(Ct.test(e.charAt(Lr))?(s=e.charAt(Lr),Lr++):(s=null,Pr===0&&Rr(kt)),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=Lr,Pr++,s=Bs(),Pr--,s===null?i=u:(Lr=i,i=o),i!==null?(Ct.test(e.charAt(Lr))?(s=e.charAt(Lr),Lr++):(s=null,Pr===0&&Rr(kt)),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);return n!==null&&(n=e.substring(t,Lr)),t=n,t}function Oi(){var t;return Lt.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(At)),t}function Mi(){var e,t,n;return e=Lr,t=Is(),t!==null?(n=ui(),n!==null?(Ar=e,t=Ot(n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e===null&&(e=Hi()),e}function _i(){var e,t,n,r,i;e=Lr,t=_s();if(t!==null){n=Hi();if(n!==null){r=[],i=_i();while(i!==null)r.push(i),i=_i();r!==null?(i=js(),i!==null?(Ar=e,t=Mt(t,n,r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)}else Lr=e,e=o}else Lr=e,e=o;return e===null&&(e=Hi()),e}function Di(){var t,n,r;return t=Lr,_t.test(e.charAt(Lr))?(n=e.charAt(Lr),Lr++):(n=null,Pr===0&&Rr(Dt)),n!==null?(e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_)),r===null&&(r=u),r!==null?(Ar=t,n=Y(n),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t===null&&(t=Lr,n=Lr,Pr++,e.charCodeAt(Lr)===60?(r=Pt,Lr++):(r=null,Pr===0&&Rr(Ht)),Pr--,r!==null?(Lr=n,n=u):n=o,n!==null&&(Ar=t,n=Bt()),n===null?(Lr=t,t=n):t=n),t}function Pi(){var e,t,n,r,i,s,a;e=Lr,t=Di();if(t!==null){n=Hi();if(n!==null){r=Lr,i=_s();if(i!==null){s=[],a=_i();while(a!==null)s.push(a),a=_i();s!==null?(a=Ps(),a!==null?(i=[i,s,a],r=i):(Lr=r,r=o)):(Lr=r,r=o)}else Lr=r,r=o;r===null&&(r=u),r!==null?(Ar=e,t=jt(t,n,r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o}else Lr=e,e=o;return e}function Hi(){var e,t,n,r,i,s;e=Lr,t=Vi(),t===null&&(t=u);if(t!==null){n=[],r=Lr,i=Ii(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=Ii(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);n!==null?(r=Bs(),r!==null?(Ar=e,t=Ft(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)}else Lr=e,e=o;return e}function Bi(){var t,n,r,i;return t=Lr,e.charCodeAt(Lr)===34?(n=bt,Lr++):(n=null,Pr===0&&Rr(wt)),n!==null?(r=ji(),r!==null?(e.charCodeAt(Lr)===34?(i=bt,Lr++):(i=null,Pr===0&&Rr(wt)),i!==null?(Ar=t,n=It(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o),t===null&&(t=Lr,e.charCodeAt(Lr)===39?(n=Et,Lr++):(n=null,Pr===0&&Rr(St)),n!==null?(r=Fi(),r!==null?(e.charCodeAt(Lr)===39?(i=Et,Lr++):(i=null,Pr===0&&Rr(St)),i!==null?(Ar=t,n=It(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o)),t}function ji(){var e,t,n,r,i,s;e=Lr,t=Ui(),t===null&&(t=u);if(t!==null){n=[],r=Lr,i=Ii(),i!==null?(s=Ui(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=Ii(),i!==null?(s=Ui(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);n!==null?(Ar=e,t=qt(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o;return e}function Fi(){var e,t,n,r,i,s;e=Lr,t=zi(),t===null&&(t=u);if(t!==null){n=[],r=Lr,i=Ii(),i!==null?(s=zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);while(r!==null)n.push(r),r=Lr,i=Ii(),i!==null?(s=zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Lr=r,r=o)):(Lr=r,r=o);n!==null?(Ar=e,t=qt(t,n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)}else Lr=e,e=o;return e}function Ii(){var e;return e=Ri(),e===null&&(e=qi()),e}function qi(){var e,t,n,r,i,s;return e=Lr,t=Yi(),t!==null?(n=Is(),n!==null?(r=ai(),r!==null?(i=Is(),i!==null?(s=ts(),s!==null?(Ar=e,t=Rt(r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o),e===null&&(e=Lr,t=rs(),t!==null?(n=Is(),n!==null?(r=ai(),r!==null?(i=Is(),i!==null?(s=is(),s!==null?(Ar=e,t=Rt(r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)),e}function Ri(){var e,t,n,r,i,s;return e=Lr,t=Zi(),t!==null?(n=Is(),n!==null?(r=ai(),r!==null?(i=Is(),i!==null?(s=ns(),s!==null?(Ar=e,t=Ut(r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o),e}function Ui(){var t,n,r,i;t=Lr,n=Lr,r=[],i=Wi();if(i!==null)while(i!==null)r.push(i),i=Wi();else r=o;return r!==null&&(r=e.substring(n,Lr)),n=r,n!==null&&(Ar=t,n=zt(n)),n===null?(Lr=t,t=n):t=n,t}function zi(){var t,n,r,i;t=Lr,n=Lr,r=[],i=Xi();if(i!==null)while(i!==null)r.push(i),i=Xi();else r=o;return r!==null&&(r=e.substring(n,Lr)),n=r,n!==null&&(Ar=t,n=zt(n)),n===null?(Lr=t,t=n):t=n,t}function Wi(){var t,n,r;return t=Lr,n=Lr,Pr++,r=Ji(),r===null&&(e.charCodeAt(Lr)===34?(r=bt,Lr++):(r=null,Pr===0&&Rr(wt))),Pr--,r===null?n=u:(Lr=n,n=o),n!==null?(e.length>Lr?(r=e.charAt(Lr),Lr++):(r=null,Pr===0&&Rr(Wt)),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Xi(){var t,n,r;return t=Lr,n=Lr,Pr++,r=Ji(),r===null&&(e.charCodeAt(Lr)===39?(r=Et,Lr++):(r=null,Pr===0&&Rr(St))),Pr--,r===null?n=u:(Lr=n,n=o),n!==null?(e.length>Lr?(r=e.charAt(Lr),Lr++):(r=null,Pr===0&&Rr(Wt)),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Vi(){var t,n,r,i;t=Lr,n=Lr,r=[],i=$i();if(i!==null)while(i!==null)r.push(i),i=$i();else r=o;return r!==null&&(r=e.substring(n,Lr)),n=r,n!==null&&(Ar=t,n=zt(n)),n===null?(Lr=t,t=n):t=n,t}function $i(){var t,n,r;return t=Lr,n=Lr,Pr++,r=Ji(),Pr--,r===null?n=u:(Lr=n,n=o),n!==null?(e.length>Lr?(r=e.charAt(Lr),Lr++):(r=null,Pr===0&&Rr(Wt)),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Ji(){var e;return e=Zi(),e===null&&(e=Yi(),e===null&&(e=rs(),e===null&&(e=js(),e===null&&(e=Bs())))),e}function Ki(){var e,t,n,r,i,s;return e=Lr,t=Gi(),t!==null?(n=Is(),n!==null?(r=ai(),r!==null?(i=Is(),i!==null?(s=es(),s!==null?(Ar=e,t=Rt(r),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o)):(Lr=e,e=o),e}function Qi(){var e;return e=Ki(),e===null&&(e=Ri(),e===null&&(e=qi())),e}function Gi(){var t,n;return Pr++,e.charCodeAt(Lr)===123?(t=$t,Lr++):(t=null,Pr===0&&Rr(Jt)),Pr--,t===null&&(n=null,Pr===0&&Rr(Vt)),t}function Yi(){var t,n;return Pr++,e.substr(Lr,2)===Qt?(t=Qt,Lr+=2):(t=null,Pr===0&&Rr(Gt)),Pr--,t===null&&(n=null,Pr===0&&Rr(Kt)),t}function Zi(){var t,n;return Pr++,e.substr(Lr,3)===Zt?(t=Zt,Lr+=3):(t=null,Pr===0&&Rr(en)),Pr--,t===null&&(n=null,Pr===0&&Rr(Yt)),t}function es(){var t,n;return Pr++,e.charCodeAt(Lr)===125?(t=nn,Lr++):(t=null,Pr===0&&Rr(rn)),Pr--,t===null&&(n=null,Pr===0&&Rr(tn)),t}function ts(){var t,n;return Pr++,e.substr(Lr,2)===on?(t=on,Lr+=2):(t=null,Pr===0&&Rr(un)),Pr--,t===null&&(n=null,Pr===0&&Rr(sn)),t}function ns(){var t,n;return Pr++,e.substr(Lr,3)===fn?(t=fn,Lr+=3):(t=null,Pr===0&&Rr(ln)),Pr--,t===null&&(n=null,Pr===0&&Rr(an)),t}function rs(){var t,n;return Pr++,e.substr(Lr,2)===hn?(t=hn,Lr+=2):(t=null,Pr===0&&Rr(pn)),Pr--,t===null&&(n=null,Pr===0&&Rr(cn)),t}function is(){var t,n;return Pr++,e.charCodeAt(Lr)===125?(t=nn,Lr++):(t=null,Pr===0&&Rr(rn)),Pr--,t===null&&(n=null,Pr===0&&Rr(dn)),t}function ss(){var t,n,r;return t=Lr,e.substr(Lr,2)===vn?(n=vn,Lr+=2):(n=null,Pr===0&&Rr(mn)),n!==null?(e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_)),r===null&&(r=u),r!==null?(Ar=t,n=gn(),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t===null&&(t=Lr,e.charCodeAt(Lr)===61?(n=l,Lr++):(n=null,Pr===0&&Rr(c)),n!==null?(e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_)),r===null&&(r=u),r!==null?(Ar=t,n=yn(),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)),t}function os(){var e,t,n,r,i,s,a;e=Lr,t=Lr,n=Ls();if(n!==null){r=li(),r===null&&(r=u);if(r!==null){i=[],s=Qi();while(s!==null)i.push(s),s=Qi();if(i!==null){s=[],a=us();while(a!==null)s.push(a),a=us();s!==null?(Ar=t,n=bn(n,r,i,s),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o}else Lr=t,t=o;if(t===null){t=Lr,n=li();if(n!==null){r=[],i=Qi();while(i!==null)r.push(i),i=Qi();if(r!==null){i=[],s=us();while(s!==null)i.push(s),s=us();i!==null?(Ar=t,n=wn(n,r,i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o}return t!==null&&(Ar=e,t=En(t)),t===null?(Lr=e,e=t):e=t,e}function li(){var e,t,n,r;e=Lr,t=[],n=Lr,r=ws(),r!==null&&(Ar=n,r=Sn(r)),r===null?(Lr=n,n=r):n=r,n===null&&(n=Lr,r=Es(),r!==null&&(Ar=n,r=xn(r)),r===null?(Lr=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Lr,r=ws(),r!==null&&(Ar=n,r=Sn(r)),r===null?(Lr=n,n=r):n=r,n===null&&(n=Lr,r=Es(),r!==null&&(Ar=n,r=xn(r)),r===null?(Lr=n,n=r):n=r);else t=o;return t!==null&&(Ar=e,t=Tn(t)),t===null?(Lr=e,e=t):e=t,e}function us(){var t,n,r;t=Lr,n=[],e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Lr)===32?(r=M,Lr++):(r=null,Pr===0&&Rr(_));else n=o;return n!==null?(r=cs(),r===null&&(r=ps(),r===null&&(r=ds(),r===null&&(r=vs()))),r!==null?(Ar=t,n=Nn(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function as(){var t;return Cn.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(kn)),t}function fs(){var e,t;return e=ls(),e===null&&(e=Lr,t=Ei(),t!==null&&(Ar=e,t=Ln(t)),t===null?(Lr=e,e=t):e=t),e}function ls(){var t,n,r,i,s;return t=Lr,n=Lr,e.charCodeAt(Lr)===34?(r=bt,Lr++):(r=null,Pr===0&&Rr(wt)),r!==null?(i=ai(),i!==null?(e.charCodeAt(Lr)===34?(s=bt,Lr++):(s=null,Pr===0&&Rr(wt)),s!==null?(r=[r,i,s],n=r):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o),n===null&&(n=Lr,e.charCodeAt(Lr)===39?(r=Et,Lr++):(r=null,Pr===0&&Rr(St)),r!==null?(i=ai(),i!==null?(e.charCodeAt(Lr)===39?(s=Et,Lr++):(s=null,Pr===0&&Rr(St)),s!==null?(r=[r,i,s],n=r):(Lr=n,n=o)):(Lr=n,n=o)):(Lr=n,n=o)),n!==null&&(Ar=t,n=xt(n)),n===null?(Lr=t,t=n):t=n,t}function cs(){var t,n,r,i;return t=Lr,n=Ms(),n!==null?(e.charCodeAt(Lr)===61?(r=l,Lr++):(r=null,Pr===0&&Rr(c)),r!==null?(i=fs(),i!==null?(Ar=t,n=An(n,i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o),t}function hs(){var t,n,r,i,s,u;t=Lr,e.charCodeAt(Lr)===123?(n=$t,Lr++):(n=null,Pr===0&&Rr(Jt));if(n!==null){r=Is();if(r!==null){i=Lr,s=[],u=as(),u===null&&(e.charCodeAt(Lr)===32?(u=M,Lr++):(u=null,Pr===0&&Rr(_)));if(u!==null)while(u!==null)s.push(u),u=as(),u===null&&(e.charCodeAt(Lr)===32?(u=M,Lr++):(u=null,Pr===0&&Rr(_)));else s=o;s!==null&&(s=e.substring(i,Lr)),i=s,i!==null?(s=Is(),s!==null?(e.charCodeAt(Lr)===125?(u=nn,Lr++):(u=null,Pr===0&&Rr(rn)),u!==null?(Ar=t,n=On(i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o)}else Lr=t,t=o}else Lr=t,t=o;if(t===null){t=Lr,n=[],r=as();if(r!==null)while(r!==null)n.push(r),r=as();else n=o;n!==null&&(n=e.substring(t,Lr)),t=n}return t}function ps(){var t,n,r,i,s,a;return t=Lr,n=mi(),n!==null?(e.charCodeAt(Lr)===61?(r=l,Lr++):(r=null,Pr===0&&Rr(c)),r!==null?(i=hs(),i!==null?(s=Lr,Pr++,e.charCodeAt(Lr)===33?(a=Mn,Lr++):(a=null,Pr===0&&Rr(_n)),Pr--,a===null?s=u:(Lr=s,s=o),s!==null?(Ar=Lr,a=Dn(n,i),a?a=u:a=o,a!==null?(Ar=t,n=Pn(n,i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o),t}function ds(){var t,n,r,i;return t=Lr,n=mi(),n!==null?(e.charCodeAt(Lr)===61?(r=l,Lr++):(r=null,Pr===0&&Rr(c)),r!==null?(i=Ei(),i!==null?(Ar=t,n=Hn(n,i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o),t}function vs(){var t,n,r,i;return t=Lr,n=mi(),n!==null?(e.charCodeAt(Lr)===61?(r=l,Lr++):(r=null,Pr===0&&Rr(c)),r!==null?(i=Bi(),i!==null?(Ar=t,n=Bn(n,i),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o)):(Lr=t,t=o),t}function ms(){var t,n,r;t=Lr,n=[],r=ys();while(r!==null)n.push(r),r=ys();return n!==null&&(n=e.substring(t,Lr)),t=n,t}function gs(){var e;return e=ki(),e===null&&(e=yi()),e}function ys(){var t;return t=Oi(),t===null&&(mt.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(gt)),t===null&&(e.charCodeAt(Lr)===95?(t=jn,Lr++):(t=null,Pr===0&&Rr(Fn)),t===null&&(e.charCodeAt(Lr)===45?(t=In,Lr++):(t=null,Pr===0&&Rr(qn))))),t}function bs(){var t,n,r;return t=Lr,e.charCodeAt(Lr)===37?(n=Rn,Lr++):(n=null,Pr===0&&Rr(Un)),n!==null?(r=Ss(),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function ws(){var t,n,r;return t=Lr,e.charCodeAt(Lr)===35?(n=zn,Lr++):(n=null,Pr===0&&Rr(Wn)),n!==null?(r=Ss(),r!==null?(Ar=t,n=Xn(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Es(){var t,n,r;return t=Lr,e.charCodeAt(Lr)===46?(n=J,Lr++):(n=null,Pr===0&&Rr(K)),n!==null?(r=Ss(),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Ss(){var e,t;return Pr++,e=xs(),Pr--,e===null&&(t=null,Pr===0&&Rr(Vn)),e}function xs(){var t,n,r,i,s;t=Lr,n=Ns();if(n!==null){r=Lr,i=[],s=Ts();while(s!==null)i.push(s),s=Ts();i!==null&&(i=e.substring(r,Lr)),r=i,r!==null?(Ar=t,n=$n(n,r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)}else Lr=t,t=o;return t}function Ts(){var t;return Jn.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(Kn)),t===null&&(t=Cs()),t}function Ns(){var t;return Qn.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(Gn)),t===null&&(t=Cs()),t}function Cs(){var t;return Yn.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(Zn)),t}function ks(){var t,n,r;t=Lr,n=[],r=Os();if(r!==null)while(r!==null)n.push(r),r=Os();else n=o;return n!==null&&(n=e.substring(t,Lr)),t=n,t}function Ls(){var t,n,r;return Pr++,t=Lr,e.charCodeAt(Lr)===37?(n=Rn,Lr++):(n=null,Pr===0&&Rr(Un)),n!==null?(r=ks(),r!==null?(Ar=t,n=Y(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t===null&&(t=As()),Pr--,t===null&&(n=null,Pr===0&&Rr(er)),t}function As(){var e,t,n;return e=Lr,t=ks(),t!==null?(Ar=Lr,n=tr(t),n?n=u:n=o,n!==null?(Ar=e,t=nr(t),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function Os(){var t;return rr.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(ir)),t}function Ms(){var e,t,n;return Pr++,e=Lr,t=ks(),t!==null?(Ar=Lr,n=or(t),n?n=u:n=o,n!==null?(Ar=e,t=nr(t),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),Pr--,e===null&&(t=null,Pr===0&&Rr(sr)),e}function _s(){var e,t,n;return e=Lr,t=Ds(),t!==null?(n=Fs(),n!==null?(Ar=e,t=Y(n),t===null?(Lr=e,e=t):e=t):(Lr=e,e=o)):(Lr=e,e=o),e}function Ds(){var t,n;return Pr++,t=Lr,e.charCodeAt(Lr)===61423?(n=ar,Lr++):(n=null,Pr===0&&Rr(fr)),n!==null&&(Ar=t,n=lr()),n===null?(Lr=t,t=n):t=n,Pr--,t===null&&(n=null,Pr===0&&Rr(ur)),t}function Ps(){var t,n;return Pr++,t=Lr,e.charCodeAt(Lr)===61438?(n=hr,Lr++):(n=null,Pr===0&&Rr(pr)),n!==null&&(Ar=t,n=lr()),n===null?(Lr=t,t=n):t=n,Pr--,t===null&&(n=null,Pr===0&&Rr(cr)),t}function Hs(){var t,n;return Pr++,t=Lr,e.charCodeAt(Lr)===61422?(n=vr,Lr++):(n=null,Pr===0&&Rr(mr)),n!==null&&(Ar=t,n=lr()),n===null?(Lr=t,t=n):t=n,Pr--,t===null&&(n=null,Pr===0&&Rr(dr)),t}function Bs(){var t,n,r;return Pr++,t=Lr,e.charCodeAt(Lr)===61439?(n=yr,Lr++):(n=null,Pr===0&&Rr(br)),n!==null?(e.charCodeAt(Lr)===10?(r=wr,Lr++):(r=null,Pr===0&&Rr(Er)),r!==null?(n=[n,r],t=n):(Lr=t,t=o)):(Lr=t,t=o),Pr--,t===null&&(n=null,Pr===0&&Rr(gr)),t}function js(){var e,t;return Pr++,e=Ps(),e===null&&(e=Hs()),Pr--,e===null&&(t=null,Pr===0&&Rr(Sr)),e}function Fs(){var t,n,r;Pr++,t=Lr,n=[],r=qs();if(r!==null)while(r!==null)n.push(r),r=qs();else n=o;return n!==null&&(n=e.substring(t,Lr)),t=n,Pr--,t===null&&(n=null,Pr===0&&Rr(xr)),t}function Is(){var e,t;Pr++,e=[],t=qs();while(t!==null)e.push(t),t=qs();return Pr--,e===null&&(t=null,Pr===0&&Rr(Tr)),e}function qs(){var t,n;return Pr++,Cr.test(e.charAt(Lr))?(t=e.charAt(Lr),Lr++):(t=null,Pr===0&&Rr(kr)),Pr--,t===null&&(n=null,Pr===0&&Rr(Nr)),t}function Rs(){var t,n,r;return t=Lr,n=Lr,Pr++,r=Ds(),r===null&&(r=Ps(),r===null&&(r=Bs())),Pr--,r===null?n=u:(Lr=n,n=o),n!==null?(e.length>Lr?(r=e.charAt(Lr),Lr++):(r=null,Pr===0&&Rr(Wt)),r!==null?(Ar=t,n=Xt(r),n===null?(Lr=t,t=n):t=n):(Lr=t,t=o)):(Lr=t,t=o),t}function Us(){var t,n,r;t=Lr,n=[],r=Rs();while(r!==null)n.push(r),r=Rs();return n!==null&&(n=e.substring(t,Lr)),t=n,t}function Ks(e,t,n){var r=e.hash;if(n){r=r||new Xs.HashNode([]);for(var i=0;i<n.length;++i)r.pairs.push(n[i])}var s=[e.id].concat(e.params);return s.unshift(new Xs.IdNode([t])),new Xs.MustacheNode(s,r,!e.escaped)}function Qs(e,t){var n=[];e&&n.push(e);for(var r=0;r<t.length;++r){var i=t[r];n.push(i[0]),i[1]&&n.push(i[1])}return n}function Gs(e){zs.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:zr},s=zr,o=null,u="",a=function(e){return e},f=function(e,t){return new Xs.ProgramNode(e,t||[])},l="=",c='"="',h="else",p='"else"',d=[],v=function(e){var t=[],n=[];for(var r=0;r<e.length;++r){var i=e[r];for(var s=0;s<i.length;++s){var o=i[s];if(o.type==="content"){o.string&&n.push(o.string);continue}n.length&&(t.push(new Xs.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new Xs.ContentNode(n.join(""))),t},m="BeginStatement",g=function(){return[]},y=">",b='">"',w=function(e,t){return[new Xs.PartialNode(e,t[0])]},E=/^[a-zA-Z0-9_$-\/]/,S="[a-zA-Z0-9_$-\\/]",x=function(e){return new Xs.PartialNameNode(e)},T=function(e){return[e]},N="/",C='"/"',k=/^[A-Z]/,L="[A-Z]",A=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!Ws||!n.match(/[A-Z]/)?e:(e.mustache=Ks(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Ws||!n.match(/[A-Z]/)?e:Ks(e,t)},O=function(e,t){var n=e[0];return t&&(n=n.concat(t[2])),e[1]&&n.push(e[1]),n},M=" ",_='" "',D=function(e,t,n){var r=e[0];t&&(r=r.concat(t));if(n){n=n[1];for(var i=0;i<n.length;++i)r.push(new Xs.ContentNode(" ")),r=r.concat(n[i])}return e[1]&&r.push(e[1]),r},P=function(e,t){if(!t)return e;var n=t[2];return new Xs.BlockNode(e,n,n.inverse,e.id)},H=function(e,t){var n=new Xs.ProgramNode(t,[]);return new Xs.BlockNode(e,n,n.inverse,e.id)},B=function(e,t){var n=t.mustache||t;return n.escaped=e,t},j=function(e,t,n,r){if(e){var i=new Xs.PartialNameNode(t.string);return new Xs.PartialNode(i,n[0])}var s=[],o={},u=!1;for(var a=0;a<n.length;++a){var f=n[a],l=f[0];l=="tagName"||l=="elementId"||l=="class"?(u=!0,o[l]=o[l]||[],o[l].push(f[1])):s.push(f)}if(u){r=r||new Xs.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new Xs.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new Xs.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?Ks(h,"unbound"):p==="?"?Ks(h,"if"):p==="^"?Ks(h,"unless"):h},F=function(e){return["tagName",e]},I=function(e){return["elementId",e]},q=function(e){return["class",e]},R=function(e,t){return[e,t]},U=function(e){return[null,e]},z=function(e){return e},W=function(e){return new Xs.HashNode(e)},X="PathIdent",V="..",$='".."',J=".",K='"."',Q=/^[a-zA-Z0-9_$\-!?\^]/,G="[a-zA-Z0-9_$\\-!?\\^]"
2
- ,Y=function(e){return e},Z="Key",et=function(e){return[e[0],e[2]]},tt=function(e){return e},nt=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},rt="PathSeparator",it=/^[\/.]/,st="[\\/.]",ot=function(e){var t=e[e.length-1],n,r;if(n=t.match(/[!\?\^]$/))r=n[0],e[e.length-1]=t.slice(0,-1);var i=new Xs.IdNode(e);return i._emblemSuffixModifier=r,i},ut=function(e){return new Xs.StringNode(e)},at=function(e){return new Xs.IntegerNode(e)},ft=function(e){return new Xs.BooleanNode(e)},lt="Boolean",ct="true",ht='"true"',pt="false",dt='"false"',vt="Integer",mt=/^[0-9]/,gt="[0-9]",yt=function(e){return parseInt(e)},bt='"',wt='"\\""',Et="'",St='"\'"',xt=function(e){return e[1]},Tt=/^[^"}]/,Nt='[^"}]',Ct=/^[^'}]/,kt="[^'}]",Lt=/^[A-Za-z]/,At="[A-Za-z]",Ot=function(e){return[e]},Mt=function(e,t,n){t.unshift(new Xs.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new Xs.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},_t=/^[|`']/,Dt="[|`']",Pt="<",Ht='"<"',Bt=function(){return"<"},jt=function(e,t,n){(t.length||!n)&&t.push("\n");if(n){n=n[1];for(var r=0;r<n.length;++r)t=t.concat(n[r]),t.push("\n")}var i=[],s=e!=="`";for(var r=0;r<t.length;++r){var o=t[r];o=="\n"?s||i.push(new Xs.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new Xs.ContentNode(" ")),i},Ft=function(e,t){return Qs(e,t)},It=function(e){return e},qt=function(e,t){return Qs(e,t)},Rt=function(e){return e.escaped=!0,e},Ut=function(e){return e.escaped=!1,e},zt=function(e){return new Xs.ContentNode(e)},Wt="any character",Xt=function(e){return e},Vt="SingleMustacheOpen",$t="{",Jt='"{"',Kt="DoubleMustacheOpen",Qt="{{",Gt='"{{"',Yt="TripleMustacheOpen",Zt="{{{",en='"{{{"',tn="SingleMustacheClose",nn="}",rn='"}"',sn="DoubleMustacheClose",on="}}",un='"}}"',an="TripleMustacheClose",fn="}}}",ln='"}}}"',cn="InterpolationOpen",hn="#{",pn='"#{"',dn="InterpolationClose",vn="==",mn='"=="',gn=function(){return!1},yn=function(){return!0},bn=function(e,t,n,r){return[e,t,n,r]},wn=function(e,t,n){return[null,e,t,n]},En=function(e){var t=e[0]||"div",n=e[1]||[],r=e[2],i=e[3],s=n[0],o=n[1],u=[];u.push(new Xs.ContentNode("<"+t)),s&&u.push(new Xs.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new Xs.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<r.length;++a)u.push(new Xs.ContentNode(" ")),u.push(r[a]);for(var a=0;a<i.length;++a)u=u.concat(i[a]);return Vs[t]?(u.push(new Xs.ContentNode(" />")),[u]):(u.push(new Xs.ContentNode(">")),[u,new Xs.ContentNode("</"+t+">")])},Sn=function(e){return{shorthand:e,id:!0}},xn=function(e){return{shorthand:e}},Tn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},Nn=function(e){return[new Xs.ContentNode(" ")].concat(e)},Cn=/^[A-Za-z.:0-9_\-]/,kn="[A-Za-z.:0-9_\\-]",Ln=function(e){return new Xs.MustacheNode([e])},An=function(e,t){return[Ks(t,"action",[["on",new Xs.StringNode(e)]])]},On=function(e){return e.replace(/ *$/,"")},Mn="!",_n='"!"',Dn=function(e,t){return Ws},Pn=function(e,t){var n=new Xs.HashNode([[e,new Xs.StringNode(t)]]),r=[new Xs.IdNode(["bindAttr"])],i=new Xs.MustacheNode(r,n);return[i]},Hn=function(e,t){var n=new Xs.MustacheNode([t]);return Ws&&t._emblemSuffixModifier==="!"&&(n=Ks(n,"unbound")),[new Xs.ContentNode(e+"="+'"'),n,new Xs.ContentNode('"')]},Bn=function(e,t){var n=[new Xs.ContentNode(e+"="+'"')].concat(t);return n.concat([new Xs.ContentNode('"')])},jn="_",Fn='"_"',In="-",qn='"-"',Rn="%",Un='"%"',zn="#",Wn='"#"',Xn=function(e){return e},Vn="CSSIdentifier",$n=function(e,t){return e+t},Jn=/^[_a-zA-Z0-9\-]/,Kn="[_a-zA-Z0-9\\-]",Qn=/^[_a-zA-Z]/,Gn="[_a-zA-Z]",Yn=/^[\x80-\xFF]/,Zn="[\\x80-\\xFF]",er="KnownHTMLTagName",tr=function(e){return!!$s[e]},nr=function(e){return e},rr=/^[:_a-zA-Z0-9\-]/,ir="[:_a-zA-Z0-9\\-]",sr="a JS event",or=function(e){return!!Js[e]},ur="INDENT",ar="",fr='"\\uEFEF"',lr=function(){return""},cr="DEDENT",hr="",pr='"\\uEFFE"',dr="Unmatched DEDENT",vr="",mr='"\\uEFEE"',gr="LineEnd",yr="",br='"\\uEFFF"',wr="\n",Er='"\\n"',Sr="ANYDEDENT",xr="RequiredWhitespace",Tr="OptionalWhitespace",Nr="InlineWhitespace",Cr=/^[ \t]/,kr="[ \\t]",Lr=0,Ar=0,Or=0,Mr={line:1,column:1,seenCR:!1},_r=0,Dr=[],Pr=0,Hr;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var zs=n.handlebarsVariant,Ws=zs.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",Xs=zs.AST,Vs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},$s={figcaption:!0,blockquote:!0,plaintext:!0,textarea:!0,progress:!0,optgroup:!0,noscript:!0,noframes:!0,frameset:!0,fieldset:!0,datalist:!0,colgroup:!0,basefont:!0,summary:!0,section:!0,marquee:!0,listing:!0,isindex:!0,details:!0,command:!0,caption:!0,bgsound:!0,article:!0,address:!0,acronym:!0,strong:!0,strike:!0,spacer:!0,source:!0,select:!0,script:!0,output:!0,option:!0,object:!0,legend:!0,keygen:!0,iframe:!0,hgroup:!0,header:!0,footer:!0,figure:!0,center:!0,canvas:!0,button:!0,applet:!0,video:!0,track:!0,title:!0,thead:!0,tfoot:!0,tbody:!0,table:!0,style:!0,small:!0,param:!0,meter:!0,label:!0,input:!0,frame:!0,embed:!0,blink:!0,audio:!0,aside:!0,time:!0,span:!0,samp:!0,ruby:!0,nobr:!0,meta:!0,menu:!0,mark:!0,main:!0,link:!0,html:!0,head:!0,form:!0,font:!0,data:!0,code:!0,cite:!0,body:!0,base:!0,area:!0,abbr:!0,xmp:!0,wbr:!0,"var":!0,sup:!0,sub:!0,pre:!0,nav:!0,map:!0,kbd:!0,ins:!0,img:!0,div:!0,dir:!0,dfn:!0,del:!0,col:!0,big:!0,bdo:!0,bdi:!0,ul:!0,tt:!0,tr:!0,th:!0,td:!0,rt:!0,rp:!0,ol:!0,li:!0,hr:!0,h6:!0,h5:!0,h4:!0,h3:!0,h2:!0,h1:!0,em:!0,dt:!0,dl:!0,dd:!0,br:!0,u:!0,s:!0,q:!0,p:!0,i:!0,b:!0,a:!0},Js={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};Hr=s();if(Hr!==null&&Lr===e.length)return Hr;throw Ur(Dr),Ar=Math.max(Lr,_r),new t(Dr,Ar<e.length?e.charAt(Ar):null,Ar,qr(Ar).line,qr(Ar).column)}return e(t,Error),{SyntaxError:t,parse:r}}();var n;n.throwCompileError=function(e,t){throw new Error("Emblem syntax error, line "+e+": "+t)},n.registerPartial=function(e,t,r){return r||(r=t,t=e,e=Handlebars),e.registerPartial(t,n.compile(e,r))},n.parse=function(e){var t,r,i,s;try{return s=n.Preprocessor.processSync(e),n.Parser.parse(s)}catch(o){if(o instanceof n.Parser.SyntaxError)return r=e.split("\n"),t=r[o.line-1],i=""+o.message+"\n"+t+"\n",i+=(new Array(o.column)).join("-"),i+="^",n.throwCompileError(o.line,i);throw o}},n.precompile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.precompile(i,r)},n.compile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.compile(i,r)};var n,r,t;n.Preprocessor=r=function(){function l(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(e){throw new Error("Unexpected "+e)},this.output="",this.context.observe=function(t){var n;n=this.peek();switch(t){case r:this.push(t);break;case e:n!==r&&this.err(t),this.pop();break;case"\n":n!=="/"&&this.err(t),this.pop();break;case"/":this.push(t);break;case"end-\\":n!=="\\"&&this.err(t),this.pop();break;default:throw new Error("undefined token observed: "+t)}return this},this.StringScanner?this.ss=new this.StringScanner(""):n.StringScanner?this.ss=new n.StringScanner(""):this.ss=new t("")}var e,r,i,s,o,u,a,f;return f="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",r="",e="",s="",i="",o=RegExp("["+f+"\\n]*$"),u=RegExp("(?:["+f+"]*\\n)+"),l.prototype.p=function(e){return e&&(this.output+=e),e},l.prototype.scan=function(e){return this.p(this.ss.scan(e))},l.prototype.discard=function(e){return this.ss.scan(e)},a=function(t){return function(n){var a,l,c,h;t||(this.ss.concat(n),this.discard(u));while(!this.ss.eos())switch(this.context.peek()){case null:case r:if(this.ss.bol()||this.discard(u)){if(this.discard(RegExp("["+f+"]*\\n"))){this.p(""+i+"\n");continue}if(this.base!=null){if(this.discard(this.base)==null)throw new Error("inconsistent base indentation")}else a=this.discard(RegExp("["+f+"]*")),this.base=RegExp(""+a);if(this.indents.length===0)this.ss.check(RegExp("["+f+"]+"))&&(this.p(r),this.context.observe(r),this.indents.push(this.scan(RegExp("(["+f+"]+)"))));else{c=this.indents[this.indents.length-1];if(l=this.ss.check(RegExp("("+c+")")))this.discard(l),this.ss.check(RegExp("(["+f+"]+)"))&&(this.p(r),this.context.observe(r),this.indents.push(l+this.scan(RegExp("(["+f+"]+)"))));else{while(this.indents.length){c=this.indents[this.indents.length-1];if(this.discard(RegExp("(?:"+c+")")))break;this.context.observe(e),this.p(e),this.indents.pop()}if(h=this.discard(RegExp("["+f+"]+")))this.output=this.output.slice(0,-1),this.output+=s,this.p(r),this.context.observe(r),this.indents.push(h)}}}this.scan(/[^\n\\]+/),this.discard(/\n/)&&this.p(""+i+"\n")}if(t){this.scan(o);while(this.context.length&&r===this.context.peek())this.context.observe(e),this.p(e);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},l.prototype.processData=a(!1),l.prototype.processEnd=a(!0),l.processSync=function(e){var t;return e+="\n",t=new l,t.processData(e),t.processEnd(),t.output},l}();var i,n,s;n.compileScriptTags=function(){if(typeof Ember=="undefined"||Ember===null)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");if(typeof document!="undefined"&&document!==null)return Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var e,t,r;return t=Ember.$(this),e=t.attr("type")==="text/x-raw-handlebars"?Handlebars:Ember.Handlebars,r=t.attr("data-template-name")||t.attr("id")||"application",Ember.TEMPLATES[r]=n.compile(e,t.html()),t.remove()})},this.ENV||(this.ENV={}),i=this.ENV,i.EMBER_LOAD_HOOKS||(i.EMBER_LOAD_HOOKS={}),(s=i.EMBER_LOAD_HOOKS).application||(s.application=[]),i.EMBER_LOAD_HOOKS.application.push(function(){return n.compileScriptTags()}),e.Emblem=n})(this);
1
+ (function(e){(function(e){var t;t=function(){function e(e){this.str=e!=null?e:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset(),this}return e.prototype.bol=function(){return this.pos<=0||this.str[this.pos-1]==="\n"},e.prototype.captures=function(){return this.lastMatch.captures},e.prototype.check=function(e){var t;return this.str.substr(this.pos).search(e)!==0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),this.lastMatch.str)},e.prototype.checkUntil=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.captures=t.slice(1),this.lastMatch.str=this.str.substr(this.pos,n)+t[0])},e.prototype.clone=function(){var e,t,n,r;e=new this.constructor(this.str),e.pos=this.pos,e.lastMatch={},r=this.lastMatch;for(t in r)n=r[t],e.lastMatch[t]=n;return e},e.prototype.concat=function(e){return this.str+=e,this},e.prototype.eos=function(){return this.pos===this.str.length},e.prototype.exists=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),n)},e.prototype.getch=function(){return this.scan(/./)},e.prototype.match=function(){return this.lastMatch.str},e.prototype.matches=function(e){return this.check(e),this.matchSize()},e.prototype.matched=function(){return this.lastMatch.str!=null},e.prototype.matchSize=function(){return this.matched()?this.match().length:null},e.prototype.peek=function(e){return this.str.substr(this.pos,e)},e.prototype.pointer=function(){return this.pos},e.prototype.setPointer=function(e){return e=+e,e<0&&(e=0),e>this.str.length&&(e=this.str.length),this.pos=e},e.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},e.prototype.rest=function(){return this.str.substr(this.pos)},e.prototype.scan=function(e){var t;return t=this.check(e),t!=null&&(this.pos+=t.length),t},e.prototype.scanUntil=function(e){var t;return t=this.checkUntil(e),t!=null&&(this.pos+=t.length),t},e.prototype.skip=function(e){return this.scan(e),this.matchSize()},e.prototype.skipUntil=function(e){return this.scanUntil(e),this.matchSize()},e.prototype.string=function(){return this.str},e.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},e.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},e}(),t.prototype.beginningOfLine=t.prototype.bol,t.prototype.clear=t.prototype.terminate,t.prototype.dup=t.prototype.clone,t.prototype.endOfString=t.prototype.eos,t.prototype.exist=t.prototype.exists,t.prototype.getChar=t.prototype.getch,t.prototype.position=t.prototype.pointer,t.StringScanner=t,this.StringScanner=t})(this);var t=this.StringScanner,n;this.Emblem={},n=this.Emblem,n.VERSION="0.2.0",n.Parser=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=s(e,t)}function r(e){function Fr(){return e.substring(Mr,Or)}function Ir(){return Mr}function qr(){return Ur(Mr).line}function Rr(){return Ur(Mr).column}function Ur(t){function n(t,n){var r,i;for(r=0;r<n;r++)i=e.charAt(r),i==="\n"?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):i==="\r"||i==="\u2028"||i==="\u2029"?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return _r!==t&&(_r>t&&(_r=0,Dr={line:1,column:1,seenCR:!1}),_r=t,n(Dr,_r)),Dr}function zr(e){if(Or<Pr)return;Or>Pr&&(Pr=Or,Hr=[]),Hr.push(e)}function Wr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Xr(){var e;return e=Vr(),e}function Vr(){var e,t,n,r,i,s,l,c,h;return e=Or,t=Jr(),t!==null?(n=Or,r=Is(),r!==null?(i=$r(),i!==null?(s=Ws(),s!==null?(l=Rs(),l!==null?(c=js(),c!==null?(h=Jr(),h!==null?(Mr=n,r=a(h),r===null?(Or=n,n=r):n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=f(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function $r(){var t,n,r,i;return t=Or,n=Or,e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=Ws(),i!==null?(r=[r,i],n=r):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(e.substr(Or,4)===h?(r=h,Or+=4):(r=null,Br===0&&zr(p)),r!==null?(n=[n,r],t=n):(Or=t,t=o)):(Or=t,t=o),t}function Jr(){var e,t,n;e=Or,t=[],n=Kr();while(n!==null)t.push(n),n=Kr();return t!==null&&(Mr=e,t=v(t)),t===null?(Or=e,e=t):e=t,e}function Kr(){var e,t;return Br++,e=Gr(),e===null&&(e=ni(),e===null&&(e=Qr())),Br--,e===null&&(t=null,Br===0&&zr(m)),e}function Qr(){var e,t;return Br++,e=Yr(),e===null&&(e=ai(),e===null&&(e=Fi(),e===null&&(e=ei()))),Br--,e===null&&(t=null,Br===0&&zr(g)),e}function Gr(){var e,t,n;return e=Or,t=Ws(),t!==null?(n=Rs(),n!==null?(Mr=e,t=y(),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Yr(){var t,n,r,i,s,u,a,f;t=Or,e.charCodeAt(Or)===62?(n=b,Or++):(n=null,Br===0&&zr(w));if(n!==null){r=Ws();if(r!==null){i=Zr();if(i!==null){s=Ws();if(s!==null){u=[],a=yi();while(a!==null)u.push(a),a=yi();u!==null?(a=Ws(),a!==null?(f=Rs(),f!==null?(Mr=t,n=E(i,u),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o;return t}function Zr(){var t,n,r,i;t=Or,n=Or,r=[],S.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(x));else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=T(n)),n===null?(Or=t,t=n):t=n,t}function ei(){var e,t;return e=Or,t=hi(),t===null&&(t=ri()),t!==null&&(Mr=e,t=N(t)),t===null?(Or=e,e=t):e=t,e}function ti(){var e,t,n,r,i,s,u,a;e=Or,t=$s();if(t!==null){n=Rs();if(n!==null){r=[],i=Or,s=js();if(s!==null){u=[],a=ti();if(a!==null)while(a!==null)u.push(a),a=ti();else u=o;u!==null?(a=Us(),a!==null?(s=[s,u,a],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o;while(i!==null){r.push(i),i=Or,s=js();if(s!==null){u=[],a=ti();if(a!==null)while(a!==null)u.push(a),a=ti();else u=o;u!==null?(a=Us(),a!==null?(s=[s,u,a],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o}r!==null?(Mr=e,t=y(),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function ni(){var t,n,r;return t=Or,e.charCodeAt(Or)===47?(n=C,Or++):(n=null,Br===0&&zr(k)),n!==null?(r=ti(),r!==null?(Mr=t,n=y(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ri(){var e;return e=ii(),e===null&&(e=fi()),e}function ii(){var t,n,r;return t=Or,n=Or,Br++,L.test(e.charAt(Or))?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(A)),Br--,r!==null?(Or=n,n=u):n=o,n!==null?(r=fi(),r!==null?(Mr=t,n=O(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function si(){var t,n,r,i,s,a,f;t=Or,e.charCodeAt(Or)===32?(n=M,Or++):(n=null,Br===0&&zr(_));if(n!==null){r=Ii();if(r!==null){i=Or,s=js();if(s!==null){a=[],f=Bi();if(f!==null)while(f!==null)a.push(f),f=Bi();else a=o;a!==null?(f=Is(),f!==null?(s=[s,a,f],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o;i===null&&(i=u),i!==null?(Mr=t,n=D(r,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o;return t}function oi(){var e,t,n,r,i;e=Or,t=[],n=Gr();while(n!==null)t.push(n),n=Gr();return t!==null?(n=js(),n!==null?(r=Jr(),r!==null?(i=Is(),i!==null?(Mr=e,t=P(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function ui(){var e,t,n,r;return e=li(),e===null&&(e=Or,t=Ws(),t!==null?(n=hi(),n!==null?(Mr=e,t=H(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=Or,t=Ws(),t!==null?(n=Rs(),n!==null?(r=oi(),r===null&&(r=u),r!==null?(Mr=e,t=P(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=si()))),e}function ai(){var e,t,n;return e=Or,t=cs(),t!==null?(n=ui(),n!==null?(Mr=e,t=B(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function fi(){var e,t,n,r;return e=Or,t=pi(),t!==null?(n=Ws(),n!==null?(r=ci(),r!==null?(Mr=e,t=j(t,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function Vr(){var e,t,n,r,i,s,l,c,h;return e=Or,t=Jr(),t!==null?(n=Or,r=Is(),r!==null?(i=$r(),i!==null?(s=Ws(),s!==null?(l=Rs(),l!==null?(c=js(),c!==null?(h=Jr(),h!==null?(Mr=n,r=a(h),r===null?(Or=n,n=r):n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=f(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function li(){var t,n,r,i;return t=Or,e.substr(Or,2)===F?(n=F,Or+=2):(n=null,Br===0&&zr(I)),n!==null?(r=Ws(),r!==null?(i=Qr(),i!==null?(Mr=t,n=P(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function ci(){var e,t,n,r,i,s,a;e=Or,t=li(),t===null&&(t=Fi()),t!==null&&(Mr=e,t=q(t)),t===null?(Or=e,e=t):e=t;if(e===null){e=Or,t=Rs();if(t!==null){n=Or,r=[],i=Gr();while(i!==null)r.push(i),i=Gr();r!==null?(i=js(),i!==null?(s=Vr(),s!==null?(a=Is(),a!==null?(r=[r,i,s,a],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=R(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}return e}function hi(){var e,t,n;return e=Or,t=fs(),t!==null?(n=fi(),n!==null?(Mr=e,t=U(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function pi(){var t,n,r,i,s,a;t=Or,e.charCodeAt(Or)===62?(n=b,Or++):(n=null,Br===0&&zr(w)),n===null&&(n=u);if(n!==null){r=Ws();if(r!==null){i=Ci();if(i!==null){s=[],a=yi();while(a!==null)s.push(a),a=yi();s!==null?(a=bi(),a===null&&(a=u),a!==null?(Mr=t,n=z(n,i,s,a),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o;return t}function di(){var e,t;return e=Or,t=Ts(),t!==null&&(Mr=e,t=W(t)),t===null?(Or=e,e=t):e=t,e===null&&(e=Or,t=Ns(),t!==null&&(Mr=e,t=X(t)),t===null?(Or=e,e=t):e=t,e===null&&(e=Or,t=Cs(),t!==null&&(Mr=e,t=V(t)),t===null?(Or=e,e=t):e=t)),e}function vi(){var e;return e=mi(),e===null&&(e=gi()),e}function mi(){var e,t,n,r;e=Or,t=Ns();if(t!==null){n=[],r=Cs();while(r!==null)n.push(r),r=Cs();n!==null?(Mr=e,t=$(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function gi(){var e,t,n;e=Or,t=[],n=Cs();if(n!==null)while(n!==null)t.push(n),n=Cs();else t=o;return t!==null&&(Mr=e,t=J(t)),t===null?(Or=e,e=t):e=t,e}function yi(){var e,t,n;return e=Or,t=Ws(),t!==null?(n=di(),n===null&&(n=xi()),n!==null?(Mr=e,t=K(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function bi(){var e,t,n;e=Or,t=[],n=Si();if(n!==null)while(n!==null)t.push(n),n=Si();else t=o;return t!==null&&(Mr=e,t=Q(t)),t===null?(Or=e,e=t):e=t,e}function wi(){var t,n,r,i;Br++,e.substr(Or,2)===Y?(t=Y,Or+=2):(t=null,Br===0&&zr(Z));if(t===null){e.charCodeAt(Or)===46?(t=et,Or++):(t=null,Br===0&&zr(tt));if(t===null){t=Or,n=Or,r=[],nt.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(rt));else r=o;r!==null&&(r=e.substring(n,Or)),n=r,n!==null?(r=Or,Br++,e.charCodeAt(Or)===61?(i=l,Or++):(i=null,Br===0&&zr(c)),Br--,i===null?r=u:(Or=r,r=o),r!==null?(Mr=t,n=it(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)}}return Br--,t===null&&(n=null,Br===0&&zr(G)),t}function Ei(){var e,t;return Br++,e=Ls(),Br--,e===null&&(t=null,Br===0&&zr(st)),e}function Si(){var t,n,r,i,s,u;return t=Or,n=Ws(),n!==null?(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Ai(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Li(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Ci(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=ki(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o)))),r!==null?(Mr=t,n=ot(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function xi(){var e;return e=Ci(),e===null&&(e=ki(),e===null&&(e=Li(),e===null&&(e=Ai()))),e}function Ti(){var e,t,n,r,i,s;e=Or,t=wi();if(t!==null){n=[],r=Or,i=Ni(),i!==null?(s=wi(),s!==null?(Mr=r,i=ut(s),i===null?(Or=r,r=i):r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Ni(),i!==null?(s=wi(),s!==null?(Mr=r,i=ut(s),i===null?(Or=r,r=i):r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=at(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function Ni(){var t,n;return Br++,lt.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(ct)),Br--,t===null&&(n=null,Br===0&&zr(ft)),t}function Ci(){var e,t;return e=Or,t=Ti(),t!==null&&(Mr=e,t=ht(t)),t===null?(Or=e,e=t):e=t,e}function ki(){var e,t;return e=Or,t=_i(),t!==null&&(Mr=e,t=pt(t)),t===null?(Or=e,e=t):e=t,e}function Li(){var e,t;return e=Or,t=Mi(),t!==null&&(Mr=e,t=dt(t)),t===null?(Or=e,e=t):e=t,e}function Ai(){var e,t;return e=Or,t=Oi(),t!==null&&(Mr=e,t=vt(t)),t===null?(Or=e,e=t):e=t,e}function Oi(){var t,n;return Br++,e.substr(Or,4)===gt?(t=gt,Or+=4):(t=null,Br===0&&zr(yt)),t===null&&(e.substr(Or,5)===bt?(t=bt,Or+=5):(t=null,Br===0&&zr(wt))),Br--,t===null&&(n=null,Br===0&&zr(mt)),t}function Mi(){var t,n,r,i;Br++,t=Or,n=Or,r=[],St.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(xt));if(i!==null)while(i!==null)r.push(i),St.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(xt));else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=Tt(n)),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(Et)),t}function _i(){var t,n,r,i,s;return t=Or,n=Or,e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct)),r!==null?(i=Di(),i!==null?(e.charCodeAt(Or)===34?(s=Nt,Or++):(s=null,Br===0&&zr(Ct)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=Or,e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt)),r!==null?(i=Pi(),i!==null?(e.charCodeAt(Or)===39?(s=kt,Or++):(s=null,Br===0&&zr(Lt)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)),n!==null&&(Mr=t,n=At(n)),n===null?(Or=t,t=n):t=n,t}function Di(){var t,n,r,i,s;t=Or,n=[],r=Or,i=Or,Br++,s=Rs(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(Ot.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Mt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Or,Br++,s=Rs(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(Ot.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Mt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);return n!==null&&(n=e.substring(t,Or)),t=n,t}function Pi(){var t,n,r,i,s;t=Or,n=[],r=Or,i=Or,Br++,s=Rs(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(_t.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Dt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Or,Br++,s=Rs(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(_t.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Dt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);return n!==null&&(n=e.substring(t,Or)),t=n,t}function Hi(){var t;return Pt.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Ht)),t}function Bi(){var e,t,n,r,i;e=Or,t=js();if(t!==null){n=Ii();if(n!==null){r=[],i=Bi();while(i!==null)r.push(i),i=Bi();r!==null?(i=Us(),i!==null?(Mr=e,t=Bt(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e===null&&(e=Ii()),e}function ji(){var t,n,r;return t=Or,jt.test(e.charAt(Or))?(n=e.charAt(Or),Or++):(n=null,Br===0&&zr(Ft)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=it(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,n=Or,Br++,e.charCodeAt(Or)===60?(r=It,Or++):(r=null,Br===0&&zr(qt)),Br--,r!==null?(Or=n,n=u):n=o,n!==null&&(Mr=t,n=Rt()),n===null?(Or=t,t=n):t=n),t}function Fi(){var e,t,n,r,i,s,a;e=Or,t=ji();if(t!==null){n=Ii();if(n!==null){r=Or,i=js();if(i!==null){s=[],a=Bi();while(a!==null)s.push(a),a=Bi();s!==null?(a=Is(),a!==null?(i=[i,s,a],r=i):(Or=r,r=o)):(Or=r,r=o)}else Or=r,r=o;r===null&&(r=u),r!==null?(Mr=e,t=Ut(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function Ii(){var e,t,n,r,i,s;e=Or,t=Qi(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(r=Rs(),r!==null?(Mr=e,t=zt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)}else Or=e,e=o;return e}function qi(){var t,n,r,i;return t=Or,e.charCodeAt(Or)===34?(n=Nt,Or++):(n=null,Br===0&&zr(Ct)),n!==null?(r=Ri(),r!==null?(e.charCodeAt(Or)===34?(i=Nt,Or++):(i=null,Br===0&&zr(Ct)),i!==null?(Mr=t,n=K(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,e.charCodeAt(Or)===39?(n=kt,Or++):(n=null,Br===0&&zr(Lt)),n!==null?(r=Ui(),r!==null?(e.charCodeAt(Or)===39?(i=kt,Or++):(i=null,Br===0&&zr(Lt)),i!==null?(Mr=t,n=K(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)),t}function Ri(){var e,t,n,r,i,s;e=Or,t=Vi(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=Wt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function Ui(){var e,t,n,r,i,s;e=Or,t=$i(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=$i(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=$i(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=Wt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function zi(){var e;return e=Xi(),e===null&&(e=Wi()),e}function Wi(){var e,t,n,r,i,s;return e=Or,t=ns(),t!==null?(n=Ws(),n!==null?(r=pi(),r!==null?(i=Ws(),i!==null?(s=ss(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=Or,t=us(),t!==null?(n=Ws(),n!==null?(r=pi(),r!==null?(i=Ws(),i!==null?(s=as(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)),e}function Xi(){var e,t,n,r,i,s;return e=Or,t=rs(),t!==null?(n=Ws(),n!==null?(r=pi(),r!==null?(i=Ws(),i!==null?(s=os(),s!==null?(Mr=e,t=Vt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function Vi(){var t,n,r,i;t=Or,n=Or,r=[],i=Ji();if(i!==null)while(i!==null)r.push(i),i=Ji();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function $i(){var t,n,r,i;t=Or,n=Or,r=[],i=Ki();if(i!==null)while(i!==null)r.push(i),i=Ki();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function Ji(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),r===null&&(e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct))),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Ki(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),r===null&&(e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt))),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Qi(){var t,n,r,i;t=Or,n=Or,r=[],i=Gi();if(i!==null)while(i!==null)r.push(i),i=Gi();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function Gi(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Yi(){var e;return e=rs(),e===null&&(e=ns(),e===null&&(e=us(),e===null&&(e=Us(),e===null&&(e=Rs())))),e}function Zi(){var e,t,n,r,i,s;return e=Or,t=ts(),t!==null?(n=Ws(),n!==null?(r=pi(),r!==null?(i=Ws(),i!==null?(s=is(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function es(){var e;return e=Zi(),e===null&&(e=Xi(),e===null&&(e=Wi())),e}function ts(){var t,n;return Br++,e.charCodeAt(Or)===123?(t=Qt,Or++):(t=null,Br===0&&zr(Gt)),Br--,t===null&&(n=null,Br===0&&zr(Kt)),t}function ns(){var t,n;return Br++,e.substr(Or,2)===Zt?(t=Zt,Or+=2):(t=null,Br===0&&zr(en)),Br--,t===null&&(n=null,Br===0&&zr(Yt)),t}function rs(){var t,n;return Br++,e.substr(Or,3)===nn?(t=nn,Or+=3):(t=null,Br===0&&zr(rn)),Br--,t===null&&(n=null,Br===0&&zr(tn)),t}function is(){var t,n;return Br++,e.charCodeAt(Or)===125?(t=on,Or++):(t=null,Br===0&&zr(un)),Br--,t===null&&(n=null,Br===0&&zr(sn)),t}function ss(){var t,n;return Br++,e.substr(Or,2)===fn?(t=fn,Or+=2):(t=null,Br===0&&zr(ln)),Br--,t===null&&(n=null,Br===0&&zr(an)),t}function os(){var t,n;return Br++,e.substr(Or,3)===hn?(t=hn,Or+=3):(t=null,Br===0&&zr(pn)),Br--,t===null&&(n=null,Br===0&&zr(cn)),t}function us(){var t,n;return Br++,e.substr(Or,2)===vn?(t=vn,Or+=2):(t=null,Br===0&&zr(mn)),Br--,t===null&&(n=null,Br===0&&zr(dn)),t}function as(){var t,n;return Br++,e.charCodeAt(Or)===125?(t=on,Or++):(t=null,Br===0&&zr(un)),Br--,t===null&&(n=null,Br===0&&zr(gn)),t}function fs(){var t,n,r;return t=Or,e.substr(Or,2)===yn?(n=yn,Or+=2):(n=null,Br===0&&zr(bn)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=wn(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,e.charCodeAt(Or)===61?(n=l,Or++):(n=null,Br===0&&zr(c)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=En(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)),t}function ls(){var e,t,n,r;return e=Or,t=Ds(),t===null&&(t=u),t!==null?(n=vi(),n===null&&(n=u),n!==null?(Mr=Or,r=Sn(t,n),r?r=u:r=o,r!==null?(t=[t,n,r],e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function cs(){var e,t,n,r,i;e=Or,t=ls();if(t!==null){n=[],r=es();while(r!==null)n.push(r),r=es();if(n!==null){r=[],i=hs();while(i!==null)r.push(i),i=hs();r!==null?(Mr=e,t=xn(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function vi(){var e,t,n,r;e=Or,t=[],n=Or,r=Ns(),r!==null&&(Mr=n,r=Tn(r)),r===null?(Or=n,n=r):n=r,n===null&&(n=Or,r=Cs(),r!==null&&(Mr=n,r=Nn(r)),r===null?(Or=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Or,r=Ns(),r!==null&&(Mr=n,r=Tn(r)),r===null?(Or=n,n=r):n=r,n===null&&(n=Or,r=Cs(),r!==null&&(Mr=n,r=Nn(r)),r===null?(Or=n,n=r):n=r);else t=o;return t!==null&&(Mr=e,t=Cn(t)),t===null?(Or=e,e=t):e=t,e}function hs(){var t,n,r;t=Or,n=[],e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_));else n=o;return n!==null?(r=ms(),r===null&&(r=ys(),r===null&&(r=bs(),r===null&&(r=ws()))),r!==null?(Mr=t,n=kn(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ps(){var t;return Ln.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(An)),t}function ds(){var e,t;return e=vs(),e===null&&(e=Or,t=Ci(),t!==null&&(Mr=e,t=On(t)),t===null?(Or=e,e=t):e=t),e}function vs(){var t,n,r,i,s;return t=Or,n=Or,e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct)),r!==null?(i=pi(),i!==null?(e.charCodeAt(Or)===34?(s=Nt,Or++):(s=null,Br===0&&zr(Ct)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=Or,e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt)),r!==null?(i=pi(),i!==null?(e.charCodeAt(Or)===39?(s=kt,Or++):(s=null,Br===0&&zr(Lt)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)),n!==null&&(Mr=t,n=At(n)),n===null?(Or=t,t=n):t=n,t}function ms(){var t,n,r,i;return t=Or,n=Bs(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=ds(),i!==null?(Mr=t,n=Mn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function gs(){var t,n,r,i,s,u;t=Or,e.charCodeAt(Or)===123?(n=Qt,Or++):(n=null,Br===0&&zr(Gt));if(n!==null){r=Ws();if(r!==null){i=Or,s=[],u=ps(),u===null&&(e.charCodeAt(Or)===32?(u=M,Or++):(u=null,Br===0&&zr(_)));if(u!==null)while(u!==null)s.push(u),u=ps(),u===null&&(e.charCodeAt(Or)===32?(u=M,Or++):(u=null,Br===0&&zr(_)));else s=o;s!==null&&(s=e.substring(i,Or)),i=s,i!==null?(s=Ws(),s!==null?(e.charCodeAt(Or)===125?(u=on,Or++):(u=null,Br===0&&zr(un)),u!==null?(Mr=t,n=_n(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o;if(t===null){t=Or,n=[],r=ps();if(r!==null)while(r!==null)n.push(r),r=ps();else n=o;n!==null&&(n=e.substring(t,Or)),t=n}return t}function ys(){var t,n,r,i,s,a;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=gs(),i!==null?(s=Or,Br++,e.charCodeAt(Or)===33?(a=Dn,Or++):(a=null,Br===0&&zr(Pn)),Br--,a===null?s=u:(Or=s,s=o),s!==null?(Mr=Or,a=Hn(n,i),a?a=u:a=o,a!==null?(Mr=t,n=Bn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function bs(){var t,n,r,i;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=Ci(),i!==null?(Mr=t,n=jn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function ws(){var t,n,r,i;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=qi(),i!==null?(Mr=t,n=Fn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function Es(){var t,n,r;t=Or,n=[],r=xs();while(r!==null)n.push(r),r=xs();return n!==null&&(n=e.substring(t,Or)),t=n,t}function Ss(){var e;return e=_i(),e===null&&(e=xi()),e}function xs(){var t;return t=Hi(),t===null&&(St.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(xt)),t===null&&(e.charCodeAt(Or)===95?(t=In,Or++):(t=null,Br===0&&zr(qn)),t===null&&(e.charCodeAt(Or)===45?(t=Rn,Or++):(t=null,Br===0&&zr(Un))))),t}function Ts(){var t,n,r;return t=Or,e.charCodeAt(Or)===37?(n=zn,Or++):(n=null,Br===0&&zr(Wn)),n!==null?(r=ks(),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Ns(){var t,n,r;return t=Or,e.charCodeAt(Or)===35?(n=Xn,Or++):(n=null,Br===0&&zr(Vn)),n!==null?(r=ks(),r!==null?(Mr=t,n=$n(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Cs(){var t,n,r;return t=Or,e.charCodeAt(Or)===46?(n=et,Or++):(n=null,Br===0&&zr(tt)),n!==null?(r=ks(),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ks(){var e,t;return Br++,e=Ls(),Br--,e===null&&(t=null,Br===0&&zr(Jn)),e}function Ls(){var t,n,r,i,s;t=Or,n=Os();if(n!==null){r=Or,i=[],s=As();while(s!==null)i.push(s),s=As();i!==null&&(i=e.substring(r,Or)),r=i,r!==null?(Mr=t,n=Kn(n,r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)}else Or=t,t=o;return t}function As(){var t;return Qn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Gn)),t===null&&(t=Ms()),t}function Os(){var t;return Yn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Zn)),t===null&&(t=Ms()),t}function Ms(){var t;return er.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(tr)),t}function _s(){var t,n,r;t=Or,n=[],r=Hs();if(r!==null)while(r!==null)n.push(r),r=Hs();else n=o;return n!==null&&(n=e.substring(t,Or)),t=n,t}function Ds(){var t,n,r,i;return Br++,t=Or,e.charCodeAt(Or)===37?(n=zn,Or++):(n=null,Br===0&&zr(Wn)),n!==null?(r=Ws(),r!==null?(i=_s(),i!==null?(Mr=t,n=it(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Ps()),Br--,t===null&&(n=null,Br===0&&zr(nr)),t}function Ps(){var e,t,n;return e=Or,t=_s(),t!==null?(Mr=Or,n=rr(t),n?n=u:n=o,n!==null?(Mr=e,t=ir(t),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Hs(){var t,n,r,i;return Qn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Gn)),t===null&&(t=Or,e.charCodeAt(Or)===58?(n=sr,Or++):(n=null,Br===0&&zr(or)),n!==null?(r=Or,Br++,e.charCodeAt(Or)===32?(i=M,Or++):(i=null,Br===0&&zr(_)),Br--,i===null?r=u:(Or=r,r=o),r!==null?(Mr=t,n=P(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)),t}function Bs(){var e,t,n;return Br++,e=Or,t=_s(),t!==null?(Mr=Or,n=ar(t),n?n=u:n=o,n!==null?(Mr=e,t=ir(t),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),Br--,e===null&&(t=null,Br===0&&zr(ur)),e}function js(){var e,t,n;return e=Or,t=Fs(),t!==null?(n=zs(),n!==null?(Mr=e,t=it(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Fs(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61423?(n=lr,Or++):(n=null,Br===0&&zr(cr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(fr)),t}function Is(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61438?(n=dr,Or++):(n=null,Br===0&&zr(vr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(pr)),t}function qs(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61422?(n=gr,Or++):(n=null,Br===0&&zr(yr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(mr)),t}function Rs(){var t,n,r;return Br++,t=Or,e.charCodeAt(Or)===61439?(n=wr,Or++):(n=null,Br===0&&zr(Er)),n!==null?(e.charCodeAt(Or)===10?(r=Sr,Or++):(r=null,Br===0&&zr(xr)),r!==null?(Mr=t,n=wn(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),Br--,t===null&&(n=null,Br===0&&zr(br)),t}function Us(){var e,t;return Br++,e=Is(),e===null&&(e=qs()),Br--,e===null&&(t=null,Br===0&&zr(Tr)),e}function zs(){var t,n,r;Br++,t=Or,n=[],r=Xs();if(r!==null)while(r!==null)n.push(r),r=Xs();else n=o;return n!==null&&(n=e.substring(t,Or)),t=n,Br--,t===null&&(n=null,Br===0&&zr(Nr)),t}function Ws(){var e,t;Br++,e=[],t=Xs();while(t!==null)e.push(t),t=Xs();return Br--,e===null&&(t=null,Br===0&&zr(Cr)),e}function Xs(){var t,n;return Br++,Lr.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Ar)),Br--,t===null&&(n=null,Br===0&&zr(kr)),t}function Vs(){var t,n,r;return t=Or,n=Or,Br++,r=Fs(),r===null&&(r=Is(),r===null&&(r=Rs())),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function $s(){var t,n,r;t=Or,n=[],r=Vs();while(r!==null)n.push(r),r=Vs();return n!==null&&(n=e.substring(t,Or)),t=n,t}function eo(e,t,n){var r=e.hash;if(n){r=r||new Qs.HashNode([]);for(var i=0;i<n.length;++i)r.pairs.push(n[i])}var s=[e.id].concat(e.params);return s.unshift(new Qs.IdNode([t])),new Qs.MustacheNode(s,r,!e.escaped)}function to(e,t){var n=[];e&&n.push(e);for(var r=0;r<t.length;++r){var i=t[r];n.push(i[0]),i[1]&&n.push(i[1])}return n}function no(e){Js.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Xr},s=Xr,o=null,u="",a=function(e){return e},f=function(e,t){return new Qs.ProgramNode(e,t||[])},l="=",c='"="',h="else",p='"else"',d=[],v=function(e){var t=[],n=[];for(var r=0;r<e.length;++r){var i=e[r];for(var s=0;s<i.length;++s){var o=i[s];if(o.type==="content"){o.string&&n.push(o.string);continue}n.length&&(t.push(new Qs.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new Qs.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new Qs.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new Qs.PartialNameNode(e)},N=function(e){return[e]},C="/",k='"/"',L=/^[A-Z]/,A="[A-Z]",O=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!Ks||!n.match(/[A-Z]/)?e:(e.mustache=eo(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Ks||!n.match(/[A-Z]/)?e:eo(e,t)},M=" ",_='" "',D=function(e,t){if(t){t=t[1];for(var n=0,r=t.length;n<r;++n)e.push(new Qs.ContentNode(" ")),e=e.concat(t[n])}return e},P=function(e){return e},H=function(e){return[e]},B=function(e,t){var n=e[0];return t&&(n=n.concat(t)),e[1]&&n.push(e[1]),n},j=function(e,t){return t?new Qs.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new Qs.ProgramNode(e,[])},R=function(e){return e&&e[2]},U=function(e,t){var n=t.mustache||t;return n.escaped=e,t},z=function(e,t,n,r){if(e){var i=new Qs.PartialNameNode(t.string);return new Qs.PartialNode
2
+ (i,n[0])}var s=[],o={},u=!1;for(var a=0;a<n.length;++a){var f=n[a],l=f[0];l=="tagName"||l=="elementId"||l=="class"?(u=!0,o[l]=o[l]||[],o[l].push(f[1])):s.push(f)}if(u){r=r||new Qs.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new Qs.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new Qs.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?eo(h,"unbound"):p==="?"?eo(h,"if"):p==="^"?eo(h,"unless"):h},W=function(e){return["tagName",e]},X=function(e){return["elementId",e]},V=function(e){return["class",e]},$=function(e,t){return[e,t]},J=function(e){return[null,e]},K=function(e){return e},Q=function(e){return new Qs.HashNode(e)},G="PathIdent",Y="..",Z='".."',et=".",tt='"."',nt=/^[a-zA-Z0-9_$\-!?\^]/,rt="[a-zA-Z0-9_$\\-!?\\^]",it=function(e){return e},st="Key",ot=function(e){return[e[0],e[2]]},ut=function(e){return e},at=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},ft="PathSeparator",lt=/^[\/.]/,ct="[\\/.]",ht=function(e){var t=e[e.length-1],n,r;if(n=t.match(/[!\?\^]$/))r=n[0],e[e.length-1]=t.slice(0,-1);var i=new Qs.IdNode(e);return i._emblemSuffixModifier=r,i},pt=function(e){return new Qs.StringNode(e)},dt=function(e){return new Qs.IntegerNode(e)},vt=function(e){return new Qs.BooleanNode(e)},mt="Boolean",gt="true",yt='"true"',bt="false",wt='"false"',Et="Integer",St=/^[0-9]/,xt="[0-9]",Tt=function(e){return parseInt(e)},Nt='"',Ct='"\\""',kt="'",Lt='"\'"',At=function(e){return e[1]},Ot=/^[^"}]/,Mt='[^"}]',_t=/^[^'}]/,Dt="[^'}]",Pt=/^[A-Za-z]/,Ht="[A-Za-z]",Bt=function(e,t,n){t.unshift(new Qs.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new Qs.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},jt=/^[|`']/,Ft="[|`']",It="<",qt='"<"',Rt=function(){return"<"},Ut=function(e,t,n){(t.length||!n)&&t.push("\n");if(n){n=n[1];for(var r=0;r<n.length;++r)t=t.concat(n[r]),t.push("\n")}var i=[],s=e!=="`";for(var r=0;r<t.length;++r){var o=t[r];o=="\n"?s||i.push(new Qs.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new Qs.ContentNode(" ")),i},zt=function(e,t){return to(e,t)},Wt=function(e,t){return to(e,t)},Xt=function(e){return e.escaped=!0,e},Vt=function(e){return e.escaped=!1,e},$t=function(e){return new Qs.ContentNode(e)},Jt="any character",Kt="SingleMustacheOpen",Qt="{",Gt='"{"',Yt="DoubleMustacheOpen",Zt="{{",en='"{{"',tn="TripleMustacheOpen",nn="{{{",rn='"{{{"',sn="SingleMustacheClose",on="}",un='"}"',an="DoubleMustacheClose",fn="}}",ln='"}}"',cn="TripleMustacheClose",hn="}}}",pn='"}}}"',dn="InterpolationOpen",vn="#{",mn='"#{"',gn="InterpolationClose",yn="==",bn='"=="',wn=function(){return!1},En=function(){return!0},Sn=function(e,t){return e||t},xn=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new Qs.ContentNode("<"+r)),s&&u.push(new Qs.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new Qs.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new Qs.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);return Gs[r]?(u.push(new Qs.ContentNode(" />")),[u]):(u.push(new Qs.ContentNode(">")),[u,new Qs.ContentNode("</"+r+">")])},Tn=function(e){return{shorthand:e,id:!0}},Nn=function(e){return{shorthand:e}},Cn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},kn=function(e){return[new Qs.ContentNode(" ")].concat(e)},Ln=/^[A-Za-z.:0-9_\-]/,An="[A-Za-z.:0-9_\\-]",On=function(e){return new Qs.MustacheNode([e])},Mn=function(e,t){return[eo(t,"action",[["on",new Qs.StringNode(e)]])]},_n=function(e){return e.replace(/ *$/,"")},Dn="!",Pn='"!"',Hn=function(e,t){return Ks},Bn=function(e,t){var n=new Qs.HashNode([[e,new Qs.StringNode(t)]]),r=[new Qs.IdNode(["bindAttr"])],i=new Qs.MustacheNode(r,n);return[i]},jn=function(e,t){var n=new Qs.MustacheNode([t]);return Ks&&t._emblemSuffixModifier==="!"&&(n=eo(n,"unbound")),[new Qs.ContentNode(e+"="+'"'),n,new Qs.ContentNode('"')]},Fn=function(e,t){var n=[new Qs.ContentNode(e+"="+'"')].concat(t);return n.concat([new Qs.ContentNode('"')])},In="_",qn='"_"',Rn="-",Un='"-"',zn="%",Wn='"%"',Xn="#",Vn='"#"',$n=function(e){return e},Jn="CSSIdentifier",Kn=function(e,t){return e+t},Qn=/^[_a-zA-Z0-9\-]/,Gn="[_a-zA-Z0-9\\-]",Yn=/^[_a-zA-Z]/,Zn="[_a-zA-Z]",er=/^[\x80-\xFF]/,tr="[\\x80-\\xFF]",nr="KnownHTMLTagName",rr=function(e){return!!Ys[e]},ir=function(e){return e},sr=":",or='":"',ur="a JS event",ar=function(e){return!!Zs[e]},fr="INDENT",lr="",cr='"\\uEFEF"',hr=function(){return""},pr="DEDENT",dr="",vr='"\\uEFFE"',mr="Unmatched DEDENT",gr="",yr='"\\uEFEE"',br="LineEnd",wr="",Er='"\\uEFFF"',Sr="\n",xr='"\\n"',Tr="ANYDEDENT",Nr="RequiredWhitespace",Cr="OptionalWhitespace",kr="InlineWhitespace",Lr=/^[ \t]/,Ar="[ \\t]",Or=0,Mr=0,_r=0,Dr={line:1,column:1,seenCR:!1},Pr=0,Hr=[],Br=0,jr;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var Js=n.handlebarsVariant,Ks=Js.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",Qs=Js.AST,Gs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ys={figcaption:!0,blockquote:!0,plaintext:!0,textarea:!0,progress:!0,optgroup:!0,noscript:!0,noframes:!0,frameset:!0,fieldset:!0,datalist:!0,colgroup:!0,basefont:!0,summary:!0,section:!0,marquee:!0,listing:!0,isindex:!0,details:!0,command:!0,caption:!0,bgsound:!0,article:!0,address:!0,acronym:!0,strong:!0,strike:!0,spacer:!0,source:!0,select:!0,script:!0,output:!0,option:!0,object:!0,legend:!0,keygen:!0,iframe:!0,hgroup:!0,header:!0,footer:!0,figure:!0,center:!0,canvas:!0,button:!0,applet:!0,video:!0,track:!0,title:!0,thead:!0,tfoot:!0,tbody:!0,table:!0,style:!0,small:!0,param:!0,meter:!0,label:!0,input:!0,frame:!0,embed:!0,blink:!0,audio:!0,aside:!0,time:!0,span:!0,samp:!0,ruby:!0,nobr:!0,meta:!0,menu:!0,mark:!0,main:!0,link:!0,html:!0,head:!0,form:!0,font:!0,data:!0,code:!0,cite:!0,body:!0,base:!0,area:!0,abbr:!0,xmp:!0,wbr:!0,"var":!0,sup:!0,sub:!0,pre:!0,nav:!0,map:!0,kbd:!0,ins:!0,img:!0,div:!0,dir:!0,dfn:!0,del:!0,col:!0,big:!0,bdo:!0,bdi:!0,ul:!0,tt:!0,tr:!0,th:!0,td:!0,rt:!0,rp:!0,ol:!0,li:!0,hr:!0,h6:!0,h5:!0,h4:!0,h3:!0,h2:!0,h1:!0,em:!0,dt:!0,dl:!0,dd:!0,br:!0,u:!0,s:!0,q:!0,p:!0,i:!0,b:!0,a:!0},Zs={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};jr=s();if(jr!==null&&Or===e.length)return jr;throw Wr(Hr),Mr=Math.max(Or,Pr),new t(Hr,Mr<e.length?e.charAt(Mr):null,Mr,Ur(Mr).line,Ur(Mr).column)}return e(t,Error),{SyntaxError:t,parse:r}}();var n;n.throwCompileError=function(e,t){throw new Error("Emblem syntax error, line "+e+": "+t)},n.registerPartial=function(e,t,r){return r||(r=t,t=e,e=Handlebars),e.registerPartial(t,n.compile(e,r))},n.parse=function(e){var t,r,i,s;try{return s=n.Preprocessor.processSync(e),n.Parser.parse(s)}catch(o){if(o instanceof n.Parser.SyntaxError)return r=e.split("\n"),t=r[o.line-1],i=""+o.message+"\n"+t+"\n",i+=(new Array(o.column)).join("-"),i+="^",n.throwCompileError(o.line,i);throw o}},n.precompile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.precompile(i,r)},n.compile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.compile(i,r)};var n,r,t;n.Preprocessor=r=function(){function l(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(e){throw new Error("Unexpected "+e)},this.output="",this.context.observe=function(t){var n;n=this.peek();switch(t){case r:this.push(t);break;case e:n!==r&&this.err(t),this.pop();break;case"\n":n!=="/"&&this.err(t),this.pop();break;case"/":this.push(t);break;case"end-\\":n!=="\\"&&this.err(t),this.pop();break;default:throw new Error("undefined token observed: "+t)}return this},this.StringScanner?this.ss=new this.StringScanner(""):n.StringScanner?this.ss=new n.StringScanner(""):this.ss=new t("")}var e,r,i,s,o,u,a,f;return f="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",r="",e="",s="",i="",o=RegExp("["+f+"\\n]*$"),u=RegExp("(?:["+f+"]*\\n)+"),l.prototype.p=function(e){return e&&(this.output+=e),e},l.prototype.scan=function(e){return this.p(this.ss.scan(e))},l.prototype.discard=function(e){return this.ss.scan(e)},a=function(t){return function(n){var a,l,c,h;t||(this.ss.concat(n),this.discard(u));while(!this.ss.eos())switch(this.context.peek()){case null:case r:if(this.ss.bol()||this.discard(u)){if(this.discard(RegExp("["+f+"]*\\n"))){this.p(""+i+"\n");continue}if(this.base!=null){if(this.discard(this.base)==null)throw new Error("inconsistent base indentation")}else a=this.discard(RegExp("["+f+"]*")),this.base=RegExp(""+a);if(this.indents.length===0)this.ss.check(RegExp("["+f+"]+"))&&(this.p(r),this.context.observe(r),this.indents.push(this.scan(RegExp("(["+f+"]+)"))));else{c=this.indents[this.indents.length-1];if(l=this.ss.check(RegExp("("+c+")")))this.discard(l),this.ss.check(RegExp("(["+f+"]+)"))&&(this.p(r),this.context.observe(r),this.indents.push(l+this.scan(RegExp("(["+f+"]+)"))));else{while(this.indents.length){c=this.indents[this.indents.length-1];if(this.discard(RegExp("(?:"+c+")")))break;this.context.observe(e),this.p(e),this.indents.pop()}if(h=this.discard(RegExp("["+f+"]+")))this.output=this.output.slice(0,-1),this.output+=s,this.p(r),this.context.observe(r),this.indents.push(h)}}}this.scan(/[^\n\\]+/),this.discard(/\n/)&&this.p(""+i+"\n")}if(t){this.scan(o);while(this.context.length&&r===this.context.peek())this.context.observe(e),this.p(e);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},l.prototype.processData=a(!1),l.prototype.processEnd=a(!0),l.processSync=function(e){var t;return e+="\n",t=new l,t.processData(e),t.processEnd(),t.output},l}();var i,n,s;n.compileScriptTags=function(){if(typeof Ember=="undefined"||Ember===null)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");if(typeof document!="undefined"&&document!==null)return Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var e,t,r;return t=Ember.$(this),e=t.attr("type")==="text/x-raw-handlebars"?Handlebars:Ember.Handlebars,r=t.attr("data-template-name")||t.attr("id")||"application",Ember.TEMPLATES[r]=n.compile(e,t.html()),t.remove()})},this.ENV||(this.ENV={}),i=this.ENV,i.EMBER_LOAD_HOOKS||(i.EMBER_LOAD_HOOKS={}),(s=i.EMBER_LOAD_HOOKS).application||(s.application=[]),i.EMBER_LOAD_HOOKS.application.push(function(){return n.compileScriptTags()}),e.Emblem=n})(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emblem-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-22 00:00:00.000000000 Z
12
+ date: 2013-03-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Emblem.js source code wrapper for (pre)compilation gems.
15
15
  email: