chordsheetjs 6.0.2 → 6.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +449 -557
  2. package/lib/bundle.js +15357 -0
  3. package/lib/index.js +6254 -216
  4. package/lib/index.js.map +1 -0
  5. package/lib/main.d.ts +1062 -0
  6. package/lib/main.d.ts.map +1 -0
  7. package/package.json +44 -22
  8. package/.husky/pre-commit +0 -5
  9. package/lib/chord.js +0 -496
  10. package/lib/chord_sheet/chord_lyrics_pair.js +0 -75
  11. package/lib/chord_sheet/chord_pro/composite.js +0 -54
  12. package/lib/chord_sheet/chord_pro/evaluation_error.js +0 -58
  13. package/lib/chord_sheet/chord_pro/literal.js +0 -42
  14. package/lib/chord_sheet/chord_pro/ternary.js +0 -126
  15. package/lib/chord_sheet/comment.js +0 -55
  16. package/lib/chord_sheet/line.js +0 -185
  17. package/lib/chord_sheet/metadata.js +0 -202
  18. package/lib/chord_sheet/paragraph.js +0 -88
  19. package/lib/chord_sheet/song.js +0 -353
  20. package/lib/chord_sheet/tag.js +0 -345
  21. package/lib/chord_sheet_serializer.js +0 -278
  22. package/lib/constants.js +0 -54
  23. package/lib/formatter/chord_pro_formatter.js +0 -184
  24. package/lib/formatter/html_div_formatter.js +0 -130
  25. package/lib/formatter/html_formatter.js +0 -44
  26. package/lib/formatter/html_table_formatter.js +0 -154
  27. package/lib/formatter/templates/html_div_formatter.js +0 -544
  28. package/lib/formatter/templates/html_table_formatter.js +0 -731
  29. package/lib/formatter/text_formatter.js +0 -184
  30. package/lib/helpers.js +0 -32
  31. package/lib/key.js +0 -386
  32. package/lib/normalize_mappings/enharmonic-normalize.js +0 -124
  33. package/lib/normalize_mappings/generate-suffix-normalize-mapping.js +0 -36
  34. package/lib/normalize_mappings/suffix-normalize-mapping.js +0 -914
  35. package/lib/note.js +0 -264
  36. package/lib/parser/chord_pro_parser.js +0 -64
  37. package/lib/parser/chord_pro_peg_parser.js +0 -2069
  38. package/lib/parser/chord_sheet_parser.js +0 -175
  39. package/lib/parser/parser_warning.js +0 -62
  40. package/lib/parser/ultimate_guitar_parser.js +0 -154
  41. package/lib/template_helpers.js +0 -98
  42. package/lib/utilities.js +0 -110
@@ -1,731 +0,0 @@
1
- "use strict";
2
-
3
- var Handlebars = require("handlebars");
4
-
5
- var template = Handlebars.template,
6
- templates = Handlebars.templates = Handlebars.templates || {};
7
- templates['html_table_formatter'] = template({
8
- "1": function _(container, depth0, helpers, partials, data, blockParams, depths) {
9
- var stack1,
10
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
11
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
12
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
13
- return parent[propertyName];
14
- }
15
-
16
- return undefined;
17
- };
18
-
19
- return ((stack1 = lookupProperty(helpers, "if").call(alias1, depth0 != null ? lookupProperty(depth0, "title") : depth0, {
20
- "name": "if",
21
- "hash": {},
22
- "fn": container.program(2, data, 0, blockParams, depths),
23
- "inverse": container.noop,
24
- "data": data,
25
- "blockParams": blockParams,
26
- "loc": {
27
- "start": {
28
- "line": 2,
29
- "column": 2
30
- },
31
- "end": {
32
- "line": 4,
33
- "column": 11
34
- }
35
- }
36
- })) != null ? stack1 : "") + ((stack1 = lookupProperty(helpers, "if").call(alias1, depth0 != null ? lookupProperty(depth0, "subtitle") : depth0, {
37
- "name": "if",
38
- "hash": {},
39
- "fn": container.program(4, data, 0, blockParams, depths),
40
- "inverse": container.noop,
41
- "data": data,
42
- "blockParams": blockParams,
43
- "loc": {
44
- "start": {
45
- "line": 6,
46
- "column": 2
47
- },
48
- "end": {
49
- "line": 8,
50
- "column": 11
51
- }
52
- }
53
- })) != null ? stack1 : "") + ((stack1 = lookupProperty(helpers, "if").call(alias1, depth0 != null ? lookupProperty(depth0, "bodyLines") : depth0, {
54
- "name": "if",
55
- "hash": {},
56
- "fn": container.program(6, data, 0, blockParams, depths),
57
- "inverse": container.noop,
58
- "data": data,
59
- "blockParams": blockParams,
60
- "loc": {
61
- "start": {
62
- "line": 10,
63
- "column": 2
64
- },
65
- "end": {
66
- "line": 52,
67
- "column": 11
68
- }
69
- }
70
- })) != null ? stack1 : "");
71
- },
72
- "2": function _(container, depth0, helpers, partials, data) {
73
- var helper,
74
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
75
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
76
- return parent[propertyName];
77
- }
78
-
79
- return undefined;
80
- };
81
-
82
- return "<h1>" + container.escapeExpression((helper = (helper = lookupProperty(helpers, "title") || (depth0 != null ? lookupProperty(depth0, "title") : depth0)) != null ? helper : container.hooks.helperMissing, typeof helper === "function" ? helper.call(depth0 != null ? depth0 : container.nullContext || {}, {
83
- "name": "title",
84
- "hash": {},
85
- "data": data,
86
- "loc": {
87
- "start": {
88
- "line": 3,
89
- "column": 8
90
- },
91
- "end": {
92
- "line": 3,
93
- "column": 19
94
- }
95
- }
96
- }) : helper)) + "</h1>";
97
- },
98
- "4": function _(container, depth0, helpers, partials, data) {
99
- var helper,
100
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
101
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
102
- return parent[propertyName];
103
- }
104
-
105
- return undefined;
106
- };
107
-
108
- return "<h2>" + container.escapeExpression((helper = (helper = lookupProperty(helpers, "subtitle") || (depth0 != null ? lookupProperty(depth0, "subtitle") : depth0)) != null ? helper : container.hooks.helperMissing, typeof helper === "function" ? helper.call(depth0 != null ? depth0 : container.nullContext || {}, {
109
- "name": "subtitle",
110
- "hash": {},
111
- "data": data,
112
- "loc": {
113
- "start": {
114
- "line": 7,
115
- "column": 8
116
- },
117
- "end": {
118
- "line": 7,
119
- "column": 22
120
- }
121
- }
122
- }) : helper)) + "</h2>";
123
- },
124
- "6": function _(container, depth0, helpers, partials, data, blockParams, depths) {
125
- var stack1,
126
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
127
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
128
- return parent[propertyName];
129
- }
130
-
131
- return undefined;
132
- };
133
-
134
- return "<div class=\"chord-sheet\">" + ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : container.nullContext || {}, depth0 != null ? lookupProperty(depth0, "bodyParagraphs") : depth0, {
135
- "name": "each",
136
- "hash": {},
137
- "fn": container.program(7, data, 1, blockParams, depths),
138
- "inverse": container.noop,
139
- "data": data,
140
- "blockParams": blockParams,
141
- "loc": {
142
- "start": {
143
- "line": 12,
144
- "column": 6
145
- },
146
- "end": {
147
- "line": 50,
148
- "column": 17
149
- }
150
- }
151
- })) != null ? stack1 : "") + "</div>";
152
- },
153
- "7": function _(container, depth0, helpers, partials, data, blockParams, depths) {
154
- var stack1,
155
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
156
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
157
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
158
- return parent[propertyName];
159
- }
160
-
161
- return undefined;
162
- };
163
-
164
- return "<div class=\"" + container.escapeExpression(lookupProperty(helpers, "paragraphClasses").call(alias1, blockParams[0][0], {
165
- "name": "paragraphClasses",
166
- "hash": {},
167
- "data": data,
168
- "blockParams": blockParams,
169
- "loc": {
170
- "start": {
171
- "line": 13,
172
- "column": 20
173
- },
174
- "end": {
175
- "line": 13,
176
- "column": 50
177
- }
178
- }
179
- })) + "\">" + ((stack1 = lookupProperty(helpers, "each").call(alias1, depth0 != null ? lookupProperty(depth0, "lines") : depth0, {
180
- "name": "each",
181
- "hash": {},
182
- "fn": container.program(8, data, 1, blockParams, depths),
183
- "inverse": container.noop,
184
- "data": data,
185
- "blockParams": blockParams,
186
- "loc": {
187
- "start": {
188
- "line": 14,
189
- "column": 10
190
- },
191
- "end": {
192
- "line": 48,
193
- "column": 21
194
- }
195
- }
196
- })) != null ? stack1 : "") + "</div>";
197
- },
198
- "8": function _(container, depth0, helpers, partials, data, blockParams, depths) {
199
- var stack1,
200
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
201
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
202
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
203
- return parent[propertyName];
204
- }
205
-
206
- return undefined;
207
- };
208
-
209
- return (stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "shouldRenderLine").call(alias1, blockParams[0][0], {
210
- "name": "shouldRenderLine",
211
- "hash": {},
212
- "data": data,
213
- "blockParams": blockParams,
214
- "loc": {
215
- "start": {
216
- "line": 15,
217
- "column": 19
218
- },
219
- "end": {
220
- "line": 15,
221
- "column": 42
222
- }
223
- }
224
- }), {
225
- "name": "if",
226
- "hash": {},
227
- "fn": container.program(9, data, 0, blockParams, depths),
228
- "inverse": container.noop,
229
- "data": data,
230
- "blockParams": blockParams,
231
- "loc": {
232
- "start": {
233
- "line": 15,
234
- "column": 12
235
- },
236
- "end": {
237
- "line": 47,
238
- "column": 21
239
- }
240
- }
241
- })) != null ? stack1 : "";
242
- },
243
- "9": function _(container, depth0, helpers, partials, data, blockParams, depths) {
244
- var stack1,
245
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
246
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
247
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
248
- return parent[propertyName];
249
- }
250
-
251
- return undefined;
252
- };
253
-
254
- return "<table class=\"" + container.escapeExpression(lookupProperty(helpers, "lineClasses").call(alias1, blockParams[1][0], {
255
- "name": "lineClasses",
256
- "hash": {},
257
- "data": data,
258
- "blockParams": blockParams,
259
- "loc": {
260
- "start": {
261
- "line": 16,
262
- "column": 28
263
- },
264
- "end": {
265
- "line": 16,
266
- "column": 48
267
- }
268
- }
269
- })) + "\">" + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "hasChordContents").call(alias1, blockParams[1][0], {
270
- "name": "hasChordContents",
271
- "hash": {},
272
- "data": data,
273
- "blockParams": blockParams,
274
- "loc": {
275
- "start": {
276
- "line": 17,
277
- "column": 23
278
- },
279
- "end": {
280
- "line": 17,
281
- "column": 46
282
- }
283
- }
284
- }), {
285
- "name": "if",
286
- "hash": {},
287
- "fn": container.program(10, data, 0, blockParams, depths),
288
- "inverse": container.noop,
289
- "data": data,
290
- "blockParams": blockParams,
291
- "loc": {
292
- "start": {
293
- "line": 17,
294
- "column": 16
295
- },
296
- "end": {
297
- "line": 25,
298
- "column": 25
299
- }
300
- }
301
- })) != null ? stack1 : "") + ((stack1 = lookupProperty(helpers, "if").call(alias1, (lookupProperty(helpers, "hasTextContents") || depth0 && lookupProperty(depth0, "hasTextContents") || container.hooks.helperMissing).call(alias1, blockParams[1][0], {
302
- "name": "hasTextContents",
303
- "hash": {},
304
- "data": data,
305
- "blockParams": blockParams,
306
- "loc": {
307
- "start": {
308
- "line": 27,
309
- "column": 23
310
- },
311
- "end": {
312
- "line": 27,
313
- "column": 45
314
- }
315
- }
316
- }), {
317
- "name": "if",
318
- "hash": {},
319
- "fn": container.program(14, data, 0, blockParams, depths),
320
- "inverse": container.noop,
321
- "data": data,
322
- "blockParams": blockParams,
323
- "loc": {
324
- "start": {
325
- "line": 27,
326
- "column": 16
327
- },
328
- "end": {
329
- "line": 45,
330
- "column": 25
331
- }
332
- }
333
- })) != null ? stack1 : "") + "</table>";
334
- },
335
- "10": function _(container, depth0, helpers, partials, data, blockParams) {
336
- var stack1,
337
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
338
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
339
- return parent[propertyName];
340
- }
341
-
342
- return undefined;
343
- };
344
-
345
- return "<tr>" + ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : container.nullContext || {}, depth0 != null ? lookupProperty(depth0, "items") : depth0, {
346
- "name": "each",
347
- "hash": {},
348
- "fn": container.program(11, data, 1, blockParams),
349
- "inverse": container.noop,
350
- "data": data,
351
- "blockParams": blockParams,
352
- "loc": {
353
- "start": {
354
- "line": 19,
355
- "column": 20
356
- },
357
- "end": {
358
- "line": 23,
359
- "column": 31
360
- }
361
- }
362
- })) != null ? stack1 : "") + "</tr>";
363
- },
364
- "11": function _(container, depth0, helpers, partials, data, blockParams) {
365
- var stack1,
366
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
367
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
368
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
369
- return parent[propertyName];
370
- }
371
-
372
- return undefined;
373
- };
374
-
375
- return (stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "isChordLyricsPair").call(alias1, blockParams[0][0], {
376
- "name": "isChordLyricsPair",
377
- "hash": {},
378
- "data": data,
379
- "blockParams": blockParams,
380
- "loc": {
381
- "start": {
382
- "line": 20,
383
- "column": 29
384
- },
385
- "end": {
386
- "line": 20,
387
- "column": 53
388
- }
389
- }
390
- }), {
391
- "name": "if",
392
- "hash": {},
393
- "fn": container.program(12, data, 0, blockParams),
394
- "inverse": container.noop,
395
- "data": data,
396
- "blockParams": blockParams,
397
- "loc": {
398
- "start": {
399
- "line": 20,
400
- "column": 22
401
- },
402
- "end": {
403
- "line": 22,
404
- "column": 31
405
- }
406
- }
407
- })) != null ? stack1 : "";
408
- },
409
- "12": function _(container, depth0, helpers, partials, data, blockParams) {
410
- var stack1,
411
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
412
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
413
- return parent[propertyName];
414
- }
415
-
416
- return undefined;
417
- };
418
-
419
- return "<td class=\"chord\">" + container.escapeExpression((lookupProperty(helpers, "renderChord") || depth0 && lookupProperty(depth0, "renderChord") || container.hooks.helperMissing).call(depth0 != null ? depth0 : container.nullContext || {}, depth0 != null ? lookupProperty(depth0, "chords") : depth0, (stack1 = blockParams[4][0]) != null ? lookupProperty(stack1, "key") : stack1, (stack1 = (stack1 = data && lookupProperty(data, "root")) && lookupProperty(stack1, "song")) && lookupProperty(stack1, "key"), {
420
- "name": "renderChord",
421
- "hash": {},
422
- "data": data,
423
- "blockParams": blockParams,
424
- "loc": {
425
- "start": {
426
- "line": 21,
427
- "column": 42
428
- },
429
- "end": {
430
- "line": 21,
431
- "column": 88
432
- }
433
- }
434
- })) + "</td>";
435
- },
436
- "14": function _(container, depth0, helpers, partials, data, blockParams, depths) {
437
- var stack1,
438
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
439
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
440
- return parent[propertyName];
441
- }
442
-
443
- return undefined;
444
- };
445
-
446
- return "<tr>" + ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : container.nullContext || {}, depth0 != null ? lookupProperty(depth0, "items") : depth0, {
447
- "name": "each",
448
- "hash": {},
449
- "fn": container.program(15, data, 1, blockParams, depths),
450
- "inverse": container.noop,
451
- "data": data,
452
- "blockParams": blockParams,
453
- "loc": {
454
- "start": {
455
- "line": 29,
456
- "column": 20
457
- },
458
- "end": {
459
- "line": 43,
460
- "column": 31
461
- }
462
- }
463
- })) != null ? stack1 : "") + "</tr>";
464
- },
465
- "15": function _(container, depth0, helpers, partials, data, blockParams, depths) {
466
- var stack1,
467
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
468
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
469
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
470
- return parent[propertyName];
471
- }
472
-
473
- return undefined;
474
- };
475
-
476
- return ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "isChordLyricsPair").call(alias1, blockParams[0][0], {
477
- "name": "isChordLyricsPair",
478
- "hash": {},
479
- "data": data,
480
- "blockParams": blockParams,
481
- "loc": {
482
- "start": {
483
- "line": 30,
484
- "column": 29
485
- },
486
- "end": {
487
- "line": 30,
488
- "column": 53
489
- }
490
- }
491
- }), {
492
- "name": "if",
493
- "hash": {},
494
- "fn": container.program(16, data, 0, blockParams, depths),
495
- "inverse": container.noop,
496
- "data": data,
497
- "blockParams": blockParams,
498
- "loc": {
499
- "start": {
500
- "line": 30,
501
- "column": 22
502
- },
503
- "end": {
504
- "line": 32,
505
- "column": 31
506
- }
507
- }
508
- })) != null ? stack1 : "") + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "isTag").call(alias1, blockParams[0][0], {
509
- "name": "isTag",
510
- "hash": {},
511
- "data": data,
512
- "blockParams": blockParams,
513
- "loc": {
514
- "start": {
515
- "line": 34,
516
- "column": 29
517
- },
518
- "end": {
519
- "line": 34,
520
- "column": 41
521
- }
522
- }
523
- }), {
524
- "name": "if",
525
- "hash": {},
526
- "fn": container.program(18, data, 0, blockParams, depths),
527
- "inverse": container.noop,
528
- "data": data,
529
- "blockParams": blockParams,
530
- "loc": {
531
- "start": {
532
- "line": 34,
533
- "column": 22
534
- },
535
- "end": {
536
- "line": 38,
537
- "column": 31
538
- }
539
- }
540
- })) != null ? stack1 : "") + ((stack1 = lookupProperty(helpers, "if").call(alias1, (lookupProperty(helpers, "isEvaluatable") || depth0 && lookupProperty(depth0, "isEvaluatable") || container.hooks.helperMissing).call(alias1, blockParams[0][0], {
541
- "name": "isEvaluatable",
542
- "hash": {},
543
- "data": data,
544
- "blockParams": blockParams,
545
- "loc": {
546
- "start": {
547
- "line": 40,
548
- "column": 29
549
- },
550
- "end": {
551
- "line": 40,
552
- "column": 49
553
- }
554
- }
555
- }), {
556
- "name": "if",
557
- "hash": {},
558
- "fn": container.program(21, data, 0, blockParams, depths),
559
- "inverse": container.noop,
560
- "data": data,
561
- "blockParams": blockParams,
562
- "loc": {
563
- "start": {
564
- "line": 40,
565
- "column": 22
566
- },
567
- "end": {
568
- "line": 42,
569
- "column": 31
570
- }
571
- }
572
- })) != null ? stack1 : "");
573
- },
574
- "16": function _(container, depth0, helpers, partials, data) {
575
- var helper,
576
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
577
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
578
- return parent[propertyName];
579
- }
580
-
581
- return undefined;
582
- };
583
-
584
- return "<td class=\"lyrics\">" + container.escapeExpression((helper = (helper = lookupProperty(helpers, "lyrics") || (depth0 != null ? lookupProperty(depth0, "lyrics") : depth0)) != null ? helper : container.hooks.helperMissing, typeof helper === "function" ? helper.call(depth0 != null ? depth0 : container.nullContext || {}, {
585
- "name": "lyrics",
586
- "hash": {},
587
- "data": data,
588
- "loc": {
589
- "start": {
590
- "line": 31,
591
- "column": 43
592
- },
593
- "end": {
594
- "line": 31,
595
- "column": 53
596
- }
597
- }
598
- }) : helper)) + "</td>";
599
- },
600
- "18": function _(container, depth0, helpers, partials, data, blockParams) {
601
- var stack1,
602
- alias1 = depth0 != null ? depth0 : container.nullContext || {},
603
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
604
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
605
- return parent[propertyName];
606
- }
607
-
608
- return undefined;
609
- };
610
-
611
- return (stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(helpers, "isComment").call(alias1, blockParams[1][0], {
612
- "name": "isComment",
613
- "hash": {},
614
- "data": data,
615
- "blockParams": blockParams,
616
- "loc": {
617
- "start": {
618
- "line": 35,
619
- "column": 31
620
- },
621
- "end": {
622
- "line": 35,
623
- "column": 47
624
- }
625
- }
626
- }), {
627
- "name": "if",
628
- "hash": {},
629
- "fn": container.program(19, data, 0, blockParams),
630
- "inverse": container.noop,
631
- "data": data,
632
- "blockParams": blockParams,
633
- "loc": {
634
- "start": {
635
- "line": 35,
636
- "column": 24
637
- },
638
- "end": {
639
- "line": 37,
640
- "column": 33
641
- }
642
- }
643
- })) != null ? stack1 : "";
644
- },
645
- "19": function _(container, depth0, helpers, partials, data) {
646
- var helper,
647
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
648
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
649
- return parent[propertyName];
650
- }
651
-
652
- return undefined;
653
- };
654
-
655
- return "<td class=\"comment\">" + container.escapeExpression((helper = (helper = lookupProperty(helpers, "value") || (depth0 != null ? lookupProperty(depth0, "value") : depth0)) != null ? helper : container.hooks.helperMissing, typeof helper === "function" ? helper.call(depth0 != null ? depth0 : container.nullContext || {}, {
656
- "name": "value",
657
- "hash": {},
658
- "data": data,
659
- "loc": {
660
- "start": {
661
- "line": 36,
662
- "column": 46
663
- },
664
- "end": {
665
- "line": 36,
666
- "column": 55
667
- }
668
- }
669
- }) : helper)) + "</td>";
670
- },
671
- "21": function _(container, depth0, helpers, partials, data, blockParams, depths) {
672
- var stack1,
673
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
674
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
675
- return parent[propertyName];
676
- }
677
-
678
- return undefined;
679
- };
680
-
681
- return "<td class=\"lyrics\">" + container.escapeExpression((lookupProperty(helpers, "evaluate") || depth0 && lookupProperty(depth0, "evaluate") || container.hooks.helperMissing).call(depth0 != null ? depth0 : container.nullContext || {}, blockParams[1][0], (stack1 = depths[4] != null ? lookupProperty(depths[4], "song") : depths[4]) != null ? lookupProperty(stack1, "metadata") : stack1, {
682
- "name": "evaluate",
683
- "hash": {},
684
- "data": data,
685
- "blockParams": blockParams,
686
- "loc": {
687
- "start": {
688
- "line": 41,
689
- "column": 43
690
- },
691
- "end": {
692
- "line": 41,
693
- "column": 86
694
- }
695
- }
696
- })) + "</td>";
697
- },
698
- "compiler": [8, ">= 4.3.0"],
699
- "main": function main(container, depth0, helpers, partials, data, blockParams, depths) {
700
- var stack1,
701
- lookupProperty = container.lookupProperty || function (parent, propertyName) {
702
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
703
- return parent[propertyName];
704
- }
705
-
706
- return undefined;
707
- };
708
-
709
- return (stack1 = lookupProperty(helpers, "with").call(depth0 != null ? depth0 : container.nullContext || {}, depth0 != null ? lookupProperty(depth0, "song") : depth0, {
710
- "name": "with",
711
- "hash": {},
712
- "fn": container.program(1, data, 0, blockParams, depths),
713
- "inverse": container.noop,
714
- "data": data,
715
- "blockParams": blockParams,
716
- "loc": {
717
- "start": {
718
- "line": 1,
719
- "column": 0
720
- },
721
- "end": {
722
- "line": 53,
723
- "column": 11
724
- }
725
- }
726
- })) != null ? stack1 : "";
727
- },
728
- "useData": true,
729
- "useDepths": true,
730
- "useBlockParams": true
731
- });