/usr/share/javascript/handlebars.runtime/handlebars.runtime.js is in libjs-handlebars.runtime 3:4.0.10-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Handlebars"] = factory();
else
root["Handlebars"] = factory();
})(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 3);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.extend = extend;
/*istanbul ignore next*/exports.indexOf = indexOf;
/*istanbul ignore next*/exports.escapeExpression = escapeExpression;
/*istanbul ignore next*/exports.isEmpty = isEmpty;
/*istanbul ignore next*/exports.createFrame = createFrame;
/*istanbul ignore next*/exports.blockParams = blockParams;
/*istanbul ignore next*/exports.appendContextPath = appendContextPath;
var escape = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
'`': '`',
'=': '='
};
var badChars = /[&<>"'`=]/g,
possible = /[&<>"'`=]/;
function escapeChar(chr) {
return escape[chr];
}
function extend(obj /* , ...source */) {
for (var i = 1; i < arguments.length; i++) {
for (var key in arguments[i]) {
if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {
obj[key] = arguments[i][key];
}
}
}
return obj;
}
var toString = /*istanbul ignore next*/exports.toString = Object.prototype.toString;
// Sourced from lodash
// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
/* eslint-disable func-style */
var isFunction = function /*istanbul ignore next*/isFunction(value) {
return typeof value === 'function';
};
// fallback for older versions of Chrome and Safari
/* istanbul ignore next */
if (isFunction(/x/)) {
/*istanbul ignore next*/exports.isFunction = isFunction = function /*istanbul ignore next*/isFunction(value) {
return typeof value === 'function' && toString.call(value) === '[object Function]';
};
}
/*istanbul ignore next*/exports.isFunction = isFunction;
/* eslint-enable func-style */
/* istanbul ignore next */
var isArray = /*istanbul ignore next*/exports.isArray = Array.isArray || function (value) {
return value && /*istanbul ignore next*/(typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' ? toString.call(value) === '[object Array]' : false;
};
// Older IE versions do not directly support indexOf so we must implement our own, sadly.
function indexOf(array, value) {
for (var i = 0, len = array.length; i < len; i++) {
if (array[i] === value) {
return i;
}
}
return -1;
}
function escapeExpression(string) {
if (typeof string !== 'string') {
// don't escape SafeStrings, since they're already safe
if (string && string.toHTML) {
return string.toHTML();
} else if (string == null) {
return '';
} else if (!string) {
return string + '';
}
// Force a string conversion as this will be done by the append regardless and
// the regex test will do this transparently behind the scenes, causing issues if
// an object's to string has escaped characters in it.
string = '' + string;
}
if (!possible.test(string)) {
return string;
}
return string.replace(badChars, escapeChar);
}
function isEmpty(value) {
if (!value && value !== 0) {
return true;
} else if (isArray(value) && value.length === 0) {
return true;
} else {
return false;
}
}
function createFrame(object) {
var frame = extend({}, object);
frame._parent = object;
return frame;
}
function blockParams(params, ids) {
params.path = ids;
return params;
}
function appendContextPath(contextPath, id) {
return (contextPath ? contextPath + '.' : '') + id;
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3V0aWxzLmpzIl0sIm5hbWVzIjpbImV4dGVuZCIsImluZGV4T2YiLCJlc2NhcGVFeHByZXNzaW9uIiwiaXNFbXB0eSIsImNyZWF0ZUZyYW1lIiwiYmxvY2tQYXJhbXMiLCJhcHBlbmRDb250ZXh0UGF0aCIsImVzY2FwZSIsImJhZENoYXJzIiwicG9zc2libGUiLCJlc2NhcGVDaGFyIiwiY2hyIiwib2JqIiwiaSIsImFyZ3VtZW50cyIsImxlbmd0aCIsImtleSIsIk9iamVjdCIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsInRvU3RyaW5nIiwiaXNGdW5jdGlvbiIsInZhbHVlIiwiaXNBcnJheSIsIkFycmF5IiwiYXJyYXkiLCJsZW4iLCJzdHJpbmciLCJ0b0hUTUwiLCJ0ZXN0IiwicmVwbGFjZSIsIm9iamVjdCIsImZyYW1lIiwiX3BhcmVudCIsInBhcmFtcyIsImlkcyIsInBhdGgiLCJjb250ZXh0UGF0aCIsImlkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7UUFpQmdCQSxNLEdB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2YWx1ZSkge1xuICBpZiAoIXZhbHVlICYmIHZhbHVlICE9PSAwKSB7XG4gICAgcmV0dXJuIHRydWU7XG4gIH0gZWxzZSBpZiAoaXNBcnJheSh2YWx1ZSkgJiYgdmFsdWUubGVuZ3RoID09PSAwKSB7XG4gICAgcmV0dXJuIHRydWU7XG4gIH0gZWxzZSB7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVGcmFtZShvYmplY3QpIHtcbiAgbGV0IGZyYW1lID0gZXh0ZW5kKHt9LCBvYmplY3QpO1xuICBmcmFtZS5fcGFyZW50ID0gb2JqZWN0O1xuICByZXR1cm4gZnJhbWU7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBibG9ja1BhcmFtcyhwYXJhbXMsIGlkcykge1xuICBwYXJhbXMucGF0aCA9IGlkcztcbiAgcmV0dXJuIHBhcmFtcztcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGFwcGVuZENvbnRleHRQYXRoKGNvbnRleHRQYXRoLCBpZCkge1xuICByZXR1cm4gKGNvbnRleHRQYXRoID8gY29udGV4dFBhdGggKyAnLicgOiAnJykgKyBpZDtcbn1cbiJdfQ==
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
function Exception(message, node) {
var loc = node && node.loc,
line = /*istanbul ignore next*/void 0,
column = /*istanbul ignore next*/void 0;
if (loc) {
line = loc.start.line;
column = loc.start.column;
message += ' - ' + line + ':' + column;
}
var tmp = Error.prototype.constructor.call(this, message);
// Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.
for (var idx = 0; idx < errorProps.length; idx++) {
this[errorProps[idx]] = tmp[errorProps[idx]];
}
/* istanbul ignore else */
if (Error.captureStackTrace) {
Error.captureStackTrace(this, Exception);
}
try {
if (loc) {
this.lineNumber = line;
// Work around issue under safari where we can't directly set the column value
/* istanbul ignore next */
if (Object.defineProperty) {
Object.defineProperty(this, 'column', {
value: column,
enumerable: true
});
} else {
this.column = column;
}
}
} catch (nop) {
/* Ignore if the browser is very particular */
}
}
Exception.prototype = new Error();
/*istanbul ignore next*/exports.default = Exception;
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2V4Y2VwdGlvbi5qcyJdLCJuYW1lcyI6WyJlcnJvclByb3BzIiwiRXhjZXB0aW9uIiwibWVzc2FnZSIsIm5vZGUiLCJsb2MiLCJsaW5lIiwiY29sdW1uIiwic3RhcnQiLCJ0bXAiLCJFcnJvciIsInByb3RvdHlwZSIsImNvbnN0cnVjdG9yIiwiY2FsbCIsImlkeCIsImxlbmd0aCIsImNhcHR1cmVTdGFja1RyYWNlIiwibGluZU51bWJlciIsIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwidmFsdWUiLCJlbnVtZXJhYmxlIiwibm9wIl0sIm1hcHBpbmdzIjoiOzs7O0FBQ0EsSUFBTUEsYUFBYSxDQUFDLGFBQUQsRUFBZ0IsVUFBaEIsRUFBNEIsWUFBNUIsRUFBMEMsU0FBMUMsRUFBcUQsTUFBckQsRUFBNkQsUUFBN0QsRUFBdUUsT0FBdkUsQ0FBbkI7O0FBRUEsU0FBU0MsU0FBVCxDQUFtQkMsT0FBbkIsRUFBNEJDLElBQTVCLEVBQWtDO0FBQ2hDLE1BQUlDLE1BQU1ELFFBQVFBLEtBQUtDLEdBQXZCO0FBQUEsTUFDSUMscUNBREo7QUFBQSxNQUVJQyx1Q0FGSjtBQUdBLE1BQUlGLEdBQUosRUFBUztBQUNQQyxXQUFPRCxJQUFJRyxLQUFKLENBQVVGLElBQWpCO0FBQ0FDLGFBQVNGLElBQUlHLEtBQUosQ0FBVUQsTUFBbkI7O0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vbHVtbiB2YWx1ZVxuICAgICAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgICAgIGlmIChPYmplY3QuZGVmaW5lUHJvcGVydHkpIHtcbiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KHRoaXMsICdjb2x1bW4nLCB7XG4gICAgICAgICAgdmFsdWU6IGNvbHVtbixcbiAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlXG4gICAgICAgIH0pO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5jb2x1bW4gPSBjb2x1bW47XG4gICAgICB9XG4gICAgfVxuICB9IGNhdGNoIChub3ApIHtcbiAgICAvKiBJZ25vcmUgaWYgdGhlIGJyb3dzZXIgaXMgdmVyeSBwYXJ0aWN1bGFyICovXG4gIH1cbn1cblxuRXhjZXB0aW9uLnByb3RvdHlwZSA9IG5ldyBFcnJvcigpO1xuXG5leHBvcnQgZGVmYXVsdCBFeGNlcHRpb247XG4iXX0=
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.logger = exports.createFrame = exports.log = exports.REVISION_CHANGES = exports.COMPILER_REVISION = exports.VERSION = undefined;
exports.HandlebarsEnvironment = HandlebarsEnvironment;
var /*istanbul ignore next*/_utils = __webpack_require__(0);
var /*istanbul ignore next*/_exception = __webpack_require__(1);
/*istanbul ignore next*/var _exception2 = _interopRequireDefault(_exception);
var /*istanbul ignore next*/_helpers = __webpack_require__(4);
var /*istanbul ignore next*/_decorators = __webpack_require__(12);
var /*istanbul ignore next*/_logger = __webpack_require__(14);
/*istanbul ignore next*/var _logger2 = _interopRequireDefault(_logger);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var VERSION = /*istanbul ignore next*/exports.VERSION = '4.0.10';
var COMPILER_REVISION = /*istanbul ignore next*/exports.COMPILER_REVISION = 7;
var REVISION_CHANGES = /*istanbul ignore next*/exports.REVISION_CHANGES = {
1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it
2: '== 1.0.0-rc.3',
3: '== 1.0.0-rc.4',
4: '== 1.x.x',
5: '== 2.0.0-alpha.x',
6: '>= 2.0.0-beta.1',
7: '>= 4.0.0'
};
var objectType = '[object Object]';
function HandlebarsEnvironment(helpers, partials, decorators) {
this.helpers = helpers || {};
this.partials = partials || {};
this.decorators = decorators || {};
/*istanbul ignore next*/(0, _helpers.registerDefaultHelpers)(this);
/*istanbul ignore next*/(0, _decorators.registerDefaultDecorators)(this);
}
HandlebarsEnvironment.prototype = {
constructor: HandlebarsEnvironment,
logger: /*istanbul ignore next*/_logger2.default,
log: /*istanbul ignore next*/_logger2.default.log,
registerHelper: function /*istanbul ignore next*/registerHelper(name, fn) {
if ( /*istanbul ignore next*/_utils.toString.call(name) === objectType) {
if (fn) {
throw new /*istanbul ignore next*/_exception2.default('Arg not supported with multiple helpers');
}
/*istanbul ignore next*/(0, _utils.extend)(this.helpers, name);
} else {
this.helpers[name] = fn;
}
},
unregisterHelper: function /*istanbul ignore next*/unregisterHelper(name) {
delete this.helpers[name];
},
registerPartial: function /*istanbul ignore next*/registerPartial(name, partial) {
if ( /*istanbul ignore next*/_utils.toString.call(name) === objectType) {
/*istanbul ignore next*/(0, _utils.extend)(this.partials, name);
} else {
if (typeof partial === 'undefined') {
throw new /*istanbul ignore next*/_exception2.default( /*istanbul ignore next*/'Attempting to register a partial called "' + name + '" as undefined');
}
this.partials[name] = partial;
}
},
unregisterPartial: function /*istanbul ignore next*/unregisterPartial(name) {
delete this.partials[name];
},
registerDecorator: function /*istanbul ignore next*/registerDecorator(name, fn) {
if ( /*istanbul ignore next*/_utils.toString.call(name) === objectType) {
if (fn) {
throw new /*istanbul ignore next*/_exception2.default('Arg not supported with multiple decorators');
}
/*istanbul ignore next*/(0, _utils.extend)(this.decorators, name);
} else {
this.decorators[name] = fn;
}
},
unregisterDecorator: function /*istanbul ignore next*/unregisterDecorator(name) {
delete this.decorators[name];
}
};
var log = /*istanbul ignore next*/exports.log = /*istanbul ignore next*/_logger2.default.log;
/*istanbul ignore next*/exports.createFrame = _utils.createFrame;
/*istanbul ignore next*/exports.logger = _logger2.default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2Jhc2UuanMiXSwibmFtZXMiOlsiSGFuZGxlYmFyc0Vudmlyb25tZW50IiwiVkVSU0lPTiIsIkNPTVBJTEVSX1JFVklTSU9OIiwiUkVWSVNJT05fQ0hBTkdFUyIsIm9iamVjdFR5cGUiLCJoZWxwZXJzIiwicGFydGlhbHMiLCJkZWNvcmF0b3JzIiwicHJvdG90eXBlIiwiY29uc3RydWN0b3IiLCJsb2dnZXIiLCJsb2ciLCJyZWdpc3RlckhlbHBlciIsIm5hbWUiLCJmbiIsImNhbGwiLCJ1bnJlZ2lzdGVySGVscGVyIiwicmVnaXN0ZXJQYXJ0aWFsIiwicGFydGlhbCIsInVucmVnaXN0ZXJQYXJ0aWFsIiwicmVnaXN0ZXJEZWNvcmF0b3IiLCJ1bnJlZ2lzdGVyRGVjb3JhdG9yIiwiY3JlYXRlRnJhbWUiXSwibWFwcGluZ3MiOiI7Ozs7UUFxQmdCQSxxQixHQUFBQSxxQjs7QUFyQmhCOztBQUNBOzs7O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7OztBQUVPLElBQU1DLG9EQUFVLFFBQWhCO0FBQ0EsSUFBTUMsd0VBQW9CLENBQTFCOztBQUVBLElBQU1DLHNFQUFtQjtBQUM5QixLQUFHLGFBRDJCLEVBQ1o7QUFDbEIsS0FBRyxlQUYyQjtBQUc5QixLQUFHLGVBSDJCO0FBSTlCLEtBQUcsVUFKMkI7QUFLOUIsS0FBRyxrQkFMMkI7QUFNOUIsS0FBRyxpQkFOMkI7QUFPOUIsS0FBRztBQVAyQixDQUF6Qjs7QUFVUCxJQUFNQyxhQUFh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ogZnVuY3Rpb24obmFtZSwgZm4pIHtcbiAgICBpZiAodG9TdHJpbmcuY2FsbChuYW1lKSA9PT0gb2JqZWN0VHlwZSkge1xuICAgICAgaWYgKGZuKSB7IHRocm93IG5ldyBFeGNlcHRpb24oJ0FyZyBub3Qgc3VwcG9ydGVkIHdpdGggbXVsdGlwbGUgZGVjb3JhdG9ycycpOyB9XG4gICAgICBleHRlbmQodGhpcy5kZWNvcmF0b3JzLCBuYW1lKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5kZWNvcmF0b3JzW25hbWVdID0gZm47XG4gICAgfVxuICB9LFxuICB1bnJlZ2lzdGVyRGVjb3JhdG9yOiBmdW5jdGlvbihuYW1lKSB7XG4gICAgZGVsZXRlIHRoaXMuZGVjb3JhdG9yc1tuYW1lXTtcbiAgfVxufTtcblxuZXhwb3J0IGxldCBsb2cgPSBsb2dnZXIubG9nO1xuXG5leHBvcnQge2NyZWF0ZUZyYW1lLCBsb2dnZXJ9O1xuIl19
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var /*istanbul ignore next*/_base = __webpack_require__(2);
/*istanbul ignore next*/var base = _interopRequireWildcard(_base);
var /*istanbul ignore next*/_safeString = __webpack_require__(15);
/*istanbul ignore next*/var _safeString2 = _interopRequireDefault(_safeString);
var /*istanbul ignore next*/_exception = __webpack_require__(1);
/*istanbul ignore next*/var _exception2 = _interopRequireDefault(_exception);
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/var Utils = _interopRequireWildcard(_utils);
var /*istanbul ignore next*/_runtime = __webpack_require__(16);
/*istanbul ignore next*/var runtime = _interopRequireWildcard(_runtime);
var /*istanbul ignore next*/_noConflict = __webpack_require__(17);
/*istanbul ignore next*/var _noConflict2 = _interopRequireDefault(_noConflict);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
// For compatibility and usage outside of module systems, make the Handlebars object a namespace
function create() {
var hb = new base.HandlebarsEnvironment();
Utils.extend(hb, base);
hb.SafeString = /*istanbul ignore next*/_safeString2.default;
hb.Exception = /*istanbul ignore next*/_exception2.default;
hb.Utils = Utils;
hb.escapeExpression = Utils.escapeExpression;
hb.VM = runtime;
hb.template = function (spec) {
return runtime.template(spec, hb);
};
return hb;
}
// Each of these augment the Handlebars object. No need to setup here.
// (This is done to easily share code between commonjs and browse envs)
var inst = create();
inst.create = create;
/*istanbul ignore next*/(0, _noConflict2.default)(inst);
inst['default'] = inst;
/*istanbul ignore next*/exports.default = inst;
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9oYW5kbGViYXJzLnJ1bnRpbWUuanMiXSwibmFtZXMiOlsiYmFzZSIsIlV0aWxzIiwicnVudGltZSIsImNyZWF0ZSIsImhiIiwiSGFuZGxlYmFyc0Vudmlyb25tZW50IiwiZXh0ZW5kIiwiU2FmZVN0cmluZyIsIkV4Y2VwdGlvbiIsImVzY2FwZUV4cHJlc3Npb24iLCJWTSIsInRlbXBsYXRlIiwic3BlYyIsImluc3QiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7NEJBQVlBLEk7O0FBSVo7Ozs7QUFDQTs7OztBQUNBOzs0QkFBWUMsSzs7QUFDWjs7NEJBQVlDLE87O0FBRVo7Ozs7Ozs7O0FBRUE7QUFDQSxTQUFTQyxNQUFULEdBQWtCO0FBQ2hCLE1BQUlDLEtBQUssSUFBSUosS0FBS0sscUJBQVQsRUFBVDs7QUFFQUosUUFBTUssTUFBTixDQUFhRixFQUFiLEVBQWlCSixJQUFqQjtBQUNBSSxLQUFHRyxVQ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W50aW1lJztcblxuaW1wb3J0IG5vQ29uZmxpY3QgZnJvbSAnLi9oYW5kbGViYXJzL25vLWNvbmZsaWN0JztcblxuLy8gRm9yIGNvbXBhdGliaWxpdHkgYW5kIHVzYWdlIG91dHNpZGUgb2YgbW9kdWxlIHN5c3RlbXMsIG1ha2UgdGhlIEhhbmRsZWJhcnMgb2JqZWN0IGEgbmFtZXNwYWNlXG5mdW5jdGlvbiBjcmVhdGUoKSB7XG4gIGxldCBoYiA9IG5ldyBiYXNlLkhhbmRsZWJhcnNFbnZpcm9ubWVudCgpO1xuXG4gIFV0aWxzLmV4dGVuZChoYiwgYmFzZSk7XG4gIGhiLlNhZmVTdHJpbmcgPSBTYWZlU3RyaW5nO1xuICBoYi5FeGNlcHRpb24gPSBFeGNlcHRpb247XG4gIGhiLlV0aWxzID0gVXRpbHM7XG4gIGhiLmVzY2FwZUV4cHJlc3Npb24gPSBVdGlscy5lc2NhcGVFeHByZXNzaW9uO1xuXG4gIGhiLlZNID0gcnVudGltZTtcbiAgaGIudGVtcGxhdGUgPSBmdW5jdGlvbihzcGVjKSB7XG4gICAgcmV0dXJuIHJ1bnRpbWUudGVtcGxhdGUoc3BlYywgaGIpO1xuICB9O1xuXG4gIHJldHVybiBoYjtcbn1cblxubGV0IGluc3QgPSBjcmVhdGUoKTtcbmluc3QuY3JlYXRlID0gY3JlYXRlO1xuXG5ub0NvbmZsaWN0KGluc3QpO1xuXG5pbnN0WydkZWZhdWx0J10gPSBpbnN0O1xuXG5leHBvcnQgZGVmYXVsdCBpbnN0O1xuIl19
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.registerDefaultHelpers = registerDefaultHelpers;
var /*istanbul ignore next*/_blockHelperMissing = __webpack_require__(5);
/*istanbul ignore next*/var _blockHelperMissing2 = _interopRequireDefault(_blockHelperMissing);
var /*istanbul ignore next*/_each = __webpack_require__(6);
/*istanbul ignore next*/var _each2 = _interopRequireDefault(_each);
var /*istanbul ignore next*/_helperMissing = __webpack_require__(7);
/*istanbul ignore next*/var _helperMissing2 = _interopRequireDefault(_helperMissing);
var /*istanbul ignore next*/_if = __webpack_require__(8);
/*istanbul ignore next*/var _if2 = _interopRequireDefault(_if);
var /*istanbul ignore next*/_log = __webpack_require__(9);
/*istanbul ignore next*/var _log2 = _interopRequireDefault(_log);
var /*istanbul ignore next*/_lookup = __webpack_require__(10);
/*istanbul ignore next*/var _lookup2 = _interopRequireDefault(_lookup);
var /*istanbul ignore next*/_with = __webpack_require__(11);
/*istanbul ignore next*/var _with2 = _interopRequireDefault(_with);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function registerDefaultHelpers(instance) {
/*istanbul ignore next*/(0, _blockHelperMissing2.default)(instance);
/*istanbul ignore next*/(0, _each2.default)(instance);
/*istanbul ignore next*/(0, _helperMissing2.default)(instance);
/*istanbul ignore next*/(0, _if2.default)(instance);
/*istanbul ignore next*/(0, _log2.default)(instance);
/*istanbul ignore next*/(0, _lookup2.default)(instance);
/*istanbul ignore next*/(0, _with2.default)(instance);
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMuanMiXSwibmFtZXMiOlsicmVnaXN0ZXJEZWZhdWx0SGVscGVycyIsImluc3RhbmNlIl0sIm1hcHBpbmdzIjoiOzs7UUFRZ0JBLHNCLEdBQUFBLHNCOztBQVJoQjs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7Ozs7O0FBRU8sU0FBU0Esc0JBQVQsQ0FBZ0NDLFFBQWhDLEVBQTBDO0FBQy9DLDREQUEyQkEsUUFBM0I7QUFDQSw4Q0FBYUEsUUFBYjtBQUNBLHVEQUFzQkEsUUFBdEI7QUFDQSw0Q0FBV0EsUUFBWDtBQUNBLDZDQUFZQSxRQUFaO0FBQ0EsZ0RBQWVBLFFBQWY7QUFDQSw4Q0FBYUEsUUFBYjtBQUNEIiwiZmlsZSI6ImhlbHBlcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcmVnaXN0ZXJCbG9ja0hlbHBlck1pc3NpbmcgZnJvbSAnLi9oZWxwZXJzL2Jsb2NrLWhlbHBlci1taXNzaW5nJztcbmltcG9ydCByZWdpc3RlckVhY2ggZnJvbSAnLi9oZWxwZXJzL2VhY2gnO1xuaW1wb3J0IHJlZ2lzdGVySGVscGVyTWlzc2luZyBmcm9tICcuL2hlbHBlcnMvaGVscGVyLW1pc3NpbmcnO1xuaW1wb3J0IHJlZ2lzdGVySWYgZnJvbSAnLi9oZWxwZXJzL2lmJztcbmltcG9ydCByZWdpc3RlckxvZyBmcm9tICcuL2hlbHBlcnMvbG9nJztcbmltcG9ydCByZWdpc3Rlckxvb2t1cCBmcm9tICcuL2hlbHBlcnMvbG9va3VwJztcbmltcG9ydCByZWdpc3RlcldpdGggZnJvbSAnLi9oZWxwZXJzL3dpdGgnO1xuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJEZWZhdWx0SGVscGVycyhpbnN0YW5jZSkge1xuICByZWdpc3RlckJsb2NrSGVscGVyTWlzc2luZyhpbnN0YW5jZSk7XG4gIHJlZ2lzdGVyRWFjaChpbnN0YW5jZSk7XG4gIHJlZ2lzdGVySGVscGVyTWlzc2luZyhpbnN0YW5jZSk7XG4gIHJlZ2lzdGVySWYoaW5zdGFuY2UpO1xuICByZWdpc3RlckxvZyhpbnN0YW5jZSk7XG4gIHJlZ2lzdGVyTG9va3VwKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJXaXRoKGluc3RhbmNlKTtcbn1cbiJdfQ==
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('blockHelperMissing', function (context, options) {
var inverse = options.inverse,
fn = options.fn;
if (context === true) {
return fn(this);
} else if (context === false || context == null) {
return inverse(this);
} else if ( /*istanbul ignore next*/(0, _utils.isArray)(context)) {
if (context.length > 0) {
if (options.ids) {
options.ids = [options.name];
}
return instance.helpers.each(context, options);
} else {
return inverse(this);
}
} else {
if (options.data && options.ids) {
var data = /*istanbul ignore next*/(0, _utils.createFrame)(options.data);
data.contextPath = /*istanbul ignore next*/(0, _utils.appendContextPath)(options.data.contextPath, options.name);
options = { data: data };
}
return fn(context, options);
}
});
};
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOlsiaW5zdGFuY2UiLCJyZWdpc3RlckhlbHBlciIsImNvbnRleHQiLCJvcHRpb25zIiwiaW52ZXJzZSIsImZuIiwibGVuZ3RoIiwiaWRzIiwibmFtZSIsImhlbHBlcnMiLCJlYWNoIiwiZGF0YSIsImNvbnRleHRQYXRoIl0sIm1hcHBpbmdzIjoiOzs7O2tCQUVlLFVBQVNBLFFBQVQsRUFBbUI7QUFDaENBLFdBQVNDLGNBQVQsQ0FBd0Isb0JBQXhCLEVBQThDLFVBQVNDLE9BQVQsRUFBa0JDLE9BQWxCLEVBQTJCO0FBQ3ZFLFFBQUlDLFVBQVVELFFBQVFDLE9BQXRCO0FBQUEsUUFDSUMsS0FBS0YsUUFBUUUsRUFEakI7O0FBR0EsUUFBSUgsWUFBWSxJQUFoQixFQUFzQjtBQUNwQixhQUFPRyxHQUFHLElBQUgsQ0FBUDtBQUNELEtBRkQsTUFFTyxJQUFJSCxZQUFZLEtBQVosSUFBcUJBLFdBQVcsSUFBcEMsRUFBMEM7QUFDL0MsYUFBT0UsUUFBUS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4dCwgb3B0aW9ucykge1xuICAgIGxldCBpbnZlcnNlID0gb3B0aW9ucy5pbnZlcnNlLFxuICAgICAgICBmbiA9IG9wdGlvbnMuZm47XG5cbiAgICBpZiAoY29udGV4dCA9PT0gdHJ1ZSkge1xuICAgICAgcmV0dXJuIGZuKHRoaXMpO1xuICAgIH0gZWxzZSBpZiAoY29udGV4dCA9PT0gZmFsc2UgfHwgY29udGV4dCA9PSBudWxsKSB7XG4gICAgICByZXR1cm4gaW52ZXJzZSh0aGlzKTtcbiAgICB9IGVsc2UgaWYgKGlzQXJyYXkoY29udGV4dCkpIHtcbiAgICAgIGlmIChjb250ZXh0Lmxlbmd0aCA+IDApIHtcbiAgICAgICAgaWYgKG9wdGlvbnMuaWRzKSB7XG4gICAgICAgICAgb3B0aW9ucy5pZHMgPSBbb3B0aW9ucy5uYW1lXTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBpbnN0YW5jZS5oZWxwZXJzLmVhY2goY29udGV4dCwgb3B0aW9ucyk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICByZXR1cm4gaW52ZXJzZSh0aGlzKTtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKG9wdGlvbnMuZGF0YSAmJiBvcHRpb25zLmlkcykge1xuICAgICAgICBsZXQgZGF0YSA9IGNyZWF0ZUZyYW1lKG9wdGlvbnMuZGF0YSk7XG4gICAgICAgIGRhdGEuY29udGV4dFBhdGggPSBhcHBlbmRDb250ZXh0UGF0aChvcHRpb25zLmRhdGEuY29udGV4dFBhdGgsIG9wdGlvbnMubmFtZSk7XG4gICAgICAgIG9wdGlvbnMgPSB7ZGF0YTogZGF0YX07XG4gICAgICB9XG5cbiAgICAgIHJldHVybiBmbihjb250ZXh0LCBvcHRpb25zKTtcbiAgICB9XG4gIH0pO1xufVxuIl19
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.default = function (instance) {
instance.registerHelper('each', function (context, options) {
if (!options) {
throw new /*istanbul ignore next*/_exception2.default('Must pass iterator to #each');
}
var fn = options.fn,
inverse = options.inverse,
i = 0,
ret = '',
data = /*istanbul ignore next*/void 0,
contextPath = /*istanbul ignore next*/void 0;
if (options.data && options.ids) {
contextPath = /*istanbul ignore next*/(0, _utils.appendContextPath)(options.data.contextPath, options.ids[0]) + '.';
}
if ( /*istanbul ignore next*/(0, _utils.isFunction)(context)) {
context = context.call(this);
}
if (options.data) {
data = /*istanbul ignore next*/(0, _utils.createFrame)(options.data);
}
function execIteration(field, index, last) {
if (data) {
data.key = field;
data.index = index;
data.first = index === 0;
data.last = !!last;
if (contextPath) {
data.contextPath = contextPath + field;
}
}
ret = ret + fn(context[field], {
data: data,
blockParams: /*istanbul ignore next*/(0, _utils.blockParams)([context[field], field], [contextPath + field, null])
});
}
if (context && /*istanbul ignore next*/(typeof context === 'undefined' ? 'undefined' : _typeof(context)) === 'object') {
if ( /*istanbul ignore next*/(0, _utils.isArray)(context)) {
for (var j = context.length; i < j; i++) {
if (i in context) {
execIteration(i, i, i === context.length - 1);
}
}
} else {
var priorKey = /*istanbul ignore next*/void 0;
for (var key in context) {
if (context.hasOwnProperty(key)) {
// We're running the iterations one step out of sync so we can detect
// the last iteration without have to scan the object twice and create
// an itermediate keys array.
if (priorKey !== undefined) {
execIteration(priorKey, i - 1);
}
priorKey = key;
i++;
}
}
if (priorKey !== undefined) {
execIteration(priorKey, i - 1, true);
}
}
}
if (i === 0) {
ret = inverse(this);
}
return ret;
});
};
var /*istanbul ignore next*/_utils = __webpack_require__(0);
var /*istanbul ignore next*/_exception = __webpack_require__(1);
/*istanbul ignore next*/var _exception2 = _interopRequireDefault(_exception);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvZWFjaC5qcyJdLCJuYW1lcyI6WyJpbnN0YW5jZSIsInJlZ2lzdGVySGVscGVyIiwiY29udGV4dCIsIm9wdGlvbnMiLCJmbiIsImludmVyc2UiLCJpIiwicmV0IiwiZGF0YSIsImNvbnRleHRQYXRoIiwiaWRzIiwiY2FsbCIsImV4ZWNJdGVyYXRpb24iLCJmaWVsZCIsImluZGV4IiwibGFzdCIsImtleSIsImZpcnN0IiwiYmxvY2tQYXJhbXMiLCJqIiwibGVuZ3RoIiwicHJpb3JLZXkiLCJoYXNPd25Qcm9wZXJ0eSIsInVuZGVmaW5lZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O2tCQUdlLFVBQVNBLFFBQVQsRUFBbUI7QUFDaENBLFdBQVNDLGNBQVQsQ0FBd0IsTUFBeEIsRUFBZ0MsVUFBU0MsT0FBVCxFQUFrQkMsT0FBbEIsRUFBMkI7QUFDekQsUUFBSSxDQUFDQSxPQUFMLEVBQWM7QUFDWixZQUFNLGdEQUFjLDZCQUFkLENBQU47QUFDRDs7QUFFRCxRQUFJQyxLQUFLRCxRQUFRQyxFQUFqQjtBQUFBLFFBQ0lDLFVBQVVGLFFBQVFFLE9BRHRCO0FBQUEsUUFFSUMsSUFBSSxDQUZSO0FBQUEsUUFHSUMsTUFBTSxFQUhWO0FBQUEsUUFJSUMscUNBSko7QUFBQSxRQUtJQyw0Q0FMSjs7QUFPQSxRQUFJTixRQUFRSyxJQUFSLElBQWdCTCxRQUFRTyxHQUE1QixFQUFpQztBQUMvQkQsb0JBQWMsc0RBQWtCTixRQUFRSyxJQUFSLENBQWFDLFdBQS9CLEVBQTRDTixRQUFRTyxHQUFSLENBQVksQ0FBWixDQUE1QyxJQUE4RCxHQUE1RTt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ByZXQgPSByZXQgKyBmbihjb250ZXh0W2ZpZWxkXSwge1xuICAgICAgICBkYXRhOiBkYXRhLFxuICAgICAgICBibG9ja1BhcmFtczogYmxvY2tQYXJhbXMoW2NvbnRleHRbZmllbGRdLCBmaWVsZF0sIFtjb250ZXh0UGF0aCArIGZpZWxkLCBudWxsXSlcbiAgICAgIH0pO1xuICAgIH1cblxuICAgIGlmIChjb250ZXh0ICYmIHR5cGVvZiBjb250ZXh0ID09PSAnb2JqZWN0Jykge1xuICAgICAgaWYgKGlzQXJyYXkoY29udGV4dCkpIHtcbiAgICAgICAgZm9yIChsZXQgaiA9IGNvbnRleHQubGVuZ3RoOyBpIDwgajsgaSsrKSB7XG4gICAgICAgICAgaWYgKGkgaW4gY29udGV4dCkge1xuICAgICAgICAgICAgZXhlY0l0ZXJhdGlvbihpLCBpLCBpID09PSBjb250ZXh0Lmxlbmd0aCAtIDEpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgbGV0IHByaW9yS2V5O1xuXG4gICAgICAgIGZvciAobGV0IGtleSBpbiBjb250ZXh0KSB7XG4gICAgICAgICAgaWYgKGNvbnRleHQuaGFzT3duUHJvcGVydHkoa2V5KSkge1xuICAgICAgICAgICAgLy8gV2UncmUgcnVubmluZyB0aGUgaXRlcmF0aW9ucyBvbmUgc3RlcCBvdXQgb2Ygc3luYyBzbyB3ZSBjYW4gZGV0ZWN0XG4gICAgICAgICAgICAvLyB0aGUgbGFzdCBpdGVyYXRpb24gd2l0aG91dCBoYXZlIHRvIHNjYW4gdGhlIG9iamVjdCB0d2ljZSBhbmQgY3JlYXRlXG4gICAgICAgICAgICAvLyBhbiBpdGVybWVkaWF0ZSBrZXlzIGFycmF5LlxuICAgICAgICAgICAgaWYgKHByaW9yS2V5ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgZXhlY0l0ZXJhdGlvbihwcmlvcktleSwgaSAtIDEpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcHJpb3JLZXkgPSBrZXk7XG4gICAgICAgICAgICBpKys7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmIChwcmlvcktleSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgZXhlY0l0ZXJhdGlvbihwcmlvcktleSwgaSAtIDEsIHRydWUpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGkgPT09IDApIHtcbiAgICAgIHJldCA9IGludmVyc2UodGhpcyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=
/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('helperMissing', function () /* [args, ]options */{
if (arguments.length === 1) {
// A missing field in a {{foo}} construct.
return undefined;
} else {
// Someone is actually trying to call something, blow up.
throw new /*istanbul ignore next*/_exception2.default('Missing helper: "' + arguments[arguments.length - 1].name + '"');
}
});
};
var /*istanbul ignore next*/_exception = __webpack_require__(1);
/*istanbul ignore next*/var _exception2 = _interopRequireDefault(_exception);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOlsiaW5zdGFuY2UiLCJyZWdpc3RlckhlbHBlciIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsIm5hbWUiXSwibWFwcGluZ3MiOiI7Ozs7a0JBRWUsVUFBU0EsUUFBVCxFQUFtQjtBQUNoQ0EsV0FBU0MsY0FBVCxDQUF3QixlQUF4QixFQUF5QyxZQUFTLHFCQUF1QjtBQUN2RSxRQUFJQyxVQUFVQyxNQUFWLEtBQXFCLENBQXpCLEVBQTRCO0FBQzFCO0FBQ0EsYUFBT0MsU0FBUDtBQUNELEtBSEQsTUFHTztBQUNMO0FBQ0EsWUFBTSxnREFBYyxzQkFBc0JGLFVBQVVBLFVBQVVDLE1BQVYsR0FBbUIsQ0FBN0IsRUFBZ0NFLElBQXRELEdBQTZELEdBQTNFLENBQU47QUFDRDtBQUNGLEdBUkQ7QUFTRCxDOztBQVpEIiwiZmlsZSI6ImhlbHBlci1taXNzaW5nLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEV4Y2VwdGlvbiBmcm9tICcuLi9leGNlcHRpb24nO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignaGVscGVyTWlzc2luZycsIGZ1bmN0aW9uKC8qIFthcmdzLCBdb3B0aW9ucyAqLykge1xuICAgIGlmIChhcmd1bWVudHMubGVuZ3RoID09PSAxKSB7XG4gICAgICAvLyBBIG1pc3NpbmcgZmllbGQgaW4gYSB7e2Zvb319IGNvbnN0cnVjdC5cbiAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIFNvbWVvbmUgaXMgYWN0dWFsbHkgdHJ5aW5nIHRvIGNhbGwgc29tZXRoaW5nLCBibG93IHVwLlxuICAgICAgdGhyb3cgbmV3IEV4Y2VwdGlvbignTWlzc2luZyBoZWxwZXI6IFwiJyArIGFyZ3VtZW50c1thcmd1bWVudHMubGVuZ3RoIC0gMV0ubmFtZSArICdcIicpO1xuICAgIH1cbiAgfSk7XG59XG4iXX0=
/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('if', function (conditional, options) {
if ( /*istanbul ignore next*/(0, _utils.isFunction)(conditional)) {
conditional = conditional.call(this);
}
// Default behavior is to render the positive path if the value is truthy and not empty.
// The `includeZero` option may be set to treat the condtional as purely not empty based on the
// behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.
if (!options.hash.includeZero && !conditional || /*istanbul ignore next*/(0, _utils.isEmpty)(conditional)) {
return options.inverse(this);
} else {
return options.fn(this);
}
});
instance.registerHelper('unless', function (conditional, options) {
return instance.helpers['if'].call(this, conditional, { fn: options.inverse, inverse: options.fn, hash: options.hash });
});
};
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaWYuanMiXSwibmFtZXMiOlsiaW5zdGFuY2UiLCJyZWdpc3RlckhlbHBlciIsImNvbmRpdGlvbmFsIiwib3B0aW9ucyIsImNhbGwiLCJoYXNoIiwiaW5jbHVkZVplcm8iLCJpbnZlcnNlIiwiZm4iLCJoZWxwZXJzIl0sIm1hcHBpbmdzIjoiOzs7O2tCQUVlLFVBQVNBLFFBQVQsRUFBbUI7QUFDaENBLFdBQVNDLGNBQVQsQ0FBd0IsSUFBeEIsRUFBOEIsVUFBU0MsV0FBVCxFQUFzQkMsT0FBdEIsRUFBK0I7QUFDM0QsUUFBSSxnREFBV0QsV0FBWCxDQUFKLEVBQTZCO0FBQUVBLG9CQUFjQSxZQUFZRSxJQUFaLENBQWlCLElBQWpCLENBQWQ7QUFBdUM7O0FBRXRFO0FBQ0E7QUFDQTtBQUNBLFFBQUssQ0FBQ0QsUUFBUUUsSUFBUixDQUFhQyxXQUFkLElBQTZCLENBQUNKLFdBQS9CLElBQStDLDRDQUFRQSxXQUFSLENBQW5ELEVBQXlFO0FBQ3ZFLGFBQU9DLFFBQVFJLE9BQVIsQ0FBZ0IsSUFBaEIsQ0FBUDtBQUNELEtBRkQsTUFFTztBQUNMLGFBQU9KL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XZlbHkgdGhpcyBkZXRlcm1pbmVzIGlmIDAgaXMgaGFuZGxlZCBieSB0aGUgcG9zaXRpdmUgcGF0aCBvciBuZWdhdGl2ZS5cbiAgICBpZiAoKCFvcHRpb25zLmhhc2guaW5jbHVkZVplcm8gJiYgIWNvbmRpdGlvbmFsKSB8fCBpc0VtcHR5KGNvbmRpdGlvbmFsKSkge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuaW52ZXJzZSh0aGlzKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuZm4odGhpcyk7XG4gICAgfVxuICB9KTtcblxuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcigndW5sZXNzJywgZnVuY3Rpb24oY29uZGl0aW9uYWwsIG9wdGlvbnMpIHtcbiAgICByZXR1cm4gaW5zdGFuY2UuaGVscGVyc1snaWYnXS5jYWxsKHRoaXMsIGNvbmRpdGlvbmFsLCB7Zm46IG9wdGlvbnMuaW52ZXJzZSwgaW52ZXJzZTogb3B0aW9ucy5mbiwgaGFzaDogb3B0aW9ucy5oYXNofSk7XG4gIH0pO1xufVxuIl19
/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('log', function () /* message, options */{
var args = [undefined],
options = arguments[arguments.length - 1];
for (var i = 0; i < arguments.length - 1; i++) {
args.push(arguments[i]);
}
var level = 1;
if (options.hash.level != null) {
level = options.hash.level;
} else if (options.data && options.data.level != null) {
level = options.data.level;
}
args[0] = level;
/*istanbul ignore next*/instance.log. /*istanbul ignore next*/apply(instance, args);
});
};
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9nLmpzIl0sIm5hbWVzIjpbImluc3RhbmNlIiwicm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5yZWdpc3RlckhlbHBlcignbG9nJywgZnVuY3Rpb24oLyogbWVzc2FnZSwgb3B0aW9ucyAqLykge1xuICAgIGxldCBhcmdzID0gW3VuZGVmaW5lZF0sXG4gICAgICAgIG9wdGlvbnMgPSBhcmd1bWVudHNbYXJndW1lbnRzLmxlbmd0aCAtIDFdO1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgYXJndW1lbnRzLmxlbmd0aCAtIDE7IGkrKykge1xuICAgICAgYXJncy5wdXNoKGFyZ3VtZW50c1tpXSk7XG4gICAgfVxuXG4gICAgbGV0IGxldmVsID0gMTtcbiAgICBpZiAob3B0aW9ucy5oYXNoLmxldmVsICE9IG51bGwpIHtcbiAgICAgIGxldmVsID0gb3B0aW9ucy5oYXNoLmxldmVsO1xuICAgIH0gZWxzZSBpZiAob3B0aW9ucy5kYXRhICYmIG9wdGlvbnMuZGF0YS5sZXZlbCAhPSBudWxsKSB7XG4gICAgICBsZXZlbCA9IG9wdGlvbnMuZGF0YS5sZXZlbDtcbiAgICB9XG4gICAgYXJnc1swXSA9IGxldmVsO1xuXG4gICAgaW5zdGFuY2UubG9nKC4uLiBhcmdzKTtcbiAgfSk7XG59XG4iXX0=
/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('lookup', function (obj, field) {
return obj && obj[field];
});
};
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9va3VwLmpzIl0sIm5hbWVzIjpbImluc3RhbmNlIiwicmVnaXN0ZXJIZWxwZXIiLCJvYmoiLCJmaWVsZCJdLCJtYXBwaW5ncyI6Ijs7OztrQkFBZSxVQUFTQSxRQUFULEVBQW1CO0FBQ2hDQSxXQUFTQyxjQUFULENBQXdCLFFBQXhCLEVBQWtDLFVBQVNDLEdBQVQsRUFBY0MsS0FBZCxFQUFxQjtBQUNyRCxXQUFPRCxPQUFPQSxJQUFJQyxLQUFKLENBQWQ7QUFDRCxHQUZEO0FBR0QsQyIsImZpbGUiOiJsb29rdXAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignbG9va3VwJywgZnVuY3Rpb24ob2JqLCBmaWVsZCkge1xuICAgIHJldHVybiBvYmogJiYgb2JqW2ZpZWxkXTtcbiAgfSk7XG59XG4iXX0=
/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerHelper('with', function (context, options) {
if ( /*istanbul ignore next*/(0, _utils.isFunction)(context)) {
context = context.call(this);
}
var fn = options.fn;
if (! /*istanbul ignore next*/(0, _utils.isEmpty)(context)) {
var data = options.data;
if (options.data && options.ids) {
data = /*istanbul ignore next*/(0, _utils.createFrame)(options.data);
data.contextPath = /*istanbul ignore next*/(0, _utils.appendContextPath)(options.data.contextPath, options.ids[0]);
}
return fn(context, {
data: data,
blockParams: /*istanbul ignore next*/(0, _utils.blockParams)([context], [data && data.contextPath])
});
} else {
return options.inverse(this);
}
});
};
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvd2l0aC5qcyJdLCJuYW1lcyI6WyJpbnN0YW5jZSIsInJlZ2lzdGVySGVscGVyIiwiY29udGV4dCIsIm9wdGlvbnMiLCJjYWxsIiwiZm4iLCJkYXRhIiwiaWRzIiwiY29udGV4dFBhdGgiLCJibG9ja1Bh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FtZSwgaXNFbXB0eSwgaXNGdW5jdGlvbn0gZnJvbSAnLi4vdXRpbHMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignd2l0aCcsIGZ1bmN0aW9uKGNvbnRleHQsIG9wdGlvbnMpIHtcbiAgICBpZiAoaXNGdW5jdGlvbihjb250ZXh0KSkgeyBjb250ZXh0ID0gY29udGV4dC5jYWxsKHRoaXMpOyB9XG5cbiAgICBsZXQgZm4gPSBvcHRpb25zLmZuO1xuXG4gICAgaWYgKCFpc0VtcHR5KGNvbnRleHQpKSB7XG4gICAgICBsZXQgZGF0YSA9IG9wdGlvbnMuZGF0YTtcbiAgICAgIGlmIChvcHRpb25zLmRhdGEgJiYgb3B0aW9ucy5pZHMpIHtcbiAgICAgICAgZGF0YSA9IGNyZWF0ZUZyYW1lKG9wdGlvbnMuZGF0YSk7XG4gICAgICAgIGRhdGEuY29udGV4dFBhdGggPSBhcHBlbmRDb250ZXh0UGF0aChvcHRpb25zLmRhdGEuY29udGV4dFBhdGgsIG9wdGlvbnMuaWRzWzBdKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIGZuKGNvbnRleHQsIHtcbiAgICAgICAgZGF0YTogZGF0YSxcbiAgICAgICAgYmxvY2tQYXJhbXM6IGJsb2NrUGFyYW1zKFtjb250ZXh0XSwgW2RhdGEgJiYgZGF0YS5jb250ZXh0UGF0aF0pXG4gICAgICB9KTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuaW52ZXJzZSh0aGlzKTtcbiAgICB9XG4gIH0pO1xufVxuIl19
/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.registerDefaultDecorators = registerDefaultDecorators;
var /*istanbul ignore next*/_inline = __webpack_require__(13);
/*istanbul ignore next*/var _inline2 = _interopRequireDefault(_inline);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function registerDefaultDecorators(instance) {
/*istanbul ignore next*/(0, _inline2.default)(instance);
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMuanMiXSwibmFtZXMiOlsicmVnaXN0ZXJEZWZhdWx0RGVjb3JhdG9ycyIsImluc3RhbmNlIl0sIm1hcHBpbmdzIjoiOzs7UUFFZ0JBLHlCLEdBQUFBLHlCOztBQUZoQjs7Ozs7O0FBRU8sU0FBU0EseUJBQVQsQ0FBbUNDLFFBQW5DLEVBQTZDO0FBQ2xELGdEQUFlQSxRQUFmO0FBQ0QiLCJmaWxlIjoiZGVjb3JhdG9ycy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCByZWdpc3RlcklubGluZSBmcm9tICcuL2RlY29yYXRvcnMvaW5saW5lJztcblxuZXhwb3J0IGZ1bmN0aW9uIHJlZ2lzdGVyRGVmYXVsdERlY29yYXRvcnMoaW5zdGFuY2UpIHtcbiAgcmVnaXN0ZXJJbmxpbmUoaW5zdGFuY2UpO1xufVxuXG4iXX0=
/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (instance) {
instance.registerDecorator('inline', function (fn, props, container, options) {
var ret = fn;
if (!props.partials) {
props.partials = {};
ret = function /*istanbul ignore next*/ret(context, options) {
// Create a new partials stack frame prior to exec.
var original = container.partials;
container.partials = /*istanbul ignore next*/(0, _utils.extend)({}, original, props.partials);
var ret = fn(context, options);
container.partials = original;
return ret;
};
}
props.partials[options.args[0]] = options.fn;
return ret;
});
};
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3Vy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ltcG9ydCB7ZXh0ZW5kfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKGluc3RhbmNlKSB7XG4gIGluc3RhbmNlLnJlZ2lzdGVyRGVjb3JhdG9yKCdpbmxpbmUnLCBmdW5jdGlvbihmbiwgcHJvcHMsIGNvbnRhaW5lciwgb3B0aW9ucykge1xuICAgIGxldCByZXQgPSBmbjtcbiAgICBpZiAoIXByb3BzLnBhcnRpYWxzKSB7XG4gICAgICBwcm9wcy5wYXJ0aWFscyA9IHt9O1xuICAgICAgcmV0ID0gZnVuY3Rpb24oY29udGV4dCwgb3B0aW9ucykge1xuICAgICAgICAvLyBDcmVhdGUgYSBuZXcgcGFydGlhbHMgc3RhY2sgZnJhbWUgcHJpb3IgdG8gZXhlYy5cbiAgICAgICAgbGV0IG9yaWdpbmFsID0gY29udGFpbmVyLnBhcnRpYWxzO1xuICAgICAgICBjb250YWluZXIucGFydGlhbHMgPSBleHRlbmQoe30sIG9yaWdpbmFsLCBwcm9wcy5wYXJ0aWFscyk7XG4gICAgICAgIGxldCByZXQgPSBmbihjb250ZXh0LCBvcHRpb25zKTtcbiAgICAgICAgY29udGFpbmVyLnBhcnRpYWxzID0gb3JpZ2luYWw7XG4gICAgICAgIHJldHVybiByZXQ7XG4gICAgICB9O1xuICAgIH1cblxuICAgIHByb3BzLnBhcnRpYWxzW29wdGlvbnMuYXJnc1swXV0gPSBvcHRpb25zLmZuO1xuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var /*istanbul ignore next*/_utils = __webpack_require__(0);
var logger = {
methodMap: ['debug', 'info', 'warn', 'error'],
level: 'info',
// Maps a given level value to the `methodMap` indexes above.
lookupLevel: function /*istanbul ignore next*/lookupLevel(level) {
if (typeof level === 'string') {
var levelMap = /*istanbul ignore next*/(0, _utils.indexOf)(logger.methodMap, level.toLowerCase());
if (levelMap >= 0) {
level = levelMap;
} else {
level = parseInt(level, 10);
}
}
return level;
},
// Can be overridden in the host environment
log: function /*istanbul ignore next*/log(level) {
level = logger.lookupLevel(level);
if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {
/*istanbul ignore next*/var _console;
var method = logger.methodMap[level];
if (!console[method]) {
// eslint-disable-line no-console
method = 'log';
}
/*istanbul ignore next*/for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
message[_key - 1] = arguments[_key];
}
/*istanbul ignore next*/(_console = console)[method]. /*istanbul ignore next*/apply( /*istanbul ignore next*/_console, message); // eslint-disable-line no-console
}
}
};
/*istanbul ignore next*/exports.default = logger;
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2xvZ2dlci5qcyJdLCJuYW1lcyI6WyJsb2dnZXIiLCJtZXRob2RNYXAiLCJsZXZlbCIsImxvb2t1cExldmVsIiwibGV2ZWxNYXAiLCJ0b0xvd2VyQ2FzZSIsInBhcnNlSW50IiwibG9nIiwiY29uc29sZSIsIm1ldGhvZCIsIm1lc3NhZ2UiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7QUFFQSxJQUFJQSxTQUFTO0FBQ1hDLGFBQVcsQ0FBQyxPQUFELEVBQVUsTUFBVixFQUFrQixNQUFsQixFQUEwQixPQUExQixDQURBO0FBRVhDLFNBQU8sTUFGSTs7QUFJWDtBQUNBQyxlQUFhLDZDQUFTRCxLQUFULEVBQWdCO0FBQzNCLFFBQUksT0FBT0EsS0FBUCxLQUFpQixRQUFyQixFQUErQjtBQUM3QixVQUFJRSxXQUFXLDRDQUFRSixPQUFPQyxTQUFmLEVBQTBCQyxNQUFNRyxXQUFOLEVBQTFCLENBQWY7QUFDQSxVQU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pIHtcbiAgICBpZiAodHlwZW9mIGxldmVsID09PSAnc3RyaW5nJykge1xuICAgICAgbGV0IGxldmVsTWFwID0gaW5kZXhPZihsb2dnZXIubWV0aG9kTWFwLCBsZXZlbC50b0xvd2VyQ2FzZSgpKTtcbiAgICAgIGlmIChsZXZlbE1hcCA+PSAwKSB7XG4gICAgICAgIGxldmVsID0gbGV2ZWxNYXA7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXZlbCA9IHBhcnNlSW50KGxldmVsLCAxMCk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIGxldmVsO1xuICB9LFxuXG4gIC8vIENhbiBiZSBvdmVycmlkZGVuIGluIHRoZSBob3N0IGVudmlyb25tZW50XG4gIGxvZzogZnVuY3Rpb24obGV2ZWwsIC4uLm1lc3NhZ2UpIHtcbiAgICBsZXZlbCA9IGxvZ2dlci5sb29rdXBMZXZlbChsZXZlbCk7XG5cbiAgICBpZiAodHlwZW9mIGNvbnNvbGUgIT09ICd1bmRlZmluZWQnICYmIGxvZ2dlci5sb29rdXBMZXZlbChsb2dnZXIubGV2ZWwpIDw9IGxldmVsKSB7XG4gICAgICBsZXQgbWV0aG9kID0gbG9nZ2VyLm1ldGhvZE1hcFtsZXZlbF07XG4gICAgICBpZiAoIWNvbnNvbGVbbWV0aG9kXSkgeyAgIC8vIGVzbGludC1kaXNhYmxlLWxpbmUgbm8tY29uc29sZVxuICAgICAgICBtZXRob2QgPSAnbG9nJztcbiAgICAgIH1cbiAgICAgIGNvbnNvbGVbbWV0aG9kXSguLi5tZXNzYWdlKTsgICAgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby1jb25zb2xlXG4gICAgfVxuICB9XG59O1xuXG5leHBvcnQgZGVmYXVsdCBsb2dnZXI7XG4iXX0=
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
// Build out our basic SafeString type
function SafeString(string) {
this.string = string;
}
SafeString.prototype.toString = SafeString.prototype.toHTML = function () {
return '' + this.string;
};
/*istanbul ignore next*/exports.default = SafeString;
/*istanbul ignore next*/module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3NhZmUtc3RyaW5nLmpzIl0sIm5hbWVzIjpbIlNhZmVTdHJpbmciLCJzdHJpbmciLCJwcm90b3R5cGUiLCJ0b1N0cmluZyIsInRvSFRNTCJdLCJtYXBwaW5ncyI6Ijs7O0FBQUE7QUFDQSxTQUFTQSxVQUFULENBQW9CQyxNQUFwQixFQUE0QjtBQUMxQixPQUFLQSxNQUFMLEdBQWNBLE1BQWQ7QUFDRDs7QUFFREQsV0FBV0UsU0FBWCxDQUFxQkMsUUFBckIsR0FBZ0NILFdBQVdFLFNBQVgsQ0FBcUJFLE1BQXJCLEdBQThCLFlBQVc7QUFDdkUsU0FBTyxLQUFLLEtBQUtILE1BQWpCO0FBQ0QsQ0FGRDs7MENBSWVELFUiLCJmaWxlIjoic2FmZS1zdHJpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBCdWlsZCBvdXQgb3VyIGJhc2ljIFNhZmVTdHJpbmcgdHlwZVxuZnVuY3Rpb24gU2FmZVN0cmluZyhzdHJpbmcpIHtcbiAgdGhpcy5zdHJpbmcgPSBzdHJpbmc7XG59XG5cblNhZmVTdHJpbmcucHJvdG90eXBlLnRvU3RyaW5nID0gU2FmZVN0cmluZy5wcm90b3R5cGUudG9IVE1MID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiAnJyArIHRoaXMuc3RyaW5nO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgU2FmZVN0cmluZztcbiJdfQ==
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore next*/
exports.__esModule = true;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.checkRevision = checkRevision;
/*istanbul ignore next*/exports.template = template;
/*istanbul ignore next*/exports.wrapProgram = wrapProgram;
/*istanbul ignore next*/exports.resolvePartial = resolvePartial;
/*istanbul ignore next*/exports.invokePartial = invokePartial;
/*istanbul ignore next*/exports.noop = noop;
var /*istanbul ignore next*/_utils = __webpack_require__(0);
/*istanbul ignore next*/var Utils = _interopRequireWildcard(_utils);
var /*istanbul ignore next*/_exception = __webpack_require__(1);
/*istanbul ignore next*/var _exception2 = _interopRequireDefault(_exception);
var /*istanbul ignore next*/_base = __webpack_require__(2);
/*istanbul ignore next*/function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
function checkRevision(compilerInfo) {
var compilerRevision = compilerInfo && compilerInfo[0] || 1,
currentRevision = /*istanbul ignore next*/_base.COMPILER_REVISION;
if (compilerRevision !== currentRevision) {
if (compilerRevision < currentRevision) {
var runtimeVersions = /*istanbul ignore next*/_base.REVISION_CHANGES[currentRevision],
compilerVersions = /*istanbul ignore next*/_base.REVISION_CHANGES[compilerRevision];
throw new /*istanbul ignore next*/_exception2.default('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');
} else {
// Use the embedded version info since the runtime doesn't know about this revision yet
throw new /*istanbul ignore next*/_exception2.default('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');
}
}
}
function template(templateSpec, env) {
/* istanbul ignore next */
if (!env) {
throw new /*istanbul ignore next*/_exception2.default('No environment passed to template');
}
if (!templateSpec || !templateSpec.main) {
throw new /*istanbul ignore next*/_exception2.default('Unknown template object: ' + /*istanbul ignore next*/(typeof templateSpec === 'undefined' ? 'undefined' : _typeof(templateSpec)));
}
templateSpec.main.decorator = templateSpec.main_d;
// Note: Using env.VM references rather than local var references throughout this section to allow
// for external users to override these as psuedo-supported APIs.
env.VM.checkRevision(templateSpec.compiler);
function invokePartialWrapper(partial, context, options) {
if (options.hash) {
context = Utils.extend({}, context, options.hash);
if (options.ids) {
options.ids[0] = true;
}
}
partial = env.VM.resolvePartial.call(this, partial, context, options);
var result = env.VM.invokePartial.call(this, partial, context, options);
if (result == null && env.compile) {
options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);
result = options.partials[options.name](context, options);
}
if (result != null) {
if (options.indent) {
var lines = result.split('\n');
for (var i = 0, l = lines.length; i < l; i++) {
if (!lines[i] && i + 1 === l) {
break;
}
lines[i] = options.indent + lines[i];
}
result = lines.join('\n');
}
return result;
} else {
throw new /*istanbul ignore next*/_exception2.default('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');
}
}
// Just add water
var container = {
strict: function /*istanbul ignore next*/strict(obj, name) {
if (!(name in obj)) {
throw new /*istanbul ignore next*/_exception2.default('"' + name + '" not defined in ' + obj);
}
return obj[name];
},
lookup: function /*istanbul ignore next*/lookup(depths, name) {
var len = depths.length;
for (var i = 0; i < len; i++) {
if (depths[i] && depths[i][name] != null) {
return depths[i][name];
}
}
},
lambda: function /*istanbul ignore next*/lambda(current, context) {
return typeof current === 'function' ? current.call(context) : current;
},
escapeExpression: Utils.escapeExpression,
invokePartial: invokePartialWrapper,
fn: function /*istanbul ignore next*/fn(i) {
var ret = templateSpec[i];
ret.decorator = templateSpec[i + '_d'];
return ret;
},
programs: [],
program: function /*istanbul ignore next*/program(i, data, declaredBlockParams, blockParams, depths) {
var programWrapper = this.programs[i],
fn = this.fn(i);
if (data || depths || blockParams || declaredBlockParams) {
programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);
} else if (!programWrapper) {
programWrapper = this.programs[i] = wrapProgram(this, i, fn);
}
return programWrapper;
},
data: function /*istanbul ignore next*/data(value, depth) {
while (value && depth--) {
value = value._parent;
}
return value;
},
merge: function /*istanbul ignore next*/merge(param, common) {
var obj = param || common;
if (param && common && param !== common) {
obj = Utils.extend({}, common, param);
}
return obj;
},
// An empty object to use as replacement for null-contexts
nullContext: Object.seal({}),
noop: env.VM.noop,
compilerInfo: templateSpec.compiler
};
function ret(context) {
/*istanbul ignore next*/var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var data = options.data;
ret._setup(options);
if (!options.partial && templateSpec.useData) {
data = initData(context, data);
}
var depths = /*istanbul ignore next*/void 0,
blockParams = templateSpec.useBlockParams ? [] : undefined;
if (templateSpec.useDepths) {
if (options.depths) {
depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
} else {
depths = [context];
}
}
function main(context /*, options*/) {
return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);
}
main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);
return main(context, options);
}
ret.isTop = true;
ret._setup = function (options) {
if (!options.partial) {
container.helpers = container.merge(options.helpers, env.helpers);
if (templateSpec.usePartial) {
container.partials = container.merge(options.partials, env.partials);
}
if (templateSpec.usePartial || templateSpec.useDecorators) {
container.decorators = container.merge(options.decorators, env.decorators);
}
} else {
container.helpers = options.helpers;
container.partials = options.partials;
container.decorators = options.decorators;
}
};
ret._child = function (i, data, blockParams, depths) {
if (templateSpec.useBlockParams && !blockParams) {
throw new /*istanbul ignore next*/_exception2.default('must pass block params');
}
if (templateSpec.useDepths && !depths) {
throw new /*istanbul ignore next*/_exception2.default('must pass parent depths');
}
return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);
};
return ret;
}
function wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {
function prog(context) {
/*istanbul ignore next*/var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var currentDepths = depths;
if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
currentDepths = [context].concat(depths);
}
return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);
}
prog = executeDecorators(fn, prog, container, depths, data, blockParams);
prog.program = i;
prog.depth = depths ? depths.length : 0;
prog.blockParams = declaredBlockParams || 0;
return prog;
}
function resolvePartial(partial, context, options) {
if (!partial) {
if (options.name === '@partial-block') {
partial = options.data['partial-block'];
} else {
partial = options.partials[options.name];
}
} else if (!partial.call && !options.name) {
// This is a dynamic partial that returned a string
options.name = partial;
partial = options.partials[partial];
}
return partial;
}
function invokePartial(partial, context, options) {
// Use the current closure context to save the partial-block if this partial
var currentPartialBlock = options.data && options.data['partial-block'];
options.partial = true;
if (options.ids) {
options.data.contextPath = options.ids[0] || options.data.contextPath;
}
var partialBlock = /*istanbul ignore next*/void 0;
if (options.fn && options.fn !== noop) {
options.data = /*istanbul ignore next*/(0, _base.createFrame)(options.data);
// Wrapper function to get access to currentPartialBlock from the closure
var fn = options.fn;
partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {
/*istanbul ignore next*/var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// Restore the partial-block from the closure for the execution of the block
// i.e. the part inside the block of the partial call.
options.data = /*istanbul ignore next*/(0, _base.createFrame)(options.data);
options.data['partial-block'] = currentPartialBlock;
return fn(context, options);
};
if (fn.partials) {
options.partials = Utils.extend({}, options.partials, fn.partials);
}
}
if (partial === undefined && partialBlock) {
partial = partialBlock;
}
if (partial === undefined) {
throw new /*istanbul ignore next*/_exception2.default('The partial ' + options.name + ' could not be found');
} else if (partial instanceof Function) {
return partial(context, options);
}
}
function noop() {
return '';
}
function initData(context, data) {
if (!data || !('root' in data)) {
data = data ? /*istanbul ignore next*/(0, _base.createFrame)(data) : {};
data.root = context;
}
return data;
}
function executeDecorators(fn, prog, container, depths, data, blockParams) {
if (fn.decorator) {
var props = {};
prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);
Utils.extend(prog, props);
}
return prog;
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3J1bnRpbWUuanMiXSwibmFtZXMiOlsiY2hlY2tSZXZpc2lvbiIsInRlbXBsYXRlIiwid3JhcFByb2dyYW0iLCJyZXNvbHZlUGFydGlhbCIsImludm9rZVBhcnRpYWwiLCJub29wIiwiVXRpbHMiLCJjb21waWxlckluZm8iLCJjb21waWxlclJldmlzaW9uIiwiY3VycmVudFJldmlzaW9uIiwicnVudGltZVZlcnNpb25zIiwiY29tcGlsZXJWZXJzaW9ucyIsInRlbXBsYXRlU3BlYyIsImVudiIsIm1haW4iLCJkZWNvcmF0b3IiLCJtYWluX2QiLCJWTSIsImNvbXBpbGVyIiwiaW52b2tlUGFydGlhbFdyYXBwZXIiLCJwYXJ0aWFsIiwiY29udGV4dCIsIm9wdGlvbnMiLCJoYXNoIiwiZXh0ZW5kIiwiaWRzIiwiY2FsbCIsInJlc3VsdCIsImNvbXBpbGUiLCJwYXJ0aWFscyIsIm5hbWUiLCJjb21waWxlck9wdGlvbnMiLCJpbmRlbnQiLCJsaW5lcyIsInNwbGl0IiwiaSIsImwiLCJsZW5ndGgiLCJqb2luIiwiY29udGFpbmVyIiwic3RyaWN0Iiwib2JqIiwibG9va3VwIiwiZGVwdGhzIiwibGVuIiwibGFtYmRhIiwiY3VycmVudCIsImVzY2FwZUV4cHJlc3Npb24iLCJmbiIsInJldCIsInByb2dyYW1zIiwicHJvZ3JhbSIsImRhdGEiLCJkZWNsYXJlZEJsb2NrUGFyYW1zIiwiYmxvY2tQYXJhbXMiLCJwcm9ncmFtV3JhcHBlciIsInZhbHVlIiwiZGVwdGgiLCJfcGFyZW50IiwibWVyZ2UiLCJwYXJhbSIsImNvbW1vbiIsIm51bGxDb250ZXh0IiwiT2JqZWN0Ii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BzID0ge307XG4gICAgcHJvZyA9IGZuLmRlY29yYXRvcihwcm9nLCBwcm9wcywgY29udGFpbmVyLCBkZXB0aHMgJiYgZGVwdGhzWzBdLCBkYXRhLCBibG9ja1BhcmFtcywgZGVwdGhzKTtcbiAgICBVdGlscy5leHRlbmQocHJvZywgcHJvcHMpO1xuICB9XG4gIHJldHVybiBwcm9nO1xufVxuIl19
/***/ }),
/* 17 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {/*istanbul ignore next*/
exports.__esModule = true;
exports.default = function (Handlebars) {
/* istanbul ignore next */
var root = typeof global !== 'undefined' ? global : window,
$Handlebars = root.Handlebars;
/* istanbul ignore next */
Handlebars.noConflict = function () {
if (root.Handlebars === Handlebars) {
root.Handlebars = $Handlebars;
}
return Handlebars;
};
};
/*istanbul ignore next*/module.exports = exports['default']; /* global window */
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL25vLWNvbmZsaWN0LmpzIl0sIm5hbWVzIjpbIkhhbmRsZWJhcnMiLCJyb290IiwiZ2xvYmFsIiwid2luZG93IiwiJEhhbmRsZWJhcnMiLCJub0NvbmZsaWN0Il0sIm1hcHBpbmdzIjoiOzs7O2tCQUNlLFVBQVNBLFVBQVQsRUFBcUI7QUFDbEM7QUFDQSxNQUFJQyxPQUFPLE9BQU9DLE1BQVAsS0FBa0IsV0FBbEIsR0FBZ0NBLE1BQWhDLEdBQXlDQyxNQUFwRDtBQUFBLE1BQ0lDLGNBQWNILEtBQUtELFVBRHZCO0FBRUE7QUFDQUEsYUFBV0ssVUFBWCxHQUF3QixZQUFXO0FBQ2pDLFFBQUlKLEtBQUtELFVBQUwsS0FBb0JBLFVBQXhCLEVBQW9DO0FBQ2xDQyxXQUFLRCxVQUFMLEdBQWtCSSxXQUFsQjtBQUNEO0FBQ0QsV0FBT0osVUFBUDtBQUNELEdBTEQ7QUFNRCxDOzs2REFaRCIsImZpbGUiOiJuby1jb25mbGljdC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIGdsb2JhbCB3aW5kb3cgKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKEhhbmRsZWJhcnMpIHtcbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgbGV0IHJvb3QgPSB0eXBlb2YgZ2xvYmFsICE9PSAndW5kZWZpbmVkJyA/IGdsb2JhbCA6IHdpbmRvdyxcbiAgICAgICRIYW5kbGViYXJzID0gcm9vdC5IYW5kbGViYXJzO1xuICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICBIYW5kbGViYXJzLm5vQ29uZmxpY3QgPSBmdW5jdGlvbigpIHtcbiAgICBpZiAocm9vdC5IYW5kbGViYXJzID09PSBIYW5kbGViYXJzKSB7XG4gICAgICByb290LkhhbmRsZWJhcnMgPSAkSGFuZGxlYmFycztcbiAgICB9XG4gICAgcmV0dXJuIEhhbmRsZWJhcnM7XG4gIH07XG59XG4iXX0=
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(18)))
/***/ }),
/* 18 */
/***/ (function(module, exports) {
var g;
// This works in non-strict mode
g = (function() {
return this;
})();
try {
// This works if eval is allowed (see CSP)
g = g || Function("return this")() || (1,eval)("this");
} catch(e) {
// This works if the window reference is available
if(typeof window === "object")
g = window;
}
// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}
module.exports = g;
/***/ })
/******/ ]);
});
|