handlebars-source 4.5.2 → 4.5.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handlebars-source might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/handlebars.js +289 -224
- data/handlebars.runtime.js +220 -171
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a04c8485dc6cd3d803181c9eab0e00e03c5a6e624e45813e36e060eedee4d259
|
4
|
+
data.tar.gz: 2013e714d8f5992e29f13e7acadeb2c9c4dbb84909bd3319cad69bf541f3081f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cb06be34e945d100b923717fdd52ff06f3ce03b1a26eab98e2897a8b9dd820429764f445e0bdf6f3b701f208e69d1cb9d9f47d89c9e10c1ad948f8741ec7f2a
|
7
|
+
data.tar.gz: 8903c9b5b65c369097e2d15b09631afca24fa8a2a12dd8bd3ade8a073e064bdc13eae62bf067e0f49073f1f796fb3ed3162d3c9dad88877d638df063a1536ec6
|
data/handlebars.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.5.
|
4
|
+
handlebars v4.5.3
|
5
5
|
|
6
6
|
Copyright (C) 2011-2017 by Yehuda Katz
|
7
7
|
|
@@ -92,23 +92,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
92
92
|
|
93
93
|
// Compiler imports
|
94
94
|
|
95
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
95
|
+
var _handlebarsCompilerAst = __webpack_require__(40);
|
96
96
|
|
97
97
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
98
98
|
|
99
|
-
var _handlebarsCompilerBase = __webpack_require__(
|
99
|
+
var _handlebarsCompilerBase = __webpack_require__(41);
|
100
100
|
|
101
|
-
var _handlebarsCompilerCompiler = __webpack_require__(
|
101
|
+
var _handlebarsCompilerCompiler = __webpack_require__(46);
|
102
102
|
|
103
|
-
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(
|
103
|
+
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(49);
|
104
104
|
|
105
105
|
var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
|
106
106
|
|
107
|
-
var _handlebarsCompilerVisitor = __webpack_require__(
|
107
|
+
var _handlebarsCompilerVisitor = __webpack_require__(44);
|
108
108
|
|
109
109
|
var _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);
|
110
110
|
|
111
|
-
var _handlebarsNoConflict = __webpack_require__(
|
111
|
+
var _handlebarsNoConflict = __webpack_require__(39);
|
112
112
|
|
113
113
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
114
114
|
|
@@ -178,7 +178,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
178
178
|
// Each of these augment the Handlebars object. No need to setup here.
|
179
179
|
// (This is done to easily share code between commonjs and browse envs)
|
180
180
|
|
181
|
-
var _handlebarsSafeString = __webpack_require__(
|
181
|
+
var _handlebarsSafeString = __webpack_require__(33);
|
182
182
|
|
183
183
|
var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
|
184
184
|
|
@@ -190,11 +190,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
190
190
|
|
191
191
|
var Utils = _interopRequireWildcard(_handlebarsUtils);
|
192
192
|
|
193
|
-
var _handlebarsRuntime = __webpack_require__(
|
193
|
+
var _handlebarsRuntime = __webpack_require__(34);
|
194
194
|
|
195
195
|
var runtime = _interopRequireWildcard(_handlebarsRuntime);
|
196
196
|
|
197
|
-
var _handlebarsNoConflict = __webpack_require__(
|
197
|
+
var _handlebarsNoConflict = __webpack_require__(39);
|
198
198
|
|
199
199
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
200
200
|
|
@@ -270,13 +270,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
270
270
|
|
271
271
|
var _helpers = __webpack_require__(10);
|
272
272
|
|
273
|
-
var _decorators = __webpack_require__(
|
273
|
+
var _decorators = __webpack_require__(30);
|
274
274
|
|
275
|
-
var _logger = __webpack_require__(
|
275
|
+
var _logger = __webpack_require__(32);
|
276
276
|
|
277
277
|
var _logger2 = _interopRequireDefault(_logger);
|
278
278
|
|
279
|
-
var VERSION = '4.5.
|
279
|
+
var VERSION = '4.5.3';
|
280
280
|
exports.VERSION = VERSION;
|
281
281
|
var COMPILER_REVISION = 8;
|
282
282
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
@@ -614,23 +614,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
614
614
|
|
615
615
|
var _helpersEach2 = _interopRequireDefault(_helpersEach);
|
616
616
|
|
617
|
-
var _helpersHelperMissing = __webpack_require__(
|
617
|
+
var _helpersHelperMissing = __webpack_require__(25);
|
618
618
|
|
619
619
|
var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
|
620
620
|
|
621
|
-
var _helpersIf = __webpack_require__(
|
621
|
+
var _helpersIf = __webpack_require__(26);
|
622
622
|
|
623
623
|
var _helpersIf2 = _interopRequireDefault(_helpersIf);
|
624
624
|
|
625
|
-
var _helpersLog = __webpack_require__(
|
625
|
+
var _helpersLog = __webpack_require__(27);
|
626
626
|
|
627
627
|
var _helpersLog2 = _interopRequireDefault(_helpersLog);
|
628
628
|
|
629
|
-
var _helpersLookup = __webpack_require__(
|
629
|
+
var _helpersLookup = __webpack_require__(28);
|
630
630
|
|
631
631
|
var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
|
632
632
|
|
633
|
-
var _helpersWith = __webpack_require__(
|
633
|
+
var _helpersWith = __webpack_require__(29);
|
634
634
|
|
635
635
|
var _helpersWith2 = _interopRequireDefault(_helpersWith);
|
636
636
|
|
@@ -702,6 +702,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
702
702
|
|
703
703
|
/* WEBPACK VAR INJECTION */(function(global) {'use strict';
|
704
704
|
|
705
|
+
var _Object$keys = __webpack_require__(13)['default'];
|
706
|
+
|
705
707
|
var _interopRequireDefault = __webpack_require__(1)['default'];
|
706
708
|
|
707
709
|
exports.__esModule = true;
|
@@ -773,10 +775,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
773
775
|
execIteration(i, i, i === context.length - 1);
|
774
776
|
}
|
775
777
|
} else {
|
776
|
-
|
778
|
+
(function () {
|
779
|
+
var priorKey = undefined;
|
777
780
|
|
778
|
-
|
779
|
-
if (context.hasOwnProperty(key)) {
|
781
|
+
_Object$keys(context).forEach(function (key) {
|
780
782
|
// We're running the iterations one step out of sync so we can detect
|
781
783
|
// the last iteration without have to scan the object twice and create
|
782
784
|
// an itermediate keys array.
|
@@ -785,11 +787,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
785
787
|
}
|
786
788
|
priorKey = key;
|
787
789
|
i++;
|
790
|
+
});
|
791
|
+
if (priorKey !== undefined) {
|
792
|
+
execIteration(priorKey, i - 1, true);
|
788
793
|
}
|
789
|
-
}
|
790
|
-
if (priorKey !== undefined) {
|
791
|
-
execIteration(priorKey, i - 1, true);
|
792
|
-
}
|
794
|
+
})();
|
793
795
|
}
|
794
796
|
}
|
795
797
|
|
@@ -806,6 +808,180 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
806
808
|
|
807
809
|
/***/ }),
|
808
810
|
/* 13 */
|
811
|
+
/***/ (function(module, exports, __webpack_require__) {
|
812
|
+
|
813
|
+
module.exports = { "default": __webpack_require__(14), __esModule: true };
|
814
|
+
|
815
|
+
/***/ }),
|
816
|
+
/* 14 */
|
817
|
+
/***/ (function(module, exports, __webpack_require__) {
|
818
|
+
|
819
|
+
__webpack_require__(15);
|
820
|
+
module.exports = __webpack_require__(21).Object.keys;
|
821
|
+
|
822
|
+
/***/ }),
|
823
|
+
/* 15 */
|
824
|
+
/***/ (function(module, exports, __webpack_require__) {
|
825
|
+
|
826
|
+
// 19.1.2.14 Object.keys(O)
|
827
|
+
var toObject = __webpack_require__(16);
|
828
|
+
|
829
|
+
__webpack_require__(18)('keys', function($keys){
|
830
|
+
return function keys(it){
|
831
|
+
return $keys(toObject(it));
|
832
|
+
};
|
833
|
+
});
|
834
|
+
|
835
|
+
/***/ }),
|
836
|
+
/* 16 */
|
837
|
+
/***/ (function(module, exports, __webpack_require__) {
|
838
|
+
|
839
|
+
// 7.1.13 ToObject(argument)
|
840
|
+
var defined = __webpack_require__(17);
|
841
|
+
module.exports = function(it){
|
842
|
+
return Object(defined(it));
|
843
|
+
};
|
844
|
+
|
845
|
+
/***/ }),
|
846
|
+
/* 17 */
|
847
|
+
/***/ (function(module, exports) {
|
848
|
+
|
849
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
850
|
+
module.exports = function(it){
|
851
|
+
if(it == undefined)throw TypeError("Can't call method on " + it);
|
852
|
+
return it;
|
853
|
+
};
|
854
|
+
|
855
|
+
/***/ }),
|
856
|
+
/* 18 */
|
857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
858
|
+
|
859
|
+
// most Object methods by ES6 should accept primitives
|
860
|
+
var $export = __webpack_require__(19)
|
861
|
+
, core = __webpack_require__(21)
|
862
|
+
, fails = __webpack_require__(24);
|
863
|
+
module.exports = function(KEY, exec){
|
864
|
+
var fn = (core.Object || {})[KEY] || Object[KEY]
|
865
|
+
, exp = {};
|
866
|
+
exp[KEY] = exec(fn);
|
867
|
+
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
868
|
+
};
|
869
|
+
|
870
|
+
/***/ }),
|
871
|
+
/* 19 */
|
872
|
+
/***/ (function(module, exports, __webpack_require__) {
|
873
|
+
|
874
|
+
var global = __webpack_require__(20)
|
875
|
+
, core = __webpack_require__(21)
|
876
|
+
, ctx = __webpack_require__(22)
|
877
|
+
, PROTOTYPE = 'prototype';
|
878
|
+
|
879
|
+
var $export = function(type, name, source){
|
880
|
+
var IS_FORCED = type & $export.F
|
881
|
+
, IS_GLOBAL = type & $export.G
|
882
|
+
, IS_STATIC = type & $export.S
|
883
|
+
, IS_PROTO = type & $export.P
|
884
|
+
, IS_BIND = type & $export.B
|
885
|
+
, IS_WRAP = type & $export.W
|
886
|
+
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
887
|
+
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
888
|
+
, key, own, out;
|
889
|
+
if(IS_GLOBAL)source = name;
|
890
|
+
for(key in source){
|
891
|
+
// contains in native
|
892
|
+
own = !IS_FORCED && target && key in target;
|
893
|
+
if(own && key in exports)continue;
|
894
|
+
// export native or passed
|
895
|
+
out = own ? target[key] : source[key];
|
896
|
+
// prevent global pollution for namespaces
|
897
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
898
|
+
// bind timers to global for call from export context
|
899
|
+
: IS_BIND && own ? ctx(out, global)
|
900
|
+
// wrap global constructors for prevent change them in library
|
901
|
+
: IS_WRAP && target[key] == out ? (function(C){
|
902
|
+
var F = function(param){
|
903
|
+
return this instanceof C ? new C(param) : C(param);
|
904
|
+
};
|
905
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
906
|
+
return F;
|
907
|
+
// make static versions for prototype methods
|
908
|
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
909
|
+
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
910
|
+
}
|
911
|
+
};
|
912
|
+
// type bitmap
|
913
|
+
$export.F = 1; // forced
|
914
|
+
$export.G = 2; // global
|
915
|
+
$export.S = 4; // static
|
916
|
+
$export.P = 8; // proto
|
917
|
+
$export.B = 16; // bind
|
918
|
+
$export.W = 32; // wrap
|
919
|
+
module.exports = $export;
|
920
|
+
|
921
|
+
/***/ }),
|
922
|
+
/* 20 */
|
923
|
+
/***/ (function(module, exports) {
|
924
|
+
|
925
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
926
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
927
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
928
|
+
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
929
|
+
|
930
|
+
/***/ }),
|
931
|
+
/* 21 */
|
932
|
+
/***/ (function(module, exports) {
|
933
|
+
|
934
|
+
var core = module.exports = {version: '1.2.6'};
|
935
|
+
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
936
|
+
|
937
|
+
/***/ }),
|
938
|
+
/* 22 */
|
939
|
+
/***/ (function(module, exports, __webpack_require__) {
|
940
|
+
|
941
|
+
// optional / simple context binding
|
942
|
+
var aFunction = __webpack_require__(23);
|
943
|
+
module.exports = function(fn, that, length){
|
944
|
+
aFunction(fn);
|
945
|
+
if(that === undefined)return fn;
|
946
|
+
switch(length){
|
947
|
+
case 1: return function(a){
|
948
|
+
return fn.call(that, a);
|
949
|
+
};
|
950
|
+
case 2: return function(a, b){
|
951
|
+
return fn.call(that, a, b);
|
952
|
+
};
|
953
|
+
case 3: return function(a, b, c){
|
954
|
+
return fn.call(that, a, b, c);
|
955
|
+
};
|
956
|
+
}
|
957
|
+
return function(/* ...args */){
|
958
|
+
return fn.apply(that, arguments);
|
959
|
+
};
|
960
|
+
};
|
961
|
+
|
962
|
+
/***/ }),
|
963
|
+
/* 23 */
|
964
|
+
/***/ (function(module, exports) {
|
965
|
+
|
966
|
+
module.exports = function(it){
|
967
|
+
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
968
|
+
return it;
|
969
|
+
};
|
970
|
+
|
971
|
+
/***/ }),
|
972
|
+
/* 24 */
|
973
|
+
/***/ (function(module, exports) {
|
974
|
+
|
975
|
+
module.exports = function(exec){
|
976
|
+
try {
|
977
|
+
return !!exec();
|
978
|
+
} catch(e){
|
979
|
+
return true;
|
980
|
+
}
|
981
|
+
};
|
982
|
+
|
983
|
+
/***/ }),
|
984
|
+
/* 25 */
|
809
985
|
/***/ (function(module, exports, __webpack_require__) {
|
810
986
|
|
811
987
|
'use strict';
|
@@ -833,7 +1009,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
833
1009
|
module.exports = exports['default'];
|
834
1010
|
|
835
1011
|
/***/ }),
|
836
|
-
/*
|
1012
|
+
/* 26 */
|
837
1013
|
/***/ (function(module, exports, __webpack_require__) {
|
838
1014
|
|
839
1015
|
'use strict';
|
@@ -878,7 +1054,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
878
1054
|
module.exports = exports['default'];
|
879
1055
|
|
880
1056
|
/***/ }),
|
881
|
-
/*
|
1057
|
+
/* 27 */
|
882
1058
|
/***/ (function(module, exports) {
|
883
1059
|
|
884
1060
|
'use strict';
|
@@ -908,29 +1084,30 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
908
1084
|
module.exports = exports['default'];
|
909
1085
|
|
910
1086
|
/***/ }),
|
911
|
-
/*
|
1087
|
+
/* 28 */
|
912
1088
|
/***/ (function(module, exports) {
|
913
1089
|
|
914
1090
|
'use strict';
|
915
1091
|
|
916
1092
|
exports.__esModule = true;
|
1093
|
+
var dangerousPropertyRegex = /^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;
|
1094
|
+
|
1095
|
+
exports.dangerousPropertyRegex = dangerousPropertyRegex;
|
917
1096
|
|
918
1097
|
exports['default'] = function (instance) {
|
919
1098
|
instance.registerHelper('lookup', function (obj, field) {
|
920
1099
|
if (!obj) {
|
921
1100
|
return obj;
|
922
1101
|
}
|
923
|
-
if (String(field)
|
1102
|
+
if (dangerousPropertyRegex.test(String(field)) && !Object.prototype.propertyIsEnumerable.call(obj, field)) {
|
924
1103
|
return undefined;
|
925
1104
|
}
|
926
1105
|
return obj[field];
|
927
1106
|
});
|
928
1107
|
};
|
929
1108
|
|
930
|
-
module.exports = exports['default'];
|
931
|
-
|
932
1109
|
/***/ }),
|
933
|
-
/*
|
1110
|
+
/* 29 */
|
934
1111
|
/***/ (function(module, exports, __webpack_require__) {
|
935
1112
|
|
936
1113
|
'use strict';
|
@@ -976,7 +1153,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
976
1153
|
module.exports = exports['default'];
|
977
1154
|
|
978
1155
|
/***/ }),
|
979
|
-
/*
|
1156
|
+
/* 30 */
|
980
1157
|
/***/ (function(module, exports, __webpack_require__) {
|
981
1158
|
|
982
1159
|
'use strict';
|
@@ -986,7 +1163,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
986
1163
|
exports.__esModule = true;
|
987
1164
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
988
1165
|
|
989
|
-
var _decoratorsInline = __webpack_require__(
|
1166
|
+
var _decoratorsInline = __webpack_require__(31);
|
990
1167
|
|
991
1168
|
var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
|
992
1169
|
|
@@ -995,7 +1172,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
995
1172
|
}
|
996
1173
|
|
997
1174
|
/***/ }),
|
998
|
-
/*
|
1175
|
+
/* 31 */
|
999
1176
|
/***/ (function(module, exports, __webpack_require__) {
|
1000
1177
|
|
1001
1178
|
'use strict';
|
@@ -1028,7 +1205,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1028
1205
|
module.exports = exports['default'];
|
1029
1206
|
|
1030
1207
|
/***/ }),
|
1031
|
-
/*
|
1208
|
+
/* 32 */
|
1032
1209
|
/***/ (function(module, exports, __webpack_require__) {
|
1033
1210
|
|
1034
1211
|
'use strict';
|
@@ -1079,7 +1256,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1079
1256
|
module.exports = exports['default'];
|
1080
1257
|
|
1081
1258
|
/***/ }),
|
1082
|
-
/*
|
1259
|
+
/* 33 */
|
1083
1260
|
/***/ (function(module, exports) {
|
1084
1261
|
|
1085
1262
|
// Build out our basic SafeString type
|
@@ -1098,12 +1275,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1098
1275
|
module.exports = exports['default'];
|
1099
1276
|
|
1100
1277
|
/***/ }),
|
1101
|
-
/*
|
1278
|
+
/* 34 */
|
1102
1279
|
/***/ (function(module, exports, __webpack_require__) {
|
1103
1280
|
|
1104
1281
|
'use strict';
|
1105
1282
|
|
1106
|
-
var _Object$seal = __webpack_require__(
|
1283
|
+
var _Object$seal = __webpack_require__(35)['default'];
|
1107
1284
|
|
1108
1285
|
var _interopRequireWildcard = __webpack_require__(3)['default'];
|
1109
1286
|
|
@@ -1420,33 +1597,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1420
1597
|
}
|
1421
1598
|
|
1422
1599
|
/***/ }),
|
1423
|
-
/*
|
1600
|
+
/* 35 */
|
1424
1601
|
/***/ (function(module, exports, __webpack_require__) {
|
1425
1602
|
|
1426
|
-
module.exports = { "default": __webpack_require__(
|
1603
|
+
module.exports = { "default": __webpack_require__(36), __esModule: true };
|
1427
1604
|
|
1428
1605
|
/***/ }),
|
1429
|
-
/*
|
1606
|
+
/* 36 */
|
1430
1607
|
/***/ (function(module, exports, __webpack_require__) {
|
1431
1608
|
|
1432
|
-
__webpack_require__(
|
1433
|
-
module.exports = __webpack_require__(
|
1609
|
+
__webpack_require__(37);
|
1610
|
+
module.exports = __webpack_require__(21).Object.seal;
|
1434
1611
|
|
1435
1612
|
/***/ }),
|
1436
|
-
/*
|
1613
|
+
/* 37 */
|
1437
1614
|
/***/ (function(module, exports, __webpack_require__) {
|
1438
1615
|
|
1439
1616
|
// 19.1.2.17 Object.seal(O)
|
1440
|
-
var isObject = __webpack_require__(
|
1617
|
+
var isObject = __webpack_require__(38);
|
1441
1618
|
|
1442
|
-
__webpack_require__(
|
1619
|
+
__webpack_require__(18)('seal', function($seal){
|
1443
1620
|
return function seal(it){
|
1444
1621
|
return $seal && isObject(it) ? $seal(it) : it;
|
1445
1622
|
};
|
1446
1623
|
});
|
1447
1624
|
|
1448
1625
|
/***/ }),
|
1449
|
-
/*
|
1626
|
+
/* 38 */
|
1450
1627
|
/***/ (function(module, exports) {
|
1451
1628
|
|
1452
1629
|
module.exports = function(it){
|
@@ -1454,135 +1631,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1454
1631
|
};
|
1455
1632
|
|
1456
1633
|
/***/ }),
|
1457
|
-
/*
|
1458
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1459
|
-
|
1460
|
-
// most Object methods by ES6 should accept primitives
|
1461
|
-
var $export = __webpack_require__(28)
|
1462
|
-
, core = __webpack_require__(30)
|
1463
|
-
, fails = __webpack_require__(33);
|
1464
|
-
module.exports = function(KEY, exec){
|
1465
|
-
var fn = (core.Object || {})[KEY] || Object[KEY]
|
1466
|
-
, exp = {};
|
1467
|
-
exp[KEY] = exec(fn);
|
1468
|
-
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
1469
|
-
};
|
1470
|
-
|
1471
|
-
/***/ }),
|
1472
|
-
/* 28 */
|
1473
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1474
|
-
|
1475
|
-
var global = __webpack_require__(29)
|
1476
|
-
, core = __webpack_require__(30)
|
1477
|
-
, ctx = __webpack_require__(31)
|
1478
|
-
, PROTOTYPE = 'prototype';
|
1479
|
-
|
1480
|
-
var $export = function(type, name, source){
|
1481
|
-
var IS_FORCED = type & $export.F
|
1482
|
-
, IS_GLOBAL = type & $export.G
|
1483
|
-
, IS_STATIC = type & $export.S
|
1484
|
-
, IS_PROTO = type & $export.P
|
1485
|
-
, IS_BIND = type & $export.B
|
1486
|
-
, IS_WRAP = type & $export.W
|
1487
|
-
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
1488
|
-
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
1489
|
-
, key, own, out;
|
1490
|
-
if(IS_GLOBAL)source = name;
|
1491
|
-
for(key in source){
|
1492
|
-
// contains in native
|
1493
|
-
own = !IS_FORCED && target && key in target;
|
1494
|
-
if(own && key in exports)continue;
|
1495
|
-
// export native or passed
|
1496
|
-
out = own ? target[key] : source[key];
|
1497
|
-
// prevent global pollution for namespaces
|
1498
|
-
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
1499
|
-
// bind timers to global for call from export context
|
1500
|
-
: IS_BIND && own ? ctx(out, global)
|
1501
|
-
// wrap global constructors for prevent change them in library
|
1502
|
-
: IS_WRAP && target[key] == out ? (function(C){
|
1503
|
-
var F = function(param){
|
1504
|
-
return this instanceof C ? new C(param) : C(param);
|
1505
|
-
};
|
1506
|
-
F[PROTOTYPE] = C[PROTOTYPE];
|
1507
|
-
return F;
|
1508
|
-
// make static versions for prototype methods
|
1509
|
-
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
1510
|
-
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
1511
|
-
}
|
1512
|
-
};
|
1513
|
-
// type bitmap
|
1514
|
-
$export.F = 1; // forced
|
1515
|
-
$export.G = 2; // global
|
1516
|
-
$export.S = 4; // static
|
1517
|
-
$export.P = 8; // proto
|
1518
|
-
$export.B = 16; // bind
|
1519
|
-
$export.W = 32; // wrap
|
1520
|
-
module.exports = $export;
|
1521
|
-
|
1522
|
-
/***/ }),
|
1523
|
-
/* 29 */
|
1524
|
-
/***/ (function(module, exports) {
|
1525
|
-
|
1526
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
1527
|
-
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
1528
|
-
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
1529
|
-
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
1530
|
-
|
1531
|
-
/***/ }),
|
1532
|
-
/* 30 */
|
1533
|
-
/***/ (function(module, exports) {
|
1534
|
-
|
1535
|
-
var core = module.exports = {version: '1.2.6'};
|
1536
|
-
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
1537
|
-
|
1538
|
-
/***/ }),
|
1539
|
-
/* 31 */
|
1540
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1541
|
-
|
1542
|
-
// optional / simple context binding
|
1543
|
-
var aFunction = __webpack_require__(32);
|
1544
|
-
module.exports = function(fn, that, length){
|
1545
|
-
aFunction(fn);
|
1546
|
-
if(that === undefined)return fn;
|
1547
|
-
switch(length){
|
1548
|
-
case 1: return function(a){
|
1549
|
-
return fn.call(that, a);
|
1550
|
-
};
|
1551
|
-
case 2: return function(a, b){
|
1552
|
-
return fn.call(that, a, b);
|
1553
|
-
};
|
1554
|
-
case 3: return function(a, b, c){
|
1555
|
-
return fn.call(that, a, b, c);
|
1556
|
-
};
|
1557
|
-
}
|
1558
|
-
return function(/* ...args */){
|
1559
|
-
return fn.apply(that, arguments);
|
1560
|
-
};
|
1561
|
-
};
|
1562
|
-
|
1563
|
-
/***/ }),
|
1564
|
-
/* 32 */
|
1565
|
-
/***/ (function(module, exports) {
|
1566
|
-
|
1567
|
-
module.exports = function(it){
|
1568
|
-
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
1569
|
-
return it;
|
1570
|
-
};
|
1571
|
-
|
1572
|
-
/***/ }),
|
1573
|
-
/* 33 */
|
1574
|
-
/***/ (function(module, exports) {
|
1575
|
-
|
1576
|
-
module.exports = function(exec){
|
1577
|
-
try {
|
1578
|
-
return !!exec();
|
1579
|
-
} catch(e){
|
1580
|
-
return true;
|
1581
|
-
}
|
1582
|
-
};
|
1583
|
-
|
1584
|
-
/***/ }),
|
1585
|
-
/* 34 */
|
1634
|
+
/* 39 */
|
1586
1635
|
/***/ (function(module, exports) {
|
1587
1636
|
|
1588
1637
|
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
|
@@ -1607,7 +1656,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1607
1656
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
1608
1657
|
|
1609
1658
|
/***/ }),
|
1610
|
-
/*
|
1659
|
+
/* 40 */
|
1611
1660
|
/***/ (function(module, exports) {
|
1612
1661
|
|
1613
1662
|
'use strict';
|
@@ -1642,7 +1691,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1642
1691
|
module.exports = exports['default'];
|
1643
1692
|
|
1644
1693
|
/***/ }),
|
1645
|
-
/*
|
1694
|
+
/* 41 */
|
1646
1695
|
/***/ (function(module, exports, __webpack_require__) {
|
1647
1696
|
|
1648
1697
|
'use strict';
|
@@ -1655,15 +1704,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1655
1704
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
1656
1705
|
exports.parse = parse;
|
1657
1706
|
|
1658
|
-
var _parser = __webpack_require__(
|
1707
|
+
var _parser = __webpack_require__(42);
|
1659
1708
|
|
1660
1709
|
var _parser2 = _interopRequireDefault(_parser);
|
1661
1710
|
|
1662
|
-
var _whitespaceControl = __webpack_require__(
|
1711
|
+
var _whitespaceControl = __webpack_require__(43);
|
1663
1712
|
|
1664
1713
|
var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
|
1665
1714
|
|
1666
|
-
var _helpers = __webpack_require__(
|
1715
|
+
var _helpers = __webpack_require__(45);
|
1667
1716
|
|
1668
1717
|
var Helpers = _interopRequireWildcard(_helpers);
|
1669
1718
|
|
@@ -1700,7 +1749,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1700
1749
|
}
|
1701
1750
|
|
1702
1751
|
/***/ }),
|
1703
|
-
/*
|
1752
|
+
/* 42 */
|
1704
1753
|
/***/ (function(module, exports) {
|
1705
1754
|
|
1706
1755
|
// File ignored in coverage tests via setting in .istanbul.yml
|
@@ -2441,7 +2490,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2441
2490
|
module.exports = exports["default"];
|
2442
2491
|
|
2443
2492
|
/***/ }),
|
2444
|
-
/*
|
2493
|
+
/* 43 */
|
2445
2494
|
/***/ (function(module, exports, __webpack_require__) {
|
2446
2495
|
|
2447
2496
|
'use strict';
|
@@ -2450,7 +2499,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2450
2499
|
|
2451
2500
|
exports.__esModule = true;
|
2452
2501
|
|
2453
|
-
var _visitor = __webpack_require__(
|
2502
|
+
var _visitor = __webpack_require__(44);
|
2454
2503
|
|
2455
2504
|
var _visitor2 = _interopRequireDefault(_visitor);
|
2456
2505
|
|
@@ -2665,7 +2714,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2665
2714
|
module.exports = exports['default'];
|
2666
2715
|
|
2667
2716
|
/***/ }),
|
2668
|
-
/*
|
2717
|
+
/* 44 */
|
2669
2718
|
/***/ (function(module, exports, __webpack_require__) {
|
2670
2719
|
|
2671
2720
|
'use strict';
|
@@ -2808,7 +2857,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2808
2857
|
module.exports = exports['default'];
|
2809
2858
|
|
2810
2859
|
/***/ }),
|
2811
|
-
/*
|
2860
|
+
/* 45 */
|
2812
2861
|
/***/ (function(module, exports, __webpack_require__) {
|
2813
2862
|
|
2814
2863
|
'use strict';
|
@@ -3039,13 +3088,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3039
3088
|
}
|
3040
3089
|
|
3041
3090
|
/***/ }),
|
3042
|
-
/*
|
3091
|
+
/* 46 */
|
3043
3092
|
/***/ (function(module, exports, __webpack_require__) {
|
3044
3093
|
|
3045
3094
|
/* eslint-disable new-cap */
|
3046
3095
|
|
3047
3096
|
'use strict';
|
3048
3097
|
|
3098
|
+
var _Object$create = __webpack_require__(47)['default'];
|
3099
|
+
|
3049
3100
|
var _interopRequireDefault = __webpack_require__(1)['default'];
|
3050
3101
|
|
3051
3102
|
exports.__esModule = true;
|
@@ -3059,7 +3110,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3059
3110
|
|
3060
3111
|
var _utils = __webpack_require__(5);
|
3061
3112
|
|
3062
|
-
var _ast = __webpack_require__(
|
3113
|
+
var _ast = __webpack_require__(40);
|
3063
3114
|
|
3064
3115
|
var _ast2 = _interopRequireDefault(_ast);
|
3065
3116
|
|
@@ -3113,9 +3164,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3113
3164
|
|
3114
3165
|
options.blockParams = options.blockParams || [];
|
3115
3166
|
|
3116
|
-
|
3117
|
-
var knownHelpers = options.knownHelpers;
|
3118
|
-
options.knownHelpers = {
|
3167
|
+
options.knownHelpers = _utils.extend(_Object$create(null), {
|
3119
3168
|
'helperMissing': true,
|
3120
3169
|
'blockHelperMissing': true,
|
3121
3170
|
'each': true,
|
@@ -3124,15 +3173,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3124
3173
|
'with': true,
|
3125
3174
|
'log': true,
|
3126
3175
|
'lookup': true
|
3127
|
-
};
|
3128
|
-
if (knownHelpers) {
|
3129
|
-
// the next line should use "Object.keys", but the code has been like this a long time and changing it, might
|
3130
|
-
// cause backwards-compatibility issues... It's an old library...
|
3131
|
-
// eslint-disable-next-line guard-for-in
|
3132
|
-
for (var _name in knownHelpers) {
|
3133
|
-
this.options.knownHelpers[_name] = knownHelpers[_name];
|
3134
|
-
}
|
3135
|
-
}
|
3176
|
+
}, options.knownHelpers);
|
3136
3177
|
|
3137
3178
|
return this.accept(program);
|
3138
3179
|
},
|
@@ -3426,10 +3467,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3426
3467
|
// if ambiguous, we can possibly resolve the ambiguity now
|
3427
3468
|
// An eligible helper is one that does not have a complex path, i.e. `this.foo`, `../foo` etc.
|
3428
3469
|
if (isEligible && !isHelper) {
|
3429
|
-
var
|
3470
|
+
var _name = sexpr.path.parts[0],
|
3430
3471
|
options = this.options;
|
3431
|
-
|
3432
|
-
if (options.knownHelpers[_name2]) {
|
3472
|
+
if (options.knownHelpers[_name]) {
|
3433
3473
|
isHelper = true;
|
3434
3474
|
} else if (options.knownHelpersOnly) {
|
3435
3475
|
isEligible = false;
|
@@ -3615,11 +3655,28 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3615
3655
|
}
|
3616
3656
|
|
3617
3657
|
/***/ }),
|
3618
|
-
/*
|
3658
|
+
/* 47 */
|
3659
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3660
|
+
|
3661
|
+
module.exports = { "default": __webpack_require__(48), __esModule: true };
|
3662
|
+
|
3663
|
+
/***/ }),
|
3664
|
+
/* 48 */
|
3665
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3666
|
+
|
3667
|
+
var $ = __webpack_require__(9);
|
3668
|
+
module.exports = function create(P, D){
|
3669
|
+
return $.create(P, D);
|
3670
|
+
};
|
3671
|
+
|
3672
|
+
/***/ }),
|
3673
|
+
/* 49 */
|
3619
3674
|
/***/ (function(module, exports, __webpack_require__) {
|
3620
3675
|
|
3621
3676
|
'use strict';
|
3622
3677
|
|
3678
|
+
var _Object$keys = __webpack_require__(13)['default'];
|
3679
|
+
|
3623
3680
|
var _interopRequireDefault = __webpack_require__(1)['default'];
|
3624
3681
|
|
3625
3682
|
exports.__esModule = true;
|
@@ -3632,10 +3689,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3632
3689
|
|
3633
3690
|
var _utils = __webpack_require__(5);
|
3634
3691
|
|
3635
|
-
var _codeGen = __webpack_require__(
|
3692
|
+
var _codeGen = __webpack_require__(50);
|
3636
3693
|
|
3637
3694
|
var _codeGen2 = _interopRequireDefault(_codeGen);
|
3638
3695
|
|
3696
|
+
var _helpersLookup = __webpack_require__(28);
|
3697
|
+
|
3639
3698
|
function Literal(value) {
|
3640
3699
|
this.value = value;
|
3641
3700
|
}
|
@@ -3646,9 +3705,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3646
3705
|
// PUBLIC API: You can override these methods in a subclass to provide
|
3647
3706
|
// alternative compiled forms for name lookup and buffering semantics
|
3648
3707
|
nameLookup: function nameLookup(parent, name /* , type*/) {
|
3649
|
-
|
3650
|
-
|
3651
|
-
if (name === 'constructor') {
|
3708
|
+
if (_helpersLookup.dangerousPropertyRegex.test(name)) {
|
3709
|
+
var isEnumerable = [this.aliasable('container.propertyIsEnumerable'), '.call(', parent, ',', JSON.stringify(name), ')'];
|
3652
3710
|
return ['(', isEnumerable, '?', _actualLookup(), ' : undefined)'];
|
3653
3711
|
}
|
3654
3712
|
return _actualLookup();
|
@@ -3840,6 +3898,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3840
3898
|
},
|
3841
3899
|
|
3842
3900
|
createFunctionContext: function createFunctionContext(asObject) {
|
3901
|
+
// istanbul ignore next
|
3902
|
+
|
3903
|
+
var _this = this;
|
3904
|
+
|
3843
3905
|
var varDeclarations = '';
|
3844
3906
|
|
3845
3907
|
var locals = this.stackVars.concat(this.registers.list);
|
@@ -3854,14 +3916,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3854
3916
|
// aliases will not be used, but this case is already being run on the client and
|
3855
3917
|
// we aren't concern about minimizing the template size.
|
3856
3918
|
var aliasCount = 0;
|
3857
|
-
|
3858
|
-
|
3859
|
-
|
3860
|
-
if (this.aliases.hasOwnProperty(alias) && node.children && node.referenceCount > 1) {
|
3919
|
+
_Object$keys(this.aliases).forEach(function (alias) {
|
3920
|
+
var node = _this.aliases[alias];
|
3921
|
+
if (node.children && node.referenceCount > 1) {
|
3861
3922
|
varDeclarations += ', alias' + ++aliasCount + '=' + alias;
|
3862
3923
|
node.children[0] = 'alias' + aliasCount;
|
3863
3924
|
}
|
3864
|
-
}
|
3925
|
+
});
|
3865
3926
|
|
3866
3927
|
var params = ['container', 'depth0', 'helpers', 'partials', 'data'];
|
3867
3928
|
|
@@ -4107,7 +4168,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4107
4168
|
resolvePath: function resolvePath(type, parts, i, falsy, strict) {
|
4108
4169
|
// istanbul ignore next
|
4109
4170
|
|
4110
|
-
var
|
4171
|
+
var _this2 = this;
|
4111
4172
|
|
4112
4173
|
if (this.options.strict || this.options.assumeObjects) {
|
4113
4174
|
this.push(strictLookup(this.options.strict && strict, this, parts, type));
|
@@ -4118,7 +4179,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4118
4179
|
for (; i < len; i++) {
|
4119
4180
|
/* eslint-disable no-loop-func */
|
4120
4181
|
this.replaceStack(function (current) {
|
4121
|
-
var lookup =
|
4182
|
+
var lookup = _this2.nameLookup(current, parts[i], type);
|
4122
4183
|
// We want to ensure that zero and false are handled properly if the context (falsy flag)
|
4123
4184
|
// needs to have the special handling for these values.
|
4124
4185
|
if (!falsy) {
|
@@ -4770,12 +4831,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4770
4831
|
module.exports = exports['default'];
|
4771
4832
|
|
4772
4833
|
/***/ }),
|
4773
|
-
/*
|
4834
|
+
/* 50 */
|
4774
4835
|
/***/ (function(module, exports, __webpack_require__) {
|
4775
4836
|
|
4776
4837
|
/* global define */
|
4777
4838
|
'use strict';
|
4778
4839
|
|
4840
|
+
var _Object$keys = __webpack_require__(13)['default'];
|
4841
|
+
|
4779
4842
|
exports.__esModule = true;
|
4780
4843
|
|
4781
4844
|
var _utils = __webpack_require__(5);
|
@@ -4896,16 +4959,18 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4896
4959
|
},
|
4897
4960
|
|
4898
4961
|
objectLiteral: function objectLiteral(obj) {
|
4962
|
+
// istanbul ignore next
|
4963
|
+
|
4964
|
+
var _this = this;
|
4965
|
+
|
4899
4966
|
var pairs = [];
|
4900
4967
|
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
pairs.push([this.quotedString(key), ':', value]);
|
4906
|
-
}
|
4968
|
+
_Object$keys(obj).forEach(function (key) {
|
4969
|
+
var value = castChunk(obj[key], _this);
|
4970
|
+
if (value !== 'undefined') {
|
4971
|
+
pairs.push([_this.quotedString(key), ':', value]);
|
4907
4972
|
}
|
4908
|
-
}
|
4973
|
+
});
|
4909
4974
|
|
4910
4975
|
var ret = this.generateList(pairs);
|
4911
4976
|
ret.prepend('{');
|