emblem-source 0.2.1 → 0.2.2

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 +83 -104
  2. data/dist/emblem.min.js +2 -2
  3. metadata +2 -2
@@ -178,7 +178,7 @@ this.Emblem = {};
178
178
 
179
179
  Emblem = this.Emblem;
180
180
 
181
- Emblem.VERSION = "0.2.1";
181
+ Emblem.VERSION = "0.2.2";
182
182
 
183
183
 
184
184
 
@@ -680,41 +680,40 @@ Emblem.Parser = (function() {
680
680
  peg$c147 = "\"#\"",
681
681
  peg$c148 = function(c) { return c;},
682
682
  peg$c149 = "CSSIdentifier",
683
- peg$c150 = function(nmstart, nmchars) { return nmstart + nmchars; },
684
- peg$c151 = /^[_a-zA-Z0-9\-]/,
685
- peg$c152 = "[_a-zA-Z0-9\\-]",
686
- peg$c153 = /^[_a-zA-Z]/,
687
- peg$c154 = "[_a-zA-Z]",
688
- peg$c155 = /^[\x80-\xFF]/,
689
- peg$c156 = "[\\x80-\\xFF]",
690
- peg$c157 = "KnownHTMLTagName",
691
- peg$c158 = function(t) { return !!KNOWN_TAGS[t]; },
692
- peg$c159 = function(t) { return t; },
693
- peg$c160 = ":",
694
- peg$c161 = "\":\"",
695
- peg$c162 = "a JS event",
696
- peg$c163 = function(t) { return !!KNOWN_EVENTS[t]; },
697
- peg$c164 = "INDENT",
698
- peg$c165 = "\uEFEF",
699
- peg$c166 = "\"\\uEFEF\"",
700
- peg$c167 = function() { return ''; },
701
- peg$c168 = "DEDENT",
702
- peg$c169 = "\uEFFE",
703
- peg$c170 = "\"\\uEFFE\"",
704
- peg$c171 = "Unmatched DEDENT",
705
- peg$c172 = "\uEFEE",
706
- peg$c173 = "\"\\uEFEE\"",
707
- peg$c174 = "LineEnd",
708
- peg$c175 = "\uEFFF",
709
- peg$c176 = "\"\\uEFFF\"",
710
- peg$c177 = "\n",
711
- peg$c178 = "\"\\n\"",
712
- peg$c179 = "ANYDEDENT",
713
- peg$c180 = "RequiredWhitespace",
714
- peg$c181 = "OptionalWhitespace",
715
- peg$c182 = "InlineWhitespace",
716
- peg$c183 = /^[ \t]/,
717
- peg$c184 = "[ \\t]",
683
+ peg$c150 = /^[_a-zA-Z0-9\-]/,
684
+ peg$c151 = "[_a-zA-Z0-9\\-]",
685
+ peg$c152 = /^[_a-zA-Z]/,
686
+ peg$c153 = "[_a-zA-Z]",
687
+ peg$c154 = /^[\x80-\xFF]/,
688
+ peg$c155 = "[\\x80-\\xFF]",
689
+ peg$c156 = "KnownHTMLTagName",
690
+ peg$c157 = function(t) { return !!KNOWN_TAGS[t]; },
691
+ peg$c158 = function(t) { return t; },
692
+ peg$c159 = ":",
693
+ peg$c160 = "\":\"",
694
+ peg$c161 = "a JS event",
695
+ peg$c162 = function(t) { return !!KNOWN_EVENTS[t]; },
696
+ peg$c163 = "INDENT",
697
+ peg$c164 = "\uEFEF",
698
+ peg$c165 = "\"\\uEFEF\"",
699
+ peg$c166 = function() { return ''; },
700
+ peg$c167 = "DEDENT",
701
+ peg$c168 = "\uEFFE",
702
+ peg$c169 = "\"\\uEFFE\"",
703
+ peg$c170 = "Unmatched DEDENT",
704
+ peg$c171 = "\uEFEE",
705
+ peg$c172 = "\"\\uEFEE\"",
706
+ peg$c173 = "LineEnd",
707
+ peg$c174 = "\uEFFF",
708
+ peg$c175 = "\"\\uEFFF\"",
709
+ peg$c176 = "\n",
710
+ peg$c177 = "\"\\n\"",
711
+ peg$c178 = "ANYDEDENT",
712
+ peg$c179 = "RequiredWhitespace",
713
+ peg$c180 = "OptionalWhitespace",
714
+ peg$c181 = "InlineWhitespace",
715
+ peg$c182 = /^[ \t]/,
716
+ peg$c183 = "[ \\t]",
718
717
 
719
718
  peg$currPos = 0,
720
719
  peg$reportedPos = 0,
@@ -4854,39 +4853,19 @@ Emblem.Parser = (function() {
4854
4853
  }
4855
4854
 
4856
4855
  function peg$parseident() {
4857
- var s0, s1, s2, s3, s4;
4856
+ var s0, s1, s2;
4858
4857
 
4859
4858
  s0 = peg$currPos;
4860
- s1 = peg$parsenmstart();
4859
+ s1 = [];
4860
+ s2 = peg$parsenmchar();
4861
+ while (s2 !== null) {
4862
+ s1.push(s2);
4863
+ s2 = peg$parsenmchar();
4864
+ }
4861
4865
  if (s1 !== null) {
4862
- s2 = peg$currPos;
4863
- s3 = [];
4864
- s4 = peg$parsenmchar();
4865
- while (s4 !== null) {
4866
- s3.push(s4);
4867
- s4 = peg$parsenmchar();
4868
- }
4869
- if (s3 !== null) {
4870
- s3 = input.substring(s2, peg$currPos);
4871
- }
4872
- s2 = s3;
4873
- if (s2 !== null) {
4874
- peg$reportedPos = s0;
4875
- s1 = peg$c150(s1,s2);
4876
- if (s1 === null) {
4877
- peg$currPos = s0;
4878
- s0 = s1;
4879
- } else {
4880
- s0 = s1;
4881
- }
4882
- } else {
4883
- peg$currPos = s0;
4884
- s0 = peg$c0;
4885
- }
4886
- } else {
4887
- peg$currPos = s0;
4888
- s0 = peg$c0;
4866
+ s1 = input.substring(s0, peg$currPos);
4889
4867
  }
4868
+ s0 = s1;
4890
4869
 
4891
4870
  return s0;
4892
4871
  }
@@ -4894,12 +4873,12 @@ Emblem.Parser = (function() {
4894
4873
  function peg$parsenmchar() {
4895
4874
  var s0;
4896
4875
 
4897
- if (peg$c151.test(input.charAt(peg$currPos))) {
4876
+ if (peg$c150.test(input.charAt(peg$currPos))) {
4898
4877
  s0 = input.charAt(peg$currPos);
4899
4878
  peg$currPos++;
4900
4879
  } else {
4901
4880
  s0 = null;
4902
- if (peg$silentFails === 0) { peg$fail(peg$c152); }
4881
+ if (peg$silentFails === 0) { peg$fail(peg$c151); }
4903
4882
  }
4904
4883
  if (s0 === null) {
4905
4884
  s0 = peg$parsenonascii();
@@ -4911,12 +4890,12 @@ Emblem.Parser = (function() {
4911
4890
  function peg$parsenmstart() {
4912
4891
  var s0;
4913
4892
 
4914
- if (peg$c153.test(input.charAt(peg$currPos))) {
4893
+ if (peg$c152.test(input.charAt(peg$currPos))) {
4915
4894
  s0 = input.charAt(peg$currPos);
4916
4895
  peg$currPos++;
4917
4896
  } else {
4918
4897
  s0 = null;
4919
- if (peg$silentFails === 0) { peg$fail(peg$c154); }
4898
+ if (peg$silentFails === 0) { peg$fail(peg$c153); }
4920
4899
  }
4921
4900
  if (s0 === null) {
4922
4901
  s0 = peg$parsenonascii();
@@ -4928,12 +4907,12 @@ Emblem.Parser = (function() {
4928
4907
  function peg$parsenonascii() {
4929
4908
  var s0;
4930
4909
 
4931
- if (peg$c155.test(input.charAt(peg$currPos))) {
4910
+ if (peg$c154.test(input.charAt(peg$currPos))) {
4932
4911
  s0 = input.charAt(peg$currPos);
4933
4912
  peg$currPos++;
4934
4913
  } else {
4935
4914
  s0 = null;
4936
- if (peg$silentFails === 0) { peg$fail(peg$c156); }
4915
+ if (peg$silentFails === 0) { peg$fail(peg$c155); }
4937
4916
  }
4938
4917
 
4939
4918
  return s0;
@@ -5004,7 +4983,7 @@ Emblem.Parser = (function() {
5004
4983
  peg$silentFails--;
5005
4984
  if (s0 === null) {
5006
4985
  s1 = null;
5007
- if (peg$silentFails === 0) { peg$fail(peg$c157); }
4986
+ if (peg$silentFails === 0) { peg$fail(peg$c156); }
5008
4987
  }
5009
4988
 
5010
4989
  return s0;
@@ -5017,7 +4996,7 @@ Emblem.Parser = (function() {
5017
4996
  s1 = peg$parsetagString();
5018
4997
  if (s1 !== null) {
5019
4998
  peg$reportedPos = peg$currPos;
5020
- s2 = peg$c158(s1);
4999
+ s2 = peg$c157(s1);
5021
5000
  if (s2) {
5022
5001
  s2 = peg$c1;
5023
5002
  } else {
@@ -5025,7 +5004,7 @@ Emblem.Parser = (function() {
5025
5004
  }
5026
5005
  if (s2 !== null) {
5027
5006
  peg$reportedPos = s0;
5028
- s1 = peg$c159(s1);
5007
+ s1 = peg$c158(s1);
5029
5008
  if (s1 === null) {
5030
5009
  peg$currPos = s0;
5031
5010
  s0 = s1;
@@ -5047,12 +5026,12 @@ Emblem.Parser = (function() {
5047
5026
  function peg$parsetagChar() {
5048
5027
  var s0;
5049
5028
 
5050
- if (peg$c151.test(input.charAt(peg$currPos))) {
5029
+ if (peg$c150.test(input.charAt(peg$currPos))) {
5051
5030
  s0 = input.charAt(peg$currPos);
5052
5031
  peg$currPos++;
5053
5032
  } else {
5054
5033
  s0 = null;
5055
- if (peg$silentFails === 0) { peg$fail(peg$c152); }
5034
+ if (peg$silentFails === 0) { peg$fail(peg$c151); }
5056
5035
  }
5057
5036
  if (s0 === null) {
5058
5037
  s0 = peg$parsenonSeparatorColon();
@@ -5066,11 +5045,11 @@ Emblem.Parser = (function() {
5066
5045
 
5067
5046
  s0 = peg$currPos;
5068
5047
  if (input.charCodeAt(peg$currPos) === 58) {
5069
- s1 = peg$c160;
5048
+ s1 = peg$c159;
5070
5049
  peg$currPos++;
5071
5050
  } else {
5072
5051
  s1 = null;
5073
- if (peg$silentFails === 0) { peg$fail(peg$c161); }
5052
+ if (peg$silentFails === 0) { peg$fail(peg$c160); }
5074
5053
  }
5075
5054
  if (s1 !== null) {
5076
5055
  s2 = peg$currPos;
@@ -5118,7 +5097,7 @@ Emblem.Parser = (function() {
5118
5097
  s1 = peg$parsetagString();
5119
5098
  if (s1 !== null) {
5120
5099
  peg$reportedPos = peg$currPos;
5121
- s2 = peg$c163(s1);
5100
+ s2 = peg$c162(s1);
5122
5101
  if (s2) {
5123
5102
  s2 = peg$c1;
5124
5103
  } else {
@@ -5126,7 +5105,7 @@ Emblem.Parser = (function() {
5126
5105
  }
5127
5106
  if (s2 !== null) {
5128
5107
  peg$reportedPos = s0;
5129
- s1 = peg$c159(s1);
5108
+ s1 = peg$c158(s1);
5130
5109
  if (s1 === null) {
5131
5110
  peg$currPos = s0;
5132
5111
  s0 = s1;
@@ -5144,7 +5123,7 @@ Emblem.Parser = (function() {
5144
5123
  peg$silentFails--;
5145
5124
  if (s0 === null) {
5146
5125
  s1 = null;
5147
- if (peg$silentFails === 0) { peg$fail(peg$c162); }
5126
+ if (peg$silentFails === 0) { peg$fail(peg$c161); }
5148
5127
  }
5149
5128
 
5150
5129
  return s0;
@@ -5184,15 +5163,15 @@ Emblem.Parser = (function() {
5184
5163
  peg$silentFails++;
5185
5164
  s0 = peg$currPos;
5186
5165
  if (input.charCodeAt(peg$currPos) === 61423) {
5187
- s1 = peg$c165;
5166
+ s1 = peg$c164;
5188
5167
  peg$currPos++;
5189
5168
  } else {
5190
5169
  s1 = null;
5191
- if (peg$silentFails === 0) { peg$fail(peg$c166); }
5170
+ if (peg$silentFails === 0) { peg$fail(peg$c165); }
5192
5171
  }
5193
5172
  if (s1 !== null) {
5194
5173
  peg$reportedPos = s0;
5195
- s1 = peg$c167();
5174
+ s1 = peg$c166();
5196
5175
  }
5197
5176
  if (s1 === null) {
5198
5177
  peg$currPos = s0;
@@ -5203,7 +5182,7 @@ Emblem.Parser = (function() {
5203
5182
  peg$silentFails--;
5204
5183
  if (s0 === null) {
5205
5184
  s1 = null;
5206
- if (peg$silentFails === 0) { peg$fail(peg$c164); }
5185
+ if (peg$silentFails === 0) { peg$fail(peg$c163); }
5207
5186
  }
5208
5187
 
5209
5188
  return s0;
@@ -5215,15 +5194,15 @@ Emblem.Parser = (function() {
5215
5194
  peg$silentFails++;
5216
5195
  s0 = peg$currPos;
5217
5196
  if (input.charCodeAt(peg$currPos) === 61438) {
5218
- s1 = peg$c169;
5197
+ s1 = peg$c168;
5219
5198
  peg$currPos++;
5220
5199
  } else {
5221
5200
  s1 = null;
5222
- if (peg$silentFails === 0) { peg$fail(peg$c170); }
5201
+ if (peg$silentFails === 0) { peg$fail(peg$c169); }
5223
5202
  }
5224
5203
  if (s1 !== null) {
5225
5204
  peg$reportedPos = s0;
5226
- s1 = peg$c167();
5205
+ s1 = peg$c166();
5227
5206
  }
5228
5207
  if (s1 === null) {
5229
5208
  peg$currPos = s0;
@@ -5234,7 +5213,7 @@ Emblem.Parser = (function() {
5234
5213
  peg$silentFails--;
5235
5214
  if (s0 === null) {
5236
5215
  s1 = null;
5237
- if (peg$silentFails === 0) { peg$fail(peg$c168); }
5216
+ if (peg$silentFails === 0) { peg$fail(peg$c167); }
5238
5217
  }
5239
5218
 
5240
5219
  return s0;
@@ -5246,15 +5225,15 @@ Emblem.Parser = (function() {
5246
5225
  peg$silentFails++;
5247
5226
  s0 = peg$currPos;
5248
5227
  if (input.charCodeAt(peg$currPos) === 61422) {
5249
- s1 = peg$c172;
5228
+ s1 = peg$c171;
5250
5229
  peg$currPos++;
5251
5230
  } else {
5252
5231
  s1 = null;
5253
- if (peg$silentFails === 0) { peg$fail(peg$c173); }
5232
+ if (peg$silentFails === 0) { peg$fail(peg$c172); }
5254
5233
  }
5255
5234
  if (s1 !== null) {
5256
5235
  peg$reportedPos = s0;
5257
- s1 = peg$c167();
5236
+ s1 = peg$c166();
5258
5237
  }
5259
5238
  if (s1 === null) {
5260
5239
  peg$currPos = s0;
@@ -5265,7 +5244,7 @@ Emblem.Parser = (function() {
5265
5244
  peg$silentFails--;
5266
5245
  if (s0 === null) {
5267
5246
  s1 = null;
5268
- if (peg$silentFails === 0) { peg$fail(peg$c171); }
5247
+ if (peg$silentFails === 0) { peg$fail(peg$c170); }
5269
5248
  }
5270
5249
 
5271
5250
  return s0;
@@ -5277,19 +5256,19 @@ Emblem.Parser = (function() {
5277
5256
  peg$silentFails++;
5278
5257
  s0 = peg$currPos;
5279
5258
  if (input.charCodeAt(peg$currPos) === 61439) {
5280
- s1 = peg$c175;
5259
+ s1 = peg$c174;
5281
5260
  peg$currPos++;
5282
5261
  } else {
5283
5262
  s1 = null;
5284
- if (peg$silentFails === 0) { peg$fail(peg$c176); }
5263
+ if (peg$silentFails === 0) { peg$fail(peg$c175); }
5285
5264
  }
5286
5265
  if (s1 !== null) {
5287
5266
  if (input.charCodeAt(peg$currPos) === 10) {
5288
- s2 = peg$c177;
5267
+ s2 = peg$c176;
5289
5268
  peg$currPos++;
5290
5269
  } else {
5291
5270
  s2 = null;
5292
- if (peg$silentFails === 0) { peg$fail(peg$c178); }
5271
+ if (peg$silentFails === 0) { peg$fail(peg$c177); }
5293
5272
  }
5294
5273
  if (s2 !== null) {
5295
5274
  peg$reportedPos = s0;
@@ -5311,7 +5290,7 @@ Emblem.Parser = (function() {
5311
5290
  peg$silentFails--;
5312
5291
  if (s0 === null) {
5313
5292
  s1 = null;
5314
- if (peg$silentFails === 0) { peg$fail(peg$c174); }
5293
+ if (peg$silentFails === 0) { peg$fail(peg$c173); }
5315
5294
  }
5316
5295
 
5317
5296
  return s0;
@@ -5328,7 +5307,7 @@ Emblem.Parser = (function() {
5328
5307
  peg$silentFails--;
5329
5308
  if (s0 === null) {
5330
5309
  s1 = null;
5331
- if (peg$silentFails === 0) { peg$fail(peg$c179); }
5310
+ if (peg$silentFails === 0) { peg$fail(peg$c178); }
5332
5311
  }
5333
5312
 
5334
5313
  return s0;
@@ -5356,7 +5335,7 @@ Emblem.Parser = (function() {
5356
5335
  peg$silentFails--;
5357
5336
  if (s0 === null) {
5358
5337
  s1 = null;
5359
- if (peg$silentFails === 0) { peg$fail(peg$c180); }
5338
+ if (peg$silentFails === 0) { peg$fail(peg$c179); }
5360
5339
  }
5361
5340
 
5362
5341
  return s0;
@@ -5375,7 +5354,7 @@ Emblem.Parser = (function() {
5375
5354
  peg$silentFails--;
5376
5355
  if (s0 === null) {
5377
5356
  s1 = null;
5378
- if (peg$silentFails === 0) { peg$fail(peg$c181); }
5357
+ if (peg$silentFails === 0) { peg$fail(peg$c180); }
5379
5358
  }
5380
5359
 
5381
5360
  return s0;
@@ -5385,17 +5364,17 @@ Emblem.Parser = (function() {
5385
5364
  var s0, s1;
5386
5365
 
5387
5366
  peg$silentFails++;
5388
- if (peg$c183.test(input.charAt(peg$currPos))) {
5367
+ if (peg$c182.test(input.charAt(peg$currPos))) {
5389
5368
  s0 = input.charAt(peg$currPos);
5390
5369
  peg$currPos++;
5391
5370
  } else {
5392
5371
  s0 = null;
5393
- if (peg$silentFails === 0) { peg$fail(peg$c184); }
5372
+ if (peg$silentFails === 0) { peg$fail(peg$c183); }
5394
5373
  }
5395
5374
  peg$silentFails--;
5396
5375
  if (s0 === null) {
5397
5376
  s1 = null;
5398
- if (peg$silentFails === 0) { peg$fail(peg$c182); }
5377
+ if (peg$silentFails === 0) { peg$fail(peg$c181); }
5399
5378
  }
5400
5379
 
5401
5380
  return s0;
@@ -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.1",n.Parser=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=s(e,t)}function r(e){function Fr(){return e.substring(Mr,Or)}function Ir(){return Mr}function qr(){return Ur(Mr).line}function Rr(){return Ur(Mr).column}function Ur(t){function n(t,n){var r,i;for(r=0;r<n;r++)i=e.charAt(r),i==="\n"?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):i==="\r"||i==="\u2028"||i==="\u2029"?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return _r!==t&&(_r>t&&(_r=0,Dr={line:1,column:1,seenCR:!1}),_r=t,n(Dr,_r)),Dr}function zr(e){if(Or<Pr)return;Or>Pr&&(Pr=Or,Hr=[]),Hr.push(e)}function Wr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Xr(){var e;return e=Vr(),e}function Vr(){var e,t,n,r,i,s,l,c,h;return e=Or,t=Jr(),t!==null?(n=Or,r=qs(),r!==null?(i=$r(),i!==null?(s=Xs(),s!==null?(l=Us(),l!==null?(c=Fs(),c!==null?(h=Jr(),h!==null?(Mr=n,r=a(h),r===null?(Or=n,n=r):n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=f(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function $r(){var t,n,r,i;return t=Or,n=Or,e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=Xs(),i!==null?(r=[r,i],n=r):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(e.substr(Or,4)===h?(r=h,Or+=4):(r=null,Br===0&&zr(p)),r!==null?(n=[n,r],t=n):(Or=t,t=o)):(Or=t,t=o),t}function Jr(){var e,t,n;e=Or,t=[],n=Kr();while(n!==null)t.push(n),n=Kr();return t!==null&&(Mr=e,t=v(t)),t===null?(Or=e,e=t):e=t,e}function Kr(){var e,t;return Br++,e=Gr(),e===null&&(e=ni(),e===null&&(e=Qr())),Br--,e===null&&(t=null,Br===0&&zr(m)),e}function Qr(){var e,t;return Br++,e=Yr(),e===null&&(e=ai(),e===null&&(e=Fi(),e===null&&(e=ei()))),Br--,e===null&&(t=null,Br===0&&zr(g)),e}function Gr(){var e,t,n;return e=Or,t=Xs(),t!==null?(n=Us(),n!==null?(Mr=e,t=y(),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Yr(){var t,n,r,i,s,u,a,f;t=Or,e.charCodeAt(Or)===62?(n=b,Or++):(n=null,Br===0&&zr(w));if(n!==null){r=Xs();if(r!==null){i=Zr();if(i!==null){s=Xs();if(s!==null){u=[],a=yi();while(a!==null)u.push(a),a=yi();u!==null?(a=Xs(),a!==null?(f=Us(),f!==null?(Mr=t,n=E(i,u),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o;return t}function Zr(){var t,n,r,i;t=Or,n=Or,r=[],S.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(x));else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=T(n)),n===null?(Or=t,t=n):t=n,t}function ei(){var e,t;return e=Or,t=hi(),t===null&&(t=ri()),t!==null&&(Mr=e,t=N(t)),t===null?(Or=e,e=t):e=t,e}function ti(){var e,t,n,r,i,s,u,a;e=Or,t=Js();if(t!==null){n=Us();if(n!==null){r=[],i=Or,s=Fs();if(s!==null){u=[],a=ti();if(a!==null)while(a!==null)u.push(a),a=ti();else u=o;u!==null?(a=zs(),a!==null?(s=[s,u,a],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o;while(i!==null){r.push(i),i=Or,s=Fs();if(s!==null){u=[],a=ti();if(a!==null)while(a!==null)u.push(a),a=ti();else u=o;u!==null?(a=zs(),a!==null?(s=[s,u,a],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o}r!==null?(Mr=e,t=y(),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function ni(){var t,n,r;return t=Or,e.charCodeAt(Or)===47?(n=C,Or++):(n=null,Br===0&&zr(k)),n!==null?(r=ti(),r!==null?(Mr=t,n=y(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ri(){var e;return e=ii(),e===null&&(e=fi()),e}function ii(){var t,n,r;return t=Or,n=Or,Br++,L.test(e.charAt(Or))?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(A)),Br--,r!==null?(Or=n,n=u):n=o,n!==null?(r=fi(),r!==null?(Mr=t,n=O(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function si(){var t,n,r,i,s,a,f;t=Or,e.charCodeAt(Or)===32?(n=M,Or++):(n=null,Br===0&&zr(_));if(n!==null){r=Ii();if(r!==null){i=Or,s=Fs();if(s!==null){a=[],f=Bi();if(f!==null)while(f!==null)a.push(f),f=Bi();else a=o;a!==null?(f=qs(),f!==null?(s=[s,a,f],i=s):(Or=i,i=o)):(Or=i,i=o)}else Or=i,i=o;i===null&&(i=u),i!==null?(Mr=t,n=D(r,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o;return t}function oi(){var e,t,n,r,i;e=Or,t=[],n=Gr();while(n!==null)t.push(n),n=Gr();return t!==null?(n=Fs(),n!==null?(r=Jr(),r!==null?(i=qs(),i!==null?(Mr=e,t=P(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function ui(){var e,t,n,r;return e=li(),e===null&&(e=Or,t=Xs(),t!==null?(n=hi(),n!==null?(Mr=e,t=H(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=Or,t=Xs(),t!==null?(n=Us(),n!==null?(r=oi(),r===null&&(r=u),r!==null?(Mr=e,t=P(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=si()))),e}function ai(){var e,t,n;return e=Or,t=cs(),t!==null?(n=ui(),n!==null?(Mr=e,t=B(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function fi(){var e,t,n,r;return e=Or,t=pi(),t!==null?(n=Xs(),n!==null?(r=ci(),r!==null?(Mr=e,t=j(t,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function Vr(){var e,t,n,r,i,s,l,c,h;return e=Or,t=Jr(),t!==null?(n=Or,r=qs(),r!==null?(i=$r(),i!==null?(s=Xs(),s!==null?(l=Us(),l!==null?(c=Fs(),c!==null?(h=Jr(),h!==null?(Mr=n,r=a(h),r===null?(Or=n,n=r):n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=f(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function li(){var t,n,r,i;return t=Or,e.substr(Or,2)===F?(n=F,Or+=2):(n=null,Br===0&&zr(I)),n!==null?(r=Xs(),r!==null?(i=Qr(),i!==null?(Mr=t,n=P(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function ci(){var e,t,n,r,i,s,a;e=Or,t=li(),t===null&&(t=Fi()),t!==null&&(Mr=e,t=q(t)),t===null?(Or=e,e=t):e=t;if(e===null){e=Or,t=Us();if(t!==null){n=Or,r=[],i=Gr();while(i!==null)r.push(i),i=Gr();r!==null?(i=Fs(),i!==null?(s=Vr(),s!==null?(a=qs(),a!==null?(r=[r,i,s,a],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=u),n!==null?(Mr=e,t=R(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}return e}function hi(){var e,t,n;return e=Or,t=fs(),t!==null?(n=fi(),n!==null?(Mr=e,t=U(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function pi(){var t,n,r,i,s,a;t=Or,e.charCodeAt(Or)===62?(n=b,Or++):(n=null,Br===0&&zr(w)),n===null&&(n=u);if(n!==null){r=Xs();if(r!==null){i=Ci();if(i!==null){s=[],a=yi();while(a!==null)s.push(a),a=yi();s!==null?(a=bi(),a===null&&(a=u),a!==null?(Mr=t,n=z(n,i,s,a),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o}else Or=t,t=o;return t}function di(){var e,t;return e=Or,t=Ts(),t!==null&&(Mr=e,t=W(t)),t===null?(Or=e,e=t):e=t,e===null&&(e=Or,t=Ns(),t!==null&&(Mr=e,t=X(t)),t===null?(Or=e,e=t):e=t,e===null&&(e=Or,t=Cs(),t!==null&&(Mr=e,t=V(t)),t===null?(Or=e,e=t):e=t)),e}function vi(){var e;return e=mi(),e===null&&(e=gi()),e}function mi(){var e,t,n,r;e=Or,t=Ns();if(t!==null){n=[],r=Cs();while(r!==null)n.push(r),r=Cs();n!==null?(Mr=e,t=$(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function gi(){var e,t,n;e=Or,t=[],n=Cs();if(n!==null)while(n!==null)t.push(n),n=Cs();else t=o;return t!==null&&(Mr=e,t=J(t)),t===null?(Or=e,e=t):e=t,e}function yi(){var e,t,n;return e=Or,t=Xs(),t!==null?(n=di(),n===null&&(n=xi()),n!==null?(Mr=e,t=K(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function bi(){var e,t,n;e=Or,t=[],n=Si();if(n!==null)while(n!==null)t.push(n),n=Si();else t=o;return t!==null&&(Mr=e,t=Q(t)),t===null?(Or=e,e=t):e=t,e}function wi(){var t,n,r,i;Br++,e.substr(Or,2)===Y?(t=Y,Or+=2):(t=null,Br===0&&zr(Z));if(t===null){e.charCodeAt(Or)===46?(t=et,Or++):(t=null,Br===0&&zr(tt));if(t===null){t=Or,n=Or,r=[],nt.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(rt));else r=o;r!==null&&(r=e.substring(n,Or)),n=r,n!==null?(r=Or,Br++,e.charCodeAt(Or)===61?(i=l,Or++):(i=null,Br===0&&zr(c)),Br--,i===null?r=u:(Or=r,r=o),r!==null?(Mr=t,n=it(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)}}return Br--,t===null&&(n=null,Br===0&&zr(G)),t}function Ei(){var e,t;return Br++,e=Ls(),Br--,e===null&&(t=null,Br===0&&zr(st)),e}function Si(){var t,n,r,i,s,u;return t=Or,n=Xs(),n!==null?(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Ai(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Li(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=Ci(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o),r===null&&(r=Or,i=Ei(),i!==null?(e.charCodeAt(Or)===61?(s=l,Or++):(s=null,Br===0&&zr(c)),s!==null?(u=ki(),u!==null?(i=[i,s,u],r=i):(Or=r,r=o)):(Or=r,r=o)):(Or=r,r=o)))),r!==null?(Mr=t,n=ot(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function xi(){var e;return e=Ci(),e===null&&(e=ki(),e===null&&(e=Li(),e===null&&(e=Ai()))),e}function Ti(){var e,t,n,r,i,s;e=Or,t=wi();if(t!==null){n=[],r=Or,i=Ni(),i!==null?(s=wi(),s!==null?(Mr=r,i=ut(s),i===null?(Or=r,r=i):r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Ni(),i!==null?(s=wi(),s!==null?(Mr=r,i=ut(s),i===null?(Or=r,r=i):r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=at(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function Ni(){var t,n;return Br++,lt.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(ct)),Br--,t===null&&(n=null,Br===0&&zr(ft)),t}function Ci(){var e,t;return e=Or,t=Ti(),t!==null&&(Mr=e,t=ht(t)),t===null?(Or=e,e=t):e=t,e}function ki(){var e,t;return e=Or,t=_i(),t!==null&&(Mr=e,t=pt(t)),t===null?(Or=e,e=t):e=t,e}function Li(){var e,t;return e=Or,t=Mi(),t!==null&&(Mr=e,t=dt(t)),t===null?(Or=e,e=t):e=t,e}function Ai(){var e,t;return e=Or,t=Oi(),t!==null&&(Mr=e,t=vt(t)),t===null?(Or=e,e=t):e=t,e}function Oi(){var t,n;return Br++,e.substr(Or,4)===gt?(t=gt,Or+=4):(t=null,Br===0&&zr(yt)),t===null&&(e.substr(Or,5)===bt?(t=bt,Or+=5):(t=null,Br===0&&zr(wt))),Br--,t===null&&(n=null,Br===0&&zr(mt)),t}function Mi(){var t,n,r,i;Br++,t=Or,n=Or,r=[],St.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(xt));if(i!==null)while(i!==null)r.push(i),St.test(e.charAt(Or))?(i=e.charAt(Or),Or++):(i=null,Br===0&&zr(xt));else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=Tt(n)),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(Et)),t}function _i(){var t,n,r,i,s;return t=Or,n=Or,e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct)),r!==null?(i=Di(),i!==null?(e.charCodeAt(Or)===34?(s=Nt,Or++):(s=null,Br===0&&zr(Ct)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=Or,e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt)),r!==null?(i=Pi(),i!==null?(e.charCodeAt(Or)===39?(s=kt,Or++):(s=null,Br===0&&zr(Lt)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)),n!==null&&(Mr=t,n=At(n)),n===null?(Or=t,t=n):t=n,t}function Di(){var t,n,r,i,s;t=Or,n=[],r=Or,i=Or,Br++,s=Us(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(Ot.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Mt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Or,Br++,s=Us(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(Ot.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Mt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);return n!==null&&(n=e.substring(t,Or)),t=n,t}function Pi(){var t,n,r,i,s;t=Or,n=[],r=Or,i=Or,Br++,s=Us(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(_t.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Dt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=Or,Br++,s=Us(),Br--,s===null?i=u:(Or=i,i=o),i!==null?(_t.test(e.charAt(Or))?(s=e.charAt(Or),Or++):(s=null,Br===0&&zr(Dt)),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);return n!==null&&(n=e.substring(t,Or)),t=n,t}function Hi(){var t;return Pt.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Ht)),t}function Bi(){var e,t,n,r,i;e=Or,t=Fs();if(t!==null){n=Ii();if(n!==null){r=[],i=Bi();while(i!==null)r.push(i),i=Bi();r!==null?(i=zs(),i!==null?(Mr=e,t=Bt(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e===null&&(e=Ii()),e}function ji(){var t,n,r;return t=Or,jt.test(e.charAt(Or))?(n=e.charAt(Or),Or++):(n=null,Br===0&&zr(Ft)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=it(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,n=Or,Br++,e.charCodeAt(Or)===60?(r=It,Or++):(r=null,Br===0&&zr(qt)),Br--,r!==null?(Or=n,n=u):n=o,n!==null&&(Mr=t,n=Rt()),n===null?(Or=t,t=n):t=n),t}function Fi(){var e,t,n,r,i,s,a;e=Or,t=ji();if(t!==null){n=Ii();if(n!==null){r=Or,i=Fs();if(i!==null){s=[],a=Bi();while(a!==null)s.push(a),a=Bi();s!==null?(a=qs(),a!==null?(i=[i,s,a],r=i):(Or=r,r=o)):(Or=r,r=o)}else Or=r,r=o;r===null&&(r=u),r!==null?(Mr=e,t=Ut(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function Ii(){var e,t,n,r,i,s;e=Or,t=Qi(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=Qi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(r=Us(),r!==null?(Mr=e,t=zt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)}else Or=e,e=o;return e}function qi(){var t,n,r,i;return t=Or,e.charCodeAt(Or)===34?(n=Nt,Or++):(n=null,Br===0&&zr(Ct)),n!==null?(r=Ri(),r!==null?(e.charCodeAt(Or)===34?(i=Nt,Or++):(i=null,Br===0&&zr(Ct)),i!==null?(Mr=t,n=K(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,e.charCodeAt(Or)===39?(n=kt,Or++):(n=null,Br===0&&zr(Lt)),n!==null?(r=Ui(),r!==null?(e.charCodeAt(Or)===39?(i=kt,Or++):(i=null,Br===0&&zr(Lt)),i!==null?(Mr=t,n=K(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)),t}function Ri(){var e,t,n,r,i,s;e=Or,t=Vi(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=Wt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function Ui(){var e,t,n,r,i,s;e=Or,t=$i(),t===null&&(t=u);if(t!==null){n=[],r=Or,i=zi(),i!==null?(s=$i(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);while(r!==null)n.push(r),r=Or,i=zi(),i!==null?(s=$i(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Or=r,r=o)):(Or=r,r=o);n!==null?(Mr=e,t=Wt(t,n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o;return e}function zi(){var e;return e=Xi(),e===null&&(e=Wi()),e}function Wi(){var e,t,n,r,i,s;return e=Or,t=ns(),t!==null?(n=Xs(),n!==null?(r=pi(),r!==null?(i=Xs(),i!==null?(s=ss(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e===null&&(e=Or,t=us(),t!==null?(n=Xs(),n!==null?(r=pi(),r!==null?(i=Xs(),i!==null?(s=as(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)),e}function Xi(){var e,t,n,r,i,s;return e=Or,t=rs(),t!==null?(n=Xs(),n!==null?(r=pi(),r!==null?(i=Xs(),i!==null?(s=os(),s!==null?(Mr=e,t=Vt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function Vi(){var t,n,r,i;t=Or,n=Or,r=[],i=Ji();if(i!==null)while(i!==null)r.push(i),i=Ji();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function $i(){var t,n,r,i;t=Or,n=Or,r=[],i=Ki();if(i!==null)while(i!==null)r.push(i),i=Ki();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function Ji(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),r===null&&(e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct))),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Ki(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),r===null&&(e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt))),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Qi(){var t,n,r,i;t=Or,n=Or,r=[],i=Gi();if(i!==null)while(i!==null)r.push(i),i=Gi();else r=o;return r!==null&&(r=e.substring(n,Or)),n=r,n!==null&&(Mr=t,n=$t(n)),n===null?(Or=t,t=n):t=n,t}function Gi(){var t,n,r;return t=Or,n=Or,Br++,r=Yi(),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Yi(){var e;return e=rs(),e===null&&(e=ns(),e===null&&(e=us(),e===null&&(e=zs(),e===null&&(e=Us())))),e}function Zi(){var e,t,n,r,i,s;return e=Or,t=ts(),t!==null?(n=Xs(),n!==null?(r=pi(),r!==null?(i=Xs(),i!==null?(s=is(),s!==null?(Mr=e,t=Xt(r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function es(){var e;return e=Zi(),e===null&&(e=Xi(),e===null&&(e=Wi())),e}function ts(){var t,n;return Br++,e.charCodeAt(Or)===123?(t=Qt,Or++):(t=null,Br===0&&zr(Gt)),Br--,t===null&&(n=null,Br===0&&zr(Kt)),t}function ns(){var t,n;return Br++,e.substr(Or,2)===Zt?(t=Zt,Or+=2):(t=null,Br===0&&zr(en)),Br--,t===null&&(n=null,Br===0&&zr(Yt)),t}function rs(){var t,n;return Br++,e.substr(Or,3)===nn?(t=nn,Or+=3):(t=null,Br===0&&zr(rn)),Br--,t===null&&(n=null,Br===0&&zr(tn)),t}function is(){var t,n;return Br++,e.charCodeAt(Or)===125?(t=on,Or++):(t=null,Br===0&&zr(un)),Br--,t===null&&(n=null,Br===0&&zr(sn)),t}function ss(){var t,n;return Br++,e.substr(Or,2)===fn?(t=fn,Or+=2):(t=null,Br===0&&zr(ln)),Br--,t===null&&(n=null,Br===0&&zr(an)),t}function os(){var t,n;return Br++,e.substr(Or,3)===hn?(t=hn,Or+=3):(t=null,Br===0&&zr(pn)),Br--,t===null&&(n=null,Br===0&&zr(cn)),t}function us(){var t,n;return Br++,e.substr(Or,2)===vn?(t=vn,Or+=2):(t=null,Br===0&&zr(mn)),Br--,t===null&&(n=null,Br===0&&zr(dn)),t}function as(){var t,n;return Br++,e.charCodeAt(Or)===125?(t=on,Or++):(t=null,Br===0&&zr(un)),Br--,t===null&&(n=null,Br===0&&zr(gn)),t}function fs(){var t,n,r;return t=Or,e.substr(Or,2)===yn?(n=yn,Or+=2):(n=null,Br===0&&zr(bn)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=wn(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Or,e.charCodeAt(Or)===61?(n=l,Or++):(n=null,Br===0&&zr(c)),n!==null?(e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_)),r===null&&(r=u),r!==null?(Mr=t,n=En(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)),t}function ls(){var e,t,n,r;return e=Or,t=Ds(),t===null&&(t=u),t!==null?(n=vi(),n===null&&(n=u),n!==null?(Mr=Or,r=Sn(t,n),r?r=u:r=o,r!==null?(t=[t,n,r],e=t):(Or=e,e=o)):(Or=e,e=o)):(Or=e,e=o),e}function cs(){var e,t,n,r,i;e=Or,t=ls();if(t!==null){n=[],r=es();while(r!==null)n.push(r),r=es();if(n!==null){r=[],i=hs();while(i!==null)r.push(i),i=hs();r!==null?(Mr=e,t=xn(t,n,r),t===null?(Or=e,e=t):e=t):(Or=e,e=o)}else Or=e,e=o}else Or=e,e=o;return e}function vi(){var e,t,n,r;e=Or,t=[],n=Or,r=Ns(),r!==null&&(Mr=n,r=Tn(r)),r===null?(Or=n,n=r):n=r,n===null&&(n=Or,r=Cs(),r!==null&&(Mr=n,r=Nn(r)),r===null?(Or=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Or,r=Ns(),r!==null&&(Mr=n,r=Tn(r)),r===null?(Or=n,n=r):n=r,n===null&&(n=Or,r=Cs(),r!==null&&(Mr=n,r=Nn(r)),r===null?(Or=n,n=r):n=r);else t=o;return t!==null&&(Mr=e,t=Cn(t)),t===null?(Or=e,e=t):e=t,e}function hs(){var t,n,r;t=Or,n=[],e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Or)===32?(r=M,Or++):(r=null,Br===0&&zr(_));else n=o;return n!==null?(r=ms(),r===null&&(r=ys(),r===null&&(r=bs(),r===null&&(r=ws()))),r!==null?(Mr=t,n=kn(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ps(){var t;return Ln.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(An)),t===null&&(t=Bs()),t}function ds(){var e,t;return e=vs(),e===null&&(e=Or,t=Ci(),t!==null&&(Mr=e,t=On(t)),t===null?(Or=e,e=t):e=t),e}function vs(){var t,n,r,i,s;return t=Or,n=Or,e.charCodeAt(Or)===34?(r=Nt,Or++):(r=null,Br===0&&zr(Ct)),r!==null?(i=pi(),i!==null?(e.charCodeAt(Or)===34?(s=Nt,Or++):(s=null,Br===0&&zr(Ct)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o),n===null&&(n=Or,e.charCodeAt(Or)===39?(r=kt,Or++):(r=null,Br===0&&zr(Lt)),r!==null?(i=pi(),i!==null?(e.charCodeAt(Or)===39?(s=kt,Or++):(s=null,Br===0&&zr(Lt)),s!==null?(r=[r,i,s],n=r):(Or=n,n=o)):(Or=n,n=o)):(Or=n,n=o)),n!==null&&(Mr=t,n=At(n)),n===null?(Or=t,t=n):t=n,t}function ms(){var t,n,r,i;return t=Or,n=js(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=ds(),i!==null?(Mr=t,n=Mn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function gs(){var t,n,r,i,s,u;t=Or,e.charCodeAt(Or)===123?(n=Qt,Or++):(n=null,Br===0&&zr(Gt));if(n!==null){r=Xs();if(r!==null){i=Or,s=[],u=ps(),u===null&&(e.charCodeAt(Or)===32?(u=M,Or++):(u=null,Br===0&&zr(_)));if(u!==null)while(u!==null)s.push(u),u=ps(),u===null&&(e.charCodeAt(Or)===32?(u=M,Or++):(u=null,Br===0&&zr(_)));else s=o;s!==null&&(s=e.substring(i,Or)),i=s,i!==null?(s=Xs(),s!==null?(e.charCodeAt(Or)===125?(u=on,Or++):(u=null,Br===0&&zr(un)),u!==null?(Mr=t,n=_n(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)}else Or=t,t=o}else Or=t,t=o;if(t===null){t=Or,n=[],r=ps();if(r!==null)while(r!==null)n.push(r),r=ps();else n=o;n!==null&&(n=e.substring(t,Or)),t=n}return t}function ys(){var t,n,r,i,s,a;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=gs(),i!==null?(s=Or,Br++,e.charCodeAt(Or)===33?(a=Dn,Or++):(a=null,Br===0&&zr(Pn)),Br--,a===null?s=u:(Or=s,s=o),s!==null?(Mr=Or,a=Hn(n,i),a?a=u:a=o,a!==null?(Mr=t,n=Bn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function bs(){var t,n,r,i;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=Ci(),i!==null?(Mr=t,n=jn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function ws(){var t,n,r,i;return t=Or,n=Ei(),n!==null?(e.charCodeAt(Or)===61?(r=l,Or++):(r=null,Br===0&&zr(c)),r!==null?(i=qi(),i!==null?(Mr=t,n=Fn(n,i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t}function Es(){var t,n,r;t=Or,n=[],r=xs();while(r!==null)n.push(r),r=xs();return n!==null&&(n=e.substring(t,Or)),t=n,t}function Ss(){var e;return e=_i(),e===null&&(e=xi()),e}function xs(){var t;return t=Hi(),t===null&&(St.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(xt)),t===null&&(e.charCodeAt(Or)===95?(t=In,Or++):(t=null,Br===0&&zr(qn)),t===null&&(e.charCodeAt(Or)===45?(t=Rn,Or++):(t=null,Br===0&&zr(Un))))),t}function Ts(){var t,n,r;return t=Or,e.charCodeAt(Or)===37?(n=zn,Or++):(n=null,Br===0&&zr(Wn)),n!==null?(r=ks(),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Ns(){var t,n,r;return t=Or,e.charCodeAt(Or)===35?(n=Xn,Or++):(n=null,Br===0&&zr(Vn)),n!==null?(r=ks(),r!==null?(Mr=t,n=$n(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Cs(){var t,n,r;return t=Or,e.charCodeAt(Or)===46?(n=et,Or++):(n=null,Br===0&&zr(tt)),n!==null?(r=ks(),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function ks(){var e,t;return Br++,e=Ls(),Br--,e===null&&(t=null,Br===0&&zr(Jn)),e}function Ls(){var t,n,r,i,s;t=Or,n=Os();if(n!==null){r=Or,i=[],s=As();while(s!==null)i.push(s),s=As();i!==null&&(i=e.substring(r,Or)),r=i,r!==null?(Mr=t,n=Kn(n,r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)}else Or=t,t=o;return t}function As(){var t;return Qn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Gn)),t===null&&(t=Ms()),t}function Os(){var t;return Yn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Zn)),t===null&&(t=Ms()),t}function Ms(){var t;return er.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(tr)),t}function _s(){var t,n,r;t=Or,n=[],r=Hs();if(r!==null)while(r!==null)n.push(r),r=Hs();else n=o;return n!==null&&(n=e.substring(t,Or)),t=n,t}function Ds(){var t,n,r,i;return Br++,t=Or,e.charCodeAt(Or)===37?(n=zn,Or++):(n=null,Br===0&&zr(Wn)),n!==null?(r=Xs(),r!==null?(i=_s(),i!==null?(Mr=t,n=it(i),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o)):(Or=t,t=o),t===null&&(t=Ps()),Br--,t===null&&(n=null,Br===0&&zr(nr)),t}function Ps(){var e,t,n;return e=Or,t=_s(),t!==null?(Mr=Or,n=rr(t),n?n=u:n=o,n!==null?(Mr=e,t=ir(t),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Hs(){var t;return Qn.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Gn)),t===null&&(t=Bs()),t}function Bs(){var t,n,r,i;return t=Or,e.charCodeAt(Or)===58?(n=sr,Or++):(n=null,Br===0&&zr(or)),n!==null?(r=Or,Br++,e.charCodeAt(Or)===32?(i=M,Or++):(i=null,Br===0&&zr(_)),Br--,i===null?r=u:(Or=r,r=o),r!==null?(Mr=t,n=P(n),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function js(){var e,t,n;return Br++,e=Or,t=_s(),t!==null?(Mr=Or,n=ar(t),n?n=u:n=o,n!==null?(Mr=e,t=ir(t),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),Br--,e===null&&(t=null,Br===0&&zr(ur)),e}function Fs(){var e,t,n;return e=Or,t=Is(),t!==null?(n=Ws(),n!==null?(Mr=e,t=it(n),t===null?(Or=e,e=t):e=t):(Or=e,e=o)):(Or=e,e=o),e}function Is(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61423?(n=lr,Or++):(n=null,Br===0&&zr(cr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(fr)),t}function qs(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61438?(n=dr,Or++):(n=null,Br===0&&zr(vr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(pr)),t}function Rs(){var t,n;return Br++,t=Or,e.charCodeAt(Or)===61422?(n=gr,Or++):(n=null,Br===0&&zr(yr)),n!==null&&(Mr=t,n=hr()),n===null?(Or=t,t=n):t=n,Br--,t===null&&(n=null,Br===0&&zr(mr)),t}function Us(){var t,n,r;return Br++,t=Or,e.charCodeAt(Or)===61439?(n=wr,Or++):(n=null,Br===0&&zr(Er)),n!==null?(e.charCodeAt(Or)===10?(r=Sr,Or++):(r=null,Br===0&&zr(xr)),r!==null?(Mr=t,n=wn(),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),Br--,t===null&&(n=null,Br===0&&zr(br)),t}function zs(){var e,t;return Br++,e=qs(),e===null&&(e=Rs()),Br--,e===null&&(t=null,Br===0&&zr(Tr)),e}function Ws(){var t,n,r;Br++,t=Or,n=[],r=Vs();if(r!==null)while(r!==null)n.push(r),r=Vs();else n=o;return n!==null&&(n=e.substring(t,Or)),t=n,Br--,t===null&&(n=null,Br===0&&zr(Nr)),t}function Xs(){var e,t;Br++,e=[],t=Vs();while(t!==null)e.push(t),t=Vs();return Br--,e===null&&(t=null,Br===0&&zr(Cr)),e}function Vs(){var t,n;return Br++,Lr.test(e.charAt(Or))?(t=e.charAt(Or),Or++):(t=null,Br===0&&zr(Ar)),Br--,t===null&&(n=null,Br===0&&zr(kr)),t}function $s(){var t,n,r;return t=Or,n=Or,Br++,r=Is(),r===null&&(r=qs(),r===null&&(r=Us())),Br--,r===null?n=u:(Or=n,n=o),n!==null?(e.length>Or?(r=e.charAt(Or),Or++):(r=null,Br===0&&zr(Jt)),r!==null?(Mr=t,n=P(r),n===null?(Or=t,t=n):t=n):(Or=t,t=o)):(Or=t,t=o),t}function Js(){var t,n,r;t=Or,n=[],r=$s();while(r!==null)n.push(r),r=$s();return n!==null&&(n=e.substring(t,Or)),t=n,t}function to(e,t,n){var r=e.hash;if(n){r=r||new Gs.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 Gs.IdNode([t])),new Gs.MustacheNode(s,r,!e.escaped)}function no(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 ro(e){Ks.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Xr},s=Xr,o=null,u="",a=function(e){return e},f=function(e,t){return new Gs.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 Gs.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new Gs.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new Gs.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new Gs.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!Qs||!n.match(/[A-Z]/)?e:(e.mustache=to(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Qs||!n.match(/[A-Z]/)?e:to(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 Gs.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 Gs.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new Gs.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
2
- Gs.PartialNameNode(t.string);return new Gs.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 Gs.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new Gs.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new Gs.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?to(h,"unbound"):p==="?"?to(h,"if"):p==="^"?to(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 Gs.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 Gs.IdNode(e);return i._emblemSuffixModifier=r,i},pt=function(e){return new Gs.StringNode(e)},dt=function(e){return new Gs.IntegerNode(e)},vt=function(e){return new Gs.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 Gs.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new Gs.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 Gs.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new Gs.ContentNode(" ")),i},zt=function(e,t){return no(e,t)},Wt=function(e,t){return no(e,t)},Xt=function(e){return e.escaped=!0,e},Vt=function(e){return e.escaped=!1,e},$t=function(e){return new Gs.ContentNode(e)},Jt="any character",Kt="SingleMustacheOpen",Qt="{",Gt='"{"',Yt="DoubleMustacheOpen",Zt="{{",en='"{{"',tn="TripleMustacheOpen",nn="{{{",rn='"{{{"',sn="SingleMustacheClose",on="}",un='"}"',an="DoubleMustacheClose",fn="}}",ln='"}}"',cn="TripleMustacheClose",hn="}}}",pn='"}}}"',dn="InterpolationOpen",vn="#{",mn='"#{"',gn="InterpolationClose",yn="==",bn='"=="',wn=function(){return!1},En=function(){return!0},Sn=function(e,t){return e||t},xn=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new Gs.ContentNode("<"+r)),s&&u.push(new Gs.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new Gs.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new Gs.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);return Ys[r]?(u.push(new Gs.ContentNode(" />")),[u]):(u.push(new Gs.ContentNode(">")),[u,new Gs.ContentNode("</"+r+">")])},Tn=function(e){return{shorthand:e,id:!0}},Nn=function(e){return{shorthand:e}},Cn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},kn=function(e){return[new Gs.ContentNode(" ")].concat(e)},Ln=/^[A-Za-z.0-9_\-]/,An="[A-Za-z.0-9_\\-]",On=function(e){return new Gs.MustacheNode([e])},Mn=function(e,t){return[to(t,"action",[["on",new Gs.StringNode(e)]])]},_n=function(e){return e.replace(/ *$/,"")},Dn="!",Pn='"!"',Hn=function(e,t){return Qs},Bn=function(e,t){var n=new Gs.HashNode([[e,new Gs.StringNode(t)]]),r=[new Gs.IdNode(["bindAttr"])],i=new Gs.MustacheNode(r,n);return[i]},jn=function(e,t){var n=new Gs.MustacheNode([t]);return Qs&&t._emblemSuffixModifier==="!"&&(n=to(n,"unbound")),[new Gs.ContentNode(e+"="+'"'),n,new Gs.ContentNode('"')]},Fn=function(e,t){var n=[new Gs.ContentNode(e+"="+'"')].concat(t);return n.concat([new Gs.ContentNode('"')])},In="_",qn='"_"',Rn="-",Un='"-"',zn="%",Wn='"%"',Xn="#",Vn='"#"',$n=function(e){return e},Jn="CSSIdentifier",Kn=function(e,t){return e+t},Qn=/^[_a-zA-Z0-9\-]/,Gn="[_a-zA-Z0-9\\-]",Yn=/^[_a-zA-Z]/,Zn="[_a-zA-Z]",er=/^[\x80-\xFF]/,tr="[\\x80-\\xFF]",nr="KnownHTMLTagName",rr=function(e){return!!Zs[e]},ir=function(e){return e},sr=":",or='":"',ur="a JS event",ar=function(e){return!!eo[e]},fr="INDENT",lr="",cr='"\\uEFEF"',hr=function(){return""},pr="DEDENT",dr="",vr='"\\uEFFE"',mr="Unmatched DEDENT",gr="",yr='"\\uEFEE"',br="LineEnd",wr="",Er='"\\uEFFF"',Sr="\n",xr='"\\n"',Tr="ANYDEDENT",Nr="RequiredWhitespace",Cr="OptionalWhitespace",kr="InlineWhitespace",Lr=/^[ \t]/,Ar="[ \\t]",Or=0,Mr=0,_r=0,Dr={line:1,column:1,seenCR:!1},Pr=0,Hr=[],Br=0,jr;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var Ks=n.handlebarsVariant,Qs=Ks.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",Gs=Ks.AST,Ys={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},Zs={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},eo={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};jr=s();if(jr!==null&&Or===e.length)return jr;throw Wr(Hr),Mr=Math.max(Or,Pr),new t(Hr,Mr<e.length?e.charAt(Mr):null,Mr,Ur(Mr).line,Ur(Mr).column)}return e(t,Error),{SyntaxError:t,parse:r}}();var n;n.throwCompileError=function(e,t){throw new Error("Emblem syntax error, line "+e+": "+t)},n.registerPartial=function(e,t,r){return r||(r=t,t=e,e=Handlebars),e.registerPartial(t,n.compile(e,r))},n.parse=function(e){var t,r,i,s;try{return s=n.Preprocessor.processSync(e),n.Parser.parse(s)}catch(o){if(o instanceof n.Parser.SyntaxError)return r=e.split("\n"),t=r[o.line-1],i=""+o.message+"\n"+t+"\n",i+=(new Array(o.column)).join("-"),i+="^",n.throwCompileError(o.line,i);throw o}},n.precompile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.precompile(i,r)},n.compile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.compile(i,r)};var n,r,t;n.Preprocessor=r=function(){function l(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(e){throw new Error("Unexpected "+e)},this.output="",this.context.observe=function(t){var n;n=this.peek();switch(t){case r:this.push(t);break;case e:n!==r&&this.err(t),this.pop();break;case"\n":n!=="/"&&this.err(t),this.pop();break;case"/":this.push(t);break;case"end-\\":n!=="\\"&&this.err(t),this.pop();break;default:throw new Error("undefined token observed: "+t)}return this},this.StringScanner?this.ss=new this.StringScanner(""):n.StringScanner?this.ss=new n.StringScanner(""):this.ss=new t("")}var e,r,i,s,o,u,a,f;return f="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",r="",e="",s="",i="",o=RegExp("["+f+"\\n]*$"),u=RegExp("(?:["+f+"]*\\n)+"),l.prototype.p=function(e){return e&&(this.output+=e),e},l.prototype.scan=function(e){return this.p(this.ss.scan(e))},l.prototype.discard=function(e){return this.ss.scan(e)},a=function(t){return function(n){var a,l,c,h;t||(this.ss.concat(n),this.discard(u));while(!this.ss.eos())switch(this.context.peek()){case null:case r:if(this.ss.bol()||this.discard(u)){if(this.discard(RegExp("["+f+"]*\\n"))){this.p(""+i+"\n");continue}if(this.base!=null){if(this.discard(this.base)==null)throw new Error("inconsistent base indentation")}else a=this.discard(RegExp("["+f+"]*")),this.base=RegExp(""+a);if(this.indents.length===0)this.ss.check(RegExp("["+f+"]+"))&&(this.p(r),this.context.observe(r),this.indents.push(this.scan(RegExp("(["+f+"]+)"))));else{c=this.indents[this.indents.length-1];if(l=this.ss.check(RegExp("("+c+")")))this.discard(l),this.ss.check(RegExp("(["+f+"]+)"))&&(this.p(r),this.context.observe(r),this.indents.push(l+this.scan(RegExp("(["+f+"]+)"))));else{while(this.indents.length){c=this.indents[this.indents.length-1];if(this.discard(RegExp("(?:"+c+")")))break;this.context.observe(e),this.p(e),this.indents.pop()}if(h=this.discard(RegExp("["+f+"]+")))this.output=this.output.slice(0,-1),this.output+=s,this.p(r),this.context.observe(r),this.indents.push(h)}}}this.scan(/[^\n\\]+/),this.discard(/\n/)&&this.p(""+i+"\n")}if(t){this.scan(o);while(this.context.length&&r===this.context.peek())this.context.observe(e),this.p(e);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},l.prototype.processData=a(!1),l.prototype.processEnd=a(!0),l.processSync=function(e){var t;return e+="\n",t=new l,t.processData(e),t.processEnd(),t.output},l}();var i,n,s;n.compileScriptTags=function(){if(typeof Ember=="undefined"||Ember===null)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");if(typeof document!="undefined"&&document!==null)return Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var e,t,r;return t=Ember.$(this),e=t.attr("type")==="text/x-raw-handlebars"?Handlebars:Ember.Handlebars,r=t.attr("data-template-name")||t.attr("id")||"application",Ember.TEMPLATES[r]=n.compile(e,t.html()),t.remove()})},this.ENV||(this.ENV={}),i=this.ENV,i.EMBER_LOAD_HOOKS||(i.EMBER_LOAD_HOOKS={}),(s=i.EMBER_LOAD_HOOKS).application||(s.application=[]),i.EMBER_LOAD_HOOKS.application.push(function(){return n.compileScriptTags()}),e.Emblem=n})(this);
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.2",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 jr(){return e.substring(Or,Ar)}function Fr(){return Or}function Ir(){return Rr(Or).line}function qr(){return Rr(Or).column}function Rr(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 Mr!==t&&(Mr>t&&(Mr=0,_r={line:1,column:1,seenCR:!1}),Mr=t,n(_r,Mr)),_r}function Ur(e){if(Ar<Dr)return;Ar>Dr&&(Dr=Ar,Pr=[]),Pr.push(e)}function zr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Wr(){var e;return e=Xr(),e}function Xr(){var e,t,n,r,i,s,l,c,h;return e=Ar,t=$r(),t!==null?(n=Ar,r=Is(),r!==null?(i=Vr(),i!==null?(s=Ws(),s!==null?(l=Rs(),l!==null?(c=js(),c!==null?(h=$r(),h!==null?(Or=n,r=a(h),r===null?(Ar=n,n=r):n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=u),n!==null?(Or=e,t=f(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function Vr(){var t,n,r,i;return t=Ar,n=Ar,e.charCodeAt(Ar)===61?(r=l,Ar++):(r=null,Hr===0&&Ur(c)),r!==null?(i=Ws(),i!==null?(r=[r,i],n=r):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=u),n!==null?(e.substr(Ar,4)===h?(r=h,Ar+=4):(r=null,Hr===0&&Ur(p)),r!==null?(n=[n,r],t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function $r(){var e,t,n;e=Ar,t=[],n=Jr();while(n!==null)t.push(n),n=Jr();return t!==null&&(Or=e,t=v(t)),t===null?(Ar=e,e=t):e=t,e}function Jr(){var e,t;return Hr++,e=Qr(),e===null&&(e=ti(),e===null&&(e=Kr())),Hr--,e===null&&(t=null,Hr===0&&Ur(m)),e}function Kr(){var e,t;return Hr++,e=Gr(),e===null&&(e=ui(),e===null&&(e=ji(),e===null&&(e=Zr()))),Hr--,e===null&&(t=null,Hr===0&&Ur(g)),e}function Qr(){var e,t,n;return e=Ar,t=Ws(),t!==null?(n=Rs(),n!==null?(Or=e,t=y(),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function Gr(){var t,n,r,i,s,u,a,f;t=Ar,e.charCodeAt(Ar)===62?(n=b,Ar++):(n=null,Hr===0&&Ur(w));if(n!==null){r=Ws();if(r!==null){i=Yr();if(i!==null){s=Ws();if(s!==null){u=[],a=gi();while(a!==null)u.push(a),a=gi();u!==null?(a=Ws(),a!==null?(f=Rs(),f!==null?(Or=t,n=E(i,u),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o)}else Ar=t,t=o}else Ar=t,t=o}else Ar=t,t=o}else Ar=t,t=o;return t}function Yr(){var t,n,r,i;t=Ar,n=Ar,r=[],S.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(x));else r=o;return r!==null&&(r=e.substring(n,Ar)),n=r,n!==null&&(Or=t,n=T(n)),n===null?(Ar=t,t=n):t=n,t}function Zr(){var e,t;return e=Ar,t=ci(),t===null&&(t=ni()),t!==null&&(Or=e,t=N(t)),t===null?(Ar=e,e=t):e=t,e}function ei(){var e,t,n,r,i,s,u,a;e=Ar,t=$s();if(t!==null){n=Rs();if(n!==null){r=[],i=Ar,s=js();if(s!==null){u=[],a=ei();if(a!==null)while(a!==null)u.push(a),a=ei();else u=o;u!==null?(a=Us(),a!==null?(s=[s,u,a],i=s):(Ar=i,i=o)):(Ar=i,i=o)}else Ar=i,i=o;while(i!==null){r.push(i),i=Ar,s=js();if(s!==null){u=[],a=ei();if(a!==null)while(a!==null)u.push(a),a=ei();else u=o;u!==null?(a=Us(),a!==null?(s=[s,u,a],i=s):(Ar=i,i=o)):(Ar=i,i=o)}else Ar=i,i=o}r!==null?(Or=e,t=y(),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o}else Ar=e,e=o;return e}function ti(){var t,n,r;return t=Ar,e.charCodeAt(Ar)===47?(n=C,Ar++):(n=null,Hr===0&&Ur(k)),n!==null?(r=ei(),r!==null?(Or=t,n=y(),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function ni(){var e;return e=ri(),e===null&&(e=ai()),e}function ri(){var t,n,r;return t=Ar,n=Ar,Hr++,L.test(e.charAt(Ar))?(r=e.charAt(Ar),Ar++):(r=null,Hr===0&&Ur(A)),Hr--,r!==null?(Ar=n,n=u):n=o,n!==null?(r=ai(),r!==null?(Or=t,n=O(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function ii(){var t,n,r,i,s,a,f;t=Ar,e.charCodeAt(Ar)===32?(n=M,Ar++):(n=null,Hr===0&&Ur(_));if(n!==null){r=Fi();if(r!==null){i=Ar,s=js();if(s!==null){a=[],f=Hi();if(f!==null)while(f!==null)a.push(f),f=Hi();else a=o;a!==null?(f=Is(),f!==null?(s=[s,a,f],i=s):(Ar=i,i=o)):(Ar=i,i=o)}else Ar=i,i=o;i===null&&(i=u),i!==null?(Or=t,n=D(r,i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)}else Ar=t,t=o}else Ar=t,t=o;return t}function si(){var e,t,n,r,i;e=Ar,t=[],n=Qr();while(n!==null)t.push(n),n=Qr();return t!==null?(n=js(),n!==null?(r=$r(),r!==null?(i=Is(),i!==null?(Or=e,t=P(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e}function oi(){var e,t,n,r;return e=fi(),e===null&&(e=Ar,t=Ws(),t!==null?(n=ci(),n!==null?(Or=e,t=H(n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e===null&&(e=Ar,t=Ws(),t!==null?(n=Rs(),n!==null?(r=si(),r===null&&(r=u),r!==null?(Or=e,t=P(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e===null&&(e=ii()))),e}function ui(){var e,t,n;return e=Ar,t=ls(),t!==null?(n=oi(),n!==null?(Or=e,t=B(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function ai(){var e,t,n,r;return e=Ar,t=hi(),t!==null?(n=Ws(),n!==null?(r=li(),r!==null?(Or=e,t=j(t,r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e}function Xr(){var e,t,n,r,i,s,l,c,h;return e=Ar,t=$r(),t!==null?(n=Ar,r=Is(),r!==null?(i=Vr(),i!==null?(s=Ws(),s!==null?(l=Rs(),l!==null?(c=js(),c!==null?(h=$r(),h!==null?(Or=n,r=a(h),r===null?(Ar=n,n=r):n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=u),n!==null?(Or=e,t=f(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function fi(){var t,n,r,i;return t=Ar,e.substr(Ar,2)===F?(n=F,Ar+=2):(n=null,Hr===0&&Ur(I)),n!==null?(r=Ws(),r!==null?(i=Kr(),i!==null?(Or=t,n=P(i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t}function li(){var e,t,n,r,i,s,a;e=Ar,t=fi(),t===null&&(t=ji()),t!==null&&(Or=e,t=q(t)),t===null?(Ar=e,e=t):e=t;if(e===null){e=Ar,t=Rs();if(t!==null){n=Ar,r=[],i=Qr();while(i!==null)r.push(i),i=Qr();r!==null?(i=js(),i!==null?(s=Xr(),s!==null?(a=Is(),a!==null?(r=[r,i,s,a],n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=u),n!==null?(Or=e,t=R(n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o}return e}function ci(){var e,t,n;return e=Ar,t=as(),t!==null?(n=ai(),n!==null?(Or=e,t=U(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function hi(){var t,n,r,i,s,a;t=Ar,e.charCodeAt(Ar)===62?(n=b,Ar++):(n=null,Hr===0&&Ur(w)),n===null&&(n=u);if(n!==null){r=Ws();if(r!==null){i=Ni();if(i!==null){s=[],a=gi();while(a!==null)s.push(a),a=gi();s!==null?(a=yi(),a===null&&(a=u),a!==null?(Or=t,n=z(n,i,s,a),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)}else Ar=t,t=o}else Ar=t,t=o}else Ar=t,t=o;return t}function pi(){var e,t;return e=Ar,t=xs(),t!==null&&(Or=e,t=W(t)),t===null?(Ar=e,e=t):e=t,e===null&&(e=Ar,t=Ts(),t!==null&&(Or=e,t=X(t)),t===null?(Ar=e,e=t):e=t,e===null&&(e=Ar,t=Ns(),t!==null&&(Or=e,t=V(t)),t===null?(Ar=e,e=t):e=t)),e}function di(){var e;return e=vi(),e===null&&(e=mi()),e}function vi(){var e,t,n,r;e=Ar,t=Ts();if(t!==null){n=[],r=Ns();while(r!==null)n.push(r),r=Ns();n!==null?(Or=e,t=$(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o;return e}function mi(){var e,t,n;e=Ar,t=[],n=Ns();if(n!==null)while(n!==null)t.push(n),n=Ns();else t=o;return t!==null&&(Or=e,t=J(t)),t===null?(Ar=e,e=t):e=t,e}function gi(){var e,t,n;return e=Ar,t=Ws(),t!==null?(n=pi(),n===null&&(n=Si()),n!==null?(Or=e,t=K(n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function yi(){var e,t,n;e=Ar,t=[],n=Ei();if(n!==null)while(n!==null)t.push(n),n=Ei();else t=o;return t!==null&&(Or=e,t=Q(t)),t===null?(Ar=e,e=t):e=t,e}function bi(){var t,n,r,i;Hr++,e.substr(Ar,2)===Y?(t=Y,Ar+=2):(t=null,Hr===0&&Ur(Z));if(t===null){e.charCodeAt(Ar)===46?(t=et,Ar++):(t=null,Hr===0&&Ur(tt));if(t===null){t=Ar,n=Ar,r=[],nt.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(rt));else r=o;r!==null&&(r=e.substring(n,Ar)),n=r,n!==null?(r=Ar,Hr++,e.charCodeAt(Ar)===61?(i=l,Ar++):(i=null,Hr===0&&Ur(c)),Hr--,i===null?r=u:(Ar=r,r=o),r!==null?(Or=t,n=it(n),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)}}return Hr--,t===null&&(n=null,Hr===0&&Ur(G)),t}function wi(){var e,t;return Hr++,e=ks(),Hr--,e===null&&(t=null,Hr===0&&Ur(st)),e}function Ei(){var t,n,r,i,s,u;return t=Ar,n=Ws(),n!==null?(r=Ar,i=wi(),i!==null?(e.charCodeAt(Ar)===61?(s=l,Ar++):(s=null,Hr===0&&Ur(c)),s!==null?(u=Li(),u!==null?(i=[i,s,u],r=i):(Ar=r,r=o)):(Ar=r,r=o)):(Ar=r,r=o),r===null&&(r=Ar,i=wi(),i!==null?(e.charCodeAt(Ar)===61?(s=l,Ar++):(s=null,Hr===0&&Ur(c)),s!==null?(u=ki(),u!==null?(i=[i,s,u],r=i):(Ar=r,r=o)):(Ar=r,r=o)):(Ar=r,r=o),r===null&&(r=Ar,i=wi(),i!==null?(e.charCodeAt(Ar)===61?(s=l,Ar++):(s=null,Hr===0&&Ur(c)),s!==null?(u=Ni(),u!==null?(i=[i,s,u],r=i):(Ar=r,r=o)):(Ar=r,r=o)):(Ar=r,r=o),r===null&&(r=Ar,i=wi(),i!==null?(e.charCodeAt(Ar)===61?(s=l,Ar++):(s=null,Hr===0&&Ur(c)),s!==null?(u=Ci(),u!==null?(i=[i,s,u],r=i):(Ar=r,r=o)):(Ar=r,r=o)):(Ar=r,r=o)))),r!==null?(Or=t,n=ot(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Si(){var e;return e=Ni(),e===null&&(e=Ci(),e===null&&(e=ki(),e===null&&(e=Li()))),e}function xi(){var e,t,n,r,i,s;e=Ar,t=bi();if(t!==null){n=[],r=Ar,i=Ti(),i!==null?(s=bi(),s!==null?(Or=r,i=ut(s),i===null?(Ar=r,r=i):r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ti(),i!==null?(s=bi(),s!==null?(Or=r,i=ut(s),i===null?(Ar=r,r=i):r=i):(Ar=r,r=o)):(Ar=r,r=o);n!==null?(Or=e,t=at(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o;return e}function Ti(){var t,n;return Hr++,lt.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(ct)),Hr--,t===null&&(n=null,Hr===0&&Ur(ft)),t}function Ni(){var e,t;return e=Ar,t=xi(),t!==null&&(Or=e,t=ht(t)),t===null?(Ar=e,e=t):e=t,e}function Ci(){var e,t;return e=Ar,t=Mi(),t!==null&&(Or=e,t=pt(t)),t===null?(Ar=e,e=t):e=t,e}function ki(){var e,t;return e=Ar,t=Oi(),t!==null&&(Or=e,t=dt(t)),t===null?(Ar=e,e=t):e=t,e}function Li(){var e,t;return e=Ar,t=Ai(),t!==null&&(Or=e,t=vt(t)),t===null?(Ar=e,e=t):e=t,e}function Ai(){var t,n;return Hr++,e.substr(Ar,4)===gt?(t=gt,Ar+=4):(t=null,Hr===0&&Ur(yt)),t===null&&(e.substr(Ar,5)===bt?(t=bt,Ar+=5):(t=null,Hr===0&&Ur(wt))),Hr--,t===null&&(n=null,Hr===0&&Ur(mt)),t}function Oi(){var t,n,r,i;Hr++,t=Ar,n=Ar,r=[],St.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(xt));if(i!==null)while(i!==null)r.push(i),St.test(e.charAt(Ar))?(i=e.charAt(Ar),Ar++):(i=null,Hr===0&&Ur(xt));else r=o;return r!==null&&(r=e.substring(n,Ar)),n=r,n!==null&&(Or=t,n=Tt(n)),n===null?(Ar=t,t=n):t=n,Hr--,t===null&&(n=null,Hr===0&&Ur(Et)),t}function Mi(){var t,n,r,i,s;return t=Ar,n=Ar,e.charCodeAt(Ar)===34?(r=Nt,Ar++):(r=null,Hr===0&&Ur(Ct)),r!==null?(i=_i(),i!==null?(e.charCodeAt(Ar)===34?(s=Nt,Ar++):(s=null,Hr===0&&Ur(Ct)),s!==null?(r=[r,i,s],n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=Ar,e.charCodeAt(Ar)===39?(r=kt,Ar++):(r=null,Hr===0&&Ur(Lt)),r!==null?(i=Di(),i!==null?(e.charCodeAt(Ar)===39?(s=kt,Ar++):(s=null,Hr===0&&Ur(Lt)),s!==null?(r=[r,i,s],n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)),n!==null&&(Or=t,n=At(n)),n===null?(Ar=t,t=n):t=n,t}function _i(){var t,n,r,i,s;t=Ar,n=[],r=Ar,i=Ar,Hr++,s=Rs(),Hr--,s===null?i=u:(Ar=i,i=o),i!==null?(Ot.test(e.charAt(Ar))?(s=e.charAt(Ar),Ar++):(s=null,Hr===0&&Ur(Mt)),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ar,Hr++,s=Rs(),Hr--,s===null?i=u:(Ar=i,i=o),i!==null?(Ot.test(e.charAt(Ar))?(s=e.charAt(Ar),Ar++):(s=null,Hr===0&&Ur(Mt)),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);return n!==null&&(n=e.substring(t,Ar)),t=n,t}function Di(){var t,n,r,i,s;t=Ar,n=[],r=Ar,i=Ar,Hr++,s=Rs(),Hr--,s===null?i=u:(Ar=i,i=o),i!==null?(_t.test(e.charAt(Ar))?(s=e.charAt(Ar),Ar++):(s=null,Hr===0&&Ur(Dt)),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ar,Hr++,s=Rs(),Hr--,s===null?i=u:(Ar=i,i=o),i!==null?(_t.test(e.charAt(Ar))?(s=e.charAt(Ar),Ar++):(s=null,Hr===0&&Ur(Dt)),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);return n!==null&&(n=e.substring(t,Ar)),t=n,t}function Pi(){var t;return Pt.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(Ht)),t}function Hi(){var e,t,n,r,i;e=Ar,t=js();if(t!==null){n=Fi();if(n!==null){r=[],i=Hi();while(i!==null)r.push(i),i=Hi();r!==null?(i=Us(),i!==null?(Or=e,t=Bt(t,n,r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)}else Ar=e,e=o}else Ar=e,e=o;return e===null&&(e=Fi()),e}function Bi(){var t,n,r;return t=Ar,jt.test(e.charAt(Ar))?(n=e.charAt(Ar),Ar++):(n=null,Hr===0&&Ur(Ft)),n!==null?(e.charCodeAt(Ar)===32?(r=M,Ar++):(r=null,Hr===0&&Ur(_)),r===null&&(r=u),r!==null?(Or=t,n=it(n),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t===null&&(t=Ar,n=Ar,Hr++,e.charCodeAt(Ar)===60?(r=It,Ar++):(r=null,Hr===0&&Ur(qt)),Hr--,r!==null?(Ar=n,n=u):n=o,n!==null&&(Or=t,n=Rt()),n===null?(Ar=t,t=n):t=n),t}function ji(){var e,t,n,r,i,s,a;e=Ar,t=Bi();if(t!==null){n=Fi();if(n!==null){r=Ar,i=js();if(i!==null){s=[],a=Hi();while(a!==null)s.push(a),a=Hi();s!==null?(a=Is(),a!==null?(i=[i,s,a],r=i):(Ar=r,r=o)):(Ar=r,r=o)}else Ar=r,r=o;r===null&&(r=u),r!==null?(Or=e,t=Ut(t,n,r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o}else Ar=e,e=o;return e}function Fi(){var e,t,n,r,i,s;e=Ar,t=Ki(),t===null&&(t=u);if(t!==null){n=[],r=Ar,i=Ui(),i!==null?(s=Ki(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ui(),i!==null?(s=Ki(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);n!==null?(r=Rs(),r!==null?(Or=e,t=zt(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)}else Ar=e,e=o;return e}function Ii(){var t,n,r,i;return t=Ar,e.charCodeAt(Ar)===34?(n=Nt,Ar++):(n=null,Hr===0&&Ur(Ct)),n!==null?(r=qi(),r!==null?(e.charCodeAt(Ar)===34?(i=Nt,Ar++):(i=null,Hr===0&&Ur(Ct)),i!==null?(Or=t,n=K(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t===null&&(t=Ar,e.charCodeAt(Ar)===39?(n=kt,Ar++):(n=null,Hr===0&&Ur(Lt)),n!==null?(r=Ri(),r!==null?(e.charCodeAt(Ar)===39?(i=kt,Ar++):(i=null,Hr===0&&Ur(Lt)),i!==null?(Or=t,n=K(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o)),t}function qi(){var e,t,n,r,i,s;e=Ar,t=Xi(),t===null&&(t=u);if(t!==null){n=[],r=Ar,i=Ui(),i!==null?(s=Xi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ui(),i!==null?(s=Xi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);n!==null?(Or=e,t=Wt(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o;return e}function Ri(){var e,t,n,r,i,s;e=Ar,t=Vi(),t===null&&(t=u);if(t!==null){n=[],r=Ar,i=Ui(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);while(r!==null)n.push(r),r=Ar,i=Ui(),i!==null?(s=Vi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Ar=r,r=o)):(Ar=r,r=o);n!==null?(Or=e,t=Wt(t,n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o;return e}function Ui(){var e;return e=Wi(),e===null&&(e=zi()),e}function zi(){var e,t,n,r,i,s;return e=Ar,t=ts(),t!==null?(n=Ws(),n!==null?(r=hi(),r!==null?(i=Ws(),i!==null?(s=is(),s!==null?(Or=e,t=Xt(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e===null&&(e=Ar,t=os(),t!==null?(n=Ws(),n!==null?(r=hi(),r!==null?(i=Ws(),i!==null?(s=us(),s!==null?(Or=e,t=Xt(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)),e}function Wi(){var e,t,n,r,i,s;return e=Ar,t=ns(),t!==null?(n=Ws(),n!==null?(r=hi(),r!==null?(i=Ws(),i!==null?(s=ss(),s!==null?(Or=e,t=Vt(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e}function Xi(){var t,n,r,i;t=Ar,n=Ar,r=[],i=$i();if(i!==null)while(i!==null)r.push(i),i=$i();else r=o;return r!==null&&(r=e.substring(n,Ar)),n=r,n!==null&&(Or=t,n=$t(n)),n===null?(Ar=t,t=n):t=n,t}function Vi(){var t,n,r,i;t=Ar,n=Ar,r=[],i=Ji();if(i!==null)while(i!==null)r.push(i),i=Ji();else r=o;return r!==null&&(r=e.substring(n,Ar)),n=r,n!==null&&(Or=t,n=$t(n)),n===null?(Ar=t,t=n):t=n,t}function $i(){var t,n,r;return t=Ar,n=Ar,Hr++,r=Gi(),r===null&&(e.charCodeAt(Ar)===34?(r=Nt,Ar++):(r=null,Hr===0&&Ur(Ct))),Hr--,r===null?n=u:(Ar=n,n=o),n!==null?(e.length>Ar?(r=e.charAt(Ar),Ar++):(r=null,Hr===0&&Ur(Jt)),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Ji(){var t,n,r;return t=Ar,n=Ar,Hr++,r=Gi(),r===null&&(e.charCodeAt(Ar)===39?(r=kt,Ar++):(r=null,Hr===0&&Ur(Lt))),Hr--,r===null?n=u:(Ar=n,n=o),n!==null?(e.length>Ar?(r=e.charAt(Ar),Ar++):(r=null,Hr===0&&Ur(Jt)),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Ki(){var t,n,r,i;t=Ar,n=Ar,r=[],i=Qi();if(i!==null)while(i!==null)r.push(i),i=Qi();else r=o;return r!==null&&(r=e.substring(n,Ar)),n=r,n!==null&&(Or=t,n=$t(n)),n===null?(Ar=t,t=n):t=n,t}function Qi(){var t,n,r;return t=Ar,n=Ar,Hr++,r=Gi(),Hr--,r===null?n=u:(Ar=n,n=o),n!==null?(e.length>Ar?(r=e.charAt(Ar),Ar++):(r=null,Hr===0&&Ur(Jt)),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Gi(){var e;return e=ns(),e===null&&(e=ts(),e===null&&(e=os(),e===null&&(e=Us(),e===null&&(e=Rs())))),e}function Yi(){var e,t,n,r,i,s;return e=Ar,t=es(),t!==null?(n=Ws(),n!==null?(r=hi(),r!==null?(i=Ws(),i!==null?(s=rs(),s!==null?(Or=e,t=Xt(r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e}function Zi(){var e;return e=Yi(),e===null&&(e=Wi(),e===null&&(e=zi())),e}function es(){var t,n;return Hr++,e.charCodeAt(Ar)===123?(t=Qt,Ar++):(t=null,Hr===0&&Ur(Gt)),Hr--,t===null&&(n=null,Hr===0&&Ur(Kt)),t}function ts(){var t,n;return Hr++,e.substr(Ar,2)===Zt?(t=Zt,Ar+=2):(t=null,Hr===0&&Ur(en)),Hr--,t===null&&(n=null,Hr===0&&Ur(Yt)),t}function ns(){var t,n;return Hr++,e.substr(Ar,3)===nn?(t=nn,Ar+=3):(t=null,Hr===0&&Ur(rn)),Hr--,t===null&&(n=null,Hr===0&&Ur(tn)),t}function rs(){var t,n;return Hr++,e.charCodeAt(Ar)===125?(t=on,Ar++):(t=null,Hr===0&&Ur(un)),Hr--,t===null&&(n=null,Hr===0&&Ur(sn)),t}function is(){var t,n;return Hr++,e.substr(Ar,2)===fn?(t=fn,Ar+=2):(t=null,Hr===0&&Ur(ln)),Hr--,t===null&&(n=null,Hr===0&&Ur(an)),t}function ss(){var t,n;return Hr++,e.substr(Ar,3)===hn?(t=hn,Ar+=3):(t=null,Hr===0&&Ur(pn)),Hr--,t===null&&(n=null,Hr===0&&Ur(cn)),t}function os(){var t,n;return Hr++,e.substr(Ar,2)===vn?(t=vn,Ar+=2):(t=null,Hr===0&&Ur(mn)),Hr--,t===null&&(n=null,Hr===0&&Ur(dn)),t}function us(){var t,n;return Hr++,e.charCodeAt(Ar)===125?(t=on,Ar++):(t=null,Hr===0&&Ur(un)),Hr--,t===null&&(n=null,Hr===0&&Ur(gn)),t}function as(){var t,n,r;return t=Ar,e.substr(Ar,2)===yn?(n=yn,Ar+=2):(n=null,Hr===0&&Ur(bn)),n!==null?(e.charCodeAt(Ar)===32?(r=M,Ar++):(r=null,Hr===0&&Ur(_)),r===null&&(r=u),r!==null?(Or=t,n=wn(),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t===null&&(t=Ar,e.charCodeAt(Ar)===61?(n=l,Ar++):(n=null,Hr===0&&Ur(c)),n!==null?(e.charCodeAt(Ar)===32?(r=M,Ar++):(r=null,Hr===0&&Ur(_)),r===null&&(r=u),r!==null?(Or=t,n=En(),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)),t}function fs(){var e,t,n,r;return e=Ar,t=_s(),t===null&&(t=u),t!==null?(n=di(),n===null&&(n=u),n!==null?(Or=Ar,r=Sn(t,n),r?r=u:r=o,r!==null?(t=[t,n,r],e=t):(Ar=e,e=o)):(Ar=e,e=o)):(Ar=e,e=o),e}function ls(){var e,t,n,r,i;e=Ar,t=fs();if(t!==null){n=[],r=Zi();while(r!==null)n.push(r),r=Zi();if(n!==null){r=[],i=cs();while(i!==null)r.push(i),i=cs();r!==null?(Or=e,t=xn(t,n,r),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)}else Ar=e,e=o}else Ar=e,e=o;return e}function di(){var e,t,n,r;e=Ar,t=[],n=Ar,r=Ts(),r!==null&&(Or=n,r=Tn(r)),r===null?(Ar=n,n=r):n=r,n===null&&(n=Ar,r=Ns(),r!==null&&(Or=n,r=Nn(r)),r===null?(Ar=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Ar,r=Ts(),r!==null&&(Or=n,r=Tn(r)),r===null?(Ar=n,n=r):n=r,n===null&&(n=Ar,r=Ns(),r!==null&&(Or=n,r=Nn(r)),r===null?(Ar=n,n=r):n=r);else t=o;return t!==null&&(Or=e,t=Cn(t)),t===null?(Ar=e,e=t):e=t,e}function cs(){var t,n,r;t=Ar,n=[],e.charCodeAt(Ar)===32?(r=M,Ar++):(r=null,Hr===0&&Ur(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Ar)===32?(r=M,Ar++):(r=null,Hr===0&&Ur(_));else n=o;return n!==null?(r=vs(),r===null&&(r=gs(),r===null&&(r=ys(),r===null&&(r=bs()))),r!==null?(Or=t,n=kn(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function hs(){var t;return Ln.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(An)),t===null&&(t=Hs()),t}function ps(){var e,t;return e=ds(),e===null&&(e=Ar,t=Ni(),t!==null&&(Or=e,t=On(t)),t===null?(Ar=e,e=t):e=t),e}function ds(){var t,n,r,i,s;return t=Ar,n=Ar,e.charCodeAt(Ar)===34?(r=Nt,Ar++):(r=null,Hr===0&&Ur(Ct)),r!==null?(i=hi(),i!==null?(e.charCodeAt(Ar)===34?(s=Nt,Ar++):(s=null,Hr===0&&Ur(Ct)),s!==null?(r=[r,i,s],n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o),n===null&&(n=Ar,e.charCodeAt(Ar)===39?(r=kt,Ar++):(r=null,Hr===0&&Ur(Lt)),r!==null?(i=hi(),i!==null?(e.charCodeAt(Ar)===39?(s=kt,Ar++):(s=null,Hr===0&&Ur(Lt)),s!==null?(r=[r,i,s],n=r):(Ar=n,n=o)):(Ar=n,n=o)):(Ar=n,n=o)),n!==null&&(Or=t,n=At(n)),n===null?(Ar=t,t=n):t=n,t}function vs(){var t,n,r,i;return t=Ar,n=Bs(),n!==null?(e.charCodeAt(Ar)===61?(r=l,Ar++):(r=null,Hr===0&&Ur(c)),r!==null?(i=ps(),i!==null?(Or=t,n=Mn(n,i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t}function ms(){var t,n,r,i,s,u;t=Ar,e.charCodeAt(Ar)===123?(n=Qt,Ar++):(n=null,Hr===0&&Ur(Gt));if(n!==null){r=Ws();if(r!==null){i=Ar,s=[],u=hs(),u===null&&(e.charCodeAt(Ar)===32?(u=M,Ar++):(u=null,Hr===0&&Ur(_)));if(u!==null)while(u!==null)s.push(u),u=hs(),u===null&&(e.charCodeAt(Ar)===32?(u=M,Ar++):(u=null,Hr===0&&Ur(_)));else s=o;s!==null&&(s=e.substring(i,Ar)),i=s,i!==null?(s=Ws(),s!==null?(e.charCodeAt(Ar)===125?(u=on,Ar++):(u=null,Hr===0&&Ur(un)),u!==null?(Or=t,n=_n(i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o)}else Ar=t,t=o}else Ar=t,t=o;if(t===null){t=Ar,n=[],r=hs();if(r!==null)while(r!==null)n.push(r),r=hs();else n=o;n!==null&&(n=e.substring(t,Ar)),t=n}return t}function gs(){var t,n,r,i,s,a;return t=Ar,n=wi(),n!==null?(e.charCodeAt(Ar)===61?(r=l,Ar++):(r=null,Hr===0&&Ur(c)),r!==null?(i=ms(),i!==null?(s=Ar,Hr++,e.charCodeAt(Ar)===33?(a=Dn,Ar++):(a=null,Hr===0&&Ur(Pn)),Hr--,a===null?s=u:(Ar=s,s=o),s!==null?(Or=Ar,a=Hn(n,i),a?a=u:a=o,a!==null?(Or=t,n=Bn(n,i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t}function ys(){var t,n,r,i;return t=Ar,n=wi(),n!==null?(e.charCodeAt(Ar)===61?(r=l,Ar++):(r=null,Hr===0&&Ur(c)),r!==null?(i=Ni(),i!==null?(Or=t,n=jn(n,i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t}function bs(){var t,n,r,i;return t=Ar,n=wi(),n!==null?(e.charCodeAt(Ar)===61?(r=l,Ar++):(r=null,Hr===0&&Ur(c)),r!==null?(i=Ii(),i!==null?(Or=t,n=Fn(n,i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t}function ws(){var t,n,r;t=Ar,n=[],r=Ss();while(r!==null)n.push(r),r=Ss();return n!==null&&(n=e.substring(t,Ar)),t=n,t}function Es(){var e;return e=Mi(),e===null&&(e=Si()),e}function Ss(){var t;return t=Pi(),t===null&&(St.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(xt)),t===null&&(e.charCodeAt(Ar)===95?(t=In,Ar++):(t=null,Hr===0&&Ur(qn)),t===null&&(e.charCodeAt(Ar)===45?(t=Rn,Ar++):(t=null,Hr===0&&Ur(Un))))),t}function xs(){var t,n,r;return t=Ar,e.charCodeAt(Ar)===37?(n=zn,Ar++):(n=null,Hr===0&&Ur(Wn)),n!==null?(r=Cs(),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Ts(){var t,n,r;return t=Ar,e.charCodeAt(Ar)===35?(n=Xn,Ar++):(n=null,Hr===0&&Ur(Vn)),n!==null?(r=Cs(),r!==null?(Or=t,n=$n(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Ns(){var t,n,r;return t=Ar,e.charCodeAt(Ar)===46?(n=et,Ar++):(n=null,Hr===0&&Ur(tt)),n!==null?(r=Cs(),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Cs(){var e,t;return Hr++,e=ks(),Hr--,e===null&&(t=null,Hr===0&&Ur(Jn)),e}function ks(){var t,n,r;t=Ar,n=[],r=Ls();while(r!==null)n.push(r),r=Ls();return n!==null&&(n=e.substring(t,Ar)),t=n,t}function Ls(){var t;return Kn.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(Qn)),t===null&&(t=Os()),t}function As(){var t;return Gn.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(Yn)),t===null&&(t=Os()),t}function Os(){var t;return Zn.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(er)),t}function Ms(){var t,n,r;t=Ar,n=[],r=Ps();if(r!==null)while(r!==null)n.push(r),r=Ps();else n=o;return n!==null&&(n=e.substring(t,Ar)),t=n,t}function _s(){var t,n,r,i;return Hr++,t=Ar,e.charCodeAt(Ar)===37?(n=zn,Ar++):(n=null,Hr===0&&Ur(Wn)),n!==null?(r=Ws(),r!==null?(i=Ms(),i!==null?(Or=t,n=it(i),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o)):(Ar=t,t=o),t===null&&(t=Ds()),Hr--,t===null&&(n=null,Hr===0&&Ur(tr)),t}function Ds(){var e,t,n;return e=Ar,t=Ms(),t!==null?(Or=Ar,n=nr(t),n?n=u:n=o,n!==null?(Or=e,t=rr(t),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function Ps(){var t;return Kn.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(Qn)),t===null&&(t=Hs()),t}function Hs(){var t,n,r,i;return t=Ar,e.charCodeAt(Ar)===58?(n=ir,Ar++):(n=null,Hr===0&&Ur(sr)),n!==null?(r=Ar,Hr++,e.charCodeAt(Ar)===32?(i=M,Ar++):(i=null,Hr===0&&Ur(_)),Hr--,i===null?r=u:(Ar=r,r=o),r!==null?(Or=t,n=P(n),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function Bs(){var e,t,n;return Hr++,e=Ar,t=Ms(),t!==null?(Or=Ar,n=ur(t),n?n=u:n=o,n!==null?(Or=e,t=rr(t),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),Hr--,e===null&&(t=null,Hr===0&&Ur(or)),e}function js(){var e,t,n;return e=Ar,t=Fs(),t!==null?(n=zs(),n!==null?(Or=e,t=it(n),t===null?(Ar=e,e=t):e=t):(Ar=e,e=o)):(Ar=e,e=o),e}function Fs(){var t,n;return Hr++,t=Ar,e.charCodeAt(Ar)===61423?(n=fr,Ar++):(n=null,Hr===0&&Ur(lr)),n!==null&&(Or=t,n=cr()),n===null?(Ar=t,t=n):t=n,Hr--,t===null&&(n=null,Hr===0&&Ur(ar)),t}function Is(){var t,n;return Hr++,t=Ar,e.charCodeAt(Ar)===61438?(n=pr,Ar++):(n=null,Hr===0&&Ur(dr)),n!==null&&(Or=t,n=cr()),n===null?(Ar=t,t=n):t=n,Hr--,t===null&&(n=null,Hr===0&&Ur(hr)),t}function qs(){var t,n;return Hr++,t=Ar,e.charCodeAt(Ar)===61422?(n=mr,Ar++):(n=null,Hr===0&&Ur(gr)),n!==null&&(Or=t,n=cr()),n===null?(Ar=t,t=n):t=n,Hr--,t===null&&(n=null,Hr===0&&Ur(vr)),t}function Rs(){var t,n,r;return Hr++,t=Ar,e.charCodeAt(Ar)===61439?(n=br,Ar++):(n=null,Hr===0&&Ur(wr)),n!==null?(e.charCodeAt(Ar)===10?(r=Er,Ar++):(r=null,Hr===0&&Ur(Sr)),r!==null?(Or=t,n=wn(),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),Hr--,t===null&&(n=null,Hr===0&&Ur(yr)),t}function Us(){var e,t;return Hr++,e=Is(),e===null&&(e=qs()),Hr--,e===null&&(t=null,Hr===0&&Ur(xr)),e}function zs(){var t,n,r;Hr++,t=Ar,n=[],r=Xs();if(r!==null)while(r!==null)n.push(r),r=Xs();else n=o;return n!==null&&(n=e.substring(t,Ar)),t=n,Hr--,t===null&&(n=null,Hr===0&&Ur(Tr)),t}function Ws(){var e,t;Hr++,e=[],t=Xs();while(t!==null)e.push(t),t=Xs();return Hr--,e===null&&(t=null,Hr===0&&Ur(Nr)),e}function Xs(){var t,n;return Hr++,kr.test(e.charAt(Ar))?(t=e.charAt(Ar),Ar++):(t=null,Hr===0&&Ur(Lr)),Hr--,t===null&&(n=null,Hr===0&&Ur(Cr)),t}function Vs(){var t,n,r;return t=Ar,n=Ar,Hr++,r=Fs(),r===null&&(r=Is(),r===null&&(r=Rs())),Hr--,r===null?n=u:(Ar=n,n=o),n!==null?(e.length>Ar?(r=e.charAt(Ar),Ar++):(r=null,Hr===0&&Ur(Jt)),r!==null?(Or=t,n=P(r),n===null?(Ar=t,t=n):t=n):(Ar=t,t=o)):(Ar=t,t=o),t}function $s(){var t,n,r;t=Ar,n=[],r=Vs();while(r!==null)n.push(r),r=Vs();return n!==null&&(n=e.substring(t,Ar)),t=n,t}function eo(e,t,n){var r=e.hash;if(n){r=r||new Qs.HashNode([]);for(var i=0;i<n.length;++i)r.pairs.push(n[i])}var s=[e.id].concat(e.params);return s.unshift(new Qs.IdNode([t])),new Qs.MustacheNode(s,r,!e.escaped)}function to(e,t){var n=[];e&&n.push(e);for(var r=0;r<t.length;++r){var i=t[r];n.push(i[0]),i[1]&&n.push(i[1])}return n}function no(e){Js.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Wr},s=Wr,o=null,u="",a=function(e){return e},f=function(e,t){return new Qs.ProgramNode(e,t||[])},l="=",c='"="',h="else",p='"else"',d=[],v=function(e){var t=[],n=[];for(var r=0;r<e.length;++r){var i=e[r];for(var s=0;s<i.length;++s){var o=i[s];if(o.type==="content"){o.string&&n.push(o.string);continue}n.length&&(t.push(new Qs.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new Qs.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new Qs.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new Qs.PartialNameNode(e)},N=function(e){return[e]},C="/",k='"/"',L=/^[A-Z]/,A="[A-Z]",O=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!Ks||!n.match(/[A-Z]/)?e:(e.mustache=eo(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Ks||!n.match(/[A-Z]/)?e:eo(e,t)},M=" ",_='" "',D=function(e,t){if(t){t=t[1];for(var n=0,r=t.length;n<r;++n)e.push(new Qs.ContentNode(" ")),e=e.concat(t[n])}return e},P=function(e){return e},H=function(e){return[e]},B=function(e,t){var n=e[0];return t&&(n=n.concat(t)),e[1]&&n.push(e[1]),n},j=function(e,t){return t?new Qs.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new Qs.ProgramNode(e,[])},R=function(e){return e&&e[2]},U=function(e,t){var n=t.mustache||t;return n.escaped=e,t},z=function(e,t,n,r){if(e){var i=new Qs.PartialNameNode(t.string);return new Qs.PartialNode(i,n[0])}var s=[],o={},u=!1;for(var a=0;a<
2
+ n.length;++a){var f=n[a],l=f[0];l=="tagName"||l=="elementId"||l=="class"?(u=!0,o[l]=o[l]||[],o[l].push(f[1])):s.push(f)}if(u){r=r||new Qs.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new Qs.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new Qs.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?eo(h,"unbound"):p==="?"?eo(h,"if"):p==="^"?eo(h,"unless"):h},W=function(e){return["tagName",e]},X=function(e){return["elementId",e]},V=function(e){return["class",e]},$=function(e,t){return[e,t]},J=function(e){return[null,e]},K=function(e){return e},Q=function(e){return new Qs.HashNode(e)},G="PathIdent",Y="..",Z='".."',et=".",tt='"."',nt=/^[a-zA-Z0-9_$\-!?\^]/,rt="[a-zA-Z0-9_$\\-!?\\^]",it=function(e){return e},st="Key",ot=function(e){return[e[0],e[2]]},ut=function(e){return e},at=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},ft="PathSeparator",lt=/^[\/.]/,ct="[\\/.]",ht=function(e){var t=e[e.length-1],n,r;if(n=t.match(/[!\?\^]$/))r=n[0],e[e.length-1]=t.slice(0,-1);var i=new Qs.IdNode(e);return i._emblemSuffixModifier=r,i},pt=function(e){return new Qs.StringNode(e)},dt=function(e){return new Qs.IntegerNode(e)},vt=function(e){return new Qs.BooleanNode(e)},mt="Boolean",gt="true",yt='"true"',bt="false",wt='"false"',Et="Integer",St=/^[0-9]/,xt="[0-9]",Tt=function(e){return parseInt(e)},Nt='"',Ct='"\\""',kt="'",Lt='"\'"',At=function(e){return e[1]},Ot=/^[^"}]/,Mt='[^"}]',_t=/^[^'}]/,Dt="[^'}]",Pt=/^[A-Za-z]/,Ht="[A-Za-z]",Bt=function(e,t,n){t.unshift(new Qs.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new Qs.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},jt=/^[|`']/,Ft="[|`']",It="<",qt='"<"',Rt=function(){return"<"},Ut=function(e,t,n){(t.length||!n)&&t.push("\n");if(n){n=n[1];for(var r=0;r<n.length;++r)t=t.concat(n[r]),t.push("\n")}var i=[],s=e!=="`";for(var r=0;r<t.length;++r){var o=t[r];o=="\n"?s||i.push(new Qs.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new Qs.ContentNode(" ")),i},zt=function(e,t){return to(e,t)},Wt=function(e,t){return to(e,t)},Xt=function(e){return e.escaped=!0,e},Vt=function(e){return e.escaped=!1,e},$t=function(e){return new Qs.ContentNode(e)},Jt="any character",Kt="SingleMustacheOpen",Qt="{",Gt='"{"',Yt="DoubleMustacheOpen",Zt="{{",en='"{{"',tn="TripleMustacheOpen",nn="{{{",rn='"{{{"',sn="SingleMustacheClose",on="}",un='"}"',an="DoubleMustacheClose",fn="}}",ln='"}}"',cn="TripleMustacheClose",hn="}}}",pn='"}}}"',dn="InterpolationOpen",vn="#{",mn='"#{"',gn="InterpolationClose",yn="==",bn='"=="',wn=function(){return!1},En=function(){return!0},Sn=function(e,t){return e||t},xn=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new Qs.ContentNode("<"+r)),s&&u.push(new Qs.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new Qs.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new Qs.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);return Gs[r]?(u.push(new Qs.ContentNode(" />")),[u]):(u.push(new Qs.ContentNode(">")),[u,new Qs.ContentNode("</"+r+">")])},Tn=function(e){return{shorthand:e,id:!0}},Nn=function(e){return{shorthand:e}},Cn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},kn=function(e){return[new Qs.ContentNode(" ")].concat(e)},Ln=/^[A-Za-z.0-9_\-]/,An="[A-Za-z.0-9_\\-]",On=function(e){return new Qs.MustacheNode([e])},Mn=function(e,t){return[eo(t,"action",[["on",new Qs.StringNode(e)]])]},_n=function(e){return e.replace(/ *$/,"")},Dn="!",Pn='"!"',Hn=function(e,t){return Ks},Bn=function(e,t){var n=new Qs.HashNode([[e,new Qs.StringNode(t)]]),r=[new Qs.IdNode(["bindAttr"])],i=new Qs.MustacheNode(r,n);return[i]},jn=function(e,t){var n=new Qs.MustacheNode([t]);return Ks&&t._emblemSuffixModifier==="!"&&(n=eo(n,"unbound")),[new Qs.ContentNode(e+"="+'"'),n,new Qs.ContentNode('"')]},Fn=function(e,t){var n=[new Qs.ContentNode(e+"="+'"')].concat(t);return n.concat([new Qs.ContentNode('"')])},In="_",qn='"_"',Rn="-",Un='"-"',zn="%",Wn='"%"',Xn="#",Vn='"#"',$n=function(e){return e},Jn="CSSIdentifier",Kn=/^[_a-zA-Z0-9\-]/,Qn="[_a-zA-Z0-9\\-]",Gn=/^[_a-zA-Z]/,Yn="[_a-zA-Z]",Zn=/^[\x80-\xFF]/,er="[\\x80-\\xFF]",tr="KnownHTMLTagName",nr=function(e){return!!Ys[e]},rr=function(e){return e},ir=":",sr='":"',or="a JS event",ur=function(e){return!!Zs[e]},ar="INDENT",fr="",lr='"\\uEFEF"',cr=function(){return""},hr="DEDENT",pr="",dr='"\\uEFFE"',vr="Unmatched DEDENT",mr="",gr='"\\uEFEE"',yr="LineEnd",br="",wr='"\\uEFFF"',Er="\n",Sr='"\\n"',xr="ANYDEDENT",Tr="RequiredWhitespace",Nr="OptionalWhitespace",Cr="InlineWhitespace",kr=/^[ \t]/,Lr="[ \\t]",Ar=0,Or=0,Mr=0,_r={line:1,column:1,seenCR:!1},Dr=0,Pr=[],Hr=0,Br;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var Js=n.handlebarsVariant,Ks=Js.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",Qs=Js.AST,Gs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ys={figcaption:!0,blockquote:!0,plaintext:!0,textarea:!0,progress:!0,optgroup:!0,noscript:!0,noframes:!0,frameset:!0,fieldset:!0,datalist:!0,colgroup:!0,basefont:!0,summary:!0,section:!0,marquee:!0,listing:!0,isindex:!0,details:!0,command:!0,caption:!0,bgsound:!0,article:!0,address:!0,acronym:!0,strong:!0,strike:!0,spacer:!0,source:!0,select:!0,script:!0,output:!0,option:!0,object:!0,legend:!0,keygen:!0,iframe:!0,hgroup:!0,header:!0,footer:!0,figure:!0,center:!0,canvas:!0,button:!0,applet:!0,video:!0,track:!0,title:!0,thead:!0,tfoot:!0,tbody:!0,table:!0,style:!0,small:!0,param:!0,meter:!0,label:!0,input:!0,frame:!0,embed:!0,blink:!0,audio:!0,aside:!0,time:!0,span:!0,samp:!0,ruby:!0,nobr:!0,meta:!0,menu:!0,mark:!0,main:!0,link:!0,html:!0,head:!0,form:!0,font:!0,data:!0,code:!0,cite:!0,body:!0,base:!0,area:!0,abbr:!0,xmp:!0,wbr:!0,"var":!0,sup:!0,sub:!0,pre:!0,nav:!0,map:!0,kbd:!0,ins:!0,img:!0,div:!0,dir:!0,dfn:!0,del:!0,col:!0,big:!0,bdo:!0,bdi:!0,ul:!0,tt:!0,tr:!0,th:!0,td:!0,rt:!0,rp:!0,ol:!0,li:!0,hr:!0,h6:!0,h5:!0,h4:!0,h3:!0,h2:!0,h1:!0,em:!0,dt:!0,dl:!0,dd:!0,br:!0,u:!0,s:!0,q:!0,p:!0,i:!0,b:!0,a:!0},Zs={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};Br=s();if(Br!==null&&Ar===e.length)return Br;throw zr(Pr),Or=Math.max(Ar,Dr),new t(Pr,Or<e.length?e.charAt(Or):null,Or,Rr(Or).line,Rr(Or).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.1
4
+ version: 0.2.2
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-01 00:00:00.000000000 Z
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Emblem.js source code wrapper for (pre)compilation gems.
15
15
  email: