handlebars-source 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of handlebars-source might be problematic. Click here for more details.
- checksums.yaml +5 -13
- data/handlebars.js +284 -160
- data/handlebars.runtime.js +238 -115
- metadata +5 -5
data/handlebars.runtime.js
CHANGED
@@ -1,59 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.0.
|
5
|
-
|
6
|
-
Copyright (C) 2011-2016 by Yehuda Katz
|
7
|
-
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
of this software and associated documentation files (the "Software"), to deal
|
10
|
-
in the Software without restriction, including without limitation the rights
|
11
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
12
|
-
copies of the Software, and to permit persons to whom the Software is
|
13
|
-
furnished to do so, subject to the following conditions:
|
14
|
-
|
15
|
-
The above copyright notice and this permission notice shall be included in
|
16
|
-
all copies or substantial portions of the Software.
|
17
|
-
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
THE SOFTWARE.
|
25
|
-
|
26
|
-
*/
|
27
|
-
/**!
|
28
|
-
|
29
|
-
@license
|
30
|
-
handlebars v4.0.6
|
31
|
-
|
32
|
-
Copyright (C) 2011-2016 by Yehuda Katz
|
33
|
-
|
34
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
35
|
-
of this software and associated documentation files (the "Software"), to deal
|
36
|
-
in the Software without restriction, including without limitation the rights
|
37
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
38
|
-
copies of the Software, and to permit persons to whom the Software is
|
39
|
-
furnished to do so, subject to the following conditions:
|
40
|
-
|
41
|
-
The above copyright notice and this permission notice shall be included in
|
42
|
-
all copies or substantial portions of the Software.
|
43
|
-
|
44
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
45
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
46
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
47
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
48
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
49
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
50
|
-
THE SOFTWARE.
|
51
|
-
|
52
|
-
*/
|
53
|
-
/**!
|
54
|
-
|
55
|
-
@license
|
56
|
-
handlebars v4.0.6
|
4
|
+
handlebars v4.0.7
|
57
5
|
|
58
6
|
Copyright (C) 2011-2016 by Yehuda Katz
|
59
7
|
|
@@ -130,7 +78,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
130
78
|
/************************************************************************/
|
131
79
|
/******/ ([
|
132
80
|
/* 0 */
|
133
|
-
/***/ function(module, exports, __webpack_require__) {
|
81
|
+
/***/ (function(module, exports, __webpack_require__) {
|
134
82
|
|
135
83
|
'use strict';
|
136
84
|
|
@@ -163,7 +111,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
163
111
|
|
164
112
|
var runtime = _interopRequireWildcard(_handlebarsRuntime);
|
165
113
|
|
166
|
-
var _handlebarsNoConflict = __webpack_require__(
|
114
|
+
var _handlebarsNoConflict = __webpack_require__(33);
|
167
115
|
|
168
116
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
169
117
|
|
@@ -195,9 +143,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
195
143
|
exports['default'] = inst;
|
196
144
|
module.exports = exports['default'];
|
197
145
|
|
198
|
-
/***/ },
|
146
|
+
/***/ }),
|
199
147
|
/* 1 */
|
200
|
-
/***/ function(module, exports) {
|
148
|
+
/***/ (function(module, exports) {
|
201
149
|
|
202
150
|
"use strict";
|
203
151
|
|
@@ -220,9 +168,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
220
168
|
|
221
169
|
exports.__esModule = true;
|
222
170
|
|
223
|
-
/***/ },
|
171
|
+
/***/ }),
|
224
172
|
/* 2 */
|
225
|
-
/***/ function(module, exports) {
|
173
|
+
/***/ (function(module, exports) {
|
226
174
|
|
227
175
|
"use strict";
|
228
176
|
|
@@ -234,9 +182,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
234
182
|
|
235
183
|
exports.__esModule = true;
|
236
184
|
|
237
|
-
/***/ },
|
185
|
+
/***/ }),
|
238
186
|
/* 3 */
|
239
|
-
/***/ function(module, exports, __webpack_require__) {
|
187
|
+
/***/ (function(module, exports, __webpack_require__) {
|
240
188
|
|
241
189
|
'use strict';
|
242
190
|
|
@@ -259,7 +207,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
259
207
|
|
260
208
|
var _logger2 = _interopRequireDefault(_logger);
|
261
209
|
|
262
|
-
var VERSION = '4.0.
|
210
|
+
var VERSION = '4.0.7';
|
263
211
|
exports.VERSION = VERSION;
|
264
212
|
var COMPILER_REVISION = 7;
|
265
213
|
|
@@ -341,9 +289,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
341
289
|
exports.createFrame = _utils.createFrame;
|
342
290
|
exports.logger = _logger2['default'];
|
343
291
|
|
344
|
-
/***/ },
|
292
|
+
/***/ }),
|
345
293
|
/* 4 */
|
346
|
-
/***/ function(module, exports) {
|
294
|
+
/***/ (function(module, exports) {
|
347
295
|
|
348
296
|
'use strict';
|
349
297
|
|
@@ -469,9 +417,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
469
417
|
return (contextPath ? contextPath + '.' : '') + id;
|
470
418
|
}
|
471
419
|
|
472
|
-
/***/ },
|
420
|
+
/***/ }),
|
473
421
|
/* 5 */
|
474
|
-
/***/ function(module, exports, __webpack_require__) {
|
422
|
+
/***/ (function(module, exports, __webpack_require__) {
|
475
423
|
|
476
424
|
'use strict';
|
477
425
|
|
@@ -511,7 +459,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
511
459
|
// Work around issue under safari where we can't directly set the column value
|
512
460
|
/* istanbul ignore next */
|
513
461
|
if (_Object$defineProperty) {
|
514
|
-
Object.defineProperty(this, 'column', {
|
462
|
+
Object.defineProperty(this, 'column', {
|
463
|
+
value: column,
|
464
|
+
enumerable: true
|
465
|
+
});
|
515
466
|
} else {
|
516
467
|
this.column = column;
|
517
468
|
}
|
@@ -526,24 +477,24 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
526
477
|
exports['default'] = Exception;
|
527
478
|
module.exports = exports['default'];
|
528
479
|
|
529
|
-
/***/ },
|
480
|
+
/***/ }),
|
530
481
|
/* 6 */
|
531
|
-
/***/ function(module, exports, __webpack_require__) {
|
482
|
+
/***/ (function(module, exports, __webpack_require__) {
|
532
483
|
|
533
484
|
module.exports = { "default": __webpack_require__(7), __esModule: true };
|
534
485
|
|
535
|
-
/***/ },
|
486
|
+
/***/ }),
|
536
487
|
/* 7 */
|
537
|
-
/***/ function(module, exports, __webpack_require__) {
|
488
|
+
/***/ (function(module, exports, __webpack_require__) {
|
538
489
|
|
539
490
|
var $ = __webpack_require__(8);
|
540
491
|
module.exports = function defineProperty(it, key, desc){
|
541
492
|
return $.setDesc(it, key, desc);
|
542
493
|
};
|
543
494
|
|
544
|
-
/***/ },
|
495
|
+
/***/ }),
|
545
496
|
/* 8 */
|
546
|
-
/***/ function(module, exports) {
|
497
|
+
/***/ (function(module, exports) {
|
547
498
|
|
548
499
|
var $Object = Object;
|
549
500
|
module.exports = {
|
@@ -559,9 +510,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
559
510
|
each: [].forEach
|
560
511
|
};
|
561
512
|
|
562
|
-
/***/ },
|
513
|
+
/***/ }),
|
563
514
|
/* 9 */
|
564
|
-
/***/ function(module, exports, __webpack_require__) {
|
515
|
+
/***/ (function(module, exports, __webpack_require__) {
|
565
516
|
|
566
517
|
'use strict';
|
567
518
|
|
@@ -608,9 +559,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
608
559
|
_helpersWith2['default'](instance);
|
609
560
|
}
|
610
561
|
|
611
|
-
/***/ },
|
562
|
+
/***/ }),
|
612
563
|
/* 10 */
|
613
|
-
/***/ function(module, exports, __webpack_require__) {
|
564
|
+
/***/ (function(module, exports, __webpack_require__) {
|
614
565
|
|
615
566
|
'use strict';
|
616
567
|
|
@@ -651,9 +602,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
651
602
|
|
652
603
|
module.exports = exports['default'];
|
653
604
|
|
654
|
-
/***/ },
|
605
|
+
/***/ }),
|
655
606
|
/* 11 */
|
656
|
-
/***/ function(module, exports, __webpack_require__) {
|
607
|
+
/***/ (function(module, exports, __webpack_require__) {
|
657
608
|
|
658
609
|
'use strict';
|
659
610
|
|
@@ -748,9 +699,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
748
699
|
|
749
700
|
module.exports = exports['default'];
|
750
701
|
|
751
|
-
/***/ },
|
702
|
+
/***/ }),
|
752
703
|
/* 12 */
|
753
|
-
/***/ function(module, exports, __webpack_require__) {
|
704
|
+
/***/ (function(module, exports, __webpack_require__) {
|
754
705
|
|
755
706
|
'use strict';
|
756
707
|
|
@@ -776,9 +727,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
776
727
|
|
777
728
|
module.exports = exports['default'];
|
778
729
|
|
779
|
-
/***/ },
|
730
|
+
/***/ }),
|
780
731
|
/* 13 */
|
781
|
-
/***/ function(module, exports, __webpack_require__) {
|
732
|
+
/***/ (function(module, exports, __webpack_require__) {
|
782
733
|
|
783
734
|
'use strict';
|
784
735
|
|
@@ -809,9 +760,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
809
760
|
|
810
761
|
module.exports = exports['default'];
|
811
762
|
|
812
|
-
/***/ },
|
763
|
+
/***/ }),
|
813
764
|
/* 14 */
|
814
|
-
/***/ function(module, exports) {
|
765
|
+
/***/ (function(module, exports) {
|
815
766
|
|
816
767
|
'use strict';
|
817
768
|
|
@@ -839,9 +790,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
839
790
|
|
840
791
|
module.exports = exports['default'];
|
841
792
|
|
842
|
-
/***/ },
|
793
|
+
/***/ }),
|
843
794
|
/* 15 */
|
844
|
-
/***/ function(module, exports) {
|
795
|
+
/***/ (function(module, exports) {
|
845
796
|
|
846
797
|
'use strict';
|
847
798
|
|
@@ -855,9 +806,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
855
806
|
|
856
807
|
module.exports = exports['default'];
|
857
808
|
|
858
|
-
/***/ },
|
809
|
+
/***/ }),
|
859
810
|
/* 16 */
|
860
|
-
/***/ function(module, exports, __webpack_require__) {
|
811
|
+
/***/ (function(module, exports, __webpack_require__) {
|
861
812
|
|
862
813
|
'use strict';
|
863
814
|
|
@@ -892,9 +843,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
892
843
|
|
893
844
|
module.exports = exports['default'];
|
894
845
|
|
895
|
-
/***/ },
|
846
|
+
/***/ }),
|
896
847
|
/* 17 */
|
897
|
-
/***/ function(module, exports, __webpack_require__) {
|
848
|
+
/***/ (function(module, exports, __webpack_require__) {
|
898
849
|
|
899
850
|
'use strict';
|
900
851
|
|
@@ -911,9 +862,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
911
862
|
_decoratorsInline2['default'](instance);
|
912
863
|
}
|
913
864
|
|
914
|
-
/***/ },
|
865
|
+
/***/ }),
|
915
866
|
/* 18 */
|
916
|
-
/***/ function(module, exports, __webpack_require__) {
|
867
|
+
/***/ (function(module, exports, __webpack_require__) {
|
917
868
|
|
918
869
|
'use strict';
|
919
870
|
|
@@ -944,9 +895,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
944
895
|
|
945
896
|
module.exports = exports['default'];
|
946
897
|
|
947
|
-
/***/ },
|
898
|
+
/***/ }),
|
948
899
|
/* 19 */
|
949
|
-
/***/ function(module, exports, __webpack_require__) {
|
900
|
+
/***/ (function(module, exports, __webpack_require__) {
|
950
901
|
|
951
902
|
'use strict';
|
952
903
|
|
@@ -995,9 +946,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
995
946
|
exports['default'] = logger;
|
996
947
|
module.exports = exports['default'];
|
997
948
|
|
998
|
-
/***/ },
|
949
|
+
/***/ }),
|
999
950
|
/* 20 */
|
1000
|
-
/***/ function(module, exports) {
|
951
|
+
/***/ (function(module, exports) {
|
1001
952
|
|
1002
953
|
// Build out our basic SafeString type
|
1003
954
|
'use strict';
|
@@ -1014,12 +965,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1014
965
|
exports['default'] = SafeString;
|
1015
966
|
module.exports = exports['default'];
|
1016
967
|
|
1017
|
-
/***/ },
|
968
|
+
/***/ }),
|
1018
969
|
/* 21 */
|
1019
|
-
/***/ function(module, exports, __webpack_require__) {
|
970
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1020
971
|
|
1021
972
|
'use strict';
|
1022
973
|
|
974
|
+
var _Object$seal = __webpack_require__(22)['default'];
|
975
|
+
|
1023
976
|
var _interopRequireWildcard = __webpack_require__(1)['default'];
|
1024
977
|
|
1025
978
|
var _interopRequireDefault = __webpack_require__(2)['default'];
|
@@ -1162,6 +1115,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1162
1115
|
|
1163
1116
|
return obj;
|
1164
1117
|
},
|
1118
|
+
// An empty object to use as replacement for null-contexts
|
1119
|
+
nullContext: _Object$seal({}),
|
1165
1120
|
|
1166
1121
|
noop: env.VM.noop,
|
1167
1122
|
compilerInfo: templateSpec.compiler
|
@@ -1229,7 +1184,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1229
1184
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1230
1185
|
|
1231
1186
|
var currentDepths = depths;
|
1232
|
-
if (depths && context != depths[0]) {
|
1187
|
+
if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
|
1233
1188
|
currentDepths = [context].concat(depths);
|
1234
1189
|
}
|
1235
1190
|
|
@@ -1247,12 +1202,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1247
1202
|
function resolvePartial(partial, context, options) {
|
1248
1203
|
if (!partial) {
|
1249
1204
|
if (options.name === '@partial-block') {
|
1250
|
-
|
1251
|
-
while (data['partial-block'] === noop) {
|
1252
|
-
data = data._parent;
|
1253
|
-
}
|
1254
|
-
partial = data['partial-block'];
|
1255
|
-
data['partial-block'] = noop;
|
1205
|
+
partial = options.data['partial-block'];
|
1256
1206
|
} else {
|
1257
1207
|
partial = options.partials[options.name];
|
1258
1208
|
}
|
@@ -1265,6 +1215,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1265
1215
|
}
|
1266
1216
|
|
1267
1217
|
function invokePartial(partial, context, options) {
|
1218
|
+
// Use the current closure context to save the partial-block if this partial
|
1219
|
+
var currentPartialBlock = options.data && options.data['partial-block'];
|
1268
1220
|
options.partial = true;
|
1269
1221
|
if (options.ids) {
|
1270
1222
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
@@ -1272,12 +1224,21 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1272
1224
|
|
1273
1225
|
var partialBlock = undefined;
|
1274
1226
|
if (options.fn && options.fn !== noop) {
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
options.
|
1280
|
-
|
1227
|
+
(function () {
|
1228
|
+
options.data = _base.createFrame(options.data);
|
1229
|
+
// Wrapper function to get access to currentPartialBlock from the closure
|
1230
|
+
var fn = options.fn;
|
1231
|
+
partialBlock = options.data['partial-block'] = function partialBlockWrapper(context, options) {
|
1232
|
+
// Restore the partial-block from the closure for the execution of the block
|
1233
|
+
// i.e. the part inside the block of the partial call.
|
1234
|
+
options.data = _base.createFrame(options.data);
|
1235
|
+
options.data['partial-block'] = currentPartialBlock;
|
1236
|
+
return fn(context, options);
|
1237
|
+
};
|
1238
|
+
if (fn.partials) {
|
1239
|
+
options.partials = Utils.extend({}, options.partials, fn.partials);
|
1240
|
+
}
|
1241
|
+
})();
|
1281
1242
|
}
|
1282
1243
|
|
1283
1244
|
if (partial === undefined && partialBlock) {
|
@@ -1312,9 +1273,171 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1312
1273
|
return prog;
|
1313
1274
|
}
|
1314
1275
|
|
1315
|
-
/***/ },
|
1276
|
+
/***/ }),
|
1316
1277
|
/* 22 */
|
1317
|
-
/***/ function(module, exports) {
|
1278
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1279
|
+
|
1280
|
+
module.exports = { "default": __webpack_require__(23), __esModule: true };
|
1281
|
+
|
1282
|
+
/***/ }),
|
1283
|
+
/* 23 */
|
1284
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1285
|
+
|
1286
|
+
__webpack_require__(24);
|
1287
|
+
module.exports = __webpack_require__(29).Object.seal;
|
1288
|
+
|
1289
|
+
/***/ }),
|
1290
|
+
/* 24 */
|
1291
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1292
|
+
|
1293
|
+
// 19.1.2.17 Object.seal(O)
|
1294
|
+
var isObject = __webpack_require__(25);
|
1295
|
+
|
1296
|
+
__webpack_require__(26)('seal', function($seal){
|
1297
|
+
return function seal(it){
|
1298
|
+
return $seal && isObject(it) ? $seal(it) : it;
|
1299
|
+
};
|
1300
|
+
});
|
1301
|
+
|
1302
|
+
/***/ }),
|
1303
|
+
/* 25 */
|
1304
|
+
/***/ (function(module, exports) {
|
1305
|
+
|
1306
|
+
module.exports = function(it){
|
1307
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
1308
|
+
};
|
1309
|
+
|
1310
|
+
/***/ }),
|
1311
|
+
/* 26 */
|
1312
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1313
|
+
|
1314
|
+
// most Object methods by ES6 should accept primitives
|
1315
|
+
var $export = __webpack_require__(27)
|
1316
|
+
, core = __webpack_require__(29)
|
1317
|
+
, fails = __webpack_require__(32);
|
1318
|
+
module.exports = function(KEY, exec){
|
1319
|
+
var fn = (core.Object || {})[KEY] || Object[KEY]
|
1320
|
+
, exp = {};
|
1321
|
+
exp[KEY] = exec(fn);
|
1322
|
+
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
1323
|
+
};
|
1324
|
+
|
1325
|
+
/***/ }),
|
1326
|
+
/* 27 */
|
1327
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1328
|
+
|
1329
|
+
var global = __webpack_require__(28)
|
1330
|
+
, core = __webpack_require__(29)
|
1331
|
+
, ctx = __webpack_require__(30)
|
1332
|
+
, PROTOTYPE = 'prototype';
|
1333
|
+
|
1334
|
+
var $export = function(type, name, source){
|
1335
|
+
var IS_FORCED = type & $export.F
|
1336
|
+
, IS_GLOBAL = type & $export.G
|
1337
|
+
, IS_STATIC = type & $export.S
|
1338
|
+
, IS_PROTO = type & $export.P
|
1339
|
+
, IS_BIND = type & $export.B
|
1340
|
+
, IS_WRAP = type & $export.W
|
1341
|
+
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
1342
|
+
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
1343
|
+
, key, own, out;
|
1344
|
+
if(IS_GLOBAL)source = name;
|
1345
|
+
for(key in source){
|
1346
|
+
// contains in native
|
1347
|
+
own = !IS_FORCED && target && key in target;
|
1348
|
+
if(own && key in exports)continue;
|
1349
|
+
// export native or passed
|
1350
|
+
out = own ? target[key] : source[key];
|
1351
|
+
// prevent global pollution for namespaces
|
1352
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
1353
|
+
// bind timers to global for call from export context
|
1354
|
+
: IS_BIND && own ? ctx(out, global)
|
1355
|
+
// wrap global constructors for prevent change them in library
|
1356
|
+
: IS_WRAP && target[key] == out ? (function(C){
|
1357
|
+
var F = function(param){
|
1358
|
+
return this instanceof C ? new C(param) : C(param);
|
1359
|
+
};
|
1360
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
1361
|
+
return F;
|
1362
|
+
// make static versions for prototype methods
|
1363
|
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
1364
|
+
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
1365
|
+
}
|
1366
|
+
};
|
1367
|
+
// type bitmap
|
1368
|
+
$export.F = 1; // forced
|
1369
|
+
$export.G = 2; // global
|
1370
|
+
$export.S = 4; // static
|
1371
|
+
$export.P = 8; // proto
|
1372
|
+
$export.B = 16; // bind
|
1373
|
+
$export.W = 32; // wrap
|
1374
|
+
module.exports = $export;
|
1375
|
+
|
1376
|
+
/***/ }),
|
1377
|
+
/* 28 */
|
1378
|
+
/***/ (function(module, exports) {
|
1379
|
+
|
1380
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
1381
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
1382
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
1383
|
+
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
1384
|
+
|
1385
|
+
/***/ }),
|
1386
|
+
/* 29 */
|
1387
|
+
/***/ (function(module, exports) {
|
1388
|
+
|
1389
|
+
var core = module.exports = {version: '1.2.6'};
|
1390
|
+
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
1391
|
+
|
1392
|
+
/***/ }),
|
1393
|
+
/* 30 */
|
1394
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1395
|
+
|
1396
|
+
// optional / simple context binding
|
1397
|
+
var aFunction = __webpack_require__(31);
|
1398
|
+
module.exports = function(fn, that, length){
|
1399
|
+
aFunction(fn);
|
1400
|
+
if(that === undefined)return fn;
|
1401
|
+
switch(length){
|
1402
|
+
case 1: return function(a){
|
1403
|
+
return fn.call(that, a);
|
1404
|
+
};
|
1405
|
+
case 2: return function(a, b){
|
1406
|
+
return fn.call(that, a, b);
|
1407
|
+
};
|
1408
|
+
case 3: return function(a, b, c){
|
1409
|
+
return fn.call(that, a, b, c);
|
1410
|
+
};
|
1411
|
+
}
|
1412
|
+
return function(/* ...args */){
|
1413
|
+
return fn.apply(that, arguments);
|
1414
|
+
};
|
1415
|
+
};
|
1416
|
+
|
1417
|
+
/***/ }),
|
1418
|
+
/* 31 */
|
1419
|
+
/***/ (function(module, exports) {
|
1420
|
+
|
1421
|
+
module.exports = function(it){
|
1422
|
+
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
1423
|
+
return it;
|
1424
|
+
};
|
1425
|
+
|
1426
|
+
/***/ }),
|
1427
|
+
/* 32 */
|
1428
|
+
/***/ (function(module, exports) {
|
1429
|
+
|
1430
|
+
module.exports = function(exec){
|
1431
|
+
try {
|
1432
|
+
return !!exec();
|
1433
|
+
} catch(e){
|
1434
|
+
return true;
|
1435
|
+
}
|
1436
|
+
};
|
1437
|
+
|
1438
|
+
/***/ }),
|
1439
|
+
/* 33 */
|
1440
|
+
/***/ (function(module, exports) {
|
1318
1441
|
|
1319
1442
|
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
|
1320
1443
|
'use strict';
|
@@ -1337,7 +1460,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1337
1460
|
module.exports = exports['default'];
|
1338
1461
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
1339
1462
|
|
1340
|
-
/***/ }
|
1463
|
+
/***/ })
|
1341
1464
|
/******/ ])
|
1342
1465
|
});
|
1343
1466
|
;
|