handlebars_assets 0.23.2 → 0.23.3
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.
- checksums.yaml +4 -4
- data/lib/handlebars_assets/version.rb +1 -1
- data/vendor/assets/javascripts/handlebars.js +380 -149
- data/vendor/assets/javascripts/handlebars.runtime.js +311 -83
- metadata +3 -3
@@ -1,8 +1,9 @@
|
|
1
|
-
|
1
|
+
/**!
|
2
2
|
|
3
|
-
|
3
|
+
@license
|
4
|
+
handlebars v4.1.0
|
4
5
|
|
5
|
-
Copyright (C) 2011-
|
6
|
+
Copyright (C) 2011-2017 by Yehuda Katz
|
6
7
|
|
7
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
9
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -22,7 +23,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
23
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
24
|
THE SOFTWARE.
|
24
25
|
|
25
|
-
@license
|
26
26
|
*/
|
27
27
|
(function webpackUniversalModuleDefinition(root, factory) {
|
28
28
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -78,7 +78,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
78
78
|
/************************************************************************/
|
79
79
|
/******/ ([
|
80
80
|
/* 0 */
|
81
|
-
/***/ function(module, exports, __webpack_require__) {
|
81
|
+
/***/ (function(module, exports, __webpack_require__) {
|
82
82
|
|
83
83
|
'use strict';
|
84
84
|
|
@@ -95,7 +95,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
95
95
|
// Each of these augment the Handlebars object. No need to setup here.
|
96
96
|
// (This is done to easily share code between commonjs and browse envs)
|
97
97
|
|
98
|
-
var _handlebarsSafeString = __webpack_require__(
|
98
|
+
var _handlebarsSafeString = __webpack_require__(20);
|
99
99
|
|
100
100
|
var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
|
101
101
|
|
@@ -107,11 +107,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
107
107
|
|
108
108
|
var Utils = _interopRequireWildcard(_handlebarsUtils);
|
109
109
|
|
110
|
-
var _handlebarsRuntime = __webpack_require__(
|
110
|
+
var _handlebarsRuntime = __webpack_require__(21);
|
111
111
|
|
112
112
|
var runtime = _interopRequireWildcard(_handlebarsRuntime);
|
113
113
|
|
114
|
-
var _handlebarsNoConflict = __webpack_require__(
|
114
|
+
var _handlebarsNoConflict = __webpack_require__(33);
|
115
115
|
|
116
116
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
117
117
|
|
@@ -143,9 +143,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
143
143
|
exports['default'] = inst;
|
144
144
|
module.exports = exports['default'];
|
145
145
|
|
146
|
-
/***/ },
|
146
|
+
/***/ }),
|
147
147
|
/* 1 */
|
148
|
-
/***/ function(module, exports) {
|
148
|
+
/***/ (function(module, exports) {
|
149
149
|
|
150
150
|
"use strict";
|
151
151
|
|
@@ -168,9 +168,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
168
168
|
|
169
169
|
exports.__esModule = true;
|
170
170
|
|
171
|
-
/***/ },
|
171
|
+
/***/ }),
|
172
172
|
/* 2 */
|
173
|
-
/***/ function(module, exports) {
|
173
|
+
/***/ (function(module, exports) {
|
174
174
|
|
175
175
|
"use strict";
|
176
176
|
|
@@ -182,9 +182,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
182
182
|
|
183
183
|
exports.__esModule = true;
|
184
184
|
|
185
|
-
/***/ },
|
185
|
+
/***/ }),
|
186
186
|
/* 3 */
|
187
|
-
/***/ function(module, exports, __webpack_require__) {
|
187
|
+
/***/ (function(module, exports, __webpack_require__) {
|
188
188
|
|
189
189
|
'use strict';
|
190
190
|
|
@@ -199,15 +199,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
199
199
|
|
200
200
|
var _exception2 = _interopRequireDefault(_exception);
|
201
201
|
|
202
|
-
var _helpers = __webpack_require__(
|
202
|
+
var _helpers = __webpack_require__(9);
|
203
203
|
|
204
|
-
var _decorators = __webpack_require__(
|
204
|
+
var _decorators = __webpack_require__(17);
|
205
205
|
|
206
|
-
var _logger = __webpack_require__(
|
206
|
+
var _logger = __webpack_require__(19);
|
207
207
|
|
208
208
|
var _logger2 = _interopRequireDefault(_logger);
|
209
209
|
|
210
|
-
var VERSION = '4.0
|
210
|
+
var VERSION = '4.1.0';
|
211
211
|
exports.VERSION = VERSION;
|
212
212
|
var COMPILER_REVISION = 7;
|
213
213
|
|
@@ -289,9 +289,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
289
289
|
exports.createFrame = _utils.createFrame;
|
290
290
|
exports.logger = _logger2['default'];
|
291
291
|
|
292
|
-
/***/ },
|
292
|
+
/***/ }),
|
293
293
|
/* 4 */
|
294
|
-
/***/ function(module, exports) {
|
294
|
+
/***/ (function(module, exports) {
|
295
295
|
|
296
296
|
'use strict';
|
297
297
|
|
@@ -417,12 +417,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
417
417
|
return (contextPath ? contextPath + '.' : '') + id;
|
418
418
|
}
|
419
419
|
|
420
|
-
/***/ },
|
420
|
+
/***/ }),
|
421
421
|
/* 5 */
|
422
|
-
/***/ function(module, exports) {
|
422
|
+
/***/ (function(module, exports, __webpack_require__) {
|
423
423
|
|
424
424
|
'use strict';
|
425
425
|
|
426
|
+
var _Object$defineProperty = __webpack_require__(6)['default'];
|
427
|
+
|
426
428
|
exports.__esModule = true;
|
427
429
|
|
428
430
|
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
|
@@ -450,9 +452,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
450
452
|
Error.captureStackTrace(this, Exception);
|
451
453
|
}
|
452
454
|
|
453
|
-
|
454
|
-
|
455
|
-
|
455
|
+
try {
|
456
|
+
if (loc) {
|
457
|
+
this.lineNumber = line;
|
458
|
+
|
459
|
+
// Work around issue under safari where we can't directly set the column value
|
460
|
+
/* istanbul ignore next */
|
461
|
+
if (_Object$defineProperty) {
|
462
|
+
Object.defineProperty(this, 'column', {
|
463
|
+
value: column,
|
464
|
+
enumerable: true
|
465
|
+
});
|
466
|
+
} else {
|
467
|
+
this.column = column;
|
468
|
+
}
|
469
|
+
}
|
470
|
+
} catch (nop) {
|
471
|
+
/* Ignore if the browser is very particular */
|
456
472
|
}
|
457
473
|
}
|
458
474
|
|
@@ -461,9 +477,42 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
461
477
|
exports['default'] = Exception;
|
462
478
|
module.exports = exports['default'];
|
463
479
|
|
464
|
-
/***/ },
|
480
|
+
/***/ }),
|
465
481
|
/* 6 */
|
466
|
-
/***/ function(module, exports, __webpack_require__) {
|
482
|
+
/***/ (function(module, exports, __webpack_require__) {
|
483
|
+
|
484
|
+
module.exports = { "default": __webpack_require__(7), __esModule: true };
|
485
|
+
|
486
|
+
/***/ }),
|
487
|
+
/* 7 */
|
488
|
+
/***/ (function(module, exports, __webpack_require__) {
|
489
|
+
|
490
|
+
var $ = __webpack_require__(8);
|
491
|
+
module.exports = function defineProperty(it, key, desc){
|
492
|
+
return $.setDesc(it, key, desc);
|
493
|
+
};
|
494
|
+
|
495
|
+
/***/ }),
|
496
|
+
/* 8 */
|
497
|
+
/***/ (function(module, exports) {
|
498
|
+
|
499
|
+
var $Object = Object;
|
500
|
+
module.exports = {
|
501
|
+
create: $Object.create,
|
502
|
+
getProto: $Object.getPrototypeOf,
|
503
|
+
isEnum: {}.propertyIsEnumerable,
|
504
|
+
getDesc: $Object.getOwnPropertyDescriptor,
|
505
|
+
setDesc: $Object.defineProperty,
|
506
|
+
setDescs: $Object.defineProperties,
|
507
|
+
getKeys: $Object.keys,
|
508
|
+
getNames: $Object.getOwnPropertyNames,
|
509
|
+
getSymbols: $Object.getOwnPropertySymbols,
|
510
|
+
each: [].forEach
|
511
|
+
};
|
512
|
+
|
513
|
+
/***/ }),
|
514
|
+
/* 9 */
|
515
|
+
/***/ (function(module, exports, __webpack_require__) {
|
467
516
|
|
468
517
|
'use strict';
|
469
518
|
|
@@ -472,31 +521,31 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
472
521
|
exports.__esModule = true;
|
473
522
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
474
523
|
|
475
|
-
var _helpersBlockHelperMissing = __webpack_require__(
|
524
|
+
var _helpersBlockHelperMissing = __webpack_require__(10);
|
476
525
|
|
477
526
|
var _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);
|
478
527
|
|
479
|
-
var _helpersEach = __webpack_require__(
|
528
|
+
var _helpersEach = __webpack_require__(11);
|
480
529
|
|
481
530
|
var _helpersEach2 = _interopRequireDefault(_helpersEach);
|
482
531
|
|
483
|
-
var _helpersHelperMissing = __webpack_require__(
|
532
|
+
var _helpersHelperMissing = __webpack_require__(12);
|
484
533
|
|
485
534
|
var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
|
486
535
|
|
487
|
-
var _helpersIf = __webpack_require__(
|
536
|
+
var _helpersIf = __webpack_require__(13);
|
488
537
|
|
489
538
|
var _helpersIf2 = _interopRequireDefault(_helpersIf);
|
490
539
|
|
491
|
-
var _helpersLog = __webpack_require__(
|
540
|
+
var _helpersLog = __webpack_require__(14);
|
492
541
|
|
493
542
|
var _helpersLog2 = _interopRequireDefault(_helpersLog);
|
494
543
|
|
495
|
-
var _helpersLookup = __webpack_require__(
|
544
|
+
var _helpersLookup = __webpack_require__(15);
|
496
545
|
|
497
546
|
var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
|
498
547
|
|
499
|
-
var _helpersWith = __webpack_require__(
|
548
|
+
var _helpersWith = __webpack_require__(16);
|
500
549
|
|
501
550
|
var _helpersWith2 = _interopRequireDefault(_helpersWith);
|
502
551
|
|
@@ -510,9 +559,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
510
559
|
_helpersWith2['default'](instance);
|
511
560
|
}
|
512
561
|
|
513
|
-
/***/ },
|
514
|
-
/*
|
515
|
-
/***/ function(module, exports, __webpack_require__) {
|
562
|
+
/***/ }),
|
563
|
+
/* 10 */
|
564
|
+
/***/ (function(module, exports, __webpack_require__) {
|
516
565
|
|
517
566
|
'use strict';
|
518
567
|
|
@@ -553,9 +602,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
553
602
|
|
554
603
|
module.exports = exports['default'];
|
555
604
|
|
556
|
-
/***/ },
|
557
|
-
/*
|
558
|
-
/***/ function(module, exports, __webpack_require__) {
|
605
|
+
/***/ }),
|
606
|
+
/* 11 */
|
607
|
+
/***/ (function(module, exports, __webpack_require__) {
|
559
608
|
|
560
609
|
'use strict';
|
561
610
|
|
@@ -650,9 +699,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
650
699
|
|
651
700
|
module.exports = exports['default'];
|
652
701
|
|
653
|
-
/***/ },
|
654
|
-
/*
|
655
|
-
/***/ function(module, exports, __webpack_require__) {
|
702
|
+
/***/ }),
|
703
|
+
/* 12 */
|
704
|
+
/***/ (function(module, exports, __webpack_require__) {
|
656
705
|
|
657
706
|
'use strict';
|
658
707
|
|
@@ -678,9 +727,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
678
727
|
|
679
728
|
module.exports = exports['default'];
|
680
729
|
|
681
|
-
/***/ },
|
682
|
-
/*
|
683
|
-
/***/ function(module, exports, __webpack_require__) {
|
730
|
+
/***/ }),
|
731
|
+
/* 13 */
|
732
|
+
/***/ (function(module, exports, __webpack_require__) {
|
684
733
|
|
685
734
|
'use strict';
|
686
735
|
|
@@ -711,9 +760,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
711
760
|
|
712
761
|
module.exports = exports['default'];
|
713
762
|
|
714
|
-
/***/ },
|
715
|
-
/*
|
716
|
-
/***/ function(module, exports) {
|
763
|
+
/***/ }),
|
764
|
+
/* 14 */
|
765
|
+
/***/ (function(module, exports) {
|
717
766
|
|
718
767
|
'use strict';
|
719
768
|
|
@@ -741,9 +790,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
741
790
|
|
742
791
|
module.exports = exports['default'];
|
743
792
|
|
744
|
-
/***/ },
|
745
|
-
/*
|
746
|
-
/***/ function(module, exports) {
|
793
|
+
/***/ }),
|
794
|
+
/* 15 */
|
795
|
+
/***/ (function(module, exports) {
|
747
796
|
|
748
797
|
'use strict';
|
749
798
|
|
@@ -757,9 +806,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
757
806
|
|
758
807
|
module.exports = exports['default'];
|
759
808
|
|
760
|
-
/***/ },
|
761
|
-
/*
|
762
|
-
/***/ function(module, exports, __webpack_require__) {
|
809
|
+
/***/ }),
|
810
|
+
/* 16 */
|
811
|
+
/***/ (function(module, exports, __webpack_require__) {
|
763
812
|
|
764
813
|
'use strict';
|
765
814
|
|
@@ -794,9 +843,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
794
843
|
|
795
844
|
module.exports = exports['default'];
|
796
845
|
|
797
|
-
/***/ },
|
798
|
-
/*
|
799
|
-
/***/ function(module, exports, __webpack_require__) {
|
846
|
+
/***/ }),
|
847
|
+
/* 17 */
|
848
|
+
/***/ (function(module, exports, __webpack_require__) {
|
800
849
|
|
801
850
|
'use strict';
|
802
851
|
|
@@ -805,7 +854,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
805
854
|
exports.__esModule = true;
|
806
855
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
807
856
|
|
808
|
-
var _decoratorsInline = __webpack_require__(
|
857
|
+
var _decoratorsInline = __webpack_require__(18);
|
809
858
|
|
810
859
|
var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
|
811
860
|
|
@@ -813,9 +862,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
813
862
|
_decoratorsInline2['default'](instance);
|
814
863
|
}
|
815
864
|
|
816
|
-
/***/ },
|
817
|
-
/*
|
818
|
-
/***/ function(module, exports, __webpack_require__) {
|
865
|
+
/***/ }),
|
866
|
+
/* 18 */
|
867
|
+
/***/ (function(module, exports, __webpack_require__) {
|
819
868
|
|
820
869
|
'use strict';
|
821
870
|
|
@@ -846,9 +895,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
846
895
|
|
847
896
|
module.exports = exports['default'];
|
848
897
|
|
849
|
-
/***/ },
|
850
|
-
/*
|
851
|
-
/***/ function(module, exports, __webpack_require__) {
|
898
|
+
/***/ }),
|
899
|
+
/* 19 */
|
900
|
+
/***/ (function(module, exports, __webpack_require__) {
|
852
901
|
|
853
902
|
'use strict';
|
854
903
|
|
@@ -897,9 +946,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
897
946
|
exports['default'] = logger;
|
898
947
|
module.exports = exports['default'];
|
899
948
|
|
900
|
-
/***/ },
|
901
|
-
/*
|
902
|
-
/***/ function(module, exports) {
|
949
|
+
/***/ }),
|
950
|
+
/* 20 */
|
951
|
+
/***/ (function(module, exports) {
|
903
952
|
|
904
953
|
// Build out our basic SafeString type
|
905
954
|
'use strict';
|
@@ -916,12 +965,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
916
965
|
exports['default'] = SafeString;
|
917
966
|
module.exports = exports['default'];
|
918
967
|
|
919
|
-
/***/ },
|
920
|
-
/*
|
921
|
-
/***/ function(module, exports, __webpack_require__) {
|
968
|
+
/***/ }),
|
969
|
+
/* 21 */
|
970
|
+
/***/ (function(module, exports, __webpack_require__) {
|
922
971
|
|
923
972
|
'use strict';
|
924
973
|
|
974
|
+
var _Object$seal = __webpack_require__(22)['default'];
|
975
|
+
|
925
976
|
var _interopRequireWildcard = __webpack_require__(1)['default'];
|
926
977
|
|
927
978
|
var _interopRequireDefault = __webpack_require__(2)['default'];
|
@@ -1064,6 +1115,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1064
1115
|
|
1065
1116
|
return obj;
|
1066
1117
|
},
|
1118
|
+
// An empty object to use as replacement for null-contexts
|
1119
|
+
nullContext: _Object$seal({}),
|
1067
1120
|
|
1068
1121
|
noop: env.VM.noop,
|
1069
1122
|
compilerInfo: templateSpec.compiler
|
@@ -1082,7 +1135,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1082
1135
|
blockParams = templateSpec.useBlockParams ? [] : undefined;
|
1083
1136
|
if (templateSpec.useDepths) {
|
1084
1137
|
if (options.depths) {
|
1085
|
-
depths = context
|
1138
|
+
depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
|
1086
1139
|
} else {
|
1087
1140
|
depths = [context];
|
1088
1141
|
}
|
@@ -1131,7 +1184,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1131
1184
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1132
1185
|
|
1133
1186
|
var currentDepths = depths;
|
1134
|
-
if (depths && context
|
1187
|
+
if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
|
1135
1188
|
currentDepths = [context].concat(depths);
|
1136
1189
|
}
|
1137
1190
|
|
@@ -1162,6 +1215,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1162
1215
|
}
|
1163
1216
|
|
1164
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'];
|
1165
1220
|
options.partial = true;
|
1166
1221
|
if (options.ids) {
|
1167
1222
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
@@ -1169,12 +1224,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1169
1224
|
|
1170
1225
|
var partialBlock = undefined;
|
1171
1226
|
if (options.fn && options.fn !== noop) {
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
options.
|
1177
|
-
|
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) {
|
1232
|
+
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1233
|
+
|
1234
|
+
// Restore the partial-block from the closure for the execution of the block
|
1235
|
+
// i.e. the part inside the block of the partial call.
|
1236
|
+
options.data = _base.createFrame(options.data);
|
1237
|
+
options.data['partial-block'] = currentPartialBlock;
|
1238
|
+
return fn(context, options);
|
1239
|
+
};
|
1240
|
+
if (fn.partials) {
|
1241
|
+
options.partials = Utils.extend({}, options.partials, fn.partials);
|
1242
|
+
}
|
1243
|
+
})();
|
1178
1244
|
}
|
1179
1245
|
|
1180
1246
|
if (partial === undefined && partialBlock) {
|
@@ -1209,9 +1275,171 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1209
1275
|
return prog;
|
1210
1276
|
}
|
1211
1277
|
|
1212
|
-
/***/ },
|
1213
|
-
/*
|
1214
|
-
/***/ function(module, exports) {
|
1278
|
+
/***/ }),
|
1279
|
+
/* 22 */
|
1280
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1281
|
+
|
1282
|
+
module.exports = { "default": __webpack_require__(23), __esModule: true };
|
1283
|
+
|
1284
|
+
/***/ }),
|
1285
|
+
/* 23 */
|
1286
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1287
|
+
|
1288
|
+
__webpack_require__(24);
|
1289
|
+
module.exports = __webpack_require__(29).Object.seal;
|
1290
|
+
|
1291
|
+
/***/ }),
|
1292
|
+
/* 24 */
|
1293
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1294
|
+
|
1295
|
+
// 19.1.2.17 Object.seal(O)
|
1296
|
+
var isObject = __webpack_require__(25);
|
1297
|
+
|
1298
|
+
__webpack_require__(26)('seal', function($seal){
|
1299
|
+
return function seal(it){
|
1300
|
+
return $seal && isObject(it) ? $seal(it) : it;
|
1301
|
+
};
|
1302
|
+
});
|
1303
|
+
|
1304
|
+
/***/ }),
|
1305
|
+
/* 25 */
|
1306
|
+
/***/ (function(module, exports) {
|
1307
|
+
|
1308
|
+
module.exports = function(it){
|
1309
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
1310
|
+
};
|
1311
|
+
|
1312
|
+
/***/ }),
|
1313
|
+
/* 26 */
|
1314
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1315
|
+
|
1316
|
+
// most Object methods by ES6 should accept primitives
|
1317
|
+
var $export = __webpack_require__(27)
|
1318
|
+
, core = __webpack_require__(29)
|
1319
|
+
, fails = __webpack_require__(32);
|
1320
|
+
module.exports = function(KEY, exec){
|
1321
|
+
var fn = (core.Object || {})[KEY] || Object[KEY]
|
1322
|
+
, exp = {};
|
1323
|
+
exp[KEY] = exec(fn);
|
1324
|
+
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
1325
|
+
};
|
1326
|
+
|
1327
|
+
/***/ }),
|
1328
|
+
/* 27 */
|
1329
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1330
|
+
|
1331
|
+
var global = __webpack_require__(28)
|
1332
|
+
, core = __webpack_require__(29)
|
1333
|
+
, ctx = __webpack_require__(30)
|
1334
|
+
, PROTOTYPE = 'prototype';
|
1335
|
+
|
1336
|
+
var $export = function(type, name, source){
|
1337
|
+
var IS_FORCED = type & $export.F
|
1338
|
+
, IS_GLOBAL = type & $export.G
|
1339
|
+
, IS_STATIC = type & $export.S
|
1340
|
+
, IS_PROTO = type & $export.P
|
1341
|
+
, IS_BIND = type & $export.B
|
1342
|
+
, IS_WRAP = type & $export.W
|
1343
|
+
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
1344
|
+
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
1345
|
+
, key, own, out;
|
1346
|
+
if(IS_GLOBAL)source = name;
|
1347
|
+
for(key in source){
|
1348
|
+
// contains in native
|
1349
|
+
own = !IS_FORCED && target && key in target;
|
1350
|
+
if(own && key in exports)continue;
|
1351
|
+
// export native or passed
|
1352
|
+
out = own ? target[key] : source[key];
|
1353
|
+
// prevent global pollution for namespaces
|
1354
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
1355
|
+
// bind timers to global for call from export context
|
1356
|
+
: IS_BIND && own ? ctx(out, global)
|
1357
|
+
// wrap global constructors for prevent change them in library
|
1358
|
+
: IS_WRAP && target[key] == out ? (function(C){
|
1359
|
+
var F = function(param){
|
1360
|
+
return this instanceof C ? new C(param) : C(param);
|
1361
|
+
};
|
1362
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
1363
|
+
return F;
|
1364
|
+
// make static versions for prototype methods
|
1365
|
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
1366
|
+
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
1367
|
+
}
|
1368
|
+
};
|
1369
|
+
// type bitmap
|
1370
|
+
$export.F = 1; // forced
|
1371
|
+
$export.G = 2; // global
|
1372
|
+
$export.S = 4; // static
|
1373
|
+
$export.P = 8; // proto
|
1374
|
+
$export.B = 16; // bind
|
1375
|
+
$export.W = 32; // wrap
|
1376
|
+
module.exports = $export;
|
1377
|
+
|
1378
|
+
/***/ }),
|
1379
|
+
/* 28 */
|
1380
|
+
/***/ (function(module, exports) {
|
1381
|
+
|
1382
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
1383
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
1384
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
1385
|
+
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
1386
|
+
|
1387
|
+
/***/ }),
|
1388
|
+
/* 29 */
|
1389
|
+
/***/ (function(module, exports) {
|
1390
|
+
|
1391
|
+
var core = module.exports = {version: '1.2.6'};
|
1392
|
+
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
1393
|
+
|
1394
|
+
/***/ }),
|
1395
|
+
/* 30 */
|
1396
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1397
|
+
|
1398
|
+
// optional / simple context binding
|
1399
|
+
var aFunction = __webpack_require__(31);
|
1400
|
+
module.exports = function(fn, that, length){
|
1401
|
+
aFunction(fn);
|
1402
|
+
if(that === undefined)return fn;
|
1403
|
+
switch(length){
|
1404
|
+
case 1: return function(a){
|
1405
|
+
return fn.call(that, a);
|
1406
|
+
};
|
1407
|
+
case 2: return function(a, b){
|
1408
|
+
return fn.call(that, a, b);
|
1409
|
+
};
|
1410
|
+
case 3: return function(a, b, c){
|
1411
|
+
return fn.call(that, a, b, c);
|
1412
|
+
};
|
1413
|
+
}
|
1414
|
+
return function(/* ...args */){
|
1415
|
+
return fn.apply(that, arguments);
|
1416
|
+
};
|
1417
|
+
};
|
1418
|
+
|
1419
|
+
/***/ }),
|
1420
|
+
/* 31 */
|
1421
|
+
/***/ (function(module, exports) {
|
1422
|
+
|
1423
|
+
module.exports = function(it){
|
1424
|
+
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
1425
|
+
return it;
|
1426
|
+
};
|
1427
|
+
|
1428
|
+
/***/ }),
|
1429
|
+
/* 32 */
|
1430
|
+
/***/ (function(module, exports) {
|
1431
|
+
|
1432
|
+
module.exports = function(exec){
|
1433
|
+
try {
|
1434
|
+
return !!exec();
|
1435
|
+
} catch(e){
|
1436
|
+
return true;
|
1437
|
+
}
|
1438
|
+
};
|
1439
|
+
|
1440
|
+
/***/ }),
|
1441
|
+
/* 33 */
|
1442
|
+
/***/ (function(module, exports) {
|
1215
1443
|
|
1216
1444
|
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
|
1217
1445
|
'use strict';
|
@@ -1234,7 +1462,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1234
1462
|
module.exports = exports['default'];
|
1235
1463
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
1236
1464
|
|
1237
|
-
/***/ }
|
1465
|
+
/***/ })
|
1238
1466
|
/******/ ])
|
1239
1467
|
});
|
1240
1468
|
;
|