emblem-source 0.2.5 → 0.2.7

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 +89 -45
  2. data/dist/emblem.min.js +2 -2
  3. metadata +2 -2
data/dist/emblem.js CHANGED
@@ -178,7 +178,7 @@ this.Emblem = {};
178
178
 
179
179
  Emblem = this.Emblem;
180
180
 
181
- Emblem.VERSION = "0.2.5";
181
+ Emblem.VERSION = "0.2.7";
182
182
 
183
183
 
184
184
 
@@ -617,7 +617,8 @@ Emblem.Parser = (function() {
617
617
  tagOpenContent = tagOpenContent.concat(fullAttributes[i]);
618
618
  }
619
619
 
620
- if(SELF_CLOSING_TAG[tagName]) {
620
+ var closingTagSlashPresent = !!h[2];
621
+ if(SELF_CLOSING_TAG[tagName] || closingTagSlashPresent) {
621
622
  tagOpenContent.push(new AST.ContentNode(' />'));
622
623
  return [tagOpenContent];
623
624
  } else {
@@ -712,16 +713,18 @@ Emblem.Parser = (function() {
712
713
  peg$c174 = "\uEFEE",
713
714
  peg$c175 = "\"\\uEFEE\"",
714
715
  peg$c176 = "LineEnd",
715
- peg$c177 = "\uEFFF",
716
- peg$c178 = "\"\\uEFFF\"",
717
- peg$c179 = "\n",
718
- peg$c180 = "\"\\n\"",
719
- peg$c181 = "ANYDEDENT",
720
- peg$c182 = "RequiredWhitespace",
721
- peg$c183 = "OptionalWhitespace",
722
- peg$c184 = "InlineWhitespace",
723
- peg$c185 = /^[ \t]/,
724
- peg$c186 = "[ \\t]",
716
+ peg$c177 = "\r",
717
+ peg$c178 = "\"\\r\"",
718
+ peg$c179 = "\uEFFF",
719
+ peg$c180 = "\"\\uEFFF\"",
720
+ peg$c181 = "\n",
721
+ peg$c182 = "\"\\n\"",
722
+ peg$c183 = "ANYDEDENT",
723
+ peg$c184 = "RequiredWhitespace",
724
+ peg$c185 = "OptionalWhitespace",
725
+ peg$c186 = "InlineWhitespace",
726
+ peg$c187 = /^[ \t]/,
727
+ peg$c188 = "[ \\t]",
725
728
 
726
729
  peg$currPos = 0,
727
730
  peg$reportedPos = 0,
@@ -1657,7 +1660,7 @@ Emblem.Parser = (function() {
1657
1660
  }
1658
1661
 
1659
1662
  function peg$parseinvertibleContent() {
1660
- var s0, s1, s2, s3, s4, s5, s6, s7, s8;
1663
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
1661
1664
 
1662
1665
  s0 = peg$currPos;
1663
1666
  s1 = peg$parsecontent();
@@ -1671,17 +1674,28 @@ Emblem.Parser = (function() {
1671
1674
  if (s5 !== null) {
1672
1675
  s6 = peg$parseTERM();
1673
1676
  if (s6 !== null) {
1674
- s7 = peg$parseindentation();
1677
+ s7 = [];
1678
+ s8 = peg$parseblankLine();
1679
+ while (s8 !== null) {
1680
+ s7.push(s8);
1681
+ s8 = peg$parseblankLine();
1682
+ }
1675
1683
  if (s7 !== null) {
1676
- s8 = peg$parsecontent();
1684
+ s8 = peg$parseindentation();
1677
1685
  if (s8 !== null) {
1678
- peg$reportedPos = s2;
1679
- s3 = peg$c2(s8);
1680
- if (s3 === null) {
1681
- peg$currPos = s2;
1682
- s2 = s3;
1686
+ s9 = peg$parsecontent();
1687
+ if (s9 !== null) {
1688
+ peg$reportedPos = s2;
1689
+ s3 = peg$c2(s9);
1690
+ if (s3 === null) {
1691
+ peg$currPos = s2;
1692
+ s2 = s3;
1693
+ } else {
1694
+ s2 = s3;
1695
+ }
1683
1696
  } else {
1684
- s2 = s3;
1697
+ peg$currPos = s2;
1698
+ s2 = peg$c0;
1685
1699
  }
1686
1700
  } else {
1687
1701
  peg$currPos = s2;
@@ -4147,7 +4161,7 @@ Emblem.Parser = (function() {
4147
4161
  }
4148
4162
 
4149
4163
  function peg$parsehtmlStart() {
4150
- var s0, s1, s2, s3;
4164
+ var s0, s1, s2, s3, s4;
4151
4165
 
4152
4166
  s0 = peg$currPos;
4153
4167
  s1 = peg$parsehtmlTagName();
@@ -4160,16 +4174,31 @@ Emblem.Parser = (function() {
4160
4174
  s2 = peg$c1;
4161
4175
  }
4162
4176
  if (s2 !== null) {
4163
- peg$reportedPos = peg$currPos;
4164
- s3 = peg$c126(s1,s2);
4165
- if (s3) {
4166
- s3 = peg$c1;
4177
+ if (input.charCodeAt(peg$currPos) === 47) {
4178
+ s3 = peg$c20;
4179
+ peg$currPos++;
4167
4180
  } else {
4168
- s3 = peg$c0;
4181
+ s3 = null;
4182
+ if (peg$silentFails === 0) { peg$fail(peg$c21); }
4183
+ }
4184
+ if (s3 === null) {
4185
+ s3 = peg$c1;
4169
4186
  }
4170
4187
  if (s3 !== null) {
4171
- s1 = [s1, s2, s3];
4172
- s0 = s1;
4188
+ peg$reportedPos = peg$currPos;
4189
+ s4 = peg$c126(s1,s2);
4190
+ if (s4) {
4191
+ s4 = peg$c1;
4192
+ } else {
4193
+ s4 = peg$c0;
4194
+ }
4195
+ if (s4 !== null) {
4196
+ s1 = [s1, s2, s3, s4];
4197
+ s0 = s1;
4198
+ } else {
4199
+ peg$currPos = s0;
4200
+ s0 = peg$c0;
4201
+ }
4173
4202
  } else {
4174
4203
  peg$currPos = s0;
4175
4204
  s0 = peg$c0;
@@ -5370,19 +5399,22 @@ Emblem.Parser = (function() {
5370
5399
  }
5371
5400
 
5372
5401
  function peg$parseTERM() {
5373
- var s0, s1, s2;
5402
+ var s0, s1, s2, s3;
5374
5403
 
5375
5404
  peg$silentFails++;
5376
5405
  s0 = peg$currPos;
5377
- if (input.charCodeAt(peg$currPos) === 61439) {
5406
+ if (input.charCodeAt(peg$currPos) === 13) {
5378
5407
  s1 = peg$c177;
5379
5408
  peg$currPos++;
5380
5409
  } else {
5381
5410
  s1 = null;
5382
5411
  if (peg$silentFails === 0) { peg$fail(peg$c178); }
5383
5412
  }
5413
+ if (s1 === null) {
5414
+ s1 = peg$c1;
5415
+ }
5384
5416
  if (s1 !== null) {
5385
- if (input.charCodeAt(peg$currPos) === 10) {
5417
+ if (input.charCodeAt(peg$currPos) === 61439) {
5386
5418
  s2 = peg$c179;
5387
5419
  peg$currPos++;
5388
5420
  } else {
@@ -5390,13 +5422,25 @@ Emblem.Parser = (function() {
5390
5422
  if (peg$silentFails === 0) { peg$fail(peg$c180); }
5391
5423
  }
5392
5424
  if (s2 !== null) {
5393
- peg$reportedPos = s0;
5394
- s1 = peg$c124();
5395
- if (s1 === null) {
5396
- peg$currPos = s0;
5397
- s0 = s1;
5425
+ if (input.charCodeAt(peg$currPos) === 10) {
5426
+ s3 = peg$c181;
5427
+ peg$currPos++;
5398
5428
  } else {
5399
- s0 = s1;
5429
+ s3 = null;
5430
+ if (peg$silentFails === 0) { peg$fail(peg$c182); }
5431
+ }
5432
+ if (s3 !== null) {
5433
+ peg$reportedPos = s0;
5434
+ s1 = peg$c124();
5435
+ if (s1 === null) {
5436
+ peg$currPos = s0;
5437
+ s0 = s1;
5438
+ } else {
5439
+ s0 = s1;
5440
+ }
5441
+ } else {
5442
+ peg$currPos = s0;
5443
+ s0 = peg$c0;
5400
5444
  }
5401
5445
  } else {
5402
5446
  peg$currPos = s0;
@@ -5426,7 +5470,7 @@ Emblem.Parser = (function() {
5426
5470
  peg$silentFails--;
5427
5471
  if (s0 === null) {
5428
5472
  s1 = null;
5429
- if (peg$silentFails === 0) { peg$fail(peg$c181); }
5473
+ if (peg$silentFails === 0) { peg$fail(peg$c183); }
5430
5474
  }
5431
5475
 
5432
5476
  return s0;
@@ -5454,7 +5498,7 @@ Emblem.Parser = (function() {
5454
5498
  peg$silentFails--;
5455
5499
  if (s0 === null) {
5456
5500
  s1 = null;
5457
- if (peg$silentFails === 0) { peg$fail(peg$c182); }
5501
+ if (peg$silentFails === 0) { peg$fail(peg$c184); }
5458
5502
  }
5459
5503
 
5460
5504
  return s0;
@@ -5473,7 +5517,7 @@ Emblem.Parser = (function() {
5473
5517
  peg$silentFails--;
5474
5518
  if (s0 === null) {
5475
5519
  s1 = null;
5476
- if (peg$silentFails === 0) { peg$fail(peg$c183); }
5520
+ if (peg$silentFails === 0) { peg$fail(peg$c185); }
5477
5521
  }
5478
5522
 
5479
5523
  return s0;
@@ -5483,17 +5527,17 @@ Emblem.Parser = (function() {
5483
5527
  var s0, s1;
5484
5528
 
5485
5529
  peg$silentFails++;
5486
- if (peg$c185.test(input.charAt(peg$currPos))) {
5530
+ if (peg$c187.test(input.charAt(peg$currPos))) {
5487
5531
  s0 = input.charAt(peg$currPos);
5488
5532
  peg$currPos++;
5489
5533
  } else {
5490
5534
  s0 = null;
5491
- if (peg$silentFails === 0) { peg$fail(peg$c186); }
5535
+ if (peg$silentFails === 0) { peg$fail(peg$c188); }
5492
5536
  }
5493
5537
  peg$silentFails--;
5494
5538
  if (s0 === null) {
5495
5539
  s1 = null;
5496
- if (peg$silentFails === 0) { peg$fail(peg$c184); }
5540
+ if (peg$silentFails === 0) { peg$fail(peg$c186); }
5497
5541
  }
5498
5542
 
5499
5543
  return s0;
@@ -5899,7 +5943,7 @@ Emblem.Preprocessor = Preprocessor = (function() {
5899
5943
  }
5900
5944
  }
5901
5945
  }
5902
- this.scan(/[^\n\\]+/);
5946
+ this.scan(/[^\n]+/);
5903
5947
  if (this.discard(/\n/)) {
5904
5948
  this.p("" + TERM + "\n");
5905
5949
  }
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.2.5",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 qr(){return e.substring(Dr,_r)}function Rr(){return Dr}function Ur(){return Wr(Dr).line}function zr(){return Wr(Dr).column}function Wr(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 Pr!==t&&(Pr>t&&(Pr=0,Hr={line:1,column:1,seenCR:!1}),Pr=t,n(Hr,Pr)),Hr}function Xr(e){if(_r<Br)return;_r>Br&&(Br=_r,jr=[]),jr.push(e)}function Vr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function $r(){var e;return e=Jr(),e}function Jr(){var e,t,n,r,i,s,l,c,h;return e=_r,t=Qr(),t!==null?(n=_r,r=Ws(),r!==null?(i=Kr(),i!==null?(s=Ks(),s!==null?(l=Vs(),l!==null?(c=Us(),c!==null?(h=Qr(),h!==null?(Dr=n,r=a(h),r===null?(_r=n,n=r):n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=u),n!==null?(Dr=e,t=f(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function Kr(){var t,n,r,i;return t=_r,n=_r,e.charCodeAt(_r)===61?(r=l,_r++):(r=null,Fr===0&&Xr(c)),r!==null?(i=Ks(),i!==null?(r=[r,i],n=r):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=u),n!==null?(e.substr(_r,4)===h?(r=h,_r+=4):(r=null,Fr===0&&Xr(p)),r!==null?(n=[n,r],t=n):(_r=t,t=o)):(_r=t,t=o),t}function Qr(){var e,t,n;e=_r,t=[],n=Gr();while(n!==null)t.push(n),n=Gr();return t!==null&&(Dr=e,t=v(t)),t===null?(_r=e,e=t):e=t,e}function Gr(){var e,t;return Fr++,e=Zr(),e===null&&(e=ii(),e===null&&(e=Yr())),Fr--,e===null&&(t=null,Fr===0&&Xr(m)),e}function Yr(){var e,t;return Fr++,e=ei(),e===null&&(e=ci(),e===null&&(e=Ri(),e===null&&(e=ni()))),Fr--,e===null&&(t=null,Fr===0&&Xr(g)),e}function Zr(){var e,t,n;return e=_r,t=Ks(),t!==null?(n=Vs(),n!==null?(Dr=e,t=y(),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function ei(){var t,n,r,i,s,u,a,f;t=_r,e.charCodeAt(_r)===62?(n=b,_r++):(n=null,Fr===0&&Xr(w));if(n!==null){r=Ks();if(r!==null){i=ti();if(i!==null){s=Ks();if(s!==null){u=[],a=Ei();while(a!==null)u.push(a),a=Ei();u!==null?(a=Ks(),a!==null?(f=Vs(),f!==null?(Dr=t,n=E(i,u),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o)}else _r=t,t=o}else _r=t,t=o}else _r=t,t=o}else _r=t,t=o;return t}function ti(){var t,n,r,i;t=_r,n=_r,r=[],S.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(x));else r=o;return r!==null&&(r=e.substring(n,_r)),n=r,n!==null&&(Dr=t,n=T(n)),n===null?(_r=t,t=n):t=n,t}function ni(){var e,t;return e=_r,t=vi(),t===null&&(t=oi()),t!==null&&(Dr=e,t=N(t)),t===null?(_r=e,e=t):e=t,e}function ri(){var e,t,n,r,i,s,u,a;e=_r,t=Ys();if(t!==null){n=Vs();if(n!==null){r=[],i=_r,s=Us();if(s!==null){u=[],a=ri();if(a!==null)while(a!==null)u.push(a),a=ri();else u=o;u!==null?(a=$s(),a!==null?(s=[s,u,a],i=s):(_r=i,i=o)):(_r=i,i=o)}else _r=i,i=o;while(i!==null){r.push(i),i=_r,s=Us();if(s!==null){u=[],a=ri();if(a!==null)while(a!==null)u.push(a),a=ri();else u=o;u!==null?(a=$s(),a!==null?(s=[s,u,a],i=s):(_r=i,i=o)):(_r=i,i=o)}else _r=i,i=o}r!==null?(Dr=e,t=y(),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o}else _r=e,e=o;return e}function ii(){var t,n,r;return t=_r,e.charCodeAt(_r)===47?(n=C,_r++):(n=null,Fr===0&&Xr(k)),n!==null?(r=ri(),r!==null?(Dr=t,n=y(),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function si(){var t,n,r;return t=_r,e.charCodeAt(_r)===47?(n=C,_r++):(n=null,Fr===0&&Xr(k)),n!==null?(r=Ys(),r!==null?(n=[n,r],t=n):(_r=t,t=o)):(_r=t,t=o),t}function oi(){var e;return e=ui(),e===null&&(e=hi()),e}function ui(){var t,n,r;return t=_r,n=_r,Fr++,L.test(e.charAt(_r))?(r=e.charAt(_r),_r++):(r=null,Fr===0&&Xr(A)),Fr--,r!==null?(_r=n,n=u):n=o,n!==null?(r=hi(),r!==null?(Dr=t,n=O(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function ai(){var t,n,r,i,s,a,f;t=_r,e.charCodeAt(_r)===32?(n=M,_r++):(n=null,Fr===0&&Xr(_));if(n!==null){r=Ui();if(r!==null){i=_r,s=Us();if(s!==null){a=[],f=Ii();if(f!==null)while(f!==null)a.push(f),f=Ii();else a=o;a!==null?(f=Ws(),f!==null?(s=[s,a,f],i=s):(_r=i,i=o)):(_r=i,i=o)}else _r=i,i=o;i===null&&(i=u),i!==null?(Dr=t,n=D(r,i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)}else _r=t,t=o}else _r=t,t=o;return t}function fi(){var e,t,n,r,i;e=_r,t=[],n=Zr();while(n!==null)t.push(n),n=Zr();return t!==null?(n=Us(),n!==null?(r=Qr(),r!==null?(i=Ws(),i!==null?(Dr=e,t=P(r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e}function li(){var e,t,n,r,i;return e=pi(),e===null&&(e=_r,t=Ks(),t!==null?(n=vi(),n!==null?(Dr=e,t=H(n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e===null&&(e=_r,t=Ks(),t!==null?(n=si(),n===null&&(n=u),n!==null?(r=Vs(),r!==null?(i=fi(),i===null&&(i=u),i!==null?(Dr=e,t=P(i),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e===null&&(e=ai()))),e}function ci(){var e,t,n;return e=_r,t=vs(),t!==null?(n=li(),n!==null?(Dr=e,t=B(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function hi(){var e,t,n,r,i;return e=_r,t=mi(),t!==null?(n=Ks(),n!==null?(r=si(),r===null&&(r=u),r!==null?(i=di(),i!==null?(Dr=e,t=j(t,i),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e}function Jr(){var e,t,n,r,i,s,l,c,h;return e=_r,t=Qr(),t!==null?(n=_r,r=Ws(),r!==null?(i=Kr(),i!==null?(s=Ks(),s!==null?(l=Vs(),l!==null?(c=Us(),c!==null?(h=Qr(),h!==null?(Dr=n,r=a(h),r===null?(_r=n,n=r):n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=u),n!==null?(Dr=e,t=f(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function pi(){var t,n,r,i;return t=_r,e.substr(_r,2)===F?(n=F,_r+=2):(n=null,Fr===0&&Xr(I)),n!==null?(r=Ks(),r!==null?(i=Yr(),i!==null?(Dr=t,n=P(i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t}function di(){var e,t,n,r,i,s,a;e=_r,t=pi(),t===null&&(t=Ri()),t!==null&&(Dr=e,t=q(t)),t===null?(_r=e,e=t):e=t;if(e===null){e=_r,t=Vs();if(t!==null){n=_r,r=[],i=Zr();while(i!==null)r.push(i),i=Zr();r!==null?(i=Us(),i!==null?(s=Jr(),s!==null?(a=Ws(),a!==null?(r=[r,i,s,a],n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=u),n!==null?(Dr=e,t=R(n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o}return e}function vi(){var e,t,n;return e=_r,t=ps(),t!==null?(n=hi(),n!==null?(Dr=e,t=U(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function mi(){var t,n,r,i,s,a;t=_r,e.charCodeAt(_r)===62?(n=b,_r++):(n=null,Fr===0&&Xr(w)),n===null&&(n=u);if(n!==null){r=Ks();if(r!==null){i=Ai();if(i!==null){s=[],a=Ei();while(a!==null)s.push(a),a=Ei();s!==null?(a=Si(),a===null&&(a=u),a!==null?(Dr=t,n=z(n,i,s,a),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)}else _r=t,t=o}else _r=t,t=o}else _r=t,t=o;return t}function gi(){var e,t;return e=_r,t=Ls(),t!==null&&(Dr=e,t=W(t)),t===null?(_r=e,e=t):e=t,e===null&&(e=_r,t=As(),t!==null&&(Dr=e,t=X(t)),t===null?(_r=e,e=t):e=t,e===null&&(e=_r,t=Os(),t!==null&&(Dr=e,t=V(t)),t===null?(_r=e,e=t):e=t)),e}function yi(){var e;return e=bi(),e===null&&(e=wi()),e}function bi(){var e,t,n,r;e=_r,t=As();if(t!==null){n=[],r=Os();while(r!==null)n.push(r),r=Os();n!==null?(Dr=e,t=$(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o;return e}function wi(){var e,t,n;e=_r,t=[],n=Os();if(n!==null)while(n!==null)t.push(n),n=Os();else t=o;return t!==null&&(Dr=e,t=J(t)),t===null?(_r=e,e=t):e=t,e}function Ei(){var e,t,n;return e=_r,t=Ks(),t!==null?(n=gi(),n===null&&(n=Ci()),n!==null?(Dr=e,t=K(n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function Si(){var e,t,n;e=_r,t=[],n=Ni();if(n!==null)while(n!==null)t.push(n),n=Ni();else t=o;return t!==null&&(Dr=e,t=Q(t)),t===null?(_r=e,e=t):e=t,e}function xi(){var t,n,r,i;Fr++,e.substr(_r,2)===Y?(t=Y,_r+=2):(t=null,Fr===0&&Xr(Z));if(t===null){e.charCodeAt(_r)===46?(t=et,_r++):(t=null,Fr===0&&Xr(tt));if(t===null){t=_r,n=_r,r=[],nt.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(rt));else r=o;r!==null&&(r=e.substring(n,_r)),n=r,n!==null?(r=_r,Fr++,e.charCodeAt(_r)===61?(i=l,_r++):(i=null,Fr===0&&Xr(c)),Fr--,i===null?r=u:(_r=r,r=o),r!==null?(Dr=t,n=it(n),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)}}return Fr--,t===null&&(n=null,Fr===0&&Xr(G)),t}function Ti(){var e,t;return Fr++,e=_s(),Fr--,e===null&&(t=null,Fr===0&&Xr(st)),e}function Ni(){var t,n,r,i,s,u;return t=_r,n=Ks(),n!==null?(r=_r,i=Ti(),i!==null?(e.charCodeAt(_r)===61?(s=l,_r++):(s=null,Fr===0&&Xr(c)),s!==null?(u=_i(),u!==null?(i=[i,s,u],r=i):(_r=r,r=o)):(_r=r,r=o)):(_r=r,r=o),r===null&&(r=_r,i=Ti(),i!==null?(e.charCodeAt(_r)===61?(s=l,_r++):(s=null,Fr===0&&Xr(c)),s!==null?(u=Mi(),u!==null?(i=[i,s,u],r=i):(_r=r,r=o)):(_r=r,r=o)):(_r=r,r=o),r===null&&(r=_r,i=Ti(),i!==null?(e.charCodeAt(_r)===61?(s=l,_r++):(s=null,Fr===0&&Xr(c)),s!==null?(u=Ai(),u!==null?(i=[i,s,u],r=i):(_r=r,r=o)):(_r=r,r=o)):(_r=r,r=o),r===null&&(r=_r,i=Ti(),i!==null?(e.charCodeAt(_r)===61?(s=l,_r++):(s=null,Fr===0&&Xr(c)),s!==null?(u=Oi(),u!==null?(i=[i,s,u],r=i):(_r=r,r=o)):(_r=r,r=o)):(_r=r,r=o)))),r!==null?(Dr=t,n=ot(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Ci(){var e;return e=_i(),e===null&&(e=Mi(),e===null&&(e=Ai(),e===null&&(e=Oi()))),e}function ki(){var e,t,n,r,i,s;e=_r,t=xi();if(t!==null){n=[],r=_r,i=Li(),i!==null?(s=xi(),s!==null?(Dr=r,i=ut(s),i===null?(_r=r,r=i):r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=Li(),i!==null?(s=xi(),s!==null?(Dr=r,i=ut(s),i===null?(_r=r,r=i):r=i):(_r=r,r=o)):(_r=r,r=o);n!==null?(Dr=e,t=at(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o;return e}function Li(){var t,n;return Fr++,lt.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(ct)),Fr--,t===null&&(n=null,Fr===0&&Xr(ft)),t}function Ai(){var e,t;return e=_r,t=ki(),t!==null&&(Dr=e,t=ht(t)),t===null?(_r=e,e=t):e=t,e}function Oi(){var e,t;return e=_r,t=Hi(),t!==null&&(Dr=e,t=pt(t)),t===null?(_r=e,e=t):e=t,e}function Mi(){var e,t;return e=_r,t=Pi(),t!==null&&(Dr=e,t=dt(t)),t===null?(_r=e,e=t):e=t,e}function _i(){var e,t;return e=_r,t=Di(),t!==null&&(Dr=e,t=vt(t)),t===null?(_r=e,e=t):e=t,e}function Di(){var t,n;return Fr++,e.substr(_r,4)===gt?(t=gt,_r+=4):(t=null,Fr===0&&Xr(yt)),t===null&&(e.substr(_r,5)===bt?(t=bt,_r+=5):(t=null,Fr===0&&Xr(wt))),Fr--,t===null&&(n=null,Fr===0&&Xr(mt)),t}function Pi(){var t,n,r,i;Fr++,t=_r,n=_r,r=[],St.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(xt));if(i!==null)while(i!==null)r.push(i),St.test(e.charAt(_r))?(i=e.charAt(_r),_r++):(i=null,Fr===0&&Xr(xt));else r=o;return r!==null&&(r=e.substring(n,_r)),n=r,n!==null&&(Dr=t,n=Tt(n)),n===null?(_r=t,t=n):t=n,Fr--,t===null&&(n=null,Fr===0&&Xr(Et)),t}function Hi(){var t,n,r,i,s;return t=_r,n=_r,e.charCodeAt(_r)===34?(r=Nt,_r++):(r=null,Fr===0&&Xr(Ct)),r!==null?(i=Bi(),i!==null?(e.charCodeAt(_r)===34?(s=Nt,_r++):(s=null,Fr===0&&Xr(Ct)),s!==null?(r=[r,i,s],n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=_r,e.charCodeAt(_r)===39?(r=kt,_r++):(r=null,Fr===0&&Xr(Lt)),r!==null?(i=ji(),i!==null?(e.charCodeAt(_r)===39?(s=kt,_r++):(s=null,Fr===0&&Xr(Lt)),s!==null?(r=[r,i,s],n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)),n!==null&&(Dr=t,n=At(n)),n===null?(_r=t,t=n):t=n,t}function Bi(){var t,n,r,i,s;t=_r,n=[],r=_r,i=_r,Fr++,s=Vs(),Fr--,s===null?i=u:(_r=i,i=o),i!==null?(Ot.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Mt)),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=_r,Fr++,s=Vs(),Fr--,s===null?i=u:(_r=i,i=o),i!==null?(Ot.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Mt)),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);return n!==null&&(n=e.substring(t,_r)),t=n,t}function ji(){var t,n,r,i,s;t=_r,n=[],r=_r,i=_r,Fr++,s=Vs(),Fr--,s===null?i=u:(_r=i,i=o),i!==null?(_t.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Dt)),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=_r,Fr++,s=Vs(),Fr--,s===null?i=u:(_r=i,i=o),i!==null?(_t.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Dt)),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);return n!==null&&(n=e.substring(t,_r)),t=n,t}function Fi(){var t;return Pt.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(Ht)),t}function Ii(){var e,t,n,r,i;e=_r,t=Us();if(t!==null){n=Ui();if(n!==null){r=[],i=Ii();while(i!==null)r.push(i),i=Ii();r!==null?(i=$s(),i!==null?(Dr=e,t=Bt(t,n,r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)}else _r=e,e=o}else _r=e,e=o;return e===null&&(e=Ui()),e}function qi(){var t,n,r;return t=_r,jt.test(e.charAt(_r))?(n=e.charAt(_r),_r++):(n=null,Fr===0&&Xr(Ft)),n!==null?(e.charCodeAt(_r)===32?(r=M,_r++):(r=null,Fr===0&&Xr(_)),r===null&&(r=u),r!==null?(Dr=t,n=it(n),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t===null&&(t=_r,n=_r,Fr++,e.charCodeAt(_r)===60?(r=It,_r++):(r=null,Fr===0&&Xr(qt)),Fr--,r!==null?(_r=n,n=u):n=o,n!==null&&(Dr=t,n=Rt()),n===null?(_r=t,t=n):t=n),t}function Ri(){var e,t,n,r,i,s,a;e=_r,t=qi();if(t!==null){n=Ui();if(n!==null){r=_r,i=Us();if(i!==null){s=[],a=Ii();while(a!==null)s.push(a),a=Ii();s!==null?(a=Ws(),a!==null?(i=[i,s,a],r=i):(_r=r,r=o)):(_r=r,r=o)}else _r=r,r=o;r===null&&(r=u),r!==null?(Dr=e,t=Ut(t,n,r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o}else _r=e,e=o;return e}function Ui(){var e,t,n,r,i,s;e=_r,t=es(),t===null&&(t=u);if(t!==null){n=[],r=_r,i=Vi(),i!==null?(s=es(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=Vi(),i!==null?(s=es(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);n!==null?(r=Vs(),r!==null?(Dr=e,t=zt(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)}else _r=e,e=o;return e}function zi(){var t,n,r,i;return t=_r,e.charCodeAt(_r)===34?(n=Nt,_r++):(n=null,Fr===0&&Xr(Ct)),n!==null?(r=Wi(),r!==null?(e.charCodeAt(_r)===34?(i=Nt,_r++):(i=null,Fr===0&&Xr(Ct)),i!==null?(Dr=t,n=K(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t===null&&(t=_r,e.charCodeAt(_r)===39?(n=kt,_r++):(n=null,Fr===0&&Xr(Lt)),n!==null?(r=Xi(),r!==null?(e.charCodeAt(_r)===39?(i=kt,_r++):(i=null,Fr===0&&Xr(Lt)),i!==null?(Dr=t,n=K(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o)),t}function Wi(){var e,t,n,r,i,s;e=_r,t=Qi(),t===null&&(t=u);if(t!==null){n=[],r=_r,i=Vi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=Vi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);n!==null?(Dr=e,t=Wt(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o;return e}function Xi(){var e,t,n,r,i,s;e=_r,t=Gi(),t===null&&(t=u);if(t!==null){n=[],r=_r,i=Vi(),i!==null?(s=Gi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);while(r!==null)n.push(r),r=_r,i=Vi(),i!==null?(s=Gi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(_r=r,r=o)):(_r=r,r=o);n!==null?(Dr=e,t=Wt(t,n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o;return e}function Vi(){var e;return e=Ki(),e===null&&(e=Ji()),e}function $i(){var t,n,r,i,s;t=_r,n=_r,Fr++,e.charCodeAt(_r)===123?(r=Xt,_r++):(r=null,Fr===0&&Xr(Vt)),Fr--,r===null?n=u:(_r=n,n=o);if(n!==null){r=_r,i=[],$t.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Jt));while(s!==null)i.push(s),$t.test(e.charAt(_r))?(s=e.charAt(_r),_r++):(s=null,Fr===0&&Xr(Jt));i!==null&&(i=e.substring(r,_r)),r=i,r!==null?(Dr=t,n=Kt(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)}else _r=t,t=o;return t}function Ji(){var e,t,n,r,i,s;return e=_r,t=os(),t!==null?(n=Ks(),n!==null?(r=$i(),r!==null?(i=Ks(),i!==null?(s=fs(),s!==null?(Dr=e,t=Qt(r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e===null&&(e=_r,t=cs(),t!==null?(n=Ks(),n!==null?(r=$i(),r!==null?(i=Ks(),i!==null?(s=hs(),s!==null?(Dr=e,t=Qt(r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)),e}function Ki(){var e,t,n,r,i,s;return e=_r,t=us(),t!==null?(n=Ks(),n!==null?(r=$i(),r!==null?(i=Ks(),i!==null?(s=ls(),s!==null?(Dr=e,t=Gt(r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e}function Qi(){var t,n,r,i;t=_r,n=_r,r=[],i=Yi();if(i!==null)while(i!==null)r.push(i),i=Yi();else r=o;return r!==null&&(r=e.substring(n,_r)),n=r,n!==null&&(Dr=t,n=Yt(n)),n===null?(_r=t,t=n):t=n,t}function Gi(){var t,n,r,i;t=_r,n=_r,r=[],i=Zi();if(i!==null)while(i!==null)r.push(i),i=Zi();else r=o;return r!==null&&(r=e.substring(n,_r)),n=r,n!==null&&(Dr=t,n=Yt(n)),n===null?(_r=t,t=n):t=n,t}function Yi(){var t,n,r;return t=_r,n=_r,Fr++,r=ns(),r===null&&(e.charCodeAt(_r)===34?(r=Nt,_r++):(r=null,Fr===0&&Xr(Ct))),Fr--,r===null?n=u:(_r=n,n=o),n!==null?(e.length>_r?(r=e.charAt(_r),_r++):(r=null,Fr===0&&Xr(Zt)),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Zi(){var t,n,r;return t=_r,n=_r,Fr++,r=ns(),r===null&&(e.charCodeAt(_r)===39?(r=kt,_r++):(r=null,Fr===0&&Xr(Lt))),Fr--,r===null?n=u:(_r=n,n=o),n!==null?(e.length>_r?(r=e.charAt(_r),_r++):(r=null,Fr===0&&Xr(Zt)),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function es(){var t,n,r,i;t=_r,n=_r,r=[],i=ts();if(i!==null)while(i!==null)r.push(i),i=ts();else r=o;return r!==null&&(r=e.substring(n,_r)),n=r,n!==null&&(Dr=t,n=Yt(n)),n===null?(_r=t,t=n):t=n,t}function ts(){var t,n,r;return t=_r,n=_r,Fr++,r=ns(),Fr--,r===null?n=u:(_r=n,n=o),n!==null?(e.length>_r?(r=e.charAt(_r),_r++):(r=null,Fr===0&&Xr(Zt)),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function ns(){var e;return e=us(),e===null&&(e=os(),e===null&&(e=cs(),e===null&&(e=$s(),e===null&&(e=Vs())))),e}function rs(){var e,t,n,r,i,s;return e=_r,t=ss(),t!==null?(n=Ks(),n!==null?(r=$i(),r!==null?(i=Ks(),i!==null?(s=as(),s!==null?(Dr=e,t=Qt(r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e}function is(){var e;return e=rs(),e===null&&(e=Ki(),e===null&&(e=Ji())),e}function ss(){var t,n;return Fr++,e.charCodeAt(_r)===123?(t=Xt,_r++):(t=null,Fr===0&&Xr(Vt)),Fr--,t===null&&(n=null,Fr===0&&Xr(en)),t}function os(){var t,n;return Fr++,e.substr(_r,2)===nn?(t=nn,_r+=2):(t=null,Fr===0&&Xr(rn)),Fr--,t===null&&(n=null,Fr===0&&Xr(tn)),t}function us(){var t,n;return Fr++,e.substr(_r,3)===on?(t=on,_r+=3):(t=null,Fr===0&&Xr(un)),Fr--,t===null&&(n=null,Fr===0&&Xr(sn)),t}function as(){var t,n;return Fr++,e.charCodeAt(_r)===125?(t=fn,_r++):(t=null,Fr===0&&Xr(ln)),Fr--,t===null&&(n=null,Fr===0&&Xr(an)),t}function fs(){var t,n;return Fr++,e.substr(_r,2)===hn?(t=hn,_r+=2):(t=null,Fr===0&&Xr(pn)),Fr--,t===null&&(n=null,Fr===0&&Xr(cn)),t}function ls(){var t,n;return Fr++,e.substr(_r,3)===vn?(t=vn,_r+=3):(t=null,Fr===0&&Xr(mn)),Fr--,t===null&&(n=null,Fr===0&&Xr(dn)),t}function cs(){var t,n;return Fr++,e.substr(_r,2)===yn?(t=yn,_r+=2):(t=null,Fr===0&&Xr(bn)),Fr--,t===null&&(n=null,Fr===0&&Xr(gn)),t}function hs(){var t,n;return Fr++,e.charCodeAt(_r)===125?(t=fn,_r++):(t=null,Fr===0&&Xr(ln)),Fr--,t===null&&(n=null,Fr===0&&Xr(wn)),t}function ps(){var t,n,r;return t=_r,e.substr(_r,2)===En?(n=En,_r+=2):(n=null,Fr===0&&Xr(Sn)),n!==null?(e.charCodeAt(_r)===32?(r=M,_r++):(r=null,Fr===0&&Xr(_)),r===null&&(r=u),r!==null?(Dr=t,n=xn(),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t===null&&(t=_r,e.charCodeAt(_r)===61?(n=l,_r++):(n=null,Fr===0&&Xr(c)),n!==null?(e.charCodeAt(_r)===32?(r=M,_r++):(r=null,Fr===0&&Xr(_)),r===null&&(r=u),r!==null?(Dr=t,n=Tn(),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)),t}function ds(){var e,t,n,r;return e=_r,t=js(),t===null&&(t=u),t!==null?(n=yi(),n===null&&(n=u),n!==null?(Dr=_r,r=Nn(t,n),r?r=u:r=o,r!==null?(t=[t,n,r],e=t):(_r=e,e=o)):(_r=e,e=o)):(_r=e,e=o),e}function vs(){var e,t,n,r,i;e=_r,t=ds();if(t!==null){n=[],r=is();while(r!==null)n.push(r),r=is();if(n!==null){r=[],i=ms();while(i!==null)r.push(i),i=ms();r!==null?(Dr=e,t=Cn(t,n,r),t===null?(_r=e,e=t):e=t):(_r=e,e=o)}else _r=e,e=o}else _r=e,e=o;return e}function yi(){var e,t,n,r;e=_r,t=[],n=_r,r=As(),r!==null&&(Dr=n,r=kn(r)),r===null?(_r=n,n=r):n=r,n===null&&(n=_r,r=Os(),r!==null&&(Dr=n,r=Ln(r)),r===null?(_r=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=_r,r=As(),r!==null&&(Dr=n,r=kn(r)),r===null?(_r=n,n=r):n=r,n===null&&(n=_r,r=Os(),r!==null&&(Dr=n,r=Ln(r)),r===null?(_r=n,n=r):n=r);else t=o;return t!==null&&(Dr=e,t=An(t)),t===null?(_r=e,e=t):e=t,e}function ms(){var t,n,r;t=_r,n=[],e.charCodeAt(_r)===32?(r=M,_r++):(r=null,Fr===0&&Xr(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(_r)===32?(r=M,_r++):(r=null,Fr===0&&Xr(_));else n=o;return n!==null?(r=ws(),r===null&&(r=Ss(),r===null&&(r=xs(),r===null&&(r=Ts()))),r!==null?(Dr=t,n=On(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function gs(){var t;return Mn.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(_n)),t===null&&(t=qs()),t}function ys(){var e,t;return e=bs(),e===null&&(e=_r,t=Ai(),t!==null&&(Dr=e,t=Dn(t)),t===null?(_r=e,e=t):e=t),e}function bs(){var t,n,r,i,s;return t=_r,n=_r,e.charCodeAt(_r)===34?(r=Nt,_r++):(r=null,Fr===0&&Xr(Ct)),r!==null?(i=mi(),i!==null?(e.charCodeAt(_r)===34?(s=Nt,_r++):(s=null,Fr===0&&Xr(Ct)),s!==null?(r=[r,i,s],n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o),n===null&&(n=_r,e.charCodeAt(_r)===39?(r=kt,_r++):(r=null,Fr===0&&Xr(Lt)),r!==null?(i=mi(),i!==null?(e.charCodeAt(_r)===39?(s=kt,_r++):(s=null,Fr===0&&Xr(Lt)),s!==null?(r=[r,i,s],n=r):(_r=n,n=o)):(_r=n,n=o)):(_r=n,n=o)),n!==null&&(Dr=t,n=At(n)),n===null?(_r=t,t=n):t=n,t}function ws(){var t,n,r,i;return t=_r,n=Rs(),n!==null?(e.charCodeAt(_r)===61?(r=l,_r++):(r=null,Fr===0&&Xr(c)),r!==null?(i=ys(),i!==null?(Dr=t,n=Pn(n,i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t}function Es(){var t,n,r,i,s,u;t=_r,e.charCodeAt(_r)===123?(n=Xt,_r++):(n=null,Fr===0&&Xr(Vt));if(n!==null){r=Ks();if(r!==null){i=_r,s=[],u=gs(),u===null&&(e.charCodeAt(_r)===32?(u=M,_r++):(u=null,Fr===0&&Xr(_)));if(u!==null)while(u!==null)s.push(u),u=gs(),u===null&&(e.charCodeAt(_r)===32?(u=M,_r++):(u=null,Fr===0&&Xr(_)));else s=o;s!==null&&(s=e.substring(i,_r)),i=s,i!==null?(s=Ks(),s!==null?(e.charCodeAt(_r)===125?(u=fn,_r++):(u=null,Fr===0&&Xr(ln)),u!==null?(Dr=t,n=Hn(i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o)}else _r=t,t=o}else _r=t,t=o;if(t===null){t=_r,n=[],r=gs();if(r!==null)while(r!==null)n.push(r),r=gs();else n=o;n!==null&&(n=e.substring(t,_r)),t=n}return t}function Ss(){var t,n,r,i,s,a;return t=_r,n=Ti(),n!==null?(e.charCodeAt(_r)===61?(r=l,_r++):(r=null,Fr===0&&Xr(c)),r!==null?(i=Es(),i!==null?(s=_r,Fr++,e.charCodeAt(_r)===33?(a=Bn,_r++):(a=null,Fr===0&&Xr(jn)),Fr--,a===null?s=u:(_r=s,s=o),s!==null?(Dr=_r,a=Fn(n,i),a?a=u:a=o,a!==null?(Dr=t,n=In(n,i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t}function xs(){var t,n,r,i;return t=_r,n=Ti(),n!==null?(e.charCodeAt(_r)===61?(r=l,_r++):(r=null,Fr===0&&Xr(c)),r!==null?(i=Ai(),i!==null?(Dr=t,n=qn(n,i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t}function Ts(){var t,n,r,i;return t=_r,n=Ti(),n!==null?(e.charCodeAt(_r)===61?(r=l,_r++):(r=null,Fr===0&&Xr(c)),r!==null?(i=zi(),i!==null?(Dr=t,n=Rn(n,i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t}function Ns(){var t,n,r;t=_r,n=[],r=ks();while(r!==null)n.push(r),r=ks();return n!==null&&(n=e.substring(t,_r)),t=n,t}function Cs(){var e;return e=Hi(),e===null&&(e=Ci()),e}function ks(){var t;return t=Fi(),t===null&&(St.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(xt)),t===null&&(e.charCodeAt(_r)===95?(t=Un,_r++):(t=null,Fr===0&&Xr(zn)),t===null&&(e.charCodeAt(_r)===45?(t=Wn,_r++):(t=null,Fr===0&&Xr(Xn))))),t}function Ls(){var t,n,r;return t=_r,e.charCodeAt(_r)===37?(n=Vn,_r++):(n=null,Fr===0&&Xr($n)),n!==null?(r=Ms(),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function As(){var t,n,r;return t=_r,e.charCodeAt(_r)===35?(n=Jn,_r++):(n=null,Fr===0&&Xr(Kn)),n!==null?(r=Ms(),r!==null?(Dr=t,n=Qn(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Os(){var t,n,r;return t=_r,e.charCodeAt(_r)===46?(n=et,_r++):(n=null,Fr===0&&Xr(tt)),n!==null?(r=Ms(),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Ms(){var e,t;return Fr++,e=_s(),Fr--,e===null&&(t=null,Fr===0&&Xr(Gn)),e}function _s(){var t,n,r;t=_r,n=[],r=Ds();while(r!==null)n.push(r),r=Ds();return n!==null&&(n=e.substring(t,_r)),t=n,t}function Ds(){var t;return Yn.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(Zn)),t===null&&(t=Hs()),t}function Ps(){var t;return er.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(tr)),t===null&&(t=Hs()),t}function Hs(){var t;return nr.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(rr)),t}function Bs(){var t,n,r;t=_r,n=[],r=Is();if(r!==null)while(r!==null)n.push(r),r=Is();else n=o;return n!==null&&(n=e.substring(t,_r)),t=n,t}function js(){var t,n,r,i;return Fr++,t=_r,e.charCodeAt(_r)===37?(n=Vn,_r++):(n=null,Fr===0&&Xr($n)),n!==null?(r=Ks(),r!==null?(i=Bs(),i!==null?(Dr=t,n=it(i),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o)):(_r=t,t=o),t===null&&(t=Fs()),Fr--,t===null&&(n=null,Fr===0&&Xr(ir)),t}function Fs(){var e,t,n;return e=_r,t=Bs(),t!==null?(Dr=_r,n=sr(t),n?n=u:n=o,n!==null?(Dr=e,t=or(t),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function Is(){var t;return Yn.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(Zn)),t===null&&(t=qs()),t}function qs(){var t,n,r,i;return t=_r,e.charCodeAt(_r)===58?(n=ur,_r++):(n=null,Fr===0&&Xr(ar)),n!==null?(r=_r,Fr++,e.charCodeAt(_r)===32?(i=M,_r++):(i=null,Fr===0&&Xr(_)),Fr--,i===null?r=u:(_r=r,r=o),r!==null?(Dr=t,n=P(n),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Rs(){var e,t,n;return Fr++,e=_r,t=Bs(),t!==null?(Dr=_r,n=lr(t),n?n=u:n=o,n!==null?(Dr=e,t=or(t),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),Fr--,e===null&&(t=null,Fr===0&&Xr(fr)),e}function Us(){var e,t,n;return e=_r,t=zs(),t!==null?(n=Js(),n!==null?(Dr=e,t=it(n),t===null?(_r=e,e=t):e=t):(_r=e,e=o)):(_r=e,e=o),e}function zs(){var t,n;return Fr++,t=_r,e.charCodeAt(_r)===61423?(n=hr,_r++):(n=null,Fr===0&&Xr(pr)),n!==null&&(Dr=t,n=dr()),n===null?(_r=t,t=n):t=n,Fr--,t===null&&(n=null,Fr===0&&Xr(cr)),t}function Ws(){var t,n;return Fr++,t=_r,e.charCodeAt(_r)===61438?(n=mr,_r++):(n=null,Fr===0&&Xr(gr)),n!==null&&(Dr=t,n=dr()),n===null?(_r=t,t=n):t=n,Fr--,t===null&&(n=null,Fr===0&&Xr(vr)),t}function Xs(){var t,n;return Fr++,t=_r,e.charCodeAt(_r)===61422?(n=br,_r++):(n=null,Fr===0&&Xr(wr)),n!==null&&(Dr=t,n=dr()),n===null?(_r=t,t=n):t=n,Fr--,t===null&&(n=null,Fr===0&&Xr(yr)),t}function Vs(){var t,n,r;return Fr++,t=_r,e.charCodeAt(_r)===61439?(n=Sr,_r++):(n=null,Fr===0&&Xr(xr)),n!==null?(e.charCodeAt(_r)===10?(r=Tr,_r++):(r=null,Fr===0&&Xr(Nr)),r!==null?(Dr=t,n=xn(),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),Fr--,t===null&&(n=null,Fr===0&&Xr(Er)),t}function $s(){var e,t;return Fr++,e=Ws(),e===null&&(e=Xs()),Fr--,e===null&&(t=null,Fr===0&&Xr(Cr)),e}function Js(){var t,n,r;Fr++,t=_r,n=[],r=Qs();if(r!==null)while(r!==null)n.push(r),r=Qs();else n=o;return n!==null&&(n=e.substring(t,_r)),t=n,Fr--,t===null&&(n=null,Fr===0&&Xr(kr)),t}function Ks(){var e,t;Fr++,e=[],t=Qs();while(t!==null)e.push(t),t=Qs();return Fr--,e===null&&(t=null,Fr===0&&Xr(Lr)),e}function Qs(){var t,n;return Fr++,Or.test(e.charAt(_r))?(t=e.charAt(_r),_r++):(t=null,Fr===0&&Xr(Mr)),Fr--,t===null&&(n=null,Fr===0&&Xr(Ar)),t}function Gs(){var t,n,r;return t=_r,n=_r,Fr++,r=zs(),r===null&&(r=Ws(),r===null&&(r=Vs())),Fr--,r===null?n=u:(_r=n,n=o),n!==null?(e.length>_r?(r=e.charAt(_r),_r++):(r=null,Fr===0&&Xr(Zt)),r!==null?(Dr=t,n=P(r),n===null?(_r=t,t=n):t=n):(_r=t,t=o)):(_r=t,t=o),t}function Ys(){var t,n,r;t=_r,n=[],r=Gs();while(r!==null)n.push(r),r=Gs();return n!==null&&(n=e.substring(t,_r)),t=n,t}function so(e,t,n){var r=e.hash;if(n){r=r||new to.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 to.IdNode([t])),new to.MustacheNode(s,r,!e.escaped)}function oo(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 uo(e){Zs.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:$r},s=$r,o=null,u="",a=function(e){return e},f=function(e,t){return new to.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 to.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new to.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new to.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new to.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!eo||!n.match(/[A-Z]/)?e:(e.mustache=so(e.mustache
2
- ,t),e)}var n=e.id.string.charAt(0);return!eo||!n.match(/[A-Z]/)?e:so(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 to.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 to.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new to.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 to.PartialNameNode(t.string);return new to.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 to.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new to.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new to.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?so(h,"unbound"):p==="?"?so(h,"if"):p==="^"?so(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 to.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 to.IdNode(e);return i._emblemSuffixModifier=r,i},pt=function(e){return new to.StringNode(e)},dt=function(e){return new to.IntegerNode(e)},vt=function(e){return new to.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 to.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new to.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 to.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new to.ContentNode(" ")),i},zt=function(e,t){return oo(e,t)},Wt=function(e,t){return oo(e,t)},Xt="{",Vt='"{"',$t=/^[^}]/,Jt="[^}]",Kt=function(e){return e="="+e,n.parse(e).statements[0]},Qt=function(e){return e.escaped=!0,e},Gt=function(e){return e.escaped=!1,e},Yt=function(e){return new to.ContentNode(e)},Zt="any character",en="SingleMustacheOpen",tn="DoubleMustacheOpen",nn="{{",rn='"{{"',sn="TripleMustacheOpen",on="{{{",un='"{{{"',an="SingleMustacheClose",fn="}",ln='"}"',cn="DoubleMustacheClose",hn="}}",pn='"}}"',dn="TripleMustacheClose",vn="}}}",mn='"}}}"',gn="InterpolationOpen",yn="#{",bn='"#{"',wn="InterpolationClose",En="==",Sn='"=="',xn=function(){return!1},Tn=function(){return!0},Nn=function(e,t){return e||t},Cn=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new to.ContentNode("<"+r)),s&&u.push(new to.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new to.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new to.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);return no[r]?(u.push(new to.ContentNode(" />")),[u]):(u.push(new to.ContentNode(">")),[u,new to.ContentNode("</"+r+">")])},kn=function(e){return{shorthand:e,id:!0}},Ln=function(e){return{shorthand:e}},An=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]},On=function(e){return[new to.ContentNode(" ")].concat(e)},Mn=/^[A-Za-z.0-9_\-]/,_n="[A-Za-z.0-9_\\-]",Dn=function(e){return new to.MustacheNode([e])},Pn=function(e,t){return[so(t,"action",[["on",new to.StringNode(e)]])]},Hn=function(e){return e.replace(/ *$/,"")},Bn="!",jn='"!"',Fn=function(e,t){return eo},In=function(e,t){var n=new to.HashNode([[e,new to.StringNode(t)]]),r=[new to.IdNode(["bindAttr"])],i=new to.MustacheNode(r,n);return[i]},qn=function(e,t){var n=new to.MustacheNode([t]);return eo&&t._emblemSuffixModifier==="!"&&(n=so(n,"unbound")),[new to.ContentNode(e+"="+'"'),n,new to.ContentNode('"')]},Rn=function(e,t){var n=[new to.ContentNode(e+"="+'"')].concat(t);return n.concat([new to.ContentNode('"')])},Un="_",zn='"_"',Wn="-",Xn='"-"',Vn="%",$n='"%"',Jn="#",Kn='"#"',Qn=function(e){return e},Gn="CSSIdentifier",Yn=/^[_a-zA-Z0-9\-]/,Zn="[_a-zA-Z0-9\\-]",er=/^[_a-zA-Z]/,tr="[_a-zA-Z]",nr=/^[\x80-\xFF]/,rr="[\\x80-\\xFF]",ir="KnownHTMLTagName",sr=function(e){return!!ro[e]},or=function(e){return e},ur=":",ar='":"',fr="a JS event",lr=function(e){return!!io[e]},cr="INDENT",hr="",pr='"\\uEFEF"',dr=function(){return""},vr="DEDENT",mr="",gr='"\\uEFFE"',yr="Unmatched DEDENT",br="",wr='"\\uEFEE"',Er="LineEnd",Sr="",xr='"\\uEFFF"',Tr="\n",Nr='"\\n"',Cr="ANYDEDENT",kr="RequiredWhitespace",Lr="OptionalWhitespace",Ar="InlineWhitespace",Or=/^[ \t]/,Mr="[ \\t]",_r=0,Dr=0,Pr=0,Hr={line:1,column:1,seenCR:!1},Br=0,jr=[],Fr=0,Ir;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,eo=Zs.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",to=Zs.AST,no={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},ro={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},io={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};Ir=s();if(Ir!==null&&_r===e.length)return Ir;throw Vr(jr),Dr=Math.max(_r,Br),new t(jr,Dr<e.length?e.charAt(Dr):null,Dr,Wr(Dr).line,Wr(Dr).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.7",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 Ur(){return e.substring(Hr,Pr)}function zr(){return Hr}function Wr(){return Vr(Hr).line}function Xr(){return Vr(Hr).column}function Vr(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 Br!==t&&(Br>t&&(Br=0,jr={line:1,column:1,seenCR:!1}),Br=t,n(jr,Br)),jr}function $r(e){if(Pr<Fr)return;Pr>Fr&&(Fr=Pr,Ir=[]),Ir.push(e)}function Jr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Kr(){var e;return e=Qr(),e}function Qr(){var e,t,n,r,i,s,l,c,h;return e=Pr,t=Yr(),t!==null?(n=Pr,r=Vs(),r!==null?(i=Gr(),i!==null?(s=Gs(),s!==null?(l=Js(),l!==null?(c=Ws(),c!==null?(h=Yr(),h!==null?(Hr=n,r=a(h),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Gr(){var t,n,r,i;return t=Pr,n=Pr,e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Gs(),i!==null?(r=[r,i],n=r):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(e.substr(Pr,4)===h?(r=h,Pr+=4):(r=null,qr===0&&$r(p)),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Yr(){var e,t,n;e=Pr,t=[],n=Zr();while(n!==null)t.push(n),n=Zr();return t!==null&&(Hr=e,t=v(t)),t===null?(Pr=e,e=t):e=t,e}function Zr(){var e,t;return qr++,e=ti(),e===null&&(e=oi(),e===null&&(e=ei())),qr--,e===null&&(t=null,qr===0&&$r(m)),e}function ei(){var e,t;return qr++,e=ni(),e===null&&(e=pi(),e===null&&(e=zi(),e===null&&(e=ii()))),qr--,e===null&&(t=null,qr===0&&$r(g)),e}function ti(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=Js(),n!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function ni(){var t,n,r,i,s,u,a,f;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w));if(n!==null){r=Gs();if(r!==null){i=ri();if(i!==null){s=Gs();if(s!==null){u=[],a=xi();while(a!==null)u.push(a),a=xi();u!==null?(a=Gs(),a!==null?(f=Js(),f!==null?(Hr=t,n=E(i,u),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function ri(){var t,n,r,i;t=Pr,n=Pr,r=[],S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=T(n)),n===null?(Pr=t,t=n):t=n,t}function ii(){var e,t;return e=Pr,t=gi(),t===null&&(t=ai()),t!==null&&(Hr=e,t=N(t)),t===null?(Pr=e,e=t):e=t,e}function si(){var e,t,n,r,i,s,u,a;e=Pr,t=eo();if(t!==null){n=Js();if(n!==null){r=[],i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;while(i!==null){r.push(i),i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o}r!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function oi(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=si(),r!==null?(Hr=t,n=y(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ui(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=eo(),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ai(){var e;return e=fi(),e===null&&(e=di()),e}function fi(){var t,n,r;return t=Pr,n=Pr,qr++,L.test(e.charAt(Pr))?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(A)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null?(r=di(),r!==null?(Hr=t,n=O(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function li(){var t,n,r,i,s,a,f;t=Pr,e.charCodeAt(Pr)===32?(n=M,Pr++):(n=null,qr===0&&$r(_));if(n!==null){r=Wi();if(r!==null){i=Pr,s=Ws();if(s!==null){a=[],f=Ri();if(f!==null)while(f!==null)a.push(f),f=Ri();else a=o;a!==null?(f=Vs(),f!==null?(s=[s,a,f],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;i===null&&(i=u),i!==null?(Hr=t,n=D(r,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;return t}function ci(){var e,t,n,r,i;e=Pr,t=[],n=ti();while(n!==null)t.push(n),n=ti();return t!==null?(n=Ws(),n!==null?(r=Yr(),r!==null?(i=Vs(),i!==null?(Hr=e,t=P(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function hi(){var e,t,n,r,i;return e=vi(),e===null&&(e=Pr,t=Gs(),t!==null?(n=gi(),n!==null?(Hr=e,t=H(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=Gs(),t!==null?(n=ui(),n===null&&(n=u),n!==null?(r=Js(),r!==null?(i=ci(),i===null&&(i=u),i!==null?(Hr=e,t=P(i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=li()))),e}function pi(){var e,t,n;return e=Pr,t=gs(),t!==null?(n=hi(),n!==null?(Hr=e,t=B(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function di(){var e,t,n,r,i;return e=Pr,t=yi(),t!==null?(n=Gs(),n!==null?(r=ui(),r===null&&(r=u),r!==null?(i=mi(),i!==null?(Hr=e,t=j(t,i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Qr(){var e,t,n,r,i,s,l,c,h,p;e=Pr,t=Yr();if(t!==null){n=Pr,r=Vs();if(r!==null){i=Gr();if(i!==null){s=Gs();if(s!==null){l=Js();if(l!==null){c=[],h=ti();while(h!==null)c.push(h),h=ti();c!==null?(h=Ws(),h!==null?(p=Yr(),p!==null?(Hr=n,r=a(p),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o;n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function vi(){var t,n,r,i;return t=Pr,e.substr(Pr,2)===F?(n=F,Pr+=2):(n=null,qr===0&&$r(I)),n!==null?(r=Gs(),r!==null?(i=ei(),i!==null?(Hr=t,n=P(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function mi(){var e,t,n,r,i,s,a;e=Pr,t=vi(),t===null&&(t=zi()),t!==null&&(Hr=e,t=q(t)),t===null?(Pr=e,e=t):e=t;if(e===null){e=Pr,t=Js();if(t!==null){n=Pr,r=[],i=ti();while(i!==null)r.push(i),i=ti();r!==null?(i=Ws(),i!==null?(s=Qr(),s!==null?(a=Vs(),a!==null?(r=[r,i,s,a],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=R(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}return e}function gi(){var e,t,n;return e=Pr,t=vs(),t!==null?(n=di(),n!==null?(Hr=e,t=U(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function yi(){var t,n,r,i,s,a;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w)),n===null&&(n=u);if(n!==null){r=Gs();if(r!==null){i=Mi();if(i!==null){s=[],a=xi();while(a!==null)s.push(a),a=xi();s!==null?(a=Ti(),a===null&&(a=u),a!==null?(Hr=t,n=z(n,i,s,a),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function bi(){var e,t;return e=Pr,t=Os(),t!==null&&(Hr=e,t=W(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=Ms(),t!==null&&(Hr=e,t=X(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=_s(),t!==null&&(Hr=e,t=V(t)),t===null?(Pr=e,e=t):e=t)),e}function wi(){var e;return e=Ei(),e===null&&(e=Si()),e}function Ei(){var e,t,n,r;e=Pr,t=Ms();if(t!==null){n=[],r=_s();while(r!==null)n.push(r),r=_s();n!==null?(Hr=e,t=$(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Si(){var e,t,n;e=Pr,t=[],n=_s();if(n!==null)while(n!==null)t.push(n),n=_s();else t=o;return t!==null&&(Hr=e,t=J(t)),t===null?(Pr=e,e=t):e=t,e}function xi(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=bi(),n===null&&(n=Li()),n!==null?(Hr=e,t=K(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Ti(){var e,t,n;e=Pr,t=[],n=ki();if(n!==null)while(n!==null)t.push(n),n=ki();else t=o;return t!==null&&(Hr=e,t=Q(t)),t===null?(Pr=e,e=t):e=t,e}function Ni(){var t,n,r,i;qr++,e.substr(Pr,2)===Y?(t=Y,Pr+=2):(t=null,qr===0&&$r(Z));if(t===null){e.charCodeAt(Pr)===46?(t=et,Pr++):(t=null,qr===0&&$r(tt));if(t===null){t=Pr,n=Pr,r=[],nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));else r=o;r!==null&&(r=e.substring(n,Pr)),n=r,n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===61?(i=l,Pr++):(i=null,qr===0&&$r(c)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}}return qr--,t===null&&(n=null,qr===0&&$r(G)),t}function Ci(){var e,t;return qr++,e=Ps(),qr--,e===null&&(t=null,qr===0&&$r(st)),e}function ki(){var t,n,r,i,s,u;return t=Pr,n=Gs(),n!==null?(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Pi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Di(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Mi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=_i(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o)))),r!==null?(Hr=t,n=ot(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Li(){var e;return e=Pi(),e===null&&(e=Di(),e===null&&(e=Mi(),e===null&&(e=_i()))),e}function Ai(){var e,t,n,r,i,s;e=Pr,t=Ni();if(t!==null){n=[],r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ut(s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ut(s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=at(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Oi(){var t,n;return qr++,lt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(ct)),qr--,t===null&&(n=null,qr===0&&$r(ft)),t}function Mi(){var e,t;return e=Pr,t=Ai(),t!==null&&(Hr=e,t=ht(t)),t===null?(Pr=e,e=t):e=t,e}function _i(){var e,t;return e=Pr,t=ji(),t!==null&&(Hr=e,t=pt(t)),t===null?(Pr=e,e=t):e=t,e}function Di(){var e,t;return e=Pr,t=Bi(),t!==null&&(Hr=e,t=dt(t)),t===null?(Pr=e,e=t):e=t,e}function Pi(){var e,t;return e=Pr,t=Hi(),t!==null&&(Hr=e,t=vt(t)),t===null?(Pr=e,e=t):e=t,e}function Hi(){var t,n;return qr++,e.substr(Pr,4)===gt?(t=gt,Pr+=4):(t=null,qr===0&&$r(yt)),t===null&&(e.substr(Pr,5)===bt?(t=bt,Pr+=5):(t=null,qr===0&&$r(wt))),qr--,t===null&&(n=null,qr===0&&$r(mt)),t}function Bi(){var t,n,r,i;qr++,t=Pr,n=Pr,r=[],St.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(xt));if(i!==null)while(i!==null)r.push(i),St.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(xt));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Tt(n)),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(Et)),t}function ji(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=Nt,Pr++):(r=null,qr===0&&$r(Ct)),r!==null?(i=Fi(),i!==null?(e.charCodeAt(Pr)===34?(s=Nt,Pr++):(s=null,qr===0&&$r(Ct)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=Ii(),i!==null?(e.charCodeAt(Pr)===39?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=At(n)),n===null?(Pr=t,t=n):t=n,t}function Fi(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Ot.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Mt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Ot.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Mt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ii(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function qi(){var t;return Pt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Ht)),t}function Ri(){var e,t,n,r,i;e=Pr,t=Ws();if(t!==null){n=Wi();if(n!==null){r=[],i=Ri();while(i!==null)r.push(i),i=Ri();r!==null?(i=Ks(),i!==null?(Hr=e,t=Bt(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e===null&&(e=Wi()),e}function Ui(){var t,n,r;return t=Pr,jt.test(e.charAt(Pr))?(n=e.charAt(Pr),Pr++):(n=null,qr===0&&$r(Ft)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===60?(r=It,Pr++):(r=null,qr===0&&$r(qt)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null&&(Hr=t,n=Rt()),n===null?(Pr=t,t=n):t=n),t}function zi(){var e,t,n,r,i,s,a;e=Pr,t=Ui();if(t!==null){n=Wi();if(n!==null){r=Pr,i=Ws();if(i!==null){s=[],a=Ri();while(a!==null)s.push(a),a=Ri();s!==null?(a=Vs(),a!==null?(i=[i,s,a],r=i):(Pr=r,r=o)):(Pr=r,r=o)}else Pr=r,r=o;r===null&&(r=u),r!==null?(Hr=e,t=Ut(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function Wi(){var e,t,n,r,i,s;e=Pr,t=ns(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(r=Js(),r!==null?(Hr=e,t=zt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o;return e}function Xi(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===34?(n=Nt,Pr++):(n=null,qr===0&&$r(Ct)),n!==null?(r=Vi(),r!==null?(e.charCodeAt(Pr)===34?(i=Nt,Pr++):(i=null,qr===0&&$r(Ct)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===39?(n=kt,Pr++):(n=null,qr===0&&$r(Lt)),n!==null?(r=$i(),r!==null?(e.charCodeAt(Pr)===39?(i=kt,Pr++):(i=null,qr===0&&$r(Lt)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)),t}function Vi(){var e,t,n,r,i,s;e=Pr,t=Yi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Wt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function $i(){var e,t,n,r,i,s;e=Pr,t=Zi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Wt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Ji(){var e;return e=Gi(),e===null&&(e=Qi()),e}function Ki(){var t,n,r,i,s;t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===123?(r=Xt,Pr++):(r=null,qr===0&&$r(Vt)),qr--,r===null?n=u:(Pr=n,n=o);if(n!==null){r=Pr,i=[],$t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Jt));while(s!==null)i.push(s),$t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Jt));i!==null&&(i=e.substring(r,Pr)),r=i,r!==null?(Hr=t,n=Kt(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o;return t}function Qi(){var e,t,n,r,i,s;return e=Pr,t=as(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=cs(),s!==null?(Hr=e,t=Qt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=ps(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ds(),s!==null?(Hr=e,t=Qt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)),e}function Gi(){var e,t,n,r,i,s;return e=Pr,t=fs(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=hs(),s!==null?(Hr=e,t=Gt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Yi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=es();if(i!==null)while(i!==null)r.push(i),i=es();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Yt(n)),n===null?(Pr=t,t=n):t=n,t}function Zi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=ts();if(i!==null)while(i!==null)r.push(i),i=ts();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Yt(n)),n===null?(Pr=t,t=n):t=n,t}function es(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===34?(r=Nt,Pr++):(r=null,qr===0&&$r(Ct))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(Zt)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ts(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===39?(r=kt,Pr++):(r=null,qr===0&&$r(Lt))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(Zt)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ns(){var t,n,r,i;t=Pr,n=Pr,r=[],i=rs();if(i!==null)while(i!==null)r.push(i),i=rs();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Yt(n)),n===null?(Pr=t,t=n):t=n,t}function rs(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(Zt)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function is(){var e;return e=fs(),e===null&&(e=as(),e===null&&(e=ps(),e===null&&(e=Ks(),e===null&&(e=Js())))),e}function ss(){var e,t,n,r,i,s;return e=Pr,t=us(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ls(),s!==null?(Hr=e,t=Qt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function os(){var e;return e=ss(),e===null&&(e=Gi(),e===null&&(e=Qi())),e}function us(){var t,n;return qr++,e.charCodeAt(Pr)===123?(t=Xt,Pr++):(t=null,qr===0&&$r(Vt)),qr--,t===null&&(n=null,qr===0&&$r(en)),t}function as(){var t,n;return qr++,e.substr(Pr,2)===nn?(t=nn,Pr+=2):(t=null,qr===0&&$r(rn)),qr--,t===null&&(n=null,qr===0&&$r(tn)),t}function fs(){var t,n;return qr++,e.substr(Pr,3)===on?(t=on,Pr+=3):(t=null,qr===0&&$r(un)),qr--,t===null&&(n=null,qr===0&&$r(sn)),t}function ls(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=fn,Pr++):(t=null,qr===0&&$r(ln)),qr--,t===null&&(n=null,qr===0&&$r(an)),t}function cs(){var t,n;return qr++,e.substr(Pr,2)===hn?(t=hn,Pr+=2):(t=null,qr===0&&$r(pn)),qr--,t===null&&(n=null,qr===0&&$r(cn)),t}function hs(){var t,n;return qr++,e.substr(Pr,3)===vn?(t=vn,Pr+=3):(t=null,qr===0&&$r(mn)),qr--,t===null&&(n=null,qr===0&&$r(dn)),t}function ps(){var t,n;return qr++,e.substr(Pr,2)===yn?(t=yn,Pr+=2):(t=null,qr===0&&$r(bn)),qr--,t===null&&(n=null,qr===0&&$r(gn)),t}function ds(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=fn,Pr++):(t=null,qr===0&&$r(ln)),qr--,t===null&&(n=null,qr===0&&$r(wn)),t}function vs(){var t,n,r;return t=Pr,e.substr(Pr,2)===En?(n=En,Pr+=2):(n=null,qr===0&&$r(Sn)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=xn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===61?(n=l,Pr++):(n=null,qr===0&&$r(c)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=Tn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)),t}function ms(){var t,n,r,i,s;return t=Pr,n=Is(),n===null&&(n=u),n!==null?(r=wi(),r===null&&(r=u),r!==null?(e.charCodeAt(Pr)===47?(i=C,Pr++):(i=null,qr===0&&$r(k)),i===null&&(i=u),i!==null?(Hr=Pr,s=Nn(n,r),s?s=u:s=o,s!==null?(n=[n,r,i,s],t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function gs(){var e,t,n,r,i;e=Pr,t=ms();if(t!==null){n=[],r=os();while(r!==null)n.push(r),r=os();if(n!==null){r=[],i=ys();while(i!==null)r.push(i),i=ys();r!==null?(Hr=e,t=Cn(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function wi(){var e,t,n,r;e=Pr,t=[],n=Pr,r=Ms(),r!==null&&(Hr=n,r=kn(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=Ln(r)),r===null?(Pr=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Pr,r=Ms(),r!==null&&(Hr=n,r=kn(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=Ln(r)),r===null?(Pr=n,n=r):n=r);else t=o;return t!==null&&(Hr=e,t=An(t)),t===null?(Pr=e,e=t):e=t,e}function ys(){var t,n,r;t=Pr,n=[],e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));else n=o;return n!==null?(r=Ss(),r===null&&(r=Ts(),r===null&&(r=Ns(),r===null&&(r=Cs()))),r!==null?(Hr=t,n=On(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function bs(){var t;return Mn.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(_n)),t===null&&(t=Us()),t}function ws(){var e,t;return e=Es(),e===null&&(e=Pr,t=Mi(),t!==null&&(Hr=e,t=Dn(t)),t===null?(Pr=e,e=t):e=t),e}function Es(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=Nt,Pr++):(r=null,qr===0&&$r(Ct)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===34?(s=Nt,Pr++):(s=null,qr===0&&$r(Ct)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===39?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=At(n)),n===null?(Pr=t,t=n):t=n,t}function Ss(){var t,n,r,i;return t=Pr,n=zs(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=ws(),i!==null?(Hr=t,n=Pn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function xs(){var t,n,r,i,s,u;t=Pr,e.charCodeAt(Pr)===123?(n=Xt,Pr++):(n=null,qr===0&&$r(Vt));if(n!==null){r=Gs();if(r!==null){i=Pr,s=[],u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));if(u!==null)while(u!==null)s.push(u),u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));else s=o;s!==null&&(s=e.substring(i,Pr)),i=s,i!==null?(s=Gs(),s!==null?(e.charCodeAt(Pr)===125?(u=fn,Pr++):(u=null,qr===0&&$r(ln)),u!==null?(Hr=t,n=Hn(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;if(t===null){t=Pr,n=[],r=bs();if(r!==null)while(r!==null)n.push(r),r=bs();else n=o;n!==null&&(n=e.substring(t,Pr)),t=n}return t}function Ts(){var t,n,r,i,s,a;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=xs(),i!==null?(s=Pr,qr++,e.charCodeAt(Pr)===33?(a=Bn,Pr++):(a=null,qr===0&&$r(jn)),qr--,a===null?s=u:(Pr=s,s=o),s!==null?(Hr=Pr,a=Fn(n,i),a?a=u:a=o,a!==null?(Hr=t,n=In(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Ns(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Mi(),i!==null?(Hr=t,n=qn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Cs(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Xi(),i!==null?(Hr=t,n=Rn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function ks(){var t,n,r;t=Pr,n=[],r=As();while(r!==null)n.push(r),r=As();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ls(){var e;return e=ji(),e===null&&(e=Li()),e}function As(){var t;return t=qi(),t===null&&(St.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(xt)),t===null&&(e.charCodeAt(Pr)===95?(t=Un,Pr++):(t=null,qr===0&&$r(zn)),t===null&&(e.charCodeAt(Pr)===45?(t=Wn,Pr++):(t=null,qr===0&&$r(Xn))))),t}function Os(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===37?(n=Vn,Pr++):(n=null,qr===0&&$r($n)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ms(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===35?(n=Jn,Pr++):(n=null,qr===0&&$r(Kn)),n!==null?(r=Ds(),r!==null?(Hr=t,n=Qn(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function _s(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===46?(n=et,Pr++):(n=null,qr===0&&$r(tt)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ds(){var e,t;return qr++,e=Ps(),qr--,e===null&&(t=null,qr===0&&$r(Gn)),e}function Ps(){var t,n,r;t=Pr,n=[],r=Hs();while(r!==null)n.push(r),r=Hs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Hs(){var t;return Yn.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Zn)),t===null&&(t=js()),t}function Bs(){var t;return er.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(tr)),t===null&&(t=js()),t}function js(){var t;return nr.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(rr)),t}function Fs(){var t,n,r;t=Pr,n=[],r=Rs();if(r!==null)while(r!==null)n.push(r),r=Rs();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Is(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===37?(n=Vn,Pr++):(n=null,qr===0&&$r($n)),n!==null?(r=Gs(),r!==null?(i=Fs(),i!==null?(Hr=t,n=it(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=qs()),qr--,t===null&&(n=null,qr===0&&$r(ir)),t}function qs(){var e,t,n;return e=Pr,t=Fs(),t!==null?(Hr=Pr,n=sr(t),n?n=u:n=o,n!==null?(Hr=e,t=or(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Rs(){var t;return Yn.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Zn)),t===null&&(t=Us()),t}function Us(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===58?(n=ur,Pr++):(n=null,qr===0&&$r(ar)),n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===32?(i=M,Pr++):(i=null,qr===0&&$r(_)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=P(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function zs(){var e,t,n;return qr++,e=Pr,t=Fs(),t!==null?(Hr=Pr,n=lr(t),n?n=u:n=o,n!==null?(Hr=e,t=or(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),qr--,e===null&&(t=null,qr===0&&$r(fr)),e}function Ws(){var e,t,n;return e=Pr,t=Xs(),t!==null?(n=Qs(),n!==null?(Hr=e,t=it(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Xs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61423?(n=hr,Pr++):(n=null,qr===0&&$r(pr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(cr)),t}function Vs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61438?(n=mr,Pr++):(n=null,qr===0&&$r(gr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(vr)),t}function $s(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61422?(n=br,Pr++):(n=null,qr===0&&$r(wr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(yr)),t}function Js(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===13?(n=Sr,Pr++):(n=null,qr===0&&$r(xr)),n===null&&(n=u),n!==null?(e.charCodeAt(Pr)===61439?(r=Tr,Pr++):(r=null,qr===0&&$r(Nr)),r!==null?(e.charCodeAt(Pr)===10?(i=Cr,Pr++):(i=null,qr===0&&$r(kr)),i!==null?(Hr=t,n=xn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),qr--,t===null&&(n=null,qr===0&&$r(Er)),t}function Ks(){var e,t;return qr++,e=Vs(),e===null&&(e=$s()),qr--,e===null&&(t=null,qr===0&&$r(Lr)),e}function Qs(){var t,n,r;qr++,t=Pr,n=[],r=Ys();if(r!==null)while(r!==null)n.push(r),r=Ys();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,qr--,t===null&&(n=null,qr===0&&$r(Ar)),t}function Gs(){var e,t;qr++,e=[],t=Ys();while(t!==null)e.push(t),t=Ys();return qr--,e===null&&(t=null,qr===0&&$r(Or)),e}function Ys(){var t,n;return qr++,_r.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Dr)),qr--,t===null&&(n=null,qr===0&&$r(Mr)),t}function Zs(){var t,n,r;return t=Pr,n=Pr,qr++,r=Xs(),r===null&&(r=Vs(),r===null&&(r=Js())),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(Zt)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function eo(){var t,n,r;t=Pr,n=[],r=Zs();while(r!==null)n.push(r),r=Zs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function uo(e,t,n){var r=e.hash;if(n){r=r||new ro.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 ro.IdNode([t])),new ro.MustacheNode(s,r,!e.escaped)}function ao(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 fo(e){to.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Kr},s=Kr,o=null,u="",a=function(e){return e},f=function(e,t){return new ro.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 ro.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new ro.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new ro.PartialNode(e,t[0
2
+ ])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new ro.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!no||!n.match(/[A-Z]/)?e:(e.mustache=uo(e.mustache,t),e)}var n=e.id.string.charAt(0);return!no||!n.match(/[A-Z]/)?e:uo(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 ro.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 ro.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new ro.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 ro.PartialNameNode(t.string);return new ro.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 ro.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new ro.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new ro.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?uo(h,"unbound"):p==="?"?uo(h,"if"):p==="^"?uo(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 ro.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 ro.IdNode(e);return i._emblemSuffixModifier=r,i},pt=function(e){return new ro.StringNode(e)},dt=function(e){return new ro.IntegerNode(e)},vt=function(e){return new ro.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 ro.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new ro.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 ro.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new ro.ContentNode(" ")),i},zt=function(e,t){return ao(e,t)},Wt=function(e,t){return ao(e,t)},Xt="{",Vt='"{"',$t=/^[^}]/,Jt="[^}]",Kt=function(e){return e="="+e,n.parse(e).statements[0]},Qt=function(e){return e.escaped=!0,e},Gt=function(e){return e.escaped=!1,e},Yt=function(e){return new ro.ContentNode(e)},Zt="any character",en="SingleMustacheOpen",tn="DoubleMustacheOpen",nn="{{",rn='"{{"',sn="TripleMustacheOpen",on="{{{",un='"{{{"',an="SingleMustacheClose",fn="}",ln='"}"',cn="DoubleMustacheClose",hn="}}",pn='"}}"',dn="TripleMustacheClose",vn="}}}",mn='"}}}"',gn="InterpolationOpen",yn="#{",bn='"#{"',wn="InterpolationClose",En="==",Sn='"=="',xn=function(){return!1},Tn=function(){return!0},Nn=function(e,t){return e||t},Cn=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new ro.ContentNode("<"+r)),s&&u.push(new ro.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new ro.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new ro.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);var f=!!e[2];return io[r]||f?(u.push(new ro.ContentNode(" />")),[u]):(u.push(new ro.ContentNode(">")),[u,new ro.ContentNode("</"+r+">")])},kn=function(e){return{shorthand:e,id:!0}},Ln=function(e){return{shorthand:e}},An=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]},On=function(e){return[new ro.ContentNode(" ")].concat(e)},Mn=/^[A-Za-z.0-9_\-]/,_n="[A-Za-z.0-9_\\-]",Dn=function(e){return new ro.MustacheNode([e])},Pn=function(e,t){return[uo(t,"action",[["on",new ro.StringNode(e)]])]},Hn=function(e){return e.replace(/ *$/,"")},Bn="!",jn='"!"',Fn=function(e,t){return no},In=function(e,t){var n=new ro.HashNode([[e,new ro.StringNode(t)]]),r=[new ro.IdNode(["bindAttr"])],i=new ro.MustacheNode(r,n);return[i]},qn=function(e,t){var n=new ro.MustacheNode([t]);return no&&t._emblemSuffixModifier==="!"&&(n=uo(n,"unbound")),[new ro.ContentNode(e+"="+'"'),n,new ro.ContentNode('"')]},Rn=function(e,t){var n=[new ro.ContentNode(e+"="+'"')].concat(t);return n.concat([new ro.ContentNode('"')])},Un="_",zn='"_"',Wn="-",Xn='"-"',Vn="%",$n='"%"',Jn="#",Kn='"#"',Qn=function(e){return e},Gn="CSSIdentifier",Yn=/^[_a-zA-Z0-9\-]/,Zn="[_a-zA-Z0-9\\-]",er=/^[_a-zA-Z]/,tr="[_a-zA-Z]",nr=/^[\x80-\xFF]/,rr="[\\x80-\\xFF]",ir="KnownHTMLTagName",sr=function(e){return!!so[e]},or=function(e){return e},ur=":",ar='":"',fr="a JS event",lr=function(e){return!!oo[e]},cr="INDENT",hr="",pr='"\\uEFEF"',dr=function(){return""},vr="DEDENT",mr="",gr='"\\uEFFE"',yr="Unmatched DEDENT",br="",wr='"\\uEFEE"',Er="LineEnd",Sr="\r",xr='"\\r"',Tr="",Nr='"\\uEFFF"',Cr="\n",kr='"\\n"',Lr="ANYDEDENT",Ar="RequiredWhitespace",Or="OptionalWhitespace",Mr="InlineWhitespace",_r=/^[ \t]/,Dr="[ \\t]",Pr=0,Hr=0,Br=0,jr={line:1,column:1,seenCR:!1},Fr=0,Ir=[],qr=0,Rr;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 to=n.handlebarsVariant,no=to.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",ro=to.AST,io={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},so={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},oo={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};Rr=s();if(Rr!==null&&Pr===e.length)return Rr;throw Jr(Ir),Hr=Math.max(Pr,Fr),new t(Ir,Hr<e.length?e.charAt(Hr):null,Hr,Vr(Hr).line,Vr(Hr).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.2.5
4
+ version: 0.2.7
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-04-19 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Emblem.js source code wrapper for (pre)compilation gems.
15
15
  email: