emblem-source 0.3.18 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/dist/emblem.js +78 -179
  3. data/dist/emblem.min.js +2 -2
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30bd185cae5a48fe2b78a927a7b2956c5b59d3dc
4
- data.tar.gz: 12f1fcebc3bb20159649f2d39b84805264e591b4
3
+ metadata.gz: 4cd98fe266765fe44528ffe577406a835eec0c2c
4
+ data.tar.gz: 13cf5f111145df56938037ec8845f19c1ac3ad46
5
5
  SHA512:
6
- metadata.gz: a0b95b57001cfa473a7ae59b2ab7972299250c34e778015d6a90dcb3e3cd01cf01609ea5427e5857185453b5cb690f3f7759bfd3fe717492de3d45dcd7b2d815
7
- data.tar.gz: a846892c3469cde6b294db4c058226c929cd2e33ddf4e657db2d84bf05f3c45f1097c563a7995afd8bf4521f08eb20410545b32f61fdd5fc78d5a06019d4eec1
6
+ metadata.gz: ca032db06cffe11f0f8542480e12508d5a763d647eb83606653fdbd97daa4760f2a7a8ae57eafb6957d8a53bba51f71239af379ecae80c6954ee44f43e85c7dc
7
+ data.tar.gz: f82ed7050beff85d4fd9bec83370817bf0a86d5b3172c9c7c039d12dbd69ac70c6c3135cf049a61cf07a328436d78b9ba226fc10c350faf6befc383c137e2cd2
@@ -1,4 +1,4 @@
1
- (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
1
+ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2
2
  var Emblem;
3
3
 
4
4
  Emblem = require('./emblem');
@@ -43,7 +43,7 @@ Emblem.precompile = function(handlebarsVariant, string, options) {
43
43
  }
44
44
  Emblem.handlebarsVariant = handlebarsVariant;
45
45
  ast = Emblem.parse(string);
46
- return handlebarsVariant.precompile(ast, options);
46
+ return handlebarsVariant.precompile(ast, false);
47
47
  };
48
48
 
49
49
  Emblem.compile = function(handlebarsVariant, string, options) {
@@ -97,13 +97,14 @@ if (typeof window !== "undefined" && window !== null) {
97
97
  }
98
98
 
99
99
  },{"./emblem":3}],3:[function(require,module,exports){
100
- var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};var Emblem;
100
+ (function (global){
101
+ var Emblem;
101
102
 
102
103
  this.Emblem = {};
103
104
 
104
105
  Emblem = this.Emblem;
105
106
 
106
- Emblem.VERSION = "0.3.18";
107
+ Emblem.VERSION = "0.4.0";
107
108
 
108
109
  module.exports = Emblem;
109
110
 
@@ -121,6 +122,7 @@ require('./preprocessor');
121
122
 
122
123
  require('./emberties');
123
124
 
125
+ }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
124
126
  },{"./compiler":1,"./emberties":2,"./parser":4,"./preprocessor":5}],4:[function(require,module,exports){
125
127
  var Emblem = require('./emblem');
126
128
 
@@ -198,15 +200,17 @@ Emblem.Parser = (function() {
198
200
 
199
201
  peg$c0 = null,
200
202
  peg$c1 = "",
201
- peg$c2 = function(c) {return c;},
202
- peg$c3 = function(c, i) {
203
- return createProgramNode(c, i || []);
203
+ peg$c2 = [],
204
+ peg$c3 = function(c) {return c;},
205
+ peg$c4 = function(c, i) {
206
+ var programNode = createProgramNode(c);
207
+ if(i) { programNode.inverse = createProgramNode(i); }
208
+ return programNode;
204
209
  },
205
- peg$c4 = "=",
206
- peg$c5 = "\"=\"",
207
- peg$c6 = "else",
208
- peg$c7 = "\"else\"",
209
- peg$c8 = [],
210
+ peg$c5 = "=",
211
+ peg$c6 = "\"=\"",
212
+ peg$c7 = "else",
213
+ peg$c8 = "\"else\"",
210
214
  peg$c9 = function(statements) {
211
215
  // Coalesce all adjacent ContentNodes into one.
212
216
 
@@ -247,11 +251,13 @@ Emblem.Parser = (function() {
247
251
  peg$c13 = ">",
248
252
  peg$c14 = "\">\"",
249
253
  peg$c15 = function(n, params) {
250
- return [new AST.PartialNode(n, params[0])];
254
+ return [new AST.PartialNode(n, params[0], undefined, {})];
251
255
  },
252
256
  peg$c16 = /^[a-zA-Z0-9_$-\/]/,
253
257
  peg$c17 = "[a-zA-Z0-9_$-\\/]",
254
- peg$c18 = function(s) { return new AST.PartialNameNode(new AST.StringNode(s)); },
258
+ peg$c18 = function(s) {
259
+ return new AST.PartialNameNode(new AST.StringNode(s));
260
+ },
255
261
  peg$c19 = function(m) {
256
262
  return [m];
257
263
  },
@@ -309,20 +315,16 @@ Emblem.Parser = (function() {
309
315
  return ret;
310
316
  },
311
317
  peg$c34 = function(mustacheNode, nestedContentProgramNode) {
312
-
313
318
  if (!nestedContentProgramNode) {
314
319
  return mustacheNode;
315
320
  }
316
321
 
317
- var close = mustacheNode.id;
318
- if (use11AST) {
319
- close.path = mustacheNode.id;
320
- close.strip = {
321
- left: false,
322
- right: false
323
- };
324
- }
325
- var block = new AST.BlockNode(mustacheNode, nestedContentProgramNode, nestedContentProgramNode.inverse, close);
322
+ var strip = {
323
+ left: false,
324
+ right: false
325
+ };
326
+
327
+ var block = new AST.BlockNode(mustacheNode, nestedContentProgramNode, nestedContentProgramNode.inverse, strip);
326
328
 
327
329
  block.path = mustacheNode.id;
328
330
  return block;
@@ -344,15 +346,10 @@ Emblem.Parser = (function() {
344
346
  peg$c43 = function(isPartial, sexpr) {
345
347
  if(isPartial) {
346
348
  var n = new AST.PartialNameNode(new AST.StringNode(sexpr.id.string));
347
- return new AST.PartialNode(n, sexpr.params[0]);
349
+ return new AST.PartialNode(n, sexpr.params[0], undefined, {});
348
350
  }
349
351
 
350
- var mustacheNode;
351
- if (useSexprNodes) {
352
- mustacheNode = createMustacheNode(sexpr, null, true);
353
- } else {
354
- mustacheNode = createMustacheNode([sexpr.id].concat(sexpr.params), sexpr.hash, true);
355
- }
352
+ var mustacheNode = createMustacheNode(sexpr, null, true);
356
353
 
357
354
  var tm = sexpr.id._emblemSuffixModifier;
358
355
  if(tm === '!') {
@@ -431,7 +428,7 @@ Emblem.Parser = (function() {
431
428
  return idNode;
432
429
  },
433
430
  peg$c79 = function(v) { return new AST.StringNode(v); },
434
- peg$c80 = function(v) { return new AST.IntegerNode(v); },
431
+ peg$c80 = function(v) { return new AST.NumberNode(v); },
435
432
  peg$c81 = function(v) { return new AST.BooleanNode(v); },
436
433
  peg$c82 = "Boolean",
437
434
  peg$c83 = "true",
@@ -765,7 +762,7 @@ Emblem.Parser = (function() {
765
762
  }
766
763
 
767
764
  function peg$parseinvertibleContent() {
768
- var s0, s1, s2, s3, s4, s5, s6, s7, s8;
765
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
769
766
 
770
767
  s0 = peg$currPos;
771
768
  s1 = peg$parsecontent();
@@ -779,17 +776,28 @@ Emblem.Parser = (function() {
779
776
  if (s5 !== null) {
780
777
  s6 = peg$parseTERM();
781
778
  if (s6 !== null) {
782
- s7 = peg$parseindentation();
779
+ s7 = [];
780
+ s8 = peg$parseblankLine();
781
+ while (s8 !== null) {
782
+ s7.push(s8);
783
+ s8 = peg$parseblankLine();
784
+ }
783
785
  if (s7 !== null) {
784
- s8 = peg$parsecontent();
786
+ s8 = peg$parseindentation();
785
787
  if (s8 !== null) {
786
- peg$reportedPos = s2;
787
- s3 = peg$c2(s8);
788
- if (s3 === null) {
789
- peg$currPos = s2;
790
- s2 = s3;
788
+ s9 = peg$parsecontent();
789
+ if (s9 !== null) {
790
+ peg$reportedPos = s2;
791
+ s3 = peg$c3(s9);
792
+ if (s3 === null) {
793
+ peg$currPos = s2;
794
+ s2 = s3;
795
+ } else {
796
+ s2 = s3;
797
+ }
791
798
  } else {
792
- s2 = s3;
799
+ peg$currPos = s2;
800
+ s2 = peg$c0;
793
801
  }
794
802
  } else {
795
803
  peg$currPos = s2;
@@ -820,7 +828,7 @@ Emblem.Parser = (function() {
820
828
  }
821
829
  if (s2 !== null) {
822
830
  peg$reportedPos = s0;
823
- s1 = peg$c3(s1, s2);
831
+ s1 = peg$c4(s1, s2);
824
832
  if (s1 === null) {
825
833
  peg$currPos = s0;
826
834
  s0 = s1;
@@ -845,11 +853,11 @@ Emblem.Parser = (function() {
845
853
  s0 = peg$currPos;
846
854
  s1 = peg$currPos;
847
855
  if (input.charCodeAt(peg$currPos) === 61) {
848
- s2 = peg$c4;
856
+ s2 = peg$c5;
849
857
  peg$currPos++;
850
858
  } else {
851
859
  s2 = null;
852
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
860
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
853
861
  }
854
862
  if (s2 !== null) {
855
863
  s3 = peg$parse_();
@@ -868,12 +876,12 @@ Emblem.Parser = (function() {
868
876
  s1 = peg$c1;
869
877
  }
870
878
  if (s1 !== null) {
871
- if (input.substr(peg$currPos, 4) === peg$c6) {
872
- s2 = peg$c6;
879
+ if (input.substr(peg$currPos, 4) === peg$c7) {
880
+ s2 = peg$c7;
873
881
  peg$currPos += 4;
874
882
  } else {
875
883
  s2 = null;
876
- if (peg$silentFails === 0) { peg$fail(peg$c7); }
884
+ if (peg$silentFails === 0) { peg$fail(peg$c8); }
877
885
  }
878
886
  if (s2 !== null) {
879
887
  s1 = [s1, s2];
@@ -1694,92 +1702,6 @@ Emblem.Parser = (function() {
1694
1702
  return s0;
1695
1703
  }
1696
1704
 
1697
- function peg$parseinvertibleContent() {
1698
- var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
1699
-
1700
- s0 = peg$currPos;
1701
- s1 = peg$parsecontent();
1702
- if (s1 !== null) {
1703
- s2 = peg$currPos;
1704
- s3 = peg$parseDEDENT();
1705
- if (s3 !== null) {
1706
- s4 = peg$parseelse();
1707
- if (s4 !== null) {
1708
- s5 = peg$parse_();
1709
- if (s5 !== null) {
1710
- s6 = peg$parseTERM();
1711
- if (s6 !== null) {
1712
- s7 = [];
1713
- s8 = peg$parseblankLine();
1714
- while (s8 !== null) {
1715
- s7.push(s8);
1716
- s8 = peg$parseblankLine();
1717
- }
1718
- if (s7 !== null) {
1719
- s8 = peg$parseindentation();
1720
- if (s8 !== null) {
1721
- s9 = peg$parsecontent();
1722
- if (s9 !== null) {
1723
- peg$reportedPos = s2;
1724
- s3 = peg$c2(s9);
1725
- if (s3 === null) {
1726
- peg$currPos = s2;
1727
- s2 = s3;
1728
- } else {
1729
- s2 = s3;
1730
- }
1731
- } else {
1732
- peg$currPos = s2;
1733
- s2 = peg$c0;
1734
- }
1735
- } else {
1736
- peg$currPos = s2;
1737
- s2 = peg$c0;
1738
- }
1739
- } else {
1740
- peg$currPos = s2;
1741
- s2 = peg$c0;
1742
- }
1743
- } else {
1744
- peg$currPos = s2;
1745
- s2 = peg$c0;
1746
- }
1747
- } else {
1748
- peg$currPos = s2;
1749
- s2 = peg$c0;
1750
- }
1751
- } else {
1752
- peg$currPos = s2;
1753
- s2 = peg$c0;
1754
- }
1755
- } else {
1756
- peg$currPos = s2;
1757
- s2 = peg$c0;
1758
- }
1759
- if (s2 === null) {
1760
- s2 = peg$c1;
1761
- }
1762
- if (s2 !== null) {
1763
- peg$reportedPos = s0;
1764
- s1 = peg$c3(s1, s2);
1765
- if (s1 === null) {
1766
- peg$currPos = s0;
1767
- s0 = s1;
1768
- } else {
1769
- s0 = s1;
1770
- }
1771
- } else {
1772
- peg$currPos = s0;
1773
- s0 = peg$c0;
1774
- }
1775
- } else {
1776
- peg$currPos = s0;
1777
- s0 = peg$c0;
1778
- }
1779
-
1780
- return s0;
1781
- }
1782
-
1783
1705
  function peg$parsecolonContent() {
1784
1706
  var s0, s1, s2, s3;
1785
1707
 
@@ -2627,11 +2549,11 @@ Emblem.Parser = (function() {
2627
2549
  s2 = peg$currPos;
2628
2550
  peg$silentFails++;
2629
2551
  if (input.charCodeAt(peg$currPos) === 61) {
2630
- s3 = peg$c4;
2552
+ s3 = peg$c5;
2631
2553
  peg$currPos++;
2632
2554
  } else {
2633
2555
  s3 = null;
2634
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
2556
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
2635
2557
  }
2636
2558
  peg$silentFails--;
2637
2559
  if (s3 === null) {
@@ -2783,11 +2705,11 @@ Emblem.Parser = (function() {
2783
2705
  s3 = peg$parsekey();
2784
2706
  if (s3 !== null) {
2785
2707
  if (input.charCodeAt(peg$currPos) === 61) {
2786
- s4 = peg$c4;
2708
+ s4 = peg$c5;
2787
2709
  peg$currPos++;
2788
2710
  } else {
2789
2711
  s4 = null;
2790
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
2712
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
2791
2713
  }
2792
2714
  if (s4 !== null) {
2793
2715
  s5 = peg$parseparam();
@@ -2844,11 +2766,11 @@ Emblem.Parser = (function() {
2844
2766
  s4 = peg$parsekey();
2845
2767
  if (s4 !== null) {
2846
2768
  if (input.charCodeAt(peg$currPos) === 61) {
2847
- s5 = peg$c4;
2769
+ s5 = peg$c5;
2848
2770
  peg$currPos++;
2849
2771
  } else {
2850
2772
  s5 = null;
2851
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
2773
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
2852
2774
  }
2853
2775
  if (s5 !== null) {
2854
2776
  s6 = peg$parseparam();
@@ -4735,11 +4657,11 @@ Emblem.Parser = (function() {
4735
4657
  if (s0 === null) {
4736
4658
  s0 = peg$currPos;
4737
4659
  if (input.charCodeAt(peg$currPos) === 61) {
4738
- s1 = peg$c4;
4660
+ s1 = peg$c5;
4739
4661
  peg$currPos++;
4740
4662
  } else {
4741
4663
  s1 = null;
4742
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
4664
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
4743
4665
  }
4744
4666
  if (s1 !== null) {
4745
4667
  if (input.charCodeAt(peg$currPos) === 32) {
@@ -5289,11 +5211,11 @@ Emblem.Parser = (function() {
5289
5211
  s1 = peg$parseknownEvent();
5290
5212
  if (s1 !== null) {
5291
5213
  if (input.charCodeAt(peg$currPos) === 61) {
5292
- s2 = peg$c4;
5214
+ s2 = peg$c5;
5293
5215
  peg$currPos++;
5294
5216
  } else {
5295
5217
  s2 = null;
5296
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
5218
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
5297
5219
  }
5298
5220
  if (s2 !== null) {
5299
5221
  s3 = peg$parseactionValue();
@@ -5329,11 +5251,11 @@ Emblem.Parser = (function() {
5329
5251
  s1 = peg$parsekey();
5330
5252
  if (s1 !== null) {
5331
5253
  if (input.charCodeAt(peg$currPos) === 61) {
5332
- s2 = peg$c4;
5254
+ s2 = peg$c5;
5333
5255
  peg$currPos++;
5334
5256
  } else {
5335
5257
  s2 = null;
5336
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
5258
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
5337
5259
  }
5338
5260
  if (s2 !== null) {
5339
5261
  if (input.substr(peg$currPos, 4) === peg$c83) {
@@ -5491,11 +5413,11 @@ Emblem.Parser = (function() {
5491
5413
  s1 = peg$parsekey();
5492
5414
  if (s1 !== null) {
5493
5415
  if (input.charCodeAt(peg$currPos) === 61) {
5494
- s2 = peg$c4;
5416
+ s2 = peg$c5;
5495
5417
  peg$currPos++;
5496
5418
  } else {
5497
5419
  s2 = null;
5498
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
5420
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
5499
5421
  }
5500
5422
  if (s2 !== null) {
5501
5423
  s3 = peg$parseboundAttributeValue();
@@ -5564,11 +5486,11 @@ Emblem.Parser = (function() {
5564
5486
  s1 = peg$parsekey();
5565
5487
  if (s1 !== null) {
5566
5488
  if (input.charCodeAt(peg$currPos) === 61) {
5567
- s2 = peg$c4;
5489
+ s2 = peg$c5;
5568
5490
  peg$currPos++;
5569
5491
  } else {
5570
5492
  s2 = null;
5571
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
5493
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
5572
5494
  }
5573
5495
  if (s2 !== null) {
5574
5496
  s3 = peg$parsepathIdNode();
@@ -5604,11 +5526,11 @@ Emblem.Parser = (function() {
5604
5526
  s1 = peg$parsekey();
5605
5527
  if (s1 !== null) {
5606
5528
  if (input.charCodeAt(peg$currPos) === 61) {
5607
- s2 = peg$c4;
5529
+ s2 = peg$c5;
5608
5530
  peg$currPos++;
5609
5531
  } else {
5610
5532
  s2 = null;
5611
- if (peg$silentFails === 0) { peg$fail(peg$c5); }
5533
+ if (peg$silentFails === 0) { peg$fail(peg$c6); }
5612
5534
  }
5613
5535
  if (s2 !== null) {
5614
5536
  s3 = peg$parseattributeTextNodes();
@@ -6485,25 +6407,13 @@ Emblem.Parser = (function() {
6485
6407
  var twoBrace = closeBrace + closeBrace;
6486
6408
  var threeBrace = twoBrace + closeBrace;
6487
6409
 
6488
- var use11AST = handlebarsVariant.VERSION.slice(0, 3) >= 1.1;
6489
- var useSexprNodes = handlebarsVariant.VERSION.slice(0, 3) >= 1.3;
6490
-
6491
6410
  function createMustacheNode(params, hash, escaped) {
6492
- if (use11AST) {
6493
- var open = escaped ? twoBrace : threeBrace;
6494
- return new AST.MustacheNode(params, hash, open, { left: false, right: false });
6495
- } else {
6496
- // old style
6497
- return new AST.MustacheNode(params, hash, !escaped);
6498
- }
6411
+ var open = escaped ? twoBrace : threeBrace;
6412
+ return new AST.MustacheNode(params, hash, open, { left: false, right: false });
6499
6413
  }
6500
6414
 
6501
6415
  function createProgramNode(statements, inverse) {
6502
- if (use11AST) {
6503
- return new AST.ProgramNode(statements, { left: false, right: false}, inverse, null);
6504
- } else {
6505
- return new AST.ProgramNode(statements, inverse);
6506
- }
6416
+ return new AST.ProgramNode(statements, { left: false, right: false}, inverse, null);
6507
6417
  }
6508
6418
 
6509
6419
  // Returns a new MustacheNode with a new preceding param (id).
@@ -6567,17 +6477,7 @@ Emblem.Parser = (function() {
6567
6477
  }
6568
6478
 
6569
6479
  actualParams.unshift(path);
6570
-
6571
- if (useSexprNodes) {
6572
- return new AST.SexprNode(actualParams, hash);
6573
- } else {
6574
- // Stub a sexpr-like node for backwards compatibility with pre-1.3 AST.
6575
- return {
6576
- id: actualParams[0],
6577
- params: actualParams.slice(1),
6578
- hash: hash
6579
- };
6580
- }
6480
+ return new AST.SexprNode(actualParams, hash);
6581
6481
  }
6582
6482
  function parseInHtml(h, inTagMustaches, fullAttributes) {
6583
6483
 
@@ -6637,7 +6537,6 @@ Emblem.Parser = (function() {
6637
6537
  if (fullAttributes[i][2].type == 'mustache') {
6638
6538
  var mustacheNode, classesContent, hash, params;
6639
6539
  // If class was mustache binding, transform attribute into bind-attr MustacheNode
6640
- // In case of 'div.shorthand class=varBinding' will transform into '<div {{bind-attr class=":shorthand varBinding"}}'
6641
6540
  mustacheNode = fullAttributes[i][2];
6642
6541
  classesContent = ':' + classes.join(' :') + ' ' + mustacheNode.id.original;
6643
6542
  hash = new AST.HashNode([
@@ -7065,4 +6964,4 @@ Emblem.Preprocessor = Preprocessor = (function() {
7065
6964
  module.exports = StringScanner;
7066
6965
  }).call(this);
7067
6966
 
7068
- },{}]},{},[3])
6967
+ },{}]},{},[3]);
@@ -1,2 +1,2 @@
1
- !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a){var b;b=a("./emblem"),b.throwCompileError=function(a,b){throw new Error("Emblem syntax error, line "+a+": "+b)},b.registerPartial=function(a,c,d){return d||(d=c,c=a,a=Handlebars),a.registerPartial(c,b.compile(a,d))},b.parse=function(a){var c,d,e,f,g;try{return g=b.Preprocessor.processSync(a),b.Parser.parse(g)}catch(h){if(c=h,c instanceof b.Parser.SyntaxError)return e=a.split("\n"),d=e[c.line-1],f=""+c.message+"\n"+d+"\n",f+=new Array(c.column).join("-"),f+="^",b.throwCompileError(c.line,f);throw c}},b.precompile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.precompile(e,d)},b.compile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.compile(e,d)}},{"./emblem":3}],2:[function(a){var b,c,d,e;c=a("./emblem"),"undefined"!=typeof window&&null!==window&&(c.compileScriptTags=function(){if("undefined"==typeof Ember||null===Ember)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");return"undefined"!=typeof document&&null!==document?Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var a,b,d;return b=Ember.$(this),a="text/x-raw-handlebars"===b.attr("type")?Handlebars:Ember.Handlebars,d=b.attr("data-template-name")||b.attr("id")||"application",Ember.TEMPLATES[d]=c.compile(a,b.html()),b.remove()}):void 0},window.ENV||(window.ENV={}),b=window.ENV,b.EMBER_LOAD_HOOKS||(b.EMBER_LOAD_HOOKS={}),(d=b.EMBER_LOAD_HOOKS).application||(d.application=[]),(e=b.EMBER_LOAD_HOOKS)["Ember.Application"]||(e["Ember.Application"]=[]),b.EMBER_LOAD_HOOKS.application.push(c.compileScriptTags),b.EMBER_LOAD_HOOKS["Ember.Application"].push(function(a){return a.initializer?a.initializer({name:"emblemDomTemplates",before:"registerComponentLookup",initialize:c.compileScriptTags}):Ember.onLoad("application",c.compileScriptTags)}))},{"./emblem":3}],3:[function(a,b){var c,d="undefined"!=typeof self?self:"undefined"!=typeof window?window:{};this.Emblem={},c=this.Emblem,c.VERSION="0.3.18",b.exports=c,"undefined"!=typeof window&&null!==window&&(window.Emblem=c),d.Emblem=c,a("./parser"),a("./compiler"),a("./preprocessor"),a("./emberties")},{"./compiler":1,"./emberties":2,"./parser":4,"./preprocessor":5}],4:[function(a,b){var c=a("./emblem");c.Parser=function(){function a(a,b){function c(){this.constructor=a}c.prototype=b.prototype,a.prototype=new c}function b(a,b,c,d,e){function f(a,b){function c(a){function b(a){return a.charCodeAt(0).toString(16).toUpperCase()}return a.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(a){return"\\x0"+b(a)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(a){return"\\x"+b(a)}).replace(/[\u0180-\u0FFF]/g,function(a){return"\\u0"+b(a)}).replace(/[\u1080-\uFFFF]/g,function(a){return"\\u"+b(a)})}var d,e;switch(a.length){case 0:d="end of input";break;case 1:d=a[0];break;default:d=a.slice(0,-1).join(", ")+" or "+a[a.length-1]}return e=b?'"'+c(b)+'"':"end of input","Expected "+d+" but "+e+" found."}this.expected=a,this.found=b,this.offset=c,this.line=d,this.column=e,this.name="SyntaxError",this.message=f(a,b)}function d(a){function d(b){function c(b,c,d){var e,f;for(e=c;d>e;e++)f=a.charAt(e),"\n"===f?(b.seenCR||b.line++,b.column=1,b.seenCR=!1):"\r"===f||"\u2028"===f||"\u2029"===f?(b.line++,b.column=1,b.seenCR=!0):(b.column++,b.seenCR=!1)}return sg!==b&&(sg>b&&(sg=0,tg={line:1,column:1,seenCR:!1}),c(tg,sg,b),sg=b),tg}function e(a){ug>qg||(qg>ug&&(ug=qg,vg=[]),vg.push(a))}function f(a){var b=0;for(a.sort();b<a.length;)a[b-1]===a[b]?a.splice(b,1):b++}function g(){var a;return a=h()}function h(){var a,b,c,d,e,f,g,h,k;return a=qg,b=j(),null!==b?(c=qg,d=hc(),null!==d?(e=i(),null!==e?(f=mc(),null!==f?(g=jc(),null!==g?(h=fc(),null!==h?(k=j(),null!==k?(rg=c,d=Cc(k),null===d?(qg=c,c=d):c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=Bc),null!==c?(rg=a,b=Dc(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function i(){var b,c,d,f;return b=qg,c=qg,61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=mc(),null!==f?(d=[d,f],c=d):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=Bc),null!==c?(a.substr(qg,4)===Gc?(d=Gc,qg+=4):(d=null,0===wg&&e(Hc)),null!==d?(c=[c,d],b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function j(){var a,b,c;for(a=qg,b=[],c=k();null!==c;)b.push(c),c=k();return null!==b&&(rg=a,b=Ic(b)),null===b?(qg=a,a=b):a=b,a}function k(){var a,b;return wg++,a=m(),null===a&&(a=r(),null===a&&(a=l())),wg--,null===a&&(b=null,0===wg&&e(Jc)),a}function l(){var a,b;return wg++,a=n(),null===a&&(a=z(),null===a&&(a=eb(),null===a&&(a=p()))),wg--,null===a&&(b=null,0===wg&&e(Kc)),a}function m(){var a,b,c;return a=qg,b=mc(),null!==b?(c=jc(),null!==c?(rg=a,b=Lc(),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function n(){var b,c,d,f,g,h,i;if(b=qg,62===a.charCodeAt(qg)?(c=Mc,qg++):(c=null,0===wg&&e(Nc)),null!==c)if(d=mc(),null!==d)if(f=o(),null!==f){for(g=[],h=K();null!==h;)g.push(h),h=K();null!==g?(h=mc(),null!==h?(i=jc(),null!==i?(rg=b,c=Oc(f,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function o(){var b,c,d,f;if(b=qg,c=qg,d=[],Pc.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Qc)),null!==f)for(;null!==f;)d.push(f),Pc.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Qc));else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Rc(c)),null===c?(qg=b,b=c):b=c,b}function p(){var a,b;return a=qg,b=D(),null===b&&(b=t()),null!==b&&(rg=a,b=Sc(b)),null===b?(qg=a,a=b):a=b,a}function q(){var a,b,c,d,e,f,g,h;if(a=qg,b=pc(),null!==b)if(c=jc(),null!==c){if(d=[],e=qg,f=fc(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=Ac;null!==g?(h=kc(),null!==h?(f=[f,g,h],e=f):(qg=e,e=Ac)):(qg=e,e=Ac)}else qg=e,e=Ac;for(;null!==e;)if(d.push(e),e=qg,f=fc(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=Ac;null!==g?(h=kc(),null!==h?(f=[f,g,h],e=f):(qg=e,e=Ac)):(qg=e,e=Ac)}else qg=e,e=Ac;null!==d?(rg=a,b=Lc(),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return a}function r(){var b,c,d;return b=qg,47===a.charCodeAt(qg)?(c=Tc,qg++):(c=null,0===wg&&e(Uc)),null!==c?(d=q(),null!==d?(rg=b,c=Lc(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function s(){var b,c,d;return b=qg,47===a.charCodeAt(qg)?(c=Tc,qg++):(c=null,0===wg&&e(Uc)),null!==c?(d=pc(),null!==d?(c=[c,d],b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function t(){var a;return a=u(),null===a&&(a=A()),a}function u(){var b,c,d;return b=qg,c=qg,wg++,Vc.test(a.charAt(qg))?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Wc)),wg--,null!==d?(qg=c,c=Bc):c=Ac,null!==c?(d=A(),null!==d?(rg=b,c=Xc(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function v(){var b,c,d,f,g,h,i;if(b=qg,32===a.charCodeAt(qg)?(c=Yc,qg++):(c=null,0===wg&&e(Zc)),null!==c)if(d=fb(),null!==d){if(f=qg,g=fc(),null!==g){if(h=[],i=cb(),null!==i)for(;null!==i;)h.push(i),i=cb();else h=Ac;null!==h?(i=hc(),null!==i?(g=[g,h,i],f=g):(qg=f,f=Ac)):(qg=f,f=Ac)}else qg=f,f=Ac;null===f&&(f=Bc),null!==f?(rg=b,c=$c(d,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;return b}function w(){var a,b,c,d,e;for(a=qg,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=fc(),null!==c?(d=j(),null!==d?(e=hc(),null!==e?(rg=a,b=_c(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function x(){var a,b,c,d;for(a=qg,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=j(),null!==c?(d=hc(),null!==d?(rg=a,b=_c(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function y(){var b,c,d,f,g,h;return b=B(),null===b&&(b=qg,c=mc(),null!==c?(d=D(),null!==d?(rg=b,c=ad(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(f=jc(),null!==f?(g=w(),null===g&&(g=Bc),null!==g?(rg=b,c=_c(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(93===a.charCodeAt(qg)?(f=bd,qg++):(f=null,0===wg&&e(cd)),null!==f?(g=jc(),null!==g?(h=x(),null===h&&(h=Bc),null!==h?(rg=b,c=_c(h),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=v(),null!==c&&(rg=b,c=dd(c)),null===c?(qg=b,b=c):b=c)))),b}function z(){var a,b,c;return a=qg,b=Ib(),null!==b?(c=y(),null!==c?(rg=a,b=ed(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function A(){var a,b,c,d,e;return a=qg,b=E(),null!==b?(c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(e=C(),null!==e?(rg=a,b=fd(b,e),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function h(){var a,b,c,d,e,f,g,h,k,l;if(a=qg,b=j(),null!==b){if(c=qg,d=hc(),null!==d)if(e=i(),null!==e)if(f=mc(),null!==f)if(g=jc(),null!==g){for(h=[],k=m();null!==k;)h.push(k),k=m();null!==h?(k=fc(),null!==k?(l=j(),null!==l?(rg=c,d=Cc(l),null===d?(qg=c,c=d):c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)}else qg=c,c=Ac;else qg=c,c=Ac;else qg=c,c=Ac;else qg=c,c=Ac;null===c&&(c=Bc),null!==c?(rg=a,b=Dc(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function B(){var b,c,d,f;return b=qg,a.substr(qg,2)===gd?(c=gd,qg+=2):(c=null,0===wg&&e(hd)),null!==c?(d=mc(),null!==d?(f=l(),null!==f?(rg=b,c=_c(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function C(){var b,c,d,f,g,i,j;if(b=qg,c=B(),null===c&&(c=eb()),null!==c&&(rg=b,c=id(c)),null===c?(qg=b,b=c):b=c,null===b&&(b=qg,c=mc(),null!==c?(93===a.charCodeAt(qg)?(d=bd,qg++):(d=null,0===wg&&e(cd)),null!==d?(f=jc(),null!==f?(g=B(),null===g&&(g=eb()),null!==g?(i=hc(),null!==i?(rg=b,c=id(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b)){if(b=qg,c=jc(),null!==c){for(d=qg,f=[],g=m();null!==g;)f.push(g),g=m();null!==f?(g=fc(),null!==g?(i=h(),null!==i?(j=hc(),null!==j?(f=[f,g,i,j],d=f):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac),null===d&&(d=Bc),null!==d?(rg=b,c=jd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;null===b&&(b=qg,c=mc(),null!==c?(93===a.charCodeAt(qg)?(d=bd,qg++):(d=null,0===wg&&e(cd)),null!==d?(f=jc(),null!==f?(g=h(),null!==g?(i=hc(),null!==i?(rg=b,c=kd(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac))}return b}function D(){var a,b,c;return a=qg,b=Gb(),null!==b?(c=A(),null!==c?(rg=a,b=ld(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function E(){var b,c,d,f,g,h;return b=qg,62===a.charCodeAt(qg)?(c=Mc,qg++):(c=null,0===wg&&e(Nc)),null===c&&(c=Bc),null!==c?(d=qg,wg++,f=qg,91===a.charCodeAt(qg)?(g=md,qg++):(g=null,0===wg&&e(nd)),null!==g?(h=jc(),null!==h?(g=[g,h],f=g):(qg=f,f=Ac)):(qg=f,f=Ac),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(f=mc(),null!==f?(g=F(),null!==g?(rg=b,c=od(c,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function F(){var b,c,d,f,g,h,i,j,k,l;if(b=qg,c=V(),null!==c)if(d=qg,wg++,a.substr(qg,2)===pd?(f=pd,qg+=2):(f=null,0===wg&&e(qd)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d){for(f=[],g=K();null!==g;)f.push(g),g=K();null!==f?(g=M(),null===g&&(g=Bc),null!==g?(rg=b,c=rd(c,f,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b)if(b=qg,c=V(),null!==c)if(d=mc(),null!==d)if(91===a.charCodeAt(qg)?(f=md,qg++):(f=null,0===wg&&e(nd)),null!==f)if(g=mc(),null!==g){for(h=[],i=jc();null!==i;)h.push(i),i=jc();if(null!==h){for(i=[],j=gc();null!==j;)i.push(j),j=gc();if(null!==i)if(j=mc(),null!==j){for(k=[],l=L();null!==l;)k.push(l),l=L();null!==k?(l=N(),null===l&&(l=Bc),null!==l?(rg=b,c=rd(c,k,l),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac}else qg=b,b=Ac}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function G(){var a,b,c,d;return a=qg,b=mc(),null!==b?(c=qg,d=Ub(),null!==d&&(rg=c,d=sd(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Vb(),null!==d&&(rg=c,d=td(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=ud(d)),null===d?(qg=c,c=d):c=d)),null!==c?(rg=a,b=vd(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function H(){var a;return a=I(),null===a&&(a=J()),a}function I(){var a,b,c,d;if(a=qg,b=Vb(),null!==b){for(c=[],d=Wb();null!==d;)c.push(d),d=Wb();null!==c?(rg=a,b=wd(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function J(){var a,b,c;if(a=qg,b=[],c=Wb(),null!==c)for(;null!==c;)b.push(c),c=Wb();else b=Ac;return null!==b&&(rg=a,b=xd(b)),null===b?(qg=a,a=b):a=b,a}function K(){var a,b,c,d;return a=qg,b=G(),null===b&&(b=qg,c=lc(),null!==c?(d=S(),null!==d?(rg=b,c=yd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)),null!==b&&(rg=a,b=zd(b)),null===b?(qg=a,a=b):a=b,a}function L(){var a,b,c,d,e;if(a=qg,b=G(),null===b)if(b=qg,c=S(),null!==c){for(d=[],e=jc();null!==e;)d.push(e),e=jc();null!==d?(rg=b,c=yd(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;return null!==b&&(rg=a,b=zd(b)),null===b?(qg=a,a=b):a=b,a}function M(){var a,b,c;if(a=qg,b=[],c=Q(),null!==c)for(;null!==c;)b.push(c),c=Q();else b=Ac;return null!==b&&(rg=a,b=Ad(b)),null===b?(qg=a,a=b):a=b,a}function N(){var b,c,d,f,g;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c){for(d=[],32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));null!==f;)d.push(f),32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));if(null!==d){if(f=[],g=R(),null!==g)for(;null!==g;)f.push(g),g=R();else f=Ac;null!==f?(rg=b,c=Ad(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac;return b}function O(){var b,c,d,f,g;if(wg++,a.substr(qg,2)===Cd?(b=Cd,qg+=2):(b=null,0===wg&&e(Dd)),null===b&&(46===a.charCodeAt(qg)?(b=Ed,qg++):(b=null,0===wg&&e(Fd)),null===b)){if(b=qg,c=qg,d=[],Gd.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Hd)),null!==f)for(;null!==f;)d.push(f),Gd.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Hd));else d=Ac;if(null!==d&&(d=a.substring(c,qg)),c=d,null!==c?(d=qg,wg++,61===a.charCodeAt(qg)?(f=Ec,qg++):(f=null,0===wg&&e(Fc)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(rg=b,c=Id(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b)if(b=qg,91===a.charCodeAt(qg)?(c=md,qg++):(c=null,0===wg&&e(nd)),null!==c){for(d=qg,f=[],Jd.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Kd));null!==g;)f.push(g),Jd.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Kd));null!==f&&(f=a.substring(d,qg)),d=f,null!==d?(93===a.charCodeAt(qg)?(f=bd,qg++):(f=null,0===wg&&e(cd)),null!==f?(rg=b,c=Ld(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac}return wg--,null===b&&(c=null,0===wg&&e(Bd)),b}function P(){var b,c,d;for(wg++,b=qg,c=[],d=Zb(),null===d&&(58===a.charCodeAt(qg)?(d=Nd,qg++):(d=null,0===wg&&e(Od)));null!==d;)c.push(d),d=Zb(),null===d&&(58===a.charCodeAt(qg)?(d=Nd,qg++):(d=null,0===wg&&e(Od)));return null!==c&&(c=a.substring(b,qg)),b=c,wg--,null===b&&(c=null,0===wg&&e(Md)),b}function Q(){var b,c,d,f,g,h;return b=qg,c=lc(),null!==c?(d=qg,f=P(),null!==f?(61===a.charCodeAt(qg)?(g=Ec,qg++):(g=null,0===wg&&e(Fc)),null!==g?(h=S(),null!==h?(f=[f,g,h],d=f):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac),null!==d?(rg=b,c=Pd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function R(){var b,c,d,f,g,h,i;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c)if(d=mc(),null!==d)if(f=qg,g=P(),null!==g?(61===a.charCodeAt(qg)?(h=Ec,qg++):(h=null,0===wg&&e(Fc)),null!==h?(i=S(),null!==i?(g=[g,h,i],f=g):(qg=f,f=Ac)):(qg=f,f=Ac)):(qg=f,f=Ac),null!==f){for(g=[],h=jc();null!==h;)g.push(h),h=jc();null!==g?(rg=b,c=Qd(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function S(){var a,b,c,d;return a=Y(),null===a&&(a=X(),null===a&&(a=V(),null===a&&(a=W(),null===a&&(a=qg,b=Cb(),null!==b?(c=F(),null!==c?(d=Db(),null!==d?(rg=a,b=Rd(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac))))),a}function T(){var a,b,c,d,e,f;if(a=qg,b=O(),null!==b){for(c=[],d=qg,e=U(),null!==e?(f=O(),null!==f?(rg=d,e=Sd(e,f),null===e?(qg=d,d=e):d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=U(),null!==e?(f=O(),null!==f?(rg=d,e=Sd(e,f),null===e?(qg=d,d=e):d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Td(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function U(){var b,c;return wg++,Vd.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Wd)),wg--,null===b&&(c=null,0===wg&&e(Ud)),b}function V(){var a,b;return a=qg,b=T(),null!==b&&(rg=a,b=Xd(b)),null===b?(qg=a,a=b):a=b,a}function W(){var a,b;return a=qg,b=_(),null!==b&&(rg=a,b=Yd(b)),null===b?(qg=a,a=b):a=b,a}function X(){var a,b;return a=qg,b=$(),null!==b&&(rg=a,b=Zd(b)),null===b?(qg=a,a=b):a=b,a}function Y(){var a,b;return a=qg,b=Z(),null!==b&&(rg=a,b=$d(b)),null===b?(qg=a,a=b):a=b,a}function Z(){var b,c;return wg++,a.substr(qg,4)===ae?(b=ae,qg+=4):(b=null,0===wg&&e(be)),null===b&&(a.substr(qg,5)===ce?(b=ce,qg+=5):(b=null,0===wg&&e(de))),wg--,null===b&&(c=null,0===wg&&e(_d)),b}function $(){var b,c,d,f,g,h;if(wg++,b=qg,c=qg,d=qg,45===a.charCodeAt(qg)?(f=fe,qg++):(f=null,0===wg&&e(ge)),null===f&&(f=Bc),null!==f){if(g=[],he.test(a.charAt(qg))?(h=a.charAt(qg),qg++):(h=null,0===wg&&e(ie)),null!==h)for(;null!==h;)g.push(h),he.test(a.charAt(qg))?(h=a.charAt(qg),qg++):(h=null,0===wg&&e(ie));else g=Ac;null!==g?(f=[f,g],d=f):(qg=d,d=Ac)}else qg=d,d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=je(c)),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(ee)),b}function _(){var b,c,d,f,g;return b=qg,c=qg,34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le)),null!==d?(f=ab(),null!==f?(34===a.charCodeAt(qg)?(g=ke,qg++):(g=null,0===wg&&e(le)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=qg,39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne)),null!==d?(f=bb(),null!==f?(39===a.charCodeAt(qg)?(g=me,qg++):(g=null,0===wg&&e(ne)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)),null!==c&&(rg=b,c=oe(c)),null===c?(qg=b,b=c):b=c,b}function ab(){var b,c,d,f,g;for(b=qg,c=[],d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(pe.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(qe)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(pe.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(qe)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);return null!==c&&(c=a.substring(b,qg)),b=c}function bb(){var b,c,d,f,g;for(b=qg,c=[],d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(re.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(se)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(re.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(se)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);return null!==c&&(c=a.substring(b,qg)),b=c}function cb(){var a,b,c,d,e;if(a=qg,b=fc(),null!==b)if(c=fb(),null!==c){for(d=[],e=cb();null!==e;)d.push(e),e=cb();null!==d?(e=kc(),null!==e?(rg=a,b=te(b,c,d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return null===a&&(a=fb()),a}function db(){var b,c,d;return b=qg,ue.test(a.charAt(qg))?(c=a.charAt(qg),qg++):(c=null,0===wg&&e(ve)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=Id(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=qg,wg++,60===a.charCodeAt(qg)?(d=we,qg++):(d=null,0===wg&&e(xe)),wg--,null!==d?(qg=c,c=Bc):c=Ac,null!==c&&(rg=b,c=ye()),null===c?(qg=b,b=c):b=c),b}function eb(){var a,b,c,d,e,f,g;if(a=qg,b=db(),null!==b)if(c=fb(),null!==c){if(d=qg,e=fc(),null!==e){for(f=[],g=cb();null!==g;)f.push(g),g=cb();null!==f?(g=hc(),null!==g?(e=[e,f,g],d=e):(qg=d,d=Ac)):(qg=d,d=Ac)}else qg=d,d=Ac;null===d&&(d=Bc),null!==d?(rg=a,b=ze(b,c,d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return a}function fb(){var a,b,c,d,e,f;if(a=qg,b=rb(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=rb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=rb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(d=jc(),null!==d?(rg=a,b=Ae(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function gb(){var b,c,d,f;return b=qg,34===a.charCodeAt(qg)?(c=ke,qg++):(c=null,0===wg&&e(le)),null!==c?(d=hb(),null!==d?(34===a.charCodeAt(qg)?(f=ke,qg++):(f=null,0===wg&&e(le)),null!==f?(rg=b,c=zd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,39===a.charCodeAt(qg)?(c=me,qg++):(c=null,0===wg&&e(ne)),null!==c?(d=ib(),null!==d?(39===a.charCodeAt(qg)?(f=me,qg++):(f=null,0===wg&&e(ne)),null!==f?(rg=b,c=zd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)),b}function hb(){var a,b,c,d,e,f;if(a=qg,b=nb(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=nb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=nb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Be(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function ib(){var a,b,c,d,e,f;if(a=qg,b=ob(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=ob(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=ob(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Be(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function jb(){var a;return a=mb(),null===a&&(a=lb()),a}function kb(){var b,c,d,f,g;if(b=qg,c=qg,wg++,123===a.charCodeAt(qg)?(d=Ce,qg++):(d=null,0===wg&&e(De)),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c){for(d=qg,f=[],Ee.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Fe));null!==g;)f.push(g),Ee.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Fe));null!==f&&(f=a.substring(d,qg)),d=f,null!==d?(rg=b,c=Ge(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;return b}function lb(){var a,b,c,d,e,f;return a=qg,b=xb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Ab(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),null===a&&(a=qg,b=Eb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Fb(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)),a}function mb(){var a,b,c,d,e,f;return a=qg,b=yb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Bb(),null!==f?(rg=a,b=Ie(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function nb(){var b,c,d,e;if(b=qg,c=qg,d=[],e=pb(),null!==e)for(;null!==e;)d.push(e),e=pb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function ob(){var b,c,d,e;if(b=qg,c=qg,d=[],e=qb(),null!==e)for(;null!==e;)d.push(e),e=qb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function pb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),null===d&&(34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le))),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function qb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),null===d&&(39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne))),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function rb(){var b,c,d,e;if(b=qg,c=qg,d=[],e=sb(),null!==e)for(;null!==e;)d.push(e),e=sb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function sb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function tb(){var a;return a=yb(),null===a&&(a=xb(),null===a&&(a=Eb(),null===a&&(a=kc(),null===a&&(a=jc())))),a}function ub(){var a,b,c,d,e,f;return a=qg,b=wb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=zb(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function vb(){var a;return a=ub(),null===a&&(a=mb(),null===a&&(a=lb())),a}function wb(){var b,c;return wg++,123===a.charCodeAt(qg)?(b=Ce,qg++):(b=null,0===wg&&e(De)),wg--,null===b&&(c=null,0===wg&&e(Le)),b}function xb(){var b,c;return wg++,a.substr(qg,2)===Ne?(b=Ne,qg+=2):(b=null,0===wg&&e(Oe)),wg--,null===b&&(c=null,0===wg&&e(Me)),b}function yb(){var b,c;return wg++,a.substr(qg,3)===Qe?(b=Qe,qg+=3):(b=null,0===wg&&e(Re)),wg--,null===b&&(c=null,0===wg&&e(Pe)),b}function zb(){var b,c;return wg++,125===a.charCodeAt(qg)?(b=Te,qg++):(b=null,0===wg&&e(Ue)),wg--,null===b&&(c=null,0===wg&&e(Se)),b}function Ab(){var b,c;return wg++,a.substr(qg,2)===We?(b=We,qg+=2):(b=null,0===wg&&e(Xe)),wg--,null===b&&(c=null,0===wg&&e(Ve)),b}function Bb(){var b,c;return wg++,a.substr(qg,3)===Ze?(b=Ze,qg+=3):(b=null,0===wg&&e($e)),wg--,null===b&&(c=null,0===wg&&e(Ye)),b}function Cb(){var b,c;return wg++,40===a.charCodeAt(qg)?(b=af,qg++):(b=null,0===wg&&e(bf)),wg--,null===b&&(c=null,0===wg&&e(_e)),b}function Db(){var b,c;return wg++,41===a.charCodeAt(qg)?(b=df,qg++):(b=null,0===wg&&e(ef)),wg--,null===b&&(c=null,0===wg&&e(cf)),b}function Eb(){var b,c;return wg++,a.substr(qg,2)===gf?(b=gf,qg+=2):(b=null,0===wg&&e(hf)),wg--,null===b&&(c=null,0===wg&&e(ff)),b}function Fb(){var b,c;return wg++,125===a.charCodeAt(qg)?(b=Te,qg++):(b=null,0===wg&&e(Ue)),wg--,null===b&&(c=null,0===wg&&e(jf)),b}function Gb(){var b,c,d;return b=qg,a.substr(qg,2)===kf?(c=kf,qg+=2):(c=null,0===wg&&e(lf)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=mf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,61===a.charCodeAt(qg)?(c=Ec,qg++):(c=null,0===wg&&e(Fc)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=nf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)),b}function Hb(){var b,c,d,f,g;return b=qg,c=ac(),null===c&&(c=Bc),null!==c?(d=H(),null===d&&(d=Bc),null!==d?(47===a.charCodeAt(qg)?(f=Tc,qg++):(f=null,0===wg&&e(Uc)),null===f&&(f=Bc),null!==f?(rg=qg,g=of(c,d),g=g?Bc:Ac,null!==g?(c=[c,d,f,g],b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Ib(){var b,c,d,f,g,h,i;if(b=qg,c=Hb(),null!==c)if(a.substr(qg,2)===pd?(d=pd,qg+=2):(d=null,0===wg&&e(qd)),null!==d){for(f=[],g=jc();null!==g;)f.push(g),g=jc();if(null!==f){for(g=[],h=vb();null!==h;)g.push(h),h=vb();if(null!==g){if(h=[],i=Kb(),null!==i)for(;null!==i;)h.push(i),i=Kb();else h=Ac;null!==h?(rg=b,c=pf(c,g,h),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b)if(b=qg,c=Hb(),null!==c){for(d=[],f=vb();null!==f;)d.push(f),f=vb();if(null!==d){for(f=[],g=Jb();null!==g;)f.push(g),g=Jb();null!==f?(rg=b,c=pf(c,d,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac;return b}function H(){var a,b,c,d;if(a=qg,b=[],c=qg,d=Vb(),null!==d&&(rg=c,d=qf(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=rf(d)),null===d?(qg=c,c=d):c=d),null!==c)for(;null!==c;)b.push(c),c=qg,d=Vb(),null!==d&&(rg=c,d=qf(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=rf(d)),null===d?(qg=c,c=d):c=d);else b=Ac;return null!==b&&(rg=a,b=sf(b)),null===b?(qg=a,a=b):a=b,a}function Jb(){var b,c,d;if(b=qg,c=[],32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null!==d)for(;null!==d;)c.push(d),32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc));else c=Ac;return null!==c?(d=Ob(),null===d&&(d=Pb(),null===d&&(d=Rb(),null===d&&(d=Sb(),null===d&&(d=Tb())))),null!==d?(rg=b,c=tf(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Kb(){var b,c,d,f,g,h;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c){for(d=[],32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));null!==f;)d.push(f),32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));if(null!==d)if(f=Ob(),null===f&&(f=Pb(),null===f&&(f=Rb(),null===f&&(f=Sb(),null===f&&(f=Tb())))),null!==f){for(g=[],h=jc();null!==h;)g.push(h),h=jc();null!==g?(rg=b,c=tf(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac}else qg=b,b=Ac;return b}function Lb(){var b;return uf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(vf)),null===b&&(b=dc()),b}function Mb(){var a,b;return a=Nb(),null===a&&(a=qg,b=V(),null!==b&&(rg=a,b=wf(b)),null===b?(qg=a,a=b):a=b),a}function Nb(){var b,c,d,f,g;return b=qg,c=qg,34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le)),null!==d?(f=E(),null!==f?(34===a.charCodeAt(qg)?(g=ke,qg++):(g=null,0===wg&&e(le)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=qg,39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne)),null!==d?(f=E(),null!==f?(39===a.charCodeAt(qg)?(g=me,qg++):(g=null,0===wg&&e(ne)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)),null!==c&&(rg=b,c=oe(c)),null===c?(qg=b,b=c):b=c,b}function Ob(){var b,c,d,f;return b=qg,c=ec(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=Mb(),null!==f?(rg=b,c=xf(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Pb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(a.substr(qg,4)===ae?(f=ae,qg+=4):(f=null,0===wg&&e(be)),null===f&&(a.substr(qg,5)===ce?(f=ce,qg+=5):(f=null,0===wg&&e(de))),null!==f?(rg=b,c=yf(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Qb(){var b,c,d,f,g,h;if(b=qg,123===a.charCodeAt(qg)?(c=Ce,qg++):(c=null,0===wg&&e(De)),null!==c)if(d=mc(),null!==d){if(f=qg,g=[],h=Lb(),null===h&&(32===a.charCodeAt(qg)?(h=Yc,qg++):(h=null,0===wg&&e(Zc))),null!==h)for(;null!==h;)g.push(h),h=Lb(),null===h&&(32===a.charCodeAt(qg)?(h=Yc,qg++):(h=null,0===wg&&e(Zc)));else g=Ac;null!==g&&(g=a.substring(f,qg)),f=g,null!==f?(g=mc(),null!==g?(125===a.charCodeAt(qg)?(h=Te,qg++):(h=null,0===wg&&e(Ue)),null!==h?(rg=b,c=zf(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b){if(b=qg,c=[],d=Lb(),null!==d)for(;null!==d;)c.push(d),d=Lb();else c=Ac;null!==c&&(c=a.substring(b,qg)),b=c}return b}function Rb(){var b,c,d,f,g,h;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=Qb(),null!==f?(g=qg,wg++,33===a.charCodeAt(qg)?(h=Af,qg++):(h=null,0===wg&&e(Bf)),wg--,null===h?g=Bc:(qg=g,g=Ac),null!==g?(rg=qg,h=Cf(c,f),h=h?Bc:Ac,null!==h?(rg=b,c=Df(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Sb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=V(),null!==f?(rg=b,c=Ef(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Tb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=gb(),null!==f?(rg=b,c=Ff(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Ub(){var b,c,d;return b=qg,37===a.charCodeAt(qg)?(c=Gf,qg++):(c=null,0===wg&&e(Hf)),null!==c?(d=Xb(),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b
2
- }function Vb(){var b,c,d;return b=qg,35===a.charCodeAt(qg)?(c=If,qg++):(c=null,0===wg&&e(Jf)),null!==c?(d=Xb(),null!==d?(rg=b,c=Kf(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Wb(){var b,c,d;return b=qg,46===a.charCodeAt(qg)?(c=Ed,qg++):(c=null,0===wg&&e(Fd)),null!==c?(d=Xb(),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Xb(){var a,b;return wg++,a=Yb(),wg--,null===a&&(b=null,0===wg&&e(Lf)),a}function Yb(){var b,c,d;if(b=qg,c=[],d=Zb(),null!==d)for(;null!==d;)c.push(d),d=Zb();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c}function Zb(){var b;return Mf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Nf)),null===b&&(b=$b()),b}function $b(){var b;return Of.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Pf)),b}function _b(){var b,c,d;if(b=qg,c=[],d=cc(),null!==d)for(;null!==d;)c.push(d),d=cc();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c}function ac(){var b,c,d,f;return wg++,b=qg,37===a.charCodeAt(qg)?(c=Gf,qg++):(c=null,0===wg&&e(Hf)),null!==c?(d=mc(),null!==d?(f=_b(),null!==f?(rg=b,c=Id(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=bc()),wg--,null===b&&(c=null,0===wg&&e(Qf)),b}function bc(){var a,b,c;return a=qg,b=_b(),null!==b?(rg=qg,c=Rf(b),c=c?Bc:Ac,null!==c?(rg=a,b=Sf(b),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function cc(){var b;return Mf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Nf)),null===b&&(b=dc()),b}function dc(){var b,c,d,f;return b=qg,58===a.charCodeAt(qg)?(c=Nd,qg++):(c=null,0===wg&&e(Od)),null!==c?(d=qg,wg++,32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(rg=b,c=_c(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function ec(){var a,b,c;return wg++,a=qg,b=_b(),null!==b?(rg=qg,c=Uf(b),c=c?Bc:Ac,null!==c?(rg=a,b=Sf(b),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),wg--,null===a&&(b=null,0===wg&&e(Tf)),a}function fc(){var a,b,c;return a=qg,b=gc(),null!==b?(c=lc(),null!==c?(rg=a,b=Id(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function gc(){var b,c;return wg++,b=qg,61423===a.charCodeAt(qg)?(c=Wf,qg++):(c=null,0===wg&&e(Xf)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(Vf)),b}function hc(){var b,c;return wg++,b=qg,61438===a.charCodeAt(qg)?(c=$f,qg++):(c=null,0===wg&&e(_f)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(Zf)),b}function ic(){var b,c;return wg++,b=qg,61422===a.charCodeAt(qg)?(c=bg,qg++):(c=null,0===wg&&e(cg)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(ag)),b}function jc(){var b,c,d,f;return wg++,b=qg,13===a.charCodeAt(qg)?(c=eg,qg++):(c=null,0===wg&&e(fg)),null===c&&(c=Bc),null!==c?(61439===a.charCodeAt(qg)?(d=gg,qg++):(d=null,0===wg&&e(hg)),null!==d?(10===a.charCodeAt(qg)?(f=ig,qg++):(f=null,0===wg&&e(jg)),null!==f?(rg=b,c=mf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),wg--,null===b&&(c=null,0===wg&&e(dg)),b}function kc(){var a,b;return wg++,a=hc(),null===a&&(a=ic()),wg--,null===a&&(b=null,0===wg&&e(kg)),a}function lc(){var b,c,d;if(wg++,b=qg,c=[],d=nc(),null!==d)for(;null!==d;)c.push(d),d=nc();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c,wg--,null===b&&(c=null,0===wg&&e(lg)),b}function mc(){var a,b;for(wg++,a=[],b=nc();null!==b;)a.push(b),b=nc();return wg--,null===a&&(b=null,0===wg&&e(mg)),a}function nc(){var b,c;return wg++,og.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(pg)),wg--,null===b&&(c=null,0===wg&&e(ng)),b}function oc(){var b,c,d;return b=qg,c=qg,wg++,d=gc(),null===d&&(d=hc(),null===d&&(d=jc())),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function pc(){var b,c,d;for(b=qg,c=[],d=oc();null!==d;)c.push(d),d=oc();return null!==c&&(c=a.substring(b,qg)),b=c}function qc(a,b,c){if(Gg){var d=c?Eg:Fg;return new zg.MustacheNode(a,b,d,{left:!1,right:!1})}return new zg.MustacheNode(a,b,!c)}function rc(a,b){return Gg?new zg.ProgramNode(a,{left:!1,right:!1},b,null):new zg.ProgramNode(a,b)}function sc(a,b,c){var d=a.hash;if(c){d=d||new zg.HashNode([]);for(var e=0;e<c.length;++e)d.pairs.push(c[e])}var f=[a.id].concat(a.params);return f.unshift(new zg.IdNode([{part:b}])),qc(f,d,a.escaped)}function tc(a,b){var c=[];a&&c.push(a);for(var d=0;d<b.length;++d){var e=b[d];c.push(e[0]),e[1]&&c.push(e[1])}return c}function uc(a,b,c){for(var d=[],e={},f=!1,g=0;g<b.length;++g){var h=b[g],i=h[0];"tagName"==i||"elementId"==i||"class"==i?(f=!0,e[i]=e[i]||[],e[i].push(h[1])):d.push(h)}if(f){c=c||new zg.HashNode([]);for(var j in e)e.hasOwnProperty(j)&&c.pairs.push([j,new zg.StringNode(e[j].join(" "))])}return d.unshift(a),Hg?new zg.SexprNode(d,c):{id:d[0],params:d.slice(1),hash:c}}function vc(a,b,c){var d,e=a[0]||"div",f=a[1]||[],g=f[0],h=f[1]||[],i=[];d=function(a){var b,c,d,e;if(h.length&&a.id&&"bind-attr"===a.id.string&&a.hash&&a.hash.pairs&&(b=a.hash.pairs))for(var f in b)b.hasOwnProperty(f)&&(c=b[f],c&&"class"===c[0]&&c[1]instanceof zg.StringNode&&(d=c[1],e=d.original,d.original=d.string=d.stringModeValue=":"+h.join(" :")+" "+e,h=[]))},i.push(new zg.ContentNode("<"+e)),g&&i.push(new zg.ContentNode(' id="'+g+'"'));for(var j=0;j<b.length;++j)d(b[j]),i.push(new zg.ContentNode(" ")),i.push(b[j]);for(var j=0;j<c.length;++j){for(var k in c[j])c[j][k]instanceof zg.MustacheNode&&d(c[j][k]);if(h.length){var l=c[j][1]&&'class="'===c[j][1].string;if(l&&4===c[j].length){if("mustache"==c[j][2].type){var m,n,o,p;m=c[j][2],n=":"+h.join(" :")+" "+m.id.original,o=new zg.HashNode([["class",new zg.StringNode(n)]]),p=[new zg.IdNode([{part:"bind-attr"}])].concat(m.params),c[j]=[c[j][0],qc(p,o,!0)]}else h.push(c[j][2].string),c[j][2].string=h.join(" ");h=[]}}i=i.concat(c[j])}h&&h.length&&i.push(new zg.ContentNode(' class="'+h.join(" ")+'"'));var q=!!a[2];return Ag[e]||q?(i.push(new zg.ContentNode(" />")),[i]):(i.push(new zg.ContentNode(">")),[i,new zg.ContentNode("</"+e+">")])}var wc,xc=arguments.length>1?arguments[1]:{},yc={start:g},zc=g,Ac=null,Bc="",Cc=function(a){return a},Dc=function(a,b){return rc(a,b||[])},Ec="=",Fc='"="',Gc="else",Hc='"else"',Ic=function(a){for(var b=[],c=[],d=0;d<a.length;++d)for(var e=a[d],f=0;f<e.length;++f){var g=e[f];"content"!==g.type?(c.length&&(b.push(new zg.ContentNode(c.join(""))),c=[]),b.push(g)):g.string&&c.push(g.string)}return c.length&&b.push(new zg.ContentNode(c.join(""))),b},Jc="BeginStatement",Kc="ContentStatement",Lc=function(){return[]},Mc=">",Nc='">"',Oc=function(a,b){return[new zg.PartialNode(a,b[0])]},Pc=/^[a-zA-Z0-9_$-\/]/,Qc="[a-zA-Z0-9_$-\\/]",Rc=function(a){return new zg.PartialNameNode(new zg.StringNode(a))},Sc=function(a){return[a]},Tc="/",Uc='"/"',Vc=/^[A-Z]/,Wc="[A-Z]",Xc=function(a){var b="view";if(a.mustache){var c=a.mustache.id.string.charAt(0);return yg&&c.match(/[A-Z]/)?(a.mustache=sc(a.mustache,b),a):a}var c=a.id.string.charAt(0);return yg&&c.match(/[A-Z]/)?sc(a,b):a},Yc=" ",Zc='" "',$c=function(a,b){if(b){b=b[1];for(var c=0,d=b.length;d>c;++c)a.push(new zg.ContentNode(" ")),a=a.concat(b[c])}return a},_c=function(a){return a},ad=function(a){return[a]},bd="]",cd='"]"',dd=function(a){return a},ed=function(a,b){var c=a[0];return b&&(c=c.concat(b)),a[1]&&c.push(a[1]),c},fd=function(a,b){if(!b)return a;var c=a.id;Gg&&(c.path=a.id,c.strip={left:!1,right:!1});var d=new zg.BlockNode(a,b,b.inverse,c);return d.path=a.id,d},gd=": ",hd='": "',id=function(a){return rc(a,[])},jd=function(a){return a&&a[2]},kd=function(a){return a},ld=function(a,b){var c=b.mustache||b;return c.escaped=a,b},md="[",nd='"["',od=function(a,b){if(a){var c=new zg.PartialNameNode(new zg.StringNode(b.id.string));return new zg.PartialNode(c,b.params[0])}var d;d=Hg?qc(b,null,!0):qc([b.id].concat(b.params),b.hash,!0);var e=b.id._emblemSuffixModifier;return"!"===e?sc(d,"unbound"):"?"===e?sc(d,"if"):"^"===e?sc(d,"unless"):d},pd=" [",qd='" ["',rd=function(a,b,c){return uc(a,b,c)},sd=function(a){return["tagName",a]},td=function(a){return["elementId",a]},ud=function(a){return["class",a]},vd=function(a){return a},wd=function(a,b){return[a,b]},xd=function(a){return[null,a]},yd=function(a){return a},zd=function(a){return a},Ad=function(a){return new zg.HashNode(a)},Bd="PathIdent",Cd="..",Dd='".."',Ed=".",Fd='"."',Gd=/^[a-zA-Z0-9_$\-!?\^@]/,Hd="[a-zA-Z0-9_$\\-!?\\^@]",Id=function(a){return a},Jd=/^[^\]]/,Kd="[^\\]]",Ld=function(a){return a},Md="Key",Nd=":",Od='":"',Pd=function(a){return[a[0],a[2]]},Qd=function(a){return[a[0],a[2]]},Rd=function(a){return a.isHelper=!0,a},Sd=function(a,b){return{part:b,separator:a}},Td=function(a,b){for(var c=[{part:a}],d=0;d<b.length;++d)c.push(b[d]);return c},Ud="PathSeparator",Vd=/^[\/.]/,Wd="[\\/.]",Xd=function(a){var b=a[a.length-1];if("@"===b.part.charAt(0)){b.part=b.part.slice(1);var c=new zg.IdNode(a),d=new zg.DataNode(c);return d}var e,f;(e=b.part.match(/[!\?\^]$/))&&(f=e[0],b.part=b.part.slice(0,-1));var c=new zg.IdNode(a);return c._emblemSuffixModifier=f,c},Yd=function(a){return new zg.StringNode(a)},Zd=function(a){return new zg.IntegerNode(a)},$d=function(a){return new zg.BooleanNode(a)},_d="Boolean",ae="true",be='"true"',ce="false",de='"false"',ee="Integer",fe="-",ge='"-"',he=/^[0-9]/,ie="[0-9]",je=function(a){return parseInt(a)},ke='"',le='"\\""',me="'",ne='"\'"',oe=function(a){return a[1]},pe=/^[^"}]/,qe='[^"}]',re=/^[^'}]/,se="[^'}]",te=function(a,b,c){b.unshift(new zg.ContentNode(a));for(var d=0;d<c.length;++d)b.push(new zg.ContentNode(a)),b=b.concat(c[d]),b.push("\n");return b},ue=/^[|`']/,ve="[|`']",we="<",xe='"<"',ye=function(){return"<"},ze=function(a,b,c){if((b.length||!c)&&b.push("\n"),c){c=c[1];for(var d=0;d<c.length;++d)b=b.concat(c[d]),b.push("\n")}for(var e=[],f="`"!==a,d=0;d<b.length;++d){var g=b[d];"\n"==g?f||e.push(new zg.ContentNode("\n")):e.push(g)}return"'"===a&&e.push(new zg.ContentNode(" ")),e},Ae=function(a,b){return tc(a,b)},Be=function(a,b){return tc(a,b)},Ce="{",De='"{"',Ee=/^[^}]/,Fe="[^}]",Ge=function(a){return a="="+a,c.parse(a).statements[0]},He=function(a){return a.escaped=!0,a},Ie=function(a){return a.escaped=!1,a},Je=function(a){return new zg.ContentNode(a)},Ke="any character",Le="SingleMustacheOpen",Me="DoubleMustacheOpen",Ne="{{",Oe='"{{"',Pe="TripleMustacheOpen",Qe="{{{",Re='"{{{"',Se="SingleMustacheClose",Te="}",Ue='"}"',Ve="DoubleMustacheClose",We="}}",Xe='"}}"',Ye="TripleMustacheClose",Ze="}}}",$e='"}}}"',_e="SubexpressionOpen",af="(",bf='"("',cf="SubexpressionClose",df=")",ef='")"',ff="InterpolationOpen",gf="#{",hf='"#{"',jf="InterpolationClose",kf="==",lf='"=="',mf=function(){return!1},nf=function(){return!0},of=function(a,b){return a||b},pf=function(a,b,c){return vc(a,b,c)},qf=function(a){return{shorthand:a,id:!0}},rf=function(a){return{shorthand:a}},sf=function(a){for(var b,c=[],d=0,e=a.length;e>d;++d){var f=a[d];f.id?b=f.shorthand:c.push(f.shorthand)}return[b,c]},tf=function(a){return a.length?[new zg.ContentNode(" ")].concat(a):[]},uf=/^[A-Za-z.0-9_\-]/,vf="[A-Za-z.0-9_\\-]",wf=function(a){return qc([a],null,!0)},xf=function(a,b){return b.id=new zg.StringNode(b.id.string),[sc(b,"action",[["on",new zg.StringNode(a)]])]},yf=function(a,b){return"true"===b?[new zg.ContentNode(a)]:[]},zf=function(a){return a.replace(/ *$/,"")},Af="!",Bf='"!"',Cf=function(){return yg},Df=function(a,b){var c=new zg.HashNode([[a,new zg.StringNode(b)]]),d=[new zg.IdNode([{part:"bind-attr"}])],e=qc(d,c);return[e]},Ef=function(a,b){var c=qc([b],null,!0);return yg&&"!"===b._emblemSuffixModifier&&(c=sc(c,"unbound")),[new zg.ContentNode(a+'="'),c,new zg.ContentNode('"')]},Ff=function(a,b){var c=[new zg.ContentNode(a+'="')].concat(b);return c.concat([new zg.ContentNode('"')])},Gf="%",Hf='"%"',If="#",Jf='"#"',Kf=function(a){return a},Lf="CSSIdentifier",Mf=/^[_a-zA-Z0-9\-]/,Nf="[_a-zA-Z0-9\\-]",Of=/^[\x80-\xFF]/,Pf="[\\x80-\\xFF]",Qf="KnownHTMLTagName",Rf=function(a){return!!Bg[a]},Sf=function(a){return a},Tf="a JS event",Uf=function(a){return!!Cg[a]},Vf="INDENT",Wf="\uefef",Xf='"\\uEFEF"',Yf=function(){return""},Zf="DEDENT",$f="\ueffe",_f='"\\uEFFE"',ag="Unmatched DEDENT",bg="\uefee",cg='"\\uEFEE"',dg="LineEnd",eg="\r",fg='"\\r"',gg="\uefff",hg='"\\uEFFF"',ig="\n",jg='"\\n"',kg="ANYDEDENT",lg="RequiredWhitespace",mg="OptionalWhitespace",ng="InlineWhitespace",og=/^[ \t]/,pg="[ \\t]",qg=0,rg=0,sg=0,tg={line:1,column:1,seenCR:!1},ug=0,vg=[],wg=0;if("startRule"in xc){if(!(xc.startRule in yc))throw new Error("Can't start parsing from rule \""+xc.startRule+'".');zc=yc[xc.startRule]}var xg=c.handlebarsVariant,yg="Ember.Handlebars"===xg.JavaScriptCompiler.prototype.namespace,zg=xg.AST,Ag={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},Bg={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},Cg={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},Dg=String.fromCharCode(125),Eg=Dg+Dg,Fg=Eg+Dg,Gg=xg.VERSION.slice(0,3)>=1.1,Hg=xg.VERSION.slice(0,3)>=1.3;if(wc=zc(),null!==wc&&qg===a.length)return wc;throw f(vg),rg=Math.max(qg,ug),new b(vg,rg<a.length?a.charAt(rg):null,rg,d(rg).line,d(rg).column)}return a(b,Error),{SyntaxError:b,parse:d}}(),b.exports=c.Parser},{"./emblem":3}],5:[function(a){var b,c,d;d=a("StringScanner"),b=a("./emblem"),b.Preprocessor=c=function(){function a(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(a){throw new Error("Unexpected "+a)},this.output="",this.context.observe=function(a){var b;switch(b=this.peek(),a){case e:this.push(a);break;case c:b!==e&&this.err(a),this.pop();break;case"\r":"/"!==b&&this.err(a),this.pop();break;case"\n":"/"!==b&&this.err(a),this.pop();break;case"/":this.push(a);break;case"end-\\":"\\"!==b&&this.err(a),this.pop();break;default:throw new Error("undefined token observed: "+a)}return this},this.ss=this.StringScanner?new this.StringScanner(""):b.StringScanner?new b.StringScanner(""):new d("")}var c,e,f,g,h,i,j,k;return k="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",e="\uefef",c="\ueffe",g="\uefee",f="\uefff",h=RegExp("["+k+"\\r?\\n]*$"),i=RegExp("(?:["+k+"]*\\r?\\n)+"),a.prototype.p=function(a){return a&&(this.output+=a),a},a.prototype.scan=function(a){return this.p(this.ss.scan(a))},a.prototype.discard=function(a){return this.ss.scan(a)},j=function(a){return function(b){var d,j,l,m;for(a||(this.ss.concat(b),this.discard(i));!this.ss.eos();)switch(this.context.peek()){case null:case e:if(this.ss.bol()||this.discard(i)){if(this.discard(RegExp("["+k+"]*\\r?\\n"))){this.p(""+f+"\n");continue}if(null!=this.base){if(null==this.discard(this.base))throw new Error("inconsistent base indentation")}else d=this.discard(RegExp("["+k+"]*")),this.base=RegExp(""+d);if(0===this.indents.length)this.ss.check(RegExp("["+k+"]+"))&&(this.p(e),this.context.observe(e),this.indents.push(this.scan(RegExp("(["+k+"]+)"))));else if(l=this.indents[this.indents.length-1],j=this.ss.check(RegExp("("+l+")")))this.discard(j),this.ss.check(RegExp("(["+k+"]+)"))&&(this.p(e),this.context.observe(e),this.indents.push(j+this.scan(RegExp("(["+k+"]+)"))));else{for(;this.indents.length&&(l=this.indents[this.indents.length-1],!this.discard(RegExp("(?:"+l+")")));)this.context.observe(c),this.p(c),this.indents.pop();(m=this.discard(RegExp("["+k+"]+")))&&(this.output=this.output.slice(0,-1),this.output+=g,this.p(e),this.context.observe(e),this.indents.push(m))}}this.scan(/[^\r\n]+/),this.discard(/\r?\n/)&&this.p(""+f+"\n")}if(a){for(this.scan(h);this.context.length&&e===this.context.peek();)this.context.observe(c),this.p(c);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},a.prototype.processData=j(!1),a.prototype.processEnd=j(!0),a.processSync=function(b){var c;return b+="\n",c=new a,c.processData(b),c.processEnd(),c.output},a}()},{"./emblem":3,StringScanner:6}],6:[function(a,b){(function(){var a;a=function(){function a(a){this.str=null!=a?a:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset()}return a.prototype.bol=function(){return this.pos<=0||"\n"===this.str[this.pos-1]},a.prototype.captures=function(){return this.lastMatch.captures},a.prototype.check=function(a){var b;return 0!==this.str.substr(this.pos).search(a)?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),this.lastMatch.str)},a.prototype.checkUntil=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.captures=b.slice(1),this.lastMatch.str=this.str.substr(this.pos,c)+b[0])},a.prototype.clone=function(){var a,b,c,d;a=new this.constructor(this.str),a.pos=this.pos,a.lastMatch={},d=this.lastMatch;for(b in d)c=d[b],a.lastMatch[b]=c;return a},a.prototype.concat=function(a){return this.str+=a,this},a.prototype.eos=function(){return this.pos===this.str.length},a.prototype.exists=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),c)},a.prototype.getch=function(){return this.scan(/./)},a.prototype.match=function(){return this.lastMatch.str},a.prototype.matches=function(a){return this.check(a),this.matchSize()},a.prototype.matched=function(){return null!=this.lastMatch.str},a.prototype.matchSize=function(){return this.matched()?this.match().length:null},a.prototype.peek=function(a){return this.str.substr(this.pos,a)},a.prototype.pointer=function(){return this.pos},a.prototype.setPointer=function(a){return a=+a,0>a&&(a=0),a>this.str.length&&(a=this.str.length),this.pos=a},a.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},a.prototype.rest=function(){return this.str.substr(this.pos)},a.prototype.scan=function(a){var b;return b=this.check(a),null!=b&&(this.pos+=b.length),b},a.prototype.scanUntil=function(a){var b;return b=this.checkUntil(a),null!=b&&(this.pos+=b.length),b},a.prototype.skip=function(a){return this.scan(a),this.matchSize()},a.prototype.skipUntil=function(a){return this.scanUntil(a),this.matchSize()},a.prototype.string=function(){return this.str},a.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},a.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},a}(),a.prototype.beginningOfLine=a.prototype.bol,a.prototype.clear=a.prototype.terminate,a.prototype.dup=a.prototype.clone,a.prototype.endOfString=a.prototype.eos,a.prototype.exist=a.prototype.exists,a.prototype.getChar=a.prototype.getch,a.prototype.position=a.prototype.pointer,a.StringScanner=a,b.exports=a}).call(this)},{}]},{},[3]);
1
+ !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a){var b;b=a("./emblem"),b.throwCompileError=function(a,b){throw new Error("Emblem syntax error, line "+a+": "+b)},b.registerPartial=function(a,c,d){return d||(d=c,c=a,a=Handlebars),a.registerPartial(c,b.compile(a,d))},b.parse=function(a){var c,d,e,f,g;try{return g=b.Preprocessor.processSync(a),b.Parser.parse(g)}catch(h){if(c=h,c instanceof b.Parser.SyntaxError)return e=a.split("\n"),d=e[c.line-1],f=""+c.message+"\n"+d+"\n",f+=new Array(c.column).join("-"),f+="^",b.throwCompileError(c.line,f);throw c}},b.precompile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.precompile(e,!1)},b.compile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.compile(e,d)}},{"./emblem":3}],2:[function(a){var b,c,d,e;c=a("./emblem"),"undefined"!=typeof window&&null!==window&&(c.compileScriptTags=function(){if("undefined"==typeof Ember||null===Ember)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");return"undefined"!=typeof document&&null!==document?Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var a,b,d;return b=Ember.$(this),a="text/x-raw-handlebars"===b.attr("type")?Handlebars:Ember.Handlebars,d=b.attr("data-template-name")||b.attr("id")||"application",Ember.TEMPLATES[d]=c.compile(a,b.html()),b.remove()}):void 0},window.ENV||(window.ENV={}),b=window.ENV,b.EMBER_LOAD_HOOKS||(b.EMBER_LOAD_HOOKS={}),(d=b.EMBER_LOAD_HOOKS).application||(d.application=[]),(e=b.EMBER_LOAD_HOOKS)["Ember.Application"]||(e["Ember.Application"]=[]),b.EMBER_LOAD_HOOKS.application.push(c.compileScriptTags),b.EMBER_LOAD_HOOKS["Ember.Application"].push(function(a){return a.initializer?a.initializer({name:"emblemDomTemplates",before:"registerComponentLookup",initialize:c.compileScriptTags}):Ember.onLoad("application",c.compileScriptTags)}))},{"./emblem":3}],3:[function(a,b){(function(c){var d;this.Emblem={},d=this.Emblem,d.VERSION="0.4.0",b.exports=d,"undefined"!=typeof window&&null!==window&&(window.Emblem=d),c.Emblem=d,a("./parser"),a("./compiler"),a("./preprocessor"),a("./emberties")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./compiler":1,"./emberties":2,"./parser":4,"./preprocessor":5}],4:[function(a,b){var c=a("./emblem");c.Parser=function(){function a(a,b){function c(){this.constructor=a}c.prototype=b.prototype,a.prototype=new c}function b(a,b,c,d,e){function f(a,b){function c(a){function b(a){return a.charCodeAt(0).toString(16).toUpperCase()}return a.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(a){return"\\x0"+b(a)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(a){return"\\x"+b(a)}).replace(/[\u0180-\u0FFF]/g,function(a){return"\\u0"+b(a)}).replace(/[\u1080-\uFFFF]/g,function(a){return"\\u"+b(a)})}var d,e;switch(a.length){case 0:d="end of input";break;case 1:d=a[0];break;default:d=a.slice(0,-1).join(", ")+" or "+a[a.length-1]}return e=b?'"'+c(b)+'"':"end of input","Expected "+d+" but "+e+" found."}this.expected=a,this.found=b,this.offset=c,this.line=d,this.column=e,this.name="SyntaxError",this.message=f(a,b)}function d(a){function d(b){function c(b,c,d){var e,f;for(e=c;d>e;e++)f=a.charAt(e),"\n"===f?(b.seenCR||b.line++,b.column=1,b.seenCR=!1):"\r"===f||"\u2028"===f||"\u2029"===f?(b.line++,b.column=1,b.seenCR=!0):(b.column++,b.seenCR=!1)}return sg!==b&&(sg>b&&(sg=0,tg={line:1,column:1,seenCR:!1}),c(tg,sg,b),sg=b),tg}function e(a){ug>qg||(qg>ug&&(ug=qg,vg=[]),vg.push(a))}function f(a){var b=0;for(a.sort();b<a.length;)a[b-1]===a[b]?a.splice(b,1):b++}function g(){var a;return a=h()}function h(){var a,b,c,d,e,f,g,h,k,l;if(a=qg,b=j(),null!==b){if(c=qg,d=hc(),null!==d)if(e=i(),null!==e)if(f=mc(),null!==f)if(g=jc(),null!==g){for(h=[],k=m();null!==k;)h.push(k),k=m();null!==h?(k=fc(),null!==k?(l=j(),null!==l?(rg=c,d=Cc(l),null===d?(qg=c,c=d):c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)}else qg=c,c=Ac;else qg=c,c=Ac;else qg=c,c=Ac;else qg=c,c=Ac;null===c&&(c=Bc),null!==c?(rg=a,b=Dc(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function i(){var b,c,d,f;return b=qg,c=qg,61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=mc(),null!==f?(d=[d,f],c=d):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=Bc),null!==c?(a.substr(qg,4)===Gc?(d=Gc,qg+=4):(d=null,0===wg&&e(Hc)),null!==d?(c=[c,d],b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function j(){var a,b,c;for(a=qg,b=[],c=k();null!==c;)b.push(c),c=k();return null!==b&&(rg=a,b=Ic(b)),null===b?(qg=a,a=b):a=b,a}function k(){var a,b;return wg++,a=m(),null===a&&(a=r(),null===a&&(a=l())),wg--,null===a&&(b=null,0===wg&&e(Jc)),a}function l(){var a,b;return wg++,a=n(),null===a&&(a=z(),null===a&&(a=eb(),null===a&&(a=p()))),wg--,null===a&&(b=null,0===wg&&e(Kc)),a}function m(){var a,b,c;return a=qg,b=mc(),null!==b?(c=jc(),null!==c?(rg=a,b=Lc(),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function n(){var b,c,d,f,g,h,i;if(b=qg,62===a.charCodeAt(qg)?(c=Mc,qg++):(c=null,0===wg&&e(Nc)),null!==c)if(d=mc(),null!==d)if(f=o(),null!==f){for(g=[],h=K();null!==h;)g.push(h),h=K();null!==g?(h=mc(),null!==h?(i=jc(),null!==i?(rg=b,c=Oc(f,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function o(){var b,c,d,f;if(b=qg,c=qg,d=[],Pc.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Qc)),null!==f)for(;null!==f;)d.push(f),Pc.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Qc));else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Rc(c)),null===c?(qg=b,b=c):b=c,b}function p(){var a,b;return a=qg,b=D(),null===b&&(b=t()),null!==b&&(rg=a,b=Sc(b)),null===b?(qg=a,a=b):a=b,a}function q(){var a,b,c,d,e,f,g,h;if(a=qg,b=pc(),null!==b)if(c=jc(),null!==c){if(d=[],e=qg,f=fc(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=Ac;null!==g?(h=kc(),null!==h?(f=[f,g,h],e=f):(qg=e,e=Ac)):(qg=e,e=Ac)}else qg=e,e=Ac;for(;null!==e;)if(d.push(e),e=qg,f=fc(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=Ac;null!==g?(h=kc(),null!==h?(f=[f,g,h],e=f):(qg=e,e=Ac)):(qg=e,e=Ac)}else qg=e,e=Ac;null!==d?(rg=a,b=Lc(),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return a}function r(){var b,c,d;return b=qg,47===a.charCodeAt(qg)?(c=Tc,qg++):(c=null,0===wg&&e(Uc)),null!==c?(d=q(),null!==d?(rg=b,c=Lc(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function s(){var b,c,d;return b=qg,47===a.charCodeAt(qg)?(c=Tc,qg++):(c=null,0===wg&&e(Uc)),null!==c?(d=pc(),null!==d?(c=[c,d],b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function t(){var a;return a=u(),null===a&&(a=A()),a}function u(){var b,c,d;return b=qg,c=qg,wg++,Vc.test(a.charAt(qg))?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Wc)),wg--,null!==d?(qg=c,c=Bc):c=Ac,null!==c?(d=A(),null!==d?(rg=b,c=Xc(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function v(){var b,c,d,f,g,h,i;if(b=qg,32===a.charCodeAt(qg)?(c=Yc,qg++):(c=null,0===wg&&e(Zc)),null!==c)if(d=fb(),null!==d){if(f=qg,g=fc(),null!==g){if(h=[],i=cb(),null!==i)for(;null!==i;)h.push(i),i=cb();else h=Ac;null!==h?(i=hc(),null!==i?(g=[g,h,i],f=g):(qg=f,f=Ac)):(qg=f,f=Ac)}else qg=f,f=Ac;null===f&&(f=Bc),null!==f?(rg=b,c=$c(d,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;return b}function w(){var a,b,c,d,e;for(a=qg,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=fc(),null!==c?(d=j(),null!==d?(e=hc(),null!==e?(rg=a,b=_c(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function x(){var a,b,c,d;for(a=qg,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=j(),null!==c?(d=hc(),null!==d?(rg=a,b=_c(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function y(){var b,c,d,f,g,h;return b=B(),null===b&&(b=qg,c=mc(),null!==c?(d=D(),null!==d?(rg=b,c=ad(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(f=jc(),null!==f?(g=w(),null===g&&(g=Bc),null!==g?(rg=b,c=_c(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(93===a.charCodeAt(qg)?(f=bd,qg++):(f=null,0===wg&&e(cd)),null!==f?(g=jc(),null!==g?(h=x(),null===h&&(h=Bc),null!==h?(rg=b,c=_c(h),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=v(),null!==c&&(rg=b,c=dd(c)),null===c?(qg=b,b=c):b=c)))),b}function z(){var a,b,c;return a=qg,b=Ib(),null!==b?(c=y(),null!==c?(rg=a,b=ed(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function A(){var a,b,c,d,e;return a=qg,b=E(),null!==b?(c=mc(),null!==c?(d=s(),null===d&&(d=Bc),null!==d?(e=C(),null!==e?(rg=a,b=fd(b,e),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function B(){var b,c,d,f;return b=qg,a.substr(qg,2)===gd?(c=gd,qg+=2):(c=null,0===wg&&e(hd)),null!==c?(d=mc(),null!==d?(f=l(),null!==f?(rg=b,c=_c(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function C(){var b,c,d,f,g,i,j;if(b=qg,c=B(),null===c&&(c=eb()),null!==c&&(rg=b,c=id(c)),null===c?(qg=b,b=c):b=c,null===b&&(b=qg,c=mc(),null!==c?(93===a.charCodeAt(qg)?(d=bd,qg++):(d=null,0===wg&&e(cd)),null!==d?(f=jc(),null!==f?(g=B(),null===g&&(g=eb()),null!==g?(i=hc(),null!==i?(rg=b,c=id(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b)){if(b=qg,c=jc(),null!==c){for(d=qg,f=[],g=m();null!==g;)f.push(g),g=m();null!==f?(g=fc(),null!==g?(i=h(),null!==i?(j=hc(),null!==j?(f=[f,g,i,j],d=f):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac),null===d&&(d=Bc),null!==d?(rg=b,c=jd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;null===b&&(b=qg,c=mc(),null!==c?(93===a.charCodeAt(qg)?(d=bd,qg++):(d=null,0===wg&&e(cd)),null!==d?(f=jc(),null!==f?(g=h(),null!==g?(i=hc(),null!==i?(rg=b,c=kd(g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac))}return b}function D(){var a,b,c;return a=qg,b=Gb(),null!==b?(c=A(),null!==c?(rg=a,b=ld(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function E(){var b,c,d,f,g,h;return b=qg,62===a.charCodeAt(qg)?(c=Mc,qg++):(c=null,0===wg&&e(Nc)),null===c&&(c=Bc),null!==c?(d=qg,wg++,f=qg,91===a.charCodeAt(qg)?(g=md,qg++):(g=null,0===wg&&e(nd)),null!==g?(h=jc(),null!==h?(g=[g,h],f=g):(qg=f,f=Ac)):(qg=f,f=Ac),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(f=mc(),null!==f?(g=F(),null!==g?(rg=b,c=od(c,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function F(){var b,c,d,f,g,h,i,j,k,l;if(b=qg,c=V(),null!==c)if(d=qg,wg++,a.substr(qg,2)===pd?(f=pd,qg+=2):(f=null,0===wg&&e(qd)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d){for(f=[],g=K();null!==g;)f.push(g),g=K();null!==f?(g=M(),null===g&&(g=Bc),null!==g?(rg=b,c=rd(c,f,g),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b)if(b=qg,c=V(),null!==c)if(d=mc(),null!==d)if(91===a.charCodeAt(qg)?(f=md,qg++):(f=null,0===wg&&e(nd)),null!==f)if(g=mc(),null!==g){for(h=[],i=jc();null!==i;)h.push(i),i=jc();if(null!==h){for(i=[],j=gc();null!==j;)i.push(j),j=gc();if(null!==i)if(j=mc(),null!==j){for(k=[],l=L();null!==l;)k.push(l),l=L();null!==k?(l=N(),null===l&&(l=Bc),null!==l?(rg=b,c=rd(c,k,l),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac}else qg=b,b=Ac}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function G(){var a,b,c,d;return a=qg,b=mc(),null!==b?(c=qg,d=Ub(),null!==d&&(rg=c,d=sd(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Vb(),null!==d&&(rg=c,d=td(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=ud(d)),null===d?(qg=c,c=d):c=d)),null!==c?(rg=a,b=vd(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function H(){var a;return a=I(),null===a&&(a=J()),a}function I(){var a,b,c,d;if(a=qg,b=Vb(),null!==b){for(c=[],d=Wb();null!==d;)c.push(d),d=Wb();null!==c?(rg=a,b=wd(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function J(){var a,b,c;if(a=qg,b=[],c=Wb(),null!==c)for(;null!==c;)b.push(c),c=Wb();else b=Ac;return null!==b&&(rg=a,b=xd(b)),null===b?(qg=a,a=b):a=b,a}function K(){var a,b,c,d;return a=qg,b=G(),null===b&&(b=qg,c=lc(),null!==c?(d=S(),null!==d?(rg=b,c=yd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)),null!==b&&(rg=a,b=zd(b)),null===b?(qg=a,a=b):a=b,a}function L(){var a,b,c,d,e;if(a=qg,b=G(),null===b)if(b=qg,c=S(),null!==c){for(d=[],e=jc();null!==e;)d.push(e),e=jc();null!==d?(rg=b,c=yd(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;return null!==b&&(rg=a,b=zd(b)),null===b?(qg=a,a=b):a=b,a}function M(){var a,b,c;if(a=qg,b=[],c=Q(),null!==c)for(;null!==c;)b.push(c),c=Q();else b=Ac;return null!==b&&(rg=a,b=Ad(b)),null===b?(qg=a,a=b):a=b,a}function N(){var b,c,d,f,g;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c){for(d=[],32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));null!==f;)d.push(f),32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));if(null!==d){if(f=[],g=R(),null!==g)for(;null!==g;)f.push(g),g=R();else f=Ac;null!==f?(rg=b,c=Ad(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac;return b}function O(){var b,c,d,f,g;if(wg++,a.substr(qg,2)===Cd?(b=Cd,qg+=2):(b=null,0===wg&&e(Dd)),null===b&&(46===a.charCodeAt(qg)?(b=Ed,qg++):(b=null,0===wg&&e(Fd)),null===b)){if(b=qg,c=qg,d=[],Gd.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Hd)),null!==f)for(;null!==f;)d.push(f),Gd.test(a.charAt(qg))?(f=a.charAt(qg),qg++):(f=null,0===wg&&e(Hd));else d=Ac;if(null!==d&&(d=a.substring(c,qg)),c=d,null!==c?(d=qg,wg++,61===a.charCodeAt(qg)?(f=Ec,qg++):(f=null,0===wg&&e(Fc)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(rg=b,c=Id(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b)if(b=qg,91===a.charCodeAt(qg)?(c=md,qg++):(c=null,0===wg&&e(nd)),null!==c){for(d=qg,f=[],Jd.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Kd));null!==g;)f.push(g),Jd.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Kd));null!==f&&(f=a.substring(d,qg)),d=f,null!==d?(93===a.charCodeAt(qg)?(f=bd,qg++):(f=null,0===wg&&e(cd)),null!==f?(rg=b,c=Ld(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac}return wg--,null===b&&(c=null,0===wg&&e(Bd)),b}function P(){var b,c,d;for(wg++,b=qg,c=[],d=Zb(),null===d&&(58===a.charCodeAt(qg)?(d=Nd,qg++):(d=null,0===wg&&e(Od)));null!==d;)c.push(d),d=Zb(),null===d&&(58===a.charCodeAt(qg)?(d=Nd,qg++):(d=null,0===wg&&e(Od)));return null!==c&&(c=a.substring(b,qg)),b=c,wg--,null===b&&(c=null,0===wg&&e(Md)),b}function Q(){var b,c,d,f,g,h;return b=qg,c=lc(),null!==c?(d=qg,f=P(),null!==f?(61===a.charCodeAt(qg)?(g=Ec,qg++):(g=null,0===wg&&e(Fc)),null!==g?(h=S(),null!==h?(f=[f,g,h],d=f):(qg=d,d=Ac)):(qg=d,d=Ac)):(qg=d,d=Ac),null!==d?(rg=b,c=Pd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function R(){var b,c,d,f,g,h,i;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c)if(d=mc(),null!==d)if(f=qg,g=P(),null!==g?(61===a.charCodeAt(qg)?(h=Ec,qg++):(h=null,0===wg&&e(Fc)),null!==h?(i=S(),null!==i?(g=[g,h,i],f=g):(qg=f,f=Ac)):(qg=f,f=Ac)):(qg=f,f=Ac),null!==f){for(g=[],h=jc();null!==h;)g.push(h),h=jc();null!==g?(rg=b,c=Qd(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;else qg=b,b=Ac;return b}function S(){var a,b,c,d;return a=Y(),null===a&&(a=X(),null===a&&(a=V(),null===a&&(a=W(),null===a&&(a=qg,b=Cb(),null!==b?(c=F(),null!==c?(d=Db(),null!==d?(rg=a,b=Rd(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac))))),a}function T(){var a,b,c,d,e,f;if(a=qg,b=O(),null!==b){for(c=[],d=qg,e=U(),null!==e?(f=O(),null!==f?(rg=d,e=Sd(e,f),null===e?(qg=d,d=e):d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=U(),null!==e?(f=O(),null!==f?(rg=d,e=Sd(e,f),null===e?(qg=d,d=e):d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Td(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function U(){var b,c;return wg++,Vd.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Wd)),wg--,null===b&&(c=null,0===wg&&e(Ud)),b}function V(){var a,b;return a=qg,b=T(),null!==b&&(rg=a,b=Xd(b)),null===b?(qg=a,a=b):a=b,a}function W(){var a,b;return a=qg,b=_(),null!==b&&(rg=a,b=Yd(b)),null===b?(qg=a,a=b):a=b,a}function X(){var a,b;return a=qg,b=$(),null!==b&&(rg=a,b=Zd(b)),null===b?(qg=a,a=b):a=b,a}function Y(){var a,b;return a=qg,b=Z(),null!==b&&(rg=a,b=$d(b)),null===b?(qg=a,a=b):a=b,a}function Z(){var b,c;return wg++,a.substr(qg,4)===ae?(b=ae,qg+=4):(b=null,0===wg&&e(be)),null===b&&(a.substr(qg,5)===ce?(b=ce,qg+=5):(b=null,0===wg&&e(de))),wg--,null===b&&(c=null,0===wg&&e(_d)),b}function $(){var b,c,d,f,g,h;if(wg++,b=qg,c=qg,d=qg,45===a.charCodeAt(qg)?(f=fe,qg++):(f=null,0===wg&&e(ge)),null===f&&(f=Bc),null!==f){if(g=[],he.test(a.charAt(qg))?(h=a.charAt(qg),qg++):(h=null,0===wg&&e(ie)),null!==h)for(;null!==h;)g.push(h),he.test(a.charAt(qg))?(h=a.charAt(qg),qg++):(h=null,0===wg&&e(ie));else g=Ac;null!==g?(f=[f,g],d=f):(qg=d,d=Ac)}else qg=d,d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=je(c)),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(ee)),b}function _(){var b,c,d,f,g;return b=qg,c=qg,34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le)),null!==d?(f=ab(),null!==f?(34===a.charCodeAt(qg)?(g=ke,qg++):(g=null,0===wg&&e(le)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=qg,39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne)),null!==d?(f=bb(),null!==f?(39===a.charCodeAt(qg)?(g=me,qg++):(g=null,0===wg&&e(ne)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)),null!==c&&(rg=b,c=oe(c)),null===c?(qg=b,b=c):b=c,b}function ab(){var b,c,d,f,g;for(b=qg,c=[],d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(pe.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(qe)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(pe.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(qe)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);return null!==c&&(c=a.substring(b,qg)),b=c}function bb(){var b,c,d,f,g;for(b=qg,c=[],d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(re.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(se)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,f=qg,wg++,g=jc(),wg--,null===g?f=Bc:(qg=f,f=Ac),null!==f?(re.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(se)),null!==g?(f=[f,g],d=f):(qg=d,d=Ac)):(qg=d,d=Ac);return null!==c&&(c=a.substring(b,qg)),b=c}function cb(){var a,b,c,d,e;if(a=qg,b=fc(),null!==b)if(c=fb(),null!==c){for(d=[],e=cb();null!==e;)d.push(e),e=cb();null!==d?(e=kc(),null!==e?(rg=a,b=te(b,c,d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return null===a&&(a=fb()),a}function db(){var b,c,d;return b=qg,ue.test(a.charAt(qg))?(c=a.charAt(qg),qg++):(c=null,0===wg&&e(ve)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=Id(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,c=qg,wg++,60===a.charCodeAt(qg)?(d=we,qg++):(d=null,0===wg&&e(xe)),wg--,null!==d?(qg=c,c=Bc):c=Ac,null!==c&&(rg=b,c=ye()),null===c?(qg=b,b=c):b=c),b}function eb(){var a,b,c,d,e,f,g;if(a=qg,b=db(),null!==b)if(c=fb(),null!==c){if(d=qg,e=fc(),null!==e){for(f=[],g=cb();null!==g;)f.push(g),g=cb();null!==f?(g=hc(),null!==g?(e=[e,f,g],d=e):(qg=d,d=Ac)):(qg=d,d=Ac)}else qg=d,d=Ac;null===d&&(d=Bc),null!==d?(rg=a,b=ze(b,c,d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;else qg=a,a=Ac;return a}function fb(){var a,b,c,d,e,f;if(a=qg,b=rb(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=rb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=rb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(d=jc(),null!==d?(rg=a,b=Ae(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function gb(){var b,c,d,f;return b=qg,34===a.charCodeAt(qg)?(c=ke,qg++):(c=null,0===wg&&e(le)),null!==c?(d=hb(),null!==d?(34===a.charCodeAt(qg)?(f=ke,qg++):(f=null,0===wg&&e(le)),null!==f?(rg=b,c=zd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,39===a.charCodeAt(qg)?(c=me,qg++):(c=null,0===wg&&e(ne)),null!==c?(d=ib(),null!==d?(39===a.charCodeAt(qg)?(f=me,qg++):(f=null,0===wg&&e(ne)),null!==f?(rg=b,c=zd(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)),b}function hb(){var a,b,c,d,e,f;if(a=qg,b=nb(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=nb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=nb(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Be(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function ib(){var a,b,c,d,e,f;if(a=qg,b=ob(),null===b&&(b=Bc),null!==b){for(c=[],d=qg,e=jb(),null!==e?(f=ob(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==d;)c.push(d),d=qg,e=jb(),null!==e?(f=ob(),null===f&&(f=Bc),null!==f?(e=[e,f],d=e):(qg=d,d=Ac)):(qg=d,d=Ac);null!==c?(rg=a,b=Be(b,c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)}else qg=a,a=Ac;return a}function jb(){var a;return a=mb(),null===a&&(a=lb()),a}function kb(){var b,c,d,f,g;if(b=qg,c=qg,wg++,123===a.charCodeAt(qg)?(d=Ce,qg++):(d=null,0===wg&&e(De)),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c){for(d=qg,f=[],Ee.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Fe));null!==g;)f.push(g),Ee.test(a.charAt(qg))?(g=a.charAt(qg),qg++):(g=null,0===wg&&e(Fe));null!==f&&(f=a.substring(d,qg)),d=f,null!==d?(rg=b,c=Ge(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;return b}function lb(){var a,b,c,d,e,f;return a=qg,b=xb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Ab(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),null===a&&(a=qg,b=Eb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Fb(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)),a}function mb(){var a,b,c,d,e,f;return a=qg,b=yb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=Bb(),null!==f?(rg=a,b=Ie(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function nb(){var b,c,d,e;if(b=qg,c=qg,d=[],e=pb(),null!==e)for(;null!==e;)d.push(e),e=pb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function ob(){var b,c,d,e;if(b=qg,c=qg,d=[],e=qb(),null!==e)for(;null!==e;)d.push(e),e=qb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function pb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),null===d&&(34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le))),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function qb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),null===d&&(39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne))),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function rb(){var b,c,d,e;if(b=qg,c=qg,d=[],e=sb(),null!==e)for(;null!==e;)d.push(e),e=sb();else d=Ac;return null!==d&&(d=a.substring(c,qg)),c=d,null!==c&&(rg=b,c=Je(c)),null===c?(qg=b,b=c):b=c,b}function sb(){var b,c,d;return b=qg,c=qg,wg++,d=tb(),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function tb(){var a;return a=yb(),null===a&&(a=xb(),null===a&&(a=Eb(),null===a&&(a=kc(),null===a&&(a=jc())))),a}function ub(){var a,b,c,d,e,f;return a=qg,b=wb(),null!==b?(c=mc(),null!==c?(d=kb(),null!==d?(e=mc(),null!==e?(f=zb(),null!==f?(rg=a,b=He(d),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac)):(qg=a,a=Ac),a}function vb(){var a;return a=ub(),null===a&&(a=mb(),null===a&&(a=lb())),a}function wb(){var b,c;return wg++,123===a.charCodeAt(qg)?(b=Ce,qg++):(b=null,0===wg&&e(De)),wg--,null===b&&(c=null,0===wg&&e(Le)),b}function xb(){var b,c;return wg++,a.substr(qg,2)===Ne?(b=Ne,qg+=2):(b=null,0===wg&&e(Oe)),wg--,null===b&&(c=null,0===wg&&e(Me)),b}function yb(){var b,c;return wg++,a.substr(qg,3)===Qe?(b=Qe,qg+=3):(b=null,0===wg&&e(Re)),wg--,null===b&&(c=null,0===wg&&e(Pe)),b}function zb(){var b,c;return wg++,125===a.charCodeAt(qg)?(b=Te,qg++):(b=null,0===wg&&e(Ue)),wg--,null===b&&(c=null,0===wg&&e(Se)),b}function Ab(){var b,c;return wg++,a.substr(qg,2)===We?(b=We,qg+=2):(b=null,0===wg&&e(Xe)),wg--,null===b&&(c=null,0===wg&&e(Ve)),b}function Bb(){var b,c;return wg++,a.substr(qg,3)===Ze?(b=Ze,qg+=3):(b=null,0===wg&&e($e)),wg--,null===b&&(c=null,0===wg&&e(Ye)),b}function Cb(){var b,c;return wg++,40===a.charCodeAt(qg)?(b=af,qg++):(b=null,0===wg&&e(bf)),wg--,null===b&&(c=null,0===wg&&e(_e)),b}function Db(){var b,c;return wg++,41===a.charCodeAt(qg)?(b=df,qg++):(b=null,0===wg&&e(ef)),wg--,null===b&&(c=null,0===wg&&e(cf)),b}function Eb(){var b,c;return wg++,a.substr(qg,2)===gf?(b=gf,qg+=2):(b=null,0===wg&&e(hf)),wg--,null===b&&(c=null,0===wg&&e(ff)),b}function Fb(){var b,c;return wg++,125===a.charCodeAt(qg)?(b=Te,qg++):(b=null,0===wg&&e(Ue)),wg--,null===b&&(c=null,0===wg&&e(jf)),b}function Gb(){var b,c,d;return b=qg,a.substr(qg,2)===kf?(c=kf,qg+=2):(c=null,0===wg&&e(lf)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=mf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=qg,61===a.charCodeAt(qg)?(c=Ec,qg++):(c=null,0===wg&&e(Fc)),null!==c?(32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null===d&&(d=Bc),null!==d?(rg=b,c=nf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)),b}function Hb(){var b,c,d,f,g;return b=qg,c=ac(),null===c&&(c=Bc),null!==c?(d=H(),null===d&&(d=Bc),null!==d?(47===a.charCodeAt(qg)?(f=Tc,qg++):(f=null,0===wg&&e(Uc)),null===f&&(f=Bc),null!==f?(rg=qg,g=of(c,d),g=g?Bc:Ac,null!==g?(c=[c,d,f,g],b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Ib(){var b,c,d,f,g,h,i;if(b=qg,c=Hb(),null!==c)if(a.substr(qg,2)===pd?(d=pd,qg+=2):(d=null,0===wg&&e(qd)),null!==d){for(f=[],g=jc();null!==g;)f.push(g),g=jc();if(null!==f){for(g=[],h=vb();null!==h;)g.push(h),h=vb();if(null!==g){if(h=[],i=Kb(),null!==i)for(;null!==i;)h.push(i),i=Kb();else h=Ac;null!==h?(rg=b,c=pf(c,g,h),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b)if(b=qg,c=Hb(),null!==c){for(d=[],f=vb();null!==f;)d.push(f),f=vb();if(null!==d){for(f=[],g=Jb();null!==g;)f.push(g),g=Jb();null!==f?(rg=b,c=pf(c,d,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac}else qg=b,b=Ac;return b}function H(){var a,b,c,d;if(a=qg,b=[],c=qg,d=Vb(),null!==d&&(rg=c,d=qf(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=rf(d)),null===d?(qg=c,c=d):c=d),null!==c)for(;null!==c;)b.push(c),c=qg,d=Vb(),null!==d&&(rg=c,d=qf(d)),null===d?(qg=c,c=d):c=d,null===c&&(c=qg,d=Wb(),null!==d&&(rg=c,d=rf(d)),null===d?(qg=c,c=d):c=d);else b=Ac;return null!==b&&(rg=a,b=sf(b)),null===b?(qg=a,a=b):a=b,a}function Jb(){var b,c,d;if(b=qg,c=[],32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc)),null!==d)for(;null!==d;)c.push(d),32===a.charCodeAt(qg)?(d=Yc,qg++):(d=null,0===wg&&e(Zc));else c=Ac;return null!==c?(d=Ob(),null===d&&(d=Pb(),null===d&&(d=Rb(),null===d&&(d=Sb(),null===d&&(d=Tb())))),null!==d?(rg=b,c=tf(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Kb(){var b,c,d,f,g,h;for(b=qg,c=[],d=gc();null!==d;)c.push(d),d=gc();if(null!==c){for(d=[],32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));null!==f;)d.push(f),32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc));if(null!==d)if(f=Ob(),null===f&&(f=Pb(),null===f&&(f=Rb(),null===f&&(f=Sb(),null===f&&(f=Tb())))),null!==f){for(g=[],h=jc();null!==h;)g.push(h),h=jc();null!==g?(rg=b,c=tf(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac}else qg=b,b=Ac;return b}function Lb(){var b;return uf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(vf)),null===b&&(b=dc()),b}function Mb(){var a,b;return a=Nb(),null===a&&(a=qg,b=V(),null!==b&&(rg=a,b=wf(b)),null===b?(qg=a,a=b):a=b),a}function Nb(){var b,c,d,f,g;return b=qg,c=qg,34===a.charCodeAt(qg)?(d=ke,qg++):(d=null,0===wg&&e(le)),null!==d?(f=E(),null!==f?(34===a.charCodeAt(qg)?(g=ke,qg++):(g=null,0===wg&&e(le)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac),null===c&&(c=qg,39===a.charCodeAt(qg)?(d=me,qg++):(d=null,0===wg&&e(ne)),null!==d?(f=E(),null!==f?(39===a.charCodeAt(qg)?(g=me,qg++):(g=null,0===wg&&e(ne)),null!==g?(d=[d,f,g],c=d):(qg=c,c=Ac)):(qg=c,c=Ac)):(qg=c,c=Ac)),null!==c&&(rg=b,c=oe(c)),null===c?(qg=b,b=c):b=c,b}function Ob(){var b,c,d,f;return b=qg,c=ec(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=Mb(),null!==f?(rg=b,c=xf(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Pb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(a.substr(qg,4)===ae?(f=ae,qg+=4):(f=null,0===wg&&e(be)),null===f&&(a.substr(qg,5)===ce?(f=ce,qg+=5):(f=null,0===wg&&e(de))),null!==f?(rg=b,c=yf(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Qb(){var b,c,d,f,g,h;if(b=qg,123===a.charCodeAt(qg)?(c=Ce,qg++):(c=null,0===wg&&e(De)),null!==c)if(d=mc(),null!==d){if(f=qg,g=[],h=Lb(),null===h&&(32===a.charCodeAt(qg)?(h=Yc,qg++):(h=null,0===wg&&e(Zc))),null!==h)for(;null!==h;)g.push(h),h=Lb(),null===h&&(32===a.charCodeAt(qg)?(h=Yc,qg++):(h=null,0===wg&&e(Zc)));else g=Ac;null!==g&&(g=a.substring(f,qg)),f=g,null!==f?(g=mc(),null!==g?(125===a.charCodeAt(qg)?(h=Te,qg++):(h=null,0===wg&&e(Ue)),null!==h?(rg=b,c=zf(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)}else qg=b,b=Ac;else qg=b,b=Ac;if(null===b){if(b=qg,c=[],d=Lb(),null!==d)for(;null!==d;)c.push(d),d=Lb();else c=Ac;null!==c&&(c=a.substring(b,qg)),b=c}return b}function Rb(){var b,c,d,f,g,h;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=Qb(),null!==f?(g=qg,wg++,33===a.charCodeAt(qg)?(h=Af,qg++):(h=null,0===wg&&e(Bf)),wg--,null===h?g=Bc:(qg=g,g=Ac),null!==g?(rg=qg,h=Cf(c,f),h=h?Bc:Ac,null!==h?(rg=b,c=Df(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Sb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=V(),null!==f?(rg=b,c=Ef(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Tb(){var b,c,d,f;return b=qg,c=P(),null!==c?(61===a.charCodeAt(qg)?(d=Ec,qg++):(d=null,0===wg&&e(Fc)),null!==d?(f=gb(),null!==f?(rg=b,c=Ff(c,f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Ub(){var b,c,d;return b=qg,37===a.charCodeAt(qg)?(c=Gf,qg++):(c=null,0===wg&&e(Hf)),null!==c?(d=Xb(),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Vb(){var b,c,d;return b=qg,35===a.charCodeAt(qg)?(c=If,qg++):(c=null,0===wg&&e(Jf)),null!==c?(d=Xb(),null!==d?(rg=b,c=Kf(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function Wb(){var b,c,d;return b=qg,46===a.charCodeAt(qg)?(c=Ed,qg++):(c=null,0===wg&&e(Fd)),null!==c?(d=Xb(),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b
2
+ }function Xb(){var a,b;return wg++,a=Yb(),wg--,null===a&&(b=null,0===wg&&e(Lf)),a}function Yb(){var b,c,d;if(b=qg,c=[],d=Zb(),null!==d)for(;null!==d;)c.push(d),d=Zb();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c}function Zb(){var b;return Mf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Nf)),null===b&&(b=$b()),b}function $b(){var b;return Of.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Pf)),b}function _b(){var b,c,d;if(b=qg,c=[],d=cc(),null!==d)for(;null!==d;)c.push(d),d=cc();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c}function ac(){var b,c,d,f;return wg++,b=qg,37===a.charCodeAt(qg)?(c=Gf,qg++):(c=null,0===wg&&e(Hf)),null!==c?(d=mc(),null!==d?(f=_b(),null!==f?(rg=b,c=Id(f),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),null===b&&(b=bc()),wg--,null===b&&(c=null,0===wg&&e(Qf)),b}function bc(){var a,b,c;return a=qg,b=_b(),null!==b?(rg=qg,c=Rf(b),c=c?Bc:Ac,null!==c?(rg=a,b=Sf(b),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function cc(){var b;return Mf.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(Nf)),null===b&&(b=dc()),b}function dc(){var b,c,d,f;return b=qg,58===a.charCodeAt(qg)?(c=Nd,qg++):(c=null,0===wg&&e(Od)),null!==c?(d=qg,wg++,32===a.charCodeAt(qg)?(f=Yc,qg++):(f=null,0===wg&&e(Zc)),wg--,null===f?d=Bc:(qg=d,d=Ac),null!==d?(rg=b,c=_c(c),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function ec(){var a,b,c;return wg++,a=qg,b=_b(),null!==b?(rg=qg,c=Uf(b),c=c?Bc:Ac,null!==c?(rg=a,b=Sf(b),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),wg--,null===a&&(b=null,0===wg&&e(Tf)),a}function fc(){var a,b,c;return a=qg,b=gc(),null!==b?(c=lc(),null!==c?(rg=a,b=Id(c),null===b?(qg=a,a=b):a=b):(qg=a,a=Ac)):(qg=a,a=Ac),a}function gc(){var b,c;return wg++,b=qg,61423===a.charCodeAt(qg)?(c=Wf,qg++):(c=null,0===wg&&e(Xf)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(Vf)),b}function hc(){var b,c;return wg++,b=qg,61438===a.charCodeAt(qg)?(c=$f,qg++):(c=null,0===wg&&e(_f)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(Zf)),b}function ic(){var b,c;return wg++,b=qg,61422===a.charCodeAt(qg)?(c=bg,qg++):(c=null,0===wg&&e(cg)),null!==c&&(rg=b,c=Yf()),null===c?(qg=b,b=c):b=c,wg--,null===b&&(c=null,0===wg&&e(ag)),b}function jc(){var b,c,d,f;return wg++,b=qg,13===a.charCodeAt(qg)?(c=eg,qg++):(c=null,0===wg&&e(fg)),null===c&&(c=Bc),null!==c?(61439===a.charCodeAt(qg)?(d=gg,qg++):(d=null,0===wg&&e(hg)),null!==d?(10===a.charCodeAt(qg)?(f=ig,qg++):(f=null,0===wg&&e(jg)),null!==f?(rg=b,c=mf(),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac)):(qg=b,b=Ac),wg--,null===b&&(c=null,0===wg&&e(dg)),b}function kc(){var a,b;return wg++,a=hc(),null===a&&(a=ic()),wg--,null===a&&(b=null,0===wg&&e(kg)),a}function lc(){var b,c,d;if(wg++,b=qg,c=[],d=nc(),null!==d)for(;null!==d;)c.push(d),d=nc();else c=Ac;return null!==c&&(c=a.substring(b,qg)),b=c,wg--,null===b&&(c=null,0===wg&&e(lg)),b}function mc(){var a,b;for(wg++,a=[],b=nc();null!==b;)a.push(b),b=nc();return wg--,null===a&&(b=null,0===wg&&e(mg)),a}function nc(){var b,c;return wg++,og.test(a.charAt(qg))?(b=a.charAt(qg),qg++):(b=null,0===wg&&e(pg)),wg--,null===b&&(c=null,0===wg&&e(ng)),b}function oc(){var b,c,d;return b=qg,c=qg,wg++,d=gc(),null===d&&(d=hc(),null===d&&(d=jc())),wg--,null===d?c=Bc:(qg=c,c=Ac),null!==c?(a.length>qg?(d=a.charAt(qg),qg++):(d=null,0===wg&&e(Ke)),null!==d?(rg=b,c=_c(d),null===c?(qg=b,b=c):b=c):(qg=b,b=Ac)):(qg=b,b=Ac),b}function pc(){var b,c,d;for(b=qg,c=[],d=oc();null!==d;)c.push(d),d=oc();return null!==c&&(c=a.substring(b,qg)),b=c}function qc(a,b,c){var d=c?Eg:Fg;return new zg.MustacheNode(a,b,d,{left:!1,right:!1})}function rc(a,b){return new zg.ProgramNode(a,{left:!1,right:!1},b,null)}function sc(a,b,c){var d=a.hash;if(c){d=d||new zg.HashNode([]);for(var e=0;e<c.length;++e)d.pairs.push(c[e])}var f=[a.id].concat(a.params);return f.unshift(new zg.IdNode([{part:b}])),qc(f,d,a.escaped)}function tc(a,b){var c=[];a&&c.push(a);for(var d=0;d<b.length;++d){var e=b[d];c.push(e[0]),e[1]&&c.push(e[1])}return c}function uc(a,b,c){for(var d=[],e={},f=!1,g=0;g<b.length;++g){var h=b[g],i=h[0];"tagName"==i||"elementId"==i||"class"==i?(f=!0,e[i]=e[i]||[],e[i].push(h[1])):d.push(h)}if(f){c=c||new zg.HashNode([]);for(var j in e)e.hasOwnProperty(j)&&c.pairs.push([j,new zg.StringNode(e[j].join(" "))])}return d.unshift(a),new zg.SexprNode(d,c)}function vc(a,b,c){var d,e=a[0]||"div",f=a[1]||[],g=f[0],h=f[1]||[],i=[];d=function(a){var b,c,d,e;if(h.length&&a.id&&"bind-attr"===a.id.string&&a.hash&&a.hash.pairs&&(b=a.hash.pairs))for(var f in b)b.hasOwnProperty(f)&&(c=b[f],c&&"class"===c[0]&&c[1]instanceof zg.StringNode&&(d=c[1],e=d.original,d.original=d.string=d.stringModeValue=":"+h.join(" :")+" "+e,h=[]))},i.push(new zg.ContentNode("<"+e)),g&&i.push(new zg.ContentNode(' id="'+g+'"'));for(var j=0;j<b.length;++j)d(b[j]),i.push(new zg.ContentNode(" ")),i.push(b[j]);for(var j=0;j<c.length;++j){for(var k in c[j])c[j][k]instanceof zg.MustacheNode&&d(c[j][k]);if(h.length){var l=c[j][1]&&'class="'===c[j][1].string;if(l&&4===c[j].length){if("mustache"==c[j][2].type){var m,n,o,p;m=c[j][2],n=":"+h.join(" :")+" "+m.id.original,o=new zg.HashNode([["class",new zg.StringNode(n)]]),p=[new zg.IdNode([{part:"bind-attr"}])].concat(m.params),c[j]=[c[j][0],qc(p,o,!0)]}else h.push(c[j][2].string),c[j][2].string=h.join(" ");h=[]}}i=i.concat(c[j])}h&&h.length&&i.push(new zg.ContentNode(' class="'+h.join(" ")+'"'));var q=!!a[2];return Ag[e]||q?(i.push(new zg.ContentNode(" />")),[i]):(i.push(new zg.ContentNode(">")),[i,new zg.ContentNode("</"+e+">")])}var wc,xc=arguments.length>1?arguments[1]:{},yc={start:g},zc=g,Ac=null,Bc="",Cc=function(a){return a},Dc=function(a,b){var c=rc(a);return b&&(c.inverse=rc(b)),c},Ec="=",Fc='"="',Gc="else",Hc='"else"',Ic=function(a){for(var b=[],c=[],d=0;d<a.length;++d)for(var e=a[d],f=0;f<e.length;++f){var g=e[f];"content"!==g.type?(c.length&&(b.push(new zg.ContentNode(c.join(""))),c=[]),b.push(g)):g.string&&c.push(g.string)}return c.length&&b.push(new zg.ContentNode(c.join(""))),b},Jc="BeginStatement",Kc="ContentStatement",Lc=function(){return[]},Mc=">",Nc='">"',Oc=function(a,b){return[new zg.PartialNode(a,b[0],void 0,{})]},Pc=/^[a-zA-Z0-9_$-\/]/,Qc="[a-zA-Z0-9_$-\\/]",Rc=function(a){return new zg.PartialNameNode(new zg.StringNode(a))},Sc=function(a){return[a]},Tc="/",Uc='"/"',Vc=/^[A-Z]/,Wc="[A-Z]",Xc=function(a){var b="view";if(a.mustache){var c=a.mustache.id.string.charAt(0);return yg&&c.match(/[A-Z]/)?(a.mustache=sc(a.mustache,b),a):a}var c=a.id.string.charAt(0);return yg&&c.match(/[A-Z]/)?sc(a,b):a},Yc=" ",Zc='" "',$c=function(a,b){if(b){b=b[1];for(var c=0,d=b.length;d>c;++c)a.push(new zg.ContentNode(" ")),a=a.concat(b[c])}return a},_c=function(a){return a},ad=function(a){return[a]},bd="]",cd='"]"',dd=function(a){return a},ed=function(a,b){var c=a[0];return b&&(c=c.concat(b)),a[1]&&c.push(a[1]),c},fd=function(a,b){if(!b)return a;var c={left:!1,right:!1},d=new zg.BlockNode(a,b,b.inverse,c);return d.path=a.id,d},gd=": ",hd='": "',id=function(a){return rc(a,[])},jd=function(a){return a&&a[2]},kd=function(a){return a},ld=function(a,b){var c=b.mustache||b;return c.escaped=a,b},md="[",nd='"["',od=function(a,b){if(a){var c=new zg.PartialNameNode(new zg.StringNode(b.id.string));return new zg.PartialNode(c,b.params[0],void 0,{})}var d=qc(b,null,!0),e=b.id._emblemSuffixModifier;return"!"===e?sc(d,"unbound"):"?"===e?sc(d,"if"):"^"===e?sc(d,"unless"):d},pd=" [",qd='" ["',rd=function(a,b,c){return uc(a,b,c)},sd=function(a){return["tagName",a]},td=function(a){return["elementId",a]},ud=function(a){return["class",a]},vd=function(a){return a},wd=function(a,b){return[a,b]},xd=function(a){return[null,a]},yd=function(a){return a},zd=function(a){return a},Ad=function(a){return new zg.HashNode(a)},Bd="PathIdent",Cd="..",Dd='".."',Ed=".",Fd='"."',Gd=/^[a-zA-Z0-9_$\-!?\^@]/,Hd="[a-zA-Z0-9_$\\-!?\\^@]",Id=function(a){return a},Jd=/^[^\]]/,Kd="[^\\]]",Ld=function(a){return a},Md="Key",Nd=":",Od='":"',Pd=function(a){return[a[0],a[2]]},Qd=function(a){return[a[0],a[2]]},Rd=function(a){return a.isHelper=!0,a},Sd=function(a,b){return{part:b,separator:a}},Td=function(a,b){for(var c=[{part:a}],d=0;d<b.length;++d)c.push(b[d]);return c},Ud="PathSeparator",Vd=/^[\/.]/,Wd="[\\/.]",Xd=function(a){var b=a[a.length-1];if("@"===b.part.charAt(0)){b.part=b.part.slice(1);var c=new zg.IdNode(a),d=new zg.DataNode(c);return d}var e,f;(e=b.part.match(/[!\?\^]$/))&&(f=e[0],b.part=b.part.slice(0,-1));var c=new zg.IdNode(a);return c._emblemSuffixModifier=f,c},Yd=function(a){return new zg.StringNode(a)},Zd=function(a){return new zg.NumberNode(a)},$d=function(a){return new zg.BooleanNode(a)},_d="Boolean",ae="true",be='"true"',ce="false",de='"false"',ee="Integer",fe="-",ge='"-"',he=/^[0-9]/,ie="[0-9]",je=function(a){return parseInt(a)},ke='"',le='"\\""',me="'",ne='"\'"',oe=function(a){return a[1]},pe=/^[^"}]/,qe='[^"}]',re=/^[^'}]/,se="[^'}]",te=function(a,b,c){b.unshift(new zg.ContentNode(a));for(var d=0;d<c.length;++d)b.push(new zg.ContentNode(a)),b=b.concat(c[d]),b.push("\n");return b},ue=/^[|`']/,ve="[|`']",we="<",xe='"<"',ye=function(){return"<"},ze=function(a,b,c){if((b.length||!c)&&b.push("\n"),c){c=c[1];for(var d=0;d<c.length;++d)b=b.concat(c[d]),b.push("\n")}for(var e=[],f="`"!==a,d=0;d<b.length;++d){var g=b[d];"\n"==g?f||e.push(new zg.ContentNode("\n")):e.push(g)}return"'"===a&&e.push(new zg.ContentNode(" ")),e},Ae=function(a,b){return tc(a,b)},Be=function(a,b){return tc(a,b)},Ce="{",De='"{"',Ee=/^[^}]/,Fe="[^}]",Ge=function(a){return a="="+a,c.parse(a).statements[0]},He=function(a){return a.escaped=!0,a},Ie=function(a){return a.escaped=!1,a},Je=function(a){return new zg.ContentNode(a)},Ke="any character",Le="SingleMustacheOpen",Me="DoubleMustacheOpen",Ne="{{",Oe='"{{"',Pe="TripleMustacheOpen",Qe="{{{",Re='"{{{"',Se="SingleMustacheClose",Te="}",Ue='"}"',Ve="DoubleMustacheClose",We="}}",Xe='"}}"',Ye="TripleMustacheClose",Ze="}}}",$e='"}}}"',_e="SubexpressionOpen",af="(",bf='"("',cf="SubexpressionClose",df=")",ef='")"',ff="InterpolationOpen",gf="#{",hf='"#{"',jf="InterpolationClose",kf="==",lf='"=="',mf=function(){return!1},nf=function(){return!0},of=function(a,b){return a||b},pf=function(a,b,c){return vc(a,b,c)},qf=function(a){return{shorthand:a,id:!0}},rf=function(a){return{shorthand:a}},sf=function(a){for(var b,c=[],d=0,e=a.length;e>d;++d){var f=a[d];f.id?b=f.shorthand:c.push(f.shorthand)}return[b,c]},tf=function(a){return a.length?[new zg.ContentNode(" ")].concat(a):[]},uf=/^[A-Za-z.0-9_\-]/,vf="[A-Za-z.0-9_\\-]",wf=function(a){return qc([a],null,!0)},xf=function(a,b){return b.id=new zg.StringNode(b.id.string),[sc(b,"action",[["on",new zg.StringNode(a)]])]},yf=function(a,b){return"true"===b?[new zg.ContentNode(a)]:[]},zf=function(a){return a.replace(/ *$/,"")},Af="!",Bf='"!"',Cf=function(){return yg},Df=function(a,b){var c=new zg.HashNode([[a,new zg.StringNode(b)]]),d=[new zg.IdNode([{part:"bind-attr"}])],e=qc(d,c);return[e]},Ef=function(a,b){var c=qc([b],null,!0);return yg&&"!"===b._emblemSuffixModifier&&(c=sc(c,"unbound")),[new zg.ContentNode(a+'="'),c,new zg.ContentNode('"')]},Ff=function(a,b){var c=[new zg.ContentNode(a+'="')].concat(b);return c.concat([new zg.ContentNode('"')])},Gf="%",Hf='"%"',If="#",Jf='"#"',Kf=function(a){return a},Lf="CSSIdentifier",Mf=/^[_a-zA-Z0-9\-]/,Nf="[_a-zA-Z0-9\\-]",Of=/^[\x80-\xFF]/,Pf="[\\x80-\\xFF]",Qf="KnownHTMLTagName",Rf=function(a){return!!Bg[a]},Sf=function(a){return a},Tf="a JS event",Uf=function(a){return!!Cg[a]},Vf="INDENT",Wf="",Xf='"\\uEFEF"',Yf=function(){return""},Zf="DEDENT",$f="",_f='"\\uEFFE"',ag="Unmatched DEDENT",bg="",cg='"\\uEFEE"',dg="LineEnd",eg="\r",fg='"\\r"',gg="",hg='"\\uEFFF"',ig="\n",jg='"\\n"',kg="ANYDEDENT",lg="RequiredWhitespace",mg="OptionalWhitespace",ng="InlineWhitespace",og=/^[ \t]/,pg="[ \\t]",qg=0,rg=0,sg=0,tg={line:1,column:1,seenCR:!1},ug=0,vg=[],wg=0;if("startRule"in xc){if(!(xc.startRule in yc))throw new Error("Can't start parsing from rule \""+xc.startRule+'".');zc=yc[xc.startRule]}var xg=c.handlebarsVariant,yg="Ember.Handlebars"===xg.JavaScriptCompiler.prototype.namespace,zg=xg.AST,Ag={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},Bg={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},Cg={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},Dg=String.fromCharCode(125),Eg=Dg+Dg,Fg=Eg+Dg;if(wc=zc(),null!==wc&&qg===a.length)return wc;throw f(vg),rg=Math.max(qg,ug),new b(vg,rg<a.length?a.charAt(rg):null,rg,d(rg).line,d(rg).column)}return a(b,Error),{SyntaxError:b,parse:d}}(),b.exports=c.Parser},{"./emblem":3}],5:[function(a){var b,c,d;d=a("StringScanner"),b=a("./emblem"),b.Preprocessor=c=function(){function a(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(a){throw new Error("Unexpected "+a)},this.output="",this.context.observe=function(a){var b;switch(b=this.peek(),a){case e:this.push(a);break;case c:b!==e&&this.err(a),this.pop();break;case"\r":"/"!==b&&this.err(a),this.pop();break;case"\n":"/"!==b&&this.err(a),this.pop();break;case"/":this.push(a);break;case"end-\\":"\\"!==b&&this.err(a),this.pop();break;default:throw new Error("undefined token observed: "+a)}return this},this.ss=this.StringScanner?new this.StringScanner(""):b.StringScanner?new b.StringScanner(""):new d("")}var c,e,f,g,h,i,j,k;return k="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",e="",c="",g="",f="",h=RegExp("["+k+"\\r?\\n]*$"),i=RegExp("(?:["+k+"]*\\r?\\n)+"),a.prototype.p=function(a){return a&&(this.output+=a),a},a.prototype.scan=function(a){return this.p(this.ss.scan(a))},a.prototype.discard=function(a){return this.ss.scan(a)},j=function(a){return function(b){var d,j,l,m;for(a||(this.ss.concat(b),this.discard(i));!this.ss.eos();)switch(this.context.peek()){case null:case e:if(this.ss.bol()||this.discard(i)){if(this.discard(RegExp("["+k+"]*\\r?\\n"))){this.p(""+f+"\n");continue}if(null!=this.base){if(null==this.discard(this.base))throw new Error("inconsistent base indentation")}else d=this.discard(RegExp("["+k+"]*")),this.base=RegExp(""+d);if(0===this.indents.length)this.ss.check(RegExp("["+k+"]+"))&&(this.p(e),this.context.observe(e),this.indents.push(this.scan(RegExp("(["+k+"]+)"))));else if(l=this.indents[this.indents.length-1],j=this.ss.check(RegExp("("+l+")")))this.discard(j),this.ss.check(RegExp("(["+k+"]+)"))&&(this.p(e),this.context.observe(e),this.indents.push(j+this.scan(RegExp("(["+k+"]+)"))));else{for(;this.indents.length&&(l=this.indents[this.indents.length-1],!this.discard(RegExp("(?:"+l+")")));)this.context.observe(c),this.p(c),this.indents.pop();(m=this.discard(RegExp("["+k+"]+")))&&(this.output=this.output.slice(0,-1),this.output+=g,this.p(e),this.context.observe(e),this.indents.push(m))}}this.scan(/[^\r\n]+/),this.discard(/\r?\n/)&&this.p(""+f+"\n")}if(a){for(this.scan(h);this.context.length&&e===this.context.peek();)this.context.observe(c),this.p(c);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},a.prototype.processData=j(!1),a.prototype.processEnd=j(!0),a.processSync=function(b){var c;return b+="\n",c=new a,c.processData(b),c.processEnd(),c.output},a}()},{"./emblem":3,StringScanner:6}],6:[function(a,b){(function(){var a;a=function(){function a(a){this.str=null!=a?a:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset()}return a.prototype.bol=function(){return this.pos<=0||"\n"===this.str[this.pos-1]},a.prototype.captures=function(){return this.lastMatch.captures},a.prototype.check=function(a){var b;return 0!==this.str.substr(this.pos).search(a)?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),this.lastMatch.str)},a.prototype.checkUntil=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.captures=b.slice(1),this.lastMatch.str=this.str.substr(this.pos,c)+b[0])},a.prototype.clone=function(){var a,b,c,d;a=new this.constructor(this.str),a.pos=this.pos,a.lastMatch={},d=this.lastMatch;for(b in d)c=d[b],a.lastMatch[b]=c;return a},a.prototype.concat=function(a){return this.str+=a,this},a.prototype.eos=function(){return this.pos===this.str.length},a.prototype.exists=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),c)},a.prototype.getch=function(){return this.scan(/./)},a.prototype.match=function(){return this.lastMatch.str},a.prototype.matches=function(a){return this.check(a),this.matchSize()},a.prototype.matched=function(){return null!=this.lastMatch.str},a.prototype.matchSize=function(){return this.matched()?this.match().length:null},a.prototype.peek=function(a){return this.str.substr(this.pos,a)},a.prototype.pointer=function(){return this.pos},a.prototype.setPointer=function(a){return a=+a,0>a&&(a=0),a>this.str.length&&(a=this.str.length),this.pos=a},a.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},a.prototype.rest=function(){return this.str.substr(this.pos)},a.prototype.scan=function(a){var b;return b=this.check(a),null!=b&&(this.pos+=b.length),b},a.prototype.scanUntil=function(a){var b;return b=this.checkUntil(a),null!=b&&(this.pos+=b.length),b},a.prototype.skip=function(a){return this.scan(a),this.matchSize()},a.prototype.skipUntil=function(a){return this.scanUntil(a),this.matchSize()},a.prototype.string=function(){return this.str},a.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},a.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},a}(),a.prototype.beginningOfLine=a.prototype.bol,a.prototype.clear=a.prototype.terminate,a.prototype.dup=a.prototype.clone,a.prototype.endOfString=a.prototype.eos,a.prototype.exist=a.prototype.exists,a.prototype.getChar=a.prototype.getch,a.prototype.position=a.prototype.pointer,a.StringScanner=a,b.exports=a}).call(this)},{}]},{},[3]);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emblem-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.18
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Matchneer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-24 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Emblem.js source code wrapper for (pre)compilation gems.
14
14
  email:
@@ -30,17 +30,17 @@ require_paths:
30
30
  - lib
31
31
  required_ruby_version: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  required_rubygems_version: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.2.0
43
+ rubygems_version: 2.2.2
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Emblem.js source code wrapper